configure
author Sam Lantinga <slouken@libsdl.org>
Mon, 18 Feb 2019 07:50:33 -0800
changeset 12612 07c39cbbeacf
parent 12469 99d8b18acf8a
child 12631 779b63fc4acb
permissions -rwxr-xr-x
Fixed bug 4500 - Heap-Buffer Overflow in Map1toN pertaining to SDL_pixels.c

Petr Pisar

The reproducer has these data in BITMAPINFOHEADER:

biSize = 40
biBitCount = 8
biClrUsed = 131075

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