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