Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 1293:36123decfb24
prev1287:dac8f363f1fe
author nkeynes
date Sat Aug 25 14:09:07 2012 +1000 (7 years ago)
permissions -rwxr-xr-x
last change Subst LDFLAGS_FOR_BUILD in configure
view annotate diff log raw
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.61.
     4 #
     5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     7 # This configure script is free software; the Free Software Foundation
     8 # gives unlimited permission to copy, distribute and modify it.
     9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
    13 # Be more Bourne compatible
    14 DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    16   emulate sh
    17   NULLCMD=:
    18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    19   # is contrary to our usage.  Disable this feature.
    20   alias -g '${1+"$@"}'='"$@"'
    21   setopt NO_GLOB_SUBST
    22 else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
    25 esac
    27 fi
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
    40 # The user is always right.
    41 if test "${PATH_SEPARATOR+set}" != set; then
    42   echo "#! /bin/sh" >conf$$.sh
    43   echo  "exit 0"   >>conf$$.sh
    44   chmod +x conf$$.sh
    45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    46     PATH_SEPARATOR=';'
    47   else
    48     PATH_SEPARATOR=:
    49   fi
    50   rm -f conf$$.sh
    51 fi
    53 # Support unset when possible.
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    55   as_unset=unset
    56 else
    57   as_unset=false
    58 fi
    61 # IFS
    62 # We need space, tab and new line, in precisely that order.  Quoting is
    63 # there to prevent editors from complaining about space-tab.
    64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    65 # splitting by setting IFS to empty value.)
    66 as_nl='
    67 '
    68 IFS=" ""	$as_nl"
    70 # Find who we are.  Look in the path if we contain no directory separator.
    71 case $0 in
    72   *[\\/]* ) as_myself=$0 ;;
    73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    74 for as_dir in $PATH
    75 do
    76   IFS=$as_save_IFS
    77   test -z "$as_dir" && as_dir=.
    78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    79 done
    80 IFS=$as_save_IFS
    82      ;;
    83 esac
    84 # We did not find ourselves, most probably we were run as `sh COMMAND'
    85 # in which case we are not to be found in the path.
    86 if test "x$as_myself" = x; then
    87   as_myself=$0
    88 fi
    89 if test ! -f "$as_myself"; then
    90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    91   { (exit 1); exit 1; }
    92 fi
    94 # Work around bugs in pre-3.0 UWIN ksh.
    95 for as_var in ENV MAIL MAILPATH
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    97 done
    98 PS1='$ '
    99 PS2='> '
   100 PS4='+ '
   102 # NLS nuisances.
   103 for as_var in \
   104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   106   LC_TELEPHONE LC_TIME
   107 do
   108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   109     eval $as_var=C; export $as_var
   110   else
   111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   112   fi
   113 done
   115 # Required to use basename.
   116 if expr a : '\(a\)' >/dev/null 2>&1 &&
   117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   118   as_expr=expr
   119 else
   120   as_expr=false
   121 fi
   123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   124   as_basename=basename
   125 else
   126   as_basename=false
   127 fi
   130 # Name of the executable.
   131 as_me=`$as_basename -- "$0" ||
   132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   133 	 X"$0" : 'X\(//\)$' \| \
   134 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   135 echo X/"$0" |
   136     sed '/^.*\/\([^/][^/]*\)\/*$/{
   137 	    s//\1/
   138 	    q
   139 	  }
   140 	  /^X\/\(\/\/\)$/{
   141 	    s//\1/
   142 	    q
   143 	  }
   144 	  /^X\/\(\/\).*/{
   145 	    s//\1/
   146 	    q
   147 	  }
   148 	  s/.*/./; q'`
   150 # CDPATH.
   151 $as_unset CDPATH
   154 if test "x$CONFIG_SHELL" = x; then
   155   if (eval ":") 2>/dev/null; then
   156   as_have_required=yes
   157 else
   158   as_have_required=no
   159 fi
   161   if test $as_have_required = yes && 	 (eval ":
   162 (as_func_return () {
   163   (exit \$1)
   164 }
   165 as_func_success () {
   166   as_func_return 0
   167 }
   168 as_func_failure () {
   169   as_func_return 1
   170 }
   171 as_func_ret_success () {
   172   return 0
   173 }
   174 as_func_ret_failure () {
   175   return 1
   176 }
   178 exitcode=0
   179 if as_func_success; then
   180   :
   181 else
   182   exitcode=1
   183   echo as_func_success failed.
   184 fi
   186 if as_func_failure; then
   187   exitcode=1
   188   echo as_func_failure succeeded.
   189 fi
   191 if as_func_ret_success; then
   192   :
   193 else
   194   exitcode=1
   195   echo as_func_ret_success failed.
   196 fi
   198 if as_func_ret_failure; then
   199   exitcode=1
   200   echo as_func_ret_failure succeeded.
   201 fi
   203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   204   :
   205 else
   206   exitcode=1
   207   echo positional parameters were not saved.
   208 fi
   210 test \$exitcode = 0) || { (exit 1); exit 1; }
   212 (
   213   as_lineno_1=\$LINENO
   214   as_lineno_2=\$LINENO
   215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   217 ") 2> /dev/null; then
   218   :
   219 else
   220   as_candidate_shells=
   221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   223 do
   224   IFS=$as_save_IFS
   225   test -z "$as_dir" && as_dir=.
   226   case $as_dir in
   227 	 /*)
   228 	   for as_base in sh bash ksh sh5; do
   229 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   230 	   done;;
   231        esac
   232 done
   233 IFS=$as_save_IFS
   236       for as_shell in $as_candidate_shells $SHELL; do
   237 	 # Try only shells that exist, to save several forks.
   238 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   239 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   241   emulate sh
   242   NULLCMD=:
   243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   244   # is contrary to our usage.  Disable this feature.
   245   alias -g '${1+"$@"}'='"$@"'
   246   setopt NO_GLOB_SUBST
   247 else
   248   case `(set -o) 2>/dev/null` in
   249   *posix*) set -o posix ;;
   250 esac
   252 fi
   255 :
   256 _ASEOF
   257 }; then
   258   CONFIG_SHELL=$as_shell
   259 	       as_have_required=yes
   260 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   262   emulate sh
   263   NULLCMD=:
   264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   265   # is contrary to our usage.  Disable this feature.
   266   alias -g '${1+"$@"}'='"$@"'
   267   setopt NO_GLOB_SUBST
   268 else
   269   case `(set -o) 2>/dev/null` in
   270   *posix*) set -o posix ;;
   271 esac
   273 fi
   276 :
   277 (as_func_return () {
   278   (exit $1)
   279 }
   280 as_func_success () {
   281   as_func_return 0
   282 }
   283 as_func_failure () {
   284   as_func_return 1
   285 }
   286 as_func_ret_success () {
   287   return 0
   288 }
   289 as_func_ret_failure () {
   290   return 1
   291 }
   293 exitcode=0
   294 if as_func_success; then
   295   :
   296 else
   297   exitcode=1
   298   echo as_func_success failed.
   299 fi
   301 if as_func_failure; then
   302   exitcode=1
   303   echo as_func_failure succeeded.
   304 fi
   306 if as_func_ret_success; then
   307   :
   308 else
   309   exitcode=1
   310   echo as_func_ret_success failed.
   311 fi
   313 if as_func_ret_failure; then
   314   exitcode=1
   315   echo as_func_ret_failure succeeded.
   316 fi
   318 if ( set x; as_func_ret_success y && test x = "$1" ); then
   319   :
   320 else
   321   exitcode=1
   322   echo positional parameters were not saved.
   323 fi
   325 test $exitcode = 0) || { (exit 1); exit 1; }
   327 (
   328   as_lineno_1=$LINENO
   329   as_lineno_2=$LINENO
   330   test "x$as_lineno_1" != "x$as_lineno_2" &&
   331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   333 _ASEOF
   334 }; then
   335   break
   336 fi
   338 fi
   340       done
   342       if test "x$CONFIG_SHELL" != x; then
   343   for as_var in BASH_ENV ENV
   344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   345         done
   346         export CONFIG_SHELL
   347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   348 fi
   351     if test $as_have_required = no; then
   352   echo This script requires a shell more modern than all the
   353       echo shells that I found on your system.  Please install a
   354       echo modern shell, or manually run the script under such a
   355       echo shell if you do have one.
   356       { (exit 1); exit 1; }
   357 fi
   360 fi
   362 fi
   366 (eval "as_func_return () {
   367   (exit \$1)
   368 }
   369 as_func_success () {
   370   as_func_return 0
   371 }
   372 as_func_failure () {
   373   as_func_return 1
   374 }
   375 as_func_ret_success () {
   376   return 0
   377 }
   378 as_func_ret_failure () {
   379   return 1
   380 }
   382 exitcode=0
   383 if as_func_success; then
   384   :
   385 else
   386   exitcode=1
   387   echo as_func_success failed.
   388 fi
   390 if as_func_failure; then
   391   exitcode=1
   392   echo as_func_failure succeeded.
   393 fi
   395 if as_func_ret_success; then
   396   :
   397 else
   398   exitcode=1
   399   echo as_func_ret_success failed.
   400 fi
   402 if as_func_ret_failure; then
   403   exitcode=1
   404   echo as_func_ret_failure succeeded.
   405 fi
   407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   408   :
   409 else
   410   exitcode=1
   411   echo positional parameters were not saved.
   412 fi
   414 test \$exitcode = 0") || {
   415   echo No shell found that supports shell functions.
   416   echo Please tell autoconf@gnu.org about your system,
   417   echo including any error possibly output before this
   418   echo message
   419 }
   423   as_lineno_1=$LINENO
   424   as_lineno_2=$LINENO
   425   test "x$as_lineno_1" != "x$as_lineno_2" &&
   426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   429   # uniformly replaced by the line number.  The first 'sed' inserts a
   430   # line-number line after each line using $LINENO; the second 'sed'
   431   # does the real work.  The second script uses 'N' to pair each
   432   # line-number line with the line containing $LINENO, and appends
   433   # trailing '-' during substitution so that $LINENO is not a special
   434   # case at line end.
   435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   437   # E. McMahon (1931-1989) for sed's syntax.  :-)
   438   sed -n '
   439     p
   440     /[$]LINENO/=
   441   ' <$as_myself |
   442     sed '
   443       s/[$]LINENO.*/&-/
   444       t lineno
   445       b
   446       :lineno
   447       N
   448       :loop
   449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   450       t loop
   451       s/-\n.*//
   452     ' >$as_me.lineno &&
   453   chmod +x "$as_me.lineno" ||
   454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   455    { (exit 1); exit 1; }; }
   457   # Don't try to exec as it changes $[0], causing all sort of problems
   458   # (the dirname of $[0] is not the place where we might find the
   459   # original and so on.  Autoconf is especially sensitive to this).
   460   . "./$as_me.lineno"
   461   # Exit status is that of the last command.
   462   exit
   463 }
   466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   467   as_dirname=dirname
   468 else
   469   as_dirname=false
   470 fi
   472 ECHO_C= ECHO_N= ECHO_T=
   473 case `echo -n x` in
   474 -n*)
   475   case `echo 'x\c'` in
   476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   477   *)   ECHO_C='\c';;
   478   esac;;
   479 *)
   480   ECHO_N='-n';;
   481 esac
   483 if expr a : '\(a\)' >/dev/null 2>&1 &&
   484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   485   as_expr=expr
   486 else
   487   as_expr=false
   488 fi
   490 rm -f conf$$ conf$$.exe conf$$.file
   491 if test -d conf$$.dir; then
   492   rm -f conf$$.dir/conf$$.file
   493 else
   494   rm -f conf$$.dir
   495   mkdir conf$$.dir
   496 fi
   497 echo >conf$$.file
   498 if ln -s conf$$.file conf$$ 2>/dev/null; then
   499   as_ln_s='ln -s'
   500   # ... but there are two gotchas:
   501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   503   # In both cases, we have to default to `cp -p'.
   504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   505     as_ln_s='cp -p'
   506 elif ln conf$$.file conf$$ 2>/dev/null; then
   507   as_ln_s=ln
   508 else
   509   as_ln_s='cp -p'
   510 fi
   511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   512 rmdir conf$$.dir 2>/dev/null
   514 if mkdir -p . 2>/dev/null; then
   515   as_mkdir_p=:
   516 else
   517   test -d ./-p && rmdir ./-p
   518   as_mkdir_p=false
   519 fi
   521 if test -x / >/dev/null 2>&1; then
   522   as_test_x='test -x'
   523 else
   524   if ls -dL / >/dev/null 2>&1; then
   525     as_ls_L_option=L
   526   else
   527     as_ls_L_option=
   528   fi
   529   as_test_x='
   530     eval sh -c '\''
   531       if test -d "$1"; then
   532         test -d "$1/.";
   533       else
   534 	case $1 in
   535         -*)set "./$1";;
   536 	esac;
   537 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   538 	???[sx]*):;;*)false;;esac;fi
   539     '\'' sh
   540   '
   541 fi
   542 as_executable_p=$as_test_x
   544 # Sed expression to map a string onto a valid CPP name.
   545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   547 # Sed expression to map a string onto a valid variable name.
   548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   552 exec 7<&0 </dev/null 6>&1
   554 # Name of the host.
   555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   556 # so uname gets run too.
   557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   559 #
   560 # Initializations.
   561 #
   562 ac_default_prefix=/usr/local
   563 ac_clean_files=
   564 ac_config_libobj_dir=.
   565 LIBOBJS=
   566 cross_compiling=no
   567 subdirs=
   568 MFLAGS=
   569 MAKEFLAGS=
   570 SHELL=${CONFIG_SHELL-/bin/sh}
   572 # Identity of this package.
   573 PACKAGE_NAME=
   574 PACKAGE_TARNAME=
   575 PACKAGE_VERSION=
   576 PACKAGE_STRING=
   577 PACKAGE_BUGREPORT=
   579 ac_unique_file="configure.in"
   580 # Factoring default headers for most tests.
   581 ac_includes_default="\
   582 #include <stdio.h>
   583 #ifdef HAVE_SYS_TYPES_H
   584 # include <sys/types.h>
   585 #endif
   586 #ifdef HAVE_SYS_STAT_H
   587 # include <sys/stat.h>
   588 #endif
   589 #ifdef STDC_HEADERS
   590 # include <stdlib.h>
   591 # include <stddef.h>
   592 #else
   593 # ifdef HAVE_STDLIB_H
   594 #  include <stdlib.h>
   595 # endif
   596 #endif
   597 #ifdef HAVE_STRING_H
   598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   599 #  include <memory.h>
   600 # endif
   601 # include <string.h>
   602 #endif
   603 #ifdef HAVE_STRINGS_H
   604 # include <strings.h>
   605 #endif
   606 #ifdef HAVE_INTTYPES_H
   607 # include <inttypes.h>
   608 #endif
   609 #ifdef HAVE_STDINT_H
   610 # include <stdint.h>
   611 #endif
   612 #ifdef HAVE_UNISTD_H
   613 # include <unistd.h>
   614 #endif"
   616 ac_subst_vars='SHELL
   617 PATH_SEPARATOR
   618 PACKAGE_NAME
   619 PACKAGE_TARNAME
   620 PACKAGE_VERSION
   621 PACKAGE_STRING
   622 PACKAGE_BUGREPORT
   623 exec_prefix
   624 prefix
   625 program_transform_name
   626 bindir
   627 sbindir
   628 libexecdir
   629 datarootdir
   630 datadir
   631 sysconfdir
   632 sharedstatedir
   633 localstatedir
   634 includedir
   635 oldincludedir
   636 docdir
   637 infodir
   638 htmldir
   639 dvidir
   640 pdfdir
   641 psdir
   642 libdir
   643 localedir
   644 mandir
   645 DEFS
   646 ECHO_C
   647 ECHO_N
   648 ECHO_T
   649 LIBS
   650 build_alias
   651 host_alias
   652 target_alias
   653 INSTALL_PROGRAM
   654 INSTALL_SCRIPT
   655 INSTALL_DATA
   656 CYGPATH_W
   657 PACKAGE
   658 VERSION
   659 ACLOCAL
   660 AUTOCONF
   661 AUTOMAKE
   662 AUTOHEADER
   663 MAKEINFO
   664 install_sh
   665 STRIP
   666 INSTALL_STRIP_PROGRAM
   667 mkdir_p
   668 AWK
   669 SET_MAKE
   670 am__leading_dot
   671 AMTAR
   672 am__tar
   673 am__untar
   674 MAINTAINER_MODE_TRUE
   675 MAINTAINER_MODE_FALSE
   676 MAINT
   677 build
   678 build_cpu
   679 build_vendor
   680 build_os
   681 host
   682 host_cpu
   683 host_vendor
   684 host_os
   685 CC
   686 CFLAGS
   687 LDFLAGS
   688 CPPFLAGS
   689 ac_ct_CC
   690 EXEEXT
   691 OBJEXT
   692 DEPDIR
   693 am__include
   694 am__quote
   695 AMDEP_TRUE
   696 AMDEP_FALSE
   697 AMDEPBACKSLASH
   698 CCDEPMODE
   699 am__fastdepCC_TRUE
   700 am__fastdepCC_FALSE
   701 CPP
   702 CC
   703 CFLAGS
   704 CPPFLAGS
   705 CC_FOR_BUILD
   706 ac_ct_CC_FOR_BUILD
   707 CC_FOR_BUILDDEPMODE
   708 am__fastdepCC_FOR_BUILD_TRUE
   709 am__fastdepCC_FOR_BUILD_FALSE
   710 CPP
   711 CPPFLAGS
   712 CPP_FOR_BUILD
   713 BUILD_EXEEXT
   714 BUILD_OBJEXT
   715 CFLAGS_FOR_BUILD
   716 CPPFLAGS_FOR_BUILD
   717 LDFLAGS_FOR_BUILD
   718 OBJC
   719 OBJCFLAGS
   720 ac_ct_OBJC
   721 SED
   722 CCAS
   723 CCASFLAGS
   724 RANLIB
   725 GREP
   726 EGREP
   727 OBJCDEPMODE
   728 am__fastdepOBJC_TRUE
   729 am__fastdepOBJC_FALSE
   730 POD2MAN
   731 POD2HTML
   732 ANT
   733 ANDROID_ABI
   734 ANDROID_SDK_HOME
   735 ANDROID_NDK_HOME
   736 ANDROID_SDK_VERSION
   737 ANDROID_NDK_VERSION
   738 ANDROID_GDBSERVER
   739 GUI_ANDROID_TRUE
   740 GUI_ANDROID_FALSE
   741 GUI_COCOA_TRUE
   742 GUI_COCOA_FALSE
   743 SOEXT
   744 PLUGINCFLAGS
   745 PLUGINLDFLAGS
   746 LXDREAMLDFLAGS
   747 BUILD_PLUGINS_TRUE
   748 BUILD_PLUGINS_FALSE
   749 LXDREAMCPPFLAGS
   750 PKG_CONFIG
   751 LIBPNG_CFLAGS
   752 LIBPNG_LIBS
   753 GLIB_CFLAGS
   754 GLIB_LIBS
   755 GTK_CFLAGS
   756 GTK_LIBS
   757 GLIB_FOR_BUILD_CFLAGS
   758 GLIB_FOR_BUILD_LIBS
   759 GUI_GTK_TRUE
   760 GUI_GTK_FALSE
   761 LIBISOFS_CFLAGS
   762 LIBISOFS_LIBS
   763 LIBGL_CFLAGS
   764 LIBGL_LIBS
   765 VIDEO_OSMESA_TRUE
   766 VIDEO_OSMESA_FALSE
   767 VIDEO_GLX_TRUE
   768 VIDEO_GLX_FALSE
   769 VIDEO_NSGL_TRUE
   770 VIDEO_NSGL_FALSE
   771 VIDEO_EGL_TRUE
   772 VIDEO_EGL_FALSE
   773 BUILD_SH4X86_TRUE
   774 BUILD_SH4X86_FALSE
   775 AUDIO_OSX_TRUE
   776 AUDIO_OSX_FALSE
   777 SDL_CFLAGS
   778 SDL_LIBS
   779 AUDIO_SDL_TRUE
   780 AUDIO_SDL_FALSE
   781 PULSE_CFLAGS
   782 PULSE_LIBS
   783 AUDIO_PULSE_TRUE
   784 AUDIO_PULSE_FALSE
   785 ESOUND_CFLAGS
   786 ESOUND_LIBS
   787 AUDIO_ESOUND_TRUE
   788 AUDIO_ESOUND_FALSE
   789 ALSA_CFLAGS
   790 ALSA_LIBS
   791 AUDIO_ALSA_TRUE
   792 AUDIO_ALSA_FALSE
   793 CDROM_LINUX_TRUE
   794 CDROM_LINUX_FALSE
   795 CDROM_OSX_TRUE
   796 CDROM_OSX_FALSE
   797 CDROM_NONE_TRUE
   798 CDROM_NONE_FALSE
   799 JOY_LINUX_TRUE
   800 JOY_LINUX_FALSE
   801 INPUT_LIRC_TRUE
   802 INPUT_LIRC_FALSE
   803 SHCC
   804 SHLD
   805 SHOBJCOPY
   806 ARMCC
   807 ARMLD
   808 ARMOBJCOPY
   809 BUILD_SYSTEST_TRUE
   810 BUILD_SYSTEST_FALSE
   811 BUILD_ARMTEST_TRUE
   812 BUILD_ARMTEST_FALSE
   813 LXDREAM_LIBS
   814 GETTEXT_PACKAGE
   815 USE_NLS
   816 MSGFMT
   817 MSGFMT_OPTS
   818 GMSGFMT
   819 XGETTEXT
   820 CATALOGS
   821 CATOBJEXT
   822 DATADIRNAME
   823 GMOFILES
   824 INSTOBJEXT
   825 INTLLIBS
   826 PO_IN_DATADIR_TRUE
   827 PO_IN_DATADIR_FALSE
   828 POFILES
   829 POSUB
   830 MKINSTALLDIRS
   831 LIBOBJS
   832 LTLIBOBJS'
   833 ac_subst_files=''
   834       ac_precious_vars='build_alias
   835 host_alias
   836 target_alias
   837 CC
   838 CFLAGS
   839 LDFLAGS
   840 LIBS
   841 CPPFLAGS
   842 CPP
   843 CC
   844 CFLAGS
   845 CPPFLAGS
   846 CPP
   847 CPPFLAGS
   848 OBJC
   849 OBJCFLAGS
   850 CCAS
   851 CCASFLAGS
   852 PKG_CONFIG
   853 LIBPNG_CFLAGS
   854 LIBPNG_LIBS
   855 GLIB_CFLAGS
   856 GLIB_LIBS
   857 GTK_CFLAGS
   858 GTK_LIBS
   859 GLIB_FOR_BUILD_CFLAGS
   860 GLIB_FOR_BUILD_LIBS
   861 LIBISOFS_CFLAGS
   862 LIBISOFS_LIBS
   863 LIBGL_CFLAGS
   864 LIBGL_LIBS
   865 SDL_CFLAGS
   866 SDL_LIBS
   867 PULSE_CFLAGS
   868 PULSE_LIBS
   869 ESOUND_CFLAGS
   870 ESOUND_LIBS
   871 ALSA_CFLAGS
   872 ALSA_LIBS'
   875 # Initialize some variables set by options.
   876 ac_init_help=
   877 ac_init_version=false
   878 # The variables have the same names as the options, with
   879 # dashes changed to underlines.
   880 cache_file=/dev/null
   881 exec_prefix=NONE
   882 no_create=
   883 no_recursion=
   884 prefix=NONE
   885 program_prefix=NONE
   886 program_suffix=NONE
   887 program_transform_name=s,x,x,
   888 silent=
   889 site=
   890 srcdir=
   891 verbose=
   892 x_includes=NONE
   893 x_libraries=NONE
   895 # Installation directory options.
   896 # These are left unexpanded so users can "make install exec_prefix=/foo"
   897 # and all the variables that are supposed to be based on exec_prefix
   898 # by default will actually change.
   899 # Use braces instead of parens because sh, perl, etc. also accept them.
   900 # (The list follows the same order as the GNU Coding Standards.)
   901 bindir='${exec_prefix}/bin'
   902 sbindir='${exec_prefix}/sbin'
   903 libexecdir='${exec_prefix}/libexec'
   904 datarootdir='${prefix}/share'
   905 datadir='${datarootdir}'
   906 sysconfdir='${prefix}/etc'
   907 sharedstatedir='${prefix}/com'
   908 localstatedir='${prefix}/var'
   909 includedir='${prefix}/include'
   910 oldincludedir='/usr/include'
   911 docdir='${datarootdir}/doc/${PACKAGE}'
   912 infodir='${datarootdir}/info'
   913 htmldir='${docdir}'
   914 dvidir='${docdir}'
   915 pdfdir='${docdir}'
   916 psdir='${docdir}'
   917 libdir='${exec_prefix}/lib'
   918 localedir='${datarootdir}/locale'
   919 mandir='${datarootdir}/man'
   921 ac_prev=
   922 ac_dashdash=
   923 for ac_option
   924 do
   925   # If the previous option needs an argument, assign it.
   926   if test -n "$ac_prev"; then
   927     eval $ac_prev=\$ac_option
   928     ac_prev=
   929     continue
   930   fi
   932   case $ac_option in
   933   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   934   *)	ac_optarg=yes ;;
   935   esac
   937   # Accept the important Cygnus configure options, so we can diagnose typos.
   939   case $ac_dashdash$ac_option in
   940   --)
   941     ac_dashdash=yes ;;
   943   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   944     ac_prev=bindir ;;
   945   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   946     bindir=$ac_optarg ;;
   948   -build | --build | --buil | --bui | --bu)
   949     ac_prev=build_alias ;;
   950   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   951     build_alias=$ac_optarg ;;
   953   -cache-file | --cache-file | --cache-fil | --cache-fi \
   954   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   955     ac_prev=cache_file ;;
   956   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   957   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   958     cache_file=$ac_optarg ;;
   960   --config-cache | -C)
   961     cache_file=config.cache ;;
   963   -datadir | --datadir | --datadi | --datad)
   964     ac_prev=datadir ;;
   965   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   966     datadir=$ac_optarg ;;
   968   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   969   | --dataroo | --dataro | --datar)
   970     ac_prev=datarootdir ;;
   971   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   972   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   973     datarootdir=$ac_optarg ;;
   975   -disable-* | --disable-*)
   976     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   977     # Reject names that are not valid shell variable names.
   978     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   979       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   980    { (exit 1); exit 1; }; }
   981     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   982     eval enable_$ac_feature=no ;;
   984   -docdir | --docdir | --docdi | --doc | --do)
   985     ac_prev=docdir ;;
   986   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   987     docdir=$ac_optarg ;;
   989   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   990     ac_prev=dvidir ;;
   991   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   992     dvidir=$ac_optarg ;;
   994   -enable-* | --enable-*)
   995     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   996     # Reject names that are not valid shell variable names.
   997     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   998       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   999    { (exit 1); exit 1; }; }
  1000     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  1001     eval enable_$ac_feature=\$ac_optarg ;;
  1003   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1004   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1005   | --exec | --exe | --ex)
  1006     ac_prev=exec_prefix ;;
  1007   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1008   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1009   | --exec=* | --exe=* | --ex=*)
  1010     exec_prefix=$ac_optarg ;;
  1012   -gas | --gas | --ga | --g)
  1013     # Obsolete; use --with-gas.
  1014     with_gas=yes ;;
  1016   -help | --help | --hel | --he | -h)
  1017     ac_init_help=long ;;
  1018   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1019     ac_init_help=recursive ;;
  1020   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1021     ac_init_help=short ;;
  1023   -host | --host | --hos | --ho)
  1024     ac_prev=host_alias ;;
  1025   -host=* | --host=* | --hos=* | --ho=*)
  1026     host_alias=$ac_optarg ;;
  1028   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1029     ac_prev=htmldir ;;
  1030   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1031   | --ht=*)
  1032     htmldir=$ac_optarg ;;
  1034   -includedir | --includedir | --includedi | --included | --include \
  1035   | --includ | --inclu | --incl | --inc)
  1036     ac_prev=includedir ;;
  1037   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1038   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1039     includedir=$ac_optarg ;;
  1041   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1042     ac_prev=infodir ;;
  1043   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1044     infodir=$ac_optarg ;;
  1046   -libdir | --libdir | --libdi | --libd)
  1047     ac_prev=libdir ;;
  1048   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1049     libdir=$ac_optarg ;;
  1051   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1052   | --libexe | --libex | --libe)
  1053     ac_prev=libexecdir ;;
  1054   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1055   | --libexe=* | --libex=* | --libe=*)
  1056     libexecdir=$ac_optarg ;;
  1058   -localedir | --localedir | --localedi | --localed | --locale)
  1059     ac_prev=localedir ;;
  1060   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1061     localedir=$ac_optarg ;;
  1063   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1064   | --localstate | --localstat | --localsta | --localst | --locals)
  1065     ac_prev=localstatedir ;;
  1066   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1067   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1068     localstatedir=$ac_optarg ;;
  1070   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1071     ac_prev=mandir ;;
  1072   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1073     mandir=$ac_optarg ;;
  1075   -nfp | --nfp | --nf)
  1076     # Obsolete; use --without-fp.
  1077     with_fp=no ;;
  1079   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1080   | --no-cr | --no-c | -n)
  1081     no_create=yes ;;
  1083   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1084   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1085     no_recursion=yes ;;
  1087   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1088   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1089   | --oldin | --oldi | --old | --ol | --o)
  1090     ac_prev=oldincludedir ;;
  1091   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1092   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1093   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1094     oldincludedir=$ac_optarg ;;
  1096   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1097     ac_prev=prefix ;;
  1098   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1099     prefix=$ac_optarg ;;
  1101   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1102   | --program-pre | --program-pr | --program-p)
  1103     ac_prev=program_prefix ;;
  1104   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1105   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1106     program_prefix=$ac_optarg ;;
  1108   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1109   | --program-suf | --program-su | --program-s)
  1110     ac_prev=program_suffix ;;
  1111   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1112   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1113     program_suffix=$ac_optarg ;;
  1115   -program-transform-name | --program-transform-name \
  1116   | --program-transform-nam | --program-transform-na \
  1117   | --program-transform-n | --program-transform- \
  1118   | --program-transform | --program-transfor \
  1119   | --program-transfo | --program-transf \
  1120   | --program-trans | --program-tran \
  1121   | --progr-tra | --program-tr | --program-t)
  1122     ac_prev=program_transform_name ;;
  1123   -program-transform-name=* | --program-transform-name=* \
  1124   | --program-transform-nam=* | --program-transform-na=* \
  1125   | --program-transform-n=* | --program-transform-=* \
  1126   | --program-transform=* | --program-transfor=* \
  1127   | --program-transfo=* | --program-transf=* \
  1128   | --program-trans=* | --program-tran=* \
  1129   | --progr-tra=* | --program-tr=* | --program-t=*)
  1130     program_transform_name=$ac_optarg ;;
  1132   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1133     ac_prev=pdfdir ;;
  1134   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1135     pdfdir=$ac_optarg ;;
  1137   -psdir | --psdir | --psdi | --psd | --ps)
  1138     ac_prev=psdir ;;
  1139   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1140     psdir=$ac_optarg ;;
  1142   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1143   | -silent | --silent | --silen | --sile | --sil)
  1144     silent=yes ;;
  1146   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1147     ac_prev=sbindir ;;
  1148   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1149   | --sbi=* | --sb=*)
  1150     sbindir=$ac_optarg ;;
  1152   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1153   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1154   | --sharedst | --shareds | --shared | --share | --shar \
  1155   | --sha | --sh)
  1156     ac_prev=sharedstatedir ;;
  1157   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1158   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1159   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1160   | --sha=* | --sh=*)
  1161     sharedstatedir=$ac_optarg ;;
  1163   -site | --site | --sit)
  1164     ac_prev=site ;;
  1165   -site=* | --site=* | --sit=*)
  1166     site=$ac_optarg ;;
  1168   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1169     ac_prev=srcdir ;;
  1170   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1171     srcdir=$ac_optarg ;;
  1173   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1174   | --syscon | --sysco | --sysc | --sys | --sy)
  1175     ac_prev=sysconfdir ;;
  1176   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1177   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1178     sysconfdir=$ac_optarg ;;
  1180   -target | --target | --targe | --targ | --tar | --ta | --t)
  1181     ac_prev=target_alias ;;
  1182   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1183     target_alias=$ac_optarg ;;
  1185   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1186     verbose=yes ;;
  1188   -version | --version | --versio | --versi | --vers | -V)
  1189     ac_init_version=: ;;
  1191   -with-* | --with-*)
  1192     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1193     # Reject names that are not valid shell variable names.
  1194     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1195       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1196    { (exit 1); exit 1; }; }
  1197     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1198     eval with_$ac_package=\$ac_optarg ;;
  1200   -without-* | --without-*)
  1201     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1202     # Reject names that are not valid shell variable names.
  1203     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1204       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1205    { (exit 1); exit 1; }; }
  1206     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1207     eval with_$ac_package=no ;;
  1209   --x)
  1210     # Obsolete; use --with-x.
  1211     with_x=yes ;;
  1213   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1214   | --x-incl | --x-inc | --x-in | --x-i)
  1215     ac_prev=x_includes ;;
  1216   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1217   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1218     x_includes=$ac_optarg ;;
  1220   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1221   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1222     ac_prev=x_libraries ;;
  1223   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1224   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1225     x_libraries=$ac_optarg ;;
  1227   -*) { echo "$as_me: error: unrecognized option: $ac_option
  1228 Try \`$0 --help' for more information." >&2
  1229    { (exit 1); exit 1; }; }
  1230     ;;
  1232   *=*)
  1233     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1234     # Reject names that are not valid shell variable names.
  1235     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1236       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1237    { (exit 1); exit 1; }; }
  1238     eval $ac_envvar=\$ac_optarg
  1239     export $ac_envvar ;;
  1241   *)
  1242     # FIXME: should be removed in autoconf 3.0.
  1243     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1244     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1245       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1246     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1247     ;;
  1249   esac
  1250 done
  1252 if test -n "$ac_prev"; then
  1253   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1254   { echo "$as_me: error: missing argument to $ac_option" >&2
  1255    { (exit 1); exit 1; }; }
  1256 fi
  1258 # Be sure to have absolute directory names.
  1259 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1260 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1261 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1262 		libdir localedir mandir
  1263 do
  1264   eval ac_val=\$$ac_var
  1265   case $ac_val in
  1266     [\\/$]* | ?:[\\/]* )  continue;;
  1267     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1268   esac
  1269   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1270    { (exit 1); exit 1; }; }
  1271 done
  1273 # There might be people who depend on the old broken behavior: `$host'
  1274 # used to hold the argument of --host etc.
  1275 # FIXME: To remove some day.
  1276 build=$build_alias
  1277 host=$host_alias
  1278 target=$target_alias
  1280 # FIXME: To remove some day.
  1281 if test "x$host_alias" != x; then
  1282   if test "x$build_alias" = x; then
  1283     cross_compiling=maybe
  1284     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1285     If a cross compiler is detected then cross compile mode will be used." >&2
  1286   elif test "x$build_alias" != "x$host_alias"; then
  1287     cross_compiling=yes
  1288   fi
  1289 fi
  1291 ac_tool_prefix=
  1292 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1294 test "$silent" = yes && exec 6>/dev/null
  1297 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1298 ac_ls_di=`ls -di .` &&
  1299 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1300   { echo "$as_me: error: Working directory cannot be determined" >&2
  1301    { (exit 1); exit 1; }; }
  1302 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1303   { echo "$as_me: error: pwd does not report name of working directory" >&2
  1304    { (exit 1); exit 1; }; }
  1307 # Find the source files, if location was not specified.
  1308 if test -z "$srcdir"; then
  1309   ac_srcdir_defaulted=yes
  1310   # Try the directory containing this script, then the parent directory.
  1311   ac_confdir=`$as_dirname -- "$0" ||
  1312 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1313 	 X"$0" : 'X\(//\)[^/]' \| \
  1314 	 X"$0" : 'X\(//\)$' \| \
  1315 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1316 echo X"$0" |
  1317     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1318 	    s//\1/
  1321 	  /^X\(\/\/\)[^/].*/{
  1322 	    s//\1/
  1325 	  /^X\(\/\/\)$/{
  1326 	    s//\1/
  1329 	  /^X\(\/\).*/{
  1330 	    s//\1/
  1333 	  s/.*/./; q'`
  1334   srcdir=$ac_confdir
  1335   if test ! -r "$srcdir/$ac_unique_file"; then
  1336     srcdir=..
  1337   fi
  1338 else
  1339   ac_srcdir_defaulted=no
  1340 fi
  1341 if test ! -r "$srcdir/$ac_unique_file"; then
  1342   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1343   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1344    { (exit 1); exit 1; }; }
  1345 fi
  1346 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1347 ac_abs_confdir=`(
  1348 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1349    { (exit 1); exit 1; }; }
  1350 	pwd)`
  1351 # When building in place, set srcdir=.
  1352 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1353   srcdir=.
  1354 fi
  1355 # Remove unnecessary trailing slashes from srcdir.
  1356 # Double slashes in file names in object file debugging info
  1357 # mess up M-x gdb in Emacs.
  1358 case $srcdir in
  1359 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1360 esac
  1361 for ac_var in $ac_precious_vars; do
  1362   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1363   eval ac_env_${ac_var}_value=\$${ac_var}
  1364   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1365   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1366 done
  1369 # Report the --help message.
  1371 if test "$ac_init_help" = "long"; then
  1372   # Omit some internal or obsolete options to make the list less imposing.
  1373   # This message is too long to be a string in the A/UX 3.1 sh.
  1374   cat <<_ACEOF
  1375 \`configure' configures this package to adapt to many kinds of systems.
  1377 Usage: $0 [OPTION]... [VAR=VALUE]...
  1379 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1380 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1382 Defaults for the options are specified in brackets.
  1384 Configuration:
  1385   -h, --help              display this help and exit
  1386       --help=short        display options specific to this package
  1387       --help=recursive    display the short help of all the included packages
  1388   -V, --version           display version information and exit
  1389   -q, --quiet, --silent   do not print \`checking...' messages
  1390       --cache-file=FILE   cache test results in FILE [disabled]
  1391   -C, --config-cache      alias for \`--cache-file=config.cache'
  1392   -n, --no-create         do not create output files
  1393       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1395 Installation directories:
  1396   --prefix=PREFIX         install architecture-independent files in PREFIX
  1397 			  [$ac_default_prefix]
  1398   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1399 			  [PREFIX]
  1401 By default, \`make install' will install all the files in
  1402 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1403 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1404 for instance \`--prefix=\$HOME'.
  1406 For better control, use the options below.
  1408 Fine tuning of the installation directories:
  1409   --bindir=DIR           user executables [EPREFIX/bin]
  1410   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  1411   --libexecdir=DIR       program executables [EPREFIX/libexec]
  1412   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  1413   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  1414   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  1415   --libdir=DIR           object code libraries [EPREFIX/lib]
  1416   --includedir=DIR       C header files [PREFIX/include]
  1417   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1418   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  1419   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  1420   --infodir=DIR          info documentation [DATAROOTDIR/info]
  1421   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  1422   --mandir=DIR           man documentation [DATAROOTDIR/man]
  1423   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  1424   --htmldir=DIR          html documentation [DOCDIR]
  1425   --dvidir=DIR           dvi documentation [DOCDIR]
  1426   --pdfdir=DIR           pdf documentation [DOCDIR]
  1427   --psdir=DIR            ps documentation [DOCDIR]
  1428 _ACEOF
  1430   cat <<\_ACEOF
  1432 Program names:
  1433   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1434   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1435   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1437 System types:
  1438   --build=BUILD     configure for building on BUILD [guessed]
  1439   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1440 _ACEOF
  1441 fi
  1443 if test -n "$ac_init_help"; then
  1445   cat <<\_ACEOF
  1447 Optional Features:
  1448   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1449   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1450   --enable-maintainer-mode  enable make rules and dependencies not useful
  1451 			  (and sometimes confusing) to the casual installer
  1452   --disable-dependency-tracking  speeds up one-time build
  1453   --enable-dependency-tracking   do not reject slow dependency extractors
  1454   --enable-strict-warn    Enable strict compilation warnings
  1455   --disable-translator    Disable the SH4 translator (Enabled by default)
  1456   --disable-optimized     Disable compile-time optimizations (Enabled by
  1457                           default)
  1458   --enable-shared         Build drivers as shared libraries (Enabled if
  1459                           available)
  1460   --enable-profiled       Enable profiling build
  1461   --enable-trace          Enable generation of IO traces (warning: hurts
  1462                           performance)
  1463   --enable-watch          Enable watchpoints in the debugger (warning: hurts
  1464                           performance)
  1465   --enable-sh4stats       Enable statistics on executed sh4 instructions
  1467 Optional Packages:
  1468   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1469   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1470   --with-osmesa           Build with the osmesa GL library (software
  1471                           rendering)
  1472   --with-gtk              Build with the GTK UI. Default on X11 systems
  1473   --with-esd              Build with support for the ESounD audio system
  1474   --with-pulse            Build with support for the PulseAudio audio system
  1475   --with-sdl              Build with support for SDL audio
  1476   --with-sysroot=SYSROOT  Build using an alternate sysroot
  1477   --with-android=SDK      Specify the location of the Android SDK
  1478   --with-android-ndk=NDK  Specify the location of the Android NDK
  1479   --with-android-version  Specify target Android SDK version
  1480   --with-android-version  Specify target Android NDK version
  1481   --with-android-abi      Specify target Android ABI
  1483 Some influential environment variables:
  1484   CC          C compiler command
  1485   CFLAGS      C compiler flags
  1486   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1487               nonstandard directory <lib dir>
  1488   LIBS        libraries to pass to the linker, e.g. -l<library>
  1489   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1490               you have headers in a nonstandard directory <include dir>
  1491   CPP         C preprocessor
  1492   OBJC        Objective C compiler command
  1493   OBJCFLAGS   Objective C compiler flags
  1494   CCAS        assembler compiler command (defaults to CC)
  1495   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1496   PKG_CONFIG  path to pkg-config utility
  1497   LIBPNG_CFLAGS
  1498               C compiler flags for LIBPNG, overriding pkg-config
  1499   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1500   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  1501   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  1502   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1503   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1504   GLIB_FOR_BUILD_CFLAGS
  1505               C compiler flags for GLIB_FOR_BUILD, overriding pkg-config
  1506   GLIB_FOR_BUILD_LIBS
  1507               linker flags for GLIB_FOR_BUILD, overriding pkg-config
  1508   LIBISOFS_CFLAGS
  1509               C compiler flags for LIBISOFS, overriding pkg-config
  1510   LIBISOFS_LIBS
  1511               linker flags for LIBISOFS, overriding pkg-config
  1512   LIBGL_CFLAGS
  1513               C compiler flags for LIBGL, overriding pkg-config
  1514   LIBGL_LIBS  linker flags for LIBGL, overriding pkg-config
  1515   SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
  1516   SDL_LIBS    linker flags for SDL, overriding pkg-config
  1517   PULSE_CFLAGS
  1518               C compiler flags for PULSE, overriding pkg-config
  1519   PULSE_LIBS  linker flags for PULSE, overriding pkg-config
  1520   ESOUND_CFLAGS
  1521               C compiler flags for ESOUND, overriding pkg-config
  1522   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1523   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
  1524   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
  1526 Use these variables to override the choices made by `configure' or to help
  1527 it to find libraries and programs with nonstandard names/locations.
  1529 _ACEOF
  1530 ac_status=$?
  1531 fi
  1533 if test "$ac_init_help" = "recursive"; then
  1534   # If there are subdirs, report their specific --help.
  1535   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1536     test -d "$ac_dir" || continue
  1537     ac_builddir=.
  1539 case "$ac_dir" in
  1540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1541 *)
  1542   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1543   # A ".." for each directory in $ac_dir_suffix.
  1544   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1545   case $ac_top_builddir_sub in
  1546   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1547   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1548   esac ;;
  1549 esac
  1550 ac_abs_top_builddir=$ac_pwd
  1551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1552 # for backward compatibility:
  1553 ac_top_builddir=$ac_top_build_prefix
  1555 case $srcdir in
  1556   .)  # We are building in place.
  1557     ac_srcdir=.
  1558     ac_top_srcdir=$ac_top_builddir_sub
  1559     ac_abs_top_srcdir=$ac_pwd ;;
  1560   [\\/]* | ?:[\\/]* )  # Absolute name.
  1561     ac_srcdir=$srcdir$ac_dir_suffix;
  1562     ac_top_srcdir=$srcdir
  1563     ac_abs_top_srcdir=$srcdir ;;
  1564   *) # Relative name.
  1565     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1566     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1567     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1568 esac
  1569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1571     cd "$ac_dir" || { ac_status=$?; continue; }
  1572     # Check for guested configure.
  1573     if test -f "$ac_srcdir/configure.gnu"; then
  1574       echo &&
  1575       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1576     elif test -f "$ac_srcdir/configure"; then
  1577       echo &&
  1578       $SHELL "$ac_srcdir/configure" --help=recursive
  1579     else
  1580       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1581     fi || ac_status=$?
  1582     cd "$ac_pwd" || { ac_status=$?; break; }
  1583   done
  1584 fi
  1586 test -n "$ac_init_help" && exit $ac_status
  1587 if $ac_init_version; then
  1588   cat <<\_ACEOF
  1589 configure
  1590 generated by GNU Autoconf 2.61
  1592 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1593 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1594 This configure script is free software; the Free Software Foundation
  1595 gives unlimited permission to copy, distribute and modify it.
  1596 _ACEOF
  1597   exit
  1598 fi
  1599 cat >config.log <<_ACEOF
  1600 This file contains any messages produced by compilers while
  1601 running configure, to aid debugging if configure makes a mistake.
  1603 It was created by $as_me, which was
  1604 generated by GNU Autoconf 2.61.  Invocation command line was
  1606   $ $0 $@
  1608 _ACEOF
  1609 exec 5>>config.log
  1611 cat <<_ASUNAME
  1612 ## --------- ##
  1613 ## Platform. ##
  1614 ## --------- ##
  1616 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1617 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1618 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1619 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1620 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1622 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1623 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1625 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1626 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1627 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1628 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1629 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1630 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1631 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1633 _ASUNAME
  1635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1636 for as_dir in $PATH
  1637 do
  1638   IFS=$as_save_IFS
  1639   test -z "$as_dir" && as_dir=.
  1640   echo "PATH: $as_dir"
  1641 done
  1642 IFS=$as_save_IFS
  1644 } >&5
  1646 cat >&5 <<_ACEOF
  1649 ## ----------- ##
  1650 ## Core tests. ##
  1651 ## ----------- ##
  1653 _ACEOF
  1656 # Keep a trace of the command line.
  1657 # Strip out --no-create and --no-recursion so they do not pile up.
  1658 # Strip out --silent because we don't want to record it for future runs.
  1659 # Also quote any args containing shell meta-characters.
  1660 # Make two passes to allow for proper duplicate-argument suppression.
  1661 ac_configure_args=
  1662 ac_configure_args0=
  1663 ac_configure_args1=
  1664 ac_must_keep_next=false
  1665 for ac_pass in 1 2
  1666 do
  1667   for ac_arg
  1668   do
  1669     case $ac_arg in
  1670     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1671     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1672     | -silent | --silent | --silen | --sile | --sil)
  1673       continue ;;
  1674     *\'*)
  1675       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1676     esac
  1677     case $ac_pass in
  1678     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1679     2)
  1680       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1681       if test $ac_must_keep_next = true; then
  1682 	ac_must_keep_next=false # Got value, back to normal.
  1683       else
  1684 	case $ac_arg in
  1685 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1686 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1687 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1688 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1689 	    case "$ac_configure_args0 " in
  1690 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1691 	    esac
  1692 	    ;;
  1693 	  -* ) ac_must_keep_next=true ;;
  1694 	esac
  1695       fi
  1696       ac_configure_args="$ac_configure_args '$ac_arg'"
  1697       ;;
  1698     esac
  1699   done
  1700 done
  1701 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1702 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1704 # When interrupted or exit'd, cleanup temporary files, and complete
  1705 # config.log.  We remove comments because anyway the quotes in there
  1706 # would cause problems or look ugly.
  1707 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1708 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1709 trap 'exit_status=$?
  1710   # Save into config.log some information that might help in debugging.
  1712     echo
  1714     cat <<\_ASBOX
  1715 ## ---------------- ##
  1716 ## Cache variables. ##
  1717 ## ---------------- ##
  1718 _ASBOX
  1719     echo
  1720     # The following way of writing the cache mishandles newlines in values,
  1722   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1723     eval ac_val=\$$ac_var
  1724     case $ac_val in #(
  1725     *${as_nl}*)
  1726       case $ac_var in #(
  1727       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1728 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1729       esac
  1730       case $ac_var in #(
  1731       _ | IFS | as_nl) ;; #(
  1732       *) $as_unset $ac_var ;;
  1733       esac ;;
  1734     esac
  1735   done
  1736   (set) 2>&1 |
  1737     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1738     *${as_nl}ac_space=\ *)
  1739       sed -n \
  1740 	"s/'\''/'\''\\\\'\'''\''/g;
  1741 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1742       ;; #(
  1743     *)
  1744       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1745       ;;
  1746     esac |
  1747     sort
  1749     echo
  1751     cat <<\_ASBOX
  1752 ## ----------------- ##
  1753 ## Output variables. ##
  1754 ## ----------------- ##
  1755 _ASBOX
  1756     echo
  1757     for ac_var in $ac_subst_vars
  1758     do
  1759       eval ac_val=\$$ac_var
  1760       case $ac_val in
  1761       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1762       esac
  1763       echo "$ac_var='\''$ac_val'\''"
  1764     done | sort
  1765     echo
  1767     if test -n "$ac_subst_files"; then
  1768       cat <<\_ASBOX
  1769 ## ------------------- ##
  1770 ## File substitutions. ##
  1771 ## ------------------- ##
  1772 _ASBOX
  1773       echo
  1774       for ac_var in $ac_subst_files
  1775       do
  1776 	eval ac_val=\$$ac_var
  1777 	case $ac_val in
  1778 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1779 	esac
  1780 	echo "$ac_var='\''$ac_val'\''"
  1781       done | sort
  1782       echo
  1783     fi
  1785     if test -s confdefs.h; then
  1786       cat <<\_ASBOX
  1787 ## ----------- ##
  1788 ## confdefs.h. ##
  1789 ## ----------- ##
  1790 _ASBOX
  1791       echo
  1792       cat confdefs.h
  1793       echo
  1794     fi
  1795     test "$ac_signal" != 0 &&
  1796       echo "$as_me: caught signal $ac_signal"
  1797     echo "$as_me: exit $exit_status"
  1798   } >&5
  1799   rm -f core *.core core.conftest.* &&
  1800     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1801     exit $exit_status
  1802 ' 0
  1803 for ac_signal in 1 2 13 15; do
  1804   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1805 done
  1806 ac_signal=0
  1808 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1809 rm -f -r conftest* confdefs.h
  1811 # Predefined preprocessor variables.
  1813 cat >>confdefs.h <<_ACEOF
  1814 #define PACKAGE_NAME "$PACKAGE_NAME"
  1815 _ACEOF
  1818 cat >>confdefs.h <<_ACEOF
  1819 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1820 _ACEOF
  1823 cat >>confdefs.h <<_ACEOF
  1824 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1825 _ACEOF
  1828 cat >>confdefs.h <<_ACEOF
  1829 #define PACKAGE_STRING "$PACKAGE_STRING"
  1830 _ACEOF
  1833 cat >>confdefs.h <<_ACEOF
  1834 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1835 _ACEOF
  1838 # Let the site file select an alternate cache file if it wants to.
  1839 # Prefer explicitly selected file to automatically selected ones.
  1840 if test -n "$CONFIG_SITE"; then
  1841   set x "$CONFIG_SITE"
  1842 elif test "x$prefix" != xNONE; then
  1843   set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1844 else
  1845   set x "$ac_default_prefix/share/config.site" \
  1846 	"$ac_default_prefix/etc/config.site"
  1847 fi
  1848 shift
  1849 for ac_site_file
  1850 do
  1851   if test -r "$ac_site_file"; then
  1852     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1853 echo "$as_me: loading site script $ac_site_file" >&6;}
  1854     sed 's/^/| /' "$ac_site_file" >&5
  1855     . "$ac_site_file"
  1856   fi
  1857 done
  1859 if test -r "$cache_file"; then
  1860   # Some versions of bash will fail to source /dev/null (special
  1861   # files actually), so we avoid doing that.
  1862   if test -f "$cache_file"; then
  1863     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1864 echo "$as_me: loading cache $cache_file" >&6;}
  1865     case $cache_file in
  1866       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1867       *)                      . "./$cache_file";;
  1868     esac
  1869   fi
  1870 else
  1871   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1872 echo "$as_me: creating cache $cache_file" >&6;}
  1873   >$cache_file
  1874 fi
  1876 # Check that the precious variables saved in the cache have kept the same
  1877 # value.
  1878 ac_cache_corrupted=false
  1879 for ac_var in $ac_precious_vars; do
  1880   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1881   eval ac_new_set=\$ac_env_${ac_var}_set
  1882   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1883   eval ac_new_val=\$ac_env_${ac_var}_value
  1884   case $ac_old_set,$ac_new_set in
  1885     set,)
  1886       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1887 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1888       ac_cache_corrupted=: ;;
  1889     ,set)
  1890       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1891 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1892       ac_cache_corrupted=: ;;
  1893     ,);;
  1894     *)
  1895       if test "x$ac_old_val" != "x$ac_new_val"; then
  1896 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1897 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1898 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1899 echo "$as_me:   former value:  $ac_old_val" >&2;}
  1900 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1901 echo "$as_me:   current value: $ac_new_val" >&2;}
  1902 	ac_cache_corrupted=:
  1903       fi;;
  1904   esac
  1905   # Pass precious variables to config.status.
  1906   if test "$ac_new_set" = set; then
  1907     case $ac_new_val in
  1908     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1909     *) ac_arg=$ac_var=$ac_new_val ;;
  1910     esac
  1911     case " $ac_configure_args " in
  1912       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1913       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1914     esac
  1915   fi
  1916 done
  1917 if $ac_cache_corrupted; then
  1918   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1919 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1920   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1921 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1922    { (exit 1); exit 1; }; }
  1923 fi
  1941 ac_ext=c
  1942 ac_cpp='$CPP $CPPFLAGS'
  1943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1948 am__api_version="1.9"
  1949 ac_aux_dir=
  1950 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1951   if test -f "$ac_dir/install-sh"; then
  1952     ac_aux_dir=$ac_dir
  1953     ac_install_sh="$ac_aux_dir/install-sh -c"
  1954     break
  1955   elif test -f "$ac_dir/install.sh"; then
  1956     ac_aux_dir=$ac_dir
  1957     ac_install_sh="$ac_aux_dir/install.sh -c"
  1958     break
  1959   elif test -f "$ac_dir/shtool"; then
  1960     ac_aux_dir=$ac_dir
  1961     ac_install_sh="$ac_aux_dir/shtool install -c"
  1962     break
  1963   fi
  1964 done
  1965 if test -z "$ac_aux_dir"; then
  1966   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1967 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1968    { (exit 1); exit 1; }; }
  1969 fi
  1971 # These three variables are undocumented and unsupported,
  1972 # and are intended to be withdrawn in a future Autoconf release.
  1973 # They can cause serious problems if a builder's source tree is in a directory
  1974 # whose full name contains unusual characters.
  1975 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1976 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1977 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1980 # Find a good install program.  We prefer a C program (faster),
  1981 # so one script is as good as another.  But avoid the broken or
  1982 # incompatible versions:
  1983 # SysV /etc/install, /usr/sbin/install
  1984 # SunOS /usr/etc/install
  1985 # IRIX /sbin/install
  1986 # AIX /bin/install
  1987 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1988 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1989 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1990 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1991 # OS/2's system install, which has a completely different semantic
  1992 # ./install, which can be erroneously created by make from ./install.sh.
  1993 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1994 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  1995 if test -z "$INSTALL"; then
  1996 if test "${ac_cv_path_install+set}" = set; then
  1997   echo $ECHO_N "(cached) $ECHO_C" >&6
  1998 else
  1999   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2000 for as_dir in $PATH
  2001 do
  2002   IFS=$as_save_IFS
  2003   test -z "$as_dir" && as_dir=.
  2004   # Account for people who put trailing slashes in PATH elements.
  2005 case $as_dir/ in
  2006   ./ | .// | /cC/* | \
  2007   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2008   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  2009   /usr/ucb/* ) ;;
  2010   *)
  2011     # OSF1 and SCO ODT 3.0 have their own names for install.
  2012     # Don't use installbsd from OSF since it installs stuff as root
  2013     # by default.
  2014     for ac_prog in ginstall scoinst install; do
  2015       for ac_exec_ext in '' $ac_executable_extensions; do
  2016 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2017 	  if test $ac_prog = install &&
  2018 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2019 	    # AIX install.  It has an incompatible calling convention.
  2021 	  elif test $ac_prog = install &&
  2022 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2023 	    # program-specific install script used by HP pwplus--don't use.
  2025 	  else
  2026 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2027 	    break 3
  2028 	  fi
  2029 	fi
  2030       done
  2031     done
  2032     ;;
  2033 esac
  2034 done
  2035 IFS=$as_save_IFS
  2038 fi
  2039   if test "${ac_cv_path_install+set}" = set; then
  2040     INSTALL=$ac_cv_path_install
  2041   else
  2042     # As a last resort, use the slow shell script.  Don't cache a
  2043     # value for INSTALL within a source directory, because that will
  2044     # break other packages using the cache if that directory is
  2045     # removed, or if the value is a relative name.
  2046     INSTALL=$ac_install_sh
  2047   fi
  2048 fi
  2049 { echo "$as_me:$LINENO: result: $INSTALL" >&5
  2050 echo "${ECHO_T}$INSTALL" >&6; }
  2052 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2053 # It thinks the first close brace ends the variable substitution.
  2054 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2056 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2058 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2060 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2061 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  2062 # Just in case
  2063 sleep 1
  2064 echo timestamp > conftest.file
  2065 # Do `set' in a subshell so we don't clobber the current shell's
  2066 # arguments.  Must try -L first in case configure is actually a
  2067 # symlink; some systems play weird games with the mod time of symlinks
  2068 # (eg FreeBSD returns the mod time of the symlink's containing
  2069 # directory).
  2070 if (
  2071    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  2072    if test "$*" = "X"; then
  2073       # -L didn't work.
  2074       set X `ls -t $srcdir/configure conftest.file`
  2075    fi
  2076    rm -f conftest.file
  2077    if test "$*" != "X $srcdir/configure conftest.file" \
  2078       && test "$*" != "X conftest.file $srcdir/configure"; then
  2080       # If neither matched, then we have a broken ls.  This can happen
  2081       # if, for instance, CONFIG_SHELL is bash and it inherits a
  2082       # broken ls alias from the environment.  This has actually
  2083       # happened.  Such a system could not be considered "sane".
  2084       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  2085 alias in your environment" >&5
  2086 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  2087 alias in your environment" >&2;}
  2088    { (exit 1); exit 1; }; }
  2089    fi
  2091    test "$2" = conftest.file
  2093 then
  2094    # Ok.
  2096 else
  2097    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2098 Check your system clock" >&5
  2099 echo "$as_me: error: newly created file is older than distributed files!
  2100 Check your system clock" >&2;}
  2101    { (exit 1); exit 1; }; }
  2102 fi
  2103 { echo "$as_me:$LINENO: result: yes" >&5
  2104 echo "${ECHO_T}yes" >&6; }
  2105 test "$program_prefix" != NONE &&
  2106   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2107 # Use a double $ so make ignores it.
  2108 test "$program_suffix" != NONE &&
  2109   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2110 # Double any \ or $.  echo might interpret backslashes.
  2111 # By default was `s,x,x', remove it if useless.
  2112 cat <<\_ACEOF >conftest.sed
  2113 s/[\\$]/&&/g;s/;s,x,x,$//
  2114 _ACEOF
  2115 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  2116 rm -f conftest.sed
  2118 # expand $ac_aux_dir to an absolute path
  2119 am_aux_dir=`cd $ac_aux_dir && pwd`
  2121 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2122 # Use eval to expand $SHELL
  2123 if eval "$MISSING --run true"; then
  2124   am_missing_run="$MISSING --run "
  2125 else
  2126   am_missing_run=
  2127   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2128 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2129 fi
  2131 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  2132   # We used to keeping the `.' as first argument, in order to
  2133   # allow $(mkdir_p) to be used without argument.  As in
  2134   #   $(mkdir_p) $(somedir)
  2135   # where $(somedir) is conditionally defined.  However this is wrong
  2136   # for two reasons:
  2137   #  1. if the package is installed by a user who cannot write `.'
  2138   #     make install will fail,
  2139   #  2. the above comment should most certainly read
  2140   #     $(mkdir_p) $(DESTDIR)$(somedir)
  2141   #     so it does not work when $(somedir) is undefined and
  2142   #     $(DESTDIR) is not.
  2143   #  To support the latter case, we have to write
  2144   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  2145   #  so the `.' trick is pointless.
  2146   mkdir_p='mkdir -p --'
  2147 else
  2148   # On NextStep and OpenStep, the `mkdir' command does not
  2149   # recognize any option.  It will interpret all options as
  2150   # directories to create, and then abort because `.' already
  2151   # exists.
  2152   for d in ./-p ./--version;
  2153   do
  2154     test -d $d && rmdir $d
  2155   done
  2156   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  2157   if test -f "$ac_aux_dir/mkinstalldirs"; then
  2158     mkdir_p='$(mkinstalldirs)'
  2159   else
  2160     mkdir_p='$(install_sh) -d'
  2161   fi
  2162 fi
  2164 for ac_prog in gawk mawk nawk awk
  2165 do
  2166   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2167 set dummy $ac_prog; ac_word=$2
  2168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2170 if test "${ac_cv_prog_AWK+set}" = set; then
  2171   echo $ECHO_N "(cached) $ECHO_C" >&6
  2172 else
  2173   if test -n "$AWK"; then
  2174   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2175 else
  2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2177 for as_dir in $PATH
  2178 do
  2179   IFS=$as_save_IFS
  2180   test -z "$as_dir" && as_dir=.
  2181   for ac_exec_ext in '' $ac_executable_extensions; do
  2182   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2183     ac_cv_prog_AWK="$ac_prog"
  2184     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2185     break 2
  2186   fi
  2187 done
  2188 done
  2189 IFS=$as_save_IFS
  2191 fi
  2192 fi
  2193 AWK=$ac_cv_prog_AWK
  2194 if test -n "$AWK"; then
  2195   { echo "$as_me:$LINENO: result: $AWK" >&5
  2196 echo "${ECHO_T}$AWK" >&6; }
  2197 else
  2198   { echo "$as_me:$LINENO: result: no" >&5
  2199 echo "${ECHO_T}no" >&6; }
  2200 fi
  2203   test -n "$AWK" && break
  2204 done
  2206 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2207 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  2208 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2209 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2210   echo $ECHO_N "(cached) $ECHO_C" >&6
  2211 else
  2212   cat >conftest.make <<\_ACEOF
  2213 SHELL = /bin/sh
  2214 all:
  2215 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2216 _ACEOF
  2217 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2218 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2219   *@@@%%%=?*=@@@%%%*)
  2220     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2221   *)
  2222     eval ac_cv_prog_make_${ac_make}_set=no;;
  2223 esac
  2224 rm -f conftest.make
  2225 fi
  2226 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2227   { echo "$as_me:$LINENO: result: yes" >&5
  2228 echo "${ECHO_T}yes" >&6; }
  2229   SET_MAKE=
  2230 else
  2231   { echo "$as_me:$LINENO: result: no" >&5
  2232 echo "${ECHO_T}no" >&6; }
  2233   SET_MAKE="MAKE=${MAKE-make}"
  2234 fi
  2236 rm -rf .tst 2>/dev/null
  2237 mkdir .tst 2>/dev/null
  2238 if test -d .tst; then
  2239   am__leading_dot=.
  2240 else
  2241   am__leading_dot=_
  2242 fi
  2243 rmdir .tst 2>/dev/null
  2245 # test to see if srcdir already configured
  2246 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2247    test -f $srcdir/config.status; then
  2248   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2249 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2250    { (exit 1); exit 1; }; }
  2251 fi
  2253 # test whether we have cygpath
  2254 if test -z "$CYGPATH_W"; then
  2255   if (cygpath --version) >/dev/null 2>/dev/null; then
  2256     CYGPATH_W='cygpath -w'
  2257   else
  2258     CYGPATH_W=echo
  2259   fi
  2260 fi
  2263 # Define the identity of the package.
  2264  PACKAGE=lxdream
  2265  VERSION=0.9.1
  2268 cat >>confdefs.h <<_ACEOF
  2269 #define PACKAGE "$PACKAGE"
  2270 _ACEOF
  2273 cat >>confdefs.h <<_ACEOF
  2274 #define VERSION "$VERSION"
  2275 _ACEOF
  2277 # Some tools Automake needs.
  2279 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2282 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2285 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2288 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2291 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2293 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2295 # Installed binaries are usually stripped using `strip' when the user
  2296 # run `make install-strip'.  However `strip' might not be the right
  2297 # tool to use in cross-compilation environments, therefore Automake
  2298 # will honor the `STRIP' environment variable to overrule this program.
  2299 if test "$cross_compiling" != no; then
  2300   if test -n "$ac_tool_prefix"; then
  2301   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2302 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2305 if test "${ac_cv_prog_STRIP+set}" = set; then
  2306   echo $ECHO_N "(cached) $ECHO_C" >&6
  2307 else
  2308   if test -n "$STRIP"; then
  2309   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2310 else
  2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2312 for as_dir in $PATH
  2313 do
  2314   IFS=$as_save_IFS
  2315   test -z "$as_dir" && as_dir=.
  2316   for ac_exec_ext in '' $ac_executable_extensions; do
  2317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2318     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2319     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2320     break 2
  2321   fi
  2322 done
  2323 done
  2324 IFS=$as_save_IFS
  2326 fi
  2327 fi
  2328 STRIP=$ac_cv_prog_STRIP
  2329 if test -n "$STRIP"; then
  2330   { echo "$as_me:$LINENO: result: $STRIP" >&5
  2331 echo "${ECHO_T}$STRIP" >&6; }
  2332 else
  2333   { echo "$as_me:$LINENO: result: no" >&5
  2334 echo "${ECHO_T}no" >&6; }
  2335 fi
  2338 fi
  2339 if test -z "$ac_cv_prog_STRIP"; then
  2340   ac_ct_STRIP=$STRIP
  2341   # Extract the first word of "strip", so it can be a program name with args.
  2342 set dummy strip; ac_word=$2
  2343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2345 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2346   echo $ECHO_N "(cached) $ECHO_C" >&6
  2347 else
  2348   if test -n "$ac_ct_STRIP"; then
  2349   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2350 else
  2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2352 for as_dir in $PATH
  2353 do
  2354   IFS=$as_save_IFS
  2355   test -z "$as_dir" && as_dir=.
  2356   for ac_exec_ext in '' $ac_executable_extensions; do
  2357   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2358     ac_cv_prog_ac_ct_STRIP="strip"
  2359     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2360     break 2
  2361   fi
  2362 done
  2363 done
  2364 IFS=$as_save_IFS
  2366 fi
  2367 fi
  2368 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2369 if test -n "$ac_ct_STRIP"; then
  2370   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2371 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  2372 else
  2373   { echo "$as_me:$LINENO: result: no" >&5
  2374 echo "${ECHO_T}no" >&6; }
  2375 fi
  2377   if test "x$ac_ct_STRIP" = x; then
  2378     STRIP=":"
  2379   else
  2380     case $cross_compiling:$ac_tool_warned in
  2381 yes:)
  2382 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2383 whose name does not start with the host triplet.  If you think this
  2384 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2385 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2386 whose name does not start with the host triplet.  If you think this
  2387 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2388 ac_tool_warned=yes ;;
  2389 esac
  2390     STRIP=$ac_ct_STRIP
  2391   fi
  2392 else
  2393   STRIP="$ac_cv_prog_STRIP"
  2394 fi
  2396 fi
  2397 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2399 # We need awk for the "check" target.  The system "awk" is bad on
  2400 # some platforms.
  2401 # Always define AMTAR for backward compatibility.
  2403 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2405 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2411 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2412 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
  2413     # Check whether --enable-maintainer-mode was given.
  2414 if test "${enable_maintainer_mode+set}" = set; then
  2415   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2416 else
  2417   USE_MAINTAINER_MODE=no
  2418 fi
  2420   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2421 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
  2424 if test $USE_MAINTAINER_MODE = yes; then
  2425   MAINTAINER_MODE_TRUE=
  2426   MAINTAINER_MODE_FALSE='#'
  2427 else
  2428   MAINTAINER_MODE_TRUE='#'
  2429   MAINTAINER_MODE_FALSE=
  2430 fi
  2432   MAINT=$MAINTAINER_MODE_TRUE
  2435 ac_config_headers="$ac_config_headers config.h"
  2438 # Make sure we can run config.sub.
  2439 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2440   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  2441 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  2442    { (exit 1); exit 1; }; }
  2444 { echo "$as_me:$LINENO: checking build system type" >&5
  2445 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  2446 if test "${ac_cv_build+set}" = set; then
  2447   echo $ECHO_N "(cached) $ECHO_C" >&6
  2448 else
  2449   ac_build_alias=$build_alias
  2450 test "x$ac_build_alias" = x &&
  2451   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2452 test "x$ac_build_alias" = x &&
  2453   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  2454 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  2455    { (exit 1); exit 1; }; }
  2456 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2457   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  2458 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  2459    { (exit 1); exit 1; }; }
  2461 fi
  2462 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  2463 echo "${ECHO_T}$ac_cv_build" >&6; }
  2464 case $ac_cv_build in
  2465 *-*-*) ;;
  2466 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  2467 echo "$as_me: error: invalid value of canonical build" >&2;}
  2468    { (exit 1); exit 1; }; };;
  2469 esac
  2470 build=$ac_cv_build
  2471 ac_save_IFS=$IFS; IFS='-'
  2472 set x $ac_cv_build
  2473 shift
  2474 build_cpu=$1
  2475 build_vendor=$2
  2476 shift; shift
  2477 # Remember, the first character of IFS is used to create $*,
  2478 # except with old shells:
  2479 build_os=$*
  2480 IFS=$ac_save_IFS
  2481 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2484 { echo "$as_me:$LINENO: checking host system type" >&5
  2485 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  2486 if test "${ac_cv_host+set}" = set; then
  2487   echo $ECHO_N "(cached) $ECHO_C" >&6
  2488 else
  2489   if test "x$host_alias" = x; then
  2490   ac_cv_host=$ac_cv_build
  2491 else
  2492   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2493     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  2494 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  2495    { (exit 1); exit 1; }; }
  2496 fi
  2498 fi
  2499 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  2500 echo "${ECHO_T}$ac_cv_host" >&6; }
  2501 case $ac_cv_host in
  2502 *-*-*) ;;
  2503 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  2504 echo "$as_me: error: invalid value of canonical host" >&2;}
  2505    { (exit 1); exit 1; }; };;
  2506 esac
  2507 host=$ac_cv_host
  2508 ac_save_IFS=$IFS; IFS='-'
  2509 set x $ac_cv_host
  2510 shift
  2511 host_cpu=$1
  2512 host_vendor=$2
  2513 shift; shift
  2514 # Remember, the first character of IFS is used to create $*,
  2515 # except with old shells:
  2516 host_os=$*
  2517 IFS=$ac_save_IFS
  2518 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2529 # LX_ANDROID_BUILD
  2530 # Defines --with-android, --with-android-ndk, and --with-android-version
  2531 # If specified, checks for a working install, and sets build parameters
  2532 # appropriately for an Android host.
  2536 DEPDIR="${am__leading_dot}deps"
  2538 ac_config_commands="$ac_config_commands depfiles"
  2541 am_make=${MAKE-make}
  2542 cat > confinc << 'END'
  2543 am__doit:
  2544 	@echo done
  2545 .PHONY: am__doit
  2546 END
  2547 # If we don't find an include directive, just comment out the code.
  2548 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2549 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  2550 am__include="#"
  2551 am__quote=
  2552 _am_result=none
  2553 # First try GNU make style include.
  2554 echo "include confinc" > confmf
  2555 # We grep out `Entering directory' and `Leaving directory'
  2556 # messages which can occur if `w' ends up in MAKEFLAGS.
  2557 # In particular we don't look at `^make:' because GNU make might
  2558 # be invoked under some other name (usually "gmake"), in which
  2559 # case it prints its new name instead of `make'.
  2560 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2561    am__include=include
  2562    am__quote=
  2563    _am_result=GNU
  2564 fi
  2565 # Now try BSD make style include.
  2566 if test "$am__include" = "#"; then
  2567    echo '.include "confinc"' > confmf
  2568    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2569       am__include=.include
  2570       am__quote="\""
  2571       _am_result=BSD
  2572    fi
  2573 fi
  2576 { echo "$as_me:$LINENO: result: $_am_result" >&5
  2577 echo "${ECHO_T}$_am_result" >&6; }
  2578 rm -f confinc confmf
  2580 # Check whether --enable-dependency-tracking was given.
  2581 if test "${enable_dependency_tracking+set}" = set; then
  2582   enableval=$enable_dependency_tracking;
  2583 fi
  2585 if test "x$enable_dependency_tracking" != xno; then
  2586   am_depcomp="$ac_aux_dir/depcomp"
  2587   AMDEPBACKSLASH='\'
  2588 fi
  2591 if test "x$enable_dependency_tracking" != xno; then
  2592   AMDEP_TRUE=
  2593   AMDEP_FALSE='#'
  2594 else
  2595   AMDEP_TRUE='#'
  2596   AMDEP_FALSE=
  2597 fi
  2601 ac_ext=c
  2602 ac_cpp='$CPP $CPPFLAGS'
  2603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2606 if test -n "$ac_tool_prefix"; then
  2607   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2608 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2611 if test "${ac_cv_prog_CC+set}" = set; then
  2612   echo $ECHO_N "(cached) $ECHO_C" >&6
  2613 else
  2614   if test -n "$CC"; then
  2615   ac_cv_prog_CC="$CC" # Let the user override the test.
  2616 else
  2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2618 for as_dir in $PATH
  2619 do
  2620   IFS=$as_save_IFS
  2621   test -z "$as_dir" && as_dir=.
  2622   for ac_exec_ext in '' $ac_executable_extensions; do
  2623   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2624     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2625     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2626     break 2
  2627   fi
  2628 done
  2629 done
  2630 IFS=$as_save_IFS
  2632 fi
  2633 fi
  2634 CC=$ac_cv_prog_CC
  2635 if test -n "$CC"; then
  2636   { echo "$as_me:$LINENO: result: $CC" >&5
  2637 echo "${ECHO_T}$CC" >&6; }
  2638 else
  2639   { echo "$as_me:$LINENO: result: no" >&5
  2640 echo "${ECHO_T}no" >&6; }
  2641 fi
  2644 fi
  2645 if test -z "$ac_cv_prog_CC"; then
  2646   ac_ct_CC=$CC
  2647   # Extract the first word of "gcc", so it can be a program name with args.
  2648 set dummy gcc; ac_word=$2
  2649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2652   echo $ECHO_N "(cached) $ECHO_C" >&6
  2653 else
  2654   if test -n "$ac_ct_CC"; then
  2655   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2656 else
  2657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2658 for as_dir in $PATH
  2659 do
  2660   IFS=$as_save_IFS
  2661   test -z "$as_dir" && as_dir=.
  2662   for ac_exec_ext in '' $ac_executable_extensions; do
  2663   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2664     ac_cv_prog_ac_ct_CC="gcc"
  2665     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2666     break 2
  2667   fi
  2668 done
  2669 done
  2670 IFS=$as_save_IFS
  2672 fi
  2673 fi
  2674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2675 if test -n "$ac_ct_CC"; then
  2676   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2677 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2678 else
  2679   { echo "$as_me:$LINENO: result: no" >&5
  2680 echo "${ECHO_T}no" >&6; }
  2681 fi
  2683   if test "x$ac_ct_CC" = x; then
  2684     CC=""
  2685   else
  2686     case $cross_compiling:$ac_tool_warned in
  2687 yes:)
  2688 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2689 whose name does not start with the host triplet.  If you think this
  2690 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2691 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2692 whose name does not start with the host triplet.  If you think this
  2693 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2694 ac_tool_warned=yes ;;
  2695 esac
  2696     CC=$ac_ct_CC
  2697   fi
  2698 else
  2699   CC="$ac_cv_prog_CC"
  2700 fi
  2702 if test -z "$CC"; then
  2703           if test -n "$ac_tool_prefix"; then
  2704     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2705 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2706 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2708 if test "${ac_cv_prog_CC+set}" = set; then
  2709   echo $ECHO_N "(cached) $ECHO_C" >&6
  2710 else
  2711   if test -n "$CC"; then
  2712   ac_cv_prog_CC="$CC" # Let the user override the test.
  2713 else
  2714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2715 for as_dir in $PATH
  2716 do
  2717   IFS=$as_save_IFS
  2718   test -z "$as_dir" && as_dir=.
  2719   for ac_exec_ext in '' $ac_executable_extensions; do
  2720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2721     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2722     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2723     break 2
  2724   fi
  2725 done
  2726 done
  2727 IFS=$as_save_IFS
  2729 fi
  2730 fi
  2731 CC=$ac_cv_prog_CC
  2732 if test -n "$CC"; then
  2733   { echo "$as_me:$LINENO: result: $CC" >&5
  2734 echo "${ECHO_T}$CC" >&6; }
  2735 else
  2736   { echo "$as_me:$LINENO: result: no" >&5
  2737 echo "${ECHO_T}no" >&6; }
  2738 fi
  2741   fi
  2742 fi
  2743 if test -z "$CC"; then
  2744   # Extract the first word of "cc", so it can be a program name with args.
  2745 set dummy cc; ac_word=$2
  2746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2748 if test "${ac_cv_prog_CC+set}" = set; then
  2749   echo $ECHO_N "(cached) $ECHO_C" >&6
  2750 else
  2751   if test -n "$CC"; then
  2752   ac_cv_prog_CC="$CC" # Let the user override the test.
  2753 else
  2754   ac_prog_rejected=no
  2755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2756 for as_dir in $PATH
  2757 do
  2758   IFS=$as_save_IFS
  2759   test -z "$as_dir" && as_dir=.
  2760   for ac_exec_ext in '' $ac_executable_extensions; do
  2761   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2762     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2763        ac_prog_rejected=yes
  2764        continue
  2765      fi
  2766     ac_cv_prog_CC="cc"
  2767     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2768     break 2
  2769   fi
  2770 done
  2771 done
  2772 IFS=$as_save_IFS
  2774 if test $ac_prog_rejected = yes; then
  2775   # We found a bogon in the path, so make sure we never use it.
  2776   set dummy $ac_cv_prog_CC
  2777   shift
  2778   if test $# != 0; then
  2779     # We chose a different compiler from the bogus one.
  2780     # However, it has the same basename, so the bogon will be chosen
  2781     # first if we set CC to just the basename; use the full file name.
  2782     shift
  2783     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2784   fi
  2785 fi
  2786 fi
  2787 fi
  2788 CC=$ac_cv_prog_CC
  2789 if test -n "$CC"; then
  2790   { echo "$as_me:$LINENO: result: $CC" >&5
  2791 echo "${ECHO_T}$CC" >&6; }
  2792 else
  2793   { echo "$as_me:$LINENO: result: no" >&5
  2794 echo "${ECHO_T}no" >&6; }
  2795 fi
  2798 fi
  2799 if test -z "$CC"; then
  2800   if test -n "$ac_tool_prefix"; then
  2801   for ac_prog in cl.exe
  2802   do
  2803     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2804 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2807 if test "${ac_cv_prog_CC+set}" = set; then
  2808   echo $ECHO_N "(cached) $ECHO_C" >&6
  2809 else
  2810   if test -n "$CC"; then
  2811   ac_cv_prog_CC="$CC" # Let the user override the test.
  2812 else
  2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2814 for as_dir in $PATH
  2815 do
  2816   IFS=$as_save_IFS
  2817   test -z "$as_dir" && as_dir=.
  2818   for ac_exec_ext in '' $ac_executable_extensions; do
  2819   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2820     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2821     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2822     break 2
  2823   fi
  2824 done
  2825 done
  2826 IFS=$as_save_IFS
  2828 fi
  2829 fi
  2830 CC=$ac_cv_prog_CC
  2831 if test -n "$CC"; then
  2832   { echo "$as_me:$LINENO: result: $CC" >&5
  2833 echo "${ECHO_T}$CC" >&6; }
  2834 else
  2835   { echo "$as_me:$LINENO: result: no" >&5
  2836 echo "${ECHO_T}no" >&6; }
  2837 fi
  2840     test -n "$CC" && break
  2841   done
  2842 fi
  2843 if test -z "$CC"; then
  2844   ac_ct_CC=$CC
  2845   for ac_prog in cl.exe
  2846 do
  2847   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2848 set dummy $ac_prog; ac_word=$2
  2849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2851 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2852   echo $ECHO_N "(cached) $ECHO_C" >&6
  2853 else
  2854   if test -n "$ac_ct_CC"; then
  2855   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2856 else
  2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2858 for as_dir in $PATH
  2859 do
  2860   IFS=$as_save_IFS
  2861   test -z "$as_dir" && as_dir=.
  2862   for ac_exec_ext in '' $ac_executable_extensions; do
  2863   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2864     ac_cv_prog_ac_ct_CC="$ac_prog"
  2865     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2866     break 2
  2867   fi
  2868 done
  2869 done
  2870 IFS=$as_save_IFS
  2872 fi
  2873 fi
  2874 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2875 if test -n "$ac_ct_CC"; then
  2876   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2877 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2878 else
  2879   { echo "$as_me:$LINENO: result: no" >&5
  2880 echo "${ECHO_T}no" >&6; }
  2881 fi
  2884   test -n "$ac_ct_CC" && break
  2885 done
  2887   if test "x$ac_ct_CC" = x; then
  2888     CC=""
  2889   else
  2890     case $cross_compiling:$ac_tool_warned in
  2891 yes:)
  2892 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2893 whose name does not start with the host triplet.  If you think this
  2894 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2895 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2896 whose name does not start with the host triplet.  If you think this
  2897 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2898 ac_tool_warned=yes ;;
  2899 esac
  2900     CC=$ac_ct_CC
  2901   fi
  2902 fi
  2904 fi
  2907 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2908 See \`config.log' for more details." >&5
  2909 echo "$as_me: error: no acceptable C compiler found in \$PATH
  2910 See \`config.log' for more details." >&2;}
  2911    { (exit 1); exit 1; }; }
  2913 # Provide some information about the compiler.
  2914 echo "$as_me:$LINENO: checking for C compiler version" >&5
  2915 ac_compiler=`set X $ac_compile; echo $2`
  2916 { (ac_try="$ac_compiler --version >&5"
  2917 case "(($ac_try" in
  2918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2919   *) ac_try_echo=$ac_try;;
  2920 esac
  2921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2922   (eval "$ac_compiler --version >&5") 2>&5
  2923   ac_status=$?
  2924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2925   (exit $ac_status); }
  2926 { (ac_try="$ac_compiler -v >&5"
  2927 case "(($ac_try" in
  2928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2929   *) ac_try_echo=$ac_try;;
  2930 esac
  2931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2932   (eval "$ac_compiler -v >&5") 2>&5
  2933   ac_status=$?
  2934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2935   (exit $ac_status); }
  2936 { (ac_try="$ac_compiler -V >&5"
  2937 case "(($ac_try" in
  2938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2939   *) ac_try_echo=$ac_try;;
  2940 esac
  2941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2942   (eval "$ac_compiler -V >&5") 2>&5
  2943   ac_status=$?
  2944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2945   (exit $ac_status); }
  2947 cat >conftest.$ac_ext <<_ACEOF
  2948 /* confdefs.h.  */
  2949 _ACEOF
  2950 cat confdefs.h >>conftest.$ac_ext
  2951 cat >>conftest.$ac_ext <<_ACEOF
  2952 /* end confdefs.h.  */
  2954 int
  2955 main ()
  2959   return 0;
  2961 _ACEOF
  2962 ac_clean_files_save=$ac_clean_files
  2963 ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2964 # Try to create an executable without -o first, disregard a.out.
  2965 # It will help us diagnose broken compilers, and finding out an intuition
  2966 # of exeext.
  2967 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2968 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2969 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2971 # List of possible output files, starting from the most likely.
  2972 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2973 # only as a last resort.  b.out is created by i960 compilers.
  2974 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2976 # The IRIX 6 linker writes into existing files which may not be
  2977 # executable, retaining their permissions.  Remove them first so a
  2978 # subsequent execution test works.
  2979 ac_rmfiles=
  2980 for ac_file in $ac_files
  2981 do
  2982   case $ac_file in
  2983     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2984     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2985   esac
  2986 done
  2987 rm -f $ac_rmfiles
  2989 if { (ac_try="$ac_link_default"
  2990 case "(($ac_try" in
  2991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2992   *) ac_try_echo=$ac_try;;
  2993 esac
  2994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2995   (eval "$ac_link_default") 2>&5
  2996   ac_status=$?
  2997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2998   (exit $ac_status); }; then
  2999   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3000 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3001 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  3002 # so that the user can short-circuit this test for compilers unknown to
  3003 # Autoconf.
  3004 for ac_file in $ac_files ''
  3005 do
  3006   test -f "$ac_file" || continue
  3007   case $ac_file in
  3008     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  3009 	;;
  3010     [ab].out )
  3011 	# We found the default executable, but exeext='' is most
  3012 	# certainly right.
  3013 	break;;
  3014     *.* )
  3015         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3016 	then :; else
  3017 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3018 	fi
  3019 	# We set ac_cv_exeext here because the later test for it is not
  3020 	# safe: cross compilers may not add the suffix if given an `-o'
  3021 	# argument, so we may need to know it at that point already.
  3022 	# Even if this section looks crufty: it has the advantage of
  3023 	# actually working.
  3024 	break;;
  3025     * )
  3026 	break;;
  3027   esac
  3028 done
  3029 test "$ac_cv_exeext" = no && ac_cv_exeext=
  3031 else
  3032   ac_file=''
  3033 fi
  3035 { echo "$as_me:$LINENO: result: $ac_file" >&5
  3036 echo "${ECHO_T}$ac_file" >&6; }
  3037 if test -z "$ac_file"; then
  3038   echo "$as_me: failed program was:" >&5
  3039 sed 's/^/| /' conftest.$ac_ext >&5
  3041 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  3042 See \`config.log' for more details." >&5
  3043 echo "$as_me: error: C compiler cannot create executables
  3044 See \`config.log' for more details." >&2;}
  3045    { (exit 77); exit 77; }; }
  3046 fi
  3048 ac_exeext=$ac_cv_exeext
  3050 # Check that the compiler produces executables we can run.  If not, either
  3051 # the compiler is broken, or we cross compile.
  3052 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  3053 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  3054 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  3055 # If not cross compiling, check that we can run a simple program.
  3056 if test "$cross_compiling" != yes; then
  3057   if { ac_try='./$ac_file'
  3058   { (case "(($ac_try" in
  3059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3060   *) ac_try_echo=$ac_try;;
  3061 esac
  3062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3063   (eval "$ac_try") 2>&5
  3064   ac_status=$?
  3065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3066   (exit $ac_status); }; }; then
  3067     cross_compiling=no
  3068   else
  3069     if test "$cross_compiling" = maybe; then
  3070 	cross_compiling=yes
  3071     else
  3072 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  3073 If you meant to cross compile, use \`--host'.
  3074 See \`config.log' for more details." >&5
  3075 echo "$as_me: error: cannot run C compiled programs.
  3076 If you meant to cross compile, use \`--host'.
  3077 See \`config.log' for more details." >&2;}
  3078    { (exit 1); exit 1; }; }
  3079     fi
  3080   fi
  3081 fi
  3082 { echo "$as_me:$LINENO: result: yes" >&5
  3083 echo "${ECHO_T}yes" >&6; }
  3085 rm -f a.out a.exe conftest$ac_cv_exeext b.out
  3086 ac_clean_files=$ac_clean_files_save
  3087 # Check that the compiler produces executables we can run.  If not, either
  3088 # the compiler is broken, or we cross compile.
  3089 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  3090 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  3091 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
  3092 echo "${ECHO_T}$cross_compiling" >&6; }
  3094 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
  3095 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  3096 if { (ac_try="$ac_link"
  3097 case "(($ac_try" in
  3098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3099   *) ac_try_echo=$ac_try;;
  3100 esac
  3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3102   (eval "$ac_link") 2>&5
  3103   ac_status=$?
  3104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3105   (exit $ac_status); }; then
  3106   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3107 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3108 # work properly (i.e., refer to `conftest.exe'), while it won't with
  3109 # `rm'.
  3110 for ac_file in conftest.exe conftest conftest.*; do
  3111   test -f "$ac_file" || continue
  3112   case $ac_file in
  3113     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  3114     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3115 	  break;;
  3116     * ) break;;
  3117   esac
  3118 done
  3119 else
  3120   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  3121 See \`config.log' for more details." >&5
  3122 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  3123 See \`config.log' for more details." >&2;}
  3124    { (exit 1); exit 1; }; }
  3125 fi
  3127 rm -f conftest$ac_cv_exeext
  3128 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  3129 echo "${ECHO_T}$ac_cv_exeext" >&6; }
  3131 rm -f conftest.$ac_ext
  3132 EXEEXT=$ac_cv_exeext
  3133 ac_exeext=$EXEEXT
  3134 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
  3135 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  3136 if test "${ac_cv_objext+set}" = set; then
  3137   echo $ECHO_N "(cached) $ECHO_C" >&6
  3138 else
  3139   cat >conftest.$ac_ext <<_ACEOF
  3140 /* confdefs.h.  */
  3141 _ACEOF
  3142 cat confdefs.h >>conftest.$ac_ext
  3143 cat >>conftest.$ac_ext <<_ACEOF
  3144 /* end confdefs.h.  */
  3146 int
  3147 main ()
  3151   return 0;
  3153 _ACEOF
  3154 rm -f conftest.o conftest.obj
  3155 if { (ac_try="$ac_compile"
  3156 case "(($ac_try" in
  3157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3158   *) ac_try_echo=$ac_try;;
  3159 esac
  3160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3161   (eval "$ac_compile") 2>&5
  3162   ac_status=$?
  3163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3164   (exit $ac_status); }; then
  3165   for ac_file in conftest.o conftest.obj conftest.*; do
  3166   test -f "$ac_file" || continue;
  3167   case $ac_file in
  3168     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  3169     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3170        break;;
  3171   esac
  3172 done
  3173 else
  3174   echo "$as_me: failed program was:" >&5
  3175 sed 's/^/| /' conftest.$ac_ext >&5
  3177 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  3178 See \`config.log' for more details." >&5
  3179 echo "$as_me: error: cannot compute suffix of object files: cannot compile
  3180 See \`config.log' for more details." >&2;}
  3181    { (exit 1); exit 1; }; }
  3182 fi
  3184 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3185 fi
  3186 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  3187 echo "${ECHO_T}$ac_cv_objext" >&6; }
  3188 OBJEXT=$ac_cv_objext
  3189 ac_objext=$OBJEXT
  3190 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3191 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  3192 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3193   echo $ECHO_N "(cached) $ECHO_C" >&6
  3194 else
  3195   cat >conftest.$ac_ext <<_ACEOF
  3196 /* confdefs.h.  */
  3197 _ACEOF
  3198 cat confdefs.h >>conftest.$ac_ext
  3199 cat >>conftest.$ac_ext <<_ACEOF
  3200 /* end confdefs.h.  */
  3202 int
  3203 main ()
  3205 #ifndef __GNUC__
  3206        choke me
  3207 #endif
  3210   return 0;
  3212 _ACEOF
  3213 rm -f conftest.$ac_objext
  3214 if { (ac_try="$ac_compile"
  3215 case "(($ac_try" in
  3216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3217   *) ac_try_echo=$ac_try;;
  3218 esac
  3219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3220   (eval "$ac_compile") 2>conftest.er1
  3221   ac_status=$?
  3222   grep -v '^ *+' conftest.er1 >conftest.err
  3223   rm -f conftest.er1
  3224   cat conftest.err >&5
  3225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3226   (exit $ac_status); } && {
  3227 	 test -z "$ac_c_werror_flag" ||
  3228 	 test ! -s conftest.err
  3229        } && test -s conftest.$ac_objext; then
  3230   ac_compiler_gnu=yes
  3231 else
  3232   echo "$as_me: failed program was:" >&5
  3233 sed 's/^/| /' conftest.$ac_ext >&5
  3235 	ac_compiler_gnu=no
  3236 fi
  3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3239 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3241 fi
  3242 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3243 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  3244 GCC=`test $ac_compiler_gnu = yes && echo yes`
  3245 ac_test_CFLAGS=${CFLAGS+set}
  3246 ac_save_CFLAGS=$CFLAGS
  3247 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3248 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  3249 if test "${ac_cv_prog_cc_g+set}" = set; then
  3250   echo $ECHO_N "(cached) $ECHO_C" >&6
  3251 else
  3252   ac_save_c_werror_flag=$ac_c_werror_flag
  3253    ac_c_werror_flag=yes
  3254    ac_cv_prog_cc_g=no
  3255    CFLAGS="-g"
  3256    cat >conftest.$ac_ext <<_ACEOF
  3257 /* confdefs.h.  */
  3258 _ACEOF
  3259 cat confdefs.h >>conftest.$ac_ext
  3260 cat >>conftest.$ac_ext <<_ACEOF
  3261 /* end confdefs.h.  */
  3263 int
  3264 main ()
  3268   return 0;
  3270 _ACEOF
  3271 rm -f conftest.$ac_objext
  3272 if { (ac_try="$ac_compile"
  3273 case "(($ac_try" in
  3274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3275   *) ac_try_echo=$ac_try;;
  3276 esac
  3277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3278   (eval "$ac_compile") 2>conftest.er1
  3279   ac_status=$?
  3280   grep -v '^ *+' conftest.er1 >conftest.err
  3281   rm -f conftest.er1
  3282   cat conftest.err >&5
  3283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3284   (exit $ac_status); } && {
  3285 	 test -z "$ac_c_werror_flag" ||
  3286 	 test ! -s conftest.err
  3287        } && test -s conftest.$ac_objext; then
  3288   ac_cv_prog_cc_g=yes
  3289 else
  3290   echo "$as_me: failed program was:" >&5
  3291 sed 's/^/| /' conftest.$ac_ext >&5
  3293 	CFLAGS=""
  3294       cat >conftest.$ac_ext <<_ACEOF
  3295 /* confdefs.h.  */
  3296 _ACEOF
  3297 cat confdefs.h >>conftest.$ac_ext
  3298 cat >>conftest.$ac_ext <<_ACEOF
  3299 /* end confdefs.h.  */
  3301 int
  3302 main ()
  3306   return 0;
  3308 _ACEOF
  3309 rm -f conftest.$ac_objext
  3310 if { (ac_try="$ac_compile"
  3311 case "(($ac_try" in
  3312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3313   *) ac_try_echo=$ac_try;;
  3314 esac
  3315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3316   (eval "$ac_compile") 2>conftest.er1
  3317   ac_status=$?
  3318   grep -v '^ *+' conftest.er1 >conftest.err
  3319   rm -f conftest.er1
  3320   cat conftest.err >&5
  3321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3322   (exit $ac_status); } && {
  3323 	 test -z "$ac_c_werror_flag" ||
  3324 	 test ! -s conftest.err
  3325        } && test -s conftest.$ac_objext; then
  3327 else
  3328   echo "$as_me: failed program was:" >&5
  3329 sed 's/^/| /' conftest.$ac_ext >&5
  3331 	ac_c_werror_flag=$ac_save_c_werror_flag
  3332 	 CFLAGS="-g"
  3333 	 cat >conftest.$ac_ext <<_ACEOF
  3334 /* confdefs.h.  */
  3335 _ACEOF
  3336 cat confdefs.h >>conftest.$ac_ext
  3337 cat >>conftest.$ac_ext <<_ACEOF
  3338 /* end confdefs.h.  */
  3340 int
  3341 main ()
  3345   return 0;
  3347 _ACEOF
  3348 rm -f conftest.$ac_objext
  3349 if { (ac_try="$ac_compile"
  3350 case "(($ac_try" in
  3351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3352   *) ac_try_echo=$ac_try;;
  3353 esac
  3354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3355   (eval "$ac_compile") 2>conftest.er1
  3356   ac_status=$?
  3357   grep -v '^ *+' conftest.er1 >conftest.err
  3358   rm -f conftest.er1
  3359   cat conftest.err >&5
  3360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3361   (exit $ac_status); } && {
  3362 	 test -z "$ac_c_werror_flag" ||
  3363 	 test ! -s conftest.err
  3364        } && test -s conftest.$ac_objext; then
  3365   ac_cv_prog_cc_g=yes
  3366 else
  3367   echo "$as_me: failed program was:" >&5
  3368 sed 's/^/| /' conftest.$ac_ext >&5
  3371 fi
  3373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3374 fi
  3376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3377 fi
  3379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3380    ac_c_werror_flag=$ac_save_c_werror_flag
  3381 fi
  3382 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3383 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  3384 if test "$ac_test_CFLAGS" = set; then
  3385   CFLAGS=$ac_save_CFLAGS
  3386 elif test $ac_cv_prog_cc_g = yes; then
  3387   if test "$GCC" = yes; then
  3388     CFLAGS="-g -O2"
  3389   else
  3390     CFLAGS="-g"
  3391   fi
  3392 else
  3393   if test "$GCC" = yes; then
  3394     CFLAGS="-O2"
  3395   else
  3396     CFLAGS=
  3397   fi
  3398 fi
  3399 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3400 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3401 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3402   echo $ECHO_N "(cached) $ECHO_C" >&6
  3403 else
  3404   ac_cv_prog_cc_c89=no
  3405 ac_save_CC=$CC
  3406 cat >conftest.$ac_ext <<_ACEOF
  3407 /* confdefs.h.  */
  3408 _ACEOF
  3409 cat confdefs.h >>conftest.$ac_ext
  3410 cat >>conftest.$ac_ext <<_ACEOF
  3411 /* end confdefs.h.  */
  3412 #include <stdarg.h>
  3413 #include <stdio.h>
  3414 #include <sys/types.h>
  3415 #include <sys/stat.h>
  3416 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3417 struct buf { int x; };
  3418 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3419 static char *e (p, i)
  3420      char **p;
  3421      int i;
  3423   return p[i];
  3425 static char *f (char * (*g) (char **, int), char **p, ...)
  3427   char *s;
  3428   va_list v;
  3429   va_start (v,p);
  3430   s = g (p, va_arg (v,int));
  3431   va_end (v);
  3432   return s;
  3435 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3436    function prototypes and stuff, but not '\xHH' hex character constants.
  3437    These don't provoke an error unfortunately, instead are silently treated
  3438    as 'x'.  The following induces an error, until -std is added to get
  3439    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3440    array size at least.  It's necessary to write '\x00'==0 to get something
  3441    that's true only with -std.  */
  3442 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3444 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3445    inside strings and character constants.  */
  3446 #define FOO(x) 'x'
  3447 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3449 int test (int i, double x);
  3450 struct s1 {int (*f) (int a);};
  3451 struct s2 {int (*f) (double a);};
  3452 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3453 int argc;
  3454 char **argv;
  3455 int
  3456 main ()
  3458 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3460   return 0;
  3462 _ACEOF
  3463 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3464 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3465 do
  3466   CC="$ac_save_CC $ac_arg"
  3467   rm -f conftest.$ac_objext
  3468 if { (ac_try="$ac_compile"
  3469 case "(($ac_try" in
  3470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3471   *) ac_try_echo=$ac_try;;
  3472 esac
  3473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3474   (eval "$ac_compile") 2>conftest.er1
  3475   ac_status=$?
  3476   grep -v '^ *+' conftest.er1 >conftest.err
  3477   rm -f conftest.er1
  3478   cat conftest.err >&5
  3479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3480   (exit $ac_status); } && {
  3481 	 test -z "$ac_c_werror_flag" ||
  3482 	 test ! -s conftest.err
  3483        } && test -s conftest.$ac_objext; then
  3484   ac_cv_prog_cc_c89=$ac_arg
  3485 else
  3486   echo "$as_me: failed program was:" >&5
  3487 sed 's/^/| /' conftest.$ac_ext >&5
  3490 fi
  3492 rm -f core conftest.err conftest.$ac_objext
  3493   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3494 done
  3495 rm -f conftest.$ac_ext
  3496 CC=$ac_save_CC
  3498 fi
  3499 # AC_CACHE_VAL
  3500 case "x$ac_cv_prog_cc_c89" in
  3501   x)
  3502     { echo "$as_me:$LINENO: result: none needed" >&5
  3503 echo "${ECHO_T}none needed" >&6; } ;;
  3504   xno)
  3505     { echo "$as_me:$LINENO: result: unsupported" >&5
  3506 echo "${ECHO_T}unsupported" >&6; } ;;
  3507   *)
  3508     CC="$CC $ac_cv_prog_cc_c89"
  3509     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3510 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  3511 esac
  3514 ac_ext=c
  3515 ac_cpp='$CPP $CPPFLAGS'
  3516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3520 depcc="$CC"   am_compiler_list=
  3522 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3523 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  3524 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3525   echo $ECHO_N "(cached) $ECHO_C" >&6
  3526 else
  3527   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3528   # We make a subdir and do the tests there.  Otherwise we can end up
  3529   # making bogus files that we don't know about and never remove.  For
  3530   # instance it was reported that on HP-UX the gcc test will end up
  3531   # making a dummy file named `D' -- because `-MD' means `put the output
  3532   # in D'.
  3533   mkdir conftest.dir
  3534   # Copy depcomp to subdir because otherwise we won't find it if we're
  3535   # using a relative directory.
  3536   cp "$am_depcomp" conftest.dir
  3537   cd conftest.dir
  3538   # We will build objects and dependencies in a subdirectory because
  3539   # it helps to detect inapplicable dependency modes.  For instance
  3540   # both Tru64's cc and ICC support -MD to output dependencies as a
  3541   # side effect of compilation, but ICC will put the dependencies in
  3542   # the current directory while Tru64 will put them in the object
  3543   # directory.
  3544   mkdir sub
  3546   am_cv_CC_dependencies_compiler_type=none
  3547   if test "$am_compiler_list" = ""; then
  3548      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3549   fi
  3550   for depmode in $am_compiler_list; do
  3551     # Setup a source with many dependencies, because some compilers
  3552     # like to wrap large dependency lists on column 80 (with \), and
  3553     # we should not choose a depcomp mode which is confused by this.
  3555     # We need to recreate these files for each test, as the compiler may
  3556     # overwrite some of them when testing with obscure command lines.
  3557     # This happens at least with the AIX C compiler.
  3558     : > sub/conftest.c
  3559     for i in 1 2 3 4 5 6; do
  3560       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3561       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3562       # Solaris 8's {/usr,}/bin/sh.
  3563       touch sub/conftst$i.h
  3564     done
  3565     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3567     case $depmode in
  3568     nosideeffect)
  3569       # after this tag, mechanisms are not by side-effect, so they'll
  3570       # only be used when explicitly requested
  3571       if test "x$enable_dependency_tracking" = xyes; then
  3572 	continue
  3573       else
  3574 	break
  3575       fi
  3576       ;;
  3577     none) break ;;
  3578     esac
  3579     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3580     # mode.  It turns out that the SunPro C++ compiler does not properly
  3581     # handle `-M -o', and we need to detect this.
  3582     if depmode=$depmode \
  3583        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3584        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3585        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3586          >/dev/null 2>conftest.err &&
  3587        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3588        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3589        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3590       # icc doesn't choke on unknown options, it will just issue warnings
  3591       # or remarks (even with -Werror).  So we grep stderr for any message
  3592       # that says an option was ignored or not supported.
  3593       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3594       #   icc: Command line warning: ignoring option '-M'; no argument required
  3595       # The diagnosis changed in icc 8.0:
  3596       #   icc: Command line remark: option '-MP' not supported
  3597       if (grep 'ignoring option' conftest.err ||
  3598           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3599         am_cv_CC_dependencies_compiler_type=$depmode
  3600         break
  3601       fi
  3602     fi
  3603   done
  3605   cd ..
  3606   rm -rf conftest.dir
  3607 else
  3608   am_cv_CC_dependencies_compiler_type=none
  3609 fi
  3611 fi
  3612 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3613 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  3614 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3618 if
  3619   test "x$enable_dependency_tracking" != xno \
  3620   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3621   am__fastdepCC_TRUE=
  3622   am__fastdepCC_FALSE='#'
  3623 else
  3624   am__fastdepCC_TRUE='#'
  3625   am__fastdepCC_FALSE=
  3626 fi
  3631         { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
  3632 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
  3633 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  3634   echo $ECHO_N "(cached) $ECHO_C" >&6
  3635 else
  3636   ac_check_lib_save_LIBS=$LIBS
  3637 LIBS="-lcposix  $LIBS"
  3638 cat >conftest.$ac_ext <<_ACEOF
  3639 /* confdefs.h.  */
  3640 _ACEOF
  3641 cat confdefs.h >>conftest.$ac_ext
  3642 cat >>conftest.$ac_ext <<_ACEOF
  3643 /* end confdefs.h.  */
  3645 /* Override any GCC internal prototype to avoid an error.
  3646    Use char because int might match the return type of a GCC
  3647    builtin and then its argument prototype would still apply.  */
  3648 #ifdef __cplusplus
  3649 extern "C"
  3650 #endif
  3651 char strerror ();
  3652 int
  3653 main ()
  3655 return strerror ();
  3657   return 0;
  3659 _ACEOF
  3660 rm -f conftest.$ac_objext conftest$ac_exeext
  3661 if { (ac_try="$ac_link"
  3662 case "(($ac_try" in
  3663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3664   *) ac_try_echo=$ac_try;;
  3665 esac
  3666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3667   (eval "$ac_link") 2>conftest.er1
  3668   ac_status=$?
  3669   grep -v '^ *+' conftest.er1 >conftest.err
  3670   rm -f conftest.er1
  3671   cat conftest.err >&5
  3672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3673   (exit $ac_status); } && {
  3674 	 test -z "$ac_c_werror_flag" ||
  3675 	 test ! -s conftest.err
  3676        } && test -s conftest$ac_exeext &&
  3677        $as_test_x conftest$ac_exeext; then
  3678   ac_cv_lib_cposix_strerror=yes
  3679 else
  3680   echo "$as_me: failed program was:" >&5
  3681 sed 's/^/| /' conftest.$ac_ext >&5
  3683 	ac_cv_lib_cposix_strerror=no
  3684 fi
  3686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3687       conftest$ac_exeext conftest.$ac_ext
  3688 LIBS=$ac_check_lib_save_LIBS
  3689 fi
  3690 { echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
  3691 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
  3692 if test $ac_cv_lib_cposix_strerror = yes; then
  3693   LIBS="$LIBS -lcposix"
  3694 fi
  3698 ac_ext=c
  3699 ac_cpp='$CPP $CPPFLAGS'
  3700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3703 if test -n "$ac_tool_prefix"; then
  3704   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3705 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3706 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3708 if test "${ac_cv_prog_CC+set}" = set; then
  3709   echo $ECHO_N "(cached) $ECHO_C" >&6
  3710 else
  3711   if test -n "$CC"; then
  3712   ac_cv_prog_CC="$CC" # Let the user override the test.
  3713 else
  3714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3715 for as_dir in $PATH
  3716 do
  3717   IFS=$as_save_IFS
  3718   test -z "$as_dir" && as_dir=.
  3719   for ac_exec_ext in '' $ac_executable_extensions; do
  3720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3721     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3722     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3723     break 2
  3724   fi
  3725 done
  3726 done
  3727 IFS=$as_save_IFS
  3729 fi
  3730 fi
  3731 CC=$ac_cv_prog_CC
  3732 if test -n "$CC"; then
  3733   { echo "$as_me:$LINENO: result: $CC" >&5
  3734 echo "${ECHO_T}$CC" >&6; }
  3735 else
  3736   { echo "$as_me:$LINENO: result: no" >&5
  3737 echo "${ECHO_T}no" >&6; }
  3738 fi
  3741 fi
  3742 if test -z "$ac_cv_prog_CC"; then
  3743   ac_ct_CC=$CC
  3744   # Extract the first word of "gcc", so it can be a program name with args.
  3745 set dummy gcc; ac_word=$2
  3746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3748 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3749   echo $ECHO_N "(cached) $ECHO_C" >&6
  3750 else
  3751   if test -n "$ac_ct_CC"; then
  3752   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3753 else
  3754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3755 for as_dir in $PATH
  3756 do
  3757   IFS=$as_save_IFS
  3758   test -z "$as_dir" && as_dir=.
  3759   for ac_exec_ext in '' $ac_executable_extensions; do
  3760   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3761     ac_cv_prog_ac_ct_CC="gcc"
  3762     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3763     break 2
  3764   fi
  3765 done
  3766 done
  3767 IFS=$as_save_IFS
  3769 fi
  3770 fi
  3771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3772 if test -n "$ac_ct_CC"; then
  3773   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3774 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3775 else
  3776   { echo "$as_me:$LINENO: result: no" >&5
  3777 echo "${ECHO_T}no" >&6; }
  3778 fi
  3780   if test "x$ac_ct_CC" = x; then
  3781     CC=""
  3782   else
  3783     case $cross_compiling:$ac_tool_warned in
  3784 yes:)
  3785 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3786 whose name does not start with the host triplet.  If you think this
  3787 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3788 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3789 whose name does not start with the host triplet.  If you think this
  3790 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3791 ac_tool_warned=yes ;;
  3792 esac
  3793     CC=$ac_ct_CC
  3794   fi
  3795 else
  3796   CC="$ac_cv_prog_CC"
  3797 fi
  3799 if test -z "$CC"; then
  3800           if test -n "$ac_tool_prefix"; then
  3801     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3802 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3805 if test "${ac_cv_prog_CC+set}" = set; then
  3806   echo $ECHO_N "(cached) $ECHO_C" >&6
  3807 else
  3808   if test -n "$CC"; then
  3809   ac_cv_prog_CC="$CC" # Let the user override the test.
  3810 else
  3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3812 for as_dir in $PATH
  3813 do
  3814   IFS=$as_save_IFS
  3815   test -z "$as_dir" && as_dir=.
  3816   for ac_exec_ext in '' $ac_executable_extensions; do
  3817   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3818     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3819     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3820     break 2
  3821   fi
  3822 done
  3823 done
  3824 IFS=$as_save_IFS
  3826 fi
  3827 fi
  3828 CC=$ac_cv_prog_CC
  3829 if test -n "$CC"; then
  3830   { echo "$as_me:$LINENO: result: $CC" >&5
  3831 echo "${ECHO_T}$CC" >&6; }
  3832 else
  3833   { echo "$as_me:$LINENO: result: no" >&5
  3834 echo "${ECHO_T}no" >&6; }
  3835 fi
  3838   fi
  3839 fi
  3840 if test -z "$CC"; then
  3841   # Extract the first word of "cc", so it can be a program name with args.
  3842 set dummy cc; ac_word=$2
  3843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3845 if test "${ac_cv_prog_CC+set}" = set; then
  3846   echo $ECHO_N "(cached) $ECHO_C" >&6
  3847 else
  3848   if test -n "$CC"; then
  3849   ac_cv_prog_CC="$CC" # Let the user override the test.
  3850 else
  3851   ac_prog_rejected=no
  3852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3853 for as_dir in $PATH
  3854 do
  3855   IFS=$as_save_IFS
  3856   test -z "$as_dir" && as_dir=.
  3857   for ac_exec_ext in '' $ac_executable_extensions; do
  3858   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3859     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3860        ac_prog_rejected=yes
  3861        continue
  3862      fi
  3863     ac_cv_prog_CC="cc"
  3864     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3865     break 2
  3866   fi
  3867 done
  3868 done
  3869 IFS=$as_save_IFS
  3871 if test $ac_prog_rejected = yes; then
  3872   # We found a bogon in the path, so make sure we never use it.
  3873   set dummy $ac_cv_prog_CC
  3874   shift
  3875   if test $# != 0; then
  3876     # We chose a different compiler from the bogus one.
  3877     # However, it has the same basename, so the bogon will be chosen
  3878     # first if we set CC to just the basename; use the full file name.
  3879     shift
  3880     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3881   fi
  3882 fi
  3883 fi
  3884 fi
  3885 CC=$ac_cv_prog_CC
  3886 if test -n "$CC"; then
  3887   { echo "$as_me:$LINENO: result: $CC" >&5
  3888 echo "${ECHO_T}$CC" >&6; }
  3889 else
  3890   { echo "$as_me:$LINENO: result: no" >&5
  3891 echo "${ECHO_T}no" >&6; }
  3892 fi
  3895 fi
  3896 if test -z "$CC"; then
  3897   if test -n "$ac_tool_prefix"; then
  3898   for ac_prog in cl.exe
  3899   do
  3900     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3901 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3904 if test "${ac_cv_prog_CC+set}" = set; then
  3905   echo $ECHO_N "(cached) $ECHO_C" >&6
  3906 else
  3907   if test -n "$CC"; then
  3908   ac_cv_prog_CC="$CC" # Let the user override the test.
  3909 else
  3910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3911 for as_dir in $PATH
  3912 do
  3913   IFS=$as_save_IFS
  3914   test -z "$as_dir" && as_dir=.
  3915   for ac_exec_ext in '' $ac_executable_extensions; do
  3916   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3917     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3918     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3919     break 2
  3920   fi
  3921 done
  3922 done
  3923 IFS=$as_save_IFS
  3925 fi
  3926 fi
  3927 CC=$ac_cv_prog_CC
  3928 if test -n "$CC"; then
  3929   { echo "$as_me:$LINENO: result: $CC" >&5
  3930 echo "${ECHO_T}$CC" >&6; }
  3931 else
  3932   { echo "$as_me:$LINENO: result: no" >&5
  3933 echo "${ECHO_T}no" >&6; }
  3934 fi
  3937     test -n "$CC" && break
  3938   done
  3939 fi
  3940 if test -z "$CC"; then
  3941   ac_ct_CC=$CC
  3942   for ac_prog in cl.exe
  3943 do
  3944   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3945 set dummy $ac_prog; ac_word=$2
  3946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3948 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3949   echo $ECHO_N "(cached) $ECHO_C" >&6
  3950 else
  3951   if test -n "$ac_ct_CC"; then
  3952   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3953 else
  3954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3955 for as_dir in $PATH
  3956 do
  3957   IFS=$as_save_IFS
  3958   test -z "$as_dir" && as_dir=.
  3959   for ac_exec_ext in '' $ac_executable_extensions; do
  3960   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3961     ac_cv_prog_ac_ct_CC="$ac_prog"
  3962     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3963     break 2
  3964   fi
  3965 done
  3966 done
  3967 IFS=$as_save_IFS
  3969 fi
  3970 fi
  3971 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3972 if test -n "$ac_ct_CC"; then
  3973   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3974 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3975 else
  3976   { echo "$as_me:$LINENO: result: no" >&5
  3977 echo "${ECHO_T}no" >&6; }
  3978 fi
  3981   test -n "$ac_ct_CC" && break
  3982 done
  3984   if test "x$ac_ct_CC" = x; then
  3985     CC=""
  3986   else
  3987     case $cross_compiling:$ac_tool_warned in
  3988 yes:)
  3989 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3990 whose name does not start with the host triplet.  If you think this
  3991 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3992 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3993 whose name does not start with the host triplet.  If you think this
  3994 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3995 ac_tool_warned=yes ;;
  3996 esac
  3997     CC=$ac_ct_CC
  3998   fi
  3999 fi
  4001 fi
  4004 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4005 See \`config.log' for more details." >&5
  4006 echo "$as_me: error: no acceptable C compiler found in \$PATH
  4007 See \`config.log' for more details." >&2;}
  4008    { (exit 1); exit 1; }; }
  4010 # Provide some information about the compiler.
  4011 echo "$as_me:$LINENO: checking for C compiler version" >&5
  4012 ac_compiler=`set X $ac_compile; echo $2`
  4013 { (ac_try="$ac_compiler --version >&5"
  4014 case "(($ac_try" in
  4015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4016   *) ac_try_echo=$ac_try;;
  4017 esac
  4018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4019   (eval "$ac_compiler --version >&5") 2>&5
  4020   ac_status=$?
  4021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4022   (exit $ac_status); }
  4023 { (ac_try="$ac_compiler -v >&5"
  4024 case "(($ac_try" in
  4025   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4026   *) ac_try_echo=$ac_try;;
  4027 esac
  4028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4029   (eval "$ac_compiler -v >&5") 2>&5
  4030   ac_status=$?
  4031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4032   (exit $ac_status); }
  4033 { (ac_try="$ac_compiler -V >&5"
  4034 case "(($ac_try" in
  4035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4036   *) ac_try_echo=$ac_try;;
  4037 esac
  4038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4039   (eval "$ac_compiler -V >&5") 2>&5
  4040   ac_status=$?
  4041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4042   (exit $ac_status); }
  4044 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4045 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  4046 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4047   echo $ECHO_N "(cached) $ECHO_C" >&6
  4048 else
  4049   cat >conftest.$ac_ext <<_ACEOF
  4050 /* confdefs.h.  */
  4051 _ACEOF
  4052 cat confdefs.h >>conftest.$ac_ext
  4053 cat >>conftest.$ac_ext <<_ACEOF
  4054 /* end confdefs.h.  */
  4056 int
  4057 main ()
  4059 #ifndef __GNUC__
  4060        choke me
  4061 #endif
  4064   return 0;
  4066 _ACEOF
  4067 rm -f conftest.$ac_objext
  4068 if { (ac_try="$ac_compile"
  4069 case "(($ac_try" in
  4070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4071   *) ac_try_echo=$ac_try;;
  4072 esac
  4073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4074   (eval "$ac_compile") 2>conftest.er1
  4075   ac_status=$?
  4076   grep -v '^ *+' conftest.er1 >conftest.err
  4077   rm -f conftest.er1
  4078   cat conftest.err >&5
  4079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4080   (exit $ac_status); } && {
  4081 	 test -z "$ac_c_werror_flag" ||
  4082 	 test ! -s conftest.err
  4083        } && test -s conftest.$ac_objext; then
  4084   ac_compiler_gnu=yes
  4085 else
  4086   echo "$as_me: failed program was:" >&5
  4087 sed 's/^/| /' conftest.$ac_ext >&5
  4089 	ac_compiler_gnu=no
  4090 fi
  4092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4093 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4095 fi
  4096 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4097 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  4098 GCC=`test $ac_compiler_gnu = yes && echo yes`
  4099 ac_test_CFLAGS=${CFLAGS+set}
  4100 ac_save_CFLAGS=$CFLAGS
  4101 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4102 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  4103 if test "${ac_cv_prog_cc_g+set}" = set; then
  4104   echo $ECHO_N "(cached) $ECHO_C" >&6
  4105 else
  4106   ac_save_c_werror_flag=$ac_c_werror_flag
  4107    ac_c_werror_flag=yes
  4108    ac_cv_prog_cc_g=no
  4109    CFLAGS="-g"
  4110    cat >conftest.$ac_ext <<_ACEOF
  4111 /* confdefs.h.  */
  4112 _ACEOF
  4113 cat confdefs.h >>conftest.$ac_ext
  4114 cat >>conftest.$ac_ext <<_ACEOF
  4115 /* end confdefs.h.  */
  4117 int
  4118 main ()
  4122   return 0;
  4124 _ACEOF
  4125 rm -f conftest.$ac_objext
  4126 if { (ac_try="$ac_compile"
  4127 case "(($ac_try" in
  4128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4129   *) ac_try_echo=$ac_try;;
  4130 esac
  4131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4132   (eval "$ac_compile") 2>conftest.er1
  4133   ac_status=$?
  4134   grep -v '^ *+' conftest.er1 >conftest.err
  4135   rm -f conftest.er1
  4136   cat conftest.err >&5
  4137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4138   (exit $ac_status); } && {
  4139 	 test -z "$ac_c_werror_flag" ||
  4140 	 test ! -s conftest.err
  4141        } && test -s conftest.$ac_objext; then
  4142   ac_cv_prog_cc_g=yes
  4143 else
  4144   echo "$as_me: failed program was:" >&5
  4145 sed 's/^/| /' conftest.$ac_ext >&5
  4147 	CFLAGS=""
  4148       cat >conftest.$ac_ext <<_ACEOF
  4149 /* confdefs.h.  */
  4150 _ACEOF
  4151 cat confdefs.h >>conftest.$ac_ext
  4152 cat >>conftest.$ac_ext <<_ACEOF
  4153 /* end confdefs.h.  */
  4155 int
  4156 main ()
  4160   return 0;
  4162 _ACEOF
  4163 rm -f conftest.$ac_objext
  4164 if { (ac_try="$ac_compile"
  4165 case "(($ac_try" in
  4166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4167   *) ac_try_echo=$ac_try;;
  4168 esac
  4169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4170   (eval "$ac_compile") 2>conftest.er1
  4171   ac_status=$?
  4172   grep -v '^ *+' conftest.er1 >conftest.err
  4173   rm -f conftest.er1
  4174   cat conftest.err >&5
  4175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4176   (exit $ac_status); } && {
  4177 	 test -z "$ac_c_werror_flag" ||
  4178 	 test ! -s conftest.err
  4179        } && test -s conftest.$ac_objext; then
  4181 else
  4182   echo "$as_me: failed program was:" >&5
  4183 sed 's/^/| /' conftest.$ac_ext >&5
  4185 	ac_c_werror_flag=$ac_save_c_werror_flag
  4186 	 CFLAGS="-g"
  4187 	 cat >conftest.$ac_ext <<_ACEOF
  4188 /* confdefs.h.  */
  4189 _ACEOF
  4190 cat confdefs.h >>conftest.$ac_ext
  4191 cat >>conftest.$ac_ext <<_ACEOF
  4192 /* end confdefs.h.  */
  4194 int
  4195 main ()
  4199   return 0;
  4201 _ACEOF
  4202 rm -f conftest.$ac_objext
  4203 if { (ac_try="$ac_compile"
  4204 case "(($ac_try" in
  4205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4206   *) ac_try_echo=$ac_try;;
  4207 esac
  4208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4209   (eval "$ac_compile") 2>conftest.er1
  4210   ac_status=$?
  4211   grep -v '^ *+' conftest.er1 >conftest.err
  4212   rm -f conftest.er1
  4213   cat conftest.err >&5
  4214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4215   (exit $ac_status); } && {
  4216 	 test -z "$ac_c_werror_flag" ||
  4217 	 test ! -s conftest.err
  4218        } && test -s conftest.$ac_objext; then
  4219   ac_cv_prog_cc_g=yes
  4220 else
  4221   echo "$as_me: failed program was:" >&5
  4222 sed 's/^/| /' conftest.$ac_ext >&5
  4225 fi
  4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4228 fi
  4230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4231 fi
  4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4234    ac_c_werror_flag=$ac_save_c_werror_flag
  4235 fi
  4236 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4237 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  4238 if test "$ac_test_CFLAGS" = set; then
  4239   CFLAGS=$ac_save_CFLAGS
  4240 elif test $ac_cv_prog_cc_g = yes; then
  4241   if test "$GCC" = yes; then
  4242     CFLAGS="-g -O2"
  4243   else
  4244     CFLAGS="-g"
  4245   fi
  4246 else
  4247   if test "$GCC" = yes; then
  4248     CFLAGS="-O2"
  4249   else
  4250     CFLAGS=
  4251   fi
  4252 fi
  4253 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4254 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  4255 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4256   echo $ECHO_N "(cached) $ECHO_C" >&6
  4257 else
  4258   ac_cv_prog_cc_c89=no
  4259 ac_save_CC=$CC
  4260 cat >conftest.$ac_ext <<_ACEOF
  4261 /* confdefs.h.  */
  4262 _ACEOF
  4263 cat confdefs.h >>conftest.$ac_ext
  4264 cat >>conftest.$ac_ext <<_ACEOF
  4265 /* end confdefs.h.  */
  4266 #include <stdarg.h>
  4267 #include <stdio.h>
  4268 #include <sys/types.h>
  4269 #include <sys/stat.h>
  4270 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4271 struct buf { int x; };
  4272 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4273 static char *e (p, i)
  4274      char **p;
  4275      int i;
  4277   return p[i];
  4279 static char *f (char * (*g) (char **, int), char **p, ...)
  4281   char *s;
  4282   va_list v;
  4283   va_start (v,p);
  4284   s = g (p, va_arg (v,int));
  4285   va_end (v);
  4286   return s;
  4289 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4290    function prototypes and stuff, but not '\xHH' hex character constants.
  4291    These don't provoke an error unfortunately, instead are silently treated
  4292    as 'x'.  The following induces an error, until -std is added to get
  4293    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4294    array size at least.  It's necessary to write '\x00'==0 to get something
  4295    that's true only with -std.  */
  4296 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4298 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4299    inside strings and character constants.  */
  4300 #define FOO(x) 'x'
  4301 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4303 int test (int i, double x);
  4304 struct s1 {int (*f) (int a);};
  4305 struct s2 {int (*f) (double a);};
  4306 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4307 int argc;
  4308 char **argv;
  4309 int
  4310 main ()
  4312 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4314   return 0;
  4316 _ACEOF
  4317 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4318 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4319 do
  4320   CC="$ac_save_CC $ac_arg"
  4321   rm -f conftest.$ac_objext
  4322 if { (ac_try="$ac_compile"
  4323 case "(($ac_try" in
  4324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4325   *) ac_try_echo=$ac_try;;
  4326 esac
  4327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4328   (eval "$ac_compile") 2>conftest.er1
  4329   ac_status=$?
  4330   grep -v '^ *+' conftest.er1 >conftest.err
  4331   rm -f conftest.er1
  4332   cat conftest.err >&5
  4333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4334   (exit $ac_status); } && {
  4335 	 test -z "$ac_c_werror_flag" ||
  4336 	 test ! -s conftest.err
  4337        } && test -s conftest.$ac_objext; then
  4338   ac_cv_prog_cc_c89=$ac_arg
  4339 else
  4340   echo "$as_me: failed program was:" >&5
  4341 sed 's/^/| /' conftest.$ac_ext >&5
  4344 fi
  4346 rm -f core conftest.err conftest.$ac_objext
  4347   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4348 done
  4349 rm -f conftest.$ac_ext
  4350 CC=$ac_save_CC
  4352 fi
  4353 # AC_CACHE_VAL
  4354 case "x$ac_cv_prog_cc_c89" in
  4355   x)
  4356     { echo "$as_me:$LINENO: result: none needed" >&5
  4357 echo "${ECHO_T}none needed" >&6; } ;;
  4358   xno)
  4359     { echo "$as_me:$LINENO: result: unsupported" >&5
  4360 echo "${ECHO_T}unsupported" >&6; } ;;
  4361   *)
  4362     CC="$CC $ac_cv_prog_cc_c89"
  4363     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4364 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  4365 esac
  4368 ac_ext=c
  4369 ac_cpp='$CPP $CPPFLAGS'
  4370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4374 depcc="$CC"   am_compiler_list=
  4376 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4377 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  4378 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4379   echo $ECHO_N "(cached) $ECHO_C" >&6
  4380 else
  4381   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4382   # We make a subdir and do the tests there.  Otherwise we can end up
  4383   # making bogus files that we don't know about and never remove.  For
  4384   # instance it was reported that on HP-UX the gcc test will end up
  4385   # making a dummy file named `D' -- because `-MD' means `put the output
  4386   # in D'.
  4387   mkdir conftest.dir
  4388   # Copy depcomp to subdir because otherwise we won't find it if we're
  4389   # using a relative directory.
  4390   cp "$am_depcomp" conftest.dir
  4391   cd conftest.dir
  4392   # We will build objects and dependencies in a subdirectory because
  4393   # it helps to detect inapplicable dependency modes.  For instance
  4394   # both Tru64's cc and ICC support -MD to output dependencies as a
  4395   # side effect of compilation, but ICC will put the dependencies in
  4396   # the current directory while Tru64 will put them in the object
  4397   # directory.
  4398   mkdir sub
  4400   am_cv_CC_dependencies_compiler_type=none
  4401   if test "$am_compiler_list" = ""; then
  4402      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4403   fi
  4404   for depmode in $am_compiler_list; do
  4405     # Setup a source with many dependencies, because some compilers
  4406     # like to wrap large dependency lists on column 80 (with \), and
  4407     # we should not choose a depcomp mode which is confused by this.
  4409     # We need to recreate these files for each test, as the compiler may
  4410     # overwrite some of them when testing with obscure command lines.
  4411     # This happens at least with the AIX C compiler.
  4412     : > sub/conftest.c
  4413     for i in 1 2 3 4 5 6; do
  4414       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4415       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4416       # Solaris 8's {/usr,}/bin/sh.
  4417       touch sub/conftst$i.h
  4418     done
  4419     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4421     case $depmode in
  4422     nosideeffect)
  4423       # after this tag, mechanisms are not by side-effect, so they'll
  4424       # only be used when explicitly requested
  4425       if test "x$enable_dependency_tracking" = xyes; then
  4426 	continue
  4427       else
  4428 	break
  4429       fi
  4430       ;;
  4431     none) break ;;
  4432     esac
  4433     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4434     # mode.  It turns out that the SunPro C++ compiler does not properly
  4435     # handle `-M -o', and we need to detect this.
  4436     if depmode=$depmode \
  4437        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4438        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4439        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4440          >/dev/null 2>conftest.err &&
  4441        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4442        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4443        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4444       # icc doesn't choke on unknown options, it will just issue warnings
  4445       # or remarks (even with -Werror).  So we grep stderr for any message
  4446       # that says an option was ignored or not supported.
  4447       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4448       #   icc: Command line warning: ignoring option '-M'; no argument required
  4449       # The diagnosis changed in icc 8.0:
  4450       #   icc: Command line remark: option '-MP' not supported
  4451       if (grep 'ignoring option' conftest.err ||
  4452           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4453         am_cv_CC_dependencies_compiler_type=$depmode
  4454         break
  4455       fi
  4456     fi
  4457   done
  4459   cd ..
  4460   rm -rf conftest.dir
  4461 else
  4462   am_cv_CC_dependencies_compiler_type=none
  4463 fi
  4465 fi
  4466 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4467 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  4468 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4472 if
  4473   test "x$enable_dependency_tracking" != xno \
  4474   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4475   am__fastdepCC_TRUE=
  4476   am__fastdepCC_FALSE='#'
  4477 else
  4478   am__fastdepCC_TRUE='#'
  4479   am__fastdepCC_FALSE=
  4480 fi
  4483 ac_ext=c
  4484 ac_cpp='$CPP $CPPFLAGS'
  4485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4488 if test -n "$ac_tool_prefix"; then
  4489   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4490 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4493 if test "${ac_cv_prog_CC+set}" = set; then
  4494   echo $ECHO_N "(cached) $ECHO_C" >&6
  4495 else
  4496   if test -n "$CC"; then
  4497   ac_cv_prog_CC="$CC" # Let the user override the test.
  4498 else
  4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4500 for as_dir in $PATH
  4501 do
  4502   IFS=$as_save_IFS
  4503   test -z "$as_dir" && as_dir=.
  4504   for ac_exec_ext in '' $ac_executable_extensions; do
  4505   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4506     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4507     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4508     break 2
  4509   fi
  4510 done
  4511 done
  4512 IFS=$as_save_IFS
  4514 fi
  4515 fi
  4516 CC=$ac_cv_prog_CC
  4517 if test -n "$CC"; then
  4518   { echo "$as_me:$LINENO: result: $CC" >&5
  4519 echo "${ECHO_T}$CC" >&6; }
  4520 else
  4521   { echo "$as_me:$LINENO: result: no" >&5
  4522 echo "${ECHO_T}no" >&6; }
  4523 fi
  4526 fi
  4527 if test -z "$ac_cv_prog_CC"; then
  4528   ac_ct_CC=$CC
  4529   # Extract the first word of "gcc", so it can be a program name with args.
  4530 set dummy gcc; ac_word=$2
  4531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4533 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4534   echo $ECHO_N "(cached) $ECHO_C" >&6
  4535 else
  4536   if test -n "$ac_ct_CC"; then
  4537   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4538 else
  4539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4540 for as_dir in $PATH
  4541 do
  4542   IFS=$as_save_IFS
  4543   test -z "$as_dir" && as_dir=.
  4544   for ac_exec_ext in '' $ac_executable_extensions; do
  4545   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4546     ac_cv_prog_ac_ct_CC="gcc"
  4547     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4548     break 2
  4549   fi
  4550 done
  4551 done
  4552 IFS=$as_save_IFS
  4554 fi
  4555 fi
  4556 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4557 if test -n "$ac_ct_CC"; then
  4558   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4559 echo "${ECHO_T}$ac_ct_CC" >&6; }
  4560 else
  4561   { echo "$as_me:$LINENO: result: no" >&5
  4562 echo "${ECHO_T}no" >&6; }
  4563 fi
  4565   if test "x$ac_ct_CC" = x; then
  4566     CC=""
  4567   else
  4568     case $cross_compiling:$ac_tool_warned in
  4569 yes:)
  4570 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4571 whose name does not start with the host triplet.  If you think this
  4572 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4573 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4574 whose name does not start with the host triplet.  If you think this
  4575 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4576 ac_tool_warned=yes ;;
  4577 esac
  4578     CC=$ac_ct_CC
  4579   fi
  4580 else
  4581   CC="$ac_cv_prog_CC"
  4582 fi
  4584 if test -z "$CC"; then
  4585           if test -n "$ac_tool_prefix"; then
  4586     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4587 set dummy ${ac_tool_prefix}cc; ac_word=$2
  4588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4590 if test "${ac_cv_prog_CC+set}" = set; then
  4591   echo $ECHO_N "(cached) $ECHO_C" >&6
  4592 else
  4593   if test -n "$CC"; then
  4594   ac_cv_prog_CC="$CC" # Let the user override the test.
  4595 else
  4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4597 for as_dir in $PATH
  4598 do
  4599   IFS=$as_save_IFS
  4600   test -z "$as_dir" && as_dir=.
  4601   for ac_exec_ext in '' $ac_executable_extensions; do
  4602   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4603     ac_cv_prog_CC="${ac_tool_prefix}cc"
  4604     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4605     break 2
  4606   fi
  4607 done
  4608 done
  4609 IFS=$as_save_IFS
  4611 fi
  4612 fi
  4613 CC=$ac_cv_prog_CC
  4614 if test -n "$CC"; then
  4615   { echo "$as_me:$LINENO: result: $CC" >&5
  4616 echo "${ECHO_T}$CC" >&6; }
  4617 else
  4618   { echo "$as_me:$LINENO: result: no" >&5
  4619 echo "${ECHO_T}no" >&6; }
  4620 fi
  4623   fi
  4624 fi
  4625 if test -z "$CC"; then
  4626   # Extract the first word of "cc", so it can be a program name with args.
  4627 set dummy cc; ac_word=$2
  4628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4630 if test "${ac_cv_prog_CC+set}" = set; then
  4631   echo $ECHO_N "(cached) $ECHO_C" >&6
  4632 else
  4633   if test -n "$CC"; then
  4634   ac_cv_prog_CC="$CC" # Let the user override the test.
  4635 else
  4636   ac_prog_rejected=no
  4637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4638 for as_dir in $PATH
  4639 do
  4640   IFS=$as_save_IFS
  4641   test -z "$as_dir" && as_dir=.
  4642   for ac_exec_ext in '' $ac_executable_extensions; do
  4643   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4644     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4645        ac_prog_rejected=yes
  4646        continue
  4647      fi
  4648     ac_cv_prog_CC="cc"
  4649     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4650     break 2
  4651   fi
  4652 done
  4653 done
  4654 IFS=$as_save_IFS
  4656 if test $ac_prog_rejected = yes; then
  4657   # We found a bogon in the path, so make sure we never use it.
  4658   set dummy $ac_cv_prog_CC
  4659   shift
  4660   if test $# != 0; then
  4661     # We chose a different compiler from the bogus one.
  4662     # However, it has the same basename, so the bogon will be chosen
  4663     # first if we set CC to just the basename; use the full file name.
  4664     shift
  4665     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4666   fi
  4667 fi
  4668 fi
  4669 fi
  4670 CC=$ac_cv_prog_CC
  4671 if test -n "$CC"; then
  4672   { echo "$as_me:$LINENO: result: $CC" >&5
  4673 echo "${ECHO_T}$CC" >&6; }
  4674 else
  4675   { echo "$as_me:$LINENO: result: no" >&5
  4676 echo "${ECHO_T}no" >&6; }
  4677 fi
  4680 fi
  4681 if test -z "$CC"; then
  4682   if test -n "$ac_tool_prefix"; then
  4683   for ac_prog in cl.exe
  4684   do
  4685     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4686 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4689 if test "${ac_cv_prog_CC+set}" = set; then
  4690   echo $ECHO_N "(cached) $ECHO_C" >&6
  4691 else
  4692   if test -n "$CC"; then
  4693   ac_cv_prog_CC="$CC" # Let the user override the test.
  4694 else
  4695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4696 for as_dir in $PATH
  4697 do
  4698   IFS=$as_save_IFS
  4699   test -z "$as_dir" && as_dir=.
  4700   for ac_exec_ext in '' $ac_executable_extensions; do
  4701   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4702     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4703     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4704     break 2
  4705   fi
  4706 done
  4707 done
  4708 IFS=$as_save_IFS
  4710 fi
  4711 fi
  4712 CC=$ac_cv_prog_CC
  4713 if test -n "$CC"; then
  4714   { echo "$as_me:$LINENO: result: $CC" >&5
  4715 echo "${ECHO_T}$CC" >&6; }
  4716 else
  4717   { echo "$as_me:$LINENO: result: no" >&5
  4718 echo "${ECHO_T}no" >&6; }
  4719 fi
  4722     test -n "$CC" && break
  4723   done
  4724 fi
  4725 if test -z "$CC"; then
  4726   ac_ct_CC=$CC
  4727   for ac_prog in cl.exe
  4728 do
  4729   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4730 set dummy $ac_prog; ac_word=$2
  4731 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4733 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4734   echo $ECHO_N "(cached) $ECHO_C" >&6
  4735 else
  4736   if test -n "$ac_ct_CC"; then
  4737   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4738 else
  4739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4740 for as_dir in $PATH
  4741 do
  4742   IFS=$as_save_IFS
  4743   test -z "$as_dir" && as_dir=.
  4744   for ac_exec_ext in '' $ac_executable_extensions; do
  4745   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4746     ac_cv_prog_ac_ct_CC="$ac_prog"
  4747     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4748     break 2
  4749   fi
  4750 done
  4751 done
  4752 IFS=$as_save_IFS
  4754 fi
  4755 fi
  4756 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4757 if test -n "$ac_ct_CC"; then
  4758   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4759 echo "${ECHO_T}$ac_ct_CC" >&6; }
  4760 else
  4761   { echo "$as_me:$LINENO: result: no" >&5
  4762 echo "${ECHO_T}no" >&6; }
  4763 fi
  4766   test -n "$ac_ct_CC" && break
  4767 done
  4769   if test "x$ac_ct_CC" = x; then
  4770     CC=""
  4771   else
  4772     case $cross_compiling:$ac_tool_warned in
  4773 yes:)
  4774 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4775 whose name does not start with the host triplet.  If you think this
  4776 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4777 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4778 whose name does not start with the host triplet.  If you think this
  4779 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4780 ac_tool_warned=yes ;;
  4781 esac
  4782     CC=$ac_ct_CC
  4783   fi
  4784 fi
  4786 fi
  4789 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4790 See \`config.log' for more details." >&5
  4791 echo "$as_me: error: no acceptable C compiler found in \$PATH
  4792 See \`config.log' for more details." >&2;}
  4793    { (exit 1); exit 1; }; }
  4795 # Provide some information about the compiler.
  4796 echo "$as_me:$LINENO: checking for C compiler version" >&5
  4797 ac_compiler=`set X $ac_compile; echo $2`
  4798 { (ac_try="$ac_compiler --version >&5"
  4799 case "(($ac_try" in
  4800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4801   *) ac_try_echo=$ac_try;;
  4802 esac
  4803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4804   (eval "$ac_compiler --version >&5") 2>&5
  4805   ac_status=$?
  4806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4807   (exit $ac_status); }
  4808 { (ac_try="$ac_compiler -v >&5"
  4809 case "(($ac_try" in
  4810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4811   *) ac_try_echo=$ac_try;;
  4812 esac
  4813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4814   (eval "$ac_compiler -v >&5") 2>&5
  4815   ac_status=$?
  4816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4817   (exit $ac_status); }
  4818 { (ac_try="$ac_compiler -V >&5"
  4819 case "(($ac_try" in
  4820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4821   *) ac_try_echo=$ac_try;;
  4822 esac
  4823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4824   (eval "$ac_compiler -V >&5") 2>&5
  4825   ac_status=$?
  4826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4827   (exit $ac_status); }
  4829 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4830 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  4831 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4832   echo $ECHO_N "(cached) $ECHO_C" >&6
  4833 else
  4834   cat >conftest.$ac_ext <<_ACEOF
  4835 /* confdefs.h.  */
  4836 _ACEOF
  4837 cat confdefs.h >>conftest.$ac_ext
  4838 cat >>conftest.$ac_ext <<_ACEOF
  4839 /* end confdefs.h.  */
  4841 int
  4842 main ()
  4844 #ifndef __GNUC__
  4845        choke me
  4846 #endif
  4849   return 0;
  4851 _ACEOF
  4852 rm -f conftest.$ac_objext
  4853 if { (ac_try="$ac_compile"
  4854 case "(($ac_try" in
  4855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4856   *) ac_try_echo=$ac_try;;
  4857 esac
  4858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4859   (eval "$ac_compile") 2>conftest.er1
  4860   ac_status=$?
  4861   grep -v '^ *+' conftest.er1 >conftest.err
  4862   rm -f conftest.er1
  4863   cat conftest.err >&5
  4864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4865   (exit $ac_status); } && {
  4866 	 test -z "$ac_c_werror_flag" ||
  4867 	 test ! -s conftest.err
  4868        } && test -s conftest.$ac_objext; then
  4869   ac_compiler_gnu=yes
  4870 else
  4871   echo "$as_me: failed program was:" >&5
  4872 sed 's/^/| /' conftest.$ac_ext >&5
  4874 	ac_compiler_gnu=no
  4875 fi
  4877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4878 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4880 fi
  4881 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4882 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  4883 GCC=`test $ac_compiler_gnu = yes && echo yes`
  4884 ac_test_CFLAGS=${CFLAGS+set}
  4885 ac_save_CFLAGS=$CFLAGS
  4886 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4887 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  4888 if test "${ac_cv_prog_cc_g+set}" = set; then
  4889   echo $ECHO_N "(cached) $ECHO_C" >&6
  4890 else
  4891   ac_save_c_werror_flag=$ac_c_werror_flag
  4892    ac_c_werror_flag=yes
  4893    ac_cv_prog_cc_g=no
  4894    CFLAGS="-g"
  4895    cat >conftest.$ac_ext <<_ACEOF
  4896 /* confdefs.h.  */
  4897 _ACEOF
  4898 cat confdefs.h >>conftest.$ac_ext
  4899 cat >>conftest.$ac_ext <<_ACEOF
  4900 /* end confdefs.h.  */
  4902 int
  4903 main ()
  4907   return 0;
  4909 _ACEOF
  4910 rm -f conftest.$ac_objext
  4911 if { (ac_try="$ac_compile"
  4912 case "(($ac_try" in
  4913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4914   *) ac_try_echo=$ac_try;;
  4915 esac
  4916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4917   (eval "$ac_compile") 2>conftest.er1
  4918   ac_status=$?
  4919   grep -v '^ *+' conftest.er1 >conftest.err
  4920   rm -f conftest.er1
  4921   cat conftest.err >&5
  4922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4923   (exit $ac_status); } && {
  4924 	 test -z "$ac_c_werror_flag" ||
  4925 	 test ! -s conftest.err
  4926        } && test -s conftest.$ac_objext; then
  4927   ac_cv_prog_cc_g=yes
  4928 else
  4929   echo "$as_me: failed program was:" >&5
  4930 sed 's/^/| /' conftest.$ac_ext >&5
  4932 	CFLAGS=""
  4933       cat >conftest.$ac_ext <<_ACEOF
  4934 /* confdefs.h.  */
  4935 _ACEOF
  4936 cat confdefs.h >>conftest.$ac_ext
  4937 cat >>conftest.$ac_ext <<_ACEOF
  4938 /* end confdefs.h.  */
  4940 int
  4941 main ()
  4945   return 0;
  4947 _ACEOF
  4948 rm -f conftest.$ac_objext
  4949 if { (ac_try="$ac_compile"
  4950 case "(($ac_try" in
  4951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4952   *) ac_try_echo=$ac_try;;
  4953 esac
  4954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4955   (eval "$ac_compile") 2>conftest.er1
  4956   ac_status=$?
  4957   grep -v '^ *+' conftest.er1 >conftest.err
  4958   rm -f conftest.er1
  4959   cat conftest.err >&5
  4960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4961   (exit $ac_status); } && {
  4962 	 test -z "$ac_c_werror_flag" ||
  4963 	 test ! -s conftest.err
  4964        } && test -s conftest.$ac_objext; then
  4966 else
  4967   echo "$as_me: failed program was:" >&5
  4968 sed 's/^/| /' conftest.$ac_ext >&5
  4970 	ac_c_werror_flag=$ac_save_c_werror_flag
  4971 	 CFLAGS="-g"
  4972 	 cat >conftest.$ac_ext <<_ACEOF
  4973 /* confdefs.h.  */
  4974 _ACEOF
  4975 cat confdefs.h >>conftest.$ac_ext
  4976 cat >>conftest.$ac_ext <<_ACEOF
  4977 /* end confdefs.h.  */
  4979 int
  4980 main ()
  4984   return 0;
  4986 _ACEOF
  4987 rm -f conftest.$ac_objext
  4988 if { (ac_try="$ac_compile"
  4989 case "(($ac_try" in
  4990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4991   *) ac_try_echo=$ac_try;;
  4992 esac
  4993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4994   (eval "$ac_compile") 2>conftest.er1
  4995   ac_status=$?
  4996   grep -v '^ *+' conftest.er1 >conftest.err
  4997   rm -f conftest.er1
  4998   cat conftest.err >&5
  4999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5000   (exit $ac_status); } && {
  5001 	 test -z "$ac_c_werror_flag" ||
  5002 	 test ! -s conftest.err
  5003        } && test -s conftest.$ac_objext; then
  5004   ac_cv_prog_cc_g=yes
  5005 else
  5006   echo "$as_me: failed program was:" >&5
  5007 sed 's/^/| /' conftest.$ac_ext >&5
  5010 fi
  5012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5013 fi
  5015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5016 fi
  5018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5019    ac_c_werror_flag=$ac_save_c_werror_flag
  5020 fi
  5021 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  5022 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  5023 if test "$ac_test_CFLAGS" = set; then
  5024   CFLAGS=$ac_save_CFLAGS
  5025 elif test $ac_cv_prog_cc_g = yes; then
  5026   if test "$GCC" = yes; then
  5027     CFLAGS="-g -O2"
  5028   else
  5029     CFLAGS="-g"
  5030   fi
  5031 else
  5032   if test "$GCC" = yes; then
  5033     CFLAGS="-O2"
  5034   else
  5035     CFLAGS=
  5036   fi
  5037 fi
  5038 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  5039 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  5040 if test "${ac_cv_prog_cc_c89+set}" = set; then
  5041   echo $ECHO_N "(cached) $ECHO_C" >&6
  5042 else
  5043   ac_cv_prog_cc_c89=no
  5044 ac_save_CC=$CC
  5045 cat >conftest.$ac_ext <<_ACEOF
  5046 /* confdefs.h.  */
  5047 _ACEOF
  5048 cat confdefs.h >>conftest.$ac_ext
  5049 cat >>conftest.$ac_ext <<_ACEOF
  5050 /* end confdefs.h.  */
  5051 #include <stdarg.h>
  5052 #include <stdio.h>
  5053 #include <sys/types.h>
  5054 #include <sys/stat.h>
  5055 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  5056 struct buf { int x; };
  5057 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  5058 static char *e (p, i)
  5059      char **p;
  5060      int i;
  5062   return p[i];
  5064 static char *f (char * (*g) (char **, int), char **p, ...)
  5066   char *s;
  5067   va_list v;
  5068   va_start (v,p);
  5069   s = g (p, va_arg (v,int));
  5070   va_end (v);
  5071   return s;
  5074 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  5075    function prototypes and stuff, but not '\xHH' hex character constants.
  5076    These don't provoke an error unfortunately, instead are silently treated
  5077    as 'x'.  The following induces an error, until -std is added to get
  5078    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  5079    array size at least.  It's necessary to write '\x00'==0 to get something
  5080    that's true only with -std.  */
  5081 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  5083 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  5084    inside strings and character constants.  */
  5085 #define FOO(x) 'x'
  5086 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  5088 int test (int i, double x);
  5089 struct s1 {int (*f) (int a);};
  5090 struct s2 {int (*f) (double a);};
  5091 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  5092 int argc;
  5093 char **argv;
  5094 int
  5095 main ()
  5097 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  5099   return 0;
  5101 _ACEOF
  5102 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  5103 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5104 do
  5105   CC="$ac_save_CC $ac_arg"
  5106   rm -f conftest.$ac_objext
  5107 if { (ac_try="$ac_compile"
  5108 case "(($ac_try" in
  5109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5110   *) ac_try_echo=$ac_try;;
  5111 esac
  5112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5113   (eval "$ac_compile") 2>conftest.er1
  5114   ac_status=$?
  5115   grep -v '^ *+' conftest.er1 >conftest.err
  5116   rm -f conftest.er1
  5117   cat conftest.err >&5
  5118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5119   (exit $ac_status); } && {
  5120 	 test -z "$ac_c_werror_flag" ||
  5121 	 test ! -s conftest.err
  5122        } && test -s conftest.$ac_objext; then
  5123   ac_cv_prog_cc_c89=$ac_arg
  5124 else
  5125   echo "$as_me: failed program was:" >&5
  5126 sed 's/^/| /' conftest.$ac_ext >&5
  5129 fi
  5131 rm -f core conftest.err conftest.$ac_objext
  5132   test "x$ac_cv_prog_cc_c89" != "xno" && break
  5133 done
  5134 rm -f conftest.$ac_ext
  5135 CC=$ac_save_CC
  5137 fi
  5138 # AC_CACHE_VAL
  5139 case "x$ac_cv_prog_cc_c89" in
  5140   x)
  5141     { echo "$as_me:$LINENO: result: none needed" >&5
  5142 echo "${ECHO_T}none needed" >&6; } ;;
  5143   xno)
  5144     { echo "$as_me:$LINENO: result: unsupported" >&5
  5145 echo "${ECHO_T}unsupported" >&6; } ;;
  5146   *)
  5147     CC="$CC $ac_cv_prog_cc_c89"
  5148     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  5149 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  5150 esac
  5153 ac_ext=c
  5154 ac_cpp='$CPP $CPPFLAGS'
  5155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5159 depcc="$CC"   am_compiler_list=
  5161 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  5162 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  5163 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  5164   echo $ECHO_N "(cached) $ECHO_C" >&6
  5165 else
  5166   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5167   # We make a subdir and do the tests there.  Otherwise we can end up
  5168   # making bogus files that we don't know about and never remove.  For
  5169   # instance it was reported that on HP-UX the gcc test will end up
  5170   # making a dummy file named `D' -- because `-MD' means `put the output
  5171   # in D'.
  5172   mkdir conftest.dir
  5173   # Copy depcomp to subdir because otherwise we won't find it if we're
  5174   # using a relative directory.
  5175   cp "$am_depcomp" conftest.dir
  5176   cd conftest.dir
  5177   # We will build objects and dependencies in a subdirectory because
  5178   # it helps to detect inapplicable dependency modes.  For instance
  5179   # both Tru64's cc and ICC support -MD to output dependencies as a
  5180   # side effect of compilation, but ICC will put the dependencies in
  5181   # the current directory while Tru64 will put them in the object
  5182   # directory.
  5183   mkdir sub
  5185   am_cv_CC_dependencies_compiler_type=none
  5186   if test "$am_compiler_list" = ""; then
  5187      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5188   fi
  5189   for depmode in $am_compiler_list; do
  5190     # Setup a source with many dependencies, because some compilers
  5191     # like to wrap large dependency lists on column 80 (with \), and
  5192     # we should not choose a depcomp mode which is confused by this.
  5194     # We need to recreate these files for each test, as the compiler may
  5195     # overwrite some of them when testing with obscure command lines.
  5196     # This happens at least with the AIX C compiler.
  5197     : > sub/conftest.c
  5198     for i in 1 2 3 4 5 6; do
  5199       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5200       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  5201       # Solaris 8's {/usr,}/bin/sh.
  5202       touch sub/conftst$i.h
  5203     done
  5204     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5206     case $depmode in
  5207     nosideeffect)
  5208       # after this tag, mechanisms are not by side-effect, so they'll
  5209       # only be used when explicitly requested
  5210       if test "x$enable_dependency_tracking" = xyes; then
  5211 	continue
  5212       else
  5213 	break
  5214       fi
  5215       ;;
  5216     none) break ;;
  5217     esac
  5218     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5219     # mode.  It turns out that the SunPro C++ compiler does not properly
  5220     # handle `-M -o', and we need to detect this.
  5221     if depmode=$depmode \
  5222        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  5223        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5224        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  5225          >/dev/null 2>conftest.err &&
  5226        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5227        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  5228        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5229       # icc doesn't choke on unknown options, it will just issue warnings
  5230       # or remarks (even with -Werror).  So we grep stderr for any message
  5231       # that says an option was ignored or not supported.
  5232       # When given -MP, icc 7.0 and 7.1 complain thusly:
  5233       #   icc: Command line warning: ignoring option '-M'; no argument required
  5234       # The diagnosis changed in icc 8.0:
  5235       #   icc: Command line remark: option '-MP' not supported
  5236       if (grep 'ignoring option' conftest.err ||
  5237           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5238         am_cv_CC_dependencies_compiler_type=$depmode
  5239         break
  5240       fi
  5241     fi
  5242   done
  5244   cd ..
  5245   rm -rf conftest.dir
  5246 else
  5247   am_cv_CC_dependencies_compiler_type=none
  5248 fi
  5250 fi
  5251 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  5252 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  5253 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5257 if
  5258   test "x$enable_dependency_tracking" != xno \
  5259   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5260   am__fastdepCC_TRUE=
  5261   am__fastdepCC_FALSE='#'
  5262 else
  5263   am__fastdepCC_TRUE='#'
  5264   am__fastdepCC_FALSE=
  5265 fi
  5269 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  5271 ac_ext=c
  5272 ac_cpp='$CPP $CPPFLAGS'
  5273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5276 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5277 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  5278 # On Suns, sometimes $CPP names a directory.
  5279 if test -n "$CPP" && test -d "$CPP"; then
  5280   CPP=
  5281 fi
  5282 if test -z "$CPP"; then
  5283   if test "${ac_cv_prog_CPP+set}" = set; then
  5284   echo $ECHO_N "(cached) $ECHO_C" >&6
  5285 else
  5286       # Double quotes because CPP needs to be expanded
  5287     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5288     do
  5289       ac_preproc_ok=false
  5290 for ac_c_preproc_warn_flag in '' yes
  5291 do
  5292   # Use a header file that comes with gcc, so configuring glibc
  5293   # with a fresh cross-compiler works.
  5294   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5295   # <limits.h> exists even on freestanding compilers.
  5296   # On the NeXT, cc -E runs the code through the compiler's parser,
  5297   # not just through cpp. "Syntax error" is here to catch this case.
  5298   cat >conftest.$ac_ext <<_ACEOF
  5299 /* confdefs.h.  */
  5300 _ACEOF
  5301 cat confdefs.h >>conftest.$ac_ext
  5302 cat >>conftest.$ac_ext <<_ACEOF
  5303 /* end confdefs.h.  */
  5304 #ifdef __STDC__
  5305 # include <limits.h>
  5306 #else
  5307 # include <assert.h>
  5308 #endif
  5309 		     Syntax error
  5310 _ACEOF
  5311 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5312 case "(($ac_try" in
  5313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5314   *) ac_try_echo=$ac_try;;
  5315 esac
  5316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5317   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5318   ac_status=$?
  5319   grep -v '^ *+' conftest.er1 >conftest.err
  5320   rm -f conftest.er1
  5321   cat conftest.err >&5
  5322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5323   (exit $ac_status); } >/dev/null && {
  5324 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5325 	 test ! -s conftest.err
  5326        }; then
  5328 else
  5329   echo "$as_me: failed program was:" >&5
  5330 sed 's/^/| /' conftest.$ac_ext >&5
  5332   # Broken: fails on valid input.
  5333 continue
  5334 fi
  5336 rm -f conftest.err conftest.$ac_ext
  5338   # OK, works on sane cases.  Now check whether nonexistent headers
  5339   # can be detected and how.
  5340   cat >conftest.$ac_ext <<_ACEOF
  5341 /* confdefs.h.  */
  5342 _ACEOF
  5343 cat confdefs.h >>conftest.$ac_ext
  5344 cat >>conftest.$ac_ext <<_ACEOF
  5345 /* end confdefs.h.  */
  5346 #include <ac_nonexistent.h>
  5347 _ACEOF
  5348 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5349 case "(($ac_try" in
  5350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5351   *) ac_try_echo=$ac_try;;
  5352 esac
  5353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5354   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5355   ac_status=$?
  5356   grep -v '^ *+' conftest.er1 >conftest.err
  5357   rm -f conftest.er1
  5358   cat conftest.err >&5
  5359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5360   (exit $ac_status); } >/dev/null && {
  5361 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5362 	 test ! -s conftest.err
  5363        }; then
  5364   # Broken: success on invalid input.
  5365 continue
  5366 else
  5367   echo "$as_me: failed program was:" >&5
  5368 sed 's/^/| /' conftest.$ac_ext >&5
  5370   # Passes both tests.
  5371 ac_preproc_ok=:
  5372 break
  5373 fi
  5375 rm -f conftest.err conftest.$ac_ext
  5377 done
  5378 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5379 rm -f conftest.err conftest.$ac_ext
  5380 if $ac_preproc_ok; then
  5381   break
  5382 fi
  5384     done
  5385     ac_cv_prog_CPP=$CPP
  5387 fi
  5388   CPP=$ac_cv_prog_CPP
  5389 else
  5390   ac_cv_prog_CPP=$CPP
  5391 fi
  5392 { echo "$as_me:$LINENO: result: $CPP" >&5
  5393 echo "${ECHO_T}$CPP" >&6; }
  5394 ac_preproc_ok=false
  5395 for ac_c_preproc_warn_flag in '' yes
  5396 do
  5397   # Use a header file that comes with gcc, so configuring glibc
  5398   # with a fresh cross-compiler works.
  5399   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5400   # <limits.h> exists even on freestanding compilers.
  5401   # On the NeXT, cc -E runs the code through the compiler's parser,
  5402   # not just through cpp. "Syntax error" is here to catch this case.
  5403   cat >conftest.$ac_ext <<_ACEOF
  5404 /* confdefs.h.  */
  5405 _ACEOF
  5406 cat confdefs.h >>conftest.$ac_ext
  5407 cat >>conftest.$ac_ext <<_ACEOF
  5408 /* end confdefs.h.  */
  5409 #ifdef __STDC__
  5410 # include <limits.h>
  5411 #else
  5412 # include <assert.h>
  5413 #endif
  5414 		     Syntax error
  5415 _ACEOF
  5416 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5417 case "(($ac_try" in
  5418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5419   *) ac_try_echo=$ac_try;;
  5420 esac
  5421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5422   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5423   ac_status=$?
  5424   grep -v '^ *+' conftest.er1 >conftest.err
  5425   rm -f conftest.er1
  5426   cat conftest.err >&5
  5427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5428   (exit $ac_status); } >/dev/null && {
  5429 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5430 	 test ! -s conftest.err
  5431        }; then
  5433 else
  5434   echo "$as_me: failed program was:" >&5
  5435 sed 's/^/| /' conftest.$ac_ext >&5
  5437   # Broken: fails on valid input.
  5438 continue
  5439 fi
  5441 rm -f conftest.err conftest.$ac_ext
  5443   # OK, works on sane cases.  Now check whether nonexistent headers
  5444   # can be detected and how.
  5445   cat >conftest.$ac_ext <<_ACEOF
  5446 /* confdefs.h.  */
  5447 _ACEOF
  5448 cat confdefs.h >>conftest.$ac_ext
  5449 cat >>conftest.$ac_ext <<_ACEOF
  5450 /* end confdefs.h.  */
  5451 #include <ac_nonexistent.h>
  5452 _ACEOF
  5453 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5454 case "(($ac_try" in
  5455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5456   *) ac_try_echo=$ac_try;;
  5457 esac
  5458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5459   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5460   ac_status=$?
  5461   grep -v '^ *+' conftest.er1 >conftest.err
  5462   rm -f conftest.er1
  5463   cat conftest.err >&5
  5464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5465   (exit $ac_status); } >/dev/null && {
  5466 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5467 	 test ! -s conftest.err
  5468        }; then
  5469   # Broken: success on invalid input.
  5470 continue
  5471 else
  5472   echo "$as_me: failed program was:" >&5
  5473 sed 's/^/| /' conftest.$ac_ext >&5
  5475   # Passes both tests.
  5476 ac_preproc_ok=:
  5477 break
  5478 fi
  5480 rm -f conftest.err conftest.$ac_ext
  5482 done
  5483 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5484 rm -f conftest.err conftest.$ac_ext
  5485 if $ac_preproc_ok; then
  5487 else
  5488   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  5489 See \`config.log' for more details." >&5
  5490 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  5491 See \`config.log' for more details." >&2;}
  5492    { (exit 1); exit 1; }; }
  5493 fi
  5495 ac_ext=c
  5496 ac_cpp='$CPP $CPPFLAGS'
  5497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5502 ac_main_cc="$CC"
  5503 test -n "$build_alias" && ac_build_tool_prefix=$build_alias-
  5505 if test -z "$CC_FOR_BUILD"; then
  5506     if test "$#" = yes; then
  5507   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  5508 See \`config.log' for more details." >&5
  5509 echo "$as_me: error: cannot run test program while cross compiling
  5510 See \`config.log' for more details." >&2;}
  5511    { (exit 1); exit 1; }; }
  5512 else
  5513   cat >conftest.$ac_ext <<_ACEOF
  5514 int main(){return 0;}
  5515 _ACEOF
  5516 rm -f conftest$ac_exeext
  5517 if { (ac_try="$ac_link"
  5518 case "(($ac_try" in
  5519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5520   *) ac_try_echo=$ac_try;;
  5521 esac
  5522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5523   (eval "$ac_link") 2>&5
  5524   ac_status=$?
  5525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5526   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5527   { (case "(($ac_try" in
  5528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5529   *) ac_try_echo=$ac_try;;
  5530 esac
  5531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5532   (eval "$ac_try") 2>&5
  5533   ac_status=$?
  5534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5535   (exit $ac_status); }; }; then
  5536   CC_FOR_BUILD="$CC"
  5537 else
  5538   echo "$as_me: program exited with status $ac_status" >&5
  5539 echo "$as_me: failed program was:" >&5
  5540 sed 's/^/| /' conftest.$ac_ext >&5
  5542 fi
  5543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5544 fi
  5547 fi
  5550 ac_ext=c
  5551 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
  5552 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
  5553 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5554 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
  5555 if test -n "$ac_build_tool_prefix"; then
  5556   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  5557 set dummy ${ac_build_tool_prefix}gcc; ac_word=$2
  5558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5560 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5561   echo $ECHO_N "(cached) $ECHO_C" >&6
  5562 else
  5563   if test -n "$CC_FOR_BUILD"; then
  5564   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5565 else
  5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5567 for as_dir in $PATH
  5568 do
  5569   IFS=$as_save_IFS
  5570   test -z "$as_dir" && as_dir=.
  5571   for ac_exec_ext in '' $ac_executable_extensions; do
  5572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5573     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}gcc"
  5574     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5575     break 2
  5576   fi
  5577 done
  5578 done
  5579 IFS=$as_save_IFS
  5581 fi
  5582 fi
  5583 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5584 if test -n "$CC_FOR_BUILD"; then
  5585   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5586 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5587 else
  5588   { echo "$as_me:$LINENO: result: no" >&5
  5589 echo "${ECHO_T}no" >&6; }
  5590 fi
  5593 fi
  5594 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
  5595   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
  5596   # Extract the first word of "gcc", so it can be a program name with args.
  5597 set dummy gcc; ac_word=$2
  5598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5600 if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then
  5601   echo $ECHO_N "(cached) $ECHO_C" >&6
  5602 else
  5603   if test -n "$ac_ct_CC_FOR_BUILD"; then
  5604   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
  5605 else
  5606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5607 for as_dir in $PATH
  5608 do
  5609   IFS=$as_save_IFS
  5610   test -z "$as_dir" && as_dir=.
  5611   for ac_exec_ext in '' $ac_executable_extensions; do
  5612   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5613     ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
  5614     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5615     break 2
  5616   fi
  5617 done
  5618 done
  5619 IFS=$as_save_IFS
  5621 fi
  5622 fi
  5623 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
  5624 if test -n "$ac_ct_CC_FOR_BUILD"; then
  5625   { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
  5626 echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
  5627 else
  5628   { echo "$as_me:$LINENO: result: no" >&5
  5629 echo "${ECHO_T}no" >&6; }
  5630 fi
  5632   if test "x$ac_ct_CC_FOR_BUILD" = x; then
  5633     CC_FOR_BUILD=""
  5634   else
  5635     case $#:$ac_tool_warned in
  5636 yes:)
  5637 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5638 whose name does not start with the build triplet.  If you think this
  5639 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5640 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5641 whose name does not start with the build triplet.  If you think this
  5642 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5643 ac_tool_warned=yes ;;
  5644 esac
  5645     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
  5646   fi
  5647 else
  5648   CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
  5649 fi
  5651 if test -z "$CC_FOR_BUILD"; then
  5652           if test -n "$ac_build_tool_prefix"; then
  5653     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  5654 set dummy ${ac_build_tool_prefix}cc; ac_word=$2
  5655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5657 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5658   echo $ECHO_N "(cached) $ECHO_C" >&6
  5659 else
  5660   if test -n "$CC_FOR_BUILD"; then
  5661   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5662 else
  5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5664 for as_dir in $PATH
  5665 do
  5666   IFS=$as_save_IFS
  5667   test -z "$as_dir" && as_dir=.
  5668   for ac_exec_ext in '' $ac_executable_extensions; do
  5669   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5670     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}cc"
  5671     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5672     break 2
  5673   fi
  5674 done
  5675 done
  5676 IFS=$as_save_IFS
  5678 fi
  5679 fi
  5680 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5681 if test -n "$CC_FOR_BUILD"; then
  5682   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5683 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5684 else
  5685   { echo "$as_me:$LINENO: result: no" >&5
  5686 echo "${ECHO_T}no" >&6; }
  5687 fi
  5690   fi
  5691 fi
  5692 if test -z "$CC_FOR_BUILD"; then
  5693   # Extract the first word of "cc", so it can be a program name with args.
  5694 set dummy cc; ac_word=$2
  5695 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5697 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5698   echo $ECHO_N "(cached) $ECHO_C" >&6
  5699 else
  5700   if test -n "$CC_FOR_BUILD"; then
  5701   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5702 else
  5703   ac_prog_rejected=no
  5704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5705 for as_dir in $PATH
  5706 do
  5707   IFS=$as_save_IFS
  5708   test -z "$as_dir" && as_dir=.
  5709   for ac_exec_ext in '' $ac_executable_extensions; do
  5710   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5711     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  5712        ac_prog_rejected=yes
  5713        continue
  5714      fi
  5715     ac_cv_prog_CC_FOR_BUILD="cc"
  5716     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5717     break 2
  5718   fi
  5719 done
  5720 done
  5721 IFS=$as_save_IFS
  5723 if test $ac_prog_rejected = yes; then
  5724   # We found a bogon in the path, so make sure we never use it.
  5725   set dummy $ac_cv_prog_CC_FOR_BUILD
  5726   shift
  5727   if test $# != 0; then
  5728     # We chose a different compiler from the bogus one.
  5729     # However, it has the same basename, so the bogon will be chosen
  5730     # first if we set CC_FOR_BUILD to just the basename; use the full file name.
  5731     shift
  5732     ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"
  5733   fi
  5734 fi
  5735 fi
  5736 fi
  5737 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5738 if test -n "$CC_FOR_BUILD"; then
  5739   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5740 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5741 else
  5742   { echo "$as_me:$LINENO: result: no" >&5
  5743 echo "${ECHO_T}no" >&6; }
  5744 fi
  5747 fi
  5748 if test -z "$CC_FOR_BUILD"; then
  5749   if test -n "$ac_build_tool_prefix"; then
  5750   for ac_prog in cl.exe
  5751   do
  5752     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5753 set dummy $ac_build_tool_prefix$ac_prog; ac_word=$2
  5754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5756 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5757   echo $ECHO_N "(cached) $ECHO_C" >&6
  5758 else
  5759   if test -n "$CC_FOR_BUILD"; then
  5760   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5761 else
  5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5763 for as_dir in $PATH
  5764 do
  5765   IFS=$as_save_IFS
  5766   test -z "$as_dir" && as_dir=.
  5767   for ac_exec_ext in '' $ac_executable_extensions; do
  5768   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5769     ac_cv_prog_CC_FOR_BUILD="$ac_build_tool_prefix$ac_prog"
  5770     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5771     break 2
  5772   fi
  5773 done
  5774 done
  5775 IFS=$as_save_IFS
  5777 fi
  5778 fi
  5779 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5780 if test -n "$CC_FOR_BUILD"; then
  5781   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5782 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5783 else
  5784   { echo "$as_me:$LINENO: result: no" >&5
  5785 echo "${ECHO_T}no" >&6; }
  5786 fi
  5789     test -n "$CC_FOR_BUILD" && break
  5790   done
  5791 fi
  5792 if test -z "$CC_FOR_BUILD"; then
  5793   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
  5794   for ac_prog in cl.exe
  5795 do
  5796   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5797 set dummy $ac_prog; ac_word=$2
  5798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5800 if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then
  5801   echo $ECHO_N "(cached) $ECHO_C" >&6
  5802 else
  5803   if test -n "$ac_ct_CC_FOR_BUILD"; then
  5804   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
  5805 else
  5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5807 for as_dir in $PATH
  5808 do
  5809   IFS=$as_save_IFS
  5810   test -z "$as_dir" && as_dir=.
  5811   for ac_exec_ext in '' $ac_executable_extensions; do
  5812   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5813     ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"
  5814     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5815     break 2
  5816   fi
  5817 done
  5818 done
  5819 IFS=$as_save_IFS
  5821 fi
  5822 fi
  5823 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
  5824 if test -n "$ac_ct_CC_FOR_BUILD"; then
  5825   { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
  5826 echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
  5827 else
  5828   { echo "$as_me:$LINENO: result: no" >&5
  5829 echo "${ECHO_T}no" >&6; }
  5830 fi
  5833   test -n "$ac_ct_CC_FOR_BUILD" && break
  5834 done
  5836   if test "x$ac_ct_CC_FOR_BUILD" = x; then
  5837     CC_FOR_BUILD=""
  5838   else
  5839     case $#:$ac_tool_warned in
  5840 yes:)
  5841 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5842 whose name does not start with the build triplet.  If you think this
  5843 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5844 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5845 whose name does not start with the build triplet.  If you think this
  5846 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5847 ac_tool_warned=yes ;;
  5848 esac
  5849     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
  5850   fi
  5851 fi
  5853 fi
  5856 test -z "$CC_FOR_BUILD" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  5857 See \`config.log' for more details." >&5
  5858 echo "$as_me: error: no acceptable C compiler found in \$PATH
  5859 See \`config.log' for more details." >&2;}
  5860    { (exit 1); exit 1; }; }
  5862 # Provide some information about the compiler.
  5863 echo "$as_me:$LINENO: checking for C compiler version" >&5
  5864 ac_compiler=`set X $ac_build_compile; echo $2`
  5865 { (ac_try="$ac_compiler --version >&5"
  5866 case "(($ac_try" in
  5867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5868   *) ac_try_echo=$ac_try;;
  5869 esac
  5870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5871   (eval "$ac_compiler --version >&5") 2>&5
  5872   ac_status=$?
  5873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5874   (exit $ac_status); }
  5875 { (ac_try="$ac_compiler -v >&5"
  5876 case "(($ac_try" in
  5877   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5878   *) ac_try_echo=$ac_try;;
  5879 esac
  5880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5881   (eval "$ac_compiler -v >&5") 2>&5
  5882   ac_status=$?
  5883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5884   (exit $ac_status); }
  5885 { (ac_try="$ac_compiler -V >&5"
  5886 case "(($ac_try" in
  5887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5888   *) ac_try_echo=$ac_try;;
  5889 esac
  5890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5891   (eval "$ac_compiler -V >&5") 2>&5
  5892   ac_status=$?
  5893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5894   (exit $ac_status); }
  5896 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  5897 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  5898 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  5899   echo $ECHO_N "(cached) $ECHO_C" >&6
  5900 else
  5901   cat >conftest.$ac_ext <<_ACEOF
  5902 /* confdefs.h.  */
  5903 _ACEOF
  5904 cat confdefs.h >>conftest.$ac_ext
  5905 cat >>conftest.$ac_ext <<_ACEOF
  5906 /* end confdefs.h.  */
  5908 int
  5909 main ()
  5911 #ifndef __GNUC__
  5912        choke me
  5913 #endif
  5916   return 0;
  5918 _ACEOF
  5919 rm -f conftest.$ac_build_objext
  5920 if { (ac_try="$ac_build_compile"
  5921 case "(($ac_try" in
  5922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5923   *) ac_try_echo=$ac_try;;
  5924 esac
  5925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5926   (eval "$ac_build_compile") 2>conftest.er1
  5927   ac_status=$?
  5928   grep -v '^ *+' conftest.er1 >conftest.err
  5929   rm -f conftest.er1
  5930   cat conftest.err >&5
  5931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5932   (exit $ac_status); } && {
  5933 	 test -z "$ac_c_werror_flag" ||
  5934 	 test ! -s conftest.err
  5935        } && test -s conftest.$ac_build_objext; then
  5936   ac_build_compiler_gnu=yes
  5937 else
  5938   echo "$as_me: failed program was:" >&5
  5939 sed 's/^/| /' conftest.$ac_ext >&5
  5941 	ac_build_compiler_gnu=no
  5942 fi
  5944 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  5945 ac_cv_c_compiler_gnu=$ac_build_compiler_gnu
  5947 fi
  5948 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  5949 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  5950 GCC=`test $ac_build_compiler_gnu = yes && echo yes`
  5951 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
  5952 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
  5953 { echo "$as_me:$LINENO: checking whether $CC_FOR_BUILD accepts -g" >&5
  5954 echo $ECHO_N "checking whether $CC_FOR_BUILD accepts -g... $ECHO_C" >&6; }
  5955 if test "${ac_cv_build_prog_cc_g+set}" = set; then
  5956   echo $ECHO_N "(cached) $ECHO_C" >&6
  5957 else
  5958   ac_save_c_werror_flag=$ac_c_werror_flag
  5959    ac_c_werror_flag=yes
  5960    ac_cv_build_prog_cc_g=no
  5961    CFLAGS_FOR_BUILD="-g"
  5962    cat >conftest.$ac_ext <<_ACEOF
  5963 /* confdefs.h.  */
  5964 _ACEOF
  5965 cat confdefs.h >>conftest.$ac_ext
  5966 cat >>conftest.$ac_ext <<_ACEOF
  5967 /* end confdefs.h.  */
  5969 int
  5970 main ()
  5974   return 0;
  5976 _ACEOF
  5977 rm -f conftest.$ac_build_objext
  5978 if { (ac_try="$ac_build_compile"
  5979 case "(($ac_try" in
  5980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5981   *) ac_try_echo=$ac_try;;
  5982 esac
  5983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5984   (eval "$ac_build_compile") 2>conftest.er1
  5985   ac_status=$?
  5986   grep -v '^ *+' conftest.er1 >conftest.err
  5987   rm -f conftest.er1
  5988   cat conftest.err >&5
  5989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5990   (exit $ac_status); } && {
  5991 	 test -z "$ac_c_werror_flag" ||
  5992 	 test ! -s conftest.err
  5993        } && test -s conftest.$ac_build_objext; then
  5994   ac_cv_build_prog_cc_g=yes
  5995 else
  5996   echo "$as_me: failed program was:" >&5
  5997 sed 's/^/| /' conftest.$ac_ext >&5
  5999 	CFLAGS_FOR_BUILD=""
  6000       cat >conftest.$ac_ext <<_ACEOF
  6001 /* confdefs.h.  */
  6002 _ACEOF
  6003 cat confdefs.h >>conftest.$ac_ext
  6004 cat >>conftest.$ac_ext <<_ACEOF
  6005 /* end confdefs.h.  */
  6007 int
  6008 main ()
  6012   return 0;
  6014 _ACEOF
  6015 rm -f conftest.$ac_build_objext
  6016 if { (ac_try="$ac_build_compile"
  6017 case "(($ac_try" in
  6018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6019   *) ac_try_echo=$ac_try;;
  6020 esac
  6021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6022   (eval "$ac_build_compile") 2>conftest.er1
  6023   ac_status=$?
  6024   grep -v '^ *+' conftest.er1 >conftest.err
  6025   rm -f conftest.er1
  6026   cat conftest.err >&5
  6027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6028   (exit $ac_status); } && {
  6029 	 test -z "$ac_c_werror_flag" ||
  6030 	 test ! -s conftest.err
  6031        } && test -s conftest.$ac_build_objext; then
  6033 else
  6034   echo "$as_me: failed program was:" >&5
  6035 sed 's/^/| /' conftest.$ac_ext >&5
  6037 	ac_c_werror_flag=$ac_save_c_werror_flag
  6038 	 CFLAGS_FOR_BUILD="-g"
  6039 	 cat >conftest.$ac_ext <<_ACEOF
  6040 /* confdefs.h.  */
  6041 _ACEOF
  6042 cat confdefs.h >>conftest.$ac_ext
  6043 cat >>conftest.$ac_ext <<_ACEOF
  6044 /* end confdefs.h.  */
  6046 int
  6047 main ()
  6051   return 0;
  6053 _ACEOF
  6054 rm -f conftest.$ac_build_objext
  6055 if { (ac_try="$ac_build_compile"
  6056 case "(($ac_try" in
  6057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6058   *) ac_try_echo=$ac_try;;
  6059 esac
  6060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6061   (eval "$ac_build_compile") 2>conftest.er1
  6062   ac_status=$?
  6063   grep -v '^ *+' conftest.er1 >conftest.err
  6064   rm -f conftest.er1
  6065   cat conftest.err >&5
  6066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6067   (exit $ac_status); } && {
  6068 	 test -z "$ac_c_werror_flag" ||
  6069 	 test ! -s conftest.err
  6070        } && test -s conftest.$ac_build_objext; then
  6071   ac_cv_build_prog_cc_g=yes
  6072 else
  6073   echo "$as_me: failed program was:" >&5
  6074 sed 's/^/| /' conftest.$ac_ext >&5
  6077 fi
  6079 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  6080 fi
  6082 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  6083 fi
  6085 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  6086    ac_c_werror_flag=$ac_save_c_werror_flag
  6087 fi
  6088 { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_g" >&5
  6089 echo "${ECHO_T}$ac_cv_build_prog_cc_g" >&6; }
  6090 if test "$ac_test_CFLAGS" = set; then
  6091   CFLAGS_FOR_BUILD=$ac_save_CFLAGS
  6092 elif test $ac_cv_build_prog_cc_g = yes; then
  6093   if test "$GCC" = yes; then
  6094     CFLAGS_FOR_BUILD="-g -O2"
  6095   else
  6096     CFLAGS_FOR_BUILD="-g"
  6097   fi
  6098 else
  6099   if test "$GCC" = yes; then
  6100     CFLAGS_FOR_BUILD="-O2"
  6101   else
  6102     CFLAGS_FOR_BUILD=
  6103   fi
  6104 fi
  6105 { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
  6106 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }
  6107 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6108   echo $ECHO_N "(cached) $ECHO_C" >&6
  6109 else
  6110   ac_cv_build_prog_cc_stdc=no
  6111 ac_save_CC=$CC_FOR_BUILD
  6112 cat >conftest.$ac_ext <<_ACEOF
  6113 /* confdefs.h.  */
  6114 _ACEOF
  6115 cat confdefs.h >>conftest.$ac_ext
  6116 cat >>conftest.$ac_ext <<_ACEOF
  6117 /* end confdefs.h.  */
  6118 #include <stdarg.h>
  6119 #include <stdio.h>
  6120 #include <sys/types.h>
  6121 #include <sys/stat.h>
  6122 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  6123 struct buf { int x; };
  6124 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  6125 static char *e (p, i)
  6126      char **p;
  6127      int i;
  6129   return p[i];
  6131 static char *f (char * (*g) (char **, int), char **p, ...)
  6133   char *s;
  6134   va_list v;
  6135   va_start (v,p);
  6136   s = g (p, va_arg (v,int));
  6137   va_end (v);
  6138   return s;
  6141 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  6142    function prototypes and stuff, but not '\xHH' hex character constants.
  6143    These don't provoke an error unfortunately, instead are silently treated
  6144    as 'x'.  The following induces an error, until -std is added to get
  6145    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  6146    array size at least.  It's necessary to write '\x00'==0 to get something
  6147    that's true only with -std.  */
  6148 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  6150 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  6151    inside strings and character constants.  */
  6152 #define FOO(x) 'x'
  6153 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  6155 int test (int i, double x);
  6156 struct s1 {int (*f) (int a);};
  6157 struct s2 {int (*f) (double a);};
  6158 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  6159 int argc;
  6160 char **argv;
  6161 int
  6162 main ()
  6164 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  6166   return 0;
  6168 _ACEOF
  6169 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  6170 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  6171 do
  6172   CC_FOR_BUILD="$ac_save_CC $ac_arg"
  6173   rm -f conftest.$ac_build_objext
  6174 if { (ac_try="$ac_build_compile"
  6175 case "(($ac_try" in
  6176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6177   *) ac_try_echo=$ac_try;;
  6178 esac
  6179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6180   (eval "$ac_build_compile") 2>conftest.er1
  6181   ac_status=$?
  6182   grep -v '^ *+' conftest.er1 >conftest.err
  6183   rm -f conftest.er1
  6184   cat conftest.err >&5
  6185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6186   (exit $ac_status); } && {
  6187 	 test -z "$ac_c_werror_flag" ||
  6188 	 test ! -s conftest.err
  6189        } && test -s conftest.$ac_build_objext; then
  6190   ac_cv_build_prog_cc_stdc=$ac_arg
  6191 else
  6192   echo "$as_me: failed program was:" >&5
  6193 sed 's/^/| /' conftest.$ac_ext >&5
  6196 fi
  6198 rm -f core conftest.err conftest.$ac_build_objext
  6199   test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
  6200 done
  6201 rm -f conftest.$ac_ext
  6202 CC_FOR_BUILD=$ac_save_CC
  6204 fi
  6205 # AC_CACHE_VAL
  6206 case "x$ac_cv_build_prog_cc_stdc" in
  6207   x)
  6208     { echo "$as_me:$LINENO: result: none needed" >&5
  6209 echo "${ECHO_T}none needed" >&6; } ;;
  6210   xno)
  6211     { echo "$as_me:$LINENO: result: unsupported" >&5
  6212 echo "${ECHO_T}unsupported" >&6; } ;;
  6213   *)
  6214     CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
  6215     { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6216 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6217 esac
  6220 ac_ext=c
  6221 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
  6222 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
  6223 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6224 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
  6226 depcc="$CC_FOR_BUILD"   am_compiler_list=
  6228 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  6229 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  6230 if test "${am_cv_CC_FOR_BUILD_dependencies_compiler_type+set}" = set; then
  6231   echo $ECHO_N "(cached) $ECHO_C" >&6
  6232 else
  6233   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  6234   # We make a subdir and do the tests there.  Otherwise we can end up
  6235   # making bogus files that we don't know about and never remove.  For
  6236   # instance it was reported that on HP-UX the gcc test will end up
  6237   # making a dummy file named `D' -- because `-MD' means `put the output
  6238   # in D'.
  6239   mkdir conftest.dir
  6240   # Copy depcomp to subdir because otherwise we won't find it if we're
  6241   # using a relative directory.
  6242   cp "$am_depcomp" conftest.dir
  6243   cd conftest.dir
  6244   # We will build objects and dependencies in a subdirectory because
  6245   # it helps to detect inapplicable dependency modes.  For instance
  6246   # both Tru64's cc and ICC support -MD to output dependencies as a
  6247   # side effect of compilation, but ICC will put the dependencies in
  6248   # the current directory while Tru64 will put them in the object
  6249   # directory.
  6250   mkdir sub
  6252   am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
  6253   if test "$am_compiler_list" = ""; then
  6254      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  6255   fi
  6256   for depmode in $am_compiler_list; do
  6257     # Setup a source with many dependencies, because some compilers
  6258     # like to wrap large dependency lists on column 80 (with \), and
  6259     # we should not choose a depcomp mode which is confused by this.
  6261     # We need to recreate these files for each test, as the compiler may
  6262     # overwrite some of them when testing with obscure command lines.
  6263     # This happens at least with the AIX C compiler.
  6264     : > sub/conftest.c
  6265     for i in 1 2 3 4 5 6; do
  6266       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  6267       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  6268       # Solaris 8's {/usr,}/bin/sh.
  6269       touch sub/conftst$i.h
  6270     done
  6271     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  6273     case $depmode in
  6274     nosideeffect)
  6275       # after this tag, mechanisms are not by side-effect, so they'll
  6276       # only be used when explicitly requested
  6277       if test "x$enable_dependency_tracking" = xyes; then
  6278 	continue
  6279       else
  6280 	break
  6281       fi
  6282       ;;
  6283     none) break ;;
  6284     esac
  6285     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  6286     # mode.  It turns out that the SunPro C++ compiler does not properly
  6287     # handle `-M -o', and we need to detect this.
  6288     if depmode=$depmode \
  6289        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  6290        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  6291        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  6292          >/dev/null 2>conftest.err &&
  6293        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  6294        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  6295        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  6296       # icc doesn't choke on unknown options, it will just issue warnings
  6297       # or remarks (even with -Werror).  So we grep stderr for any message
  6298       # that says an option was ignored or not supported.
  6299       # When given -MP, icc 7.0 and 7.1 complain thusly:
  6300       #   icc: Command line warning: ignoring option '-M'; no argument required
  6301       # The diagnosis changed in icc 8.0:
  6302       #   icc: Command line remark: option '-MP' not supported
  6303       if (grep 'ignoring option' conftest.err ||
  6304           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  6305         am_cv_CC_FOR_BUILD_dependencies_compiler_type=$depmode
  6306         break
  6307       fi
  6308     fi
  6309   done
  6311   cd ..
  6312   rm -rf conftest.dir
  6313 else
  6314   am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
  6315 fi
  6317 fi
  6318 { echo "$as_me:$LINENO: result: $am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&5
  6319 echo "${ECHO_T}$am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&6; }
  6320 CC_FOR_BUILDDEPMODE=depmode=$am_cv_CC_FOR_BUILD_dependencies_compiler_type
  6324 if
  6325   test "x$enable_dependency_tracking" != xno \
  6326   && test "$am_cv_CC_FOR_BUILD_dependencies_compiler_type" = gcc3; then
  6327   am__fastdepCC_FOR_BUILD_TRUE=
  6328   am__fastdepCC_FOR_BUILD_FALSE='#'
  6329 else
  6330   am__fastdepCC_FOR_BUILD_TRUE='#'
  6331   am__fastdepCC_FOR_BUILD_FALSE=
  6332 fi
  6335    case $ac_cv_build_prog_cc_stdc in
  6336   no) ac_cv_build_prog_cc_stdc=no; ac_cv_build_prog_cc_stdc=no ;;
  6337   *) { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C99" >&5
  6338 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C99... $ECHO_C" >&6; }
  6339 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6340   echo $ECHO_N "(cached) $ECHO_C" >&6
  6341 else
  6342   ac_cv_build_prog_cc_stdc=no
  6343 ac_save_CC=$CC_FOR_BUILD
  6344 cat >conftest.$ac_ext <<_ACEOF
  6345 /* confdefs.h.  */
  6346 _ACEOF
  6347 cat confdefs.h >>conftest.$ac_ext
  6348 cat >>conftest.$ac_ext <<_ACEOF
  6349 /* end confdefs.h.  */
  6350 #include <stdarg.h>
  6351 #include <stdbool.h>
  6352 #include <stdlib.h>
  6353 #include <wchar.h>
  6354 #include <stdio.h>
  6356 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
  6357 #define debug(...) fprintf (stderr, __VA_ARGS__)
  6358 #define showlist(...) puts (#__VA_ARGS__)
  6359 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  6360 static void
  6361 test_varargs_macros (void)
  6363   int x = 1234;
  6364   int y = 5678;
  6365   debug ("Flag");
  6366   debug ("X = %d\n", x);
  6367   showlist (The first, second, and third items.);
  6368   report (x>y, "x is %d but y is %d", x, y);
  6371 // Check long long types.
  6372 #define BIG64 18446744073709551615ull
  6373 #define BIG32 4294967295ul
  6374 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  6375 #if !BIG_OK
  6376   your preprocessor is broken;
  6377 #endif
  6378 #if BIG_OK
  6379 #else
  6380   your preprocessor is broken;
  6381 #endif
  6382 static long long int bignum = -9223372036854775807LL;
  6383 static unsigned long long int ubignum = BIG64;
  6385 struct incomplete_array
  6387   int datasize;
  6388   double data[];
  6389 };
  6391 struct named_init {
  6392   int number;
  6393   const wchar_t *name;
  6394   double average;
  6395 };
  6397 typedef const char *ccp;
  6399 static inline int
  6400 test_restrict (ccp restrict text)
  6402   // See if C++-style comments work.
  6403   // Iterate through items via the restricted pointer.
  6404   // Also check for declarations in for loops.
  6405   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  6406     continue;
  6407   return 0;
  6410 // Check varargs and va_copy.
  6411 static void
  6412 test_varargs (const char *format, ...)
  6414   va_list args;
  6415   va_start (args, format);
  6416   va_list args_copy;
  6417   va_copy (args_copy, args);
  6419   const char *str;
  6420   int number;
  6421   float fnumber;
  6423   while (*format)
  6425       switch (*format++)
  6427 	case 's': // string
  6428 	  str = va_arg (args_copy, const char *);
  6429 	  break;
  6430 	case 'd': // int
  6431 	  number = va_arg (args_copy, int);
  6432 	  break;
  6433 	case 'f': // float
  6434 	  fnumber = va_arg (args_copy, double);
  6435 	  break;
  6436 	default:
  6437 	  break;
  6440   va_end (args_copy);
  6441   va_end (args);
  6444 int
  6445 main ()
  6448   // Check bool.
  6449   _Bool success = false;
  6451   // Check restrict.
  6452   if (test_restrict ("String literal") == 0)
  6453     success = true;
  6454   char *restrict newvar = "Another string";
  6456   // Check varargs.
  6457   test_varargs ("s, d' f .", "string", 65, 34.234);
  6458   test_varargs_macros ();
  6460   // Check flexible array members.
  6461   struct incomplete_array *ia =
  6462     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  6463   ia->datasize = 10;
  6464   for (int i = 0; i < ia->datasize; ++i)
  6465     ia->data[i] = i * 1.234;
  6467   // Check named initializers.
  6468   struct named_init ni = {
  6469     .number = 34,
  6470     .name = L"Test wide string",
  6471     .average = 543.34343,
  6472   };
  6474   ni.number = 58;
  6476   int dynamic_array[ni.number];
  6477   dynamic_array[ni.number - 1] = 543;
  6479   // work around unused variable warnings
  6480   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  6481 	  || dynamic_array[ni.number - 1] != 543);
  6484   return 0;
  6486 _ACEOF
  6487 for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
  6488 do
  6489   CC_FOR_BUILD="$ac_save_CC $ac_arg"
  6490   rm -f conftest.$ac_build_objext
  6491 if { (ac_try="$ac_build_compile"
  6492 case "(($ac_try" in
  6493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6494   *) ac_try_echo=$ac_try;;
  6495 esac
  6496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6497   (eval "$ac_build_compile") 2>conftest.er1
  6498   ac_status=$?
  6499   grep -v '^ *+' conftest.er1 >conftest.err
  6500   rm -f conftest.er1
  6501   cat conftest.err >&5
  6502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6503   (exit $ac_status); } && {
  6504 	 test -z "$ac_c_werror_flag" ||
  6505 	 test ! -s conftest.err
  6506        } && test -s conftest.$ac_build_objext; then
  6507   ac_cv_build_prog_cc_stdc=$ac_arg
  6508 else
  6509   echo "$as_me: failed program was:" >&5
  6510 sed 's/^/| /' conftest.$ac_ext >&5
  6513 fi
  6515 rm -f core conftest.err conftest.$ac_build_objext
  6516   test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
  6517 done
  6518 rm -f conftest.$ac_ext
  6519 CC_FOR_BUILD=$ac_save_CC
  6521 fi
  6522 # AC_CACHE_VAL
  6523 case "x$ac_cv_build_prog_cc_stdc" in
  6524   x)
  6525     { echo "$as_me:$LINENO: result: none needed" >&5
  6526 echo "${ECHO_T}none needed" >&6; } ;;
  6527   xno)
  6528     { echo "$as_me:$LINENO: result: unsupported" >&5
  6529 echo "${ECHO_T}unsupported" >&6; } ;;
  6530   *)
  6531     CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
  6532     { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6533 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6534 esac
  6535 if test "x$ac_cv_build_prog_cc_stdc" != xno; then
  6536   ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
  6537 else
  6538   { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
  6539 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }
  6540 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6541   echo $ECHO_N "(cached) $ECHO_C" >&6
  6542 else
  6543   ac_cv_build_prog_cc_stdc=no
  6544 ac_save_CC=$CC_FOR_BUILD
  6545 cat >conftest.$ac_ext <<_ACEOF
  6546 /* confdefs.h.  */
  6547 _ACEOF
  6548 cat confdefs.h >>conftest.$ac_ext
  6549 cat >>conftest.$ac_ext <<_ACEOF
  6550 /* end confdefs.h.  */
  6551 #include <stdarg.h>
  6552 #include <stdio.h>
  6553 #include <sys/types.h>
  6554 #include <sys/stat.h>
  6555 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  6556 struct buf { int x; };
  6557 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  6558 static char *e (p, i)
  6559      char **p;
  6560      int i;
  6562   return p[i];
  6564 static char *f (char * (*g) (char **, int), char **p, ...)
  6566   char *s;
  6567   va_list v;
  6568   va_start (v,p);
  6569   s = g (p, va_arg (v,int));
  6570   va_end (v);
  6571   return s;
  6574 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  6575    function prototypes and stuff, but not '\xHH' hex character constants.
  6576    These don't provoke an error unfortunately, instead are silently treated
  6577    as 'x'.  The following induces an error, until -std is added to get
  6578    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  6579    array size at least.  It's necessary to write '\x00'==0 to get something
  6580    that's true only with -std.  */
  6581 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  6583 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  6584    inside strings and character constants.  */
  6585 #define FOO(x) 'x'
  6586 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  6588 int test (int i, double x);
  6589 struct s1 {int (*f) (int a);};
  6590 struct s2 {int (*f) (double a);};
  6591 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  6592 int argc;
  6593 char **argv;
  6594 int
  6595 main ()
  6597 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  6599   return 0;
  6601 _ACEOF
  6602 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  6603 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  6604 do
  6605   CC_FOR_BUILD="$ac_save_CC $ac_arg"
  6606   rm -f conftest.$ac_build_objext
  6607 if { (ac_try="$ac_build_compile"
  6608 case "(($ac_try" in
  6609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6610   *) ac_try_echo=$ac_try;;
  6611 esac
  6612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6613   (eval "$ac_build_compile") 2>conftest.er1
  6614   ac_status=$?
  6615   grep -v '^ *+' conftest.er1 >conftest.err
  6616   rm -f conftest.er1
  6617   cat conftest.err >&5
  6618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6619   (exit $ac_status); } && {
  6620 	 test -z "$ac_c_werror_flag" ||
  6621 	 test ! -s conftest.err
  6622        } && test -s conftest.$ac_build_objext; then
  6623   ac_cv_build_prog_cc_stdc=$ac_arg
  6624 else
  6625   echo "$as_me: failed program was:" >&5
  6626 sed 's/^/| /' conftest.$ac_ext >&5
  6629 fi
  6631 rm -f core conftest.err conftest.$ac_build_objext
  6632   test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
  6633 done
  6634 rm -f conftest.$ac_ext
  6635 CC_FOR_BUILD=$ac_save_CC
  6637 fi
  6638 # AC_CACHE_VAL
  6639 case "x$ac_cv_build_prog_cc_stdc" in
  6640   x)
  6641     { echo "$as_me:$LINENO: result: none needed" >&5
  6642 echo "${ECHO_T}none needed" >&6; } ;;
  6643   xno)
  6644     { echo "$as_me:$LINENO: result: unsupported" >&5
  6645 echo "${ECHO_T}unsupported" >&6; } ;;
  6646   *)
  6647     CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
  6648     { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6649 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6650 esac
  6651 if test "x$ac_cv_build_prog_cc_stdc" != xno; then
  6652   ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
  6653 else
  6654   ac_cv_build_prog_cc_stdc=no
  6655 fi
  6658 fi
  6660  ;;
  6661 esac
  6662   { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO Standard C" >&5
  6663 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO Standard C... $ECHO_C" >&6; }
  6664   if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6665   echo $ECHO_N "(cached) $ECHO_C" >&6
  6666 fi
  6668   case $ac_cv_build_prog_cc_stdc in
  6669   no) { echo "$as_me:$LINENO: result: unsupported" >&5
  6670 echo "${ECHO_T}unsupported" >&6; } ;;
  6671   '') { echo "$as_me:$LINENO: result: none needed" >&5
  6672 echo "${ECHO_T}none needed" >&6; } ;;
  6673   *) { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6674 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6675 esac
  6678 ac_ext=c
  6679 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
  6680 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
  6681 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6682 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
  6683 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  6684 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  6685 # On Suns, sometimes $CPP names a directory.
  6686 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
  6687   CPP_FOR_BUILD=
  6688 fi
  6689 if test -z "$CPP_FOR_BUILD"; then
  6690   if test "${ac_cv_build_prog_CPP+set}" = set; then
  6691   echo $ECHO_N "(cached) $ECHO_C" >&6
  6692 else
  6693       # Double quotes because CPP needs to be expanded
  6694     for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
  6695     do
  6696       ac_preproc_ok=false
  6697 for ac_c_preproc_warn_flag in '' yes
  6698 do
  6699   # Use a header file that comes with gcc, so configuring glibc
  6700   # with a fresh cross-compiler works.
  6701   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6702   # <limits.h> exists even on freestanding compilers.
  6703   # On the NeXT, cc -E runs the code through the compiler's parser,
  6704   # not just through cpp. "Syntax error" is here to catch this case.
  6705   cat >conftest.$ac_ext <<_ACEOF
  6706 /* confdefs.h.  */
  6707 _ACEOF
  6708 cat confdefs.h >>conftest.$ac_ext
  6709 cat >>conftest.$ac_ext <<_ACEOF
  6710 /* end confdefs.h.  */
  6711 #ifdef __STDC__
  6712 # include <limits.h>
  6713 #else
  6714 # include <assert.h>
  6715 #endif
  6716 		     Syntax error
  6717 _ACEOF
  6718 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
  6719 case "(($ac_try" in
  6720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6721   *) ac_try_echo=$ac_try;;
  6722 esac
  6723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6724   (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
  6725   ac_status=$?
  6726   grep -v '^ *+' conftest.er1 >conftest.err
  6727   rm -f conftest.er1
  6728   cat conftest.err >&5
  6729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6730   (exit $ac_status); } >/dev/null && {
  6731 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6732 	 test ! -s conftest.err
  6733        }; then
  6735 else
  6736   echo "$as_me: failed program was:" >&5
  6737 sed 's/^/| /' conftest.$ac_ext >&5
  6739   # Broken: fails on valid input.
  6740 continue
  6741 fi
  6743 rm -f conftest.err conftest.$ac_ext
  6745   # OK, works on sane cases.  Now check whether nonexistent headers
  6746   # can be detected and how.
  6747   cat >conftest.$ac_ext <<_ACEOF
  6748 /* confdefs.h.  */
  6749 _ACEOF
  6750 cat confdefs.h >>conftest.$ac_ext
  6751 cat >>conftest.$ac_ext <<_ACEOF
  6752 /* end confdefs.h.  */
  6753 #include <ac_nonexistent.h>
  6754 _ACEOF
  6755 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
  6756 case "(($ac_try" in
  6757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6758   *) ac_try_echo=$ac_try;;
  6759 esac
  6760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6761   (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
  6762   ac_status=$?
  6763   grep -v '^ *+' conftest.er1 >conftest.err
  6764   rm -f conftest.er1
  6765   cat conftest.err >&5
  6766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6767   (exit $ac_status); } >/dev/null && {
  6768 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6769 	 test ! -s conftest.err