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