configure
author Ryan C. Gordon <icculus@icculus.org>
Fri, 09 Sep 2011 00:34:48 -0400
changeset 5876 982dd84fcd83
parent 5604 e2ad06c52c65
child 5888 cff0278fa1f8
permissions -rwxr-xr-x
Removed legacy Mac OS X dlcompat code.

It was only needed for Mac OS X 10.0 through 10.2, so it seems silly to keep
it around for SDL 1.3.

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