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