Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 1235:8da2f3dad9c0
prev1228:8168aa94e6d7
next1239:be3121267597
author nkeynes
date Sat Feb 25 21:27:06 2012 +1000 (8 years ago)
permissions -rwxr-xr-x
last change Fix signature of dummy function version
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 OBJC
   718 OBJCFLAGS
   719 ac_ct_OBJC
   720 SED
   721 CCAS
   722 CCASFLAGS
   723 RANLIB
   724 GREP
   725 EGREP
   726 OBJCDEPMODE
   727 am__fastdepOBJC_TRUE
   728 am__fastdepOBJC_FALSE
   729 POD2MAN
   730 POD2HTML
   731 GUI_COCOA_TRUE
   732 GUI_COCOA_FALSE
   733 SOEXT
   734 PLUGINCFLAGS
   735 PLUGINLDFLAGS
   736 LXDREAMLDFLAGS
   737 BUILD_PLUGINS_TRUE
   738 BUILD_PLUGINS_FALSE
   739 LXDREAMCPPFLAGS
   740 PKG_CONFIG
   741 LIBPNG_CFLAGS
   742 LIBPNG_LIBS
   743 GLIB_CFLAGS
   744 GLIB_LIBS
   745 GTK_CFLAGS
   746 GTK_LIBS
   747 GLIB_FOR_BUILD_CFLAGS
   748 GLIB_FOR_BUILD_LIBS
   749 GUI_GTK_TRUE
   750 GUI_GTK_FALSE
   751 LIBISOFS_CFLAGS
   752 LIBISOFS_LIBS
   753 LIBGL_CFLAGS
   754 LIBGL_LIBS
   755 VIDEO_OSMESA_TRUE
   756 VIDEO_OSMESA_FALSE
   757 VIDEO_GLX_TRUE
   758 VIDEO_GLX_FALSE
   759 VIDEO_NSGL_TRUE
   760 VIDEO_NSGL_FALSE
   761 BUILD_SH4X86_TRUE
   762 BUILD_SH4X86_FALSE
   763 AUDIO_OSX_TRUE
   764 AUDIO_OSX_FALSE
   765 SDL_CFLAGS
   766 SDL_LIBS
   767 AUDIO_SDL_TRUE
   768 AUDIO_SDL_FALSE
   769 PULSE_CFLAGS
   770 PULSE_LIBS
   771 AUDIO_PULSE_TRUE
   772 AUDIO_PULSE_FALSE
   773 ESOUND_CFLAGS
   774 ESOUND_LIBS
   775 AUDIO_ESOUND_TRUE
   776 AUDIO_ESOUND_FALSE
   777 ALSA_CFLAGS
   778 ALSA_LIBS
   779 AUDIO_ALSA_TRUE
   780 AUDIO_ALSA_FALSE
   781 CDROM_LINUX_TRUE
   782 CDROM_LINUX_FALSE
   783 CDROM_OSX_TRUE
   784 CDROM_OSX_FALSE
   785 CDROM_NONE_TRUE
   786 CDROM_NONE_FALSE
   787 JOY_LINUX_TRUE
   788 JOY_LINUX_FALSE
   789 INPUT_LIRC_TRUE
   790 INPUT_LIRC_FALSE
   791 SHCC
   792 SHLD
   793 SHOBJCOPY
   794 ARMCC
   795 ARMLD
   796 ARMOBJCOPY
   797 BUILD_SYSTEST_TRUE
   798 BUILD_SYSTEST_FALSE
   799 BUILD_ARMTEST_TRUE
   800 BUILD_ARMTEST_FALSE
   801 LXDREAM_LIBS
   802 GETTEXT_PACKAGE
   803 USE_NLS
   804 MSGFMT
   805 MSGFMT_OPTS
   806 GMSGFMT
   807 XGETTEXT
   808 CATALOGS
   809 CATOBJEXT
   810 DATADIRNAME
   811 GMOFILES
   812 INSTOBJEXT
   813 INTLLIBS
   814 PO_IN_DATADIR_TRUE
   815 PO_IN_DATADIR_FALSE
   816 POFILES
   817 POSUB
   818 MKINSTALLDIRS
   819 LIBOBJS
   820 LTLIBOBJS'
   821 ac_subst_files=''
   822       ac_precious_vars='build_alias
   823 host_alias
   824 target_alias
   825 CC
   826 CFLAGS
   827 LDFLAGS
   828 LIBS
   829 CPPFLAGS
   830 CPP
   831 CC
   832 CFLAGS
   833 CPPFLAGS
   834 CPP
   835 CPPFLAGS
   836 OBJC
   837 OBJCFLAGS
   838 CCAS
   839 CCASFLAGS
   840 PKG_CONFIG
   841 LIBPNG_CFLAGS
   842 LIBPNG_LIBS
   843 GLIB_CFLAGS
   844 GLIB_LIBS
   845 GTK_CFLAGS
   846 GTK_LIBS
   847 GLIB_FOR_BUILD_CFLAGS
   848 GLIB_FOR_BUILD_LIBS
   849 LIBISOFS_CFLAGS
   850 LIBISOFS_LIBS
   851 LIBGL_CFLAGS
   852 LIBGL_LIBS
   853 SDL_CFLAGS
   854 SDL_LIBS
   855 PULSE_CFLAGS
   856 PULSE_LIBS
   857 ESOUND_CFLAGS
   858 ESOUND_LIBS
   859 ALSA_CFLAGS
   860 ALSA_LIBS'
   863 # Initialize some variables set by options.
   864 ac_init_help=
   865 ac_init_version=false
   866 # The variables have the same names as the options, with
   867 # dashes changed to underlines.
   868 cache_file=/dev/null
   869 exec_prefix=NONE
   870 no_create=
   871 no_recursion=
   872 prefix=NONE
   873 program_prefix=NONE
   874 program_suffix=NONE
   875 program_transform_name=s,x,x,
   876 silent=
   877 site=
   878 srcdir=
   879 verbose=
   880 x_includes=NONE
   881 x_libraries=NONE
   883 # Installation directory options.
   884 # These are left unexpanded so users can "make install exec_prefix=/foo"
   885 # and all the variables that are supposed to be based on exec_prefix
   886 # by default will actually change.
   887 # Use braces instead of parens because sh, perl, etc. also accept them.
   888 # (The list follows the same order as the GNU Coding Standards.)
   889 bindir='${exec_prefix}/bin'
   890 sbindir='${exec_prefix}/sbin'
   891 libexecdir='${exec_prefix}/libexec'
   892 datarootdir='${prefix}/share'
   893 datadir='${datarootdir}'
   894 sysconfdir='${prefix}/etc'
   895 sharedstatedir='${prefix}/com'
   896 localstatedir='${prefix}/var'
   897 includedir='${prefix}/include'
   898 oldincludedir='/usr/include'
   899 docdir='${datarootdir}/doc/${PACKAGE}'
   900 infodir='${datarootdir}/info'
   901 htmldir='${docdir}'
   902 dvidir='${docdir}'
   903 pdfdir='${docdir}'
   904 psdir='${docdir}'
   905 libdir='${exec_prefix}/lib'
   906 localedir='${datarootdir}/locale'
   907 mandir='${datarootdir}/man'
   909 ac_prev=
   910 ac_dashdash=
   911 for ac_option
   912 do
   913   # If the previous option needs an argument, assign it.
   914   if test -n "$ac_prev"; then
   915     eval $ac_prev=\$ac_option
   916     ac_prev=
   917     continue
   918   fi
   920   case $ac_option in
   921   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   922   *)	ac_optarg=yes ;;
   923   esac
   925   # Accept the important Cygnus configure options, so we can diagnose typos.
   927   case $ac_dashdash$ac_option in
   928   --)
   929     ac_dashdash=yes ;;
   931   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   932     ac_prev=bindir ;;
   933   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   934     bindir=$ac_optarg ;;
   936   -build | --build | --buil | --bui | --bu)
   937     ac_prev=build_alias ;;
   938   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   939     build_alias=$ac_optarg ;;
   941   -cache-file | --cache-file | --cache-fil | --cache-fi \
   942   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   943     ac_prev=cache_file ;;
   944   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   945   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   946     cache_file=$ac_optarg ;;
   948   --config-cache | -C)
   949     cache_file=config.cache ;;
   951   -datadir | --datadir | --datadi | --datad)
   952     ac_prev=datadir ;;
   953   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   954     datadir=$ac_optarg ;;
   956   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   957   | --dataroo | --dataro | --datar)
   958     ac_prev=datarootdir ;;
   959   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   960   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   961     datarootdir=$ac_optarg ;;
   963   -disable-* | --disable-*)
   964     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   965     # Reject names that are not valid shell variable names.
   966     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   967       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   968    { (exit 1); exit 1; }; }
   969     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   970     eval enable_$ac_feature=no ;;
   972   -docdir | --docdir | --docdi | --doc | --do)
   973     ac_prev=docdir ;;
   974   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   975     docdir=$ac_optarg ;;
   977   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   978     ac_prev=dvidir ;;
   979   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   980     dvidir=$ac_optarg ;;
   982   -enable-* | --enable-*)
   983     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   984     # Reject names that are not valid shell variable names.
   985     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   986       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   987    { (exit 1); exit 1; }; }
   988     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   989     eval enable_$ac_feature=\$ac_optarg ;;
   991   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   992   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   993   | --exec | --exe | --ex)
   994     ac_prev=exec_prefix ;;
   995   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   996   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   997   | --exec=* | --exe=* | --ex=*)
   998     exec_prefix=$ac_optarg ;;
  1000   -gas | --gas | --ga | --g)
  1001     # Obsolete; use --with-gas.
  1002     with_gas=yes ;;
  1004   -help | --help | --hel | --he | -h)
  1005     ac_init_help=long ;;
  1006   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1007     ac_init_help=recursive ;;
  1008   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1009     ac_init_help=short ;;
  1011   -host | --host | --hos | --ho)
  1012     ac_prev=host_alias ;;
  1013   -host=* | --host=* | --hos=* | --ho=*)
  1014     host_alias=$ac_optarg ;;
  1016   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1017     ac_prev=htmldir ;;
  1018   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1019   | --ht=*)
  1020     htmldir=$ac_optarg ;;
  1022   -includedir | --includedir | --includedi | --included | --include \
  1023   | --includ | --inclu | --incl | --inc)
  1024     ac_prev=includedir ;;
  1025   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1026   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1027     includedir=$ac_optarg ;;
  1029   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1030     ac_prev=infodir ;;
  1031   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1032     infodir=$ac_optarg ;;
  1034   -libdir | --libdir | --libdi | --libd)
  1035     ac_prev=libdir ;;
  1036   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1037     libdir=$ac_optarg ;;
  1039   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1040   | --libexe | --libex | --libe)
  1041     ac_prev=libexecdir ;;
  1042   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1043   | --libexe=* | --libex=* | --libe=*)
  1044     libexecdir=$ac_optarg ;;
  1046   -localedir | --localedir | --localedi | --localed | --locale)
  1047     ac_prev=localedir ;;
  1048   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1049     localedir=$ac_optarg ;;
  1051   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1052   | --localstate | --localstat | --localsta | --localst | --locals)
  1053     ac_prev=localstatedir ;;
  1054   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1055   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1056     localstatedir=$ac_optarg ;;
  1058   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1059     ac_prev=mandir ;;
  1060   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1061     mandir=$ac_optarg ;;
  1063   -nfp | --nfp | --nf)
  1064     # Obsolete; use --without-fp.
  1065     with_fp=no ;;
  1067   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1068   | --no-cr | --no-c | -n)
  1069     no_create=yes ;;
  1071   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1072   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1073     no_recursion=yes ;;
  1075   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1076   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1077   | --oldin | --oldi | --old | --ol | --o)
  1078     ac_prev=oldincludedir ;;
  1079   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1080   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1081   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1082     oldincludedir=$ac_optarg ;;
  1084   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1085     ac_prev=prefix ;;
  1086   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1087     prefix=$ac_optarg ;;
  1089   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1090   | --program-pre | --program-pr | --program-p)
  1091     ac_prev=program_prefix ;;
  1092   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1093   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1094     program_prefix=$ac_optarg ;;
  1096   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1097   | --program-suf | --program-su | --program-s)
  1098     ac_prev=program_suffix ;;
  1099   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1100   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1101     program_suffix=$ac_optarg ;;
  1103   -program-transform-name | --program-transform-name \
  1104   | --program-transform-nam | --program-transform-na \
  1105   | --program-transform-n | --program-transform- \
  1106   | --program-transform | --program-transfor \
  1107   | --program-transfo | --program-transf \
  1108   | --program-trans | --program-tran \
  1109   | --progr-tra | --program-tr | --program-t)
  1110     ac_prev=program_transform_name ;;
  1111   -program-transform-name=* | --program-transform-name=* \
  1112   | --program-transform-nam=* | --program-transform-na=* \
  1113   | --program-transform-n=* | --program-transform-=* \
  1114   | --program-transform=* | --program-transfor=* \
  1115   | --program-transfo=* | --program-transf=* \
  1116   | --program-trans=* | --program-tran=* \
  1117   | --progr-tra=* | --program-tr=* | --program-t=*)
  1118     program_transform_name=$ac_optarg ;;
  1120   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1121     ac_prev=pdfdir ;;
  1122   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1123     pdfdir=$ac_optarg ;;
  1125   -psdir | --psdir | --psdi | --psd | --ps)
  1126     ac_prev=psdir ;;
  1127   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1128     psdir=$ac_optarg ;;
  1130   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1131   | -silent | --silent | --silen | --sile | --sil)
  1132     silent=yes ;;
  1134   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1135     ac_prev=sbindir ;;
  1136   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1137   | --sbi=* | --sb=*)
  1138     sbindir=$ac_optarg ;;
  1140   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1141   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1142   | --sharedst | --shareds | --shared | --share | --shar \
  1143   | --sha | --sh)
  1144     ac_prev=sharedstatedir ;;
  1145   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1146   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1147   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1148   | --sha=* | --sh=*)
  1149     sharedstatedir=$ac_optarg ;;
  1151   -site | --site | --sit)
  1152     ac_prev=site ;;
  1153   -site=* | --site=* | --sit=*)
  1154     site=$ac_optarg ;;
  1156   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1157     ac_prev=srcdir ;;
  1158   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1159     srcdir=$ac_optarg ;;
  1161   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1162   | --syscon | --sysco | --sysc | --sys | --sy)
  1163     ac_prev=sysconfdir ;;
  1164   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1165   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1166     sysconfdir=$ac_optarg ;;
  1168   -target | --target | --targe | --targ | --tar | --ta | --t)
  1169     ac_prev=target_alias ;;
  1170   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1171     target_alias=$ac_optarg ;;
  1173   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1174     verbose=yes ;;
  1176   -version | --version | --versio | --versi | --vers | -V)
  1177     ac_init_version=: ;;
  1179   -with-* | --with-*)
  1180     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1181     # Reject names that are not valid shell variable names.
  1182     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1183       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1184    { (exit 1); exit 1; }; }
  1185     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1186     eval with_$ac_package=\$ac_optarg ;;
  1188   -without-* | --without-*)
  1189     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1190     # Reject names that are not valid shell variable names.
  1191     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1192       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1193    { (exit 1); exit 1; }; }
  1194     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1195     eval with_$ac_package=no ;;
  1197   --x)
  1198     # Obsolete; use --with-x.
  1199     with_x=yes ;;
  1201   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1202   | --x-incl | --x-inc | --x-in | --x-i)
  1203     ac_prev=x_includes ;;
  1204   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1205   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1206     x_includes=$ac_optarg ;;
  1208   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1209   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1210     ac_prev=x_libraries ;;
  1211   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1212   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1213     x_libraries=$ac_optarg ;;
  1215   -*) { echo "$as_me: error: unrecognized option: $ac_option
  1216 Try \`$0 --help' for more information." >&2
  1217    { (exit 1); exit 1; }; }
  1218     ;;
  1220   *=*)
  1221     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1222     # Reject names that are not valid shell variable names.
  1223     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1224       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1225    { (exit 1); exit 1; }; }
  1226     eval $ac_envvar=\$ac_optarg
  1227     export $ac_envvar ;;
  1229   *)
  1230     # FIXME: should be removed in autoconf 3.0.
  1231     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1232     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1233       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1234     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1235     ;;
  1237   esac
  1238 done
  1240 if test -n "$ac_prev"; then
  1241   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1242   { echo "$as_me: error: missing argument to $ac_option" >&2
  1243    { (exit 1); exit 1; }; }
  1244 fi
  1246 # Be sure to have absolute directory names.
  1247 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1248 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1249 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1250 		libdir localedir mandir
  1251 do
  1252   eval ac_val=\$$ac_var
  1253   case $ac_val in
  1254     [\\/$]* | ?:[\\/]* )  continue;;
  1255     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1256   esac
  1257   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1258    { (exit 1); exit 1; }; }
  1259 done
  1261 # There might be people who depend on the old broken behavior: `$host'
  1262 # used to hold the argument of --host etc.
  1263 # FIXME: To remove some day.
  1264 build=$build_alias
  1265 host=$host_alias
  1266 target=$target_alias
  1268 # FIXME: To remove some day.
  1269 if test "x$host_alias" != x; then
  1270   if test "x$build_alias" = x; then
  1271     cross_compiling=maybe
  1272     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1273     If a cross compiler is detected then cross compile mode will be used." >&2
  1274   elif test "x$build_alias" != "x$host_alias"; then
  1275     cross_compiling=yes
  1276   fi
  1277 fi
  1279 ac_tool_prefix=
  1280 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1282 test "$silent" = yes && exec 6>/dev/null
  1285 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1286 ac_ls_di=`ls -di .` &&
  1287 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1288   { echo "$as_me: error: Working directory cannot be determined" >&2
  1289    { (exit 1); exit 1; }; }
  1290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1291   { echo "$as_me: error: pwd does not report name of working directory" >&2
  1292    { (exit 1); exit 1; }; }
  1295 # Find the source files, if location was not specified.
  1296 if test -z "$srcdir"; then
  1297   ac_srcdir_defaulted=yes
  1298   # Try the directory containing this script, then the parent directory.
  1299   ac_confdir=`$as_dirname -- "$0" ||
  1300 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1301 	 X"$0" : 'X\(//\)[^/]' \| \
  1302 	 X"$0" : 'X\(//\)$' \| \
  1303 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1304 echo X"$0" |
  1305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1306 	    s//\1/
  1309 	  /^X\(\/\/\)[^/].*/{
  1310 	    s//\1/
  1313 	  /^X\(\/\/\)$/{
  1314 	    s//\1/
  1317 	  /^X\(\/\).*/{
  1318 	    s//\1/
  1321 	  s/.*/./; q'`
  1322   srcdir=$ac_confdir
  1323   if test ! -r "$srcdir/$ac_unique_file"; then
  1324     srcdir=..
  1325   fi
  1326 else
  1327   ac_srcdir_defaulted=no
  1328 fi
  1329 if test ! -r "$srcdir/$ac_unique_file"; then
  1330   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1331   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1332    { (exit 1); exit 1; }; }
  1333 fi
  1334 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1335 ac_abs_confdir=`(
  1336 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1337    { (exit 1); exit 1; }; }
  1338 	pwd)`
  1339 # When building in place, set srcdir=.
  1340 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1341   srcdir=.
  1342 fi
  1343 # Remove unnecessary trailing slashes from srcdir.
  1344 # Double slashes in file names in object file debugging info
  1345 # mess up M-x gdb in Emacs.
  1346 case $srcdir in
  1347 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1348 esac
  1349 for ac_var in $ac_precious_vars; do
  1350   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1351   eval ac_env_${ac_var}_value=\$${ac_var}
  1352   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1353   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1354 done
  1357 # Report the --help message.
  1359 if test "$ac_init_help" = "long"; then
  1360   # Omit some internal or obsolete options to make the list less imposing.
  1361   # This message is too long to be a string in the A/UX 3.1 sh.
  1362   cat <<_ACEOF
  1363 \`configure' configures this package to adapt to many kinds of systems.
  1365 Usage: $0 [OPTION]... [VAR=VALUE]...
  1367 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1368 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1370 Defaults for the options are specified in brackets.
  1372 Configuration:
  1373   -h, --help              display this help and exit
  1374       --help=short        display options specific to this package
  1375       --help=recursive    display the short help of all the included packages
  1376   -V, --version           display version information and exit
  1377   -q, --quiet, --silent   do not print \`checking...' messages
  1378       --cache-file=FILE   cache test results in FILE [disabled]
  1379   -C, --config-cache      alias for \`--cache-file=config.cache'
  1380   -n, --no-create         do not create output files
  1381       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1383 Installation directories:
  1384   --prefix=PREFIX         install architecture-independent files in PREFIX
  1385 			  [$ac_default_prefix]
  1386   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1387 			  [PREFIX]
  1389 By default, \`make install' will install all the files in
  1390 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1391 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1392 for instance \`--prefix=\$HOME'.
  1394 For better control, use the options below.
  1396 Fine tuning of the installation directories:
  1397   --bindir=DIR           user executables [EPREFIX/bin]
  1398   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  1399   --libexecdir=DIR       program executables [EPREFIX/libexec]
  1400   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  1401   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  1402   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  1403   --libdir=DIR           object code libraries [EPREFIX/lib]
  1404   --includedir=DIR       C header files [PREFIX/include]
  1405   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1406   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  1407   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  1408   --infodir=DIR          info documentation [DATAROOTDIR/info]
  1409   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  1410   --mandir=DIR           man documentation [DATAROOTDIR/man]
  1411   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  1412   --htmldir=DIR          html documentation [DOCDIR]
  1413   --dvidir=DIR           dvi documentation [DOCDIR]
  1414   --pdfdir=DIR           pdf documentation [DOCDIR]
  1415   --psdir=DIR            ps documentation [DOCDIR]
  1416 _ACEOF
  1418   cat <<\_ACEOF
  1420 Program names:
  1421   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1422   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1423   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1425 System types:
  1426   --build=BUILD     configure for building on BUILD [guessed]
  1427   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1428 _ACEOF
  1429 fi
  1431 if test -n "$ac_init_help"; then
  1433   cat <<\_ACEOF
  1435 Optional Features:
  1436   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1437   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1438   --enable-maintainer-mode  enable make rules and dependencies not useful
  1439 			  (and sometimes confusing) to the casual installer
  1440   --disable-dependency-tracking  speeds up one-time build
  1441   --enable-dependency-tracking   do not reject slow dependency extractors
  1442   --enable-strict-warn    Enable strict compilation warnings
  1443   --disable-translator    Disable the SH4 translator (Enabled by default)
  1444   --disable-optimized     Disable compile-time optimizations (Enabled by
  1445                           default)
  1446   --enable-shared         Build drivers as shared libraries (Enabled if
  1447                           available)
  1448   --enable-profiled       Enable profiling build
  1449   --enable-trace          Enable generation of IO traces (warning: hurts
  1450                           performance)
  1451   --enable-watch          Enable watchpoints in the debugger (warning: hurts
  1452                           performance)
  1453   --enable-sh4stats       Enable statistics on executed sh4 instructions
  1455 Optional Packages:
  1456   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1457   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1458   --with-osmesa           Build with the osmesa GL library (software
  1459                           rendering)
  1460   --with-gtk              Build with the GTK UI. Default on X11 systems
  1461   --with-esd              Build with support for the ESounD audio system
  1462   --with-pulse            Build with support for the PulseAudio audio system
  1463   --with-sdl              Build with support for SDL audio
  1465 Some influential environment variables:
  1466   CC          C compiler command
  1467   CFLAGS      C compiler flags
  1468   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1469               nonstandard directory <lib dir>
  1470   LIBS        libraries to pass to the linker, e.g. -l<library>
  1471   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1472               you have headers in a nonstandard directory <include dir>
  1473   CPP         C preprocessor
  1474   OBJC        Objective C compiler command
  1475   OBJCFLAGS   Objective C compiler flags
  1476   CCAS        assembler compiler command (defaults to CC)
  1477   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1478   PKG_CONFIG  path to pkg-config utility
  1479   LIBPNG_CFLAGS
  1480               C compiler flags for LIBPNG, overriding pkg-config
  1481   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1482   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  1483   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  1484   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1485   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1486   GLIB_FOR_BUILD_CFLAGS
  1487               C compiler flags for GLIB_FOR_BUILD, overriding pkg-config
  1488   GLIB_FOR_BUILD_LIBS
  1489               linker flags for GLIB_FOR_BUILD, overriding pkg-config
  1490   LIBISOFS_CFLAGS
  1491               C compiler flags for LIBISOFS, overriding pkg-config
  1492   LIBISOFS_LIBS
  1493               linker flags for LIBISOFS, overriding pkg-config
  1494   LIBGL_CFLAGS
  1495               C compiler flags for LIBGL, overriding pkg-config
  1496   LIBGL_LIBS  linker flags for LIBGL, overriding pkg-config
  1497   SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
  1498   SDL_LIBS    linker flags for SDL, overriding pkg-config
  1499   PULSE_CFLAGS
  1500               C compiler flags for PULSE, overriding pkg-config
  1501   PULSE_LIBS  linker flags for PULSE, overriding pkg-config
  1502   ESOUND_CFLAGS
  1503               C compiler flags for ESOUND, overriding pkg-config
  1504   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1505   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
  1506   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
  1508 Use these variables to override the choices made by `configure' or to help
  1509 it to find libraries and programs with nonstandard names/locations.
  1511 _ACEOF
  1512 ac_status=$?
  1513 fi
  1515 if test "$ac_init_help" = "recursive"; then
  1516   # If there are subdirs, report their specific --help.
  1517   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1518     test -d "$ac_dir" || continue
  1519     ac_builddir=.
  1521 case "$ac_dir" in
  1522 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1523 *)
  1524   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1525   # A ".." for each directory in $ac_dir_suffix.
  1526   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1527   case $ac_top_builddir_sub in
  1528   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1529   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1530   esac ;;
  1531 esac
  1532 ac_abs_top_builddir=$ac_pwd
  1533 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1534 # for backward compatibility:
  1535 ac_top_builddir=$ac_top_build_prefix
  1537 case $srcdir in
  1538   .)  # We are building in place.
  1539     ac_srcdir=.
  1540     ac_top_srcdir=$ac_top_builddir_sub
  1541     ac_abs_top_srcdir=$ac_pwd ;;
  1542   [\\/]* | ?:[\\/]* )  # Absolute name.
  1543     ac_srcdir=$srcdir$ac_dir_suffix;
  1544     ac_top_srcdir=$srcdir
  1545     ac_abs_top_srcdir=$srcdir ;;
  1546   *) # Relative name.
  1547     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1548     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1549     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1550 esac
  1551 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1553     cd "$ac_dir" || { ac_status=$?; continue; }
  1554     # Check for guested configure.
  1555     if test -f "$ac_srcdir/configure.gnu"; then
  1556       echo &&
  1557       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1558     elif test -f "$ac_srcdir/configure"; then
  1559       echo &&
  1560       $SHELL "$ac_srcdir/configure" --help=recursive
  1561     else
  1562       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1563     fi || ac_status=$?
  1564     cd "$ac_pwd" || { ac_status=$?; break; }
  1565   done
  1566 fi
  1568 test -n "$ac_init_help" && exit $ac_status
  1569 if $ac_init_version; then
  1570   cat <<\_ACEOF
  1571 configure
  1572 generated by GNU Autoconf 2.61
  1574 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1575 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1576 This configure script is free software; the Free Software Foundation
  1577 gives unlimited permission to copy, distribute and modify it.
  1578 _ACEOF
  1579   exit
  1580 fi
  1581 cat >config.log <<_ACEOF
  1582 This file contains any messages produced by compilers while
  1583 running configure, to aid debugging if configure makes a mistake.
  1585 It was created by $as_me, which was
  1586 generated by GNU Autoconf 2.61.  Invocation command line was
  1588   $ $0 $@
  1590 _ACEOF
  1591 exec 5>>config.log
  1593 cat <<_ASUNAME
  1594 ## --------- ##
  1595 ## Platform. ##
  1596 ## --------- ##
  1598 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1599 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1600 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1601 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1602 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1604 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1605 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1607 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1608 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1609 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1610 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1611 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1612 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1613 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1615 _ASUNAME
  1617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1618 for as_dir in $PATH
  1619 do
  1620   IFS=$as_save_IFS
  1621   test -z "$as_dir" && as_dir=.
  1622   echo "PATH: $as_dir"
  1623 done
  1624 IFS=$as_save_IFS
  1626 } >&5
  1628 cat >&5 <<_ACEOF
  1631 ## ----------- ##
  1632 ## Core tests. ##
  1633 ## ----------- ##
  1635 _ACEOF
  1638 # Keep a trace of the command line.
  1639 # Strip out --no-create and --no-recursion so they do not pile up.
  1640 # Strip out --silent because we don't want to record it for future runs.
  1641 # Also quote any args containing shell meta-characters.
  1642 # Make two passes to allow for proper duplicate-argument suppression.
  1643 ac_configure_args=
  1644 ac_configure_args0=
  1645 ac_configure_args1=
  1646 ac_must_keep_next=false
  1647 for ac_pass in 1 2
  1648 do
  1649   for ac_arg
  1650   do
  1651     case $ac_arg in
  1652     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1653     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1654     | -silent | --silent | --silen | --sile | --sil)
  1655       continue ;;
  1656     *\'*)
  1657       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1658     esac
  1659     case $ac_pass in
  1660     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1661     2)
  1662       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1663       if test $ac_must_keep_next = true; then
  1664 	ac_must_keep_next=false # Got value, back to normal.
  1665       else
  1666 	case $ac_arg in
  1667 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1668 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1669 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1670 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1671 	    case "$ac_configure_args0 " in
  1672 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1673 	    esac
  1674 	    ;;
  1675 	  -* ) ac_must_keep_next=true ;;
  1676 	esac
  1677       fi
  1678       ac_configure_args="$ac_configure_args '$ac_arg'"
  1679       ;;
  1680     esac
  1681   done
  1682 done
  1683 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1684 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1686 # When interrupted or exit'd, cleanup temporary files, and complete
  1687 # config.log.  We remove comments because anyway the quotes in there
  1688 # would cause problems or look ugly.
  1689 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1690 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1691 trap 'exit_status=$?
  1692   # Save into config.log some information that might help in debugging.
  1694     echo
  1696     cat <<\_ASBOX
  1697 ## ---------------- ##
  1698 ## Cache variables. ##
  1699 ## ---------------- ##
  1700 _ASBOX
  1701     echo
  1702     # The following way of writing the cache mishandles newlines in values,
  1704   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1705     eval ac_val=\$$ac_var
  1706     case $ac_val in #(
  1707     *${as_nl}*)
  1708       case $ac_var in #(
  1709       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1710 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1711       esac
  1712       case $ac_var in #(
  1713       _ | IFS | as_nl) ;; #(
  1714       *) $as_unset $ac_var ;;
  1715       esac ;;
  1716     esac
  1717   done
  1718   (set) 2>&1 |
  1719     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1720     *${as_nl}ac_space=\ *)
  1721       sed -n \
  1722 	"s/'\''/'\''\\\\'\'''\''/g;
  1723 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1724       ;; #(
  1725     *)
  1726       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1727       ;;
  1728     esac |
  1729     sort
  1731     echo
  1733     cat <<\_ASBOX
  1734 ## ----------------- ##
  1735 ## Output variables. ##
  1736 ## ----------------- ##
  1737 _ASBOX
  1738     echo
  1739     for ac_var in $ac_subst_vars
  1740     do
  1741       eval ac_val=\$$ac_var
  1742       case $ac_val in
  1743       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1744       esac
  1745       echo "$ac_var='\''$ac_val'\''"
  1746     done | sort
  1747     echo
  1749     if test -n "$ac_subst_files"; then
  1750       cat <<\_ASBOX
  1751 ## ------------------- ##
  1752 ## File substitutions. ##
  1753 ## ------------------- ##
  1754 _ASBOX
  1755       echo
  1756       for ac_var in $ac_subst_files
  1757       do
  1758 	eval ac_val=\$$ac_var
  1759 	case $ac_val in
  1760 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1761 	esac
  1762 	echo "$ac_var='\''$ac_val'\''"
  1763       done | sort
  1764       echo
  1765     fi
  1767     if test -s confdefs.h; then
  1768       cat <<\_ASBOX
  1769 ## ----------- ##
  1770 ## confdefs.h. ##
  1771 ## ----------- ##
  1772 _ASBOX
  1773       echo
  1774       cat confdefs.h
  1775       echo
  1776     fi
  1777     test "$ac_signal" != 0 &&
  1778       echo "$as_me: caught signal $ac_signal"
  1779     echo "$as_me: exit $exit_status"
  1780   } >&5
  1781   rm -f core *.core core.conftest.* &&
  1782     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1783     exit $exit_status
  1784 ' 0
  1785 for ac_signal in 1 2 13 15; do
  1786   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1787 done
  1788 ac_signal=0
  1790 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1791 rm -f -r conftest* confdefs.h
  1793 # Predefined preprocessor variables.
  1795 cat >>confdefs.h <<_ACEOF
  1796 #define PACKAGE_NAME "$PACKAGE_NAME"
  1797 _ACEOF
  1800 cat >>confdefs.h <<_ACEOF
  1801 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1802 _ACEOF
  1805 cat >>confdefs.h <<_ACEOF
  1806 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1807 _ACEOF
  1810 cat >>confdefs.h <<_ACEOF
  1811 #define PACKAGE_STRING "$PACKAGE_STRING"
  1812 _ACEOF
  1815 cat >>confdefs.h <<_ACEOF
  1816 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1817 _ACEOF
  1820 # Let the site file select an alternate cache file if it wants to.
  1821 # Prefer explicitly selected file to automatically selected ones.
  1822 if test -n "$CONFIG_SITE"; then
  1823   set x "$CONFIG_SITE"
  1824 elif test "x$prefix" != xNONE; then
  1825   set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1826 else
  1827   set x "$ac_default_prefix/share/config.site" \
  1828 	"$ac_default_prefix/etc/config.site"
  1829 fi
  1830 shift
  1831 for ac_site_file
  1832 do
  1833   if test -r "$ac_site_file"; then
  1834     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1835 echo "$as_me: loading site script $ac_site_file" >&6;}
  1836     sed 's/^/| /' "$ac_site_file" >&5
  1837     . "$ac_site_file"
  1838   fi
  1839 done
  1841 if test -r "$cache_file"; then
  1842   # Some versions of bash will fail to source /dev/null (special
  1843   # files actually), so we avoid doing that.
  1844   if test -f "$cache_file"; then
  1845     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1846 echo "$as_me: loading cache $cache_file" >&6;}
  1847     case $cache_file in
  1848       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1849       *)                      . "./$cache_file";;
  1850     esac
  1851   fi
  1852 else
  1853   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1854 echo "$as_me: creating cache $cache_file" >&6;}
  1855   >$cache_file
  1856 fi
  1858 # Check that the precious variables saved in the cache have kept the same
  1859 # value.
  1860 ac_cache_corrupted=false
  1861 for ac_var in $ac_precious_vars; do
  1862   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1863   eval ac_new_set=\$ac_env_${ac_var}_set
  1864   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1865   eval ac_new_val=\$ac_env_${ac_var}_value
  1866   case $ac_old_set,$ac_new_set in
  1867     set,)
  1868       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1869 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1870       ac_cache_corrupted=: ;;
  1871     ,set)
  1872       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1873 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1874       ac_cache_corrupted=: ;;
  1875     ,);;
  1876     *)
  1877       if test "x$ac_old_val" != "x$ac_new_val"; then
  1878 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1879 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1880 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1881 echo "$as_me:   former value:  $ac_old_val" >&2;}
  1882 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1883 echo "$as_me:   current value: $ac_new_val" >&2;}
  1884 	ac_cache_corrupted=:
  1885       fi;;
  1886   esac
  1887   # Pass precious variables to config.status.
  1888   if test "$ac_new_set" = set; then
  1889     case $ac_new_val in
  1890     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1891     *) ac_arg=$ac_var=$ac_new_val ;;
  1892     esac
  1893     case " $ac_configure_args " in
  1894       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1895       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1896     esac
  1897   fi
  1898 done
  1899 if $ac_cache_corrupted; then
  1900   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1901 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1902   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1903 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1904    { (exit 1); exit 1; }; }
  1905 fi
  1923 ac_ext=c
  1924 ac_cpp='$CPP $CPPFLAGS'
  1925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1930 am__api_version="1.9"
  1931 ac_aux_dir=
  1932 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1933   if test -f "$ac_dir/install-sh"; then
  1934     ac_aux_dir=$ac_dir
  1935     ac_install_sh="$ac_aux_dir/install-sh -c"
  1936     break
  1937   elif test -f "$ac_dir/install.sh"; then
  1938     ac_aux_dir=$ac_dir
  1939     ac_install_sh="$ac_aux_dir/install.sh -c"
  1940     break
  1941   elif test -f "$ac_dir/shtool"; then
  1942     ac_aux_dir=$ac_dir
  1943     ac_install_sh="$ac_aux_dir/shtool install -c"
  1944     break
  1945   fi
  1946 done
  1947 if test -z "$ac_aux_dir"; then
  1948   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1949 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1950    { (exit 1); exit 1; }; }
  1951 fi
  1953 # These three variables are undocumented and unsupported,
  1954 # and are intended to be withdrawn in a future Autoconf release.
  1955 # They can cause serious problems if a builder's source tree is in a directory
  1956 # whose full name contains unusual characters.
  1957 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1958 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1959 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1962 # Find a good install program.  We prefer a C program (faster),
  1963 # so one script is as good as another.  But avoid the broken or
  1964 # incompatible versions:
  1965 # SysV /etc/install, /usr/sbin/install
  1966 # SunOS /usr/etc/install
  1967 # IRIX /sbin/install
  1968 # AIX /bin/install
  1969 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1970 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1971 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1972 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1973 # OS/2's system install, which has a completely different semantic
  1974 # ./install, which can be erroneously created by make from ./install.sh.
  1975 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1976 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  1977 if test -z "$INSTALL"; then
  1978 if test "${ac_cv_path_install+set}" = set; then
  1979   echo $ECHO_N "(cached) $ECHO_C" >&6
  1980 else
  1981   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1982 for as_dir in $PATH
  1983 do
  1984   IFS=$as_save_IFS
  1985   test -z "$as_dir" && as_dir=.
  1986   # Account for people who put trailing slashes in PATH elements.
  1987 case $as_dir/ in
  1988   ./ | .// | /cC/* | \
  1989   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1990   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  1991   /usr/ucb/* ) ;;
  1992   *)
  1993     # OSF1 and SCO ODT 3.0 have their own names for install.
  1994     # Don't use installbsd from OSF since it installs stuff as root
  1995     # by default.
  1996     for ac_prog in ginstall scoinst install; do
  1997       for ac_exec_ext in '' $ac_executable_extensions; do
  1998 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1999 	  if test $ac_prog = install &&
  2000 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2001 	    # AIX install.  It has an incompatible calling convention.
  2003 	  elif test $ac_prog = install &&
  2004 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2005 	    # program-specific install script used by HP pwplus--don't use.
  2007 	  else
  2008 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2009 	    break 3
  2010 	  fi
  2011 	fi
  2012       done
  2013     done
  2014     ;;
  2015 esac
  2016 done
  2017 IFS=$as_save_IFS
  2020 fi
  2021   if test "${ac_cv_path_install+set}" = set; then
  2022     INSTALL=$ac_cv_path_install
  2023   else
  2024     # As a last resort, use the slow shell script.  Don't cache a
  2025     # value for INSTALL within a source directory, because that will
  2026     # break other packages using the cache if that directory is
  2027     # removed, or if the value is a relative name.
  2028     INSTALL=$ac_install_sh
  2029   fi
  2030 fi
  2031 { echo "$as_me:$LINENO: result: $INSTALL" >&5
  2032 echo "${ECHO_T}$INSTALL" >&6; }
  2034 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2035 # It thinks the first close brace ends the variable substitution.
  2036 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2038 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2040 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2042 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2043 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  2044 # Just in case
  2045 sleep 1
  2046 echo timestamp > conftest.file
  2047 # Do `set' in a subshell so we don't clobber the current shell's
  2048 # arguments.  Must try -L first in case configure is actually a
  2049 # symlink; some systems play weird games with the mod time of symlinks
  2050 # (eg FreeBSD returns the mod time of the symlink's containing
  2051 # directory).
  2052 if (
  2053    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  2054    if test "$*" = "X"; then
  2055       # -L didn't work.
  2056       set X `ls -t $srcdir/configure conftest.file`
  2057    fi
  2058    rm -f conftest.file
  2059    if test "$*" != "X $srcdir/configure conftest.file" \
  2060       && test "$*" != "X conftest.file $srcdir/configure"; then
  2062       # If neither matched, then we have a broken ls.  This can happen
  2063       # if, for instance, CONFIG_SHELL is bash and it inherits a
  2064       # broken ls alias from the environment.  This has actually
  2065       # happened.  Such a system could not be considered "sane".
  2066       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  2067 alias in your environment" >&5
  2068 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  2069 alias in your environment" >&2;}
  2070    { (exit 1); exit 1; }; }
  2071    fi
  2073    test "$2" = conftest.file
  2075 then
  2076    # Ok.
  2078 else
  2079    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2080 Check your system clock" >&5
  2081 echo "$as_me: error: newly created file is older than distributed files!
  2082 Check your system clock" >&2;}
  2083    { (exit 1); exit 1; }; }
  2084 fi
  2085 { echo "$as_me:$LINENO: result: yes" >&5
  2086 echo "${ECHO_T}yes" >&6; }
  2087 test "$program_prefix" != NONE &&
  2088   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2089 # Use a double $ so make ignores it.
  2090 test "$program_suffix" != NONE &&
  2091   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2092 # Double any \ or $.  echo might interpret backslashes.
  2093 # By default was `s,x,x', remove it if useless.
  2094 cat <<\_ACEOF >conftest.sed
  2095 s/[\\$]/&&/g;s/;s,x,x,$//
  2096 _ACEOF
  2097 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  2098 rm -f conftest.sed
  2100 # expand $ac_aux_dir to an absolute path
  2101 am_aux_dir=`cd $ac_aux_dir && pwd`
  2103 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2104 # Use eval to expand $SHELL
  2105 if eval "$MISSING --run true"; then
  2106   am_missing_run="$MISSING --run "
  2107 else
  2108   am_missing_run=
  2109   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2110 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2111 fi
  2113 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  2114   # We used to keeping the `.' as first argument, in order to
  2115   # allow $(mkdir_p) to be used without argument.  As in
  2116   #   $(mkdir_p) $(somedir)
  2117   # where $(somedir) is conditionally defined.  However this is wrong
  2118   # for two reasons:
  2119   #  1. if the package is installed by a user who cannot write `.'
  2120   #     make install will fail,
  2121   #  2. the above comment should most certainly read
  2122   #     $(mkdir_p) $(DESTDIR)$(somedir)
  2123   #     so it does not work when $(somedir) is undefined and
  2124   #     $(DESTDIR) is not.
  2125   #  To support the latter case, we have to write
  2126   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  2127   #  so the `.' trick is pointless.
  2128   mkdir_p='mkdir -p --'
  2129 else
  2130   # On NextStep and OpenStep, the `mkdir' command does not
  2131   # recognize any option.  It will interpret all options as
  2132   # directories to create, and then abort because `.' already
  2133   # exists.
  2134   for d in ./-p ./--version;
  2135   do
  2136     test -d $d && rmdir $d
  2137   done
  2138   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  2139   if test -f "$ac_aux_dir/mkinstalldirs"; then
  2140     mkdir_p='$(mkinstalldirs)'
  2141   else
  2142     mkdir_p='$(install_sh) -d'
  2143   fi
  2144 fi
  2146 for ac_prog in gawk mawk nawk awk
  2147 do
  2148   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2149 set dummy $ac_prog; ac_word=$2
  2150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2152 if test "${ac_cv_prog_AWK+set}" = set; then
  2153   echo $ECHO_N "(cached) $ECHO_C" >&6
  2154 else
  2155   if test -n "$AWK"; then
  2156   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2157 else
  2158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2159 for as_dir in $PATH
  2160 do
  2161   IFS=$as_save_IFS
  2162   test -z "$as_dir" && as_dir=.
  2163   for ac_exec_ext in '' $ac_executable_extensions; do
  2164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2165     ac_cv_prog_AWK="$ac_prog"
  2166     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2167     break 2
  2168   fi
  2169 done
  2170 done
  2171 IFS=$as_save_IFS
  2173 fi
  2174 fi
  2175 AWK=$ac_cv_prog_AWK
  2176 if test -n "$AWK"; then
  2177   { echo "$as_me:$LINENO: result: $AWK" >&5
  2178 echo "${ECHO_T}$AWK" >&6; }
  2179 else
  2180   { echo "$as_me:$LINENO: result: no" >&5
  2181 echo "${ECHO_T}no" >&6; }
  2182 fi
  2185   test -n "$AWK" && break
  2186 done
  2188 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2189 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  2190 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2191 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2192   echo $ECHO_N "(cached) $ECHO_C" >&6
  2193 else
  2194   cat >conftest.make <<\_ACEOF
  2195 SHELL = /bin/sh
  2196 all:
  2197 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2198 _ACEOF
  2199 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2200 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2201   *@@@%%%=?*=@@@%%%*)
  2202     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2203   *)
  2204     eval ac_cv_prog_make_${ac_make}_set=no;;
  2205 esac
  2206 rm -f conftest.make
  2207 fi
  2208 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2209   { echo "$as_me:$LINENO: result: yes" >&5
  2210 echo "${ECHO_T}yes" >&6; }
  2211   SET_MAKE=
  2212 else
  2213   { echo "$as_me:$LINENO: result: no" >&5
  2214 echo "${ECHO_T}no" >&6; }
  2215   SET_MAKE="MAKE=${MAKE-make}"
  2216 fi
  2218 rm -rf .tst 2>/dev/null
  2219 mkdir .tst 2>/dev/null
  2220 if test -d .tst; then
  2221   am__leading_dot=.
  2222 else
  2223   am__leading_dot=_
  2224 fi
  2225 rmdir .tst 2>/dev/null
  2227 # test to see if srcdir already configured
  2228 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2229    test -f $srcdir/config.status; then
  2230   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2231 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2232    { (exit 1); exit 1; }; }
  2233 fi
  2235 # test whether we have cygpath
  2236 if test -z "$CYGPATH_W"; then
  2237   if (cygpath --version) >/dev/null 2>/dev/null; then
  2238     CYGPATH_W='cygpath -w'
  2239   else
  2240     CYGPATH_W=echo
  2241   fi
  2242 fi
  2245 # Define the identity of the package.
  2246  PACKAGE=lxdream
  2247  VERSION=0.9.1
  2250 cat >>confdefs.h <<_ACEOF
  2251 #define PACKAGE "$PACKAGE"
  2252 _ACEOF
  2255 cat >>confdefs.h <<_ACEOF
  2256 #define VERSION "$VERSION"
  2257 _ACEOF
  2259 # Some tools Automake needs.
  2261 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2264 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2267 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2270 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2273 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2275 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2277 # Installed binaries are usually stripped using `strip' when the user
  2278 # run `make install-strip'.  However `strip' might not be the right
  2279 # tool to use in cross-compilation environments, therefore Automake
  2280 # will honor the `STRIP' environment variable to overrule this program.
  2281 if test "$cross_compiling" != no; then
  2282   if test -n "$ac_tool_prefix"; then
  2283   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2284 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2287 if test "${ac_cv_prog_STRIP+set}" = set; then
  2288   echo $ECHO_N "(cached) $ECHO_C" >&6
  2289 else
  2290   if test -n "$STRIP"; then
  2291   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2292 else
  2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2294 for as_dir in $PATH
  2295 do
  2296   IFS=$as_save_IFS
  2297   test -z "$as_dir" && as_dir=.
  2298   for ac_exec_ext in '' $ac_executable_extensions; do
  2299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2300     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2301     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2302     break 2
  2303   fi
  2304 done
  2305 done
  2306 IFS=$as_save_IFS
  2308 fi
  2309 fi
  2310 STRIP=$ac_cv_prog_STRIP
  2311 if test -n "$STRIP"; then
  2312   { echo "$as_me:$LINENO: result: $STRIP" >&5
  2313 echo "${ECHO_T}$STRIP" >&6; }
  2314 else
  2315   { echo "$as_me:$LINENO: result: no" >&5
  2316 echo "${ECHO_T}no" >&6; }
  2317 fi
  2320 fi
  2321 if test -z "$ac_cv_prog_STRIP"; then
  2322   ac_ct_STRIP=$STRIP
  2323   # Extract the first word of "strip", so it can be a program name with args.
  2324 set dummy strip; ac_word=$2
  2325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2327 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2328   echo $ECHO_N "(cached) $ECHO_C" >&6
  2329 else
  2330   if test -n "$ac_ct_STRIP"; then
  2331   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2332 else
  2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2334 for as_dir in $PATH
  2335 do
  2336   IFS=$as_save_IFS
  2337   test -z "$as_dir" && as_dir=.
  2338   for ac_exec_ext in '' $ac_executable_extensions; do
  2339   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2340     ac_cv_prog_ac_ct_STRIP="strip"
  2341     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2342     break 2
  2343   fi
  2344 done
  2345 done
  2346 IFS=$as_save_IFS
  2348 fi
  2349 fi
  2350 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2351 if test -n "$ac_ct_STRIP"; then
  2352   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2353 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  2354 else
  2355   { echo "$as_me:$LINENO: result: no" >&5
  2356 echo "${ECHO_T}no" >&6; }
  2357 fi
  2359   if test "x$ac_ct_STRIP" = x; then
  2360     STRIP=":"
  2361   else
  2362     case $cross_compiling:$ac_tool_warned in
  2363 yes:)
  2364 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2365 whose name does not start with the host triplet.  If you think this
  2366 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2367 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2368 whose name does not start with the host triplet.  If you think this
  2369 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2370 ac_tool_warned=yes ;;
  2371 esac
  2372     STRIP=$ac_ct_STRIP
  2373   fi
  2374 else
  2375   STRIP="$ac_cv_prog_STRIP"
  2376 fi
  2378 fi
  2379 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2381 # We need awk for the "check" target.  The system "awk" is bad on
  2382 # some platforms.
  2383 # Always define AMTAR for backward compatibility.
  2385 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2387 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2393 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2394 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
  2395     # Check whether --enable-maintainer-mode was given.
  2396 if test "${enable_maintainer_mode+set}" = set; then
  2397   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2398 else
  2399   USE_MAINTAINER_MODE=no
  2400 fi
  2402   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2403 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
  2406 if test $USE_MAINTAINER_MODE = yes; then
  2407   MAINTAINER_MODE_TRUE=
  2408   MAINTAINER_MODE_FALSE='#'
  2409 else
  2410   MAINTAINER_MODE_TRUE='#'
  2411   MAINTAINER_MODE_FALSE=
  2412 fi
  2414   MAINT=$MAINTAINER_MODE_TRUE
  2417 ac_config_headers="$ac_config_headers config.h"
  2420 # Make sure we can run config.sub.
  2421 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2422   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  2423 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  2424    { (exit 1); exit 1; }; }
  2426 { echo "$as_me:$LINENO: checking build system type" >&5
  2427 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  2428 if test "${ac_cv_build+set}" = set; then
  2429   echo $ECHO_N "(cached) $ECHO_C" >&6
  2430 else
  2431   ac_build_alias=$build_alias
  2432 test "x$ac_build_alias" = x &&
  2433   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2434 test "x$ac_build_alias" = x &&
  2435   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  2436 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  2437    { (exit 1); exit 1; }; }
  2438 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2439   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  2440 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  2441    { (exit 1); exit 1; }; }
  2443 fi
  2444 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  2445 echo "${ECHO_T}$ac_cv_build" >&6; }
  2446 case $ac_cv_build in
  2447 *-*-*) ;;
  2448 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  2449 echo "$as_me: error: invalid value of canonical build" >&2;}
  2450    { (exit 1); exit 1; }; };;
  2451 esac
  2452 build=$ac_cv_build
  2453 ac_save_IFS=$IFS; IFS='-'
  2454 set x $ac_cv_build
  2455 shift
  2456 build_cpu=$1
  2457 build_vendor=$2
  2458 shift; shift
  2459 # Remember, the first character of IFS is used to create $*,
  2460 # except with old shells:
  2461 build_os=$*
  2462 IFS=$ac_save_IFS
  2463 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2466 { echo "$as_me:$LINENO: checking host system type" >&5
  2467 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  2468 if test "${ac_cv_host+set}" = set; then
  2469   echo $ECHO_N "(cached) $ECHO_C" >&6
  2470 else
  2471   if test "x$host_alias" = x; then
  2472   ac_cv_host=$ac_cv_build
  2473 else
  2474   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2475     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  2477    { (exit 1); exit 1; }; }
  2478 fi
  2480 fi
  2481 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  2482 echo "${ECHO_T}$ac_cv_host" >&6; }
  2483 case $ac_cv_host in
  2484 *-*-*) ;;
  2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  2486 echo "$as_me: error: invalid value of canonical host" >&2;}
  2487    { (exit 1); exit 1; }; };;
  2488 esac
  2489 host=$ac_cv_host
  2490 ac_save_IFS=$IFS; IFS='-'
  2491 set x $ac_cv_host
  2492 shift
  2493 host_cpu=$1
  2494 host_vendor=$2
  2495 shift; shift
  2496 # Remember, the first character of IFS is used to create $*,
  2497 # except with old shells:
  2498 host_os=$*
  2499 IFS=$ac_save_IFS
  2500 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2512 DEPDIR="${am__leading_dot}deps"
  2514 ac_config_commands="$ac_config_commands depfiles"
  2517 am_make=${MAKE-make}
  2518 cat > confinc << 'END'
  2519 am__doit:
  2520 	@echo done
  2521 .PHONY: am__doit
  2522 END
  2523 # If we don't find an include directive, just comment out the code.
  2524 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2525 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  2526 am__include="#"
  2527 am__quote=
  2528 _am_result=none
  2529 # First try GNU make style include.
  2530 echo "include confinc" > confmf
  2531 # We grep out `Entering directory' and `Leaving directory'
  2532 # messages which can occur if `w' ends up in MAKEFLAGS.
  2533 # In particular we don't look at `^make:' because GNU make might
  2534 # be invoked under some other name (usually "gmake"), in which
  2535 # case it prints its new name instead of `make'.
  2536 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2537    am__include=include
  2538    am__quote=
  2539    _am_result=GNU
  2540 fi
  2541 # Now try BSD make style include.
  2542 if test "$am__include" = "#"; then
  2543    echo '.include "confinc"' > confmf
  2544    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2545       am__include=.include
  2546       am__quote="\""
  2547       _am_result=BSD
  2548    fi
  2549 fi
  2552 { echo "$as_me:$LINENO: result: $_am_result" >&5
  2553 echo "${ECHO_T}$_am_result" >&6; }
  2554 rm -f confinc confmf
  2556 # Check whether --enable-dependency-tracking was given.
  2557 if test "${enable_dependency_tracking+set}" = set; then
  2558   enableval=$enable_dependency_tracking;
  2559 fi
  2561 if test "x$enable_dependency_tracking" != xno; then
  2562   am_depcomp="$ac_aux_dir/depcomp"
  2563   AMDEPBACKSLASH='\'
  2564 fi
  2567 if test "x$enable_dependency_tracking" != xno; then
  2568   AMDEP_TRUE=
  2569   AMDEP_FALSE='#'
  2570 else
  2571   AMDEP_TRUE='#'
  2572   AMDEP_FALSE=
  2573 fi
  2577 ac_ext=c
  2578 ac_cpp='$CPP $CPPFLAGS'
  2579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2582 if test -n "$ac_tool_prefix"; then
  2583   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2584 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2587 if test "${ac_cv_prog_CC+set}" = set; then
  2588   echo $ECHO_N "(cached) $ECHO_C" >&6
  2589 else
  2590   if test -n "$CC"; then
  2591   ac_cv_prog_CC="$CC" # Let the user override the test.
  2592 else
  2593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2594 for as_dir in $PATH
  2595 do
  2596   IFS=$as_save_IFS
  2597   test -z "$as_dir" && as_dir=.
  2598   for ac_exec_ext in '' $ac_executable_extensions; do
  2599   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2600     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2601     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2602     break 2
  2603   fi
  2604 done
  2605 done
  2606 IFS=$as_save_IFS
  2608 fi
  2609 fi
  2610 CC=$ac_cv_prog_CC
  2611 if test -n "$CC"; then
  2612   { echo "$as_me:$LINENO: result: $CC" >&5
  2613 echo "${ECHO_T}$CC" >&6; }
  2614 else
  2615   { echo "$as_me:$LINENO: result: no" >&5
  2616 echo "${ECHO_T}no" >&6; }
  2617 fi
  2620 fi
  2621 if test -z "$ac_cv_prog_CC"; then
  2622   ac_ct_CC=$CC
  2623   # Extract the first word of "gcc", so it can be a program name with args.
  2624 set dummy gcc; ac_word=$2
  2625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2628   echo $ECHO_N "(cached) $ECHO_C" >&6
  2629 else
  2630   if test -n "$ac_ct_CC"; then
  2631   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2632 else
  2633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2634 for as_dir in $PATH
  2635 do
  2636   IFS=$as_save_IFS
  2637   test -z "$as_dir" && as_dir=.
  2638   for ac_exec_ext in '' $ac_executable_extensions; do
  2639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2640     ac_cv_prog_ac_ct_CC="gcc"
  2641     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2642     break 2
  2643   fi
  2644 done
  2645 done
  2646 IFS=$as_save_IFS
  2648 fi
  2649 fi
  2650 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2651 if test -n "$ac_ct_CC"; then
  2652   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2653 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2654 else
  2655   { echo "$as_me:$LINENO: result: no" >&5
  2656 echo "${ECHO_T}no" >&6; }
  2657 fi
  2659   if test "x$ac_ct_CC" = x; then
  2660     CC=""
  2661   else
  2662     case $cross_compiling:$ac_tool_warned in
  2663 yes:)
  2664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2665 whose name does not start with the host triplet.  If you think this
  2666 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2668 whose name does not start with the host triplet.  If you think this
  2669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2670 ac_tool_warned=yes ;;
  2671 esac
  2672     CC=$ac_ct_CC
  2673   fi
  2674 else
  2675   CC="$ac_cv_prog_CC"
  2676 fi
  2678 if test -z "$CC"; then
  2679           if test -n "$ac_tool_prefix"; then
  2680     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2681 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2684 if test "${ac_cv_prog_CC+set}" = set; then
  2685   echo $ECHO_N "(cached) $ECHO_C" >&6
  2686 else
  2687   if test -n "$CC"; then
  2688   ac_cv_prog_CC="$CC" # Let the user override the test.
  2689 else
  2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2691 for as_dir in $PATH
  2692 do
  2693   IFS=$as_save_IFS
  2694   test -z "$as_dir" && as_dir=.
  2695   for ac_exec_ext in '' $ac_executable_extensions; do
  2696   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2697     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2698     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2699     break 2
  2700   fi
  2701 done
  2702 done
  2703 IFS=$as_save_IFS
  2705 fi
  2706 fi
  2707 CC=$ac_cv_prog_CC
  2708 if test -n "$CC"; then
  2709   { echo "$as_me:$LINENO: result: $CC" >&5
  2710 echo "${ECHO_T}$CC" >&6; }
  2711 else
  2712   { echo "$as_me:$LINENO: result: no" >&5
  2713 echo "${ECHO_T}no" >&6; }
  2714 fi
  2717   fi
  2718 fi
  2719 if test -z "$CC"; then
  2720   # Extract the first word of "cc", so it can be a program name with args.
  2721 set dummy cc; ac_word=$2
  2722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2724 if test "${ac_cv_prog_CC+set}" = set; then
  2725   echo $ECHO_N "(cached) $ECHO_C" >&6
  2726 else
  2727   if test -n "$CC"; then
  2728   ac_cv_prog_CC="$CC" # Let the user override the test.
  2729 else
  2730   ac_prog_rejected=no
  2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2732 for as_dir in $PATH
  2733 do
  2734   IFS=$as_save_IFS
  2735   test -z "$as_dir" && as_dir=.
  2736   for ac_exec_ext in '' $ac_executable_extensions; do
  2737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2738     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2739        ac_prog_rejected=yes
  2740        continue
  2741      fi
  2742     ac_cv_prog_CC="cc"
  2743     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2744     break 2
  2745   fi
  2746 done
  2747 done
  2748 IFS=$as_save_IFS
  2750 if test $ac_prog_rejected = yes; then
  2751   # We found a bogon in the path, so make sure we never use it.
  2752   set dummy $ac_cv_prog_CC
  2753   shift
  2754   if test $# != 0; then
  2755     # We chose a different compiler from the bogus one.
  2756     # However, it has the same basename, so the bogon will be chosen
  2757     # first if we set CC to just the basename; use the full file name.
  2758     shift
  2759     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2760   fi
  2761 fi
  2762 fi
  2763 fi
  2764 CC=$ac_cv_prog_CC
  2765 if test -n "$CC"; then
  2766   { echo "$as_me:$LINENO: result: $CC" >&5
  2767 echo "${ECHO_T}$CC" >&6; }
  2768 else
  2769   { echo "$as_me:$LINENO: result: no" >&5
  2770 echo "${ECHO_T}no" >&6; }
  2771 fi
  2774 fi
  2775 if test -z "$CC"; then
  2776   if test -n "$ac_tool_prefix"; then
  2777   for ac_prog in cl.exe
  2778   do
  2779     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2780 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2783 if test "${ac_cv_prog_CC+set}" = set; then
  2784   echo $ECHO_N "(cached) $ECHO_C" >&6
  2785 else
  2786   if test -n "$CC"; then
  2787   ac_cv_prog_CC="$CC" # Let the user override the test.
  2788 else
  2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2790 for as_dir in $PATH
  2791 do
  2792   IFS=$as_save_IFS
  2793   test -z "$as_dir" && as_dir=.
  2794   for ac_exec_ext in '' $ac_executable_extensions; do
  2795   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2796     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2797     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2798     break 2
  2799   fi
  2800 done
  2801 done
  2802 IFS=$as_save_IFS
  2804 fi
  2805 fi
  2806 CC=$ac_cv_prog_CC
  2807 if test -n "$CC"; then
  2808   { echo "$as_me:$LINENO: result: $CC" >&5
  2809 echo "${ECHO_T}$CC" >&6; }
  2810 else
  2811   { echo "$as_me:$LINENO: result: no" >&5
  2812 echo "${ECHO_T}no" >&6; }
  2813 fi
  2816     test -n "$CC" && break
  2817   done
  2818 fi
  2819 if test -z "$CC"; then
  2820   ac_ct_CC=$CC
  2821   for ac_prog in cl.exe
  2822 do
  2823   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2824 set dummy $ac_prog; ac_word=$2
  2825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2827 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2828   echo $ECHO_N "(cached) $ECHO_C" >&6
  2829 else
  2830   if test -n "$ac_ct_CC"; then
  2831   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2832 else
  2833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2834 for as_dir in $PATH
  2835 do
  2836   IFS=$as_save_IFS
  2837   test -z "$as_dir" && as_dir=.
  2838   for ac_exec_ext in '' $ac_executable_extensions; do
  2839   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2840     ac_cv_prog_ac_ct_CC="$ac_prog"
  2841     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2842     break 2
  2843   fi
  2844 done
  2845 done
  2846 IFS=$as_save_IFS
  2848 fi
  2849 fi
  2850 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2851 if test -n "$ac_ct_CC"; then
  2852   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2853 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2854 else
  2855   { echo "$as_me:$LINENO: result: no" >&5
  2856 echo "${ECHO_T}no" >&6; }
  2857 fi
  2860   test -n "$ac_ct_CC" && break
  2861 done
  2863   if test "x$ac_ct_CC" = x; then
  2864     CC=""
  2865   else
  2866     case $cross_compiling:$ac_tool_warned in
  2867 yes:)
  2868 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2869 whose name does not start with the host triplet.  If you think this
  2870 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2871 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2872 whose name does not start with the host triplet.  If you think this
  2873 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2874 ac_tool_warned=yes ;;
  2875 esac
  2876     CC=$ac_ct_CC
  2877   fi
  2878 fi
  2880 fi
  2883 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2884 See \`config.log' for more details." >&5
  2885 echo "$as_me: error: no acceptable C compiler found in \$PATH
  2886 See \`config.log' for more details." >&2;}
  2887    { (exit 1); exit 1; }; }
  2889 # Provide some information about the compiler.
  2890 echo "$as_me:$LINENO: checking for C compiler version" >&5
  2891 ac_compiler=`set X $ac_compile; echo $2`
  2892 { (ac_try="$ac_compiler --version >&5"
  2893 case "(($ac_try" in
  2894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2895   *) ac_try_echo=$ac_try;;
  2896 esac
  2897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2898   (eval "$ac_compiler --version >&5") 2>&5
  2899   ac_status=$?
  2900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2901   (exit $ac_status); }
  2902 { (ac_try="$ac_compiler -v >&5"
  2903 case "(($ac_try" in
  2904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2905   *) ac_try_echo=$ac_try;;
  2906 esac
  2907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2908   (eval "$ac_compiler -v >&5") 2>&5
  2909   ac_status=$?
  2910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2911   (exit $ac_status); }
  2912 { (ac_try="$ac_compiler -V >&5"
  2913 case "(($ac_try" in
  2914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2915   *) ac_try_echo=$ac_try;;
  2916 esac
  2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2918   (eval "$ac_compiler -V >&5") 2>&5
  2919   ac_status=$?
  2920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2921   (exit $ac_status); }
  2923 cat >conftest.$ac_ext <<_ACEOF
  2924 /* confdefs.h.  */
  2925 _ACEOF
  2926 cat confdefs.h >>conftest.$ac_ext
  2927 cat >>conftest.$ac_ext <<_ACEOF
  2928 /* end confdefs.h.  */
  2930 int
  2931 main ()
  2935   return 0;
  2937 _ACEOF
  2938 ac_clean_files_save=$ac_clean_files
  2939 ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2940 # Try to create an executable without -o first, disregard a.out.
  2941 # It will help us diagnose broken compilers, and finding out an intuition
  2942 # of exeext.
  2943 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2944 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2945 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2947 # List of possible output files, starting from the most likely.
  2948 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2949 # only as a last resort.  b.out is created by i960 compilers.
  2950 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2952 # The IRIX 6 linker writes into existing files which may not be
  2953 # executable, retaining their permissions.  Remove them first so a
  2954 # subsequent execution test works.
  2955 ac_rmfiles=
  2956 for ac_file in $ac_files
  2957 do
  2958   case $ac_file in
  2959     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2960     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2961   esac
  2962 done
  2963 rm -f $ac_rmfiles
  2965 if { (ac_try="$ac_link_default"
  2966 case "(($ac_try" in
  2967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2968   *) ac_try_echo=$ac_try;;
  2969 esac
  2970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2971   (eval "$ac_link_default") 2>&5
  2972   ac_status=$?
  2973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2974   (exit $ac_status); }; then
  2975   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2976 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2977 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2978 # so that the user can short-circuit this test for compilers unknown to
  2979 # Autoconf.
  2980 for ac_file in $ac_files ''
  2981 do
  2982   test -f "$ac_file" || continue
  2983   case $ac_file in
  2984     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2985 	;;
  2986     [ab].out )
  2987 	# We found the default executable, but exeext='' is most
  2988 	# certainly right.
  2989 	break;;
  2990     *.* )
  2991         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2992 	then :; else
  2993 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2994 	fi
  2995 	# We set ac_cv_exeext here because the later test for it is not
  2996 	# safe: cross compilers may not add the suffix if given an `-o'
  2997 	# argument, so we may need to know it at that point already.
  2998 	# Even if this section looks crufty: it has the advantage of
  2999 	# actually working.
  3000 	break;;
  3001     * )
  3002 	break;;
  3003   esac
  3004 done
  3005 test "$ac_cv_exeext" = no && ac_cv_exeext=
  3007 else
  3008   ac_file=''
  3009 fi
  3011 { echo "$as_me:$LINENO: result: $ac_file" >&5
  3012 echo "${ECHO_T}$ac_file" >&6; }
  3013 if test -z "$ac_file"; then
  3014   echo "$as_me: failed program was:" >&5
  3015 sed 's/^/| /' conftest.$ac_ext >&5
  3017 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  3018 See \`config.log' for more details." >&5
  3019 echo "$as_me: error: C compiler cannot create executables
  3020 See \`config.log' for more details." >&2;}
  3021    { (exit 77); exit 77; }; }
  3022 fi
  3024 ac_exeext=$ac_cv_exeext
  3026 # Check that the compiler produces executables we can run.  If not, either
  3027 # the compiler is broken, or we cross compile.
  3028 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  3029 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  3030 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  3031 # If not cross compiling, check that we can run a simple program.
  3032 if test "$cross_compiling" != yes; then
  3033   if { ac_try='./$ac_file'
  3034   { (case "(($ac_try" in
  3035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3036   *) ac_try_echo=$ac_try;;
  3037 esac
  3038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3039   (eval "$ac_try") 2>&5
  3040   ac_status=$?
  3041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3042   (exit $ac_status); }; }; then
  3043     cross_compiling=no
  3044   else
  3045     if test "$cross_compiling" = maybe; then
  3046 	cross_compiling=yes
  3047     else
  3048 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  3049 If you meant to cross compile, use \`--host'.
  3050 See \`config.log' for more details." >&5
  3051 echo "$as_me: error: cannot run C compiled programs.
  3052 If you meant to cross compile, use \`--host'.
  3053 See \`config.log' for more details." >&2;}
  3054    { (exit 1); exit 1; }; }
  3055     fi
  3056   fi
  3057 fi
  3058 { echo "$as_me:$LINENO: result: yes" >&5
  3059 echo "${ECHO_T}yes" >&6; }
  3061 rm -f a.out a.exe conftest$ac_cv_exeext b.out
  3062 ac_clean_files=$ac_clean_files_save
  3063 # Check that the compiler produces executables we can run.  If not, either
  3064 # the compiler is broken, or we cross compile.
  3065 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  3066 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  3067 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
  3068 echo "${ECHO_T}$cross_compiling" >&6; }
  3070 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
  3071 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  3072 if { (ac_try="$ac_link"
  3073 case "(($ac_try" in
  3074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3075   *) ac_try_echo=$ac_try;;
  3076 esac
  3077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3078   (eval "$ac_link") 2>&5
  3079   ac_status=$?
  3080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3081   (exit $ac_status); }; then
  3082   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3083 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3084 # work properly (i.e., refer to `conftest.exe'), while it won't with
  3085 # `rm'.
  3086 for ac_file in conftest.exe conftest conftest.*; do
  3087   test -f "$ac_file" || continue
  3088   case $ac_file in
  3089     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  3090     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3091 	  break;;
  3092     * ) break;;
  3093   esac
  3094 done
  3095 else
  3096   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  3097 See \`config.log' for more details." >&5
  3098 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  3099 See \`config.log' for more details." >&2;}
  3100    { (exit 1); exit 1; }; }
  3101 fi
  3103 rm -f conftest$ac_cv_exeext
  3104 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  3105 echo "${ECHO_T}$ac_cv_exeext" >&6; }
  3107 rm -f conftest.$ac_ext
  3108 EXEEXT=$ac_cv_exeext
  3109 ac_exeext=$EXEEXT
  3110 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
  3111 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  3112 if test "${ac_cv_objext+set}" = set; then
  3113   echo $ECHO_N "(cached) $ECHO_C" >&6
  3114 else
  3115   cat >conftest.$ac_ext <<_ACEOF
  3116 /* confdefs.h.  */
  3117 _ACEOF
  3118 cat confdefs.h >>conftest.$ac_ext
  3119 cat >>conftest.$ac_ext <<_ACEOF
  3120 /* end confdefs.h.  */
  3122 int
  3123 main ()
  3127   return 0;
  3129 _ACEOF
  3130 rm -f conftest.o conftest.obj
  3131 if { (ac_try="$ac_compile"
  3132 case "(($ac_try" in
  3133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3134   *) ac_try_echo=$ac_try;;
  3135 esac
  3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3137   (eval "$ac_compile") 2>&5
  3138   ac_status=$?
  3139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3140   (exit $ac_status); }; then
  3141   for ac_file in conftest.o conftest.obj conftest.*; do
  3142   test -f "$ac_file" || continue;
  3143   case $ac_file in
  3144     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  3145     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3146        break;;
  3147   esac
  3148 done
  3149 else
  3150   echo "$as_me: failed program was:" >&5
  3151 sed 's/^/| /' conftest.$ac_ext >&5
  3153 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  3154 See \`config.log' for more details." >&5
  3155 echo "$as_me: error: cannot compute suffix of object files: cannot compile
  3156 See \`config.log' for more details." >&2;}
  3157    { (exit 1); exit 1; }; }
  3158 fi
  3160 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3161 fi
  3162 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  3163 echo "${ECHO_T}$ac_cv_objext" >&6; }
  3164 OBJEXT=$ac_cv_objext
  3165 ac_objext=$OBJEXT
  3166 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3167 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  3168 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3169   echo $ECHO_N "(cached) $ECHO_C" >&6
  3170 else
  3171   cat >conftest.$ac_ext <<_ACEOF
  3172 /* confdefs.h.  */
  3173 _ACEOF
  3174 cat confdefs.h >>conftest.$ac_ext
  3175 cat >>conftest.$ac_ext <<_ACEOF
  3176 /* end confdefs.h.  */
  3178 int
  3179 main ()
  3181 #ifndef __GNUC__
  3182        choke me
  3183 #endif
  3186   return 0;
  3188 _ACEOF
  3189 rm -f conftest.$ac_objext
  3190 if { (ac_try="$ac_compile"
  3191 case "(($ac_try" in
  3192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3193   *) ac_try_echo=$ac_try;;
  3194 esac
  3195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3196   (eval "$ac_compile") 2>conftest.er1
  3197   ac_status=$?
  3198   grep -v '^ *+' conftest.er1 >conftest.err
  3199   rm -f conftest.er1
  3200   cat conftest.err >&5
  3201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3202   (exit $ac_status); } && {
  3203 	 test -z "$ac_c_werror_flag" ||
  3204 	 test ! -s conftest.err
  3205        } && test -s conftest.$ac_objext; then
  3206   ac_compiler_gnu=yes
  3207 else
  3208   echo "$as_me: failed program was:" >&5
  3209 sed 's/^/| /' conftest.$ac_ext >&5
  3211 	ac_compiler_gnu=no
  3212 fi
  3214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3215 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3217 fi
  3218 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3219 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  3220 GCC=`test $ac_compiler_gnu = yes && echo yes`
  3221 ac_test_CFLAGS=${CFLAGS+set}
  3222 ac_save_CFLAGS=$CFLAGS
  3223 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3224 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  3225 if test "${ac_cv_prog_cc_g+set}" = set; then
  3226   echo $ECHO_N "(cached) $ECHO_C" >&6
  3227 else
  3228   ac_save_c_werror_flag=$ac_c_werror_flag
  3229    ac_c_werror_flag=yes
  3230    ac_cv_prog_cc_g=no
  3231    CFLAGS="-g"
  3232    cat >conftest.$ac_ext <<_ACEOF
  3233 /* confdefs.h.  */
  3234 _ACEOF
  3235 cat confdefs.h >>conftest.$ac_ext
  3236 cat >>conftest.$ac_ext <<_ACEOF
  3237 /* end confdefs.h.  */
  3239 int
  3240 main ()
  3244   return 0;
  3246 _ACEOF
  3247 rm -f conftest.$ac_objext
  3248 if { (ac_try="$ac_compile"
  3249 case "(($ac_try" in
  3250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3251   *) ac_try_echo=$ac_try;;
  3252 esac
  3253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3254   (eval "$ac_compile") 2>conftest.er1
  3255   ac_status=$?
  3256   grep -v '^ *+' conftest.er1 >conftest.err
  3257   rm -f conftest.er1
  3258   cat conftest.err >&5
  3259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3260   (exit $ac_status); } && {
  3261 	 test -z "$ac_c_werror_flag" ||
  3262 	 test ! -s conftest.err
  3263        } && test -s conftest.$ac_objext; then
  3264   ac_cv_prog_cc_g=yes
  3265 else
  3266   echo "$as_me: failed program was:" >&5
  3267 sed 's/^/| /' conftest.$ac_ext >&5
  3269 	CFLAGS=""
  3270       cat >conftest.$ac_ext <<_ACEOF
  3271 /* confdefs.h.  */
  3272 _ACEOF
  3273 cat confdefs.h >>conftest.$ac_ext
  3274 cat >>conftest.$ac_ext <<_ACEOF
  3275 /* end confdefs.h.  */
  3277 int
  3278 main ()
  3282   return 0;
  3284 _ACEOF
  3285 rm -f conftest.$ac_objext
  3286 if { (ac_try="$ac_compile"
  3287 case "(($ac_try" in
  3288   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3289   *) ac_try_echo=$ac_try;;
  3290 esac
  3291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3292   (eval "$ac_compile") 2>conftest.er1
  3293   ac_status=$?
  3294   grep -v '^ *+' conftest.er1 >conftest.err
  3295   rm -f conftest.er1
  3296   cat conftest.err >&5
  3297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3298   (exit $ac_status); } && {
  3299 	 test -z "$ac_c_werror_flag" ||
  3300 	 test ! -s conftest.err
  3301        } && test -s conftest.$ac_objext; then
  3303 else
  3304   echo "$as_me: failed program was:" >&5
  3305 sed 's/^/| /' conftest.$ac_ext >&5
  3307 	ac_c_werror_flag=$ac_save_c_werror_flag
  3308 	 CFLAGS="-g"
  3309 	 cat >conftest.$ac_ext <<_ACEOF
  3310 /* confdefs.h.  */
  3311 _ACEOF
  3312 cat confdefs.h >>conftest.$ac_ext
  3313 cat >>conftest.$ac_ext <<_ACEOF
  3314 /* end confdefs.h.  */
  3316 int
  3317 main ()
  3321   return 0;
  3323 _ACEOF
  3324 rm -f conftest.$ac_objext
  3325 if { (ac_try="$ac_compile"
  3326 case "(($ac_try" in
  3327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3328   *) ac_try_echo=$ac_try;;
  3329 esac
  3330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3331   (eval "$ac_compile") 2>conftest.er1
  3332   ac_status=$?
  3333   grep -v '^ *+' conftest.er1 >conftest.err
  3334   rm -f conftest.er1
  3335   cat conftest.err >&5
  3336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3337   (exit $ac_status); } && {
  3338 	 test -z "$ac_c_werror_flag" ||
  3339 	 test ! -s conftest.err
  3340        } && test -s conftest.$ac_objext; then
  3341   ac_cv_prog_cc_g=yes
  3342 else
  3343   echo "$as_me: failed program was:" >&5
  3344 sed 's/^/| /' conftest.$ac_ext >&5
  3347 fi
  3349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3350 fi
  3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3353 fi
  3355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3356    ac_c_werror_flag=$ac_save_c_werror_flag
  3357 fi
  3358 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3359 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  3360 if test "$ac_test_CFLAGS" = set; then
  3361   CFLAGS=$ac_save_CFLAGS
  3362 elif test $ac_cv_prog_cc_g = yes; then
  3363   if test "$GCC" = yes; then
  3364     CFLAGS="-g -O2"
  3365   else
  3366     CFLAGS="-g"
  3367   fi
  3368 else
  3369   if test "$GCC" = yes; then
  3370     CFLAGS="-O2"
  3371   else
  3372     CFLAGS=
  3373   fi
  3374 fi
  3375 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3376 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3377 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3378   echo $ECHO_N "(cached) $ECHO_C" >&6
  3379 else
  3380   ac_cv_prog_cc_c89=no
  3381 ac_save_CC=$CC
  3382 cat >conftest.$ac_ext <<_ACEOF
  3383 /* confdefs.h.  */
  3384 _ACEOF
  3385 cat confdefs.h >>conftest.$ac_ext
  3386 cat >>conftest.$ac_ext <<_ACEOF
  3387 /* end confdefs.h.  */
  3388 #include <stdarg.h>
  3389 #include <stdio.h>
  3390 #include <sys/types.h>
  3391 #include <sys/stat.h>
  3392 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3393 struct buf { int x; };
  3394 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3395 static char *e (p, i)
  3396      char **p;
  3397      int i;
  3399   return p[i];
  3401 static char *f (char * (*g) (char **, int), char **p, ...)
  3403   char *s;
  3404   va_list v;
  3405   va_start (v,p);
  3406   s = g (p, va_arg (v,int));
  3407   va_end (v);
  3408   return s;
  3411 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3412    function prototypes and stuff, but not '\xHH' hex character constants.
  3413    These don't provoke an error unfortunately, instead are silently treated
  3414    as 'x'.  The following induces an error, until -std is added to get
  3415    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3416    array size at least.  It's necessary to write '\x00'==0 to get something
  3417    that's true only with -std.  */
  3418 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3420 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3421    inside strings and character constants.  */
  3422 #define FOO(x) 'x'
  3423 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3425 int test (int i, double x);
  3426 struct s1 {int (*f) (int a);};
  3427 struct s2 {int (*f) (double a);};
  3428 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3429 int argc;
  3430 char **argv;
  3431 int
  3432 main ()
  3434 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3436   return 0;
  3438 _ACEOF
  3439 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3440 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3441 do
  3442   CC="$ac_save_CC $ac_arg"
  3443   rm -f conftest.$ac_objext
  3444 if { (ac_try="$ac_compile"
  3445 case "(($ac_try" in
  3446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3447   *) ac_try_echo=$ac_try;;
  3448 esac
  3449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3450   (eval "$ac_compile") 2>conftest.er1
  3451   ac_status=$?
  3452   grep -v '^ *+' conftest.er1 >conftest.err
  3453   rm -f conftest.er1
  3454   cat conftest.err >&5
  3455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3456   (exit $ac_status); } && {
  3457 	 test -z "$ac_c_werror_flag" ||
  3458 	 test ! -s conftest.err
  3459        } && test -s conftest.$ac_objext; then
  3460   ac_cv_prog_cc_c89=$ac_arg
  3461 else
  3462   echo "$as_me: failed program was:" >&5
  3463 sed 's/^/| /' conftest.$ac_ext >&5
  3466 fi
  3468 rm -f core conftest.err conftest.$ac_objext
  3469   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3470 done
  3471 rm -f conftest.$ac_ext
  3472 CC=$ac_save_CC
  3474 fi
  3475 # AC_CACHE_VAL
  3476 case "x$ac_cv_prog_cc_c89" in
  3477   x)
  3478     { echo "$as_me:$LINENO: result: none needed" >&5
  3479 echo "${ECHO_T}none needed" >&6; } ;;
  3480   xno)
  3481     { echo "$as_me:$LINENO: result: unsupported" >&5
  3482 echo "${ECHO_T}unsupported" >&6; } ;;
  3483   *)
  3484     CC="$CC $ac_cv_prog_cc_c89"
  3485     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3486 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  3487 esac
  3490 ac_ext=c
  3491 ac_cpp='$CPP $CPPFLAGS'
  3492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3496 depcc="$CC"   am_compiler_list=
  3498 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3499 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  3500 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3501   echo $ECHO_N "(cached) $ECHO_C" >&6
  3502 else
  3503   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3504   # We make a subdir and do the tests there.  Otherwise we can end up
  3505   # making bogus files that we don't know about and never remove.  For
  3506   # instance it was reported that on HP-UX the gcc test will end up
  3507   # making a dummy file named `D' -- because `-MD' means `put the output
  3508   # in D'.
  3509   mkdir conftest.dir
  3510   # Copy depcomp to subdir because otherwise we won't find it if we're
  3511   # using a relative directory.
  3512   cp "$am_depcomp" conftest.dir
  3513   cd conftest.dir
  3514   # We will build objects and dependencies in a subdirectory because
  3515   # it helps to detect inapplicable dependency modes.  For instance
  3516   # both Tru64's cc and ICC support -MD to output dependencies as a
  3517   # side effect of compilation, but ICC will put the dependencies in
  3518   # the current directory while Tru64 will put them in the object
  3519   # directory.
  3520   mkdir sub
  3522   am_cv_CC_dependencies_compiler_type=none
  3523   if test "$am_compiler_list" = ""; then
  3524      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3525   fi
  3526   for depmode in $am_compiler_list; do
  3527     # Setup a source with many dependencies, because some compilers
  3528     # like to wrap large dependency lists on column 80 (with \), and
  3529     # we should not choose a depcomp mode which is confused by this.
  3531     # We need to recreate these files for each test, as the compiler may
  3532     # overwrite some of them when testing with obscure command lines.
  3533     # This happens at least with the AIX C compiler.
  3534     : > sub/conftest.c
  3535     for i in 1 2 3 4 5 6; do
  3536       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3537       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3538       # Solaris 8's {/usr,}/bin/sh.
  3539       touch sub/conftst$i.h
  3540     done
  3541     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3543     case $depmode in
  3544     nosideeffect)
  3545       # after this tag, mechanisms are not by side-effect, so they'll
  3546       # only be used when explicitly requested
  3547       if test "x$enable_dependency_tracking" = xyes; then
  3548 	continue
  3549       else
  3550 	break
  3551       fi
  3552       ;;
  3553     none) break ;;
  3554     esac
  3555     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3556     # mode.  It turns out that the SunPro C++ compiler does not properly
  3557     # handle `-M -o', and we need to detect this.
  3558     if depmode=$depmode \
  3559        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3560        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3561        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3562          >/dev/null 2>conftest.err &&
  3563        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3564        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3565        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3566       # icc doesn't choke on unknown options, it will just issue warnings
  3567       # or remarks (even with -Werror).  So we grep stderr for any message
  3568       # that says an option was ignored or not supported.
  3569       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3570       #   icc: Command line warning: ignoring option '-M'; no argument required
  3571       # The diagnosis changed in icc 8.0:
  3572       #   icc: Command line remark: option '-MP' not supported
  3573       if (grep 'ignoring option' conftest.err ||
  3574           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3575         am_cv_CC_dependencies_compiler_type=$depmode
  3576         break
  3577       fi
  3578     fi
  3579   done
  3581   cd ..
  3582   rm -rf conftest.dir
  3583 else
  3584   am_cv_CC_dependencies_compiler_type=none
  3585 fi
  3587 fi
  3588 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3589 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  3590 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3594 if
  3595   test "x$enable_dependency_tracking" != xno \
  3596   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3597   am__fastdepCC_TRUE=
  3598   am__fastdepCC_FALSE='#'
  3599 else
  3600   am__fastdepCC_TRUE='#'
  3601   am__fastdepCC_FALSE=
  3602 fi
  3607         { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
  3608 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
  3609 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  3610   echo $ECHO_N "(cached) $ECHO_C" >&6
  3611 else
  3612   ac_check_lib_save_LIBS=$LIBS
  3613 LIBS="-lcposix  $LIBS"
  3614 cat >conftest.$ac_ext <<_ACEOF
  3615 /* confdefs.h.  */
  3616 _ACEOF
  3617 cat confdefs.h >>conftest.$ac_ext
  3618 cat >>conftest.$ac_ext <<_ACEOF
  3619 /* end confdefs.h.  */
  3621 /* Override any GCC internal prototype to avoid an error.
  3622    Use char because int might match the return type of a GCC
  3623    builtin and then its argument prototype would still apply.  */
  3624 #ifdef __cplusplus
  3625 extern "C"
  3626 #endif
  3627 char strerror ();
  3628 int
  3629 main ()
  3631 return strerror ();
  3633   return 0;
  3635 _ACEOF
  3636 rm -f conftest.$ac_objext conftest$ac_exeext
  3637 if { (ac_try="$ac_link"
  3638 case "(($ac_try" in
  3639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3640   *) ac_try_echo=$ac_try;;
  3641 esac
  3642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3643   (eval "$ac_link") 2>conftest.er1
  3644   ac_status=$?
  3645   grep -v '^ *+' conftest.er1 >conftest.err
  3646   rm -f conftest.er1
  3647   cat conftest.err >&5
  3648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3649   (exit $ac_status); } && {
  3650 	 test -z "$ac_c_werror_flag" ||
  3651 	 test ! -s conftest.err
  3652        } && test -s conftest$ac_exeext &&
  3653        $as_test_x conftest$ac_exeext; then
  3654   ac_cv_lib_cposix_strerror=yes
  3655 else
  3656   echo "$as_me: failed program was:" >&5
  3657 sed 's/^/| /' conftest.$ac_ext >&5
  3659 	ac_cv_lib_cposix_strerror=no
  3660 fi
  3662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3663       conftest$ac_exeext conftest.$ac_ext
  3664 LIBS=$ac_check_lib_save_LIBS
  3665 fi
  3666 { echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
  3667 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
  3668 if test $ac_cv_lib_cposix_strerror = yes; then
  3669   LIBS="$LIBS -lcposix"
  3670 fi
  3674 ac_ext=c
  3675 ac_cpp='$CPP $CPPFLAGS'
  3676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3679 if test -n "$ac_tool_prefix"; then
  3680   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3681 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3684 if test "${ac_cv_prog_CC+set}" = set; then
  3685   echo $ECHO_N "(cached) $ECHO_C" >&6
  3686 else
  3687   if test -n "$CC"; then
  3688   ac_cv_prog_CC="$CC" # Let the user override the test.
  3689 else
  3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3691 for as_dir in $PATH
  3692 do
  3693   IFS=$as_save_IFS
  3694   test -z "$as_dir" && as_dir=.
  3695   for ac_exec_ext in '' $ac_executable_extensions; do
  3696   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3697     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3698     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3699     break 2
  3700   fi
  3701 done
  3702 done
  3703 IFS=$as_save_IFS
  3705 fi
  3706 fi
  3707 CC=$ac_cv_prog_CC
  3708 if test -n "$CC"; then
  3709   { echo "$as_me:$LINENO: result: $CC" >&5
  3710 echo "${ECHO_T}$CC" >&6; }
  3711 else
  3712   { echo "$as_me:$LINENO: result: no" >&5
  3713 echo "${ECHO_T}no" >&6; }
  3714 fi
  3717 fi
  3718 if test -z "$ac_cv_prog_CC"; then
  3719   ac_ct_CC=$CC
  3720   # Extract the first word of "gcc", so it can be a program name with args.
  3721 set dummy gcc; ac_word=$2
  3722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3724 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3725   echo $ECHO_N "(cached) $ECHO_C" >&6
  3726 else
  3727   if test -n "$ac_ct_CC"; then
  3728   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3729 else
  3730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3731 for as_dir in $PATH
  3732 do
  3733   IFS=$as_save_IFS
  3734   test -z "$as_dir" && as_dir=.
  3735   for ac_exec_ext in '' $ac_executable_extensions; do
  3736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3737     ac_cv_prog_ac_ct_CC="gcc"
  3738     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3739     break 2
  3740   fi
  3741 done
  3742 done
  3743 IFS=$as_save_IFS
  3745 fi
  3746 fi
  3747 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3748 if test -n "$ac_ct_CC"; then
  3749   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3750 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3751 else
  3752   { echo "$as_me:$LINENO: result: no" >&5
  3753 echo "${ECHO_T}no" >&6; }
  3754 fi
  3756   if test "x$ac_ct_CC" = x; then
  3757     CC=""
  3758   else
  3759     case $cross_compiling:$ac_tool_warned in
  3760 yes:)
  3761 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3762 whose name does not start with the host triplet.  If you think this
  3763 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3764 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3765 whose name does not start with the host triplet.  If you think this
  3766 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3767 ac_tool_warned=yes ;;
  3768 esac
  3769     CC=$ac_ct_CC
  3770   fi
  3771 else
  3772   CC="$ac_cv_prog_CC"
  3773 fi
  3775 if test -z "$CC"; then
  3776           if test -n "$ac_tool_prefix"; then
  3777     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3778 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3781 if test "${ac_cv_prog_CC+set}" = set; then
  3782   echo $ECHO_N "(cached) $ECHO_C" >&6
  3783 else
  3784   if test -n "$CC"; then
  3785   ac_cv_prog_CC="$CC" # Let the user override the test.
  3786 else
  3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3788 for as_dir in $PATH
  3789 do
  3790   IFS=$as_save_IFS
  3791   test -z "$as_dir" && as_dir=.
  3792   for ac_exec_ext in '' $ac_executable_extensions; do
  3793   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3794     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3795     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3796     break 2
  3797   fi
  3798 done
  3799 done
  3800 IFS=$as_save_IFS
  3802 fi
  3803 fi
  3804 CC=$ac_cv_prog_CC
  3805 if test -n "$CC"; then
  3806   { echo "$as_me:$LINENO: result: $CC" >&5
  3807 echo "${ECHO_T}$CC" >&6; }
  3808 else
  3809   { echo "$as_me:$LINENO: result: no" >&5
  3810 echo "${ECHO_T}no" >&6; }
  3811 fi
  3814   fi
  3815 fi
  3816 if test -z "$CC"; then
  3817   # Extract the first word of "cc", so it can be a program name with args.
  3818 set dummy cc; ac_word=$2
  3819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3821 if test "${ac_cv_prog_CC+set}" = set; then
  3822   echo $ECHO_N "(cached) $ECHO_C" >&6
  3823 else
  3824   if test -n "$CC"; then
  3825   ac_cv_prog_CC="$CC" # Let the user override the test.
  3826 else
  3827   ac_prog_rejected=no
  3828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3829 for as_dir in $PATH
  3830 do
  3831   IFS=$as_save_IFS
  3832   test -z "$as_dir" && as_dir=.
  3833   for ac_exec_ext in '' $ac_executable_extensions; do
  3834   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3835     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3836        ac_prog_rejected=yes
  3837        continue
  3838      fi
  3839     ac_cv_prog_CC="cc"
  3840     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3841     break 2
  3842   fi
  3843 done
  3844 done
  3845 IFS=$as_save_IFS
  3847 if test $ac_prog_rejected = yes; then
  3848   # We found a bogon in the path, so make sure we never use it.
  3849   set dummy $ac_cv_prog_CC
  3850   shift
  3851   if test $# != 0; then
  3852     # We chose a different compiler from the bogus one.
  3853     # However, it has the same basename, so the bogon will be chosen
  3854     # first if we set CC to just the basename; use the full file name.
  3855     shift
  3856     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3857   fi
  3858 fi
  3859 fi
  3860 fi
  3861 CC=$ac_cv_prog_CC
  3862 if test -n "$CC"; then
  3863   { echo "$as_me:$LINENO: result: $CC" >&5
  3864 echo "${ECHO_T}$CC" >&6; }
  3865 else
  3866   { echo "$as_me:$LINENO: result: no" >&5
  3867 echo "${ECHO_T}no" >&6; }
  3868 fi
  3871 fi
  3872 if test -z "$CC"; then
  3873   if test -n "$ac_tool_prefix"; then
  3874   for ac_prog in cl.exe
  3875   do
  3876     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3877 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3880 if test "${ac_cv_prog_CC+set}" = set; then
  3881   echo $ECHO_N "(cached) $ECHO_C" >&6
  3882 else
  3883   if test -n "$CC"; then
  3884   ac_cv_prog_CC="$CC" # Let the user override the test.
  3885 else
  3886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3887 for as_dir in $PATH
  3888 do
  3889   IFS=$as_save_IFS
  3890   test -z "$as_dir" && as_dir=.
  3891   for ac_exec_ext in '' $ac_executable_extensions; do
  3892   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3893     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3894     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3895     break 2
  3896   fi
  3897 done
  3898 done
  3899 IFS=$as_save_IFS
  3901 fi
  3902 fi
  3903 CC=$ac_cv_prog_CC
  3904 if test -n "$CC"; then
  3905   { echo "$as_me:$LINENO: result: $CC" >&5
  3906 echo "${ECHO_T}$CC" >&6; }
  3907 else
  3908   { echo "$as_me:$LINENO: result: no" >&5
  3909 echo "${ECHO_T}no" >&6; }
  3910 fi
  3913     test -n "$CC" && break
  3914   done
  3915 fi
  3916 if test -z "$CC"; then
  3917   ac_ct_CC=$CC
  3918   for ac_prog in cl.exe
  3919 do
  3920   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3921 set dummy $ac_prog; ac_word=$2
  3922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3924 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3925   echo $ECHO_N "(cached) $ECHO_C" >&6
  3926 else
  3927   if test -n "$ac_ct_CC"; then
  3928   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3929 else
  3930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3931 for as_dir in $PATH
  3932 do
  3933   IFS=$as_save_IFS
  3934   test -z "$as_dir" && as_dir=.
  3935   for ac_exec_ext in '' $ac_executable_extensions; do
  3936   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3937     ac_cv_prog_ac_ct_CC="$ac_prog"
  3938     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3939     break 2
  3940   fi
  3941 done
  3942 done
  3943 IFS=$as_save_IFS
  3945 fi
  3946 fi
  3947 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3948 if test -n "$ac_ct_CC"; then
  3949   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3950 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3951 else
  3952   { echo "$as_me:$LINENO: result: no" >&5
  3953 echo "${ECHO_T}no" >&6; }
  3954 fi
  3957   test -n "$ac_ct_CC" && break
  3958 done
  3960   if test "x$ac_ct_CC" = x; then
  3961     CC=""
  3962   else
  3963     case $cross_compiling:$ac_tool_warned in
  3964 yes:)
  3965 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3966 whose name does not start with the host triplet.  If you think this
  3967 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3968 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3969 whose name does not start with the host triplet.  If you think this
  3970 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3971 ac_tool_warned=yes ;;
  3972 esac
  3973     CC=$ac_ct_CC
  3974   fi
  3975 fi
  3977 fi
  3980 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3981 See \`config.log' for more details." >&5
  3982 echo "$as_me: error: no acceptable C compiler found in \$PATH
  3983 See \`config.log' for more details." >&2;}
  3984    { (exit 1); exit 1; }; }
  3986 # Provide some information about the compiler.
  3987 echo "$as_me:$LINENO: checking for C compiler version" >&5
  3988 ac_compiler=`set X $ac_compile; echo $2`
  3989 { (ac_try="$ac_compiler --version >&5"
  3990 case "(($ac_try" in
  3991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3992   *) ac_try_echo=$ac_try;;
  3993 esac
  3994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3995   (eval "$ac_compiler --version >&5") 2>&5
  3996   ac_status=$?
  3997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3998   (exit $ac_status); }
  3999 { (ac_try="$ac_compiler -v >&5"
  4000 case "(($ac_try" in
  4001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4002   *) ac_try_echo=$ac_try;;
  4003 esac
  4004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4005   (eval "$ac_compiler -v >&5") 2>&5
  4006   ac_status=$?
  4007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4008   (exit $ac_status); }
  4009 { (ac_try="$ac_compiler -V >&5"
  4010 case "(($ac_try" in
  4011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4012   *) ac_try_echo=$ac_try;;
  4013 esac
  4014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4015   (eval "$ac_compiler -V >&5") 2>&5
  4016   ac_status=$?
  4017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4018   (exit $ac_status); }
  4020 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4021 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  4022 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4023   echo $ECHO_N "(cached) $ECHO_C" >&6
  4024 else
  4025   cat >conftest.$ac_ext <<_ACEOF
  4026 /* confdefs.h.  */
  4027 _ACEOF
  4028 cat confdefs.h >>conftest.$ac_ext
  4029 cat >>conftest.$ac_ext <<_ACEOF
  4030 /* end confdefs.h.  */
  4032 int
  4033 main ()
  4035 #ifndef __GNUC__
  4036        choke me
  4037 #endif
  4040   return 0;
  4042 _ACEOF
  4043 rm -f conftest.$ac_objext
  4044 if { (ac_try="$ac_compile"
  4045 case "(($ac_try" in
  4046   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4047   *) ac_try_echo=$ac_try;;
  4048 esac
  4049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4050   (eval "$ac_compile") 2>conftest.er1
  4051   ac_status=$?
  4052   grep -v '^ *+' conftest.er1 >conftest.err
  4053   rm -f conftest.er1
  4054   cat conftest.err >&5
  4055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4056   (exit $ac_status); } && {
  4057 	 test -z "$ac_c_werror_flag" ||
  4058 	 test ! -s conftest.err
  4059        } && test -s conftest.$ac_objext; then
  4060   ac_compiler_gnu=yes
  4061 else
  4062   echo "$as_me: failed program was:" >&5
  4063 sed 's/^/| /' conftest.$ac_ext >&5
  4065 	ac_compiler_gnu=no
  4066 fi
  4068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4069 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4071 fi
  4072 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4073 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  4074 GCC=`test $ac_compiler_gnu = yes && echo yes`
  4075 ac_test_CFLAGS=${CFLAGS+set}
  4076 ac_save_CFLAGS=$CFLAGS
  4077 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4078 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  4079 if test "${ac_cv_prog_cc_g+set}" = set; then
  4080   echo $ECHO_N "(cached) $ECHO_C" >&6
  4081 else
  4082   ac_save_c_werror_flag=$ac_c_werror_flag
  4083    ac_c_werror_flag=yes
  4084    ac_cv_prog_cc_g=no
  4085    CFLAGS="-g"
  4086    cat >conftest.$ac_ext <<_ACEOF
  4087 /* confdefs.h.  */
  4088 _ACEOF
  4089 cat confdefs.h >>conftest.$ac_ext
  4090 cat >>conftest.$ac_ext <<_ACEOF
  4091 /* end confdefs.h.  */
  4093 int
  4094 main ()
  4098   return 0;
  4100 _ACEOF
  4101 rm -f conftest.$ac_objext
  4102 if { (ac_try="$ac_compile"
  4103 case "(($ac_try" in
  4104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4105   *) ac_try_echo=$ac_try;;
  4106 esac
  4107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4108   (eval "$ac_compile") 2>conftest.er1
  4109   ac_status=$?
  4110   grep -v '^ *+' conftest.er1 >conftest.err
  4111   rm -f conftest.er1
  4112   cat conftest.err >&5
  4113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4114   (exit $ac_status); } && {
  4115 	 test -z "$ac_c_werror_flag" ||
  4116 	 test ! -s conftest.err
  4117        } && test -s conftest.$ac_objext; then
  4118   ac_cv_prog_cc_g=yes
  4119 else
  4120   echo "$as_me: failed program was:" >&5
  4121 sed 's/^/| /' conftest.$ac_ext >&5
  4123 	CFLAGS=""
  4124       cat >conftest.$ac_ext <<_ACEOF
  4125 /* confdefs.h.  */
  4126 _ACEOF
  4127 cat confdefs.h >>conftest.$ac_ext
  4128 cat >>conftest.$ac_ext <<_ACEOF
  4129 /* end confdefs.h.  */
  4131 int
  4132 main ()
  4136   return 0;
  4138 _ACEOF
  4139 rm -f conftest.$ac_objext
  4140 if { (ac_try="$ac_compile"
  4141 case "(($ac_try" in
  4142   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4143   *) ac_try_echo=$ac_try;;
  4144 esac
  4145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4146   (eval "$ac_compile") 2>conftest.er1
  4147   ac_status=$?
  4148   grep -v '^ *+' conftest.er1 >conftest.err
  4149   rm -f conftest.er1
  4150   cat conftest.err >&5
  4151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4152   (exit $ac_status); } && {
  4153 	 test -z "$ac_c_werror_flag" ||
  4154 	 test ! -s conftest.err
  4155        } && test -s conftest.$ac_objext; then
  4157 else
  4158   echo "$as_me: failed program was:" >&5
  4159 sed 's/^/| /' conftest.$ac_ext >&5
  4161 	ac_c_werror_flag=$ac_save_c_werror_flag
  4162 	 CFLAGS="-g"
  4163 	 cat >conftest.$ac_ext <<_ACEOF
  4164 /* confdefs.h.  */
  4165 _ACEOF
  4166 cat confdefs.h >>conftest.$ac_ext
  4167 cat >>conftest.$ac_ext <<_ACEOF
  4168 /* end confdefs.h.  */
  4170 int
  4171 main ()
  4175   return 0;
  4177 _ACEOF
  4178 rm -f conftest.$ac_objext
  4179 if { (ac_try="$ac_compile"
  4180 case "(($ac_try" in
  4181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4182   *) ac_try_echo=$ac_try;;
  4183 esac
  4184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4185   (eval "$ac_compile") 2>conftest.er1
  4186   ac_status=$?
  4187   grep -v '^ *+' conftest.er1 >conftest.err
  4188   rm -f conftest.er1
  4189   cat conftest.err >&5
  4190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4191   (exit $ac_status); } && {
  4192 	 test -z "$ac_c_werror_flag" ||
  4193 	 test ! -s conftest.err
  4194        } && test -s conftest.$ac_objext; then
  4195   ac_cv_prog_cc_g=yes
  4196 else
  4197   echo "$as_me: failed program was:" >&5
  4198 sed 's/^/| /' conftest.$ac_ext >&5
  4201 fi
  4203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4204 fi
  4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4207 fi
  4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4210    ac_c_werror_flag=$ac_save_c_werror_flag
  4211 fi
  4212 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4213 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  4214 if test "$ac_test_CFLAGS" = set; then
  4215   CFLAGS=$ac_save_CFLAGS
  4216 elif test $ac_cv_prog_cc_g = yes; then
  4217   if test "$GCC" = yes; then
  4218     CFLAGS="-g -O2"
  4219   else
  4220     CFLAGS="-g"
  4221   fi
  4222 else
  4223   if test "$GCC" = yes; then
  4224     CFLAGS="-O2"
  4225   else
  4226     CFLAGS=
  4227   fi
  4228 fi
  4229 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4230 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  4231 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4232   echo $ECHO_N "(cached) $ECHO_C" >&6
  4233 else
  4234   ac_cv_prog_cc_c89=no
  4235 ac_save_CC=$CC
  4236 cat >conftest.$ac_ext <<_ACEOF
  4237 /* confdefs.h.  */
  4238 _ACEOF
  4239 cat confdefs.h >>conftest.$ac_ext
  4240 cat >>conftest.$ac_ext <<_ACEOF
  4241 /* end confdefs.h.  */
  4242 #include <stdarg.h>
  4243 #include <stdio.h>
  4244 #include <sys/types.h>
  4245 #include <sys/stat.h>
  4246 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4247 struct buf { int x; };
  4248 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4249 static char *e (p, i)
  4250      char **p;
  4251      int i;
  4253   return p[i];
  4255 static char *f (char * (*g) (char **, int), char **p, ...)
  4257   char *s;
  4258   va_list v;
  4259   va_start (v,p);
  4260   s = g (p, va_arg (v,int));
  4261   va_end (v);
  4262   return s;
  4265 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4266    function prototypes and stuff, but not '\xHH' hex character constants.
  4267    These don't provoke an error unfortunately, instead are silently treated
  4268    as 'x'.  The following induces an error, until -std is added to get
  4269    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4270    array size at least.  It's necessary to write '\x00'==0 to get something
  4271    that's true only with -std.  */
  4272 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4274 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4275    inside strings and character constants.  */
  4276 #define FOO(x) 'x'
  4277 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4279 int test (int i, double x);
  4280 struct s1 {int (*f) (int a);};
  4281 struct s2 {int (*f) (double a);};
  4282 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4283 int argc;
  4284 char **argv;
  4285 int
  4286 main ()
  4288 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4290   return 0;
  4292 _ACEOF
  4293 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4294 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4295 do
  4296   CC="$ac_save_CC $ac_arg"
  4297   rm -f conftest.$ac_objext
  4298 if { (ac_try="$ac_compile"
  4299 case "(($ac_try" in
  4300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4301   *) ac_try_echo=$ac_try;;
  4302 esac
  4303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4304   (eval "$ac_compile") 2>conftest.er1
  4305   ac_status=$?
  4306   grep -v '^ *+' conftest.er1 >conftest.err
  4307   rm -f conftest.er1
  4308   cat conftest.err >&5
  4309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4310   (exit $ac_status); } && {
  4311 	 test -z "$ac_c_werror_flag" ||
  4312 	 test ! -s conftest.err
  4313        } && test -s conftest.$ac_objext; then
  4314   ac_cv_prog_cc_c89=$ac_arg
  4315 else
  4316   echo "$as_me: failed program was:" >&5
  4317 sed 's/^/| /' conftest.$ac_ext >&5
  4320 fi
  4322 rm -f core conftest.err conftest.$ac_objext
  4323   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4324 done
  4325 rm -f conftest.$ac_ext
  4326 CC=$ac_save_CC
  4328 fi
  4329 # AC_CACHE_VAL
  4330 case "x$ac_cv_prog_cc_c89" in
  4331   x)
  4332     { echo "$as_me:$LINENO: result: none needed" >&5
  4333 echo "${ECHO_T}none needed" >&6; } ;;
  4334   xno)
  4335     { echo "$as_me:$LINENO: result: unsupported" >&5
  4336 echo "${ECHO_T}unsupported" >&6; } ;;
  4337   *)
  4338     CC="$CC $ac_cv_prog_cc_c89"
  4339     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4340 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  4341 esac
  4344 ac_ext=c
  4345 ac_cpp='$CPP $CPPFLAGS'
  4346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4350 depcc="$CC"   am_compiler_list=
  4352 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4353 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  4354 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4355   echo $ECHO_N "(cached) $ECHO_C" >&6
  4356 else
  4357   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4358   # We make a subdir and do the tests there.  Otherwise we can end up
  4359   # making bogus files that we don't know about and never remove.  For
  4360   # instance it was reported that on HP-UX the gcc test will end up
  4361   # making a dummy file named `D' -- because `-MD' means `put the output
  4362   # in D'.
  4363   mkdir conftest.dir
  4364   # Copy depcomp to subdir because otherwise we won't find it if we're
  4365   # using a relative directory.
  4366   cp "$am_depcomp" conftest.dir
  4367   cd conftest.dir
  4368   # We will build objects and dependencies in a subdirectory because
  4369   # it helps to detect inapplicable dependency modes.  For instance
  4370   # both Tru64's cc and ICC support -MD to output dependencies as a
  4371   # side effect of compilation, but ICC will put the dependencies in
  4372   # the current directory while Tru64 will put them in the object
  4373   # directory.
  4374   mkdir sub
  4376   am_cv_CC_dependencies_compiler_type=none
  4377   if test "$am_compiler_list" = ""; then
  4378      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4379   fi
  4380   for depmode in $am_compiler_list; do
  4381     # Setup a source with many dependencies, because some compilers
  4382     # like to wrap large dependency lists on column 80 (with \), and
  4383     # we should not choose a depcomp mode which is confused by this.
  4385     # We need to recreate these files for each test, as the compiler may
  4386     # overwrite some of them when testing with obscure command lines.
  4387     # This happens at least with the AIX C compiler.
  4388     : > sub/conftest.c
  4389     for i in 1 2 3 4 5 6; do
  4390       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4391       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4392       # Solaris 8's {/usr,}/bin/sh.
  4393       touch sub/conftst$i.h
  4394     done
  4395     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4397     case $depmode in
  4398     nosideeffect)
  4399       # after this tag, mechanisms are not by side-effect, so they'll
  4400       # only be used when explicitly requested
  4401       if test "x$enable_dependency_tracking" = xyes; then
  4402 	continue
  4403       else
  4404 	break
  4405       fi
  4406       ;;
  4407     none) break ;;
  4408     esac
  4409     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4410     # mode.  It turns out that the SunPro C++ compiler does not properly
  4411     # handle `-M -o', and we need to detect this.
  4412     if depmode=$depmode \
  4413        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4414        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4415        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4416          >/dev/null 2>conftest.err &&
  4417        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4418        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4419        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4420       # icc doesn't choke on unknown options, it will just issue warnings
  4421       # or remarks (even with -Werror).  So we grep stderr for any message
  4422       # that says an option was ignored or not supported.
  4423       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4424       #   icc: Command line warning: ignoring option '-M'; no argument required
  4425       # The diagnosis changed in icc 8.0:
  4426       #   icc: Command line remark: option '-MP' not supported
  4427       if (grep 'ignoring option' conftest.err ||
  4428           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4429         am_cv_CC_dependencies_compiler_type=$depmode
  4430         break
  4431       fi
  4432     fi
  4433   done
  4435   cd ..
  4436   rm -rf conftest.dir
  4437 else
  4438   am_cv_CC_dependencies_compiler_type=none
  4439 fi
  4441 fi
  4442 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4443 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  4444 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4448 if
  4449   test "x$enable_dependency_tracking" != xno \
  4450   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4451   am__fastdepCC_TRUE=
  4452   am__fastdepCC_FALSE='#'
  4453 else
  4454   am__fastdepCC_TRUE='#'
  4455   am__fastdepCC_FALSE=
  4456 fi
  4459 ac_ext=c
  4460 ac_cpp='$CPP $CPPFLAGS'
  4461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4464 if test -n "$ac_tool_prefix"; then
  4465   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4466 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4469 if test "${ac_cv_prog_CC+set}" = set; then
  4470   echo $ECHO_N "(cached) $ECHO_C" >&6
  4471 else
  4472   if test -n "$CC"; then
  4473   ac_cv_prog_CC="$CC" # Let the user override the test.
  4474 else
  4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4476 for as_dir in $PATH
  4477 do
  4478   IFS=$as_save_IFS
  4479   test -z "$as_dir" && as_dir=.
  4480   for ac_exec_ext in '' $ac_executable_extensions; do
  4481   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4482     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4483     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4484     break 2
  4485   fi
  4486 done
  4487 done
  4488 IFS=$as_save_IFS
  4490 fi
  4491 fi
  4492 CC=$ac_cv_prog_CC
  4493 if test -n "$CC"; then
  4494   { echo "$as_me:$LINENO: result: $CC" >&5
  4495 echo "${ECHO_T}$CC" >&6; }
  4496 else
  4497   { echo "$as_me:$LINENO: result: no" >&5
  4498 echo "${ECHO_T}no" >&6; }
  4499 fi
  4502 fi
  4503 if test -z "$ac_cv_prog_CC"; then
  4504   ac_ct_CC=$CC
  4505   # Extract the first word of "gcc", so it can be a program name with args.
  4506 set dummy gcc; ac_word=$2
  4507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4509 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4510   echo $ECHO_N "(cached) $ECHO_C" >&6
  4511 else
  4512   if test -n "$ac_ct_CC"; then
  4513   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4514 else
  4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4516 for as_dir in $PATH
  4517 do
  4518   IFS=$as_save_IFS
  4519   test -z "$as_dir" && as_dir=.
  4520   for ac_exec_ext in '' $ac_executable_extensions; do
  4521   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4522     ac_cv_prog_ac_ct_CC="gcc"
  4523     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4524     break 2
  4525   fi
  4526 done
  4527 done
  4528 IFS=$as_save_IFS
  4530 fi
  4531 fi
  4532 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4533 if test -n "$ac_ct_CC"; then
  4534   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4535 echo "${ECHO_T}$ac_ct_CC" >&6; }
  4536 else
  4537   { echo "$as_me:$LINENO: result: no" >&5
  4538 echo "${ECHO_T}no" >&6; }
  4539 fi
  4541   if test "x$ac_ct_CC" = x; then
  4542     CC=""
  4543   else
  4544     case $cross_compiling:$ac_tool_warned in
  4545 yes:)
  4546 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4547 whose name does not start with the host triplet.  If you think this
  4548 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4549 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4550 whose name does not start with the host triplet.  If you think this
  4551 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4552 ac_tool_warned=yes ;;
  4553 esac
  4554     CC=$ac_ct_CC
  4555   fi
  4556 else
  4557   CC="$ac_cv_prog_CC"
  4558 fi
  4560 if test -z "$CC"; then
  4561           if test -n "$ac_tool_prefix"; then
  4562     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4563 set dummy ${ac_tool_prefix}cc; ac_word=$2
  4564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4566 if test "${ac_cv_prog_CC+set}" = set; then
  4567   echo $ECHO_N "(cached) $ECHO_C" >&6
  4568 else
  4569   if test -n "$CC"; then
  4570   ac_cv_prog_CC="$CC" # Let the user override the test.
  4571 else
  4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4573 for as_dir in $PATH
  4574 do
  4575   IFS=$as_save_IFS
  4576   test -z "$as_dir" && as_dir=.
  4577   for ac_exec_ext in '' $ac_executable_extensions; do
  4578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4579     ac_cv_prog_CC="${ac_tool_prefix}cc"
  4580     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4581     break 2
  4582   fi
  4583 done
  4584 done
  4585 IFS=$as_save_IFS
  4587 fi
  4588 fi
  4589 CC=$ac_cv_prog_CC
  4590 if test -n "$CC"; then
  4591   { echo "$as_me:$LINENO: result: $CC" >&5
  4592 echo "${ECHO_T}$CC" >&6; }
  4593 else
  4594   { echo "$as_me:$LINENO: result: no" >&5
  4595 echo "${ECHO_T}no" >&6; }
  4596 fi
  4599   fi
  4600 fi
  4601 if test -z "$CC"; then
  4602   # Extract the first word of "cc", so it can be a program name with args.
  4603 set dummy cc; ac_word=$2
  4604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4606 if test "${ac_cv_prog_CC+set}" = set; then
  4607   echo $ECHO_N "(cached) $ECHO_C" >&6
  4608 else
  4609   if test -n "$CC"; then
  4610   ac_cv_prog_CC="$CC" # Let the user override the test.
  4611 else
  4612   ac_prog_rejected=no
  4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4614 for as_dir in $PATH
  4615 do
  4616   IFS=$as_save_IFS
  4617   test -z "$as_dir" && as_dir=.
  4618   for ac_exec_ext in '' $ac_executable_extensions; do
  4619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4620     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4621        ac_prog_rejected=yes
  4622        continue
  4623      fi
  4624     ac_cv_prog_CC="cc"
  4625     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4626     break 2
  4627   fi
  4628 done
  4629 done
  4630 IFS=$as_save_IFS
  4632 if test $ac_prog_rejected = yes; then
  4633   # We found a bogon in the path, so make sure we never use it.
  4634   set dummy $ac_cv_prog_CC
  4635   shift
  4636   if test $# != 0; then
  4637     # We chose a different compiler from the bogus one.
  4638     # However, it has the same basename, so the bogon will be chosen
  4639     # first if we set CC to just the basename; use the full file name.
  4640     shift
  4641     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4642   fi
  4643 fi
  4644 fi
  4645 fi
  4646 CC=$ac_cv_prog_CC
  4647 if test -n "$CC"; then
  4648   { echo "$as_me:$LINENO: result: $CC" >&5
  4649 echo "${ECHO_T}$CC" >&6; }
  4650 else
  4651   { echo "$as_me:$LINENO: result: no" >&5
  4652 echo "${ECHO_T}no" >&6; }
  4653 fi
  4656 fi
  4657 if test -z "$CC"; then
  4658   if test -n "$ac_tool_prefix"; then
  4659   for ac_prog in cl.exe
  4660   do
  4661     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4665 if test "${ac_cv_prog_CC+set}" = set; then
  4666   echo $ECHO_N "(cached) $ECHO_C" >&6
  4667 else
  4668   if test -n "$CC"; then
  4669   ac_cv_prog_CC="$CC" # Let the user override the test.
  4670 else
  4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4672 for as_dir in $PATH
  4673 do
  4674   IFS=$as_save_IFS
  4675   test -z "$as_dir" && as_dir=.
  4676   for ac_exec_ext in '' $ac_executable_extensions; do
  4677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4678     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4679     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4680     break 2
  4681   fi
  4682 done
  4683 done
  4684 IFS=$as_save_IFS
  4686 fi
  4687 fi
  4688 CC=$ac_cv_prog_CC
  4689 if test -n "$CC"; then
  4690   { echo "$as_me:$LINENO: result: $CC" >&5
  4691 echo "${ECHO_T}$CC" >&6; }
  4692 else
  4693   { echo "$as_me:$LINENO: result: no" >&5
  4694 echo "${ECHO_T}no" >&6; }
  4695 fi
  4698     test -n "$CC" && break
  4699   done
  4700 fi
  4701 if test -z "$CC"; then
  4702   ac_ct_CC=$CC
  4703   for ac_prog in cl.exe
  4704 do
  4705   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4706 set dummy $ac_prog; ac_word=$2
  4707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4709 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4710   echo $ECHO_N "(cached) $ECHO_C" >&6
  4711 else
  4712   if test -n "$ac_ct_CC"; then
  4713   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4714 else
  4715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4716 for as_dir in $PATH
  4717 do
  4718   IFS=$as_save_IFS
  4719   test -z "$as_dir" && as_dir=.
  4720   for ac_exec_ext in '' $ac_executable_extensions; do
  4721   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4722     ac_cv_prog_ac_ct_CC="$ac_prog"
  4723     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4724     break 2
  4725   fi
  4726 done
  4727 done
  4728 IFS=$as_save_IFS
  4730 fi
  4731 fi
  4732 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4733 if test -n "$ac_ct_CC"; then
  4734   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4735 echo "${ECHO_T}$ac_ct_CC" >&6; }
  4736 else
  4737   { echo "$as_me:$LINENO: result: no" >&5
  4738 echo "${ECHO_T}no" >&6; }
  4739 fi
  4742   test -n "$ac_ct_CC" && break
  4743 done
  4745   if test "x$ac_ct_CC" = x; then
  4746     CC=""
  4747   else
  4748     case $cross_compiling:$ac_tool_warned in
  4749 yes:)
  4750 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4751 whose name does not start with the host triplet.  If you think this
  4752 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4753 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4754 whose name does not start with the host triplet.  If you think this
  4755 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4756 ac_tool_warned=yes ;;
  4757 esac
  4758     CC=$ac_ct_CC
  4759   fi
  4760 fi
  4762 fi
  4765 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4766 See \`config.log' for more details." >&5
  4767 echo "$as_me: error: no acceptable C compiler found in \$PATH
  4768 See \`config.log' for more details." >&2;}
  4769    { (exit 1); exit 1; }; }
  4771 # Provide some information about the compiler.
  4772 echo "$as_me:$LINENO: checking for C compiler version" >&5
  4773 ac_compiler=`set X $ac_compile; echo $2`
  4774 { (ac_try="$ac_compiler --version >&5"
  4775 case "(($ac_try" in
  4776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4777   *) ac_try_echo=$ac_try;;
  4778 esac
  4779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4780   (eval "$ac_compiler --version >&5") 2>&5
  4781   ac_status=$?
  4782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4783   (exit $ac_status); }
  4784 { (ac_try="$ac_compiler -v >&5"
  4785 case "(($ac_try" in
  4786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4787   *) ac_try_echo=$ac_try;;
  4788 esac
  4789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4790   (eval "$ac_compiler -v >&5") 2>&5
  4791   ac_status=$?
  4792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4793   (exit $ac_status); }
  4794 { (ac_try="$ac_compiler -V >&5"
  4795 case "(($ac_try" in
  4796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4797   *) ac_try_echo=$ac_try;;
  4798 esac
  4799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4800   (eval "$ac_compiler -V >&5") 2>&5
  4801   ac_status=$?
  4802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4803   (exit $ac_status); }
  4805 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4806 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  4807 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4808   echo $ECHO_N "(cached) $ECHO_C" >&6
  4809 else
  4810   cat >conftest.$ac_ext <<_ACEOF
  4811 /* confdefs.h.  */
  4812 _ACEOF
  4813 cat confdefs.h >>conftest.$ac_ext
  4814 cat >>conftest.$ac_ext <<_ACEOF
  4815 /* end confdefs.h.  */
  4817 int
  4818 main ()
  4820 #ifndef __GNUC__
  4821        choke me
  4822 #endif
  4825   return 0;
  4827 _ACEOF
  4828 rm -f conftest.$ac_objext
  4829 if { (ac_try="$ac_compile"
  4830 case "(($ac_try" in
  4831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4832   *) ac_try_echo=$ac_try;;
  4833 esac
  4834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4835   (eval "$ac_compile") 2>conftest.er1
  4836   ac_status=$?
  4837   grep -v '^ *+' conftest.er1 >conftest.err
  4838   rm -f conftest.er1
  4839   cat conftest.err >&5
  4840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4841   (exit $ac_status); } && {
  4842 	 test -z "$ac_c_werror_flag" ||
  4843 	 test ! -s conftest.err
  4844        } && test -s conftest.$ac_objext; then
  4845   ac_compiler_gnu=yes
  4846 else
  4847   echo "$as_me: failed program was:" >&5
  4848 sed 's/^/| /' conftest.$ac_ext >&5
  4850 	ac_compiler_gnu=no
  4851 fi
  4853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4854 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4856 fi
  4857 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4858 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  4859 GCC=`test $ac_compiler_gnu = yes && echo yes`
  4860 ac_test_CFLAGS=${CFLAGS+set}
  4861 ac_save_CFLAGS=$CFLAGS
  4862 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4863 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  4864 if test "${ac_cv_prog_cc_g+set}" = set; then
  4865   echo $ECHO_N "(cached) $ECHO_C" >&6
  4866 else
  4867   ac_save_c_werror_flag=$ac_c_werror_flag
  4868    ac_c_werror_flag=yes
  4869    ac_cv_prog_cc_g=no
  4870    CFLAGS="-g"
  4871    cat >conftest.$ac_ext <<_ACEOF
  4872 /* confdefs.h.  */
  4873 _ACEOF
  4874 cat confdefs.h >>conftest.$ac_ext
  4875 cat >>conftest.$ac_ext <<_ACEOF
  4876 /* end confdefs.h.  */
  4878 int
  4879 main ()
  4883   return 0;
  4885 _ACEOF
  4886 rm -f conftest.$ac_objext
  4887 if { (ac_try="$ac_compile"
  4888 case "(($ac_try" in
  4889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4890   *) ac_try_echo=$ac_try;;
  4891 esac
  4892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4893   (eval "$ac_compile") 2>conftest.er1
  4894   ac_status=$?
  4895   grep -v '^ *+' conftest.er1 >conftest.err
  4896   rm -f conftest.er1
  4897   cat conftest.err >&5
  4898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4899   (exit $ac_status); } && {
  4900 	 test -z "$ac_c_werror_flag" ||
  4901 	 test ! -s conftest.err
  4902        } && test -s conftest.$ac_objext; then
  4903   ac_cv_prog_cc_g=yes
  4904 else
  4905   echo "$as_me: failed program was:" >&5
  4906 sed 's/^/| /' conftest.$ac_ext >&5
  4908 	CFLAGS=""
  4909       cat >conftest.$ac_ext <<_ACEOF
  4910 /* confdefs.h.  */
  4911 _ACEOF
  4912 cat confdefs.h >>conftest.$ac_ext
  4913 cat >>conftest.$ac_ext <<_ACEOF
  4914 /* end confdefs.h.  */
  4916 int
  4917 main ()
  4921   return 0;
  4923 _ACEOF
  4924 rm -f conftest.$ac_objext
  4925 if { (ac_try="$ac_compile"
  4926 case "(($ac_try" in
  4927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4928   *) ac_try_echo=$ac_try;;
  4929 esac
  4930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4931   (eval "$ac_compile") 2>conftest.er1
  4932   ac_status=$?
  4933   grep -v '^ *+' conftest.er1 >conftest.err
  4934   rm -f conftest.er1
  4935   cat conftest.err >&5
  4936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4937   (exit $ac_status); } && {
  4938 	 test -z "$ac_c_werror_flag" ||
  4939 	 test ! -s conftest.err
  4940        } && test -s conftest.$ac_objext; then
  4942 else
  4943   echo "$as_me: failed program was:" >&5
  4944 sed 's/^/| /' conftest.$ac_ext >&5
  4946 	ac_c_werror_flag=$ac_save_c_werror_flag
  4947 	 CFLAGS="-g"
  4948 	 cat >conftest.$ac_ext <<_ACEOF
  4949 /* confdefs.h.  */
  4950 _ACEOF
  4951 cat confdefs.h >>conftest.$ac_ext
  4952 cat >>conftest.$ac_ext <<_ACEOF
  4953 /* end confdefs.h.  */
  4955 int
  4956 main ()
  4960   return 0;
  4962 _ACEOF
  4963 rm -f conftest.$ac_objext
  4964 if { (ac_try="$ac_compile"
  4965 case "(($ac_try" in
  4966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4967   *) ac_try_echo=$ac_try;;
  4968 esac
  4969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4970   (eval "$ac_compile") 2>conftest.er1
  4971   ac_status=$?
  4972   grep -v '^ *+' conftest.er1 >conftest.err
  4973   rm -f conftest.er1
  4974   cat conftest.err >&5
  4975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4976   (exit $ac_status); } && {
  4977 	 test -z "$ac_c_werror_flag" ||
  4978 	 test ! -s conftest.err
  4979        } && test -s conftest.$ac_objext; then
  4980   ac_cv_prog_cc_g=yes
  4981 else
  4982   echo "$as_me: failed program was:" >&5
  4983 sed 's/^/| /' conftest.$ac_ext >&5
  4986 fi
  4988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4989 fi
  4991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4992 fi
  4994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4995    ac_c_werror_flag=$ac_save_c_werror_flag
  4996 fi
  4997 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4998 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  4999 if test "$ac_test_CFLAGS" = set; then
  5000   CFLAGS=$ac_save_CFLAGS
  5001 elif test $ac_cv_prog_cc_g = yes; then
  5002   if test "$GCC" = yes; then
  5003     CFLAGS="-g -O2"
  5004   else
  5005     CFLAGS="-g"
  5006   fi
  5007 else
  5008   if test "$GCC" = yes; then
  5009     CFLAGS="-O2"
  5010   else
  5011     CFLAGS=
  5012   fi
  5013 fi
  5014 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  5015 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  5016 if test "${ac_cv_prog_cc_c89+set}" = set; then
  5017   echo $ECHO_N "(cached) $ECHO_C" >&6
  5018 else
  5019   ac_cv_prog_cc_c89=no
  5020 ac_save_CC=$CC
  5021 cat >conftest.$ac_ext <<_ACEOF
  5022 /* confdefs.h.  */
  5023 _ACEOF
  5024 cat confdefs.h >>conftest.$ac_ext
  5025 cat >>conftest.$ac_ext <<_ACEOF
  5026 /* end confdefs.h.  */
  5027 #include <stdarg.h>
  5028 #include <stdio.h>
  5029 #include <sys/types.h>
  5030 #include <sys/stat.h>
  5031 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  5032 struct buf { int x; };
  5033 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  5034 static char *e (p, i)
  5035      char **p;
  5036      int i;
  5038   return p[i];
  5040 static char *f (char * (*g) (char **, int), char **p, ...)
  5042   char *s;
  5043   va_list v;
  5044   va_start (v,p);
  5045   s = g (p, va_arg (v,int));
  5046   va_end (v);
  5047   return s;
  5050 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  5051    function prototypes and stuff, but not '\xHH' hex character constants.
  5052    These don't provoke an error unfortunately, instead are silently treated
  5053    as 'x'.  The following induces an error, until -std is added to get
  5054    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  5055    array size at least.  It's necessary to write '\x00'==0 to get something
  5056    that's true only with -std.  */
  5057 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  5059 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  5060    inside strings and character constants.  */
  5061 #define FOO(x) 'x'
  5062 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  5064 int test (int i, double x);
  5065 struct s1 {int (*f) (int a);};
  5066 struct s2 {int (*f) (double a);};
  5067 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  5068 int argc;
  5069 char **argv;
  5070 int
  5071 main ()
  5073 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  5075   return 0;
  5077 _ACEOF
  5078 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  5079 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5080 do
  5081   CC="$ac_save_CC $ac_arg"
  5082   rm -f conftest.$ac_objext
  5083 if { (ac_try="$ac_compile"
  5084 case "(($ac_try" in
  5085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5086   *) ac_try_echo=$ac_try;;
  5087 esac
  5088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5089   (eval "$ac_compile") 2>conftest.er1
  5090   ac_status=$?
  5091   grep -v '^ *+' conftest.er1 >conftest.err
  5092   rm -f conftest.er1
  5093   cat conftest.err >&5
  5094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5095   (exit $ac_status); } && {
  5096 	 test -z "$ac_c_werror_flag" ||
  5097 	 test ! -s conftest.err
  5098        } && test -s conftest.$ac_objext; then
  5099   ac_cv_prog_cc_c89=$ac_arg
  5100 else
  5101   echo "$as_me: failed program was:" >&5
  5102 sed 's/^/| /' conftest.$ac_ext >&5
  5105 fi
  5107 rm -f core conftest.err conftest.$ac_objext
  5108   test "x$ac_cv_prog_cc_c89" != "xno" && break
  5109 done
  5110 rm -f conftest.$ac_ext
  5111 CC=$ac_save_CC
  5113 fi
  5114 # AC_CACHE_VAL
  5115 case "x$ac_cv_prog_cc_c89" in
  5116   x)
  5117     { echo "$as_me:$LINENO: result: none needed" >&5
  5118 echo "${ECHO_T}none needed" >&6; } ;;
  5119   xno)
  5120     { echo "$as_me:$LINENO: result: unsupported" >&5
  5121 echo "${ECHO_T}unsupported" >&6; } ;;
  5122   *)
  5123     CC="$CC $ac_cv_prog_cc_c89"
  5124     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  5125 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  5126 esac
  5129 ac_ext=c
  5130 ac_cpp='$CPP $CPPFLAGS'
  5131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5135 depcc="$CC"   am_compiler_list=
  5137 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  5138 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  5139 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  5140   echo $ECHO_N "(cached) $ECHO_C" >&6
  5141 else
  5142   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5143   # We make a subdir and do the tests there.  Otherwise we can end up
  5144   # making bogus files that we don't know about and never remove.  For
  5145   # instance it was reported that on HP-UX the gcc test will end up
  5146   # making a dummy file named `D' -- because `-MD' means `put the output
  5147   # in D'.
  5148   mkdir conftest.dir
  5149   # Copy depcomp to subdir because otherwise we won't find it if we're
  5150   # using a relative directory.
  5151   cp "$am_depcomp" conftest.dir
  5152   cd conftest.dir
  5153   # We will build objects and dependencies in a subdirectory because
  5154   # it helps to detect inapplicable dependency modes.  For instance
  5155   # both Tru64's cc and ICC support -MD to output dependencies as a
  5156   # side effect of compilation, but ICC will put the dependencies in
  5157   # the current directory while Tru64 will put them in the object
  5158   # directory.
  5159   mkdir sub
  5161   am_cv_CC_dependencies_compiler_type=none
  5162   if test "$am_compiler_list" = ""; then
  5163      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5164   fi
  5165   for depmode in $am_compiler_list; do
  5166     # Setup a source with many dependencies, because some compilers
  5167     # like to wrap large dependency lists on column 80 (with \), and
  5168     # we should not choose a depcomp mode which is confused by this.
  5170     # We need to recreate these files for each test, as the compiler may
  5171     # overwrite some of them when testing with obscure command lines.
  5172     # This happens at least with the AIX C compiler.
  5173     : > sub/conftest.c
  5174     for i in 1 2 3 4 5 6; do
  5175       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5176       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  5177       # Solaris 8's {/usr,}/bin/sh.
  5178       touch sub/conftst$i.h
  5179     done
  5180     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5182     case $depmode in
  5183     nosideeffect)
  5184       # after this tag, mechanisms are not by side-effect, so they'll
  5185       # only be used when explicitly requested
  5186       if test "x$enable_dependency_tracking" = xyes; then
  5187 	continue
  5188       else
  5189 	break
  5190       fi
  5191       ;;
  5192     none) break ;;
  5193     esac
  5194     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5195     # mode.  It turns out that the SunPro C++ compiler does not properly
  5196     # handle `-M -o', and we need to detect this.
  5197     if depmode=$depmode \
  5198        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  5199        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5200        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  5201          >/dev/null 2>conftest.err &&
  5202        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5203        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  5204        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5205       # icc doesn't choke on unknown options, it will just issue warnings
  5206       # or remarks (even with -Werror).  So we grep stderr for any message
  5207       # that says an option was ignored or not supported.
  5208       # When given -MP, icc 7.0 and 7.1 complain thusly:
  5209       #   icc: Command line warning: ignoring option '-M'; no argument required
  5210       # The diagnosis changed in icc 8.0:
  5211       #   icc: Command line remark: option '-MP' not supported
  5212       if (grep 'ignoring option' conftest.err ||
  5213           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5214         am_cv_CC_dependencies_compiler_type=$depmode
  5215         break
  5216       fi
  5217     fi
  5218   done
  5220   cd ..
  5221   rm -rf conftest.dir
  5222 else
  5223   am_cv_CC_dependencies_compiler_type=none
  5224 fi
  5226 fi
  5227 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  5228 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  5229 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5233 if
  5234   test "x$enable_dependency_tracking" != xno \
  5235   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5236   am__fastdepCC_TRUE=
  5237   am__fastdepCC_FALSE='#'
  5238 else
  5239   am__fastdepCC_TRUE='#'
  5240   am__fastdepCC_FALSE=
  5241 fi
  5245 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  5247 ac_ext=c
  5248 ac_cpp='$CPP $CPPFLAGS'
  5249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5252 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5253 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  5254 # On Suns, sometimes $CPP names a directory.
  5255 if test -n "$CPP" && test -d "$CPP"; then
  5256   CPP=
  5257 fi
  5258 if test -z "$CPP"; then
  5259   if test "${ac_cv_prog_CPP+set}" = set; then
  5260   echo $ECHO_N "(cached) $ECHO_C" >&6
  5261 else
  5262       # Double quotes because CPP needs to be expanded
  5263     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5264     do
  5265       ac_preproc_ok=false
  5266 for ac_c_preproc_warn_flag in '' yes
  5267 do
  5268   # Use a header file that comes with gcc, so configuring glibc
  5269   # with a fresh cross-compiler works.
  5270   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5271   # <limits.h> exists even on freestanding compilers.
  5272   # On the NeXT, cc -E runs the code through the compiler's parser,
  5273   # not just through cpp. "Syntax error" is here to catch this case.
  5274   cat >conftest.$ac_ext <<_ACEOF
  5275 /* confdefs.h.  */
  5276 _ACEOF
  5277 cat confdefs.h >>conftest.$ac_ext
  5278 cat >>conftest.$ac_ext <<_ACEOF
  5279 /* end confdefs.h.  */
  5280 #ifdef __STDC__
  5281 # include <limits.h>
  5282 #else
  5283 # include <assert.h>
  5284 #endif
  5285 		     Syntax error
  5286 _ACEOF
  5287 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5288 case "(($ac_try" in
  5289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5290   *) ac_try_echo=$ac_try;;
  5291 esac
  5292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5293   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5294   ac_status=$?
  5295   grep -v '^ *+' conftest.er1 >conftest.err
  5296   rm -f conftest.er1
  5297   cat conftest.err >&5
  5298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5299   (exit $ac_status); } >/dev/null && {
  5300 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5301 	 test ! -s conftest.err
  5302        }; then
  5304 else
  5305   echo "$as_me: failed program was:" >&5
  5306 sed 's/^/| /' conftest.$ac_ext >&5
  5308   # Broken: fails on valid input.
  5309 continue
  5310 fi
  5312 rm -f conftest.err conftest.$ac_ext
  5314   # OK, works on sane cases.  Now check whether nonexistent headers
  5315   # can be detected and how.
  5316   cat >conftest.$ac_ext <<_ACEOF
  5317 /* confdefs.h.  */
  5318 _ACEOF
  5319 cat confdefs.h >>conftest.$ac_ext
  5320 cat >>conftest.$ac_ext <<_ACEOF
  5321 /* end confdefs.h.  */
  5322 #include <ac_nonexistent.h>
  5323 _ACEOF
  5324 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5325 case "(($ac_try" in
  5326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5327   *) ac_try_echo=$ac_try;;
  5328 esac
  5329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5330   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5331   ac_status=$?
  5332   grep -v '^ *+' conftest.er1 >conftest.err
  5333   rm -f conftest.er1
  5334   cat conftest.err >&5
  5335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5336   (exit $ac_status); } >/dev/null && {
  5337 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5338 	 test ! -s conftest.err
  5339        }; then
  5340   # Broken: success on invalid input.
  5341 continue
  5342 else
  5343   echo "$as_me: failed program was:" >&5
  5344 sed 's/^/| /' conftest.$ac_ext >&5
  5346   # Passes both tests.
  5347 ac_preproc_ok=:
  5348 break
  5349 fi
  5351 rm -f conftest.err conftest.$ac_ext
  5353 done
  5354 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5355 rm -f conftest.err conftest.$ac_ext
  5356 if $ac_preproc_ok; then
  5357   break
  5358 fi
  5360     done
  5361     ac_cv_prog_CPP=$CPP
  5363 fi
  5364   CPP=$ac_cv_prog_CPP
  5365 else
  5366   ac_cv_prog_CPP=$CPP
  5367 fi
  5368 { echo "$as_me:$LINENO: result: $CPP" >&5
  5369 echo "${ECHO_T}$CPP" >&6; }
  5370 ac_preproc_ok=false
  5371 for ac_c_preproc_warn_flag in '' yes
  5372 do
  5373   # Use a header file that comes with gcc, so configuring glibc
  5374   # with a fresh cross-compiler works.
  5375   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5376   # <limits.h> exists even on freestanding compilers.
  5377   # On the NeXT, cc -E runs the code through the compiler's parser,
  5378   # not just through cpp. "Syntax error" is here to catch this case.
  5379   cat >conftest.$ac_ext <<_ACEOF
  5380 /* confdefs.h.  */
  5381 _ACEOF
  5382 cat confdefs.h >>conftest.$ac_ext
  5383 cat >>conftest.$ac_ext <<_ACEOF
  5384 /* end confdefs.h.  */
  5385 #ifdef __STDC__
  5386 # include <limits.h>
  5387 #else
  5388 # include <assert.h>
  5389 #endif
  5390 		     Syntax error
  5391 _ACEOF
  5392 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5393 case "(($ac_try" in
  5394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5395   *) ac_try_echo=$ac_try;;
  5396 esac
  5397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5398   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5399   ac_status=$?
  5400   grep -v '^ *+' conftest.er1 >conftest.err
  5401   rm -f conftest.er1
  5402   cat conftest.err >&5
  5403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5404   (exit $ac_status); } >/dev/null && {
  5405 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5406 	 test ! -s conftest.err
  5407        }; then
  5409 else
  5410   echo "$as_me: failed program was:" >&5
  5411 sed 's/^/| /' conftest.$ac_ext >&5
  5413   # Broken: fails on valid input.
  5414 continue
  5415 fi
  5417 rm -f conftest.err conftest.$ac_ext
  5419   # OK, works on sane cases.  Now check whether nonexistent headers
  5420   # can be detected and how.
  5421   cat >conftest.$ac_ext <<_ACEOF
  5422 /* confdefs.h.  */
  5423 _ACEOF
  5424 cat confdefs.h >>conftest.$ac_ext
  5425 cat >>conftest.$ac_ext <<_ACEOF
  5426 /* end confdefs.h.  */
  5427 #include <ac_nonexistent.h>
  5428 _ACEOF
  5429 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5430 case "(($ac_try" in
  5431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5432   *) ac_try_echo=$ac_try;;
  5433 esac
  5434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5435   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5436   ac_status=$?
  5437   grep -v '^ *+' conftest.er1 >conftest.err
  5438   rm -f conftest.er1
  5439   cat conftest.err >&5
  5440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5441   (exit $ac_status); } >/dev/null && {
  5442 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5443 	 test ! -s conftest.err
  5444        }; then
  5445   # Broken: success on invalid input.
  5446 continue
  5447 else
  5448   echo "$as_me: failed program was:" >&5
  5449 sed 's/^/| /' conftest.$ac_ext >&5
  5451   # Passes both tests.
  5452 ac_preproc_ok=:
  5453 break
  5454 fi
  5456 rm -f conftest.err conftest.$ac_ext
  5458 done
  5459 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5460 rm -f conftest.err conftest.$ac_ext
  5461 if $ac_preproc_ok; then
  5463 else
  5464   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  5465 See \`config.log' for more details." >&5
  5466 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  5467 See \`config.log' for more details." >&2;}
  5468    { (exit 1); exit 1; }; }
  5469 fi
  5471 ac_ext=c
  5472 ac_cpp='$CPP $CPPFLAGS'
  5473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5478 ac_main_cc="$CC"
  5479 test -n "$build_alias" && ac_build_tool_prefix=$build_alias-
  5481 if test -z "$CC_FOR_BUILD"; then
  5482     if test "$#" = yes; then
  5483   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  5484 See \`config.log' for more details." >&5
  5485 echo "$as_me: error: cannot run test program while cross compiling
  5486 See \`config.log' for more details." >&2;}
  5487    { (exit 1); exit 1; }; }
  5488 else
  5489   cat >conftest.$ac_ext <<_ACEOF
  5490 int main(){return 0;}
  5491 _ACEOF
  5492 rm -f conftest$ac_exeext
  5493 if { (ac_try="$ac_link"
  5494 case "(($ac_try" in
  5495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5496   *) ac_try_echo=$ac_try;;
  5497 esac
  5498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5499   (eval "$ac_link") 2>&5
  5500   ac_status=$?
  5501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5502   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5503   { (case "(($ac_try" in
  5504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5505   *) ac_try_echo=$ac_try;;
  5506 esac
  5507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5508   (eval "$ac_try") 2>&5
  5509   ac_status=$?
  5510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5511   (exit $ac_status); }; }; then
  5512   CC_FOR_BUILD="$CC"
  5513 else
  5514   echo "$as_me: program exited with status $ac_status" >&5
  5515 echo "$as_me: failed program was:" >&5
  5516 sed 's/^/| /' conftest.$ac_ext >&5
  5518 fi
  5519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5520 fi
  5523 fi
  5526 ac_ext=c
  5527 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
  5528 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
  5529 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5530 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
  5531 if test -n "$ac_build_tool_prefix"; then
  5532   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  5533 set dummy ${ac_build_tool_prefix}gcc; ac_word=$2
  5534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5536 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5537   echo $ECHO_N "(cached) $ECHO_C" >&6
  5538 else
  5539   if test -n "$CC_FOR_BUILD"; then
  5540   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5541 else
  5542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5543 for as_dir in $PATH
  5544 do
  5545   IFS=$as_save_IFS
  5546   test -z "$as_dir" && as_dir=.
  5547   for ac_exec_ext in '' $ac_executable_extensions; do
  5548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5549     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}gcc"
  5550     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5551     break 2
  5552   fi
  5553 done
  5554 done
  5555 IFS=$as_save_IFS
  5557 fi
  5558 fi
  5559 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5560 if test -n "$CC_FOR_BUILD"; then
  5561   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5562 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5563 else
  5564   { echo "$as_me:$LINENO: result: no" >&5
  5565 echo "${ECHO_T}no" >&6; }
  5566 fi
  5569 fi
  5570 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
  5571   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
  5572   # Extract the first word of "gcc", so it can be a program name with args.
  5573 set dummy gcc; ac_word=$2
  5574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5576 if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then
  5577   echo $ECHO_N "(cached) $ECHO_C" >&6
  5578 else
  5579   if test -n "$ac_ct_CC_FOR_BUILD"; then
  5580   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
  5581 else
  5582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5583 for as_dir in $PATH
  5584 do
  5585   IFS=$as_save_IFS
  5586   test -z "$as_dir" && as_dir=.
  5587   for ac_exec_ext in '' $ac_executable_extensions; do
  5588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5589     ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
  5590     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5591     break 2
  5592   fi
  5593 done
  5594 done
  5595 IFS=$as_save_IFS
  5597 fi
  5598 fi
  5599 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
  5600 if test -n "$ac_ct_CC_FOR_BUILD"; then
  5601   { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
  5602 echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
  5603 else
  5604   { echo "$as_me:$LINENO: result: no" >&5
  5605 echo "${ECHO_T}no" >&6; }
  5606 fi
  5608   if test "x$ac_ct_CC_FOR_BUILD" = x; then
  5609     CC_FOR_BUILD=""
  5610   else
  5611     case $#:$ac_tool_warned in
  5612 yes:)
  5613 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5614 whose name does not start with the build triplet.  If you think this
  5615 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5616 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5617 whose name does not start with the build triplet.  If you think this
  5618 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5619 ac_tool_warned=yes ;;
  5620 esac
  5621     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
  5622   fi
  5623 else
  5624   CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
  5625 fi
  5627 if test -z "$CC_FOR_BUILD"; then
  5628           if test -n "$ac_build_tool_prefix"; then
  5629     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  5630 set dummy ${ac_build_tool_prefix}cc; ac_word=$2
  5631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5633 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5634   echo $ECHO_N "(cached) $ECHO_C" >&6
  5635 else
  5636   if test -n "$CC_FOR_BUILD"; then
  5637   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5638 else
  5639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5640 for as_dir in $PATH
  5641 do
  5642   IFS=$as_save_IFS
  5643   test -z "$as_dir" && as_dir=.
  5644   for ac_exec_ext in '' $ac_executable_extensions; do
  5645   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5646     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}cc"
  5647     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5648     break 2
  5649   fi
  5650 done
  5651 done
  5652 IFS=$as_save_IFS
  5654 fi
  5655 fi
  5656 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5657 if test -n "$CC_FOR_BUILD"; then
  5658   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5659 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5660 else
  5661   { echo "$as_me:$LINENO: result: no" >&5
  5662 echo "${ECHO_T}no" >&6; }
  5663 fi
  5666   fi
  5667 fi
  5668 if test -z "$CC_FOR_BUILD"; then
  5669   # Extract the first word of "cc", so it can be a program name with args.
  5670 set dummy cc; ac_word=$2
  5671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5673 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5674   echo $ECHO_N "(cached) $ECHO_C" >&6
  5675 else
  5676   if test -n "$CC_FOR_BUILD"; then
  5677   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5678 else
  5679   ac_prog_rejected=no
  5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5681 for as_dir in $PATH
  5682 do
  5683   IFS=$as_save_IFS
  5684   test -z "$as_dir" && as_dir=.
  5685   for ac_exec_ext in '' $ac_executable_extensions; do
  5686   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5687     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  5688        ac_prog_rejected=yes
  5689        continue
  5690      fi
  5691     ac_cv_prog_CC_FOR_BUILD="cc"
  5692     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5693     break 2
  5694   fi
  5695 done
  5696 done
  5697 IFS=$as_save_IFS
  5699 if test $ac_prog_rejected = yes; then
  5700   # We found a bogon in the path, so make sure we never use it.
  5701   set dummy $ac_cv_prog_CC_FOR_BUILD
  5702   shift
  5703   if test $# != 0; then
  5704     # We chose a different compiler from the bogus one.
  5705     # However, it has the same basename, so the bogon will be chosen
  5706     # first if we set CC_FOR_BUILD to just the basename; use the full file name.
  5707     shift
  5708     ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"
  5709   fi
  5710 fi
  5711 fi
  5712 fi
  5713 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5714 if test -n "$CC_FOR_BUILD"; then
  5715   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5716 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5717 else
  5718   { echo "$as_me:$LINENO: result: no" >&5
  5719 echo "${ECHO_T}no" >&6; }
  5720 fi
  5723 fi
  5724 if test -z "$CC_FOR_BUILD"; then
  5725   if test -n "$ac_build_tool_prefix"; then
  5726   for ac_prog in cl.exe
  5727   do
  5728     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5729 set dummy $ac_build_tool_prefix$ac_prog; ac_word=$2
  5730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5732 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5733   echo $ECHO_N "(cached) $ECHO_C" >&6
  5734 else
  5735   if test -n "$CC_FOR_BUILD"; then
  5736   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5737 else
  5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5739 for as_dir in $PATH
  5740 do
  5741   IFS=$as_save_IFS
  5742   test -z "$as_dir" && as_dir=.
  5743   for ac_exec_ext in '' $ac_executable_extensions; do
  5744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5745     ac_cv_prog_CC_FOR_BUILD="$ac_build_tool_prefix$ac_prog"
  5746     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5747     break 2
  5748   fi
  5749 done
  5750 done
  5751 IFS=$as_save_IFS
  5753 fi
  5754 fi
  5755 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5756 if test -n "$CC_FOR_BUILD"; then
  5757   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5758 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5759 else
  5760   { echo "$as_me:$LINENO: result: no" >&5
  5761 echo "${ECHO_T}no" >&6; }
  5762 fi
  5765     test -n "$CC_FOR_BUILD" && break
  5766   done
  5767 fi
  5768 if test -z "$CC_FOR_BUILD"; then
  5769   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
  5770   for ac_prog in cl.exe
  5771 do
  5772   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5773 set dummy $ac_prog; ac_word=$2
  5774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5776 if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then
  5777   echo $ECHO_N "(cached) $ECHO_C" >&6
  5778 else
  5779   if test -n "$ac_ct_CC_FOR_BUILD"; then
  5780   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
  5781 else
  5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5783 for as_dir in $PATH
  5784 do
  5785   IFS=$as_save_IFS
  5786   test -z "$as_dir" && as_dir=.
  5787   for ac_exec_ext in '' $ac_executable_extensions; do
  5788   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5789     ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"
  5790     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5791     break 2
  5792   fi
  5793 done
  5794 done
  5795 IFS=$as_save_IFS
  5797 fi
  5798 fi
  5799 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
  5800 if test -n "$ac_ct_CC_FOR_BUILD"; then
  5801   { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
  5802 echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
  5803 else
  5804   { echo "$as_me:$LINENO: result: no" >&5
  5805 echo "${ECHO_T}no" >&6; }
  5806 fi
  5809   test -n "$ac_ct_CC_FOR_BUILD" && break
  5810 done
  5812   if test "x$ac_ct_CC_FOR_BUILD" = x; then
  5813     CC_FOR_BUILD=""
  5814   else
  5815     case $#:$ac_tool_warned in
  5816 yes:)
  5817 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5818 whose name does not start with the build triplet.  If you think this
  5819 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5820 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5821 whose name does not start with the build triplet.  If you think this
  5822 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5823 ac_tool_warned=yes ;;
  5824 esac
  5825     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
  5826   fi
  5827 fi
  5829 fi
  5832 test -z "$CC_FOR_BUILD" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  5833 See \`config.log' for more details." >&5
  5834 echo "$as_me: error: no acceptable C compiler found in \$PATH
  5835 See \`config.log' for more details." >&2;}
  5836    { (exit 1); exit 1; }; }
  5838 # Provide some information about the compiler.
  5839 echo "$as_me:$LINENO: checking for C compiler version" >&5
  5840 ac_compiler=`set X $ac_build_compile; echo $2`
  5841 { (ac_try="$ac_compiler --version >&5"
  5842 case "(($ac_try" in
  5843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5844   *) ac_try_echo=$ac_try;;
  5845 esac
  5846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5847   (eval "$ac_compiler --version >&5") 2>&5
  5848   ac_status=$?
  5849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5850   (exit $ac_status); }
  5851 { (ac_try="$ac_compiler -v >&5"
  5852 case "(($ac_try" in
  5853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5854   *) ac_try_echo=$ac_try;;
  5855 esac
  5856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5857   (eval "$ac_compiler -v >&5") 2>&5
  5858   ac_status=$?
  5859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5860   (exit $ac_status); }
  5861 { (ac_try="$ac_compiler -V >&5"
  5862 case "(($ac_try" in
  5863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5864   *) ac_try_echo=$ac_try;;
  5865 esac
  5866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5867   (eval "$ac_compiler -V >&5") 2>&5
  5868   ac_status=$?
  5869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5870   (exit $ac_status); }
  5872 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  5873 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  5874 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  5875   echo $ECHO_N "(cached) $ECHO_C" >&6
  5876 else
  5877   cat >conftest.$ac_ext <<_ACEOF
  5878 /* confdefs.h.  */
  5879 _ACEOF
  5880 cat confdefs.h >>conftest.$ac_ext
  5881 cat >>conftest.$ac_ext <<_ACEOF
  5882 /* end confdefs.h.  */
  5884 int
  5885 main ()
  5887 #ifndef __GNUC__
  5888        choke me
  5889 #endif
  5892   return 0;
  5894 _ACEOF
  5895 rm -f conftest.$ac_build_objext
  5896 if { (ac_try="$ac_build_compile"
  5897 case "(($ac_try" in
  5898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5899   *) ac_try_echo=$ac_try;;
  5900 esac
  5901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5902   (eval "$ac_build_compile") 2>conftest.er1
  5903   ac_status=$?
  5904   grep -v '^ *+' conftest.er1 >conftest.err
  5905   rm -f conftest.er1
  5906   cat conftest.err >&5
  5907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5908   (exit $ac_status); } && {
  5909 	 test -z "$ac_c_werror_flag" ||
  5910 	 test ! -s conftest.err
  5911        } && test -s conftest.$ac_build_objext; then
  5912   ac_build_compiler_gnu=yes
  5913 else
  5914   echo "$as_me: failed program was:" >&5
  5915 sed 's/^/| /' conftest.$ac_ext >&5
  5917 	ac_build_compiler_gnu=no
  5918 fi
  5920 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  5921 ac_cv_c_compiler_gnu=$ac_build_compiler_gnu
  5923 fi
  5924 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  5925 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  5926 GCC=`test $ac_build_compiler_gnu = yes && echo yes`
  5927 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
  5928 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
  5929 { echo "$as_me:$LINENO: checking whether $CC_FOR_BUILD accepts -g" >&5
  5930 echo $ECHO_N "checking whether $CC_FOR_BUILD accepts -g... $ECHO_C" >&6; }
  5931 if test "${ac_cv_build_prog_cc_g+set}" = set; then
  5932   echo $ECHO_N "(cached) $ECHO_C" >&6
  5933 else
  5934   ac_save_c_werror_flag=$ac_c_werror_flag
  5935    ac_c_werror_flag=yes
  5936    ac_cv_build_prog_cc_g=no
  5937    CFLAGS_FOR_BUILD="-g"
  5938    cat >conftest.$ac_ext <<_ACEOF
  5939 /* confdefs.h.  */
  5940 _ACEOF
  5941 cat confdefs.h >>conftest.$ac_ext
  5942 cat >>conftest.$ac_ext <<_ACEOF
  5943 /* end confdefs.h.  */
  5945 int
  5946 main ()
  5950   return 0;
  5952 _ACEOF
  5953 rm -f conftest.$ac_build_objext
  5954 if { (ac_try="$ac_build_compile"
  5955 case "(($ac_try" in
  5956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5957   *) ac_try_echo=$ac_try;;
  5958 esac
  5959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5960   (eval "$ac_build_compile") 2>conftest.er1
  5961   ac_status=$?
  5962   grep -v '^ *+' conftest.er1 >conftest.err
  5963   rm -f conftest.er1
  5964   cat conftest.err >&5
  5965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5966   (exit $ac_status); } && {
  5967 	 test -z "$ac_c_werror_flag" ||
  5968 	 test ! -s conftest.err
  5969        } && test -s conftest.$ac_build_objext; then
  5970   ac_cv_build_prog_cc_g=yes
  5971 else
  5972   echo "$as_me: failed program was:" >&5
  5973 sed 's/^/| /' conftest.$ac_ext >&5
  5975 	CFLAGS_FOR_BUILD=""
  5976       cat >conftest.$ac_ext <<_ACEOF
  5977 /* confdefs.h.  */
  5978 _ACEOF
  5979 cat confdefs.h >>conftest.$ac_ext
  5980 cat >>conftest.$ac_ext <<_ACEOF
  5981 /* end confdefs.h.  */
  5983 int
  5984 main ()
  5988   return 0;
  5990 _ACEOF
  5991 rm -f conftest.$ac_build_objext
  5992 if { (ac_try="$ac_build_compile"
  5993 case "(($ac_try" in
  5994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5995   *) ac_try_echo=$ac_try;;
  5996 esac
  5997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5998   (eval "$ac_build_compile") 2>conftest.er1
  5999   ac_status=$?
  6000   grep -v '^ *+' conftest.er1 >conftest.err
  6001   rm -f conftest.er1
  6002   cat conftest.err >&5
  6003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6004   (exit $ac_status); } && {
  6005 	 test -z "$ac_c_werror_flag" ||
  6006 	 test ! -s conftest.err
  6007        } && test -s conftest.$ac_build_objext; then
  6009 else
  6010   echo "$as_me: failed program was:" >&5
  6011 sed 's/^/| /' conftest.$ac_ext >&5
  6013 	ac_c_werror_flag=$ac_save_c_werror_flag
  6014 	 CFLAGS_FOR_BUILD="-g"
  6015 	 cat >conftest.$ac_ext <<_ACEOF
  6016 /* confdefs.h.  */
  6017 _ACEOF
  6018 cat confdefs.h >>conftest.$ac_ext
  6019 cat >>conftest.$ac_ext <<_ACEOF
  6020 /* end confdefs.h.  */
  6022 int
  6023 main ()
  6027   return 0;
  6029 _ACEOF
  6030 rm -f conftest.$ac_build_objext
  6031 if { (ac_try="$ac_build_compile"
  6032 case "(($ac_try" in
  6033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6034   *) ac_try_echo=$ac_try;;
  6035 esac
  6036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6037   (eval "$ac_build_compile") 2>conftest.er1
  6038   ac_status=$?
  6039   grep -v '^ *+' conftest.er1 >conftest.err
  6040   rm -f conftest.er1
  6041   cat conftest.err >&5
  6042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6043   (exit $ac_status); } && {
  6044 	 test -z "$ac_c_werror_flag" ||
  6045 	 test ! -s conftest.err
  6046        } && test -s conftest.$ac_build_objext; then
  6047   ac_cv_build_prog_cc_g=yes
  6048 else
  6049   echo "$as_me: failed program was:" >&5
  6050 sed 's/^/| /' conftest.$ac_ext >&5
  6053 fi
  6055 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  6056 fi
  6058 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  6059 fi
  6061 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  6062    ac_c_werror_flag=$ac_save_c_werror_flag
  6063 fi
  6064 { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_g" >&5
  6065 echo "${ECHO_T}$ac_cv_build_prog_cc_g" >&6; }
  6066 if test "$ac_test_CFLAGS" = set; then
  6067   CFLAGS_FOR_BUILD=$ac_save_CFLAGS
  6068 elif test $ac_cv_build_prog_cc_g = yes; then
  6069   if test "$GCC" = yes; then
  6070     CFLAGS_FOR_BUILD="-g -O2"
  6071   else
  6072     CFLAGS_FOR_BUILD="-g"
  6073   fi
  6074 else
  6075   if test "$GCC" = yes; then
  6076     CFLAGS_FOR_BUILD="-O2"
  6077   else
  6078     CFLAGS_FOR_BUILD=
  6079   fi
  6080 fi
  6081 { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
  6082 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }
  6083 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6084   echo $ECHO_N "(cached) $ECHO_C" >&6
  6085 else
  6086   ac_cv_build_prog_cc_stdc=no
  6087 ac_save_CC=$CC_FOR_BUILD
  6088 cat >conftest.$ac_ext <<_ACEOF
  6089 /* confdefs.h.  */
  6090 _ACEOF
  6091 cat confdefs.h >>conftest.$ac_ext
  6092 cat >>conftest.$ac_ext <<_ACEOF
  6093 /* end confdefs.h.  */
  6094 #include <stdarg.h>
  6095 #include <stdio.h>
  6096 #include <sys/types.h>
  6097 #include <sys/stat.h>
  6098 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  6099 struct buf { int x; };
  6100 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  6101 static char *e (p, i)
  6102      char **p;
  6103      int i;
  6105   return p[i];
  6107 static char *f (char * (*g) (char **, int), char **p, ...)
  6109   char *s;
  6110   va_list v;
  6111   va_start (v,p);
  6112   s = g (p, va_arg (v,int));
  6113   va_end (v);
  6114   return s;
  6117 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  6118    function prototypes and stuff, but not '\xHH' hex character constants.
  6119    These don't provoke an error unfortunately, instead are silently treated
  6120    as 'x'.  The following induces an error, until -std is added to get
  6121    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  6122    array size at least.  It's necessary to write '\x00'==0 to get something
  6123    that's true only with -std.  */
  6124 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  6126 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  6127    inside strings and character constants.  */
  6128 #define FOO(x) 'x'
  6129 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  6131 int test (int i, double x);
  6132 struct s1 {int (*f) (int a);};
  6133 struct s2 {int (*f) (double a);};
  6134 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  6135 int argc;
  6136 char **argv;
  6137 int
  6138 main ()
  6140 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  6142   return 0;
  6144 _ACEOF
  6145 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  6146 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  6147 do
  6148   CC_FOR_BUILD="$ac_save_CC $ac_arg"
  6149   rm -f conftest.$ac_build_objext
  6150 if { (ac_try="$ac_build_compile"
  6151 case "(($ac_try" in
  6152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6153   *) ac_try_echo=$ac_try;;
  6154 esac
  6155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6156   (eval "$ac_build_compile") 2>conftest.er1
  6157   ac_status=$?
  6158   grep -v '^ *+' conftest.er1 >conftest.err
  6159   rm -f conftest.er1
  6160   cat conftest.err >&5
  6161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6162   (exit $ac_status); } && {
  6163 	 test -z "$ac_c_werror_flag" ||
  6164 	 test ! -s conftest.err
  6165        } && test -s conftest.$ac_build_objext; then
  6166   ac_cv_build_prog_cc_stdc=$ac_arg
  6167 else
  6168   echo "$as_me: failed program was:" >&5
  6169 sed 's/^/| /' conftest.$ac_ext >&5
  6172 fi
  6174 rm -f core conftest.err conftest.$ac_build_objext
  6175   test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
  6176 done
  6177 rm -f conftest.$ac_ext
  6178 CC_FOR_BUILD=$ac_save_CC
  6180 fi
  6181 # AC_CACHE_VAL
  6182 case "x$ac_cv_build_prog_cc_stdc" in
  6183   x)
  6184     { echo "$as_me:$LINENO: result: none needed" >&5
  6185 echo "${ECHO_T}none needed" >&6; } ;;
  6186   xno)
  6187     { echo "$as_me:$LINENO: result: unsupported" >&5
  6188 echo "${ECHO_T}unsupported" >&6; } ;;
  6189   *)
  6190     CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
  6191     { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6192 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6193 esac
  6196 ac_ext=c
  6197 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
  6198 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
  6199 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6200 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
  6202 depcc="$CC_FOR_BUILD"   am_compiler_list=
  6204 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  6205 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  6206 if test "${am_cv_CC_FOR_BUILD_dependencies_compiler_type+set}" = set; then
  6207   echo $ECHO_N "(cached) $ECHO_C" >&6
  6208 else
  6209   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  6210   # We make a subdir and do the tests there.  Otherwise we can end up
  6211   # making bogus files that we don't know about and never remove.  For
  6212   # instance it was reported that on HP-UX the gcc test will end up
  6213   # making a dummy file named `D' -- because `-MD' means `put the output
  6214   # in D'.
  6215   mkdir conftest.dir
  6216   # Copy depcomp to subdir because otherwise we won't find it if we're
  6217   # using a relative directory.
  6218   cp "$am_depcomp" conftest.dir
  6219   cd conftest.dir
  6220   # We will build objects and dependencies in a subdirectory because
  6221   # it helps to detect inapplicable dependency modes.  For instance
  6222   # both Tru64's cc and ICC support -MD to output dependencies as a
  6223   # side effect of compilation, but ICC will put the dependencies in
  6224   # the current directory while Tru64 will put them in the object
  6225   # directory.
  6226   mkdir sub
  6228   am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
  6229   if test "$am_compiler_list" = ""; then
  6230      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  6231   fi
  6232   for depmode in $am_compiler_list; do
  6233     # Setup a source with many dependencies, because some compilers
  6234     # like to wrap large dependency lists on column 80 (with \), and
  6235     # we should not choose a depcomp mode which is confused by this.
  6237     # We need to recreate these files for each test, as the compiler may
  6238     # overwrite some of them when testing with obscure command lines.
  6239     # This happens at least with the AIX C compiler.
  6240     : > sub/conftest.c
  6241     for i in 1 2 3 4 5 6; do
  6242       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  6243       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  6244       # Solaris 8's {/usr,}/bin/sh.
  6245       touch sub/conftst$i.h
  6246     done
  6247     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  6249     case $depmode in
  6250     nosideeffect)
  6251       # after this tag, mechanisms are not by side-effect, so they'll
  6252       # only be used when explicitly requested
  6253       if test "x$enable_dependency_tracking" = xyes; then
  6254 	continue
  6255       else
  6256 	break
  6257       fi
  6258       ;;
  6259     none) break ;;
  6260     esac
  6261     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  6262     # mode.  It turns out that the SunPro C++ compiler does not properly
  6263     # handle `-M -o', and we need to detect this.
  6264     if depmode=$depmode \
  6265        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  6266        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  6267        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  6268          >/dev/null 2>conftest.err &&
  6269        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  6270        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  6271        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  6272       # icc doesn't choke on unknown options, it will just issue warnings
  6273       # or remarks (even with -Werror).  So we grep stderr for any message
  6274       # that says an option was ignored or not supported.
  6275       # When given -MP, icc 7.0 and 7.1 complain thusly:
  6276       #   icc: Command line warning: ignoring option '-M'; no argument required
  6277       # The diagnosis changed in icc 8.0:
  6278       #   icc: Command line remark: option '-MP' not supported
  6279       if (grep 'ignoring option' conftest.err ||
  6280           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  6281         am_cv_CC_FOR_BUILD_dependencies_compiler_type=$depmode
  6282         break
  6283       fi
  6284     fi
  6285   done
  6287   cd ..
  6288   rm -rf conftest.dir
  6289 else
  6290   am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
  6291 fi
  6293 fi
  6294 { echo "$as_me:$LINENO: result: $am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&5
  6295 echo "${ECHO_T}$am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&6; }
  6296 CC_FOR_BUILDDEPMODE=depmode=$am_cv_CC_FOR_BUILD_dependencies_compiler_type
  6300 if
  6301   test "x$enable_dependency_tracking" != xno \
  6302   && test "$am_cv_CC_FOR_BUILD_dependencies_compiler_type" = gcc3; then
  6303   am__fastdepCC_FOR_BUILD_TRUE=
  6304   am__fastdepCC_FOR_BUILD_FALSE='#'
  6305 else
  6306   am__fastdepCC_FOR_BUILD_TRUE='#'
  6307   am__fastdepCC_FOR_BUILD_FALSE=
  6308 fi
  6311    case $ac_cv_build_prog_cc_stdc in
  6312   no) ac_cv_build_prog_cc_stdc=no; ac_cv_build_prog_cc_stdc=no ;;
  6313   *) { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C99" >&5
  6314 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C99... $ECHO_C" >&6; }
  6315 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6316   echo $ECHO_N "(cached) $ECHO_C" >&6
  6317 else
  6318   ac_cv_build_prog_cc_stdc=no
  6319 ac_save_CC=$CC_FOR_BUILD
  6320 cat >conftest.$ac_ext <<_ACEOF
  6321 /* confdefs.h.  */
  6322 _ACEOF
  6323 cat confdefs.h >>conftest.$ac_ext
  6324 cat >>conftest.$ac_ext <<_ACEOF
  6325 /* end confdefs.h.  */
  6326 #include <stdarg.h>
  6327 #include <stdbool.h>
  6328 #include <stdlib.h>
  6329 #include <wchar.h>
  6330 #include <stdio.h>
  6332 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
  6333 #define debug(...) fprintf (stderr, __VA_ARGS__)
  6334 #define showlist(...) puts (#__VA_ARGS__)
  6335 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  6336 static void
  6337 test_varargs_macros (void)
  6339   int x = 1234;
  6340   int y = 5678;
  6341   debug ("Flag");
  6342   debug ("X = %d\n", x);
  6343   showlist (The first, second, and third items.);
  6344   report (x>y, "x is %d but y is %d", x, y);
  6347 // Check long long types.
  6348 #define BIG64 18446744073709551615ull
  6349 #define BIG32 4294967295ul
  6350 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  6351 #if !BIG_OK
  6352   your preprocessor is broken;
  6353 #endif
  6354 #if BIG_OK
  6355 #else
  6356   your preprocessor is broken;
  6357 #endif
  6358 static long long int bignum = -9223372036854775807LL;
  6359 static unsigned long long int ubignum = BIG64;
  6361 struct incomplete_array
  6363   int datasize;
  6364   double data[];
  6365 };
  6367 struct named_init {
  6368   int number;
  6369   const wchar_t *name;
  6370   double average;
  6371 };
  6373 typedef const char *ccp;
  6375 static inline int
  6376 test_restrict (ccp restrict text)
  6378   // See if C++-style comments work.
  6379   // Iterate through items via the restricted pointer.
  6380   // Also check for declarations in for loops.
  6381   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  6382     continue;
  6383   return 0;
  6386 // Check varargs and va_copy.
  6387 static void
  6388 test_varargs (const char *format, ...)
  6390   va_list args;
  6391   va_start (args, format);
  6392   va_list args_copy;
  6393   va_copy (args_copy, args);
  6395   const char *str;
  6396   int number;
  6397   float fnumber;
  6399   while (*format)
  6401       switch (*format++)
  6403 	case 's': // string
  6404 	  str = va_arg (args_copy, const char *);
  6405 	  break;
  6406 	case 'd': // int
  6407 	  number = va_arg (args_copy, int);
  6408 	  break;
  6409 	case 'f': // float
  6410 	  fnumber = va_arg (args_copy, double);
  6411 	  break;
  6412 	default:
  6413 	  break;
  6416   va_end (args_copy);
  6417   va_end (args);
  6420 int
  6421 main ()
  6424   // Check bool.
  6425   _Bool success = false;
  6427   // Check restrict.
  6428   if (test_restrict ("String literal") == 0)
  6429     success = true;
  6430   char *restrict newvar = "Another string";
  6432   // Check varargs.
  6433   test_varargs ("s, d' f .", "string", 65, 34.234);
  6434   test_varargs_macros ();
  6436   // Check flexible array members.
  6437   struct incomplete_array *ia =
  6438     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  6439   ia->datasize = 10;
  6440   for (int i = 0; i < ia->datasize; ++i)
  6441     ia->data[i] = i * 1.234;
  6443   // Check named initializers.
  6444   struct named_init ni = {
  6445     .number = 34,
  6446     .name = L"Test wide string",
  6447     .average = 543.34343,
  6448   };
  6450   ni.number = 58;
  6452   int dynamic_array[ni.number];
  6453   dynamic_array[ni.number - 1] = 543;
  6455   // work around unused variable warnings
  6456   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  6457 	  || dynamic_array[ni.number - 1] != 543);
  6460   return 0;
  6462 _ACEOF
  6463 for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
  6464 do
  6465   CC_FOR_BUILD="$ac_save_CC $ac_arg"
  6466   rm -f conftest.$ac_build_objext
  6467 if { (ac_try="$ac_build_compile"
  6468 case "(($ac_try" in
  6469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6470   *) ac_try_echo=$ac_try;;
  6471 esac
  6472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6473   (eval "$ac_build_compile") 2>conftest.er1
  6474   ac_status=$?
  6475   grep -v '^ *+' conftest.er1 >conftest.err
  6476   rm -f conftest.er1
  6477   cat conftest.err >&5
  6478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6479   (exit $ac_status); } && {
  6480 	 test -z "$ac_c_werror_flag" ||
  6481 	 test ! -s conftest.err
  6482        } && test -s conftest.$ac_build_objext; then
  6483   ac_cv_build_prog_cc_stdc=$ac_arg
  6484 else
  6485   echo "$as_me: failed program was:" >&5
  6486 sed 's/^/| /' conftest.$ac_ext >&5
  6489 fi
  6491 rm -f core conftest.err conftest.$ac_build_objext
  6492   test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
  6493 done
  6494 rm -f conftest.$ac_ext
  6495 CC_FOR_BUILD=$ac_save_CC
  6497 fi
  6498 # AC_CACHE_VAL
  6499 case "x$ac_cv_build_prog_cc_stdc" in
  6500   x)
  6501     { echo "$as_me:$LINENO: result: none needed" >&5
  6502 echo "${ECHO_T}none needed" >&6; } ;;
  6503   xno)
  6504     { echo "$as_me:$LINENO: result: unsupported" >&5
  6505 echo "${ECHO_T}unsupported" >&6; } ;;
  6506   *)
  6507     CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
  6508     { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6509 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6510 esac
  6511 if test "x$ac_cv_build_prog_cc_stdc" != xno; then
  6512   ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
  6513 else
  6514   { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
  6515 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }
  6516 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6517   echo $ECHO_N "(cached) $ECHO_C" >&6
  6518 else
  6519   ac_cv_build_prog_cc_stdc=no
  6520 ac_save_CC=$CC_FOR_BUILD
  6521 cat >conftest.$ac_ext <<_ACEOF
  6522 /* confdefs.h.  */
  6523 _ACEOF
  6524 cat confdefs.h >>conftest.$ac_ext
  6525 cat >>conftest.$ac_ext <<_ACEOF
  6526 /* end confdefs.h.  */
  6527 #include <stdarg.h>
  6528 #include <stdio.h>
  6529 #include <sys/types.h>
  6530 #include <sys/stat.h>
  6531 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  6532 struct buf { int x; };
  6533 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  6534 static char *e (p, i)
  6535      char **p;
  6536      int i;
  6538   return p[i];
  6540 static char *f (char * (*g) (char **, int), char **p, ...)
  6542   char *s;
  6543   va_list v;
  6544   va_start (v,p);
  6545   s = g (p, va_arg (v,int));
  6546   va_end (v);
  6547   return s;
  6550 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  6551    function prototypes and stuff, but not '\xHH' hex character constants.
  6552    These don't provoke an error unfortunately, instead are silently treated
  6553    as 'x'.  The following induces an error, until -std is added to get
  6554    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  6555    array size at least.  It's necessary to write '\x00'==0 to get something
  6556    that's true only with -std.  */
  6557 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  6559 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  6560    inside strings and character constants.  */
  6561 #define FOO(x) 'x'
  6562 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  6564 int test (int i, double x);
  6565 struct s1 {int (*f) (int a);};
  6566 struct s2 {int (*f) (double a);};
  6567 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  6568 int argc;
  6569 char **argv;
  6570 int
  6571 main ()
  6573 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  6575   return 0;
  6577 _ACEOF
  6578 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  6579 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  6580 do
  6581   CC_FOR_BUILD="$ac_save_CC $ac_arg"
  6582   rm -f conftest.$ac_build_objext
  6583 if { (ac_try="$ac_build_compile"
  6584 case "(($ac_try" in
  6585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6586   *) ac_try_echo=$ac_try;;
  6587 esac
  6588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6589   (eval "$ac_build_compile") 2>conftest.er1
  6590   ac_status=$?
  6591   grep -v '^ *+' conftest.er1 >conftest.err
  6592   rm -f conftest.er1
  6593   cat conftest.err >&5
  6594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6595   (exit $ac_status); } && {
  6596 	 test -z "$ac_c_werror_flag" ||
  6597 	 test ! -s conftest.err
  6598        } && test -s conftest.$ac_build_objext; then
  6599   ac_cv_build_prog_cc_stdc=$ac_arg
  6600 else
  6601   echo "$as_me: failed program was:" >&5
  6602 sed 's/^/| /' conftest.$ac_ext >&5
  6605 fi
  6607 rm -f core conftest.err conftest.$ac_build_objext
  6608   test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
  6609 done
  6610 rm -f conftest.$ac_ext
  6611 CC_FOR_BUILD=$ac_save_CC
  6613 fi
  6614 # AC_CACHE_VAL
  6615 case "x$ac_cv_build_prog_cc_stdc" in
  6616   x)
  6617     { echo "$as_me:$LINENO: result: none needed" >&5
  6618 echo "${ECHO_T}none needed" >&6; } ;;
  6619   xno)
  6620     { echo "$as_me:$LINENO: result: unsupported" >&5
  6621 echo "${ECHO_T}unsupported" >&6; } ;;
  6622   *)
  6623     CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
  6624     { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6625 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6626 esac
  6627 if test "x$ac_cv_build_prog_cc_stdc" != xno; then
  6628   ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
  6629 else
  6630   ac_cv_build_prog_cc_stdc=no
  6631 fi
  6634 fi
  6636  ;;
  6637 esac
  6638   { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO Standard C" >&5
  6639 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO Standard C... $ECHO_C" >&6; }
  6640   if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6641   echo $ECHO_N "(cached) $ECHO_C" >&6
  6642 fi
  6644   case $ac_cv_build_prog_cc_stdc in
  6645   no) { echo "$as_me:$LINENO: result: unsupported" >&5
  6646 echo "${ECHO_T}unsupported" >&6; } ;;
  6647   '') { echo "$as_me:$LINENO: result: none needed" >&5
  6648 echo "${ECHO_T}none needed" >&6; } ;;
  6649   *) { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6650 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6651 esac
  6654 ac_ext=c
  6655 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
  6656 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
  6657 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6658 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
  6659 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  6660 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  6661 # On Suns, sometimes $CPP names a directory.
  6662 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
  6663   CPP_FOR_BUILD=
  6664 fi
  6665 if test -z "$CPP_FOR_BUILD"; then
  6666   if test "${ac_cv_build_prog_CPP+set}" = set; then
  6667   echo $ECHO_N "(cached) $ECHO_C" >&6
  6668 else
  6669       # Double quotes because CPP needs to be expanded
  6670     for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
  6671     do
  6672       ac_preproc_ok=false
  6673 for ac_c_preproc_warn_flag in '' yes
  6674 do
  6675   # Use a header file that comes with gcc, so configuring glibc
  6676   # with a fresh cross-compiler works.
  6677   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6678   # <limits.h> exists even on freestanding compilers.
  6679   # On the NeXT, cc -E runs the code through the compiler's parser,
  6680   # not just through cpp. "Syntax error" is here to catch this case.
  6681   cat >conftest.$ac_ext <<_ACEOF
  6682 /* confdefs.h.  */
  6683 _ACEOF
  6684 cat confdefs.h >>conftest.$ac_ext
  6685 cat >>conftest.$ac_ext <<_ACEOF
  6686 /* end confdefs.h.  */
  6687 #ifdef __STDC__
  6688 # include <limits.h>
  6689 #else
  6690 # include <assert.h>
  6691 #endif
  6692 		     Syntax error
  6693 _ACEOF
  6694 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
  6695 case "(($ac_try" in
  6696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6697   *) ac_try_echo=$ac_try;;
  6698 esac
  6699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6700   (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
  6701   ac_status=$?
  6702   grep -v '^ *+' conftest.er1 >conftest.err
  6703   rm -f conftest.er1
  6704   cat conftest.err >&5
  6705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6706   (exit $ac_status); } >/dev/null && {
  6707 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6708 	 test ! -s conftest.err
  6709        }; then
  6711 else
  6712   echo "$as_me: failed program was:" >&5
  6713 sed 's/^/| /' conftest.$ac_ext >&5
  6715   # Broken: fails on valid input.
  6716 continue
  6717 fi
  6719 rm -f conftest.err conftest.$ac_ext
  6721   # OK, works on sane cases.  Now check whether nonexistent headers
  6722   # can be detected and how.
  6723   cat >conftest.$ac_ext <<_ACEOF
  6724 /* confdefs.h.  */
  6725 _ACEOF
  6726 cat confdefs.h >>conftest.$ac_ext
  6727 cat >>conftest.$ac_ext <<_ACEOF
  6728 /* end confdefs.h.  */
  6729 #include <ac_nonexistent.h>
  6730 _ACEOF
  6731 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
  6732 case "(($ac_try" in
  6733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6734   *) ac_try_echo=$ac_try;;
  6735 esac
  6736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6737   (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
  6738   ac_status=$?
  6739   grep -v '^ *+' conftest.er1 >conftest.err
  6740   rm -f conftest.er1
  6741   cat conftest.err >&5
  6742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6743   (exit $ac_status); } >/dev/null && {
  6744 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6745 	 test ! -s conftest.err
  6746        }; then
  6747   # Broken: success on invalid input.
  6748 continue
  6749 else
  6750   echo "$as_me: failed program was:" >&5
  6751 sed 's/^/| /' conftest.$ac_ext >&5
  6753   # Passes both tests.
  6754 ac_preproc_ok=:
  6755 break
  6756 fi
  6758 rm -f conftest.err conftest.$ac_ext
  6760 done
  6761 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6762 rm -f conftest.err conftest.$ac_ext
  6763 if $ac_preproc_ok; then
  6764   break
  6765 fi
  6767     done
  6768     ac_cv_build_prog_CPP=$CPP_FOR_BUILD
  6770 fi