configure
author Ryan C. Gordon <icculus@icculus.org>
Fri, 15 Mar 2019 15:51:05 -0400
changeset 12631 779b63fc4acb
parent 12469 99d8b18acf8a
child 12639 1e4dd5933351
permissions -rwxr-xr-x
events: Let arbitrary signals to simulate iOS/Android backgrounding events.

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