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