configure
author Sam Lantinga <slouken@libsdl.org>
Mon, 10 Jul 2017 18:31:28 -0700
changeset 11138 c936a84f05ba
parent 11134 e22ab7022677
child 11187 c630c47e8f96
permissions -rwxr-xr-x
Fixed bug 3609 - Windows build fails due to conflicting types for 'XINPUT_GAMEPAD_EX'

Ozkan Sezer

(In reply to Ryan C. Gordon from comment #9)
> I've put this patch in as https://hg.libsdl.org/SDL/rev/117d4ce1390e ...can
> you verify this works on the latest MinGW?
>
> Thanks,
> --ryan.


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