configure
author Ryan C. Gordon <icculus@icculus.org>
Tue, 07 Aug 2018 17:28:07 -0400
changeset 12081 277e57c09ff4
parent 12072 1e46699fa470
child 12088 399cc39583cc
permissions -rwxr-xr-x
configure: Make wayland sources depend on generated headers.

Otherwise occasionally the sources will try to compile before the headers it
needs are generated.

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