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