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