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