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