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