configure
author Sam Lantinga <slouken@libsdl.org>
Sat, 23 Sep 2017 12:38:47 -0700
changeset 11543 53b03749a7ff
parent 11537 ce94d20bd620
child 11552 2603f41d6a7e
permissions -rwxr-xr-x
Fixed bug 3842 - fix SDL_thread.h for emx

Ozkan Sezer

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