configure
author Sam Lantinga <slouken@libsdl.org>
Mon, 28 Aug 2017 19:32:08 -0700
changeset 11401 7d6f83ec35c1
parent 11395 a8c29f5b679f
child 11408 0783887749f6
permissions -rwxr-xr-x
Vulkan support on Mac OS X introduces a link time dependency (CAMetalLayer) on 10.11 and newer
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.69.
     4 #
     5 #
     6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     7 #
     8 #
     9 # This configure script is free software; the Free Software Foundation
    10 # gives unlimited permission to copy, distribute and modify it.
    11 ## -------------------- ##
    12 ## M4sh Initialization. ##
    13 ## -------------------- ##
    14 
    15 # Be more Bourne compatible
    16 DUALCASE=1; export DUALCASE # for MKS sh
    17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    18   emulate sh
    19   NULLCMD=:
    20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    21   # is contrary to our usage.  Disable this feature.
    22   alias -g '${1+"$@"}'='"$@"'
    23   setopt NO_GLOB_SUBST
    24 else
    25   case `(set -o) 2>/dev/null` in #(
    26   *posix*) :
    27     set -o posix ;; #(
    28   *) :
    29      ;;
    30 esac
    31 fi
    32 
    33 
    34 as_nl='
    35 '
    36 export as_nl
    37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    41 # Prefer a ksh shell builtin over an external printf program on Solaris,
    42 # but without wasting forks for bash or zsh.
    43 if test -z "$BASH_VERSION$ZSH_VERSION" \
    44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    45   as_echo='print -r --'
    46   as_echo_n='print -rn --'
    47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    48   as_echo='printf %s\n'
    49   as_echo_n='printf %s'
    50 else
    51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    53     as_echo_n='/usr/ucb/echo -n'
    54   else
    55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    56     as_echo_n_body='eval
    57       arg=$1;
    58       case $arg in #(
    59       *"$as_nl"*)
    60 	expr "X$arg" : "X\\(.*\\)$as_nl";
    61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    62       esac;
    63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    64     '
    65     export as_echo_n_body
    66     as_echo_n='sh -c $as_echo_n_body as_echo'
    67   fi
    68   export as_echo_body
    69   as_echo='sh -c $as_echo_body as_echo'
    70 fi
    71 
    72 # The user is always right.
    73 if test "${PATH_SEPARATOR+set}" != set; then
    74   PATH_SEPARATOR=:
    75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    77       PATH_SEPARATOR=';'
    78   }
    79 fi
    80 
    81 
    82 # IFS
    83 # We need space, tab and new line, in precisely that order.  Quoting is
    84 # there to prevent editors from complaining about space-tab.
    85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    86 # splitting by setting IFS to empty value.)
    87 IFS=" ""	$as_nl"
    88 
    89 # Find who we are.  Look in the path if we contain no directory separator.
    90 as_myself=
    91 case $0 in #((
    92   *[\\/]* ) as_myself=$0 ;;
    93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    94 for as_dir in $PATH
    95 do
    96   IFS=$as_save_IFS
    97   test -z "$as_dir" && as_dir=.
    98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    99   done
   100 IFS=$as_save_IFS
   101 
   102      ;;
   103 esac
   104 # We did not find ourselves, most probably we were run as `sh COMMAND'
   105 # in which case we are not to be found in the path.
   106 if test "x$as_myself" = x; then
   107   as_myself=$0
   108 fi
   109 if test ! -f "$as_myself"; then
   110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   111   exit 1
   112 fi
   113 
   114 # Unset variables that we do not need and which cause bugs (e.g. in
   115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   116 # suppresses any "Segmentation fault" message there.  '((' could
   117 # trigger a bug in pdksh 5.2.14.
   118 for as_var in BASH_ENV ENV MAIL MAILPATH
   119 do eval test x\${$as_var+set} = xset \
   120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   121 done
   122 PS1='$ '
   123 PS2='> '
   124 PS4='+ '
   125 
   126 # NLS nuisances.
   127 LC_ALL=C
   128 export LC_ALL
   129 LANGUAGE=C
   130 export LANGUAGE
   131 
   132 # CDPATH.
   133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   134 
   135 # Use a proper internal environment variable to ensure we don't fall
   136   # into an infinite loop, continuously re-executing ourselves.
   137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
   138     _as_can_reexec=no; export _as_can_reexec;
   139     # We cannot yet assume a decent shell, so we have to provide a
   140 # neutralization value for shells without unset; and this also
   141 # works around shells that cannot unset nonexistent variables.
   142 # Preserve -v and -x to the replacement shell.
   143 BASH_ENV=/dev/null
   144 ENV=/dev/null
   145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   146 case $- in # ((((
   147   *v*x* | *x*v* ) as_opts=-vx ;;
   148   *v* ) as_opts=-v ;;
   149   *x* ) as_opts=-x ;;
   150   * ) as_opts= ;;
   151 esac
   152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
   153 # Admittedly, this is quite paranoid, since all the known shells bail
   154 # out after a failed `exec'.
   155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
   156 as_fn_exit 255
   157   fi
   158   # We don't want this to propagate to other subprocesses.
   159           { _as_can_reexec=; unset _as_can_reexec;}
   160 if test "x$CONFIG_SHELL" = x; then
   161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   162   emulate sh
   163   NULLCMD=:
   164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
   165   # is contrary to our usage.  Disable this feature.
   166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
   167   setopt NO_GLOB_SUBST
   168 else
   169   case \`(set -o) 2>/dev/null\` in #(
   170   *posix*) :
   171     set -o posix ;; #(
   172   *) :
   173      ;;
   174 esac
   175 fi
   176 "
   177   as_required="as_fn_return () { (exit \$1); }
   178 as_fn_success () { as_fn_return 0; }
   179 as_fn_failure () { as_fn_return 1; }
   180 as_fn_ret_success () { return 0; }
   181 as_fn_ret_failure () { return 1; }
   182 
   183 exitcode=0
   184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
   185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
   186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
   187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
   188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
   189 
   190 else
   191   exitcode=1; echo positional parameters were not saved.
   192 fi
   193 test x\$exitcode = x0 || exit 1
   194 test -x / || exit 1"
   195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
   198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
   199 
   200   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
   201     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   202     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
   203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
   204     PATH=/empty FPATH=/empty; export PATH FPATH
   205     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
   206       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
   207 test \$(( 1 + 1 )) = 2 || exit 1"
   208   if (eval "$as_required") 2>/dev/null; then :
   209   as_have_required=yes
   210 else
   211   as_have_required=no
   212 fi
   213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
   214 
   215 else
   216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   217 as_found=false
   218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   219 do
   220   IFS=$as_save_IFS
   221   test -z "$as_dir" && as_dir=.
   222   as_found=:
   223   case $as_dir in #(
   224 	 /*)
   225 	   for as_base in sh bash ksh sh5; do
   226 	     # Try only shells that exist, to save several forks.
   227 	     as_shell=$as_dir/$as_base
   228 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   229 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
   230   CONFIG_SHELL=$as_shell as_have_required=yes
   231 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
   232   break 2
   233 fi
   234 fi
   235 	   done;;
   236        esac
   237   as_found=false
   238 done
   239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
   240 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
   241   CONFIG_SHELL=$SHELL as_have_required=yes
   242 fi; }
   243 IFS=$as_save_IFS
   244 
   245 
   246       if test "x$CONFIG_SHELL" != x; then :
   247   export CONFIG_SHELL
   248              # We cannot yet assume a decent shell, so we have to provide a
   249 # neutralization value for shells without unset; and this also
   250 # works around shells that cannot unset nonexistent variables.
   251 # Preserve -v and -x to the replacement shell.
   252 BASH_ENV=/dev/null
   253 ENV=/dev/null
   254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   255 case $- in # ((((
   256   *v*x* | *x*v* ) as_opts=-vx ;;
   257   *v* ) as_opts=-v ;;
   258   *x* ) as_opts=-x ;;
   259   * ) as_opts= ;;
   260 esac
   261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
   262 # Admittedly, this is quite paranoid, since all the known shells bail
   263 # out after a failed `exec'.
   264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
   265 exit 255
   266 fi
   267 
   268     if test x$as_have_required = xno; then :
   269   $as_echo "$0: This script requires a shell more modern than all"
   270   $as_echo "$0: the shells that I found on your system."
   271   if test x${ZSH_VERSION+set} = xset ; then
   272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
   273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   274   else
   275     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
   276 $0: including any error possibly output before this
   277 $0: message. Then install a modern shell, or manually run
   278 $0: the script under such a shell if you do have one."
   279   fi
   280   exit 1
   281 fi
   282 fi
   283 fi
   284 SHELL=${CONFIG_SHELL-/bin/sh}
   285 export SHELL
   286 # Unset more variables known to interfere with behavior of common tools.
   287 CLICOLOR_FORCE= GREP_OPTIONS=
   288 unset CLICOLOR_FORCE GREP_OPTIONS
   289 
   290 ## --------------------- ##
   291 ## M4sh Shell Functions. ##
   292 ## --------------------- ##
   293 # as_fn_unset VAR
   294 # ---------------
   295 # Portably unset VAR.
   296 as_fn_unset ()
   297 {
   298   { eval $1=; unset $1;}
   299 }
   300 as_unset=as_fn_unset
   301 
   302 # as_fn_set_status STATUS
   303 # -----------------------
   304 # Set $? to STATUS, without forking.
   305 as_fn_set_status ()
   306 {
   307   return $1
   308 } # as_fn_set_status
   309 
   310 # as_fn_exit STATUS
   311 # -----------------
   312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   313 as_fn_exit ()
   314 {
   315   set +e
   316   as_fn_set_status $1
   317   exit $1
   318 } # as_fn_exit
   319 
   320 # as_fn_mkdir_p
   321 # -------------
   322 # Create "$as_dir" as a directory, including parents if necessary.
   323 as_fn_mkdir_p ()
   324 {
   325 
   326   case $as_dir in #(
   327   -*) as_dir=./$as_dir;;
   328   esac
   329   test -d "$as_dir" || eval $as_mkdir_p || {
   330     as_dirs=
   331     while :; do
   332       case $as_dir in #(
   333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   334       *) as_qdir=$as_dir;;
   335       esac
   336       as_dirs="'$as_qdir' $as_dirs"
   337       as_dir=`$as_dirname -- "$as_dir" ||
   338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   339 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   340 	 X"$as_dir" : 'X\(//\)$' \| \
   341 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   342 $as_echo X"$as_dir" |
   343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   344 	    s//\1/
   345 	    q
   346 	  }
   347 	  /^X\(\/\/\)[^/].*/{
   348 	    s//\1/
   349 	    q
   350 	  }
   351 	  /^X\(\/\/\)$/{
   352 	    s//\1/
   353 	    q
   354 	  }
   355 	  /^X\(\/\).*/{
   356 	    s//\1/
   357 	    q
   358 	  }
   359 	  s/.*/./; q'`
   360       test -d "$as_dir" && break
   361     done
   362     test -z "$as_dirs" || eval "mkdir $as_dirs"
   363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   364 
   365 
   366 } # as_fn_mkdir_p
   367 
   368 # as_fn_executable_p FILE
   369 # -----------------------
   370 # Test if FILE is an executable regular file.
   371 as_fn_executable_p ()
   372 {
   373   test -f "$1" && test -x "$1"
   374 } # as_fn_executable_p
   375 # as_fn_append VAR VALUE
   376 # ----------------------
   377 # Append the text in VALUE to the end of the definition contained in VAR. Take
   378 # advantage of any shell optimizations that allow amortized linear growth over
   379 # repeated appends, instead of the typical quadratic growth present in naive
   380 # implementations.
   381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   382   eval 'as_fn_append ()
   383   {
   384     eval $1+=\$2
   385   }'
   386 else
   387   as_fn_append ()
   388   {
   389     eval $1=\$$1\$2
   390   }
   391 fi # as_fn_append
   392 
   393 # as_fn_arith ARG...
   394 # ------------------
   395 # Perform arithmetic evaluation on the ARGs, and store the result in the
   396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   397 # must be portable across $(()) and expr.
   398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   399   eval 'as_fn_arith ()
   400   {
   401     as_val=$(( $* ))
   402   }'
   403 else
   404   as_fn_arith ()
   405   {
   406     as_val=`expr "$@" || test $? -eq 1`
   407   }
   408 fi # as_fn_arith
   409 
   410 
   411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   412 # ----------------------------------------
   413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   415 # script with STATUS, using 1 if that was 0.
   416 as_fn_error ()
   417 {
   418   as_status=$1; test $as_status -eq 0 && as_status=1
   419   if test "$4"; then
   420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   422   fi
   423   $as_echo "$as_me: error: $2" >&2
   424   as_fn_exit $as_status
   425 } # as_fn_error
   426 
   427 if expr a : '\(a\)' >/dev/null 2>&1 &&
   428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   429   as_expr=expr
   430 else
   431   as_expr=false
   432 fi
   433 
   434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   435   as_basename=basename
   436 else
   437   as_basename=false
   438 fi
   439 
   440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   441   as_dirname=dirname
   442 else
   443   as_dirname=false
   444 fi
   445 
   446 as_me=`$as_basename -- "$0" ||
   447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   448 	 X"$0" : 'X\(//\)$' \| \
   449 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   450 $as_echo X/"$0" |
   451     sed '/^.*\/\([^/][^/]*\)\/*$/{
   452 	    s//\1/
   453 	    q
   454 	  }
   455 	  /^X\/\(\/\/\)$/{
   456 	    s//\1/
   457 	    q
   458 	  }
   459 	  /^X\/\(\/\).*/{
   460 	    s//\1/
   461 	    q
   462 	  }
   463 	  s/.*/./; q'`
   464 
   465 # Avoid depending upon Character Ranges.
   466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   469 as_cr_digits='0123456789'
   470 as_cr_alnum=$as_cr_Letters$as_cr_digits
   471 
   472 
   473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
   474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
   475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
   476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
   477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
   478   sed -n '
   479     p
   480     /[$]LINENO/=
   481   ' <$as_myself |
   482     sed '
   483       s/[$]LINENO.*/&-/
   484       t lineno
   485       b
   486       :lineno
   487       N
   488       :loop
   489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   490       t loop
   491       s/-\n.*//
   492     ' >$as_me.lineno &&
   493   chmod +x "$as_me.lineno" ||
   494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
   495 
   496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
   497   # already done that, so ensure we don't try to do so again and fall
   498   # in an infinite loop.  This has already happened in practice.
   499   _as_can_reexec=no; export _as_can_reexec
   500   # Don't try to exec as it changes $[0], causing all sort of problems
   501   # (the dirname of $[0] is not the place where we might find the
   502   # original and so on.  Autoconf is especially sensitive to this).
   503   . "./$as_me.lineno"
   504   # Exit status is that of the last command.
   505   exit
   506 }
   507 
   508 ECHO_C= ECHO_N= ECHO_T=
   509 case `echo -n x` in #(((((
   510 -n*)
   511   case `echo 'xy\c'` in
   512   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   513   xy)  ECHO_C='\c';;
   514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   515        ECHO_T='	';;
   516   esac;;
   517 *)
   518   ECHO_N='-n';;
   519 esac
   520 
   521 rm -f conf$$ conf$$.exe conf$$.file
   522 if test -d conf$$.dir; then
   523   rm -f conf$$.dir/conf$$.file
   524 else
   525   rm -f conf$$.dir
   526   mkdir conf$$.dir 2>/dev/null
   527 fi
   528 if (echo >conf$$.file) 2>/dev/null; then
   529   if ln -s conf$$.file conf$$ 2>/dev/null; then
   530     as_ln_s='ln -s'
   531     # ... but there are two gotchas:
   532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   534     # In both cases, we have to default to `cp -pR'.
   535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   536       as_ln_s='cp -pR'
   537   elif ln conf$$.file conf$$ 2>/dev/null; then
   538     as_ln_s=ln
   539   else
   540     as_ln_s='cp -pR'
   541   fi
   542 else
   543   as_ln_s='cp -pR'
   544 fi
   545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   546 rmdir conf$$.dir 2>/dev/null
   547 
   548 if mkdir -p . 2>/dev/null; then
   549   as_mkdir_p='mkdir -p "$as_dir"'
   550 else
   551   test -d ./-p && rmdir ./-p
   552   as_mkdir_p=false
   553 fi
   554 
   555 as_test_x='test -x'
   556 as_executable_p=as_fn_executable_p
   557 
   558 # Sed expression to map a string onto a valid CPP name.
   559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   560 
   561 # Sed expression to map a string onto a valid variable name.
   562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   563 
   564 SHELL=${CONFIG_SHELL-/bin/sh}
   565 
   566 
   567 test -n "$DJDIR" || exec 7<&0 </dev/null
   568 exec 6>&1
   569 
   570 # Name of the host.
   571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
   572 # so uname gets run too.
   573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   574 
   575 #
   576 # Initializations.
   577 #
   578 ac_default_prefix=/usr/local
   579 ac_clean_files=
   580 ac_config_libobj_dir=.
   581 LIBOBJS=
   582 cross_compiling=no
   583 subdirs=
   584 MFLAGS=
   585 MAKEFLAGS=
   586 
   587 # Identity of this package.
   588 PACKAGE_NAME=
   589 PACKAGE_TARNAME=
   590 PACKAGE_VERSION=
   591 PACKAGE_STRING=
   592 PACKAGE_BUGREPORT=
   593 PACKAGE_URL=
   594 
   595 ac_unique_file="README.txt"
   596 # Factoring default headers for most tests.
   597 ac_includes_default="\
   598 #include <stdio.h>
   599 #ifdef HAVE_SYS_TYPES_H
   600 # include <sys/types.h>
   601 #endif
   602 #ifdef HAVE_SYS_STAT_H
   603 # include <sys/stat.h>
   604 #endif
   605 #ifdef STDC_HEADERS
   606 # include <stdlib.h>
   607 # include <stddef.h>
   608 #else
   609 # ifdef HAVE_STDLIB_H
   610 #  include <stdlib.h>
   611 # endif
   612 #endif
   613 #ifdef HAVE_STRING_H
   614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   615 #  include <memory.h>
   616 # endif
   617 # include <string.h>
   618 #endif
   619 #ifdef HAVE_STRINGS_H
   620 # include <strings.h>
   621 #endif
   622 #ifdef HAVE_INTTYPES_H
   623 # include <inttypes.h>
   624 #endif
   625 #ifdef HAVE_STDINT_H
   626 # include <stdint.h>
   627 #endif
   628 #ifdef HAVE_UNISTD_H
   629 # include <unistd.h>
   630 #endif"
   631 
   632 ac_subst_vars='LTLIBOBJS
   633 WAYLAND_SCANNER
   634 EXTRA_LDFLAGS
   635 BUILD_LDFLAGS
   636 EXTRA_CFLAGS
   637 BUILD_CFLAGS
   638 SDLTEST_OBJECTS
   639 SDLMAIN_OBJECTS
   640 VERSION_OBJECTS
   641 GEN_OBJECTS
   642 GEN_HEADERS
   643 OBJECTS
   644 INCLUDE
   645 ac_aux_dir
   646 ENABLE_STATIC_FALSE
   647 ENABLE_STATIC_TRUE
   648 ENABLE_SHARED_FALSE
   649 ENABLE_SHARED_TRUE
   650 SDL_RLD_FLAGS
   651 SDL_STATIC_LIBS
   652 SDL_LIBS
   653 SDL_CFLAGS
   654 DIRECTFBCONFIG
   655 X_EXTRA_LIBS
   656 X_LIBS
   657 X_PRE_LIBS
   658 X_CFLAGS
   659 XMKMF
   660 ARTSCONFIG
   661 ESD_LIBS
   662 ESD_CFLAGS
   663 ESD_CONFIG
   664 PKG_CONFIG
   665 ALSA_LIBS
   666 ALSA_CFLAGS
   667 POW_LIB
   668 LIBOBJS
   669 ALLOCA
   670 WINDRES
   671 SET_MAKE
   672 INSTALL_DATA
   673 INSTALL_SCRIPT
   674 INSTALL_PROGRAM
   675 CXXCPP
   676 ac_ct_CXX
   677 CXXFLAGS
   678 CXX
   679 LT_AGE
   680 LT_REVISION
   681 LT_CURRENT
   682 LT_RELEASE
   683 CPP
   684 OTOOL64
   685 OTOOL
   686 LIPO
   687 NMEDIT
   688 DSYMUTIL
   689 MANIFEST_TOOL
   690 AWK
   691 RANLIB
   692 STRIP
   693 ac_ct_AR
   694 AR
   695 LN_S
   696 NM
   697 ac_ct_DUMPBIN
   698 DUMPBIN
   699 LD
   700 FGREP
   701 EGREP
   702 GREP
   703 SED
   704 OBJEXT
   705 EXEEXT
   706 ac_ct_CC
   707 CPPFLAGS
   708 LDFLAGS
   709 CFLAGS
   710 CC
   711 host_os
   712 host_vendor
   713 host_cpu
   714 host
   715 build_os
   716 build_vendor
   717 build_cpu
   718 build
   719 LIBTOOL
   720 OBJDUMP
   721 DLLTOOL
   722 AS
   723 SDL_VERSION
   724 SDL_BINARY_AGE
   725 SDL_INTERFACE_AGE
   726 SDL_MICRO_VERSION
   727 SDL_MINOR_VERSION
   728 SDL_MAJOR_VERSION
   729 target_alias
   730 host_alias
   731 build_alias
   732 LIBS
   733 ECHO_T
   734 ECHO_N
   735 ECHO_C
   736 DEFS
   737 mandir
   738 localedir
   739 libdir
   740 psdir
   741 pdfdir
   742 dvidir
   743 htmldir
   744 infodir
   745 docdir
   746 oldincludedir
   747 includedir
   748 runstatedir
   749 localstatedir
   750 sharedstatedir
   751 sysconfdir
   752 datadir
   753 datarootdir
   754 libexecdir
   755 sbindir
   756 bindir
   757 program_transform_name
   758 prefix
   759 exec_prefix
   760 PACKAGE_URL
   761 PACKAGE_BUGREPORT
   762 PACKAGE_STRING
   763 PACKAGE_VERSION
   764 PACKAGE_TARNAME
   765 PACKAGE_NAME
   766 PATH_SEPARATOR
   767 SHELL'
   768 ac_subst_files=''
   769 ac_user_opts='
   770 enable_option_checking
   771 enable_shared
   772 enable_static
   773 with_pic
   774 enable_fast_install
   775 with_gnu_ld
   776 with_sysroot
   777 enable_libtool_lock
   778 enable_assertions
   779 enable_dependency_tracking
   780 enable_libc
   781 enable_gcc_atomics
   782 enable_atomic
   783 enable_audio
   784 enable_video
   785 enable_render
   786 enable_events
   787 enable_joystick
   788 enable_haptic
   789 enable_power
   790 enable_filesystem
   791 enable_threads
   792 enable_timers
   793 enable_file
   794 enable_loadso
   795 enable_cpuinfo
   796 enable_assembly
   797 enable_ssemath
   798 enable_mmx
   799 enable_3dnow
   800 enable_sse
   801 enable_sse2
   802 enable_sse3
   803 enable_altivec
   804 enable_oss
   805 enable_alsa
   806 with_alsa_prefix
   807 with_alsa_inc_prefix
   808 enable_alsatest
   809 enable_alsa_shared
   810 enable_jack
   811 enable_jack_shared
   812 enable_esd
   813 with_esd_prefix
   814 with_esd_exec_prefix
   815 enable_esdtest
   816 enable_esd_shared
   817 enable_pulseaudio
   818 enable_pulseaudio_shared
   819 enable_arts
   820 enable_arts_shared
   821 enable_nas
   822 enable_nas_shared
   823 enable_sndio
   824 enable_sndio_shared
   825 enable_fusionsound
   826 enable_fusionsound_shared
   827 enable_diskaudio
   828 enable_dummyaudio
   829 enable_libsamplerate
   830 enable_libsamplerate_shared
   831 enable_video_wayland
   832 enable_video_wayland_qt_touch
   833 enable_wayland_shared
   834 enable_video_mir
   835 enable_mir_shared
   836 enable_video_x11
   837 with_x
   838 enable_x11_shared
   839 enable_video_x11_xcursor
   840 enable_video_x11_xdbe
   841 enable_video_x11_xinerama
   842 enable_video_x11_xinput
   843 enable_video_x11_xrandr
   844 enable_video_x11_scrnsaver
   845 enable_video_x11_xshape
   846 enable_video_x11_vm
   847 enable_video_vivante
   848 enable_video_cocoa
   849 enable_video_directfb
   850 enable_directfb_shared
   851 enable_video_kmsdrm
   852 enable_kmsdrm_shared
   853 enable_video_dummy
   854 enable_video_opengl
   855 enable_video_opengles
   856 enable_video_opengles1
   857 enable_video_opengles2
   858 enable_video_vulkan
   859 enable_libudev
   860 enable_dbus
   861 enable_ime
   862 enable_ibus
   863 enable_fcitx
   864 enable_input_tslib
   865 enable_pthreads
   866 enable_pthread_sem
   867 enable_directx
   868 enable_sdl_dlopen
   869 enable_clock_gettime
   870 enable_rpath
   871 enable_render_d3d
   872 '
   873       ac_precious_vars='build_alias
   874 host_alias
   875 target_alias
   876 CC
   877 CFLAGS
   878 LDFLAGS
   879 LIBS
   880 CPPFLAGS
   881 CPP
   882 CXX
   883 CXXFLAGS
   884 CCC
   885 CXXCPP
   886 XMKMF'
   887 
   888 
   889 # Initialize some variables set by options.
   890 ac_init_help=
   891 ac_init_version=false
   892 ac_unrecognized_opts=
   893 ac_unrecognized_sep=
   894 # The variables have the same names as the options, with
   895 # dashes changed to underlines.
   896 cache_file=/dev/null
   897 exec_prefix=NONE
   898 no_create=
   899 no_recursion=
   900 prefix=NONE
   901 program_prefix=NONE
   902 program_suffix=NONE
   903 program_transform_name=s,x,x,
   904 silent=
   905 site=
   906 srcdir=
   907 verbose=
   908 x_includes=NONE
   909 x_libraries=NONE
   910 
   911 # Installation directory options.
   912 # These are left unexpanded so users can "make install exec_prefix=/foo"
   913 # and all the variables that are supposed to be based on exec_prefix
   914 # by default will actually change.
   915 # Use braces instead of parens because sh, perl, etc. also accept them.
   916 # (The list follows the same order as the GNU Coding Standards.)
   917 bindir='${exec_prefix}/bin'
   918 sbindir='${exec_prefix}/sbin'
   919 libexecdir='${exec_prefix}/libexec'
   920 datarootdir='${prefix}/share'
   921 datadir='${datarootdir}'
   922 sysconfdir='${prefix}/etc'
   923 sharedstatedir='${prefix}/com'
   924 localstatedir='${prefix}/var'
   925 runstatedir='${localstatedir}/run'
   926 includedir='${prefix}/include'
   927 oldincludedir='/usr/include'
   928 docdir='${datarootdir}/doc/${PACKAGE}'
   929 infodir='${datarootdir}/info'
   930 htmldir='${docdir}'
   931 dvidir='${docdir}'
   932 pdfdir='${docdir}'
   933 psdir='${docdir}'
   934 libdir='${exec_prefix}/lib'
   935 localedir='${datarootdir}/locale'
   936 mandir='${datarootdir}/man'
   937 
   938 ac_prev=
   939 ac_dashdash=
   940 for ac_option
   941 do
   942   # If the previous option needs an argument, assign it.
   943   if test -n "$ac_prev"; then
   944     eval $ac_prev=\$ac_option
   945     ac_prev=
   946     continue
   947   fi
   948 
   949   case $ac_option in
   950   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   951   *=)   ac_optarg= ;;
   952   *)    ac_optarg=yes ;;
   953   esac
   954 
   955   # Accept the important Cygnus configure options, so we can diagnose typos.
   956 
   957   case $ac_dashdash$ac_option in
   958   --)
   959     ac_dashdash=yes ;;
   960 
   961   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   962     ac_prev=bindir ;;
   963   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   964     bindir=$ac_optarg ;;
   965 
   966   -build | --build | --buil | --bui | --bu)
   967     ac_prev=build_alias ;;
   968   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   969     build_alias=$ac_optarg ;;
   970 
   971   -cache-file | --cache-file | --cache-fil | --cache-fi \
   972   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   973     ac_prev=cache_file ;;
   974   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   975   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   976     cache_file=$ac_optarg ;;
   977 
   978   --config-cache | -C)
   979     cache_file=config.cache ;;
   980 
   981   -datadir | --datadir | --datadi | --datad)
   982     ac_prev=datadir ;;
   983   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   984     datadir=$ac_optarg ;;
   985 
   986   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   987   | --dataroo | --dataro | --datar)
   988     ac_prev=datarootdir ;;
   989   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   990   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   991     datarootdir=$ac_optarg ;;
   992 
   993   -disable-* | --disable-*)
   994     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   995     # Reject names that are not valid shell variable names.
   996     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   997       as_fn_error $? "invalid feature name: $ac_useropt"
   998     ac_useropt_orig=$ac_useropt
   999     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1000     case $ac_user_opts in
  1001       *"
  1002 "enable_$ac_useropt"
  1003 "*) ;;
  1004       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1005 	 ac_unrecognized_sep=', ';;
  1006     esac
  1007     eval enable_$ac_useropt=no ;;
  1008 
  1009   -docdir | --docdir | --docdi | --doc | --do)
  1010     ac_prev=docdir ;;
  1011   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1012     docdir=$ac_optarg ;;
  1013 
  1014   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1015     ac_prev=dvidir ;;
  1016   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1017     dvidir=$ac_optarg ;;
  1018 
  1019   -enable-* | --enable-*)
  1020     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1021     # Reject names that are not valid shell variable names.
  1022     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1023       as_fn_error $? "invalid feature name: $ac_useropt"
  1024     ac_useropt_orig=$ac_useropt
  1025     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1026     case $ac_user_opts in
  1027       *"
  1028 "enable_$ac_useropt"
  1029 "*) ;;
  1030       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1031 	 ac_unrecognized_sep=', ';;
  1032     esac
  1033     eval enable_$ac_useropt=\$ac_optarg ;;
  1034 
  1035   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1036   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1037   | --exec | --exe | --ex)
  1038     ac_prev=exec_prefix ;;
  1039   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1040   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1041   | --exec=* | --exe=* | --ex=*)
  1042     exec_prefix=$ac_optarg ;;
  1043 
  1044   -gas | --gas | --ga | --g)
  1045     # Obsolete; use --with-gas.
  1046     with_gas=yes ;;
  1047 
  1048   -help | --help | --hel | --he | -h)
  1049     ac_init_help=long ;;
  1050   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1051     ac_init_help=recursive ;;
  1052   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1053     ac_init_help=short ;;
  1054 
  1055   -host | --host | --hos | --ho)
  1056     ac_prev=host_alias ;;
  1057   -host=* | --host=* | --hos=* | --ho=*)
  1058     host_alias=$ac_optarg ;;
  1059 
  1060   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1061     ac_prev=htmldir ;;
  1062   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1063   | --ht=*)
  1064     htmldir=$ac_optarg ;;
  1065 
  1066   -includedir | --includedir | --includedi | --included | --include \
  1067   | --includ | --inclu | --incl | --inc)
  1068     ac_prev=includedir ;;
  1069   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1070   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1071     includedir=$ac_optarg ;;
  1072 
  1073   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1074     ac_prev=infodir ;;
  1075   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1076     infodir=$ac_optarg ;;
  1077 
  1078   -libdir | --libdir | --libdi | --libd)
  1079     ac_prev=libdir ;;
  1080   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1081     libdir=$ac_optarg ;;
  1082 
  1083   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1084   | --libexe | --libex | --libe)
  1085     ac_prev=libexecdir ;;
  1086   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1087   | --libexe=* | --libex=* | --libe=*)
  1088     libexecdir=$ac_optarg ;;
  1089 
  1090   -localedir | --localedir | --localedi | --localed | --locale)
  1091     ac_prev=localedir ;;
  1092   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1093     localedir=$ac_optarg ;;
  1094 
  1095   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1096   | --localstate | --localstat | --localsta | --localst | --locals)
  1097     ac_prev=localstatedir ;;
  1098   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1099   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1100     localstatedir=$ac_optarg ;;
  1101 
  1102   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1103     ac_prev=mandir ;;
  1104   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1105     mandir=$ac_optarg ;;
  1106 
  1107   -nfp | --nfp | --nf)
  1108     # Obsolete; use --without-fp.
  1109     with_fp=no ;;
  1110 
  1111   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1112   | --no-cr | --no-c | -n)
  1113     no_create=yes ;;
  1114 
  1115   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1116   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1117     no_recursion=yes ;;
  1118 
  1119   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1120   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1121   | --oldin | --oldi | --old | --ol | --o)
  1122     ac_prev=oldincludedir ;;
  1123   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1124   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1125   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1126     oldincludedir=$ac_optarg ;;
  1127 
  1128   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1129     ac_prev=prefix ;;
  1130   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1131     prefix=$ac_optarg ;;
  1132 
  1133   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1134   | --program-pre | --program-pr | --program-p)
  1135     ac_prev=program_prefix ;;
  1136   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1137   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1138     program_prefix=$ac_optarg ;;
  1139 
  1140   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1141   | --program-suf | --program-su | --program-s)
  1142     ac_prev=program_suffix ;;
  1143   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1144   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1145     program_suffix=$ac_optarg ;;
  1146 
  1147   -program-transform-name | --program-transform-name \
  1148   | --program-transform-nam | --program-transform-na \
  1149   | --program-transform-n | --program-transform- \
  1150   | --program-transform | --program-transfor \
  1151   | --program-transfo | --program-transf \
  1152   | --program-trans | --program-tran \
  1153   | --progr-tra | --program-tr | --program-t)
  1154     ac_prev=program_transform_name ;;
  1155   -program-transform-name=* | --program-transform-name=* \
  1156   | --program-transform-nam=* | --program-transform-na=* \
  1157   | --program-transform-n=* | --program-transform-=* \
  1158   | --program-transform=* | --program-transfor=* \
  1159   | --program-transfo=* | --program-transf=* \
  1160   | --program-trans=* | --program-tran=* \
  1161   | --progr-tra=* | --program-tr=* | --program-t=*)
  1162     program_transform_name=$ac_optarg ;;
  1163 
  1164   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1165     ac_prev=pdfdir ;;
  1166   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1167     pdfdir=$ac_optarg ;;
  1168 
  1169   -psdir | --psdir | --psdi | --psd | --ps)
  1170     ac_prev=psdir ;;
  1171   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1172     psdir=$ac_optarg ;;
  1173 
  1174   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1175   | -silent | --silent | --silen | --sile | --sil)
  1176     silent=yes ;;
  1177 
  1178   -runstatedir | --runstatedir | --runstatedi | --runstated \
  1179   | --runstate | --runstat | --runsta | --runst | --runs \
  1180   | --run | --ru | --r)
  1181     ac_prev=runstatedir ;;
  1182   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
  1183   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
  1184   | --run=* | --ru=* | --r=*)
  1185     runstatedir=$ac_optarg ;;
  1186 
  1187   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1188     ac_prev=sbindir ;;
  1189   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1190   | --sbi=* | --sb=*)
  1191     sbindir=$ac_optarg ;;
  1192 
  1193   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1194   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1195   | --sharedst | --shareds | --shared | --share | --shar \
  1196   | --sha | --sh)
  1197     ac_prev=sharedstatedir ;;
  1198   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1199   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1200   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1201   | --sha=* | --sh=*)
  1202     sharedstatedir=$ac_optarg ;;
  1203 
  1204   -site | --site | --sit)
  1205     ac_prev=site ;;
  1206   -site=* | --site=* | --sit=*)
  1207     site=$ac_optarg ;;
  1208 
  1209   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1210     ac_prev=srcdir ;;
  1211   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1212     srcdir=$ac_optarg ;;
  1213 
  1214   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1215   | --syscon | --sysco | --sysc | --sys | --sy)
  1216     ac_prev=sysconfdir ;;
  1217   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1218   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1219     sysconfdir=$ac_optarg ;;
  1220 
  1221   -target | --target | --targe | --targ | --tar | --ta | --t)
  1222     ac_prev=target_alias ;;
  1223   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1224     target_alias=$ac_optarg ;;
  1225 
  1226   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1227     verbose=yes ;;
  1228 
  1229   -version | --version | --versio | --versi | --vers | -V)
  1230     ac_init_version=: ;;
  1231 
  1232   -with-* | --with-*)
  1233     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1234     # Reject names that are not valid shell variable names.
  1235     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1236       as_fn_error $? "invalid package name: $ac_useropt"
  1237     ac_useropt_orig=$ac_useropt
  1238     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1239     case $ac_user_opts in
  1240       *"
  1241 "with_$ac_useropt"
  1242 "*) ;;
  1243       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1244 	 ac_unrecognized_sep=', ';;
  1245     esac
  1246     eval with_$ac_useropt=\$ac_optarg ;;
  1247 
  1248   -without-* | --without-*)
  1249     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1250     # Reject names that are not valid shell variable names.
  1251     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1252       as_fn_error $? "invalid package name: $ac_useropt"
  1253     ac_useropt_orig=$ac_useropt
  1254     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1255     case $ac_user_opts in
  1256       *"
  1257 "with_$ac_useropt"
  1258 "*) ;;
  1259       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1260 	 ac_unrecognized_sep=', ';;
  1261     esac
  1262     eval with_$ac_useropt=no ;;
  1263 
  1264   --x)
  1265     # Obsolete; use --with-x.
  1266     with_x=yes ;;
  1267 
  1268   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1269   | --x-incl | --x-inc | --x-in | --x-i)
  1270     ac_prev=x_includes ;;
  1271   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1272   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1273     x_includes=$ac_optarg ;;
  1274 
  1275   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1276   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1277     ac_prev=x_libraries ;;
  1278   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1279   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1280     x_libraries=$ac_optarg ;;
  1281 
  1282   -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1283 Try \`$0 --help' for more information"
  1284     ;;
  1285 
  1286   *=*)
  1287     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1288     # Reject names that are not valid shell variable names.
  1289     case $ac_envvar in #(
  1290       '' | [0-9]* | *[!_$as_cr_alnum]* )
  1291       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1292     esac
  1293     eval $ac_envvar=\$ac_optarg
  1294     export $ac_envvar ;;
  1295 
  1296   *)
  1297     # FIXME: should be removed in autoconf 3.0.
  1298     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1299     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1300       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1301     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1302     ;;
  1303 
  1304   esac
  1305 done
  1306 
  1307 if test -n "$ac_prev"; then
  1308   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1309   as_fn_error $? "missing argument to $ac_option"
  1310 fi
  1311 
  1312 if test -n "$ac_unrecognized_opts"; then
  1313   case $enable_option_checking in
  1314     no) ;;
  1315     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1316     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1317   esac
  1318 fi
  1319 
  1320 # Check all directory arguments for consistency.
  1321 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1322 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1323 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1324 		libdir localedir mandir runstatedir
  1325 do
  1326   eval ac_val=\$$ac_var
  1327   # Remove trailing slashes.
  1328   case $ac_val in
  1329     */ )
  1330       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1331       eval $ac_var=\$ac_val;;
  1332   esac
  1333   # Be sure to have absolute directory names.
  1334   case $ac_val in
  1335     [\\/$]* | ?:[\\/]* )  continue;;
  1336     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1337   esac
  1338   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1339 done
  1340 
  1341 # There might be people who depend on the old broken behavior: `$host'
  1342 # used to hold the argument of --host etc.
  1343 # FIXME: To remove some day.
  1344 build=$build_alias
  1345 host=$host_alias
  1346 target=$target_alias
  1347 
  1348 # FIXME: To remove some day.
  1349 if test "x$host_alias" != x; then
  1350   if test "x$build_alias" = x; then
  1351     cross_compiling=maybe
  1352   elif test "x$build_alias" != "x$host_alias"; then
  1353     cross_compiling=yes
  1354   fi
  1355 fi
  1356 
  1357 ac_tool_prefix=
  1358 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1359 
  1360 test "$silent" = yes && exec 6>/dev/null
  1361 
  1362 
  1363 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1364 ac_ls_di=`ls -di .` &&
  1365 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1366   as_fn_error $? "working directory cannot be determined"
  1367 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1368   as_fn_error $? "pwd does not report name of working directory"
  1369 
  1370 
  1371 # Find the source files, if location was not specified.
  1372 if test -z "$srcdir"; then
  1373   ac_srcdir_defaulted=yes
  1374   # Try the directory containing this script, then the parent directory.
  1375   ac_confdir=`$as_dirname -- "$as_myself" ||
  1376 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1377 	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1378 	 X"$as_myself" : 'X\(//\)$' \| \
  1379 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1380 $as_echo X"$as_myself" |
  1381     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1382 	    s//\1/
  1383 	    q
  1384 	  }
  1385 	  /^X\(\/\/\)[^/].*/{
  1386 	    s//\1/
  1387 	    q
  1388 	  }
  1389 	  /^X\(\/\/\)$/{
  1390 	    s//\1/
  1391 	    q
  1392 	  }
  1393 	  /^X\(\/\).*/{
  1394 	    s//\1/
  1395 	    q
  1396 	  }
  1397 	  s/.*/./; q'`
  1398   srcdir=$ac_confdir
  1399   if test ! -r "$srcdir/$ac_unique_file"; then
  1400     srcdir=..
  1401   fi
  1402 else
  1403   ac_srcdir_defaulted=no
  1404 fi
  1405 if test ! -r "$srcdir/$ac_unique_file"; then
  1406   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1407   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1408 fi
  1409 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1410 ac_abs_confdir=`(
  1411 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1412 	pwd)`
  1413 # When building in place, set srcdir=.
  1414 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1415   srcdir=.
  1416 fi
  1417 # Remove unnecessary trailing slashes from srcdir.
  1418 # Double slashes in file names in object file debugging info
  1419 # mess up M-x gdb in Emacs.
  1420 case $srcdir in
  1421 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1422 esac
  1423 for ac_var in $ac_precious_vars; do
  1424   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1425   eval ac_env_${ac_var}_value=\$${ac_var}
  1426   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1427   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1428 done
  1429 
  1430 #
  1431 # Report the --help message.
  1432 #
  1433 if test "$ac_init_help" = "long"; then
  1434   # Omit some internal or obsolete options to make the list less imposing.
  1435   # This message is too long to be a string in the A/UX 3.1 sh.
  1436   cat <<_ACEOF
  1437 \`configure' configures this package to adapt to many kinds of systems.
  1438 
  1439 Usage: $0 [OPTION]... [VAR=VALUE]...
  1440 
  1441 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1442 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1443 
  1444 Defaults for the options are specified in brackets.
  1445 
  1446 Configuration:
  1447   -h, --help              display this help and exit
  1448       --help=short        display options specific to this package
  1449       --help=recursive    display the short help of all the included packages
  1450   -V, --version           display version information and exit
  1451   -q, --quiet, --silent   do not print \`checking ...' messages
  1452       --cache-file=FILE   cache test results in FILE [disabled]
  1453   -C, --config-cache      alias for \`--cache-file=config.cache'
  1454   -n, --no-create         do not create output files
  1455       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1456 
  1457 Installation directories:
  1458   --prefix=PREFIX         install architecture-independent files in PREFIX
  1459                           [$ac_default_prefix]
  1460   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1461                           [PREFIX]
  1462 
  1463 By default, \`make install' will install all the files in
  1464 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1465 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1466 for instance \`--prefix=\$HOME'.
  1467 
  1468 For better control, use the options below.
  1469 
  1470 Fine tuning of the installation directories:
  1471   --bindir=DIR            user executables [EPREFIX/bin]
  1472   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1473   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1474   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1475   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1476   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1477   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
  1478   --libdir=DIR            object code libraries [EPREFIX/lib]
  1479   --includedir=DIR        C header files [PREFIX/include]
  1480   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1481   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1482   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1483   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1484   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1485   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1486   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1487   --htmldir=DIR           html documentation [DOCDIR]
  1488   --dvidir=DIR            dvi documentation [DOCDIR]
  1489   --pdfdir=DIR            pdf documentation [DOCDIR]
  1490   --psdir=DIR             ps documentation [DOCDIR]
  1491 _ACEOF
  1492 
  1493   cat <<\_ACEOF
  1494 
  1495 X features:
  1496   --x-includes=DIR    X include files are in DIR
  1497   --x-libraries=DIR   X library files are in DIR
  1498 
  1499 System types:
  1500   --build=BUILD     configure for building on BUILD [guessed]
  1501   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1502 _ACEOF
  1503 fi
  1504 
  1505 if test -n "$ac_init_help"; then
  1506 
  1507   cat <<\_ACEOF
  1508 
  1509 Optional Features:
  1510   --disable-option-checking  ignore unrecognized --enable/--with options
  1511   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1512   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1513   --enable-shared[=PKGS]  build shared libraries [default=yes]
  1514   --enable-static[=PKGS]  build static libraries [default=yes]
  1515   --enable-fast-install[=PKGS]
  1516                           optimize for fast installation [default=yes]
  1517   --disable-libtool-lock  avoid locking (might break parallel builds)
  1518   --enable-assertions     Enable internal sanity checks
  1519                           (auto/disabled/release/enabled/paranoid)
  1520                           [[default=auto]]
  1521   --enable-dependency-tracking
  1522                           Use gcc -MMD -MT dependency tracking [[default=yes]]
  1523   --enable-libc           Use the system C library [[default=yes]]
  1524   --enable-gcc-atomics    Use gcc builtin atomics [[default=yes]]
  1525   --enable-atomic         Enable the atomic operations subsystem
  1526                           [[default=yes]]
  1527   --enable-audio          Enable the audio subsystem [[default=yes]]
  1528   --enable-video          Enable the video subsystem [[default=yes]]
  1529   --enable-render         Enable the render subsystem [[default=yes]]
  1530   --enable-events         Enable the events subsystem [[default=yes]]
  1531   --enable-joystick       Enable the joystick subsystem [[default=yes]]
  1532   --enable-haptic         Enable the haptic (force feedback) subsystem
  1533                           [[default=yes]]
  1534   --enable-power          Enable the power subsystem [[default=yes]]
  1535   --enable-filesystem     Enable the filesystem subsystem [[default=yes]]
  1536   --enable-threads        Enable the threading subsystem [[default=yes]]
  1537   --enable-timers         Enable the timer subsystem [[default=yes]]
  1538   --enable-file           Enable the file subsystem [[default=yes]]
  1539   --enable-loadso         Enable the shared object loading subsystem
  1540                           [[default=yes]]
  1541   --enable-cpuinfo        Enable the cpuinfo subsystem [[default=yes]]
  1542   --enable-assembly       Enable assembly routines [[default=yes]]
  1543   --enable-ssemath        Allow GCC to use SSE floating point math
  1544                           [[default=maybe]]
  1545   --enable-mmx            use MMX assembly routines [[default=yes]]
  1546   --enable-3dnow          use 3DNow! assembly routines [[default=yes]]
  1547   --enable-sse            use SSE assembly routines [[default=yes]]
  1548   --enable-sse2           use SSE2 assembly routines [[default=maybe]]
  1549   --enable-sse3           use SSE3 assembly routines [[default=maybe]]
  1550   --enable-altivec        use Altivec assembly routines [[default=yes]]
  1551   --enable-oss            support the OSS audio API [[default=maybe]]
  1552   --enable-alsa           support the ALSA audio API [[default=yes]]
  1553   --disable-alsatest      Do not try to compile and run a test Alsa program
  1554   --enable-alsa-shared    dynamically load ALSA audio support [[default=yes]]
  1555   --enable-jack           use JACK audio [[default=yes]]
  1556   --enable-jack-shared    dynamically load JACK audio support [[default=yes]]
  1557   --enable-esd            support the Enlightened Sound Daemon [[default=yes]]
  1558   --disable-esdtest       Do not try to compile and run a test ESD program
  1559   --enable-esd-shared     dynamically load ESD audio support [[default=yes]]
  1560   --enable-pulseaudio     use PulseAudio [[default=yes]]
  1561   --enable-pulseaudio-shared
  1562                           dynamically load PulseAudio support [[default=yes]]
  1563   --enable-arts           support the Analog Real Time Synthesizer
  1564                           [[default=yes]]
  1565   --enable-arts-shared    dynamically load aRts audio support [[default=yes]]
  1566   --enable-nas            support the NAS audio API [[default=yes]]
  1567   --enable-nas-shared     dynamically load NAS audio support [[default=yes]]
  1568   --enable-sndio          support the sndio audio API [[default=yes]]
  1569   --enable-sndio-shared   dynamically load sndio audio support [[default=yes]]
  1570   --enable-fusionsound    use FusionSound audio driver [[default=no]]
  1571   --enable-fusionsound-shared
  1572                           dynamically load fusionsound audio support
  1573                           [[default=yes]]
  1574   --enable-diskaudio      support the disk writer audio driver [[default=yes]]
  1575   --enable-dummyaudio     support the dummy audio driver [[default=yes]]
  1576   --enable-libsamplerate  use libsamplerate for audio rate conversion
  1577                           [[default=yes]]
  1578   --enable-libsamplerate-shared
  1579                           dynamically load libsamplerate [[default=yes]]
  1580   --enable-video-wayland  use Wayland video driver [[default=yes]]
  1581   --enable-video-wayland-qt-touch
  1582                           QtWayland server support for Wayland video driver
  1583                           [[default=yes]]
  1584   --enable-wayland-shared dynamically load Wayland support [[default=maybe]]
  1585   --enable-video-mir      use Mir video driver [[default=yes]]
  1586   --enable-mir-shared     dynamically load Mir support [[default=maybe]]
  1587   --enable-video-x11      use X11 video driver [[default=yes]]
  1588   --enable-x11-shared     dynamically load X11 support [[default=maybe]]
  1589   --enable-video-x11-xcursor
  1590                           enable X11 Xcursor support [[default=yes]]
  1591   --enable-video-x11-xdbe enable X11 Xdbe support [[default=yes]]
  1592   --enable-video-x11-xinerama
  1593                           enable X11 Xinerama support [[default=yes]]
  1594   --enable-video-x11-xinput
  1595                           enable X11 XInput extension for manymouse, tablets,
  1596                           etc [[default=yes]]
  1597   --enable-video-x11-xrandr
  1598                           enable X11 Xrandr extension for fullscreen
  1599                           [[default=yes]]
  1600   --enable-video-x11-scrnsaver
  1601                           enable X11 screensaver extension [[default=yes]]
  1602   --enable-video-x11-xshape
  1603                           enable X11 XShape support [[default=yes]]
  1604   --enable-video-x11-vm   use X11 VM extension for fullscreen [[default=yes]]
  1605   --enable-video-vivante  use Vivante EGL video driver [[default=yes]]
  1606   --enable-video-cocoa    use Cocoa video driver [[default=yes]]
  1607   --enable-video-directfb use DirectFB video driver [[default=no]]
  1608   --enable-directfb-shared
  1609                           dynamically load directfb support [[default=yes]]
  1610   --enable-video-kmsdrm   use KMSDRM video driver [[default=no]]
  1611   --enable-kmsdrm-shared  dynamically load kmsdrm support [[default=yes]]
  1612   --enable-video-dummy    use dummy video driver [[default=yes]]
  1613   --enable-video-opengl   include OpenGL support [[default=yes]]
  1614   --enable-video-opengles include OpenGL ES support [[default=yes]]
  1615   --enable-video-opengles1
  1616                           include OpenGL ES 1.1 support [[default=yes]]
  1617   --enable-video-opengles2
  1618                           include OpenGL ES 2.0 support [[default=yes]]
  1619   --enable-video-vulkan   include Vulkan support [[default=yes]]
  1620   --enable-libudev        enable libudev support [[default=yes]]
  1621   --enable-dbus           enable D-Bus support [[default=yes]]
  1622   --enable-ime            enable IME support [[default=yes]]
  1623   --enable-ibus           enable IBus support [[default=yes]]
  1624   --enable-fcitx          enable fcitx support [[default=yes]]
  1625   --enable-input-tslib    use the Touchscreen library for input
  1626                           [[default=yes]]
  1627   --enable-pthreads       use POSIX threads for multi-threading
  1628                           [[default=yes]]
  1629   --enable-pthread-sem    use pthread semaphores [[default=yes]]
  1630   --enable-directx        use DirectX for Windows audio/video [[default=yes]]
  1631   --enable-sdl-dlopen     use dlopen for shared object loading [[default=yes]]
  1632   --enable-clock_gettime  use clock_gettime() instead of gettimeofday() on
  1633                           UNIX [[default=yes]]
  1634   --enable-rpath          use an rpath when linking SDL [[default=yes]]
  1635   --enable-render-d3d     enable the Direct3D render driver [[default=yes]]
  1636 
  1637 Optional Packages:
  1638   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1639   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1640   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
  1641                           both]
  1642   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1643   --with-sysroot=DIR Search for dependent libraries within DIR
  1644                         (or the compiler's sysroot if not specified).
  1645   --with-alsa-prefix=PFX  Prefix where Alsa library is installed(optional)
  1646   --with-alsa-inc-prefix=PFX  Prefix where include libraries are (optional)
  1647   --with-esd-prefix=PFX   Prefix where ESD is installed (optional)
  1648   --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)
  1649   --with-x                use the X Window System
  1650 
  1651 Some influential environment variables:
  1652   CC          C compiler command
  1653   CFLAGS      C compiler flags
  1654   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1655               nonstandard directory <lib dir>
  1656   LIBS        libraries to pass to the linker, e.g. -l<library>
  1657   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1658               you have headers in a nonstandard directory <include dir>
  1659   CPP         C preprocessor
  1660   CXX         C++ compiler command
  1661   CXXFLAGS    C++ compiler flags
  1662   CXXCPP      C++ preprocessor
  1663   XMKMF       Path to xmkmf, Makefile generator for X Window System
  1664 
  1665 Use these variables to override the choices made by `configure' or to help
  1666 it to find libraries and programs with nonstandard names/locations.
  1667 
  1668 Report bugs to the package provider.
  1669 _ACEOF
  1670 ac_status=$?
  1671 fi
  1672 
  1673 if test "$ac_init_help" = "recursive"; then
  1674   # If there are subdirs, report their specific --help.
  1675   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1676     test -d "$ac_dir" ||
  1677       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1678       continue
  1679     ac_builddir=.
  1680 
  1681 case "$ac_dir" in
  1682 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1683 *)
  1684   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1685   # A ".." for each directory in $ac_dir_suffix.
  1686   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1687   case $ac_top_builddir_sub in
  1688   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1689   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1690   esac ;;
  1691 esac
  1692 ac_abs_top_builddir=$ac_pwd
  1693 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1694 # for backward compatibility:
  1695 ac_top_builddir=$ac_top_build_prefix
  1696 
  1697 case $srcdir in
  1698   .)  # We are building in place.
  1699     ac_srcdir=.
  1700     ac_top_srcdir=$ac_top_builddir_sub
  1701     ac_abs_top_srcdir=$ac_pwd ;;
  1702   [\\/]* | ?:[\\/]* )  # Absolute name.
  1703     ac_srcdir=$srcdir$ac_dir_suffix;
  1704     ac_top_srcdir=$srcdir
  1705     ac_abs_top_srcdir=$srcdir ;;
  1706   *) # Relative name.
  1707     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1708     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1709     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1710 esac
  1711 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1712 
  1713     cd "$ac_dir" || { ac_status=$?; continue; }
  1714     # Check for guested configure.
  1715     if test -f "$ac_srcdir/configure.gnu"; then
  1716       echo &&
  1717       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1718     elif test -f "$ac_srcdir/configure"; then
  1719       echo &&
  1720       $SHELL "$ac_srcdir/configure" --help=recursive
  1721     else
  1722       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1723     fi || ac_status=$?
  1724     cd "$ac_pwd" || { ac_status=$?; break; }
  1725   done
  1726 fi
  1727 
  1728 test -n "$ac_init_help" && exit $ac_status
  1729 if $ac_init_version; then
  1730   cat <<\_ACEOF
  1731 configure
  1732 generated by GNU Autoconf 2.69
  1733 
  1734 Copyright (C) 2012 Free Software Foundation, Inc.
  1735 This configure script is free software; the Free Software Foundation
  1736 gives unlimited permission to copy, distribute and modify it.
  1737 _ACEOF
  1738   exit
  1739 fi
  1740 
  1741 ## ------------------------ ##
  1742 ## Autoconf initialization. ##
  1743 ## ------------------------ ##
  1744 
  1745 # ac_fn_c_try_compile LINENO
  1746 # --------------------------
  1747 # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1748 ac_fn_c_try_compile ()
  1749 {
  1750   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1751   rm -f conftest.$ac_objext
  1752   if { { ac_try="$ac_compile"
  1753 case "(($ac_try" in
  1754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1755   *) ac_try_echo=$ac_try;;
  1756 esac
  1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1758 $as_echo "$ac_try_echo"; } >&5
  1759   (eval "$ac_compile") 2>conftest.err
  1760   ac_status=$?
  1761   if test -s conftest.err; then
  1762     grep -v '^ *+' conftest.err >conftest.er1
  1763     cat conftest.er1 >&5
  1764     mv -f conftest.er1 conftest.err
  1765   fi
  1766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1767   test $ac_status = 0; } && {
  1768 	 test -z "$ac_c_werror_flag" ||
  1769 	 test ! -s conftest.err
  1770        } && test -s conftest.$ac_objext; then :
  1771   ac_retval=0
  1772 else
  1773   $as_echo "$as_me: failed program was:" >&5
  1774 sed 's/^/| /' conftest.$ac_ext >&5
  1775 
  1776 	ac_retval=1
  1777 fi
  1778   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1779   as_fn_set_status $ac_retval
  1780 
  1781 } # ac_fn_c_try_compile
  1782 
  1783 # ac_fn_c_try_link LINENO
  1784 # -----------------------
  1785 # Try to link conftest.$ac_ext, and return whether this succeeded.
  1786 ac_fn_c_try_link ()
  1787 {
  1788   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1789   rm -f conftest.$ac_objext conftest$ac_exeext
  1790   if { { ac_try="$ac_link"
  1791 case "(($ac_try" in
  1792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1793   *) ac_try_echo=$ac_try;;
  1794 esac
  1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1796 $as_echo "$ac_try_echo"; } >&5
  1797   (eval "$ac_link") 2>conftest.err
  1798   ac_status=$?
  1799   if test -s conftest.err; then
  1800     grep -v '^ *+' conftest.err >conftest.er1
  1801     cat conftest.er1 >&5
  1802     mv -f conftest.er1 conftest.err
  1803   fi
  1804   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1805   test $ac_status = 0; } && {
  1806 	 test -z "$ac_c_werror_flag" ||
  1807 	 test ! -s conftest.err
  1808        } && test -s conftest$ac_exeext && {
  1809 	 test "$cross_compiling" = yes ||
  1810 	 test -x conftest$ac_exeext
  1811        }; then :
  1812   ac_retval=0
  1813 else
  1814   $as_echo "$as_me: failed program was:" >&5
  1815 sed 's/^/| /' conftest.$ac_ext >&5
  1816 
  1817 	ac_retval=1
  1818 fi
  1819   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1820   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1821   # interfere with the next link command; also delete a directory that is
  1822   # left behind by Apple's compiler.  We do this before executing the actions.
  1823   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1824   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1825   as_fn_set_status $ac_retval
  1826 
  1827 } # ac_fn_c_try_link
  1828 
  1829 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1830 # -------------------------------------------------------
  1831 # Tests whether HEADER exists and can be compiled using the include files in
  1832 # INCLUDES, setting the cache variable VAR accordingly.
  1833 ac_fn_c_check_header_compile ()
  1834 {
  1835   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1837 $as_echo_n "checking for $2... " >&6; }
  1838 if eval \${$3+:} false; then :
  1839   $as_echo_n "(cached) " >&6
  1840 else
  1841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1842 /* end confdefs.h.  */
  1843 $4
  1844 #include <$2>
  1845 _ACEOF
  1846 if ac_fn_c_try_compile "$LINENO"; then :
  1847   eval "$3=yes"
  1848 else
  1849   eval "$3=no"
  1850 fi
  1851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1852 fi
  1853 eval ac_res=\$$3
  1854 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1855 $as_echo "$ac_res" >&6; }
  1856   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1857 
  1858 } # ac_fn_c_check_header_compile
  1859 
  1860 # ac_fn_c_try_cpp LINENO
  1861 # ----------------------
  1862 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1863 ac_fn_c_try_cpp ()
  1864 {
  1865   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1866   if { { ac_try="$ac_cpp conftest.$ac_ext"
  1867 case "(($ac_try" in
  1868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1869   *) ac_try_echo=$ac_try;;
  1870 esac
  1871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1872 $as_echo "$ac_try_echo"; } >&5
  1873   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1874   ac_status=$?
  1875   if test -s conftest.err; then
  1876     grep -v '^ *+' conftest.err >conftest.er1
  1877     cat conftest.er1 >&5
  1878     mv -f conftest.er1 conftest.err
  1879   fi
  1880   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1881   test $ac_status = 0; } > conftest.i && {
  1882 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1883 	 test ! -s conftest.err
  1884        }; then :
  1885   ac_retval=0
  1886 else
  1887   $as_echo "$as_me: failed program was:" >&5
  1888 sed 's/^/| /' conftest.$ac_ext >&5
  1889 
  1890     ac_retval=1
  1891 fi
  1892   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1893   as_fn_set_status $ac_retval
  1894 
  1895 } # ac_fn_c_try_cpp
  1896 
  1897 # ac_fn_c_try_run LINENO
  1898 # ----------------------
  1899 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1900 # that executables *can* be run.
  1901 ac_fn_c_try_run ()
  1902 {
  1903   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1904   if { { ac_try="$ac_link"
  1905 case "(($ac_try" in
  1906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1907   *) ac_try_echo=$ac_try;;
  1908 esac
  1909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1910 $as_echo "$ac_try_echo"; } >&5
  1911   (eval "$ac_link") 2>&5
  1912   ac_status=$?
  1913   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1914   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1915   { { case "(($ac_try" in
  1916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1917   *) ac_try_echo=$ac_try;;
  1918 esac
  1919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1920 $as_echo "$ac_try_echo"; } >&5
  1921   (eval "$ac_try") 2>&5
  1922   ac_status=$?
  1923   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1924   test $ac_status = 0; }; }; then :
  1925   ac_retval=0
  1926 else
  1927   $as_echo "$as_me: program exited with status $ac_status" >&5
  1928        $as_echo "$as_me: failed program was:" >&5
  1929 sed 's/^/| /' conftest.$ac_ext >&5
  1930 
  1931        ac_retval=$ac_status
  1932 fi
  1933   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1934   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1935   as_fn_set_status $ac_retval
  1936 
  1937 } # ac_fn_c_try_run
  1938 
  1939 # ac_fn_c_check_func LINENO FUNC VAR
  1940 # ----------------------------------
  1941 # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1942 ac_fn_c_check_func ()
  1943 {
  1944   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1946 $as_echo_n "checking for $2... " >&6; }
  1947 if eval \${$3+:} false; then :
  1948   $as_echo_n "(cached) " >&6
  1949 else
  1950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1951 /* end confdefs.h.  */
  1952 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1953    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  1954 #define $2 innocuous_$2
  1955 
  1956 /* System header to define __stub macros and hopefully few prototypes,
  1957     which can conflict with char $2 (); below.
  1958     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1959     <limits.h> exists even on freestanding compilers.  */
  1960 
  1961 #ifdef __STDC__
  1962 # include <limits.h>
  1963 #else
  1964 # include <assert.h>
  1965 #endif
  1966 
  1967 #undef $2
  1968 
  1969 /* Override any GCC internal prototype to avoid an error.
  1970    Use char because int might match the return type of a GCC
  1971    builtin and then its argument prototype would still apply.  */
  1972 #ifdef __cplusplus
  1973 extern "C"
  1974 #endif
  1975 char $2 ();
  1976 /* The GNU C library defines this for functions which it implements
  1977     to always fail with ENOSYS.  Some functions are actually named
  1978     something starting with __ and the normal name is an alias.  */
  1979 #if defined __stub_$2 || defined __stub___$2
  1980 choke me
  1981 #endif
  1982 
  1983 int
  1984 main ()
  1985 {
  1986 return $2 ();
  1987   ;
  1988   return 0;
  1989 }
  1990 _ACEOF
  1991 if ac_fn_c_try_link "$LINENO"; then :
  1992   eval "$3=yes"
  1993 else
  1994   eval "$3=no"
  1995 fi
  1996 rm -f core conftest.err conftest.$ac_objext \
  1997     conftest$ac_exeext conftest.$ac_ext
  1998 fi
  1999 eval ac_res=\$$3
  2000 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2001 $as_echo "$ac_res" >&6; }
  2002   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2003 
  2004 } # ac_fn_c_check_func
  2005 
  2006 # ac_fn_cxx_try_compile LINENO
  2007 # ----------------------------
  2008 # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2009 ac_fn_cxx_try_compile ()
  2010 {
  2011   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2012   rm -f conftest.$ac_objext
  2013   if { { ac_try="$ac_compile"
  2014 case "(($ac_try" in
  2015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2016   *) ac_try_echo=$ac_try;;
  2017 esac
  2018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2019 $as_echo "$ac_try_echo"; } >&5
  2020   (eval "$ac_compile") 2>conftest.err
  2021   ac_status=$?
  2022   if test -s conftest.err; then
  2023     grep -v '^ *+' conftest.err >conftest.er1
  2024     cat conftest.er1 >&5
  2025     mv -f conftest.er1 conftest.err
  2026   fi
  2027   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2028   test $ac_status = 0; } && {
  2029 	 test -z "$ac_cxx_werror_flag" ||
  2030 	 test ! -s conftest.err
  2031        } && test -s conftest.$ac_objext; then :
  2032   ac_retval=0
  2033 else
  2034   $as_echo "$as_me: failed program was:" >&5
  2035 sed 's/^/| /' conftest.$ac_ext >&5
  2036 
  2037 	ac_retval=1
  2038 fi
  2039   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2040   as_fn_set_status $ac_retval
  2041 
  2042 } # ac_fn_cxx_try_compile
  2043 
  2044 # ac_fn_cxx_try_cpp LINENO
  2045 # ------------------------
  2046 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  2047 ac_fn_cxx_try_cpp ()
  2048 {
  2049   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2050   if { { ac_try="$ac_cpp conftest.$ac_ext"
  2051 case "(($ac_try" in
  2052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2053   *) ac_try_echo=$ac_try;;
  2054 esac
  2055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2056 $as_echo "$ac_try_echo"; } >&5
  2057   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  2058   ac_status=$?
  2059   if test -s conftest.err; then
  2060     grep -v '^ *+' conftest.err >conftest.er1
  2061     cat conftest.er1 >&5
  2062     mv -f conftest.er1 conftest.err
  2063   fi
  2064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2065   test $ac_status = 0; } > conftest.i && {
  2066 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  2067 	 test ! -s conftest.err
  2068        }; then :
  2069   ac_retval=0
  2070 else
  2071   $as_echo "$as_me: failed program was:" >&5
  2072 sed 's/^/| /' conftest.$ac_ext >&5
  2073 
  2074     ac_retval=1
  2075 fi
  2076   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2077   as_fn_set_status $ac_retval
  2078 
  2079 } # ac_fn_cxx_try_cpp
  2080 
  2081 # ac_fn_cxx_try_link LINENO
  2082 # -------------------------
  2083 # Try to link conftest.$ac_ext, and return whether this succeeded.
  2084 ac_fn_cxx_try_link ()
  2085 {
  2086   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2087   rm -f conftest.$ac_objext conftest$ac_exeext
  2088   if { { ac_try="$ac_link"
  2089 case "(($ac_try" in
  2090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2091   *) ac_try_echo=$ac_try;;
  2092 esac
  2093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2094 $as_echo "$ac_try_echo"; } >&5
  2095   (eval "$ac_link") 2>conftest.err
  2096   ac_status=$?
  2097   if test -s conftest.err; then
  2098     grep -v '^ *+' conftest.err >conftest.er1
  2099     cat conftest.er1 >&5
  2100     mv -f conftest.er1 conftest.err
  2101   fi
  2102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2103   test $ac_status = 0; } && {
  2104 	 test -z "$ac_cxx_werror_flag" ||
  2105 	 test ! -s conftest.err
  2106        } && test -s conftest$ac_exeext && {
  2107 	 test "$cross_compiling" = yes ||
  2108 	 test -x conftest$ac_exeext
  2109        }; then :
  2110   ac_retval=0
  2111 else
  2112   $as_echo "$as_me: failed program was:" >&5
  2113 sed 's/^/| /' conftest.$ac_ext >&5
  2114 
  2115 	ac_retval=1
  2116 fi
  2117   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  2118   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  2119   # interfere with the next link command; also delete a directory that is
  2120   # left behind by Apple's compiler.  We do this before executing the actions.
  2121   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2122   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2123   as_fn_set_status $ac_retval
  2124 
  2125 } # ac_fn_cxx_try_link
  2126 
  2127 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  2128 # -------------------------------------------------------
  2129 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  2130 # the include files in INCLUDES and setting the cache variable VAR
  2131 # accordingly.
  2132 ac_fn_c_check_header_mongrel ()
  2133 {
  2134   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2135   if eval \${$3+:} false; then :
  2136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2137 $as_echo_n "checking for $2... " >&6; }
  2138 if eval \${$3+:} false; then :
  2139   $as_echo_n "(cached) " >&6
  2140 fi
  2141 eval ac_res=\$$3
  2142 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2143 $as_echo "$ac_res" >&6; }
  2144 else
  2145   # Is the header compilable?
  2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  2147 $as_echo_n "checking $2 usability... " >&6; }
  2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2149 /* end confdefs.h.  */
  2150 $4
  2151 #include <$2>
  2152 _ACEOF
  2153 if ac_fn_c_try_compile "$LINENO"; then :
  2154   ac_header_compiler=yes
  2155 else
  2156   ac_header_compiler=no
  2157 fi
  2158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  2160 $as_echo "$ac_header_compiler" >&6; }
  2161 
  2162 # Is the header present?
  2163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  2164 $as_echo_n "checking $2 presence... " >&6; }
  2165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2166 /* end confdefs.h.  */
  2167 #include <$2>
  2168 _ACEOF
  2169 if ac_fn_c_try_cpp "$LINENO"; then :
  2170   ac_header_preproc=yes
  2171 else
  2172   ac_header_preproc=no
  2173 fi
  2174 rm -f conftest.err conftest.i conftest.$ac_ext
  2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  2176 $as_echo "$ac_header_preproc" >&6; }
  2177 
  2178 # So?  What about this header?
  2179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  2180   yes:no: )
  2181     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  2182 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  2183     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2184 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2185     ;;
  2186   no:yes:* )
  2187     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  2188 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  2189     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
  2190 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
  2191     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  2192 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  2193     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
  2194 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
  2195     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2196 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2197     ;;
  2198 esac
  2199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2200 $as_echo_n "checking for $2... " >&6; }
  2201 if eval \${$3+:} false; then :
  2202   $as_echo_n "(cached) " >&6
  2203 else
  2204   eval "$3=\$ac_header_compiler"
  2205 fi
  2206 eval ac_res=\$$3
  2207 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2208 $as_echo "$ac_res" >&6; }
  2209 fi
  2210   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2211 
  2212 } # ac_fn_c_check_header_mongrel
  2213 
  2214 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  2215 # -------------------------------------------
  2216 # Tests whether TYPE exists after having included INCLUDES, setting cache
  2217 # variable VAR accordingly.
  2218 ac_fn_c_check_type ()
  2219 {
  2220   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2222 $as_echo_n "checking for $2... " >&6; }
  2223 if eval \${$3+:} false; then :
  2224   $as_echo_n "(cached) " >&6
  2225 else
  2226   eval "$3=no"
  2227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2228 /* end confdefs.h.  */
  2229 $4
  2230 int
  2231 main ()
  2232 {
  2233 if (sizeof ($2))
  2234 	 return 0;
  2235   ;
  2236   return 0;
  2237 }
  2238 _ACEOF
  2239 if ac_fn_c_try_compile "$LINENO"; then :
  2240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2241 /* end confdefs.h.  */
  2242 $4
  2243 int
  2244 main ()
  2245 {
  2246 if (sizeof (($2)))
  2247 	    return 0;
  2248   ;
  2249   return 0;
  2250 }
  2251 _ACEOF
  2252 if ac_fn_c_try_compile "$LINENO"; then :
  2253 
  2254 else
  2255   eval "$3=yes"
  2256 fi
  2257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2258 fi
  2259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2260 fi
  2261 eval ac_res=\$$3
  2262 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2263 $as_echo "$ac_res" >&6; }
  2264   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2265 
  2266 } # ac_fn_c_check_type
  2267 
  2268 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  2269 # ----------------------------------------------------
  2270 # Tries to find if the field MEMBER exists in type AGGR, after including
  2271 # INCLUDES, setting cache variable VAR accordingly.
  2272 ac_fn_c_check_member ()
  2273 {
  2274   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  2276 $as_echo_n "checking for $2.$3... " >&6; }
  2277 if eval \${$4+:} false; then :
  2278   $as_echo_n "(cached) " >&6
  2279 else
  2280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2281 /* end confdefs.h.  */
  2282 $5
  2283 int
  2284 main ()
  2285 {
  2286 static $2 ac_aggr;
  2287 if (ac_aggr.$3)
  2288 return 0;
  2289   ;
  2290   return 0;
  2291 }
  2292 _ACEOF
  2293 if ac_fn_c_try_compile "$LINENO"; then :
  2294   eval "$4=yes"
  2295 else
  2296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2297 /* end confdefs.h.  */
  2298 $5
  2299 int
  2300 main ()
  2301 {
  2302 static $2 ac_aggr;
  2303 if (sizeof ac_aggr.$3)
  2304 return 0;
  2305   ;
  2306   return 0;
  2307 }
  2308 _ACEOF
  2309 if ac_fn_c_try_compile "$LINENO"; then :
  2310   eval "$4=yes"
  2311 else
  2312   eval "$4=no"
  2313 fi
  2314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2315 fi
  2316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2317 fi
  2318 eval ac_res=\$$4
  2319 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2320 $as_echo "$ac_res" >&6; }
  2321   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2322 
  2323 } # ac_fn_c_check_member
  2324 cat >config.log <<_ACEOF
  2325 This file contains any messages produced by compilers while
  2326 running configure, to aid debugging if configure makes a mistake.
  2327 
  2328 It was created by $as_me, which was
  2329 generated by GNU Autoconf 2.69.  Invocation command line was
  2330 
  2331   $ $0 $@
  2332 
  2333 _ACEOF
  2334 exec 5>>config.log
  2335 {
  2336 cat <<_ASUNAME
  2337 ## --------- ##
  2338 ## Platform. ##
  2339 ## --------- ##
  2340 
  2341 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2342 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2343 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2344 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2345 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2346 
  2347 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2348 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  2349 
  2350 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  2351 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  2352 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2353 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  2354 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  2355 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  2356 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  2357 
  2358 _ASUNAME
  2359 
  2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2361 for as_dir in $PATH
  2362 do
  2363   IFS=$as_save_IFS
  2364   test -z "$as_dir" && as_dir=.
  2365     $as_echo "PATH: $as_dir"
  2366   done
  2367 IFS=$as_save_IFS
  2368 
  2369 } >&5
  2370 
  2371 cat >&5 <<_ACEOF
  2372 
  2373 
  2374 ## ----------- ##
  2375 ## Core tests. ##
  2376 ## ----------- ##
  2377 
  2378 _ACEOF
  2379 
  2380 
  2381 # Keep a trace of the command line.
  2382 # Strip out --no-create and --no-recursion so they do not pile up.
  2383 # Strip out --silent because we don't want to record it for future runs.
  2384 # Also quote any args containing shell meta-characters.
  2385 # Make two passes to allow for proper duplicate-argument suppression.
  2386 ac_configure_args=
  2387 ac_configure_args0=
  2388 ac_configure_args1=
  2389 ac_must_keep_next=false
  2390 for ac_pass in 1 2
  2391 do
  2392   for ac_arg
  2393   do
  2394     case $ac_arg in
  2395     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2396     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2397     | -silent | --silent | --silen | --sile | --sil)
  2398       continue ;;
  2399     *\'*)
  2400       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2401     esac
  2402     case $ac_pass in
  2403     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2404     2)
  2405       as_fn_append ac_configure_args1 " '$ac_arg'"
  2406       if test $ac_must_keep_next = true; then
  2407 	ac_must_keep_next=false # Got value, back to normal.
  2408       else
  2409 	case $ac_arg in
  2410 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  2411 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2412 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2413 	  | -with-* | --with-* | -without-* | --without-* | --x)
  2414 	    case "$ac_configure_args0 " in
  2415 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2416 	    esac
  2417 	    ;;
  2418 	  -* ) ac_must_keep_next=true ;;
  2419 	esac
  2420       fi
  2421       as_fn_append ac_configure_args " '$ac_arg'"
  2422       ;;
  2423     esac
  2424   done
  2425 done
  2426 { ac_configure_args0=; unset ac_configure_args0;}
  2427 { ac_configure_args1=; unset ac_configure_args1;}
  2428 
  2429 # When interrupted or exit'd, cleanup temporary files, and complete
  2430 # config.log.  We remove comments because anyway the quotes in there
  2431 # would cause problems or look ugly.
  2432 # WARNING: Use '\'' to represent an apostrophe within the trap.
  2433 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2434 trap 'exit_status=$?
  2435   # Save into config.log some information that might help in debugging.
  2436   {
  2437     echo
  2438 
  2439     $as_echo "## ---------------- ##
  2440 ## Cache variables. ##
  2441 ## ---------------- ##"
  2442     echo
  2443     # The following way of writing the cache mishandles newlines in values,
  2444 (
  2445   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2446     eval ac_val=\$$ac_var
  2447     case $ac_val in #(
  2448     *${as_nl}*)
  2449       case $ac_var in #(
  2450       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2451 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2452       esac
  2453       case $ac_var in #(
  2454       _ | IFS | as_nl) ;; #(
  2455       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2456       *) { eval $ac_var=; unset $ac_var;} ;;
  2457       esac ;;
  2458     esac
  2459   done
  2460   (set) 2>&1 |
  2461     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2462     *${as_nl}ac_space=\ *)
  2463       sed -n \
  2464 	"s/'\''/'\''\\\\'\'''\''/g;
  2465 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2466       ;; #(
  2467     *)
  2468       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2469       ;;
  2470     esac |
  2471     sort
  2472 )
  2473     echo
  2474 
  2475     $as_echo "## ----------------- ##
  2476 ## Output variables. ##
  2477 ## ----------------- ##"
  2478     echo
  2479     for ac_var in $ac_subst_vars
  2480     do
  2481       eval ac_val=\$$ac_var
  2482       case $ac_val in
  2483       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2484       esac
  2485       $as_echo "$ac_var='\''$ac_val'\''"
  2486     done | sort
  2487     echo
  2488 
  2489     if test -n "$ac_subst_files"; then
  2490       $as_echo "## ------------------- ##
  2491 ## File substitutions. ##
  2492 ## ------------------- ##"
  2493       echo
  2494       for ac_var in $ac_subst_files
  2495       do
  2496 	eval ac_val=\$$ac_var
  2497 	case $ac_val in
  2498 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2499 	esac
  2500 	$as_echo "$ac_var='\''$ac_val'\''"
  2501       done | sort
  2502       echo
  2503     fi
  2504 
  2505     if test -s confdefs.h; then
  2506       $as_echo "## ----------- ##
  2507 ## confdefs.h. ##
  2508 ## ----------- ##"
  2509       echo
  2510       cat confdefs.h
  2511       echo
  2512     fi
  2513     test "$ac_signal" != 0 &&
  2514       $as_echo "$as_me: caught signal $ac_signal"
  2515     $as_echo "$as_me: exit $exit_status"
  2516   } >&5
  2517   rm -f core *.core core.conftest.* &&
  2518     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2519     exit $exit_status
  2520 ' 0
  2521 for ac_signal in 1 2 13 15; do
  2522   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2523 done
  2524 ac_signal=0
  2525 
  2526 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2527 rm -f -r conftest* confdefs.h
  2528 
  2529 $as_echo "/* confdefs.h */" > confdefs.h
  2530 
  2531 # Predefined preprocessor variables.
  2532 
  2533 cat >>confdefs.h <<_ACEOF
  2534 #define PACKAGE_NAME "$PACKAGE_NAME"
  2535 _ACEOF
  2536 
  2537 cat >>confdefs.h <<_ACEOF
  2538 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2539 _ACEOF
  2540 
  2541 cat >>confdefs.h <<_ACEOF
  2542 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2543 _ACEOF
  2544 
  2545 cat >>confdefs.h <<_ACEOF
  2546 #define PACKAGE_STRING "$PACKAGE_STRING"
  2547 _ACEOF
  2548 
  2549 cat >>confdefs.h <<_ACEOF
  2550 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2551 _ACEOF
  2552 
  2553 cat >>confdefs.h <<_ACEOF
  2554 #define PACKAGE_URL "$PACKAGE_URL"
  2555 _ACEOF
  2556 
  2557 
  2558 # Let the site file select an alternate cache file if it wants to.
  2559 # Prefer an explicitly selected file to automatically selected ones.
  2560 ac_site_file1=NONE
  2561 ac_site_file2=NONE
  2562 if test -n "$CONFIG_SITE"; then
  2563   # We do not want a PATH search for config.site.
  2564   case $CONFIG_SITE in #((
  2565     -*)  ac_site_file1=./$CONFIG_SITE;;
  2566     */*) ac_site_file1=$CONFIG_SITE;;
  2567     *)   ac_site_file1=./$CONFIG_SITE;;
  2568   esac
  2569 elif test "x$prefix" != xNONE; then
  2570   ac_site_file1=$prefix/share/config.site
  2571   ac_site_file2=$prefix/etc/config.site
  2572 else
  2573   ac_site_file1=$ac_default_prefix/share/config.site
  2574   ac_site_file2=$ac_default_prefix/etc/config.site
  2575 fi
  2576 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2577 do
  2578   test "x$ac_site_file" = xNONE && continue
  2579   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2580     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2581 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2582     sed 's/^/| /' "$ac_site_file" >&5
  2583     . "$ac_site_file" \
  2584       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2586 as_fn_error $? "failed to load site script $ac_site_file
  2587 See \`config.log' for more details" "$LINENO" 5; }
  2588   fi
  2589 done
  2590 
  2591 if test -r "$cache_file"; then
  2592   # Some versions of bash will fail to source /dev/null (special files
  2593   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  2594   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2595     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2596 $as_echo "$as_me: loading cache $cache_file" >&6;}
  2597     case $cache_file in
  2598       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2599       *)                      . "./$cache_file";;
  2600     esac
  2601   fi
  2602 else
  2603   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2604 $as_echo "$as_me: creating cache $cache_file" >&6;}
  2605   >$cache_file
  2606 fi
  2607 
  2608 # Check that the precious variables saved in the cache have kept the same
  2609 # value.
  2610 ac_cache_corrupted=false
  2611 for ac_var in $ac_precious_vars; do
  2612   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2613   eval ac_new_set=\$ac_env_${ac_var}_set
  2614   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2615   eval ac_new_val=\$ac_env_${ac_var}_value
  2616   case $ac_old_set,$ac_new_set in
  2617     set,)
  2618       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2619 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2620       ac_cache_corrupted=: ;;
  2621     ,set)
  2622       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2623 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2624       ac_cache_corrupted=: ;;
  2625     ,);;
  2626     *)
  2627       if test "x$ac_old_val" != "x$ac_new_val"; then
  2628 	# differences in whitespace do not lead to failure.
  2629 	ac_old_val_w=`echo x $ac_old_val`
  2630 	ac_new_val_w=`echo x $ac_new_val`
  2631 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2632 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2633 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2634 	  ac_cache_corrupted=:
  2635 	else
  2636 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2637 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2638 	  eval $ac_var=\$ac_old_val
  2639 	fi
  2640 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  2641 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  2642 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  2643 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  2644       fi;;
  2645   esac
  2646   # Pass precious variables to config.status.
  2647   if test "$ac_new_set" = set; then
  2648     case $ac_new_val in
  2649     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2650     *) ac_arg=$ac_var=$ac_new_val ;;
  2651     esac
  2652     case " $ac_configure_args " in
  2653       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  2654       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2655     esac
  2656   fi
  2657 done
  2658 if $ac_cache_corrupted; then
  2659   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2661   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2662 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2663   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2664 fi
  2665 ## -------------------- ##
  2666 ## Main body of script. ##
  2667 ## -------------------- ##
  2668 
  2669 ac_ext=c
  2670 ac_cpp='$CPP $CPPFLAGS'
  2671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2674 
  2675 
  2676 ac_config_headers="$ac_config_headers include/SDL_config.h"
  2677 
  2678 ac_aux_dir=
  2679 for ac_dir in build-scripts "$srcdir"/build-scripts; do
  2680   if test -f "$ac_dir/install-sh"; then
  2681     ac_aux_dir=$ac_dir
  2682     ac_install_sh="$ac_aux_dir/install-sh -c"
  2683     break
  2684   elif test -f "$ac_dir/install.sh"; then
  2685     ac_aux_dir=$ac_dir
  2686     ac_install_sh="$ac_aux_dir/install.sh -c"
  2687     break
  2688   elif test -f "$ac_dir/shtool"; then
  2689     ac_aux_dir=$ac_dir
  2690     ac_install_sh="$ac_aux_dir/shtool install -c"
  2691     break
  2692   fi
  2693 done
  2694 if test -z "$ac_aux_dir"; then
  2695   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-scripts \"$srcdir\"/build-scripts" "$LINENO" 5
  2696 fi
  2697 
  2698 # These three variables are undocumented and unsupported,
  2699 # and are intended to be withdrawn in a future Autoconf release.
  2700 # They can cause serious problems if a builder's source tree is in a directory
  2701 # whose full name contains unusual characters.
  2702 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2703 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2704 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2705 
  2706 
  2707 
  2708 
  2709 orig_CFLAGS="$CFLAGS"
  2710 
  2711 #
  2712 # Making releases:
  2713 # Edit include/SDL_version.h and change the version, then:
  2714 #   SDL_MICRO_VERSION += 1;
  2715 #   SDL_INTERFACE_AGE += 1;
  2716 #   SDL_BINARY_AGE += 1;
  2717 # if any functions have been added, set SDL_INTERFACE_AGE to 0.
  2718 # if backwards compatibility has been broken,
  2719 # set SDL_BINARY_AGE and SDL_INTERFACE_AGE to 0.
  2720 #
  2721 SDL_MAJOR_VERSION=2
  2722 SDL_MINOR_VERSION=0
  2723 SDL_MICRO_VERSION=6
  2724 SDL_INTERFACE_AGE=0
  2725 SDL_BINARY_AGE=6
  2726 SDL_VERSION=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION.$SDL_MICRO_VERSION
  2727 
  2728 
  2729 
  2730 
  2731 
  2732 
  2733 
  2734 
  2735 # libtool versioning
  2736 case `pwd` in
  2737   *\ * | *\	*)
  2738     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  2739 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  2740 esac
  2741 
  2742 
  2743 
  2744 macro_version='2.4.2'
  2745 macro_revision='1.3337'
  2746 
  2747 
  2748 
  2749 
  2750 
  2751 
  2752 
  2753 
  2754 
  2755 
  2756 
  2757 
  2758 
  2759 ltmain="$ac_aux_dir/ltmain.sh"
  2760 
  2761 # Make sure we can run config.sub.
  2762 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2763   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2764 
  2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2766 $as_echo_n "checking build system type... " >&6; }
  2767 if ${ac_cv_build+:} false; then :
  2768   $as_echo_n "(cached) " >&6
  2769 else
  2770   ac_build_alias=$build_alias
  2771 test "x$ac_build_alias" = x &&
  2772   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2773 test "x$ac_build_alias" = x &&
  2774   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  2775 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2776   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2777 
  2778 fi
  2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2780 $as_echo "$ac_cv_build" >&6; }
  2781 case $ac_cv_build in
  2782 *-*-*) ;;
  2783 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  2784 esac
  2785 build=$ac_cv_build
  2786 ac_save_IFS=$IFS; IFS='-'
  2787 set x $ac_cv_build
  2788 shift
  2789 build_cpu=$1
  2790 build_vendor=$2
  2791 shift; shift
  2792 # Remember, the first character of IFS is used to create $*,
  2793 # except with old shells:
  2794 build_os=$*
  2795 IFS=$ac_save_IFS
  2796 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2797 
  2798 
  2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2800 $as_echo_n "checking host system type... " >&6; }
  2801 if ${ac_cv_host+:} false; then :
  2802   $as_echo_n "(cached) " >&6
  2803 else
  2804   if test "x$host_alias" = x; then
  2805   ac_cv_host=$ac_cv_build
  2806 else
  2807   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2808     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2809 fi
  2810 
  2811 fi
  2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2813 $as_echo "$ac_cv_host" >&6; }
  2814 case $ac_cv_host in
  2815 *-*-*) ;;
  2816 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2817 esac
  2818 host=$ac_cv_host
  2819 ac_save_IFS=$IFS; IFS='-'
  2820 set x $ac_cv_host
  2821 shift
  2822 host_cpu=$1
  2823 host_vendor=$2
  2824 shift; shift
  2825 # Remember, the first character of IFS is used to create $*,
  2826 # except with old shells:
  2827 host_os=$*
  2828 IFS=$ac_save_IFS
  2829 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2830 
  2831 
  2832 # Backslashify metacharacters that are still active within
  2833 # double-quoted strings.
  2834 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  2835 
  2836 # Same as above, but do not quote variable references.
  2837 double_quote_subst='s/\(["`\\]\)/\\\1/g'
  2838 
  2839 # Sed substitution to delay expansion of an escaped shell variable in a
  2840 # double_quote_subst'ed string.
  2841 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  2842 
  2843 # Sed substitution to delay expansion of an escaped single quote.
  2844 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  2845 
  2846 # Sed substitution to avoid accidental globbing in evaled expressions
  2847 no_glob_subst='s/\*/\\\*/g'
  2848 
  2849 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  2850 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  2851 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  2852 
  2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  2854 $as_echo_n "checking how to print strings... " >&6; }
  2855 # Test print first, because it will be a builtin if present.
  2856 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  2857    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  2858   ECHO='print -r --'
  2859 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  2860   ECHO='printf %s\n'
  2861 else
  2862   # Use this function as a fallback that always works.
  2863   func_fallback_echo ()
  2864   {
  2865     eval 'cat <<_LTECHO_EOF
  2866 $1
  2867 _LTECHO_EOF'
  2868   }
  2869   ECHO='func_fallback_echo'
  2870 fi
  2871 
  2872 # func_echo_all arg...
  2873 # Invoke $ECHO with all args, space-separated.
  2874 func_echo_all ()
  2875 {
  2876     $ECHO ""
  2877 }
  2878 
  2879 case "$ECHO" in
  2880   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  2881 $as_echo "printf" >&6; } ;;
  2882   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  2883 $as_echo "print -r" >&6; } ;;
  2884   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  2885 $as_echo "cat" >&6; } ;;
  2886 esac
  2887 
  2888 
  2889 
  2890 
  2891 
  2892 
  2893 
  2894 
  2895 
  2896 
  2897 
  2898 
  2899 
  2900 
  2901 ac_ext=c
  2902 ac_cpp='$CPP $CPPFLAGS'
  2903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2906 if test -n "$ac_tool_prefix"; then
  2907   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2908 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2910 $as_echo_n "checking for $ac_word... " >&6; }
  2911 if ${ac_cv_prog_CC+:} false; then :
  2912   $as_echo_n "(cached) " >&6
  2913 else
  2914   if test -n "$CC"; then
  2915   ac_cv_prog_CC="$CC" # Let the user override the test.
  2916 else
  2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2918 for as_dir in $PATH
  2919 do
  2920   IFS=$as_save_IFS
  2921   test -z "$as_dir" && as_dir=.
  2922     for ac_exec_ext in '' $ac_executable_extensions; do
  2923   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2924     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2926     break 2
  2927   fi
  2928 done
  2929   done
  2930 IFS=$as_save_IFS
  2931 
  2932 fi
  2933 fi
  2934 CC=$ac_cv_prog_CC
  2935 if test -n "$CC"; then
  2936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2937 $as_echo "$CC" >&6; }
  2938 else
  2939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2940 $as_echo "no" >&6; }
  2941 fi
  2942 
  2943 
  2944 fi
  2945 if test -z "$ac_cv_prog_CC"; then
  2946   ac_ct_CC=$CC
  2947   # Extract the first word of "gcc", so it can be a program name with args.
  2948 set dummy gcc; ac_word=$2
  2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2950 $as_echo_n "checking for $ac_word... " >&6; }
  2951 if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2952   $as_echo_n "(cached) " >&6
  2953 else
  2954   if test -n "$ac_ct_CC"; then
  2955   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2956 else
  2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2958 for as_dir in $PATH
  2959 do
  2960   IFS=$as_save_IFS
  2961   test -z "$as_dir" && as_dir=.
  2962     for ac_exec_ext in '' $ac_executable_extensions; do
  2963   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2964     ac_cv_prog_ac_ct_CC="gcc"
  2965     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2966     break 2
  2967   fi
  2968 done
  2969   done
  2970 IFS=$as_save_IFS
  2971 
  2972 fi
  2973 fi
  2974 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2975 if test -n "$ac_ct_CC"; then
  2976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2977 $as_echo "$ac_ct_CC" >&6; }
  2978 else
  2979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2980 $as_echo "no" >&6; }
  2981 fi
  2982 
  2983   if test "x$ac_ct_CC" = x; then
  2984     CC=""
  2985   else
  2986     case $cross_compiling:$ac_tool_warned in
  2987 yes:)
  2988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2990 ac_tool_warned=yes ;;
  2991 esac
  2992     CC=$ac_ct_CC
  2993   fi
  2994 else
  2995   CC="$ac_cv_prog_CC"
  2996 fi
  2997 
  2998 if test -z "$CC"; then
  2999           if test -n "$ac_tool_prefix"; then
  3000     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3001 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3003 $as_echo_n "checking for $ac_word... " >&6; }
  3004 if ${ac_cv_prog_CC+:} false; then :
  3005   $as_echo_n "(cached) " >&6
  3006 else
  3007   if test -n "$CC"; then
  3008   ac_cv_prog_CC="$CC" # Let the user override the test.
  3009 else
  3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3011 for as_dir in $PATH
  3012 do
  3013   IFS=$as_save_IFS
  3014   test -z "$as_dir" && as_dir=.
  3015     for ac_exec_ext in '' $ac_executable_extensions; do
  3016   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3017     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3019     break 2
  3020   fi
  3021 done
  3022   done
  3023 IFS=$as_save_IFS
  3024 
  3025 fi
  3026 fi
  3027 CC=$ac_cv_prog_CC
  3028 if test -n "$CC"; then
  3029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3030 $as_echo "$CC" >&6; }
  3031 else
  3032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3033 $as_echo "no" >&6; }
  3034 fi
  3035 
  3036 
  3037   fi
  3038 fi
  3039 if test -z "$CC"; then
  3040   # Extract the first word of "cc", so it can be a program name with args.
  3041 set dummy cc; ac_word=$2
  3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3043 $as_echo_n "checking for $ac_word... " >&6; }
  3044 if ${ac_cv_prog_CC+:} false; then :
  3045   $as_echo_n "(cached) " >&6
  3046 else
  3047   if test -n "$CC"; then
  3048   ac_cv_prog_CC="$CC" # Let the user override the test.
  3049 else
  3050   ac_prog_rejected=no
  3051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3052 for as_dir in $PATH
  3053 do
  3054   IFS=$as_save_IFS
  3055   test -z "$as_dir" && as_dir=.
  3056     for ac_exec_ext in '' $ac_executable_extensions; do
  3057   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3058     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3059        ac_prog_rejected=yes
  3060        continue
  3061      fi
  3062     ac_cv_prog_CC="cc"
  3063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3064     break 2
  3065   fi
  3066 done
  3067   done
  3068 IFS=$as_save_IFS
  3069 
  3070 if test $ac_prog_rejected = yes; then
  3071   # We found a bogon in the path, so make sure we never use it.
  3072   set dummy $ac_cv_prog_CC
  3073   shift
  3074   if test $# != 0; then
  3075     # We chose a different compiler from the bogus one.
  3076     # However, it has the same basename, so the bogon will be chosen
  3077     # first if we set CC to just the basename; use the full file name.
  3078     shift
  3079     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3080   fi
  3081 fi
  3082 fi
  3083 fi
  3084 CC=$ac_cv_prog_CC
  3085 if test -n "$CC"; then
  3086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3087 $as_echo "$CC" >&6; }
  3088 else
  3089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3090 $as_echo "no" >&6; }
  3091 fi
  3092 
  3093 
  3094 fi
  3095 if test -z "$CC"; then
  3096   if test -n "$ac_tool_prefix"; then
  3097   for ac_prog in cl.exe
  3098   do
  3099     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3100 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3102 $as_echo_n "checking for $ac_word... " >&6; }
  3103 if ${ac_cv_prog_CC+:} false; then :
  3104   $as_echo_n "(cached) " >&6
  3105 else
  3106   if test -n "$CC"; then
  3107   ac_cv_prog_CC="$CC" # Let the user override the test.
  3108 else
  3109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3110 for as_dir in $PATH
  3111 do
  3112   IFS=$as_save_IFS
  3113   test -z "$as_dir" && as_dir=.
  3114     for ac_exec_ext in '' $ac_executable_extensions; do
  3115   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3116     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3117     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3118     break 2
  3119   fi
  3120 done
  3121   done
  3122 IFS=$as_save_IFS
  3123 
  3124 fi
  3125 fi
  3126 CC=$ac_cv_prog_CC
  3127 if test -n "$CC"; then
  3128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3129 $as_echo "$CC" >&6; }
  3130 else
  3131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3132 $as_echo "no" >&6; }
  3133 fi
  3134 
  3135 
  3136     test -n "$CC" && break
  3137   done
  3138 fi
  3139 if test -z "$CC"; then
  3140   ac_ct_CC=$CC
  3141   for ac_prog in cl.exe
  3142 do
  3143   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3144 set dummy $ac_prog; ac_word=$2
  3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3146 $as_echo_n "checking for $ac_word... " >&6; }
  3147 if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3148   $as_echo_n "(cached) " >&6
  3149 else
  3150   if test -n "$ac_ct_CC"; then
  3151   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3152 else
  3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3154 for as_dir in $PATH
  3155 do
  3156   IFS=$as_save_IFS
  3157   test -z "$as_dir" && as_dir=.
  3158     for ac_exec_ext in '' $ac_executable_extensions; do
  3159   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3160     ac_cv_prog_ac_ct_CC="$ac_prog"
  3161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3162     break 2
  3163   fi
  3164 done
  3165   done
  3166 IFS=$as_save_IFS
  3167 
  3168 fi
  3169 fi
  3170 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3171 if test -n "$ac_ct_CC"; then
  3172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3173 $as_echo "$ac_ct_CC" >&6; }
  3174 else
  3175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3176 $as_echo "no" >&6; }
  3177 fi
  3178 
  3179 
  3180   test -n "$ac_ct_CC" && break
  3181 done
  3182 
  3183   if test "x$ac_ct_CC" = x; then
  3184     CC=""
  3185   else
  3186     case $cross_compiling:$ac_tool_warned in
  3187 yes:)
  3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3190 ac_tool_warned=yes ;;
  3191 esac
  3192     CC=$ac_ct_CC
  3193   fi
  3194 fi
  3195 
  3196 fi
  3197 
  3198 
  3199 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3201 as_fn_error $? "no acceptable C compiler found in \$PATH
  3202 See \`config.log' for more details" "$LINENO" 5; }
  3203 
  3204 # Provide some information about the compiler.
  3205 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3206 set X $ac_compile
  3207 ac_compiler=$2
  3208 for ac_option in --version -v -V -qversion; do
  3209   { { ac_try="$ac_compiler $ac_option >&5"
  3210 case "(($ac_try" in
  3211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3212   *) ac_try_echo=$ac_try;;
  3213 esac
  3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3215 $as_echo "$ac_try_echo"; } >&5
  3216   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3217   ac_status=$?
  3218   if test -s conftest.err; then
  3219     sed '10a\
  3220 ... rest of stderr output deleted ...
  3221          10q' conftest.err >conftest.er1
  3222     cat conftest.er1 >&5
  3223   fi
  3224   rm -f conftest.er1 conftest.err
  3225   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3226   test $ac_status = 0; }
  3227 done
  3228 
  3229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3230 /* end confdefs.h.  */
  3231 
  3232 int
  3233 main ()
  3234 {
  3235 
  3236   ;
  3237   return 0;
  3238 }
  3239 _ACEOF
  3240 ac_clean_files_save=$ac_clean_files
  3241 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3242 # Try to create an executable without -o first, disregard a.out.
  3243 # It will help us diagnose broken compilers, and finding out an intuition
  3244 # of exeext.
  3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3246 $as_echo_n "checking whether the C compiler works... " >&6; }
  3247 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3248 
  3249 # The possible output files:
  3250 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3251 
  3252 ac_rmfiles=
  3253 for ac_file in $ac_files
  3254 do
  3255   case $ac_file in
  3256     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3257     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3258   esac
  3259 done
  3260 rm -f $ac_rmfiles
  3261 
  3262 if { { ac_try="$ac_link_default"
  3263 case "(($ac_try" in
  3264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3265   *) ac_try_echo=$ac_try;;
  3266 esac
  3267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3268 $as_echo "$ac_try_echo"; } >&5
  3269   (eval "$ac_link_default") 2>&5
  3270   ac_status=$?
  3271   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3272   test $ac_status = 0; }; then :
  3273   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3274 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3275 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  3276 # so that the user can short-circuit this test for compilers unknown to
  3277 # Autoconf.
  3278 for ac_file in $ac_files ''
  3279 do
  3280   test -f "$ac_file" || continue
  3281   case $ac_file in
  3282     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3283 	;;
  3284     [ab].out )
  3285 	# We found the default executable, but exeext='' is most
  3286 	# certainly right.
  3287 	break;;
  3288     *.* )
  3289 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3290 	then :; else
  3291 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3292 	fi
  3293 	# We set ac_cv_exeext here because the later test for it is not
  3294 	# safe: cross compilers may not add the suffix if given an `-o'
  3295 	# argument, so we may need to know it at that point already.
  3296 	# Even if this section looks crufty: it has the advantage of
  3297 	# actually working.
  3298 	break;;
  3299     * )
  3300 	break;;
  3301   esac
  3302 done
  3303 test "$ac_cv_exeext" = no && ac_cv_exeext=
  3304 
  3305 else
  3306   ac_file=''
  3307 fi
  3308 if test -z "$ac_file"; then :
  3309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3310 $as_echo "no" >&6; }
  3311 $as_echo "$as_me: failed program was:" >&5
  3312 sed 's/^/| /' conftest.$ac_ext >&5
  3313 
  3314 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3316 as_fn_error 77 "C compiler cannot create executables
  3317 See \`config.log' for more details" "$LINENO" 5; }
  3318 else
  3319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3320 $as_echo "yes" >&6; }
  3321 fi
  3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3323 $as_echo_n "checking for C compiler default output file name... " >&6; }
  3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3325 $as_echo "$ac_file" >&6; }
  3326 ac_exeext=$ac_cv_exeext
  3327 
  3328 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3329 ac_clean_files=$ac_clean_files_save
  3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3331 $as_echo_n "checking for suffix of executables... " >&6; }
  3332 if { { ac_try="$ac_link"
  3333 case "(($ac_try" in
  3334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3335   *) ac_try_echo=$ac_try;;
  3336 esac
  3337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3338 $as_echo "$ac_try_echo"; } >&5
  3339   (eval "$ac_link") 2>&5
  3340   ac_status=$?
  3341   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3342   test $ac_status = 0; }; then :
  3343   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3344 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3345 # work properly (i.e., refer to `conftest.exe'), while it won't with
  3346 # `rm'.
  3347 for ac_file in conftest.exe conftest conftest.*; do
  3348   test -f "$ac_file" || continue
  3349   case $ac_file in
  3350     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3351     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3352 	  break;;
  3353     * ) break;;
  3354   esac
  3355 done
  3356 else
  3357   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3359 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3360 See \`config.log' for more details" "$LINENO" 5; }
  3361 fi
  3362 rm -f conftest conftest$ac_cv_exeext
  3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3364 $as_echo "$ac_cv_exeext" >&6; }
  3365 
  3366 rm -f conftest.$ac_ext
  3367 EXEEXT=$ac_cv_exeext
  3368 ac_exeext=$EXEEXT
  3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3370 /* end confdefs.h.  */
  3371 #include <stdio.h>
  3372 int
  3373 main ()
  3374 {
  3375 FILE *f = fopen ("conftest.out", "w");
  3376  return ferror (f) || fclose (f) != 0;
  3377 
  3378   ;
  3379   return 0;
  3380 }
  3381 _ACEOF
  3382 ac_clean_files="$ac_clean_files conftest.out"
  3383 # Check that the compiler produces executables we can run.  If not, either
  3384 # the compiler is broken, or we cross compile.
  3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3386 $as_echo_n "checking whether we are cross compiling... " >&6; }
  3387 if test "$cross_compiling" != yes; then
  3388   { { ac_try="$ac_link"
  3389 case "(($ac_try" in
  3390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3391   *) ac_try_echo=$ac_try;;
  3392 esac
  3393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3394 $as_echo "$ac_try_echo"; } >&5
  3395   (eval "$ac_link") 2>&5
  3396   ac_status=$?
  3397   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3398   test $ac_status = 0; }
  3399   if { ac_try='./conftest$ac_cv_exeext'
  3400   { { case "(($ac_try" in
  3401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3402   *) ac_try_echo=$ac_try;;
  3403 esac
  3404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3405 $as_echo "$ac_try_echo"; } >&5
  3406   (eval "$ac_try") 2>&5
  3407   ac_status=$?
  3408   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3409   test $ac_status = 0; }; }; then
  3410     cross_compiling=no
  3411   else
  3412     if test "$cross_compiling" = maybe; then
  3413 	cross_compiling=yes
  3414     else
  3415 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3417 as_fn_error $? "cannot run C compiled programs.
  3418 If you meant to cross compile, use \`--host'.
  3419 See \`config.log' for more details" "$LINENO" 5; }
  3420     fi
  3421   fi
  3422 fi
  3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3424 $as_echo "$cross_compiling" >&6; }
  3425 
  3426 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3427 ac_clean_files=$ac_clean_files_save
  3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3429 $as_echo_n "checking for suffix of object files... " >&6; }
  3430 if ${ac_cv_objext+:} false; then :
  3431   $as_echo_n "(cached) " >&6
  3432 else
  3433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3434 /* end confdefs.h.  */
  3435 
  3436 int
  3437 main ()
  3438 {
  3439 
  3440   ;
  3441   return 0;
  3442 }
  3443 _ACEOF
  3444 rm -f conftest.o conftest.obj
  3445 if { { ac_try="$ac_compile"
  3446 case "(($ac_try" in
  3447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3448   *) ac_try_echo=$ac_try;;
  3449 esac
  3450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3451 $as_echo "$ac_try_echo"; } >&5
  3452   (eval "$ac_compile") 2>&5
  3453   ac_status=$?
  3454   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3455   test $ac_status = 0; }; then :
  3456   for ac_file in conftest.o conftest.obj conftest.*; do
  3457   test -f "$ac_file" || continue;
  3458   case $ac_file in
  3459     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3460     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3461        break;;
  3462   esac
  3463 done
  3464 else
  3465   $as_echo "$as_me: failed program was:" >&5
  3466 sed 's/^/| /' conftest.$ac_ext >&5
  3467 
  3468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3470 as_fn_error $? "cannot compute suffix of object files: cannot compile
  3471 See \`config.log' for more details" "$LINENO" 5; }
  3472 fi
  3473 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3474 fi
  3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3476 $as_echo "$ac_cv_objext" >&6; }
  3477 OBJEXT=$ac_cv_objext
  3478 ac_objext=$OBJEXT
  3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3480 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3481 if ${ac_cv_c_compiler_gnu+:} false; then :
  3482   $as_echo_n "(cached) " >&6
  3483 else
  3484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3485 /* end confdefs.h.  */
  3486 
  3487 int
  3488 main ()
  3489 {
  3490 #ifndef __GNUC__
  3491        choke me
  3492 #endif
  3493 
  3494   ;
  3495   return 0;
  3496 }
  3497 _ACEOF
  3498 if ac_fn_c_try_compile "$LINENO"; then :
  3499   ac_compiler_gnu=yes
  3500 else
  3501   ac_compiler_gnu=no
  3502 fi
  3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3504 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3505 
  3506 fi
  3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3508 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3509 if test $ac_compiler_gnu = yes; then
  3510   GCC=yes
  3511 else
  3512   GCC=
  3513 fi
  3514 ac_test_CFLAGS=${CFLAGS+set}
  3515 ac_save_CFLAGS=$CFLAGS
  3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3517 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3518 if ${ac_cv_prog_cc_g+:} false; then :
  3519   $as_echo_n "(cached) " >&6
  3520 else
  3521   ac_save_c_werror_flag=$ac_c_werror_flag
  3522    ac_c_werror_flag=yes
  3523    ac_cv_prog_cc_g=no
  3524    CFLAGS="-g"
  3525    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3526 /* end confdefs.h.  */
  3527 
  3528 int
  3529 main ()
  3530 {
  3531 
  3532   ;
  3533   return 0;
  3534 }
  3535 _ACEOF
  3536 if ac_fn_c_try_compile "$LINENO"; then :
  3537   ac_cv_prog_cc_g=yes
  3538 else
  3539   CFLAGS=""
  3540       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3541 /* end confdefs.h.  */
  3542 
  3543 int
  3544 main ()
  3545 {
  3546 
  3547   ;
  3548   return 0;
  3549 }
  3550 _ACEOF
  3551 if ac_fn_c_try_compile "$LINENO"; then :
  3552 
  3553 else
  3554   ac_c_werror_flag=$ac_save_c_werror_flag
  3555 	 CFLAGS="-g"
  3556 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3557 /* end confdefs.h.  */
  3558 
  3559 int
  3560 main ()
  3561 {
  3562 
  3563   ;
  3564   return 0;
  3565 }
  3566 _ACEOF
  3567 if ac_fn_c_try_compile "$LINENO"; then :
  3568   ac_cv_prog_cc_g=yes
  3569 fi
  3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3571 fi
  3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3573 fi
  3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3575    ac_c_werror_flag=$ac_save_c_werror_flag
  3576 fi
  3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3578 $as_echo "$ac_cv_prog_cc_g" >&6; }
  3579 if test "$ac_test_CFLAGS" = set; then
  3580   CFLAGS=$ac_save_CFLAGS
  3581 elif test $ac_cv_prog_cc_g = yes; then
  3582   if test "$GCC" = yes; then
  3583     CFLAGS="-g -O2"
  3584   else
  3585     CFLAGS="-g"
  3586   fi
  3587 else
  3588   if test "$GCC" = yes; then
  3589     CFLAGS="-O2"
  3590   else
  3591     CFLAGS=
  3592   fi
  3593 fi
  3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3595 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3596 if ${ac_cv_prog_cc_c89+:} false; then :
  3597   $as_echo_n "(cached) " >&6
  3598 else
  3599   ac_cv_prog_cc_c89=no
  3600 ac_save_CC=$CC
  3601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3602 /* end confdefs.h.  */
  3603 #include <stdarg.h>
  3604 #include <stdio.h>
  3605 struct stat;
  3606 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3607 struct buf { int x; };
  3608 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3609 static char *e (p, i)
  3610      char **p;
  3611      int i;
  3612 {
  3613   return p[i];
  3614 }
  3615 static char *f (char * (*g) (char **, int), char **p, ...)
  3616 {
  3617   char *s;
  3618   va_list v;
  3619   va_start (v,p);
  3620   s = g (p, va_arg (v,int));
  3621   va_end (v);
  3622   return s;
  3623 }
  3624 
  3625 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3626    function prototypes and stuff, but not '\xHH' hex character constants.
  3627    These don't provoke an error unfortunately, instead are silently treated
  3628    as 'x'.  The following induces an error, until -std is added to get
  3629    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3630    array size at least.  It's necessary to write '\x00'==0 to get something
  3631    that's true only with -std.  */
  3632 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3633 
  3634 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3635    inside strings and character constants.  */
  3636 #define FOO(x) 'x'
  3637 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3638 
  3639 int test (int i, double x);
  3640 struct s1 {int (*f) (int a);};
  3641 struct s2 {int (*f) (double a);};
  3642 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3643 int argc;
  3644 char **argv;
  3645 int
  3646 main ()
  3647 {
  3648 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3649   ;
  3650   return 0;
  3651 }
  3652 _ACEOF
  3653 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3654 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3655 do
  3656   CC="$ac_save_CC $ac_arg"
  3657   if ac_fn_c_try_compile "$LINENO"; then :
  3658   ac_cv_prog_cc_c89=$ac_arg
  3659 fi
  3660 rm -f core conftest.err conftest.$ac_objext
  3661   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3662 done
  3663 rm -f conftest.$ac_ext
  3664 CC=$ac_save_CC
  3665 
  3666 fi
  3667 # AC_CACHE_VAL
  3668 case "x$ac_cv_prog_cc_c89" in
  3669   x)
  3670     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3671 $as_echo "none needed" >&6; } ;;
  3672   xno)
  3673     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3674 $as_echo "unsupported" >&6; } ;;
  3675   *)
  3676     CC="$CC $ac_cv_prog_cc_c89"
  3677     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3678 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3679 esac
  3680 if test "x$ac_cv_prog_cc_c89" != xno; then :
  3681 
  3682 fi
  3683 
  3684 ac_ext=c
  3685 ac_cpp='$CPP $CPPFLAGS'
  3686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3689 
  3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  3691 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  3692 if ${ac_cv_path_SED+:} false; then :
  3693   $as_echo_n "(cached) " >&6
  3694 else
  3695             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  3696      for ac_i in 1 2 3 4 5 6 7; do
  3697        ac_script="$ac_script$as_nl$ac_script"
  3698      done
  3699      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  3700      { ac_script=; unset ac_script;}
  3701      if test -z "$SED"; then
  3702   ac_path_SED_found=false
  3703   # Loop through the user's path and test for each of PROGNAME-LIST
  3704   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3705 for as_dir in $PATH
  3706 do
  3707   IFS=$as_save_IFS
  3708   test -z "$as_dir" && as_dir=.
  3709     for ac_prog in sed gsed; do
  3710     for ac_exec_ext in '' $ac_executable_extensions; do
  3711       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  3712       as_fn_executable_p "$ac_path_SED" || continue
  3713 # Check for GNU ac_path_SED and select it if it is found.
  3714   # Check for GNU $ac_path_SED
  3715 case `"$ac_path_SED" --version 2>&1` in
  3716 *GNU*)
  3717   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  3718 *)
  3719   ac_count=0
  3720   $as_echo_n 0123456789 >"conftest.in"
  3721   while :
  3722   do
  3723     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3724     mv "conftest.tmp" "conftest.in"
  3725     cp "conftest.in" "conftest.nl"
  3726     $as_echo '' >> "conftest.nl"
  3727     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3728     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3729     as_fn_arith $ac_count + 1 && ac_count=$as_val
  3730     if test $ac_count -gt ${ac_path_SED_max-0}; then
  3731       # Best one so far, save it but keep looking for a better one
  3732       ac_cv_path_SED="$ac_path_SED"
  3733       ac_path_SED_max=$ac_count
  3734     fi
  3735     # 10*(2^10) chars as input seems more than enough
  3736     test $ac_count -gt 10 && break
  3737   done
  3738   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3739 esac
  3740 
  3741       $ac_path_SED_found && break 3
  3742     done
  3743   done
  3744   done
  3745 IFS=$as_save_IFS
  3746   if test -z "$ac_cv_path_SED"; then
  3747     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  3748   fi
  3749 else
  3750   ac_cv_path_SED=$SED
  3751 fi
  3752 
  3753 fi
  3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  3755 $as_echo "$ac_cv_path_SED" >&6; }
  3756  SED="$ac_cv_path_SED"
  3757   rm -f conftest.sed
  3758 
  3759 test -z "$SED" && SED=sed
  3760 Xsed="$SED -e 1s/^X//"
  3761 
  3762 
  3763 
  3764 
  3765 
  3766 
  3767 
  3768 
  3769 
  3770 
  3771 
  3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  3773 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  3774 if ${ac_cv_path_GREP+:} false; then :
  3775   $as_echo_n "(cached) " >&6
  3776 else
  3777   if test -z "$GREP"; then
  3778   ac_path_GREP_found=false
  3779   # Loop through the user's path and test for each of PROGNAME-LIST
  3780   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3781 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3782 do
  3783   IFS=$as_save_IFS
  3784   test -z "$as_dir" && as_dir=.
  3785     for ac_prog in grep ggrep; do
  3786     for ac_exec_ext in '' $ac_executable_extensions; do
  3787       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3788       as_fn_executable_p "$ac_path_GREP" || continue
  3789 # Check for GNU ac_path_GREP and select it if it is found.
  3790   # Check for GNU $ac_path_GREP
  3791 case `"$ac_path_GREP" --version 2>&1` in
  3792 *GNU*)
  3793   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3794 *)
  3795   ac_count=0
  3796   $as_echo_n 0123456789 >"conftest.in"
  3797   while :
  3798   do
  3799     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3800     mv "conftest.tmp" "conftest.in"
  3801     cp "conftest.in" "conftest.nl"
  3802     $as_echo 'GREP' >> "conftest.nl"
  3803     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3804     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3805     as_fn_arith $ac_count + 1 && ac_count=$as_val
  3806     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3807       # Best one so far, save it but keep looking for a better one
  3808       ac_cv_path_GREP="$ac_path_GREP"
  3809       ac_path_GREP_max=$ac_count
  3810     fi
  3811     # 10*(2^10) chars as input seems more than enough
  3812     test $ac_count -gt 10 && break
  3813   done
  3814   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3815 esac
  3816 
  3817       $ac_path_GREP_found && break 3
  3818     done
  3819   done
  3820   done
  3821 IFS=$as_save_IFS
  3822   if test -z "$ac_cv_path_GREP"; then
  3823     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3824   fi
  3825 else
  3826   ac_cv_path_GREP=$GREP
  3827 fi
  3828 
  3829 fi
  3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  3831 $as_echo "$ac_cv_path_GREP" >&6; }
  3832  GREP="$ac_cv_path_GREP"
  3833 
  3834 
  3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  3836 $as_echo_n "checking for egrep... " >&6; }
  3837 if ${ac_cv_path_EGREP+:} false; then :
  3838   $as_echo_n "(cached) " >&6
  3839 else
  3840   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3841    then ac_cv_path_EGREP="$GREP -E"
  3842    else
  3843      if test -z "$EGREP"; then
  3844   ac_path_EGREP_found=false
  3845   # Loop through the user's path and test for each of PROGNAME-LIST
  3846   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3847 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3848 do
  3849   IFS=$as_save_IFS
  3850   test -z "$as_dir" && as_dir=.
  3851     for ac_prog in egrep; do
  3852     for ac_exec_ext in '' $ac_executable_extensions; do
  3853       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3854       as_fn_executable_p "$ac_path_EGREP" || continue
  3855 # Check for GNU ac_path_EGREP and select it if it is found.
  3856   # Check for GNU $ac_path_EGREP
  3857 case `"$ac_path_EGREP" --version 2>&1` in
  3858 *GNU*)
  3859   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3860 *)
  3861   ac_count=0
  3862   $as_echo_n 0123456789 >"conftest.in"
  3863   while :
  3864   do
  3865     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3866     mv "conftest.tmp" "conftest.in"
  3867     cp "conftest.in" "conftest.nl"
  3868     $as_echo 'EGREP' >> "conftest.nl"
  3869     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3870     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3871     as_fn_arith $ac_count + 1 && ac_count=$as_val
  3872     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3873       # Best one so far, save it but keep looking for a better one
  3874       ac_cv_path_EGREP="$ac_path_EGREP"
  3875       ac_path_EGREP_max=$ac_count
  3876     fi
  3877     # 10*(2^10) chars as input seems more than enough
  3878     test $ac_count -gt 10 && break
  3879   done
  3880   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3881 esac
  3882 
  3883       $ac_path_EGREP_found && break 3
  3884     done
  3885   done
  3886   done
  3887 IFS=$as_save_IFS
  3888   if test -z "$ac_cv_path_EGREP"; then
  3889     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3890   fi
  3891 else
  3892   ac_cv_path_EGREP=$EGREP
  3893 fi
  3894 
  3895    fi
  3896 fi
  3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  3898 $as_echo "$ac_cv_path_EGREP" >&6; }
  3899  EGREP="$ac_cv_path_EGREP"
  3900 
  3901 
  3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  3903 $as_echo_n "checking for fgrep... " >&6; }
  3904 if ${ac_cv_path_FGREP+:} false; then :
  3905   $as_echo_n "(cached) " >&6
  3906 else
  3907   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  3908    then ac_cv_path_FGREP="$GREP -F"
  3909    else
  3910      if test -z "$FGREP"; then
  3911   ac_path_FGREP_found=false
  3912   # Loop through the user's path and test for each of PROGNAME-LIST
  3913   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3914 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3915 do
  3916   IFS=$as_save_IFS
  3917   test -z "$as_dir" && as_dir=.
  3918     for ac_prog in fgrep; do
  3919     for ac_exec_ext in '' $ac_executable_extensions; do
  3920       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  3921       as_fn_executable_p "$ac_path_FGREP" || continue
  3922 # Check for GNU ac_path_FGREP and select it if it is found.
  3923   # Check for GNU $ac_path_FGREP
  3924 case `"$ac_path_FGREP" --version 2>&1` in
  3925 *GNU*)
  3926   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  3927 *)
  3928   ac_count=0
  3929   $as_echo_n 0123456789 >"conftest.in"
  3930   while :
  3931   do
  3932     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3933     mv "conftest.tmp" "conftest.in"
  3934     cp "conftest.in" "conftest.nl"
  3935     $as_echo 'FGREP' >> "conftest.nl"
  3936     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3937     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3938     as_fn_arith $ac_count + 1 && ac_count=$as_val
  3939     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  3940       # Best one so far, save it but keep looking for a better one
  3941       ac_cv_path_FGREP="$ac_path_FGREP"
  3942       ac_path_FGREP_max=$ac_count
  3943     fi
  3944     # 10*(2^10) chars as input seems more than enough
  3945     test $ac_count -gt 10 && break
  3946   done
  3947   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3948 esac
  3949 
  3950       $ac_path_FGREP_found && break 3
  3951     done
  3952   done
  3953   done
  3954 IFS=$as_save_IFS
  3955   if test -z "$ac_cv_path_FGREP"; then
  3956     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3957   fi
  3958 else
  3959   ac_cv_path_FGREP=$FGREP
  3960 fi
  3961 
  3962    fi
  3963 fi
  3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  3965 $as_echo "$ac_cv_path_FGREP" >&6; }
  3966  FGREP="$ac_cv_path_FGREP"
  3967 
  3968 
  3969 test -z "$GREP" && GREP=grep
  3970 
  3971 
  3972 
  3973 
  3974 
  3975 
  3976 
  3977 
  3978 
  3979 
  3980 
  3981 
  3982 
  3983 
  3984 
  3985 
  3986 
  3987 
  3988 
  3989 # Check whether --with-gnu-ld was given.
  3990 if test "${with_gnu_ld+set}" = set; then :
  3991   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  3992 else
  3993   with_gnu_ld=no
  3994 fi
  3995 
  3996 ac_prog=ld
  3997 if test "$GCC" = yes; then
  3998   # Check if gcc -print-prog-name=ld gives a path.
  3999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  4000 $as_echo_n "checking for ld used by $CC... " >&6; }
  4001   case $host in
  4002   *-*-mingw*)
  4003     # gcc leaves a trailing carriage return which upsets mingw
  4004     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  4005   *)
  4006     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  4007   esac
  4008   case $ac_prog in
  4009     # Accept absolute paths.
  4010     [\\/]* | ?:[\\/]*)
  4011       re_direlt='/[^/][^/]*/\.\./'
  4012       # Canonicalize the pathname of ld
  4013       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  4014       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  4015 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  4016       done
  4017       test -z "$LD" && LD="$ac_prog"
  4018       ;;
  4019   "")
  4020     # If it fails, then pretend we aren't using GCC.
  4021     ac_prog=ld
  4022     ;;
  4023   *)
  4024     # If it is relative, then search for the first ld in PATH.
  4025     with_gnu_ld=unknown
  4026     ;;
  4027   esac
  4028 elif test "$with_gnu_ld" = yes; then
  4029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  4030 $as_echo_n "checking for GNU ld... " >&6; }
  4031 else
  4032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  4033 $as_echo_n "checking for non-GNU ld... " >&6; }
  4034 fi
  4035 if ${lt_cv_path_LD+:} false; then :
  4036   $as_echo_n "(cached) " >&6
  4037 else
  4038   if test -z "$LD"; then
  4039   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4040   for ac_dir in $PATH; do
  4041     IFS="$lt_save_ifs"
  4042     test -z "$ac_dir" && ac_dir=.
  4043     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4044       lt_cv_path_LD="$ac_dir/$ac_prog"
  4045       # Check to see if the program is GNU ld.  I'd rather use --version,
  4046       # but apparently some variants of GNU ld only accept -v.
  4047       # Break only if it was the GNU/non-GNU ld that we prefer.
  4048       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  4049       *GNU* | *'with BFD'*)
  4050 	test "$with_gnu_ld" != no && break
  4051 	;;
  4052       *)
  4053 	test "$with_gnu_ld" != yes && break
  4054 	;;
  4055       esac
  4056     fi
  4057   done
  4058   IFS="$lt_save_ifs"
  4059 else
  4060   lt_cv_path_LD="$LD" # Let the user override the test with a path.
  4061 fi
  4062 fi
  4063 
  4064 LD="$lt_cv_path_LD"
  4065 if test -n "$LD"; then
  4066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  4067 $as_echo "$LD" >&6; }
  4068 else
  4069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4070 $as_echo "no" >&6; }
  4071 fi
  4072 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  4074 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  4075 if ${lt_cv_prog_gnu_ld+:} false; then :
  4076   $as_echo_n "(cached) " >&6
  4077 else
  4078   # I'd rather use --version here, but apparently some GNU lds only accept -v.
  4079 case `$LD -v 2>&1 </dev/null` in
  4080 *GNU* | *'with BFD'*)
  4081   lt_cv_prog_gnu_ld=yes
  4082   ;;
  4083 *)
  4084   lt_cv_prog_gnu_ld=no
  4085   ;;
  4086 esac
  4087 fi
  4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  4089 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  4090 with_gnu_ld=$lt_cv_prog_gnu_ld
  4091 
  4092 
  4093 
  4094 
  4095 
  4096 
  4097 
  4098 
  4099 
  4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  4101 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  4102 if ${lt_cv_path_NM+:} false; then :
  4103   $as_echo_n "(cached) " >&6
  4104 else
  4105   if test -n "$NM"; then
  4106   # Let the user override the test.
  4107   lt_cv_path_NM="$NM"
  4108 else
  4109   lt_nm_to_check="${ac_tool_prefix}nm"
  4110   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  4111     lt_nm_to_check="$lt_nm_to_check nm"
  4112   fi
  4113   for lt_tmp_nm in $lt_nm_to_check; do
  4114     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4115     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  4116       IFS="$lt_save_ifs"
  4117       test -z "$ac_dir" && ac_dir=.
  4118       tmp_nm="$ac_dir/$lt_tmp_nm"
  4119       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  4120 	# Check to see if the nm accepts a BSD-compat flag.
  4121 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
  4122 	#   nm: unknown option "B" ignored
  4123 	# Tru64's nm complains that /dev/null is an invalid object file
  4124 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  4125 	*/dev/null* | *'Invalid file or object type'*)
  4126 	  lt_cv_path_NM="$tmp_nm -B"
  4127 	  break
  4128 	  ;;
  4129 	*)
  4130 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  4131 	  */dev/null*)
  4132 	    lt_cv_path_NM="$tmp_nm -p"
  4133 	    break
  4134 	    ;;
  4135 	  *)
  4136 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  4137 	    continue # so that we can try to find one that supports BSD flags
  4138 	    ;;
  4139 	  esac
  4140 	  ;;
  4141 	esac
  4142       fi
  4143     done
  4144     IFS="$lt_save_ifs"
  4145   done
  4146   : ${lt_cv_path_NM=no}
  4147 fi
  4148 fi
  4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  4150 $as_echo "$lt_cv_path_NM" >&6; }
  4151 if test "$lt_cv_path_NM" != "no"; then
  4152   NM="$lt_cv_path_NM"
  4153 else
  4154   # Didn't find any BSD compatible name lister, look for dumpbin.
  4155   if test -n "$DUMPBIN"; then :
  4156     # Let the user override the test.
  4157   else
  4158     if test -n "$ac_tool_prefix"; then
  4159   for ac_prog in dumpbin "link -dump"
  4160   do
  4161     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4162 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4164 $as_echo_n "checking for $ac_word... " >&6; }
  4165 if ${ac_cv_prog_DUMPBIN+:} false; then :
  4166   $as_echo_n "(cached) " >&6
  4167 else
  4168   if test -n "$DUMPBIN"; then
  4169   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  4170 else
  4171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4172 for as_dir in $PATH
  4173 do
  4174   IFS=$as_save_IFS
  4175   test -z "$as_dir" && as_dir=.
  4176     for ac_exec_ext in '' $ac_executable_extensions; do
  4177   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4178     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  4179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4180     break 2
  4181   fi
  4182 done
  4183   done
  4184 IFS=$as_save_IFS
  4185 
  4186 fi
  4187 fi
  4188 DUMPBIN=$ac_cv_prog_DUMPBIN
  4189 if test -n "$DUMPBIN"; then
  4190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  4191 $as_echo "$DUMPBIN" >&6; }
  4192 else
  4193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4194 $as_echo "no" >&6; }
  4195 fi
  4196 
  4197 
  4198     test -n "$DUMPBIN" && break
  4199   done
  4200 fi
  4201 if test -z "$DUMPBIN"; then
  4202   ac_ct_DUMPBIN=$DUMPBIN
  4203   for ac_prog in dumpbin "link -dump"
  4204 do
  4205   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4206 set dummy $ac_prog; ac_word=$2
  4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4208 $as_echo_n "checking for $ac_word... " >&6; }
  4209 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  4210   $as_echo_n "(cached) " >&6
  4211 else
  4212   if test -n "$ac_ct_DUMPBIN"; then
  4213   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  4214 else
  4215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4216 for as_dir in $PATH
  4217 do
  4218   IFS=$as_save_IFS
  4219   test -z "$as_dir" && as_dir=.
  4220     for ac_exec_ext in '' $ac_executable_extensions; do
  4221   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4222     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  4223     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4224     break 2
  4225   fi
  4226 done
  4227   done
  4228 IFS=$as_save_IFS
  4229 
  4230 fi
  4231 fi
  4232 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  4233 if test -n "$ac_ct_DUMPBIN"; then
  4234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  4235 $as_echo "$ac_ct_DUMPBIN" >&6; }
  4236 else
  4237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4238 $as_echo "no" >&6; }
  4239 fi
  4240 
  4241 
  4242   test -n "$ac_ct_DUMPBIN" && break
  4243 done
  4244 
  4245   if test "x$ac_ct_DUMPBIN" = x; then
  4246     DUMPBIN=":"
  4247   else
  4248     case $cross_compiling:$ac_tool_warned in
  4249 yes:)
  4250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4252 ac_tool_warned=yes ;;
  4253 esac
  4254     DUMPBIN=$ac_ct_DUMPBIN
  4255   fi
  4256 fi
  4257 
  4258     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  4259     *COFF*)
  4260       DUMPBIN="$DUMPBIN -symbols"
  4261       ;;
  4262     *)
  4263       DUMPBIN=:
  4264       ;;
  4265     esac
  4266   fi
  4267 
  4268   if test "$DUMPBIN" != ":"; then
  4269     NM="$DUMPBIN"
  4270   fi
  4271 fi
  4272 test -z "$NM" && NM=nm
  4273 
  4274 
  4275 
  4276 
  4277 
  4278 
  4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  4280 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  4281 if ${lt_cv_nm_interface+:} false; then :
  4282   $as_echo_n "(cached) " >&6
  4283 else
  4284   lt_cv_nm_interface="BSD nm"
  4285   echo "int some_variable = 0;" > conftest.$ac_ext
  4286   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  4287   (eval "$ac_compile" 2>conftest.err)
  4288   cat conftest.err >&5
  4289   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  4290   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  4291   cat conftest.err >&5
  4292   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  4293   cat conftest.out >&5
  4294   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  4295     lt_cv_nm_interface="MS dumpbin"
  4296   fi
  4297   rm -f conftest*
  4298 fi
  4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  4300 $as_echo "$lt_cv_nm_interface" >&6; }
  4301 
  4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  4303 $as_echo_n "checking whether ln -s works... " >&6; }
  4304 LN_S=$as_ln_s
  4305 if test "$LN_S" = "ln -s"; then
  4306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4307 $as_echo "yes" >&6; }
  4308 else
  4309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  4310 $as_echo "no, using $LN_S" >&6; }
  4311 fi
  4312 
  4313 # find the maximum length of command line arguments
  4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  4315 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  4316 if ${lt_cv_sys_max_cmd_len+:} false; then :
  4317   $as_echo_n "(cached) " >&6
  4318 else
  4319     i=0
  4320   teststring="ABCD"
  4321 
  4322   case $build_os in
  4323   msdosdjgpp*)
  4324     # On DJGPP, this test can blow up pretty badly due to problems in libc
  4325     # (any single argument exceeding 2000 bytes causes a buffer overrun
  4326     # during glob expansion).  Even if it were fixed, the result of this
  4327     # check would be larger than it should be.
  4328     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  4329     ;;
  4330 
  4331   gnu*)
  4332     # Under GNU Hurd, this test is not required because there is
  4333     # no limit to the length of command line arguments.
  4334     # Libtool will interpret -1 as no limit whatsoever
  4335     lt_cv_sys_max_cmd_len=-1;
  4336     ;;
  4337 
  4338   cygwin* | mingw* | cegcc*)
  4339     # On Win9x/ME, this test blows up -- it succeeds, but takes
  4340     # about 5 minutes as the teststring grows exponentially.
  4341     # Worse, since 9x/ME are not pre-emptively multitasking,
  4342     # you end up with a "frozen" computer, even though with patience
  4343     # the test eventually succeeds (with a max line length of 256k).
  4344     # Instead, let's just punt: use the minimum linelength reported by
  4345     # all of the supported platforms: 8192 (on NT/2K/XP).
  4346     lt_cv_sys_max_cmd_len=8192;
  4347     ;;
  4348 
  4349   mint*)
  4350     # On MiNT this can take a long time and run out of memory.
  4351     lt_cv_sys_max_cmd_len=8192;
  4352     ;;
  4353 
  4354   amigaos*)
  4355     # On AmigaOS with pdksh, this test takes hours, literally.
  4356     # So we just punt and use a minimum line length of 8192.
  4357     lt_cv_sys_max_cmd_len=8192;
  4358     ;;
  4359 
  4360   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  4361     # This has been around since 386BSD, at least.  Likely further.
  4362     if test -x /sbin/sysctl; then
  4363       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  4364     elif test -x /usr/sbin/sysctl; then
  4365       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  4366     else
  4367       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  4368     fi
  4369     # And add a safety zone
  4370     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4371     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4372     ;;
  4373 
  4374   interix*)
  4375     # We know the value 262144 and hardcode it with a safety zone (like BSD)
  4376     lt_cv_sys_max_cmd_len=196608
  4377     ;;
  4378 
  4379   os2*)
  4380     # The test takes a long time on OS/2.
  4381     lt_cv_sys_max_cmd_len=8192
  4382     ;;
  4383 
  4384   osf*)
  4385     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  4386     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  4387     # nice to cause kernel panics so lets avoid the loop below.
  4388     # First set a reasonable default.
  4389     lt_cv_sys_max_cmd_len=16384
  4390     #
  4391     if test -x /sbin/sysconfig; then
  4392       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  4393         *1*) lt_cv_sys_max_cmd_len=-1 ;;
  4394       esac
  4395     fi
  4396     ;;
  4397   sco3.2v5*)
  4398     lt_cv_sys_max_cmd_len=102400
  4399     ;;
  4400   sysv5* | sco5v6* | sysv4.2uw2*)
  4401     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  4402     if test -n "$kargmax"; then
  4403       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
  4404     else
  4405       lt_cv_sys_max_cmd_len=32768
  4406     fi
  4407     ;;
  4408   *)
  4409     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  4410     if test -n "$lt_cv_sys_max_cmd_len"; then
  4411       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4412       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4413     else
  4414       # Make teststring a little bigger before we do anything with it.
  4415       # a 1K string should be a reasonable start.
  4416       for i in 1 2 3 4 5 6 7 8 ; do
  4417         teststring=$teststring$teststring
  4418       done
  4419       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  4420       # If test is not a shell built-in, we'll probably end up computing a
  4421       # maximum length that is only half of the actual maximum length, but
  4422       # we can't tell.
  4423       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
  4424 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  4425 	      test $i != 17 # 1/2 MB should be enough
  4426       do
  4427         i=`expr $i + 1`
  4428         teststring=$teststring$teststring
  4429       done
  4430       # Only check the string length outside the loop.
  4431       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  4432       teststring=
  4433       # Add a significant safety factor because C++ compilers can tack on
  4434       # massive amounts of additional arguments before passing them to the
  4435       # linker.  It appears as though 1/2 is a usable value.
  4436       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  4437     fi
  4438     ;;
  4439   esac
  4440 
  4441 fi
  4442 
  4443 if test -n $lt_cv_sys_max_cmd_len ; then
  4444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  4445 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  4446 else
  4447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  4448 $as_echo "none" >&6; }
  4449 fi
  4450 max_cmd_len=$lt_cv_sys_max_cmd_len
  4451 
  4452 
  4453 
  4454 
  4455 
  4456 
  4457 : ${CP="cp -f"}
  4458 : ${MV="mv -f"}
  4459 : ${RM="rm -f"}
  4460 
  4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  4462 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  4463 # Try some XSI features
  4464 xsi_shell=no
  4465 ( _lt_dummy="a/b/c"
  4466   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
  4467       = c,a/b,b/c, \
  4468     && eval 'test $(( 1 + 1 )) -eq 2 \
  4469     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  4470   && xsi_shell=yes
  4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  4472 $as_echo "$xsi_shell" >&6; }
  4473 
  4474 
  4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  4476 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  4477 lt_shell_append=no
  4478 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  4479     >/dev/null 2>&1 \
  4480   && lt_shell_append=yes
  4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  4482 $as_echo "$lt_shell_append" >&6; }
  4483 
  4484 
  4485 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  4486   lt_unset=unset
  4487 else
  4488   lt_unset=false
  4489 fi
  4490 
  4491 
  4492 
  4493 
  4494 
  4495 # test EBCDIC or ASCII
  4496 case `echo X|tr X '\101'` in
  4497  A) # ASCII based system
  4498     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  4499   lt_SP2NL='tr \040 \012'
  4500   lt_NL2SP='tr \015\012 \040\040'
  4501   ;;
  4502  *) # EBCDIC based system
  4503   lt_SP2NL='tr \100 \n'
  4504   lt_NL2SP='tr \r\n \100\100'
  4505   ;;
  4506 esac
  4507 
  4508 
  4509 
  4510 
  4511 
  4512 
  4513 
  4514 
  4515 
  4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  4517 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  4518 if ${lt_cv_to_host_file_cmd+:} false; then :
  4519   $as_echo_n "(cached) " >&6
  4520 else
  4521   case $host in
  4522   *-*-mingw* )
  4523     case $build in
  4524       *-*-mingw* ) # actually msys
  4525         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  4526         ;;
  4527       *-*-cygwin* )
  4528         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  4529         ;;
  4530       * ) # otherwise, assume *nix
  4531         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  4532         ;;
  4533     esac
  4534     ;;
  4535   *-*-cygwin* )
  4536     case $build in
  4537       *-*-mingw* ) # actually msys
  4538         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  4539         ;;
  4540       *-*-cygwin* )
  4541         lt_cv_to_host_file_cmd=func_convert_file_noop
  4542         ;;
  4543       * ) # otherwise, assume *nix
  4544         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  4545         ;;
  4546     esac
  4547     ;;
  4548   * ) # unhandled hosts (and "normal" native builds)
  4549     lt_cv_to_host_file_cmd=func_convert_file_noop
  4550     ;;
  4551 esac
  4552 
  4553 fi
  4554 
  4555 to_host_file_cmd=$lt_cv_to_host_file_cmd
  4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  4557 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
  4558 
  4559 
  4560 
  4561 
  4562 
  4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  4564 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  4565 if ${lt_cv_to_tool_file_cmd+:} false; then :
  4566   $as_echo_n "(cached) " >&6
  4567 else
  4568   #assume ordinary cross tools, or native build.
  4569 lt_cv_to_tool_file_cmd=func_convert_file_noop
  4570 case $host in
  4571   *-*-mingw* )
  4572     case $build in
  4573       *-*-mingw* ) # actually msys
  4574         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  4575         ;;
  4576     esac
  4577     ;;
  4578 esac
  4579 
  4580 fi
  4581 
  4582 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  4584 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  4585 
  4586 
  4587 
  4588 
  4589 
  4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  4591 $as_echo_n "checking for $LD option to reload object files... " >&6; }
  4592 if ${lt_cv_ld_reload_flag+:} false; then :
  4593   $as_echo_n "(cached) " >&6
  4594 else
  4595   lt_cv_ld_reload_flag='-r'
  4596 fi
  4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  4598 $as_echo "$lt_cv_ld_reload_flag" >&6; }
  4599 reload_flag=$lt_cv_ld_reload_flag
  4600 case $reload_flag in
  4601 "" | " "*) ;;
  4602 *) reload_flag=" $reload_flag" ;;
  4603 esac
  4604 reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4605 case $host_os in
  4606   cygwin* | mingw* | pw32* | cegcc*)
  4607     if test "$GCC" != yes; then
  4608       reload_cmds=false
  4609     fi
  4610     ;;
  4611   darwin*)
  4612     if test "$GCC" = yes; then
  4613       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  4614     else
  4615       reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4616     fi
  4617     ;;
  4618 esac
  4619 
  4620 
  4621 
  4622 
  4623 
  4624 
  4625 
  4626 
  4627 
  4628 if test -n "$ac_tool_prefix"; then
  4629   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  4630 set dummy ${ac_tool_prefix}objdump; ac_word=$2
  4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4632 $as_echo_n "checking for $ac_word... " >&6; }
  4633 if ${ac_cv_prog_OBJDUMP+:} false; then :
  4634   $as_echo_n "(cached) " >&6
  4635 else
  4636   if test -n "$OBJDUMP"; then
  4637   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  4638 else
  4639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4640 for as_dir in $PATH
  4641 do
  4642   IFS=$as_save_IFS
  4643   test -z "$as_dir" && as_dir=.
  4644     for ac_exec_ext in '' $ac_executable_extensions; do
  4645   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4646     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  4647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4648     break 2
  4649   fi
  4650 done
  4651   done
  4652 IFS=$as_save_IFS
  4653 
  4654 fi
  4655 fi
  4656 OBJDUMP=$ac_cv_prog_OBJDUMP
  4657 if test -n "$OBJDUMP"; then
  4658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  4659 $as_echo "$OBJDUMP" >&6; }
  4660 else
  4661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4662 $as_echo "no" >&6; }
  4663 fi
  4664 
  4665 
  4666 fi
  4667 if test -z "$ac_cv_prog_OBJDUMP"; then
  4668   ac_ct_OBJDUMP=$OBJDUMP
  4669   # Extract the first word of "objdump", so it can be a program name with args.
  4670 set dummy objdump; ac_word=$2
  4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4672 $as_echo_n "checking for $ac_word... " >&6; }
  4673 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  4674   $as_echo_n "(cached) " >&6
  4675 else
  4676   if test -n "$ac_ct_OBJDUMP"; then
  4677   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  4678 else
  4679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4680 for as_dir in $PATH
  4681 do
  4682   IFS=$as_save_IFS
  4683   test -z "$as_dir" && as_dir=.
  4684     for ac_exec_ext in '' $ac_executable_extensions; do
  4685   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4686     ac_cv_prog_ac_ct_OBJDUMP="objdump"
  4687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4688     break 2
  4689   fi
  4690 done
  4691   done
  4692 IFS=$as_save_IFS
  4693 
  4694 fi
  4695 fi
  4696 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  4697 if test -n "$ac_ct_OBJDUMP"; then
  4698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  4699 $as_echo "$ac_ct_OBJDUMP" >&6; }
  4700 else
  4701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4702 $as_echo "no" >&6; }
  4703 fi
  4704 
  4705   if test "x$ac_ct_OBJDUMP" = x; then
  4706     OBJDUMP="false"
  4707   else
  4708     case $cross_compiling:$ac_tool_warned in
  4709 yes:)
  4710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4712 ac_tool_warned=yes ;;
  4713 esac
  4714     OBJDUMP=$ac_ct_OBJDUMP
  4715   fi
  4716 else
  4717   OBJDUMP="$ac_cv_prog_OBJDUMP"
  4718 fi
  4719 
  4720 test -z "$OBJDUMP" && OBJDUMP=objdump
  4721 
  4722 
  4723 
  4724 
  4725 
  4726 
  4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  4728 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  4729 if ${lt_cv_deplibs_check_method+:} false; then :
  4730   $as_echo_n "(cached) " >&6
  4731 else
  4732   lt_cv_file_magic_cmd='$MAGIC_CMD'
  4733 lt_cv_file_magic_test_file=
  4734 lt_cv_deplibs_check_method='unknown'
  4735 # Need to set the preceding variable on all platforms that support
  4736 # interlibrary dependencies.
  4737 # 'none' -- dependencies not supported.
  4738 # `unknown' -- same as none, but documents that we really don't know.
  4739 # 'pass_all' -- all dependencies passed with no checks.
  4740 # 'test_compile' -- check by making test program.
  4741 # 'file_magic [[regex]]' -- check by looking for files in library path
  4742 # which responds to the $file_magic_cmd with a given extended regex.
  4743 # If you have `file' or equivalent on your system and you're not sure
  4744 # whether `pass_all' will *always* work, you probably want this one.
  4745 
  4746 case $host_os in
  4747 aix[4-9]*)
  4748   lt_cv_deplibs_check_method=pass_all
  4749   ;;
  4750 
  4751 beos*)
  4752   lt_cv_deplibs_check_method=pass_all
  4753   ;;
  4754 
  4755 bsdi[45]*)
  4756   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  4757   lt_cv_file_magic_cmd='/usr/bin/file -L'
  4758   lt_cv_file_magic_test_file=/shlib/libc.so
  4759   ;;
  4760 
  4761 cygwin*)
  4762   # func_win32_libid is a shell function defined in ltmain.sh
  4763   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4764   lt_cv_file_magic_cmd='func_win32_libid'
  4765   lt_cv_deplibs_check_method=pass_all
  4766   ;;
  4767 
  4768 mingw* | pw32*)
  4769   # Base MSYS/MinGW do not provide the 'file' command needed by
  4770   # func_win32_libid shell function, so use a weaker test based on 'objdump',
  4771   # unless we find 'file', for example because we are cross-compiling.
  4772   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  4773   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  4774     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4775     lt_cv_file_magic_cmd='func_win32_libid'
  4776   else
  4777     # Keep this pattern in sync with the one in func_win32_libid.
  4778     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  4779     lt_cv_file_magic_cmd='$OBJDUMP -f'
  4780   fi
  4781   lt_cv_deplibs_check_method=pass_all
  4782   ;;
  4783 
  4784 cegcc*)
  4785   # use the weaker test based on 'objdump'. See mingw*.
  4786   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  4787   lt_cv_file_magic_cmd='$OBJDUMP -f'
  4788   ;;
  4789 
  4790 darwin* | rhapsody*)
  4791   lt_cv_deplibs_check_method=pass_all
  4792   ;;
  4793 
  4794 freebsd* | dragonfly*)
  4795   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4796     case $host_cpu in
  4797     i*86 )
  4798       # Not sure whether the presence of OpenBSD here was a mistake.
  4799       # Let's accept both of them until this is cleared up.
  4800       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  4801       lt_cv_file_magic_cmd=/usr/bin/file
  4802       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  4803       ;;
  4804     esac
  4805   else
  4806     lt_cv_deplibs_check_method=pass_all
  4807   fi
  4808   ;;
  4809 
  4810 gnu*)
  4811   lt_cv_deplibs_check_method=pass_all
  4812   ;;
  4813 
  4814 haiku*)
  4815   lt_cv_deplibs_check_method=pass_all
  4816   ;;
  4817 
  4818 hpux10.20* | hpux11*)
  4819   lt_cv_file_magic_cmd=/usr/bin/file
  4820   case $host_cpu in
  4821   ia64*)
  4822     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  4823     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  4824     ;;
  4825   hppa*64*)
  4826     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  4827     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  4828     ;;
  4829   *)
  4830     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  4831     lt_cv_file_magic_test_file=/usr/lib/libc.sl
  4832     ;;
  4833   esac
  4834   ;;
  4835 
  4836 interix[3-9]*)
  4837   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  4838   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  4839   ;;
  4840 
  4841 irix5* | irix6* | nonstopux*)
  4842   case $LD in
  4843   *-32|*"-32 ") libmagic=32-bit;;
  4844   *-n32|*"-n32 ") libmagic=N32;;
  4845   *-64|*"-64 ") libmagic=64-bit;;
  4846   *) libmagic=never-match;;
  4847   esac
  4848   lt_cv_deplibs_check_method=pass_all
  4849   ;;
  4850 
  4851 # This must be glibc/ELF.
  4852 linux* | k*bsd*-gnu | kopensolaris*-gnu)
  4853   lt_cv_deplibs_check_method=pass_all
  4854   ;;
  4855 
  4856 netbsd*)
  4857   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4858     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4859   else
  4860     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  4861   fi
  4862   ;;
  4863 
  4864 newos6*)
  4865   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  4866   lt_cv_file_magic_cmd=/usr/bin/file
  4867   lt_cv_file_magic_test_file=/usr/lib/libnls.so
  4868   ;;
  4869 
  4870 *nto* | *qnx*)
  4871   lt_cv_deplibs_check_method=pass_all
  4872   ;;
  4873 
  4874 openbsd*)
  4875   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  4876     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  4877   else
  4878     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4879   fi
  4880   ;;
  4881 
  4882 osf3* | osf4* | osf5*)
  4883   lt_cv_deplibs_check_method=pass_all
  4884   ;;
  4885 
  4886 rdos*)
  4887   lt_cv_deplibs_check_method=pass_all
  4888   ;;
  4889 
  4890 solaris*)
  4891   lt_cv_deplibs_check_method=pass_all
  4892   ;;
  4893 
  4894 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  4895   lt_cv_deplibs_check_method=pass_all
  4896   ;;
  4897 
  4898 sysv4 | sysv4.3*)
  4899   case $host_vendor in
  4900   motorola)
  4901     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
  4902     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  4903     ;;
  4904   ncr)
  4905     lt_cv_deplibs_check_method=pass_all
  4906     ;;
  4907   sequent)
  4908     lt_cv_file_magic_cmd='/bin/file'
  4909     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  4910     ;;
  4911   sni)
  4912     lt_cv_file_magic_cmd='/bin/file'
  4913     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  4914     lt_cv_file_magic_test_file=/lib/libc.so
  4915     ;;
  4916   siemens)
  4917     lt_cv_deplibs_check_method=pass_all
  4918     ;;
  4919   pc)
  4920     lt_cv_deplibs_check_method=pass_all
  4921     ;;
  4922   esac
  4923   ;;
  4924 
  4925 tpf*)
  4926   lt_cv_deplibs_check_method=pass_all
  4927   ;;
  4928 esac
  4929 
  4930 fi
  4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  4932 $as_echo "$lt_cv_deplibs_check_method" >&6; }
  4933 
  4934 file_magic_glob=
  4935 want_nocaseglob=no
  4936 if test "$build" = "$host"; then
  4937   case $host_os in
  4938   mingw* | pw32*)
  4939     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  4940       want_nocaseglob=yes
  4941     else
  4942       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  4943     fi
  4944     ;;
  4945   esac
  4946 fi
  4947 
  4948 file_magic_cmd=$lt_cv_file_magic_cmd
  4949 deplibs_check_method=$lt_cv_deplibs_check_method
  4950 test -z "$deplibs_check_method" && deplibs_check_method=unknown
  4951 
  4952 
  4953 
  4954 
  4955 
  4956 
  4957 
  4958 
  4959 
  4960 
  4961 
  4962 
  4963 
  4964 
  4965 
  4966 
  4967 
  4968 
  4969 
  4970 
  4971 
  4972 
  4973 if test -n "$ac_tool_prefix"; then
  4974   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  4975 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4977 $as_echo_n "checking for $ac_word... " >&6; }
  4978 if ${ac_cv_prog_DLLTOOL+:} false; then :
  4979   $as_echo_n "(cached) " >&6
  4980 else
  4981   if test -n "$DLLTOOL"; then
  4982   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  4983 else
  4984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4985 for as_dir in $PATH
  4986 do
  4987   IFS=$as_save_IFS
  4988   test -z "$as_dir" && as_dir=.
  4989     for ac_exec_ext in '' $ac_executable_extensions; do
  4990   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4991     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  4992     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4993     break 2
  4994   fi
  4995 done
  4996   done
  4997 IFS=$as_save_IFS
  4998 
  4999 fi
  5000 fi
  5001 DLLTOOL=$ac_cv_prog_DLLTOOL
  5002 if test -n "$DLLTOOL"; then
  5003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  5004 $as_echo "$DLLTOOL" >&6; }
  5005 else
  5006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5007 $as_echo "no" >&6; }
  5008 fi
  5009 
  5010 
  5011 fi
  5012 if test -z "$ac_cv_prog_DLLTOOL"; then
  5013   ac_ct_DLLTOOL=$DLLTOOL
  5014   # Extract the first word of "dlltool", so it can be a program name with args.
  5015 set dummy dlltool; ac_word=$2
  5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5017 $as_echo_n "checking for $ac_word... " >&6; }
  5018 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  5019   $as_echo_n "(cached) " >&6
  5020 else
  5021   if test -n "$ac_ct_DLLTOOL"; then
  5022   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  5023 else
  5024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5025 for as_dir in $PATH
  5026 do
  5027   IFS=$as_save_IFS
  5028   test -z "$as_dir" && as_dir=.
  5029     for ac_exec_ext in '' $ac_executable_extensions; do
  5030   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5031     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  5032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5033     break 2
  5034   fi
  5035 done
  5036   done
  5037 IFS=$as_save_IFS
  5038 
  5039 fi
  5040 fi
  5041 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  5042 if test -n "$ac_ct_DLLTOOL"; then
  5043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  5044 $as_echo "$ac_ct_DLLTOOL" >&6; }
  5045 else
  5046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5047 $as_echo "no" >&6; }
  5048 fi
  5049 
  5050   if test "x$ac_ct_DLLTOOL" = x; then
  5051     DLLTOOL="false"
  5052   else
  5053     case $cross_compiling:$ac_tool_warned in
  5054 yes:)
  5055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5057 ac_tool_warned=yes ;;
  5058 esac
  5059     DLLTOOL=$ac_ct_DLLTOOL
  5060   fi
  5061 else
  5062   DLLTOOL="$ac_cv_prog_DLLTOOL"
  5063 fi
  5064 
  5065 test -z "$DLLTOOL" && DLLTOOL=dlltool
  5066 
  5067 
  5068 
  5069 
  5070 
  5071 
  5072 
  5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  5074 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  5075 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  5076   $as_echo_n "(cached) " >&6
  5077 else
  5078   lt_cv_sharedlib_from_linklib_cmd='unknown'
  5079 
  5080 case $host_os in
  5081 cygwin* | mingw* | pw32* | cegcc*)
  5082   # two different shell functions defined in ltmain.sh
  5083   # decide which to use based on capabilities of $DLLTOOL
  5084   case `$DLLTOOL --help 2>&1` in
  5085   *--identify-strict*)
  5086     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  5087     ;;
  5088   *)
  5089     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  5090     ;;
  5091   esac
  5092   ;;
  5093 *)
  5094   # fallback: assume linklib IS sharedlib
  5095   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  5096   ;;
  5097 esac
  5098 
  5099 fi
  5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  5101 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  5102 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  5103 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  5104 
  5105 
  5106 
  5107 
  5108 
  5109 
  5110 
  5111 
  5112 if test -n "$ac_tool_prefix"; then
  5113   for ac_prog in ar
  5114   do
  5115     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5116 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5118 $as_echo_n "checking for $ac_word... " >&6; }
  5119 if ${ac_cv_prog_AR+:} false; then :
  5120   $as_echo_n "(cached) " >&6
  5121 else
  5122   if test -n "$AR"; then
  5123   ac_cv_prog_AR="$AR" # Let the user override the test.
  5124 else
  5125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5126 for as_dir in $PATH
  5127 do
  5128   IFS=$as_save_IFS
  5129   test -z "$as_dir" && as_dir=.
  5130     for ac_exec_ext in '' $ac_executable_extensions; do
  5131   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5132     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  5133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5134     break 2
  5135   fi
  5136 done
  5137   done
  5138 IFS=$as_save_IFS
  5139 
  5140 fi
  5141 fi
  5142 AR=$ac_cv_prog_AR
  5143 if test -n "$AR"; then
  5144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  5145 $as_echo "$AR" >&6; }
  5146 else
  5147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5148 $as_echo "no" >&6; }
  5149 fi
  5150 
  5151 
  5152     test -n "$AR" && break
  5153   done
  5154 fi
  5155 if test -z "$AR"; then
  5156   ac_ct_AR=$AR
  5157   for ac_prog in ar
  5158 do
  5159   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5160 set dummy $ac_prog; ac_word=$2
  5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5162 $as_echo_n "checking for $ac_word... " >&6; }
  5163 if ${ac_cv_prog_ac_ct_AR+:} false; then :
  5164   $as_echo_n "(cached) " >&6
  5165 else
  5166   if test -n "$ac_ct_AR"; then
  5167   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5168 else
  5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5170 for as_dir in $PATH
  5171 do
  5172   IFS=$as_save_IFS
  5173   test -z "$as_dir" && as_dir=.
  5174     for ac_exec_ext in '' $ac_executable_extensions; do
  5175   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5176     ac_cv_prog_ac_ct_AR="$ac_prog"
  5177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5178     break 2
  5179   fi
  5180 done
  5181   done
  5182 IFS=$as_save_IFS
  5183 
  5184 fi
  5185 fi
  5186 ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5187 if test -n "$ac_ct_AR"; then
  5188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  5189 $as_echo "$ac_ct_AR" >&6; }
  5190 else
  5191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5192 $as_echo "no" >&6; }
  5193 fi
  5194 
  5195 
  5196   test -n "$ac_ct_AR" && break
  5197 done
  5198 
  5199   if test "x$ac_ct_AR" = x; then
  5200     AR="false"
  5201   else
  5202     case $cross_compiling:$ac_tool_warned in
  5203 yes:)
  5204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5206 ac_tool_warned=yes ;;
  5207 esac
  5208     AR=$ac_ct_AR
  5209   fi
  5210 fi
  5211 
  5212 : ${AR=ar}
  5213 : ${AR_FLAGS=cru}
  5214 
  5215 
  5216 
  5217 
  5218 
  5219 
  5220 
  5221 
  5222 
  5223 
  5224 
  5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  5226 $as_echo_n "checking for archiver @FILE support... " >&6; }
  5227 if ${lt_cv_ar_at_file+:} false; then :
  5228   $as_echo_n "(cached) " >&6
  5229 else
  5230   lt_cv_ar_at_file=no
  5231    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5232 /* end confdefs.h.  */
  5233 
  5234 int
  5235 main ()
  5236 {
  5237 
  5238   ;
  5239   return 0;
  5240 }
  5241 _ACEOF
  5242 if ac_fn_c_try_compile "$LINENO"; then :
  5243   echo conftest.$ac_objext > conftest.lst
  5244       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  5245       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  5246   (eval $lt_ar_try) 2>&5
  5247   ac_status=$?
  5248   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5249   test $ac_status = 0; }
  5250       if test "$ac_status" -eq 0; then
  5251 	# Ensure the archiver fails upon bogus file names.
  5252 	rm -f conftest.$ac_objext libconftest.a
  5253 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  5254   (eval $lt_ar_try) 2>&5
  5255   ac_status=$?
  5256   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5257   test $ac_status = 0; }
  5258 	if test "$ac_status" -ne 0; then
  5259           lt_cv_ar_at_file=@
  5260         fi
  5261       fi
  5262       rm -f conftest.* libconftest.a
  5263 
  5264 fi
  5265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5266 
  5267 fi
  5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  5269 $as_echo "$lt_cv_ar_at_file" >&6; }
  5270 
  5271 if test "x$lt_cv_ar_at_file" = xno; then
  5272   archiver_list_spec=
  5273 else
  5274   archiver_list_spec=$lt_cv_ar_at_file
  5275 fi
  5276 
  5277 
  5278 
  5279 
  5280 
  5281 
  5282 
  5283 if test -n "$ac_tool_prefix"; then
  5284   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5285 set dummy ${ac_tool_prefix}strip; ac_word=$2
  5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5287 $as_echo_n "checking for $ac_word... " >&6; }
  5288 if ${ac_cv_prog_STRIP+:} false; then :
  5289   $as_echo_n "(cached) " >&6
  5290 else
  5291   if test -n "$STRIP"; then
  5292   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5293 else
  5294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5295 for as_dir in $PATH
  5296 do
  5297   IFS=$as_save_IFS
  5298   test -z "$as_dir" && as_dir=.
  5299     for ac_exec_ext in '' $ac_executable_extensions; do
  5300   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5301     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5302     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5303     break 2
  5304   fi
  5305 done
  5306   done
  5307 IFS=$as_save_IFS
  5308 
  5309 fi
  5310 fi
  5311 STRIP=$ac_cv_prog_STRIP
  5312 if test -n "$STRIP"; then
  5313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  5314 $as_echo "$STRIP" >&6; }
  5315 else
  5316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5317 $as_echo "no" >&6; }
  5318 fi
  5319 
  5320 
  5321 fi
  5322 if test -z "$ac_cv_prog_STRIP"; then
  5323   ac_ct_STRIP=$STRIP
  5324   # Extract the first word of "strip", so it can be a program name with args.
  5325 set dummy strip; ac_word=$2
  5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5327 $as_echo_n "checking for $ac_word... " >&6; }
  5328 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  5329   $as_echo_n "(cached) " >&6
  5330 else
  5331   if test -n "$ac_ct_STRIP"; then
  5332   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5333 else
  5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5335 for as_dir in $PATH
  5336 do
  5337   IFS=$as_save_IFS
  5338   test -z "$as_dir" && as_dir=.
  5339     for ac_exec_ext in '' $ac_executable_extensions; do
  5340   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5341     ac_cv_prog_ac_ct_STRIP="strip"
  5342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5343     break 2
  5344   fi
  5345 done
  5346   done
  5347 IFS=$as_save_IFS
  5348 
  5349 fi
  5350 fi
  5351 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5352 if test -n "$ac_ct_STRIP"; then
  5353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  5354 $as_echo "$ac_ct_STRIP" >&6; }
  5355 else
  5356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5357 $as_echo "no" >&6; }
  5358 fi
  5359 
  5360   if test "x$ac_ct_STRIP" = x; then
  5361     STRIP=":"
  5362   else
  5363     case $cross_compiling:$ac_tool_warned in
  5364 yes:)
  5365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5367 ac_tool_warned=yes ;;
  5368 esac
  5369     STRIP=$ac_ct_STRIP
  5370   fi
  5371 else
  5372   STRIP="$ac_cv_prog_STRIP"
  5373 fi
  5374 
  5375 test -z "$STRIP" && STRIP=:
  5376 
  5377 
  5378 
  5379 
  5380 
  5381 
  5382 if test -n "$ac_tool_prefix"; then
  5383   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5384 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5386 $as_echo_n "checking for $ac_word... " >&6; }
  5387 if ${ac_cv_prog_RANLIB+:} false; then :
  5388   $as_echo_n "(cached) " >&6
  5389 else
  5390   if test -n "$RANLIB"; then
  5391   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5392 else
  5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5394 for as_dir in $PATH
  5395 do
  5396   IFS=$as_save_IFS
  5397   test -z "$as_dir" && as_dir=.
  5398     for ac_exec_ext in '' $ac_executable_extensions; do
  5399   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5400     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5402     break 2
  5403   fi
  5404 done
  5405   done
  5406 IFS=$as_save_IFS
  5407 
  5408 fi
  5409 fi
  5410 RANLIB=$ac_cv_prog_RANLIB
  5411 if test -n "$RANLIB"; then
  5412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5413 $as_echo "$RANLIB" >&6; }
  5414 else
  5415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5416 $as_echo "no" >&6; }
  5417 fi
  5418 
  5419 
  5420 fi
  5421 if test -z "$ac_cv_prog_RANLIB"; then
  5422   ac_ct_RANLIB=$RANLIB
  5423   # Extract the first word of "ranlib", so it can be a program name with args.
  5424 set dummy ranlib; ac_word=$2
  5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5426 $as_echo_n "checking for $ac_word... " >&6; }
  5427 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  5428   $as_echo_n "(cached) " >&6
  5429 else
  5430   if test -n "$ac_ct_RANLIB"; then
  5431   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5432 else
  5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5434 for as_dir in $PATH
  5435 do
  5436   IFS=$as_save_IFS
  5437   test -z "$as_dir" && as_dir=.
  5438     for ac_exec_ext in '' $ac_executable_extensions; do
  5439   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5440     ac_cv_prog_ac_ct_RANLIB="ranlib"
  5441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5442     break 2
  5443   fi
  5444 done
  5445   done
  5446 IFS=$as_save_IFS
  5447 
  5448 fi
  5449 fi
  5450 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5451 if test -n "$ac_ct_RANLIB"; then
  5452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5453 $as_echo "$ac_ct_RANLIB" >&6; }
  5454 else
  5455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5456 $as_echo "no" >&6; }
  5457 fi
  5458 
  5459   if test "x$ac_ct_RANLIB" = x; then
  5460     RANLIB=":"
  5461   else
  5462     case $cross_compiling:$ac_tool_warned in
  5463 yes:)
  5464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5466 ac_tool_warned=yes ;;
  5467 esac
  5468     RANLIB=$ac_ct_RANLIB
  5469   fi
  5470 else
  5471   RANLIB="$ac_cv_prog_RANLIB"
  5472 fi
  5473 
  5474 test -z "$RANLIB" && RANLIB=:
  5475 
  5476 
  5477 
  5478 
  5479 
  5480 
  5481 # Determine commands to create old-style static archives.
  5482 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  5483 old_postinstall_cmds='chmod 644 $oldlib'
  5484 old_postuninstall_cmds=
  5485 
  5486 if test -n "$RANLIB"; then
  5487   case $host_os in
  5488   openbsd*)
  5489     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  5490     ;;
  5491   *)
  5492     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  5493     ;;
  5494   esac
  5495   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  5496 fi
  5497 
  5498 case $host_os in
  5499   darwin*)
  5500     lock_old_archive_extraction=yes ;;
  5501   *)
  5502     lock_old_archive_extraction=no ;;
  5503 esac
  5504 
  5505 
  5506 
  5507 
  5508 
  5509 
  5510 
  5511 
  5512 
  5513 
  5514 
  5515 
  5516 
  5517 
  5518 
  5519 
  5520 
  5521 
  5522 
  5523 
  5524 
  5525 for ac_prog in gawk mawk nawk awk
  5526 do
  5527   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5528 set dummy $ac_prog; ac_word=$2
  5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5530 $as_echo_n "checking for $ac_word... " >&6; }
  5531 if ${ac_cv_prog_AWK+:} false; then :
  5532   $as_echo_n "(cached) " >&6
  5533 else
  5534   if test -n "$AWK"; then
  5535   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  5536 else
  5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5538 for as_dir in $PATH
  5539 do
  5540   IFS=$as_save_IFS
  5541   test -z "$as_dir" && as_dir=.
  5542     for ac_exec_ext in '' $ac_executable_extensions; do
  5543   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5544     ac_cv_prog_AWK="$ac_prog"
  5545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5546     break 2
  5547   fi
  5548 done
  5549   done
  5550 IFS=$as_save_IFS
  5551 
  5552 fi
  5553 fi
  5554 AWK=$ac_cv_prog_AWK
  5555 if test -n "$AWK"; then
  5556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  5557 $as_echo "$AWK" >&6; }
  5558 else
  5559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5560 $as_echo "no" >&6; }
  5561 fi
  5562 
  5563 
  5564   test -n "$AWK" && break
  5565 done
  5566 
  5567 
  5568 
  5569 
  5570 
  5571 
  5572 
  5573 
  5574 
  5575 
  5576 
  5577 
  5578 
  5579 
  5580 
  5581 
  5582 
  5583 
  5584 
  5585 # If no C compiler was specified, use CC.
  5586 LTCC=${LTCC-"$CC"}
  5587 
  5588 # If no C compiler flags were specified, use CFLAGS.
  5589 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  5590 
  5591 # Allow CC to be a program name with arguments.
  5592 compiler=$CC
  5593 
  5594 
  5595 # Check for command to grab the raw symbol name followed by C symbol from nm.
  5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  5597 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  5598 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  5599   $as_echo_n "(cached) " >&6
  5600 else
  5601 
  5602 # These are sane defaults that work on at least a few old systems.
  5603 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  5604 
  5605 # Character class describing NM global symbol codes.
  5606 symcode='[BCDEGRST]'
  5607 
  5608 # Regexp to match symbols that can be accessed directly from C.
  5609 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  5610 
  5611 # Define system-specific variables.
  5612 case $host_os in
  5613 aix*)
  5614   symcode='[BCDT]'
  5615   ;;
  5616 cygwin* | mingw* | pw32* | cegcc*)
  5617   symcode='[ABCDGISTW]'
  5618   ;;
  5619 hpux*)
  5620   if test "$host_cpu" = ia64; then
  5621     symcode='[ABCDEGRST]'
  5622   fi
  5623   ;;
  5624 irix* | nonstopux*)
  5625   symcode='[BCDEGRST]'
  5626   ;;
  5627 osf*)
  5628   symcode='[BCDEGQRST]'
  5629   ;;
  5630 solaris*)
  5631   symcode='[BDRT]'
  5632   ;;
  5633 sco3.2v5*)
  5634   symcode='[DT]'
  5635   ;;
  5636 sysv4.2uw2*)
  5637   symcode='[DT]'
  5638   ;;
  5639 sysv5* | sco5v6* | unixware* | OpenUNIX*)
  5640   symcode='[ABDT]'
  5641   ;;
  5642 sysv4)
  5643   symcode='[DFNSTU]'
  5644   ;;
  5645 esac
  5646 
  5647 # If we're using GNU nm, then use its standard symbol codes.
  5648 case `$NM -V 2>&1` in
  5649 *GNU* | *'with BFD'*)
  5650   symcode='[ABCDGIRSTW]' ;;
  5651 esac
  5652 
  5653 # Transform an extracted symbol line into a proper C declaration.
  5654 # Some systems (esp. on ia64) link data and code symbols differently,
  5655 # so use this general approach.
  5656 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  5657 
  5658 # Transform an extracted symbol line into symbol name and symbol address
  5659 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
  5660 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
  5661 
  5662 # Handle CRLF in mingw tool chain
  5663 opt_cr=
  5664 case $build_os in
  5665 mingw*)
  5666   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  5667   ;;
  5668 esac
  5669 
  5670 # Try without a prefix underscore, then with it.
  5671 for ac_symprfx in "" "_"; do
  5672 
  5673   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  5674   symxfrm="\\1 $ac_symprfx\\2 \\2"
  5675 
  5676   # Write the raw and C identifiers.
  5677   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5678     # Fake it for dumpbin and say T for any non-static function
  5679     # and D for any global variable.
  5680     # Also find C++ and __fastcall symbols from MSVC++,
  5681     # which start with @ or ?.
  5682     lt_cv_sys_global_symbol_pipe="$AWK '"\
  5683 "     {last_section=section; section=\$ 3};"\
  5684 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  5685 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  5686 "     \$ 0!~/External *\|/{next};"\
  5687 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  5688 "     {if(hide[section]) next};"\
  5689 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  5690 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  5691 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
  5692 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  5693 "     ' prfx=^$ac_symprfx"
  5694   else
  5695     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  5696   fi
  5697   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  5698 
  5699   # Check to see that the pipe works correctly.
  5700   pipe_works=no
  5701 
  5702   rm -f conftest*
  5703   cat > conftest.$ac_ext <<_LT_EOF
  5704 #ifdef __cplusplus
  5705 extern "C" {
  5706 #endif
  5707 char nm_test_var;
  5708 void nm_test_func(void);
  5709 void nm_test_func(void){}
  5710 #ifdef __cplusplus
  5711 }
  5712 #endif
  5713 int main(){nm_test_var='a';nm_test_func();return(0);}
  5714 _LT_EOF
  5715 
  5716   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5717   (eval $ac_compile) 2>&5
  5718   ac_status=$?
  5719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5720   test $ac_status = 0; }; then
  5721     # Now try to grab the symbols.
  5722     nlist=conftest.nm
  5723     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  5724   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  5725   ac_status=$?
  5726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5727   test $ac_status = 0; } && test -s "$nlist"; then
  5728       # Try sorting and uniquifying the output.
  5729       if sort "$nlist" | uniq > "$nlist"T; then
  5730 	mv -f "$nlist"T "$nlist"
  5731       else
  5732 	rm -f "$nlist"T
  5733       fi
  5734 
  5735       # Make sure that we snagged all the symbols we need.
  5736       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  5737 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  5738 	  cat <<_LT_EOF > conftest.$ac_ext
  5739 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
  5740 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
  5741 /* DATA imports from DLLs on WIN32 con't be const, because runtime
  5742    relocations are performed -- see ld's documentation on pseudo-relocs.  */
  5743 # define LT_DLSYM_CONST
  5744 #elif defined(__osf__)
  5745 /* This system does not cope well with relocations in const data.  */
  5746 # define LT_DLSYM_CONST
  5747 #else
  5748 # define LT_DLSYM_CONST const
  5749 #endif
  5750 
  5751 #ifdef __cplusplus
  5752 extern "C" {
  5753 #endif
  5754 
  5755 _LT_EOF
  5756 	  # Now generate the symbol file.
  5757 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  5758 
  5759 	  cat <<_LT_EOF >> conftest.$ac_ext
  5760 
  5761 /* The mapping between symbol names and symbols.  */
  5762 LT_DLSYM_CONST struct {
  5763   const char *name;
  5764   void       *address;
  5765 }
  5766 lt__PROGRAM__LTX_preloaded_symbols[] =
  5767 {
  5768   { "@PROGRAM@", (void *) 0 },
  5769 _LT_EOF
  5770 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  5771 	  cat <<\_LT_EOF >> conftest.$ac_ext
  5772   {0, (void *) 0}
  5773 };
  5774 
  5775 /* This works around a problem in FreeBSD linker */
  5776 #ifdef FREEBSD_WORKAROUND
  5777 static const void *lt_preloaded_setup() {
  5778   return lt__PROGRAM__LTX_preloaded_symbols;
  5779 }
  5780 #endif
  5781 
  5782 #ifdef __cplusplus
  5783 }
  5784 #endif
  5785 _LT_EOF
  5786 	  # Now try linking the two files.
  5787 	  mv conftest.$ac_objext conftstm.$ac_objext
  5788 	  lt_globsym_save_LIBS=$LIBS
  5789 	  lt_globsym_save_CFLAGS=$CFLAGS
  5790 	  LIBS="conftstm.$ac_objext"
  5791 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  5792 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  5793   (eval $ac_link) 2>&5
  5794   ac_status=$?
  5795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5796   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  5797 	    pipe_works=yes
  5798 	  fi
  5799 	  LIBS=$lt_globsym_save_LIBS
  5800 	  CFLAGS=$lt_globsym_save_CFLAGS
  5801 	else
  5802 	  echo "cannot find nm_test_func in $nlist" >&5
  5803 	fi
  5804       else
  5805 	echo "cannot find nm_test_var in $nlist" >&5
  5806       fi
  5807     else
  5808       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  5809     fi
  5810   else
  5811     echo "$progname: failed program was:" >&5
  5812     cat conftest.$ac_ext >&5
  5813   fi
  5814   rm -rf conftest* conftst*
  5815 
  5816   # Do not use the global_symbol_pipe unless it works.
  5817   if test "$pipe_works" = yes; then
  5818     break
  5819   else
  5820     lt_cv_sys_global_symbol_pipe=
  5821   fi
  5822 done
  5823 
  5824 fi
  5825 
  5826 if test -z "$lt_cv_sys_global_symbol_pipe"; then
  5827   lt_cv_sys_global_symbol_to_cdecl=
  5828 fi
  5829 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  5830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  5831 $as_echo "failed" >&6; }
  5832 else
  5833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  5834 $as_echo "ok" >&6; }
  5835 fi
  5836 
  5837 # Response file support.
  5838 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5839   nm_file_list_spec='@'
  5840 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  5841   nm_file_list_spec='@'
  5842 fi
  5843 
  5844 
  5845 
  5846 
  5847 
  5848 
  5849 
  5850 
  5851 
  5852 
  5853 
  5854 
  5855 
  5856 
  5857 
  5858 
  5859 
  5860 
  5861 
  5862 
  5863 
  5864 
  5865 
  5866 
  5867 
  5868 
  5869 
  5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  5871 $as_echo_n "checking for sysroot... " >&6; }
  5872 
  5873 # Check whether --with-sysroot was given.
  5874 if test "${with_sysroot+set}" = set; then :
  5875   withval=$with_sysroot;
  5876 else
  5877   with_sysroot=no
  5878 fi
  5879 
  5880 
  5881 lt_sysroot=
  5882 case ${with_sysroot} in #(
  5883  yes)
  5884    if test "$GCC" = yes; then
  5885      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  5886    fi
  5887    ;; #(
  5888  /*)
  5889    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  5890    ;; #(
  5891  no|'')
  5892    ;; #(
  5893  *)
  5894    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
  5895 $as_echo "${with_sysroot}" >&6; }
  5896    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  5897    ;;
  5898 esac
  5899 
  5900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  5901 $as_echo "${lt_sysroot:-no}" >&6; }
  5902 
  5903 
  5904 
  5905 
  5906 
  5907 # Check whether --enable-libtool-lock was given.
  5908 if test "${enable_libtool_lock+set}" = set; then :
  5909   enableval=$enable_libtool_lock;
  5910 fi
  5911 
  5912 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  5913 
  5914 # Some flags need to be propagated to the compiler or linker for good
  5915 # libtool support.
  5916 case $host in
  5917 ia64-*-hpux*)
  5918   # Find out which ABI we are using.
  5919   echo 'int i;' > conftest.$ac_ext
  5920   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5921   (eval $ac_compile) 2>&5
  5922   ac_status=$?
  5923   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5924   test $ac_status = 0; }; then
  5925     case `/usr/bin/file conftest.$ac_objext` in
  5926       *ELF-32*)
  5927 	HPUX_IA64_MODE="32"
  5928 	;;
  5929       *ELF-64*)
  5930 	HPUX_IA64_MODE="64"
  5931 	;;
  5932     esac
  5933   fi
  5934   rm -rf conftest*
  5935   ;;
  5936 *-*-irix6*)
  5937   # Find out which ABI we are using.
  5938   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  5939   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5940   (eval $ac_compile) 2>&5
  5941   ac_status=$?
  5942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5943   test $ac_status = 0; }; then
  5944     if test "$lt_cv_prog_gnu_ld" = yes; then
  5945       case `/usr/bin/file conftest.$ac_objext` in
  5946 	*32-bit*)
  5947 	  LD="${LD-ld} -melf32bsmip"
  5948 	  ;;
  5949 	*N32*)
  5950 	  LD="${LD-ld} -melf32bmipn32"
  5951 	  ;;
  5952 	*64-bit*)
  5953 	  LD="${LD-ld} -melf64bmip"
  5954 	;;
  5955       esac
  5956     else
  5957       case `/usr/bin/file conftest.$ac_objext` in
  5958 	*32-bit*)
  5959 	  LD="${LD-ld} -32"
  5960 	  ;;
  5961 	*N32*)
  5962 	  LD="${LD-ld} -n32"
  5963 	  ;;
  5964 	*64-bit*)
  5965 	  LD="${LD-ld} -64"
  5966 	  ;;
  5967       esac
  5968     fi
  5969   fi
  5970   rm -rf conftest*
  5971   ;;
  5972 
  5973 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  5974 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  5975   # Find out which ABI we are using.
  5976   echo 'int i;' > conftest.$ac_ext
  5977   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5978   (eval $ac_compile) 2>&5
  5979   ac_status=$?
  5980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5981   test $ac_status = 0; }; then
  5982     case `/usr/bin/file conftest.o` in
  5983       *32-bit*)
  5984 	case $host in
  5985 	  x86_64-*kfreebsd*-gnu)
  5986 	    LD="${LD-ld} -m elf_i386_fbsd"
  5987 	    ;;
  5988 	  x86_64-*linux*)
  5989 	    LD="${LD-ld} -m elf_i386"
  5990 	    ;;
  5991 	  ppc64-*linux*|powerpc64-*linux*)
  5992 	    LD="${LD-ld} -m elf32ppclinux"
  5993 	    ;;
  5994 	  s390x-*linux*)
  5995 	    LD="${LD-ld} -m elf_s390"
  5996 	    ;;
  5997 	  sparc64-*linux*)
  5998 	    LD="${LD-ld} -m elf32_sparc"
  5999 	    ;;
  6000 	esac
  6001 	;;
  6002       *64-bit*)
  6003 	case $host in
  6004 	  x86_64-*kfreebsd*-gnu)
  6005 	    LD="${LD-ld} -m elf_x86_64_fbsd"
  6006 	    ;;
  6007 	  x86_64-*linux*)
  6008 	    LD="${LD-ld} -m elf_x86_64"
  6009 	    ;;
  6010 	  powerpc64le-*linux*)
  6011 	    LD="${LD-ld} -m elf64lppc"
  6012 	    ;;
  6013 	  powerpc64-*linux*)
  6014 	    LD="${LD-ld} -m elf64ppc"
  6015 	    ;;
  6016 	  s390*-*linux*|s390*-*tpf*)
  6017 	    LD="${LD-ld} -m elf64_s390"
  6018 	    ;;
  6019 	  sparc*-*linux*)
  6020 	    LD="${LD-ld} -m elf64_sparc"
  6021 	    ;;
  6022 	esac
  6023 	;;
  6024     esac
  6025   fi
  6026   rm -rf conftest*
  6027   ;;
  6028 
  6029 *-*-sco3.2v5*)
  6030   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  6031   SAVE_CFLAGS="$CFLAGS"
  6032   CFLAGS="$CFLAGS -belf"
  6033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  6034 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  6035 if ${lt_cv_cc_needs_belf+:} false; then :
  6036   $as_echo_n "(cached) " >&6
  6037 else
  6038   ac_ext=c
  6039 ac_cpp='$CPP $CPPFLAGS'
  6040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6043 
  6044      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6045 /* end confdefs.h.  */
  6046 
  6047 int
  6048 main ()
  6049 {
  6050 
  6051   ;
  6052   return 0;
  6053 }
  6054 _ACEOF
  6055 if ac_fn_c_try_link "$LINENO"; then :
  6056   lt_cv_cc_needs_belf=yes
  6057 else
  6058   lt_cv_cc_needs_belf=no
  6059 fi
  6060 rm -f core conftest.err conftest.$ac_objext \
  6061     conftest$ac_exeext conftest.$ac_ext
  6062      ac_ext=c
  6063 ac_cpp='$CPP $CPPFLAGS'
  6064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6067 
  6068 fi
  6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  6070 $as_echo "$lt_cv_cc_needs_belf" >&6; }
  6071   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  6072     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  6073     CFLAGS="$SAVE_CFLAGS"
  6074   fi
  6075   ;;
  6076 *-*solaris*)
  6077   # Find out which ABI we are using.
  6078   echo 'int i;' > conftest.$ac_ext
  6079   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6080   (eval $ac_compile) 2>&5
  6081   ac_status=$?
  6082   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6083   test $ac_status = 0; }; then
  6084     case `/usr/bin/file conftest.o` in
  6085     *64-bit*)
  6086       case $lt_cv_prog_gnu_ld in
  6087       yes*)
  6088         case $host in
  6089         i?86-*-solaris*)
  6090           LD="${LD-ld} -m elf_x86_64"
  6091           ;;
  6092         sparc*-*-solaris*)
  6093           LD="${LD-ld} -m elf64_sparc"
  6094           ;;
  6095         esac
  6096         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
  6097         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  6098           LD="${LD-ld}_sol2"
  6099         fi
  6100         ;;
  6101       *)
  6102 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  6103 	  LD="${LD-ld} -64"
  6104 	fi
  6105 	;;
  6106       esac
  6107       ;;
  6108     esac
  6109   fi
  6110   rm -rf conftest*
  6111   ;;
  6112 esac
  6113 
  6114 need_locks="$enable_libtool_lock"
  6115 
  6116 if test -n "$ac_tool_prefix"; then
  6117   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  6118 set dummy ${ac_tool_prefix}mt; ac_word=$2
  6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6120 $as_echo_n "checking for $ac_word... " >&6; }
  6121 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  6122   $as_echo_n "(cached) " >&6
  6123 else
  6124   if test -n "$MANIFEST_TOOL"; then
  6125   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  6126 else
  6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6128 for as_dir in $PATH
  6129 do
  6130   IFS=$as_save_IFS
  6131   test -z "$as_dir" && as_dir=.
  6132     for ac_exec_ext in '' $ac_executable_extensions; do
  6133   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6134     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  6135     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6136     break 2
  6137   fi
  6138 done
  6139   done
  6140 IFS=$as_save_IFS
  6141 
  6142 fi
  6143 fi
  6144 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  6145 if test -n "$MANIFEST_TOOL"; then
  6146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  6147 $as_echo "$MANIFEST_TOOL" >&6; }
  6148 else
  6149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6150 $as_echo "no" >&6; }
  6151 fi
  6152 
  6153 
  6154 fi
  6155 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  6156   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  6157   # Extract the first word of "mt", so it can be a program name with args.
  6158 set dummy mt; ac_word=$2
  6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6160 $as_echo_n "checking for $ac_word... " >&6; }
  6161 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  6162   $as_echo_n "(cached) " >&6
  6163 else
  6164   if test -n "$ac_ct_MANIFEST_TOOL"; then
  6165   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  6166 else
  6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6168 for as_dir in $PATH
  6169 do
  6170   IFS=$as_save_IFS
  6171   test -z "$as_dir" && as_dir=.
  6172     for ac_exec_ext in '' $ac_executable_extensions; do
  6173   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6174     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  6175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6176     break 2
  6177   fi
  6178 done
  6179   done
  6180 IFS=$as_save_IFS
  6181 
  6182 fi
  6183 fi
  6184 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  6185 if test -n "$ac_ct_MANIFEST_TOOL"; then
  6186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  6187 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  6188 else
  6189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6190 $as_echo "no" >&6; }
  6191 fi
  6192 
  6193   if test "x$ac_ct_MANIFEST_TOOL" = x; then
  6194     MANIFEST_TOOL=":"
  6195   else
  6196     case $cross_compiling:$ac_tool_warned in
  6197 yes:)
  6198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6200 ac_tool_warned=yes ;;
  6201 esac
  6202     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  6203   fi
  6204 else
  6205   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  6206 fi
  6207 
  6208 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  6210 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  6211 if ${lt_cv_path_mainfest_tool+:} false; then :
  6212   $as_echo_n "(cached) " >&6
  6213 else
  6214   lt_cv_path_mainfest_tool=no
  6215   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  6216   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  6217   cat conftest.err >&5
  6218   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  6219     lt_cv_path_mainfest_tool=yes
  6220   fi
  6221   rm -f conftest*
  6222 fi
  6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  6224 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
  6225 if test "x$lt_cv_path_mainfest_tool" != xyes; then
  6226   MANIFEST_TOOL=:
  6227 fi
  6228 
  6229 
  6230 
  6231 
  6232 
  6233 
  6234   case $host_os in
  6235     rhapsody* | darwin*)
  6236     if test -n "$ac_tool_prefix"; then
  6237   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  6238 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6240 $as_echo_n "checking for $ac_word... " >&6; }
  6241 if ${ac_cv_prog_DSYMUTIL+:} false; then :
  6242   $as_echo_n "(cached) " >&6
  6243 else
  6244   if test -n "$DSYMUTIL"; then
  6245   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  6246 else
  6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6248 for as_dir in $PATH
  6249 do
  6250   IFS=$as_save_IFS
  6251   test -z "$as_dir" && as_dir=.
  6252     for ac_exec_ext in '' $ac_executable_extensions; do
  6253   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6254     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  6255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6256     break 2
  6257   fi
  6258 done
  6259   done
  6260 IFS=$as_save_IFS
  6261 
  6262 fi
  6263 fi
  6264 DSYMUTIL=$ac_cv_prog_DSYMUTIL
  6265 if test -n "$DSYMUTIL"; then
  6266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  6267 $as_echo "$DSYMUTIL" >&6; }
  6268 else
  6269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6270 $as_echo "no" >&6; }
  6271 fi
  6272 
  6273 
  6274 fi
  6275 if test -z "$ac_cv_prog_DSYMUTIL"; then
  6276   ac_ct_DSYMUTIL=$DSYMUTIL
  6277   # Extract the first word of "dsymutil", so it can be a program name with args.
  6278 set dummy dsymutil; ac_word=$2
  6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6280 $as_echo_n "checking for $ac_word... " >&6; }
  6281 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  6282   $as_echo_n "(cached) " >&6
  6283 else
  6284   if test -n "$ac_ct_DSYMUTIL"; then
  6285   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  6286 else
  6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6288 for as_dir in $PATH
  6289 do
  6290   IFS=$as_save_IFS
  6291   test -z "$as_dir" && as_dir=.
  6292     for ac_exec_ext in '' $ac_executable_extensions; do
  6293   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6294     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  6295     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6296     break 2
  6297   fi
  6298 done
  6299   done
  6300 IFS=$as_save_IFS
  6301 
  6302 fi
  6303 fi
  6304 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  6305 if test -n "$ac_ct_DSYMUTIL"; then
  6306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  6307 $as_echo "$ac_ct_DSYMUTIL" >&6; }
  6308 else
  6309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6310 $as_echo "no" >&6; }
  6311 fi
  6312 
  6313   if test "x$ac_ct_DSYMUTIL" = x; then
  6314     DSYMUTIL=":"
  6315   else
  6316     case $cross_compiling:$ac_tool_warned in
  6317 yes:)
  6318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6320 ac_tool_warned=yes ;;
  6321 esac
  6322     DSYMUTIL=$ac_ct_DSYMUTIL
  6323   fi
  6324 else
  6325   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  6326 fi
  6327 
  6328     if test -n "$ac_tool_prefix"; then
  6329   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  6330 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6332 $as_echo_n "checking for $ac_word... " >&6; }
  6333 if ${ac_cv_prog_NMEDIT+:} false; then :
  6334   $as_echo_n "(cached) " >&6
  6335 else
  6336   if test -n "$NMEDIT"; then
  6337   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  6338 else
  6339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6340 for as_dir in $PATH
  6341 do
  6342   IFS=$as_save_IFS
  6343   test -z "$as_dir" && as_dir=.
  6344     for ac_exec_ext in '' $ac_executable_extensions; do
  6345   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6346     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  6347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6348     break 2
  6349   fi
  6350 done
  6351   done
  6352 IFS=$as_save_IFS
  6353 
  6354 fi
  6355 fi
  6356 NMEDIT=$ac_cv_prog_NMEDIT
  6357 if test -n "$NMEDIT"; then
  6358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  6359 $as_echo "$NMEDIT" >&6; }
  6360 else
  6361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6362 $as_echo "no" >&6; }
  6363 fi
  6364 
  6365 
  6366 fi
  6367 if test -z "$ac_cv_prog_NMEDIT"; then
  6368   ac_ct_NMEDIT=$NMEDIT
  6369   # Extract the first word of "nmedit", so it can be a program name with args.
  6370 set dummy nmedit; ac_word=$2
  6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6372 $as_echo_n "checking for $ac_word... " >&6; }
  6373 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  6374   $as_echo_n "(cached) " >&6
  6375 else
  6376   if test -n "$ac_ct_NMEDIT"; then
  6377   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  6378 else
  6379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6380 for as_dir in $PATH
  6381 do
  6382   IFS=$as_save_IFS
  6383   test -z "$as_dir" && as_dir=.
  6384     for ac_exec_ext in '' $ac_executable_extensions; do
  6385   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6386     ac_cv_prog_ac_ct_NMEDIT="nmedit"
  6387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6388     break 2
  6389   fi
  6390 done
  6391   done
  6392 IFS=$as_save_IFS
  6393 
  6394 fi
  6395 fi
  6396 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  6397 if test -n "$ac_ct_NMEDIT"; then
  6398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  6399 $as_echo "$ac_ct_NMEDIT" >&6; }
  6400 else
  6401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6402 $as_echo "no" >&6; }
  6403 fi
  6404 
  6405   if test "x$ac_ct_NMEDIT" = x; then
  6406     NMEDIT=":"
  6407   else
  6408     case $cross_compiling:$ac_tool_warned in
  6409 yes:)
  6410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6412 ac_tool_warned=yes ;;
  6413 esac
  6414     NMEDIT=$ac_ct_NMEDIT
  6415   fi
  6416 else
  6417   NMEDIT="$ac_cv_prog_NMEDIT"
  6418 fi
  6419 
  6420     if test -n "$ac_tool_prefix"; then
  6421   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  6422 set dummy ${ac_tool_prefix}lipo; ac_word=$2
  6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6424 $as_echo_n "checking for $ac_word... " >&6; }
  6425 if ${ac_cv_prog_LIPO+:} false; then :
  6426   $as_echo_n "(cached) " >&6
  6427 else
  6428   if test -n "$LIPO"; then
  6429   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  6430 else
  6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6432 for as_dir in $PATH
  6433 do
  6434   IFS=$as_save_IFS
  6435   test -z "$as_dir" && as_dir=.
  6436     for ac_exec_ext in '' $ac_executable_extensions; do
  6437   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6438     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  6439     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6440     break 2
  6441   fi
  6442 done
  6443   done
  6444 IFS=$as_save_IFS
  6445 
  6446 fi
  6447 fi
  6448 LIPO=$ac_cv_prog_LIPO
  6449 if test -n "$LIPO"; then
  6450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  6451 $as_echo "$LIPO" >&6; }
  6452 else
  6453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6454 $as_echo "no" >&6; }
  6455 fi
  6456 
  6457 
  6458 fi
  6459 if test -z "$ac_cv_prog_LIPO"; then
  6460   ac_ct_LIPO=$LIPO
  6461   # Extract the first word of "lipo", so it can be a program name with args.
  6462 set dummy lipo; ac_word=$2
  6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6464 $as_echo_n "checking for $ac_word... " >&6; }
  6465 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  6466   $as_echo_n "(cached) " >&6
  6467 else
  6468   if test -n "$ac_ct_LIPO"; then
  6469   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  6470 else
  6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6472 for as_dir in $PATH
  6473 do
  6474   IFS=$as_save_IFS
  6475   test -z "$as_dir" && as_dir=.
  6476     for ac_exec_ext in '' $ac_executable_extensions; do
  6477   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6478     ac_cv_prog_ac_ct_LIPO="lipo"
  6479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6480     break 2
  6481   fi
  6482 done
  6483   done
  6484 IFS=$as_save_IFS
  6485 
  6486 fi
  6487 fi
  6488 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  6489 if test -n "$ac_ct_LIPO"; then
  6490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  6491 $as_echo "$ac_ct_LIPO" >&6; }
  6492 else
  6493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6494 $as_echo "no" >&6; }
  6495 fi
  6496 
  6497   if test "x$ac_ct_LIPO" = x; then
  6498     LIPO=":"
  6499   else
  6500     case $cross_compiling:$ac_tool_warned in
  6501 yes:)
  6502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6504 ac_tool_warned=yes ;;
  6505 esac
  6506     LIPO=$ac_ct_LIPO
  6507   fi
  6508 else
  6509   LIPO="$ac_cv_prog_LIPO"
  6510 fi
  6511 
  6512     if test -n "$ac_tool_prefix"; then
  6513   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  6514 set dummy ${ac_tool_prefix}otool; ac_word=$2
  6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6516 $as_echo_n "checking for $ac_word... " >&6; }
  6517 if ${ac_cv_prog_OTOOL+:} false; then :
  6518   $as_echo_n "(cached) " >&6
  6519 else
  6520   if test -n "$OTOOL"; then
  6521   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  6522 else
  6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6524 for as_dir in $PATH
  6525 do
  6526   IFS=$as_save_IFS
  6527   test -z "$as_dir" && as_dir=.
  6528     for ac_exec_ext in '' $ac_executable_extensions; do
  6529   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6530     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  6531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6532     break 2
  6533   fi
  6534 done
  6535   done
  6536 IFS=$as_save_IFS
  6537 
  6538 fi
  6539 fi
  6540 OTOOL=$ac_cv_prog_OTOOL
  6541 if test -n "$OTOOL"; then
  6542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  6543 $as_echo "$OTOOL" >&6; }
  6544 else
  6545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6546 $as_echo "no" >&6; }
  6547 fi
  6548 
  6549 
  6550 fi
  6551 if test -z "$ac_cv_prog_OTOOL"; then
  6552   ac_ct_OTOOL=$OTOOL
  6553   # Extract the first word of "otool", so it can be a program name with args.
  6554 set dummy otool; ac_word=$2
  6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6556 $as_echo_n "checking for $ac_word... " >&6; }
  6557 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  6558   $as_echo_n "(cached) " >&6
  6559 else
  6560   if test -n "$ac_ct_OTOOL"; then
  6561   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  6562 else
  6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6564 for as_dir in $PATH
  6565 do
  6566   IFS=$as_save_IFS
  6567   test -z "$as_dir" && as_dir=.
  6568     for ac_exec_ext in '' $ac_executable_extensions; do
  6569   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6570     ac_cv_prog_ac_ct_OTOOL="otool"
  6571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6572     break 2
  6573   fi
  6574 done
  6575   done
  6576 IFS=$as_save_IFS
  6577 
  6578 fi
  6579 fi
  6580 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  6581 if test -n "$ac_ct_OTOOL"; then
  6582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  6583 $as_echo "$ac_ct_OTOOL" >&6; }
  6584 else
  6585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6586 $as_echo "no" >&6; }
  6587 fi
  6588 
  6589   if test "x$ac_ct_OTOOL" = x; then
  6590     OTOOL=":"
  6591   else
  6592     case $cross_compiling:$ac_tool_warned in
  6593 yes:)
  6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6596 ac_tool_warned=yes ;;
  6597 esac
  6598     OTOOL=$ac_ct_OTOOL
  6599   fi
  6600 else
  6601   OTOOL="$ac_cv_prog_OTOOL"
  6602 fi
  6603 
  6604     if test -n "$ac_tool_prefix"; then
  6605   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  6606 set dummy ${ac_tool_prefix}otool64; ac_word=$2
  6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6608 $as_echo_n "checking for $ac_word... " >&6; }
  6609 if ${ac_cv_prog_OTOOL64+:} false; then :
  6610   $as_echo_n "(cached) " >&6
  6611 else
  6612   if test -n "$OTOOL64"; then
  6613   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  6614 else
  6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6616 for as_dir in $PATH
  6617 do
  6618   IFS=$as_save_IFS
  6619   test -z "$as_dir" && as_dir=.
  6620     for ac_exec_ext in '' $ac_executable_extensions; do
  6621   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6622     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  6623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6624     break 2
  6625   fi
  6626 done
  6627   done
  6628 IFS=$as_save_IFS
  6629 
  6630 fi
  6631 fi
  6632 OTOOL64=$ac_cv_prog_OTOOL64
  6633 if test -n "$OTOOL64"; then
  6634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  6635 $as_echo "$OTOOL64" >&6; }
  6636 else
  6637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6638 $as_echo "no" >&6; }
  6639 fi
  6640