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