Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 964:f2f3c7612d06
prev927:17b6b9e245d8
next966:0f0320cb3650
author nkeynes
date Thu Jan 15 04:15:11 2009 +0000 (11 years ago)
permissions -rwxr-xr-x
last change Add support for the Intel ICC compiler (C only, icc doesn't support Obj-C)
- Rename Obj-C source to .m
- Separate paths.c into paths_unix.c and paths_osx.m
- Add configuration detection of ICC, along with specific opt flags
view annotate diff log raw
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.62.
     4 #
     5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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   # Pre-4.2 versions of Zsh do 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 as_nl='
    41 '
    42 export as_nl
    43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    48   as_echo='printf %s\n'
    49   as_echo_n='printf %s'
    50 else
    51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    53     as_echo_n='/usr/ucb/echo -n'
    54   else
    55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    56     as_echo_n_body='eval
    57       arg=$1;
    58       case $arg in
    59       *"$as_nl"*)
    60 	expr "X$arg" : "X\\(.*\\)$as_nl";
    61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    62       esac;
    63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    64     '
    65     export as_echo_n_body
    66     as_echo_n='sh -c $as_echo_n_body as_echo'
    67   fi
    68   export as_echo_body
    69   as_echo='sh -c $as_echo_body as_echo'
    70 fi
    72 # The user is always right.
    73 if test "${PATH_SEPARATOR+set}" != set; then
    74   PATH_SEPARATOR=:
    75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    77       PATH_SEPARATOR=';'
    78   }
    79 fi
    81 # Support unset when possible.
    82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    83   as_unset=unset
    84 else
    85   as_unset=false
    86 fi
    89 # IFS
    90 # We need space, tab and new line, in precisely that order.  Quoting is
    91 # there to prevent editors from complaining about space-tab.
    92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    93 # splitting by setting IFS to empty value.)
    94 IFS=" ""	$as_nl"
    96 # Find who we are.  Look in the path if we contain no directory separator.
    97 case $0 in
    98   *[\\/]* ) as_myself=$0 ;;
    99   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   100 for as_dir in $PATH
   101 do
   102   IFS=$as_save_IFS
   103   test -z "$as_dir" && as_dir=.
   104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   105 done
   106 IFS=$as_save_IFS
   108      ;;
   109 esac
   110 # We did not find ourselves, most probably we were run as `sh COMMAND'
   111 # in which case we are not to be found in the path.
   112 if test "x$as_myself" = x; then
   113   as_myself=$0
   114 fi
   115 if test ! -f "$as_myself"; then
   116   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   117   { (exit 1); exit 1; }
   118 fi
   120 # Work around bugs in pre-3.0 UWIN ksh.
   121 for as_var in ENV MAIL MAILPATH
   122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   123 done
   124 PS1='$ '
   125 PS2='> '
   126 PS4='+ '
   128 # NLS nuisances.
   129 LC_ALL=C
   130 export LC_ALL
   131 LANGUAGE=C
   132 export LANGUAGE
   134 # Required to use basename.
   135 if expr a : '\(a\)' >/dev/null 2>&1 &&
   136    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   137   as_expr=expr
   138 else
   139   as_expr=false
   140 fi
   142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   143   as_basename=basename
   144 else
   145   as_basename=false
   146 fi
   149 # Name of the executable.
   150 as_me=`$as_basename -- "$0" ||
   151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   152 	 X"$0" : 'X\(//\)$' \| \
   153 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   154 $as_echo X/"$0" |
   155     sed '/^.*\/\([^/][^/]*\)\/*$/{
   156 	    s//\1/
   157 	    q
   158 	  }
   159 	  /^X\/\(\/\/\)$/{
   160 	    s//\1/
   161 	    q
   162 	  }
   163 	  /^X\/\(\/\).*/{
   164 	    s//\1/
   165 	    q
   166 	  }
   167 	  s/.*/./; q'`
   169 # CDPATH.
   170 $as_unset CDPATH
   173 if test "x$CONFIG_SHELL" = x; then
   174   if (eval ":") 2>/dev/null; then
   175   as_have_required=yes
   176 else
   177   as_have_required=no
   178 fi
   180   if test $as_have_required = yes &&	 (eval ":
   181 (as_func_return () {
   182   (exit \$1)
   183 }
   184 as_func_success () {
   185   as_func_return 0
   186 }
   187 as_func_failure () {
   188   as_func_return 1
   189 }
   190 as_func_ret_success () {
   191   return 0
   192 }
   193 as_func_ret_failure () {
   194   return 1
   195 }
   197 exitcode=0
   198 if as_func_success; then
   199   :
   200 else
   201   exitcode=1
   202   echo as_func_success failed.
   203 fi
   205 if as_func_failure; then
   206   exitcode=1
   207   echo as_func_failure succeeded.
   208 fi
   210 if as_func_ret_success; then
   211   :
   212 else
   213   exitcode=1
   214   echo as_func_ret_success failed.
   215 fi
   217 if as_func_ret_failure; then
   218   exitcode=1
   219   echo as_func_ret_failure succeeded.
   220 fi
   222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   223   :
   224 else
   225   exitcode=1
   226   echo positional parameters were not saved.
   227 fi
   229 test \$exitcode = 0) || { (exit 1); exit 1; }
   231 (
   232   as_lineno_1=\$LINENO
   233   as_lineno_2=\$LINENO
   234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   236 ") 2> /dev/null; then
   237   :
   238 else
   239   as_candidate_shells=
   240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   242 do
   243   IFS=$as_save_IFS
   244   test -z "$as_dir" && as_dir=.
   245   case $as_dir in
   246 	 /*)
   247 	   for as_base in sh bash ksh sh5; do
   248 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   249 	   done;;
   250        esac
   251 done
   252 IFS=$as_save_IFS
   255       for as_shell in $as_candidate_shells $SHELL; do
   256 	 # Try only shells that exist, to save several forks.
   257 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   258 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   260   emulate sh
   261   NULLCMD=:
   262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   263   # is contrary to our usage.  Disable this feature.
   264   alias -g '${1+"$@"}'='"$@"'
   265   setopt NO_GLOB_SUBST
   266 else
   267   case `(set -o) 2>/dev/null` in
   268   *posix*) set -o posix ;;
   269 esac
   271 fi
   274 :
   275 _ASEOF
   276 }; then
   277   CONFIG_SHELL=$as_shell
   278 	       as_have_required=yes
   279 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   281   emulate sh
   282   NULLCMD=:
   283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   284   # is contrary to our usage.  Disable this feature.
   285   alias -g '${1+"$@"}'='"$@"'
   286   setopt NO_GLOB_SUBST
   287 else
   288   case `(set -o) 2>/dev/null` in
   289   *posix*) set -o posix ;;
   290 esac
   292 fi
   295 :
   296 (as_func_return () {
   297   (exit $1)
   298 }
   299 as_func_success () {
   300   as_func_return 0
   301 }
   302 as_func_failure () {
   303   as_func_return 1
   304 }
   305 as_func_ret_success () {
   306   return 0
   307 }
   308 as_func_ret_failure () {
   309   return 1
   310 }
   312 exitcode=0
   313 if as_func_success; then
   314   :
   315 else
   316   exitcode=1
   317   echo as_func_success failed.
   318 fi
   320 if as_func_failure; then
   321   exitcode=1
   322   echo as_func_failure succeeded.
   323 fi
   325 if as_func_ret_success; then
   326   :
   327 else
   328   exitcode=1
   329   echo as_func_ret_success failed.
   330 fi
   332 if as_func_ret_failure; then
   333   exitcode=1
   334   echo as_func_ret_failure succeeded.
   335 fi
   337 if ( set x; as_func_ret_success y && test x = "$1" ); then
   338   :
   339 else
   340   exitcode=1
   341   echo positional parameters were not saved.
   342 fi
   344 test $exitcode = 0) || { (exit 1); exit 1; }
   346 (
   347   as_lineno_1=$LINENO
   348   as_lineno_2=$LINENO
   349   test "x$as_lineno_1" != "x$as_lineno_2" &&
   350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   352 _ASEOF
   353 }; then
   354   break
   355 fi
   357 fi
   359       done
   361       if test "x$CONFIG_SHELL" != x; then
   362   for as_var in BASH_ENV ENV
   363 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   364 	done
   365 	export CONFIG_SHELL
   366 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   367 fi
   370     if test $as_have_required = no; then
   371   echo This script requires a shell more modern than all the
   372       echo shells that I found on your system.  Please install a
   373       echo modern shell, or manually run the script under such a
   374       echo shell if you do have one.
   375       { (exit 1); exit 1; }
   376 fi
   379 fi
   381 fi
   385 (eval "as_func_return () {
   386   (exit \$1)
   387 }
   388 as_func_success () {
   389   as_func_return 0
   390 }
   391 as_func_failure () {
   392   as_func_return 1
   393 }
   394 as_func_ret_success () {
   395   return 0
   396 }
   397 as_func_ret_failure () {
   398   return 1
   399 }
   401 exitcode=0
   402 if as_func_success; then
   403   :
   404 else
   405   exitcode=1
   406   echo as_func_success failed.
   407 fi
   409 if as_func_failure; then
   410   exitcode=1
   411   echo as_func_failure succeeded.
   412 fi
   414 if as_func_ret_success; then
   415   :
   416 else
   417   exitcode=1
   418   echo as_func_ret_success failed.
   419 fi
   421 if as_func_ret_failure; then
   422   exitcode=1
   423   echo as_func_ret_failure succeeded.
   424 fi
   426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   427   :
   428 else
   429   exitcode=1
   430   echo positional parameters were not saved.
   431 fi
   433 test \$exitcode = 0") || {
   434   echo No shell found that supports shell functions.
   435   echo Please tell bug-autoconf@gnu.org about your system,
   436   echo including any error possibly output before this message.
   437   echo This can help us improve future autoconf versions.
   438   echo Configuration will now proceed without shell functions.
   439 }
   443   as_lineno_1=$LINENO
   444   as_lineno_2=$LINENO
   445   test "x$as_lineno_1" != "x$as_lineno_2" &&
   446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   449   # uniformly replaced by the line number.  The first 'sed' inserts a
   450   # line-number line after each line using $LINENO; the second 'sed'
   451   # does the real work.  The second script uses 'N' to pair each
   452   # line-number line with the line containing $LINENO, and appends
   453   # trailing '-' during substitution so that $LINENO is not a special
   454   # case at line end.
   455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   457   # E. McMahon (1931-1989) for sed's syntax.  :-)
   458   sed -n '
   459     p
   460     /[$]LINENO/=
   461   ' <$as_myself |
   462     sed '
   463       s/[$]LINENO.*/&-/
   464       t lineno
   465       b
   466       :lineno
   467       N
   468       :loop
   469       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   470       t loop
   471       s/-\n.*//
   472     ' >$as_me.lineno &&
   473   chmod +x "$as_me.lineno" ||
   474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   475    { (exit 1); exit 1; }; }
   477   # Don't try to exec as it changes $[0], causing all sort of problems
   478   # (the dirname of $[0] is not the place where we might find the
   479   # original and so on.  Autoconf is especially sensitive to this).
   480   . "./$as_me.lineno"
   481   # Exit status is that of the last command.
   482   exit
   483 }
   486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   487   as_dirname=dirname
   488 else
   489   as_dirname=false
   490 fi
   492 ECHO_C= ECHO_N= ECHO_T=
   493 case `echo -n x` in
   494 -n*)
   495   case `echo 'x\c'` in
   496   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   497   *)   ECHO_C='\c';;
   498   esac;;
   499 *)
   500   ECHO_N='-n';;
   501 esac
   502 if expr a : '\(a\)' >/dev/null 2>&1 &&
   503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   504   as_expr=expr
   505 else
   506   as_expr=false
   507 fi
   509 rm -f conf$$ conf$$.exe conf$$.file
   510 if test -d conf$$.dir; then
   511   rm -f conf$$.dir/conf$$.file
   512 else
   513   rm -f conf$$.dir
   514   mkdir conf$$.dir 2>/dev/null
   515 fi
   516 if (echo >conf$$.file) 2>/dev/null; then
   517   if ln -s conf$$.file conf$$ 2>/dev/null; then
   518     as_ln_s='ln -s'
   519     # ... but there are two gotchas:
   520     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   521     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   522     # In both cases, we have to default to `cp -p'.
   523     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   524       as_ln_s='cp -p'
   525   elif ln conf$$.file conf$$ 2>/dev/null; then
   526     as_ln_s=ln
   527   else
   528     as_ln_s='cp -p'
   529   fi
   530 else
   531   as_ln_s='cp -p'
   532 fi
   533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   534 rmdir conf$$.dir 2>/dev/null
   536 if mkdir -p . 2>/dev/null; then
   537   as_mkdir_p=:
   538 else
   539   test -d ./-p && rmdir ./-p
   540   as_mkdir_p=false
   541 fi
   543 if test -x / >/dev/null 2>&1; then
   544   as_test_x='test -x'
   545 else
   546   if ls -dL / >/dev/null 2>&1; then
   547     as_ls_L_option=L
   548   else
   549     as_ls_L_option=
   550   fi
   551   as_test_x='
   552     eval sh -c '\''
   553       if test -d "$1"; then
   554 	test -d "$1/.";
   555       else
   556 	case $1 in
   557 	-*)set "./$1";;
   558 	esac;
   559 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   560 	???[sx]*):;;*)false;;esac;fi
   561     '\'' sh
   562   '
   563 fi
   564 as_executable_p=$as_test_x
   566 # Sed expression to map a string onto a valid CPP name.
   567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   569 # Sed expression to map a string onto a valid variable name.
   570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   574 exec 7<&0 </dev/null 6>&1
   576 # Name of the host.
   577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   578 # so uname gets run too.
   579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   581 #
   582 # Initializations.
   583 #
   584 ac_default_prefix=/usr/local
   585 ac_clean_files=
   586 ac_config_libobj_dir=.
   587 LIBOBJS=
   588 cross_compiling=no
   589 subdirs=
   590 MFLAGS=
   591 MAKEFLAGS=
   592 SHELL=${CONFIG_SHELL-/bin/sh}
   594 # Identity of this package.
   595 PACKAGE_NAME=
   596 PACKAGE_TARNAME=
   597 PACKAGE_VERSION=
   598 PACKAGE_STRING=
   599 PACKAGE_BUGREPORT=
   601 ac_unique_file="configure.in"
   602 # Factoring default headers for most tests.
   603 ac_includes_default="\
   604 #include <stdio.h>
   605 #ifdef HAVE_SYS_TYPES_H
   606 # include <sys/types.h>
   607 #endif
   608 #ifdef HAVE_SYS_STAT_H
   609 # include <sys/stat.h>
   610 #endif
   611 #ifdef STDC_HEADERS
   612 # include <stdlib.h>
   613 # include <stddef.h>
   614 #else
   615 # ifdef HAVE_STDLIB_H
   616 #  include <stdlib.h>
   617 # endif
   618 #endif
   619 #ifdef HAVE_STRING_H
   620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   621 #  include <memory.h>
   622 # endif
   623 # include <string.h>
   624 #endif
   625 #ifdef HAVE_STRINGS_H
   626 # include <strings.h>
   627 #endif
   628 #ifdef HAVE_INTTYPES_H
   629 # include <inttypes.h>
   630 #endif
   631 #ifdef HAVE_STDINT_H
   632 # include <stdint.h>
   633 #endif
   634 #ifdef HAVE_UNISTD_H
   635 # include <unistd.h>
   636 #endif"
   638 ac_subst_vars='SHELL
   639 PATH_SEPARATOR
   640 PACKAGE_NAME
   641 PACKAGE_TARNAME
   642 PACKAGE_VERSION
   643 PACKAGE_STRING
   644 PACKAGE_BUGREPORT
   645 exec_prefix
   646 prefix
   647 program_transform_name
   648 bindir
   649 sbindir
   650 libexecdir
   651 datarootdir
   652 datadir
   653 sysconfdir
   654 sharedstatedir
   655 localstatedir
   656 includedir
   657 oldincludedir
   658 docdir
   659 infodir
   660 htmldir
   661 dvidir
   662 pdfdir
   663 psdir
   664 libdir
   665 localedir
   666 mandir
   667 DEFS
   668 ECHO_C
   669 ECHO_N
   670 ECHO_T
   671 LIBS
   672 build_alias
   673 host_alias
   674 target_alias
   675 INSTALL_PROGRAM
   676 INSTALL_SCRIPT
   677 INSTALL_DATA
   678 CYGPATH_W
   679 PACKAGE
   680 VERSION
   681 ACLOCAL
   682 AUTOCONF
   683 AUTOMAKE
   684 AUTOHEADER
   685 MAKEINFO
   686 install_sh
   687 STRIP
   688 INSTALL_STRIP_PROGRAM
   689 mkdir_p
   690 AWK
   691 SET_MAKE
   692 am__leading_dot
   693 AMTAR
   694 am__tar
   695 am__untar
   696 MAINTAINER_MODE_TRUE
   697 MAINTAINER_MODE_FALSE
   698 MAINT
   699 CC
   700 CFLAGS
   701 LDFLAGS
   702 CPPFLAGS
   703 ac_ct_CC
   704 EXEEXT
   705 OBJEXT
   706 DEPDIR
   707 am__include
   708 am__quote
   709 AMDEP_TRUE
   710 AMDEP_FALSE
   711 AMDEPBACKSLASH
   712 CCDEPMODE
   713 am__fastdepCC_TRUE
   714 am__fastdepCC_FALSE
   715 OBJC
   716 OBJCFLAGS
   717 ac_ct_OBJC
   718 SED
   719 CCAS
   720 CCASFLAGS
   721 CPP
   722 GREP
   723 EGREP
   724 build
   725 build_cpu
   726 build_vendor
   727 build_os
   728 host
   729 host_cpu
   730 host_vendor
   731 host_os
   732 OBJCDEPMODE
   733 am__fastdepOBJC_TRUE
   734 am__fastdepOBJC_FALSE
   735 POD2MAN
   736 POD2HTML
   737 OBJCPP
   738 GUI_COCOA_TRUE
   739 GUI_COCOA_FALSE
   740 PKG_CONFIG
   741 LIBPNG_CFLAGS
   742 LIBPNG_LIBS
   743 GLIB_CFLAGS
   744 GLIB_LIBS
   745 GTK_CFLAGS
   746 GTK_LIBS
   747 GUI_GTK_TRUE
   748 GUI_GTK_FALSE
   749 VIDEO_OSMESA_TRUE
   750 VIDEO_OSMESA_FALSE
   751 VIDEO_GLX_TRUE
   752 VIDEO_GLX_FALSE
   753 VIDEO_NSGL_TRUE
   754 VIDEO_NSGL_FALSE
   755 BUILD_SH4X86_TRUE
   756 BUILD_SH4X86_FALSE
   757 AUDIO_OSX_TRUE
   758 AUDIO_OSX_FALSE
   759 PULSE_CFLAGS
   760 PULSE_LIBS
   761 AUDIO_PULSE_TRUE
   762 AUDIO_PULSE_FALSE
   763 ESOUND_CFLAGS
   764 ESOUND_LIBS
   765 AUDIO_ESOUND_TRUE
   766 AUDIO_ESOUND_FALSE
   767 ALSA_CFLAGS
   768 ALSA_LIBS
   769 AUDIO_ALSA_TRUE
   770 AUDIO_ALSA_FALSE
   771 CDROM_LINUX_TRUE
   772 CDROM_LINUX_FALSE
   773 CDROM_OSX_TRUE
   774 CDROM_OSX_FALSE
   775 CDROM_NONE_TRUE
   776 CDROM_NONE_FALSE
   777 JOY_LINUX_TRUE
   778 JOY_LINUX_FALSE
   779 SHCC
   780 SHLD
   781 SHOBJCOPY
   782 ARMCC
   783 ARMLD
   784 ARMOBJCOPY
   785 BUILD_SYSTEST_TRUE
   786 BUILD_SYSTEST_FALSE
   787 BUILD_ARMTEST_TRUE
   788 BUILD_ARMTEST_FALSE
   789 GETTEXT_PACKAGE
   790 USE_NLS
   791 MSGFMT
   792 MSGFMT_OPTS
   793 GMSGFMT
   794 XGETTEXT
   795 CATALOGS
   796 CATOBJEXT
   797 DATADIRNAME
   798 GMOFILES
   799 INSTOBJEXT
   800 INTLLIBS
   801 PO_IN_DATADIR_TRUE
   802 PO_IN_DATADIR_FALSE
   803 POFILES
   804 POSUB
   805 MKINSTALLDIRS
   806 LIBOBJS
   807 LTLIBOBJS'
   808 ac_subst_files=''
   809 ac_user_opts='
   810 enable_option_checking
   811 enable_maintainer_mode
   812 enable_dependency_tracking
   813 enable_strict_warn
   814 enable_translator
   815 enable_optimized
   816 enable_profiled
   817 enable_trace
   818 enable_watch
   819 enable_sh4stats
   820 with_osmesa
   821 with_gtk
   822 with_esd
   823 with_pulse
   824 '
   825       ac_precious_vars='build_alias
   826 host_alias
   827 target_alias
   828 CC
   829 CFLAGS
   830 LDFLAGS
   831 LIBS
   832 CPPFLAGS
   833 OBJC
   834 OBJCFLAGS
   835 CCAS
   836 CCASFLAGS
   837 CPP
   838 OBJCPP
   839 PKG_CONFIG
   840 LIBPNG_CFLAGS
   841 LIBPNG_LIBS
   842 GLIB_CFLAGS
   843 GLIB_LIBS
   844 GTK_CFLAGS
   845 GTK_LIBS
   846 PULSE_CFLAGS
   847 PULSE_LIBS
   848 ESOUND_CFLAGS
   849 ESOUND_LIBS
   850 ALSA_CFLAGS
   851 ALSA_LIBS'
   854 # Initialize some variables set by options.
   855 ac_init_help=
   856 ac_init_version=false
   857 ac_unrecognized_opts=
   858 ac_unrecognized_sep=
   859 # The variables have the same names as the options, with
   860 # dashes changed to underlines.
   861 cache_file=/dev/null
   862 exec_prefix=NONE
   863 no_create=
   864 no_recursion=
   865 prefix=NONE
   866 program_prefix=NONE
   867 program_suffix=NONE
   868 program_transform_name=s,x,x,
   869 silent=
   870 site=
   871 srcdir=
   872 verbose=
   873 x_includes=NONE
   874 x_libraries=NONE
   876 # Installation directory options.
   877 # These are left unexpanded so users can "make install exec_prefix=/foo"
   878 # and all the variables that are supposed to be based on exec_prefix
   879 # by default will actually change.
   880 # Use braces instead of parens because sh, perl, etc. also accept them.
   881 # (The list follows the same order as the GNU Coding Standards.)
   882 bindir='${exec_prefix}/bin'
   883 sbindir='${exec_prefix}/sbin'
   884 libexecdir='${exec_prefix}/libexec'
   885 datarootdir='${prefix}/share'
   886 datadir='${datarootdir}'
   887 sysconfdir='${prefix}/etc'
   888 sharedstatedir='${prefix}/com'
   889 localstatedir='${prefix}/var'
   890 includedir='${prefix}/include'
   891 oldincludedir='/usr/include'
   892 docdir='${datarootdir}/doc/${PACKAGE}'
   893 infodir='${datarootdir}/info'
   894 htmldir='${docdir}'
   895 dvidir='${docdir}'
   896 pdfdir='${docdir}'
   897 psdir='${docdir}'
   898 libdir='${exec_prefix}/lib'
   899 localedir='${datarootdir}/locale'
   900 mandir='${datarootdir}/man'
   902 ac_prev=
   903 ac_dashdash=
   904 for ac_option
   905 do
   906   # If the previous option needs an argument, assign it.
   907   if test -n "$ac_prev"; then
   908     eval $ac_prev=\$ac_option
   909     ac_prev=
   910     continue
   911   fi
   913   case $ac_option in
   914   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   915   *)	ac_optarg=yes ;;
   916   esac
   918   # Accept the important Cygnus configure options, so we can diagnose typos.
   920   case $ac_dashdash$ac_option in
   921   --)
   922     ac_dashdash=yes ;;
   924   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   925     ac_prev=bindir ;;
   926   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   927     bindir=$ac_optarg ;;
   929   -build | --build | --buil | --bui | --bu)
   930     ac_prev=build_alias ;;
   931   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   932     build_alias=$ac_optarg ;;
   934   -cache-file | --cache-file | --cache-fil | --cache-fi \
   935   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   936     ac_prev=cache_file ;;
   937   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   938   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   939     cache_file=$ac_optarg ;;
   941   --config-cache | -C)
   942     cache_file=config.cache ;;
   944   -datadir | --datadir | --datadi | --datad)
   945     ac_prev=datadir ;;
   946   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   947     datadir=$ac_optarg ;;
   949   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   950   | --dataroo | --dataro | --datar)
   951     ac_prev=datarootdir ;;
   952   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   953   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   954     datarootdir=$ac_optarg ;;
   956   -disable-* | --disable-*)
   957     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   958     # Reject names that are not valid shell variable names.
   959     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   960       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   961    { (exit 1); exit 1; }; }
   962     ac_useropt_orig=$ac_useropt
   963     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   964     case $ac_user_opts in
   965       *"
   966 "enable_$ac_useropt"
   967 "*) ;;
   968       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   969 	 ac_unrecognized_sep=', ';;
   970     esac
   971     eval enable_$ac_useropt=no ;;
   973   -docdir | --docdir | --docdi | --doc | --do)
   974     ac_prev=docdir ;;
   975   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   976     docdir=$ac_optarg ;;
   978   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   979     ac_prev=dvidir ;;
   980   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   981     dvidir=$ac_optarg ;;
   983   -enable-* | --enable-*)
   984     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   985     # Reject names that are not valid shell variable names.
   986     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   987       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   988    { (exit 1); exit 1; }; }
   989     ac_useropt_orig=$ac_useropt
   990     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   991     case $ac_user_opts in
   992       *"
   993 "enable_$ac_useropt"
   994 "*) ;;
   995       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   996 	 ac_unrecognized_sep=', ';;
   997     esac
   998     eval enable_$ac_useropt=\$ac_optarg ;;
  1000   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1001   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1002   | --exec | --exe | --ex)
  1003     ac_prev=exec_prefix ;;
  1004   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1005   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1006   | --exec=* | --exe=* | --ex=*)
  1007     exec_prefix=$ac_optarg ;;
  1009   -gas | --gas | --ga | --g)
  1010     # Obsolete; use --with-gas.
  1011     with_gas=yes ;;
  1013   -help | --help | --hel | --he | -h)
  1014     ac_init_help=long ;;
  1015   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1016     ac_init_help=recursive ;;
  1017   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1018     ac_init_help=short ;;
  1020   -host | --host | --hos | --ho)
  1021     ac_prev=host_alias ;;
  1022   -host=* | --host=* | --hos=* | --ho=*)
  1023     host_alias=$ac_optarg ;;
  1025   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1026     ac_prev=htmldir ;;
  1027   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1028   | --ht=*)
  1029     htmldir=$ac_optarg ;;
  1031   -includedir | --includedir | --includedi | --included | --include \
  1032   | --includ | --inclu | --incl | --inc)
  1033     ac_prev=includedir ;;
  1034   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1035   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1036     includedir=$ac_optarg ;;
  1038   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1039     ac_prev=infodir ;;
  1040   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1041     infodir=$ac_optarg ;;
  1043   -libdir | --libdir | --libdi | --libd)
  1044     ac_prev=libdir ;;
  1045   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1046     libdir=$ac_optarg ;;
  1048   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1049   | --libexe | --libex | --libe)
  1050     ac_prev=libexecdir ;;
  1051   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1052   | --libexe=* | --libex=* | --libe=*)
  1053     libexecdir=$ac_optarg ;;
  1055   -localedir | --localedir | --localedi | --localed | --locale)
  1056     ac_prev=localedir ;;
  1057   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1058     localedir=$ac_optarg ;;
  1060   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1061   | --localstate | --localstat | --localsta | --localst | --locals)
  1062     ac_prev=localstatedir ;;
  1063   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1064   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1065     localstatedir=$ac_optarg ;;
  1067   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1068     ac_prev=mandir ;;
  1069   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1070     mandir=$ac_optarg ;;
  1072   -nfp | --nfp | --nf)
  1073     # Obsolete; use --without-fp.
  1074     with_fp=no ;;
  1076   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1077   | --no-cr | --no-c | -n)
  1078     no_create=yes ;;
  1080   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1081   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1082     no_recursion=yes ;;
  1084   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1085   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1086   | --oldin | --oldi | --old | --ol | --o)
  1087     ac_prev=oldincludedir ;;
  1088   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1089   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1090   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1091     oldincludedir=$ac_optarg ;;
  1093   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1094     ac_prev=prefix ;;
  1095   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1096     prefix=$ac_optarg ;;
  1098   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1099   | --program-pre | --program-pr | --program-p)
  1100     ac_prev=program_prefix ;;
  1101   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1102   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1103     program_prefix=$ac_optarg ;;
  1105   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1106   | --program-suf | --program-su | --program-s)
  1107     ac_prev=program_suffix ;;
  1108   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1109   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1110     program_suffix=$ac_optarg ;;
  1112   -program-transform-name | --program-transform-name \
  1113   | --program-transform-nam | --program-transform-na \
  1114   | --program-transform-n | --program-transform- \
  1115   | --program-transform | --program-transfor \
  1116   | --program-transfo | --program-transf \
  1117   | --program-trans | --program-tran \
  1118   | --progr-tra | --program-tr | --program-t)
  1119     ac_prev=program_transform_name ;;
  1120   -program-transform-name=* | --program-transform-name=* \
  1121   | --program-transform-nam=* | --program-transform-na=* \
  1122   | --program-transform-n=* | --program-transform-=* \
  1123   | --program-transform=* | --program-transfor=* \
  1124   | --program-transfo=* | --program-transf=* \
  1125   | --program-trans=* | --program-tran=* \
  1126   | --progr-tra=* | --program-tr=* | --program-t=*)
  1127     program_transform_name=$ac_optarg ;;
  1129   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1130     ac_prev=pdfdir ;;
  1131   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1132     pdfdir=$ac_optarg ;;
  1134   -psdir | --psdir | --psdi | --psd | --ps)
  1135     ac_prev=psdir ;;
  1136   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1137     psdir=$ac_optarg ;;
  1139   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1140   | -silent | --silent | --silen | --sile | --sil)
  1141     silent=yes ;;
  1143   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1144     ac_prev=sbindir ;;
  1145   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1146   | --sbi=* | --sb=*)
  1147     sbindir=$ac_optarg ;;
  1149   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1150   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1151   | --sharedst | --shareds | --shared | --share | --shar \
  1152   | --sha | --sh)
  1153     ac_prev=sharedstatedir ;;
  1154   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1155   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1156   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1157   | --sha=* | --sh=*)
  1158     sharedstatedir=$ac_optarg ;;
  1160   -site | --site | --sit)
  1161     ac_prev=site ;;
  1162   -site=* | --site=* | --sit=*)
  1163     site=$ac_optarg ;;
  1165   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1166     ac_prev=srcdir ;;
  1167   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1168     srcdir=$ac_optarg ;;
  1170   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1171   | --syscon | --sysco | --sysc | --sys | --sy)
  1172     ac_prev=sysconfdir ;;
  1173   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1174   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1175     sysconfdir=$ac_optarg ;;
  1177   -target | --target | --targe | --targ | --tar | --ta | --t)
  1178     ac_prev=target_alias ;;
  1179   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1180     target_alias=$ac_optarg ;;
  1182   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1183     verbose=yes ;;
  1185   -version | --version | --versio | --versi | --vers | -V)
  1186     ac_init_version=: ;;
  1188   -with-* | --with-*)
  1189     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1190     # Reject names that are not valid shell variable names.
  1191     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1192       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1193    { (exit 1); exit 1; }; }
  1194     ac_useropt_orig=$ac_useropt
  1195     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1196     case $ac_user_opts in
  1197       *"
  1198 "with_$ac_useropt"
  1199 "*) ;;
  1200       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1201 	 ac_unrecognized_sep=', ';;
  1202     esac
  1203     eval with_$ac_useropt=\$ac_optarg ;;
  1205   -without-* | --without-*)
  1206     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1207     # Reject names that are not valid shell variable names.
  1208     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1209       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1210    { (exit 1); exit 1; }; }
  1211     ac_useropt_orig=$ac_useropt
  1212     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1213     case $ac_user_opts in
  1214       *"
  1215 "with_$ac_useropt"
  1216 "*) ;;
  1217       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1218 	 ac_unrecognized_sep=', ';;
  1219     esac
  1220     eval with_$ac_useropt=no ;;
  1222   --x)
  1223     # Obsolete; use --with-x.
  1224     with_x=yes ;;
  1226   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1227   | --x-incl | --x-inc | --x-in | --x-i)
  1228     ac_prev=x_includes ;;
  1229   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1230   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1231     x_includes=$ac_optarg ;;
  1233   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1234   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1235     ac_prev=x_libraries ;;
  1236   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1237   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1238     x_libraries=$ac_optarg ;;
  1240   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  1241 Try \`$0 --help' for more information." >&2
  1242    { (exit 1); exit 1; }; }
  1243     ;;
  1245   *=*)
  1246     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1247     # Reject names that are not valid shell variable names.
  1248     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1249       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1250    { (exit 1); exit 1; }; }
  1251     eval $ac_envvar=\$ac_optarg
  1252     export $ac_envvar ;;
  1254   *)
  1255     # FIXME: should be removed in autoconf 3.0.
  1256     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1257     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1258       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1259     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1260     ;;
  1262   esac
  1263 done
  1265 if test -n "$ac_prev"; then
  1266   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1267   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  1268    { (exit 1); exit 1; }; }
  1269 fi
  1271 if test -n "$ac_unrecognized_opts"; then
  1272   case $enable_option_checking in
  1273     no) ;;
  1274     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
  1275    { (exit 1); exit 1; }; } ;;
  1276     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1277   esac
  1278 fi
  1280 # Check all directory arguments for consistency.
  1281 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1282 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1283 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1284 		libdir localedir mandir
  1285 do
  1286   eval ac_val=\$$ac_var
  1287   # Remove trailing slashes.
  1288   case $ac_val in
  1289     */ )
  1290       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1291       eval $ac_var=\$ac_val;;
  1292   esac
  1293   # Be sure to have absolute directory names.
  1294   case $ac_val in
  1295     [\\/$]* | ?:[\\/]* )  continue;;
  1296     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1297   esac
  1298   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1299    { (exit 1); exit 1; }; }
  1300 done
  1302 # There might be people who depend on the old broken behavior: `$host'
  1303 # used to hold the argument of --host etc.
  1304 # FIXME: To remove some day.
  1305 build=$build_alias
  1306 host=$host_alias
  1307 target=$target_alias
  1309 # FIXME: To remove some day.
  1310 if test "x$host_alias" != x; then
  1311   if test "x$build_alias" = x; then
  1312     cross_compiling=maybe
  1313     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1314     If a cross compiler is detected then cross compile mode will be used." >&2
  1315   elif test "x$build_alias" != "x$host_alias"; then
  1316     cross_compiling=yes
  1317   fi
  1318 fi
  1320 ac_tool_prefix=
  1321 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1323 test "$silent" = yes && exec 6>/dev/null
  1326 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1327 ac_ls_di=`ls -di .` &&
  1328 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1329   { $as_echo "$as_me: error: Working directory cannot be determined" >&2
  1330    { (exit 1); exit 1; }; }
  1331 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1332   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  1333    { (exit 1); exit 1; }; }
  1336 # Find the source files, if location was not specified.
  1337 if test -z "$srcdir"; then
  1338   ac_srcdir_defaulted=yes
  1339   # Try the directory containing this script, then the parent directory.
  1340   ac_confdir=`$as_dirname -- "$as_myself" ||
  1341 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1342 	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1343 	 X"$as_myself" : 'X\(//\)$' \| \
  1344 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1345 $as_echo X"$as_myself" |
  1346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1347 	    s//\1/
  1350 	  /^X\(\/\/\)[^/].*/{
  1351 	    s//\1/
  1354 	  /^X\(\/\/\)$/{
  1355 	    s//\1/
  1358 	  /^X\(\/\).*/{
  1359 	    s//\1/
  1362 	  s/.*/./; q'`
  1363   srcdir=$ac_confdir
  1364   if test ! -r "$srcdir/$ac_unique_file"; then
  1365     srcdir=..
  1366   fi
  1367 else
  1368   ac_srcdir_defaulted=no
  1369 fi
  1370 if test ! -r "$srcdir/$ac_unique_file"; then
  1371   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1372   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1373    { (exit 1); exit 1; }; }
  1374 fi
  1375 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1376 ac_abs_confdir=`(
  1377 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  1378    { (exit 1); exit 1; }; }
  1379 	pwd)`
  1380 # When building in place, set srcdir=.
  1381 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1382   srcdir=.
  1383 fi
  1384 # Remove unnecessary trailing slashes from srcdir.
  1385 # Double slashes in file names in object file debugging info
  1386 # mess up M-x gdb in Emacs.
  1387 case $srcdir in
  1388 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1389 esac
  1390 for ac_var in $ac_precious_vars; do
  1391   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1392   eval ac_env_${ac_var}_value=\$${ac_var}
  1393   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1394   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1395 done
  1398 # Report the --help message.
  1400 if test "$ac_init_help" = "long"; then
  1401   # Omit some internal or obsolete options to make the list less imposing.
  1402   # This message is too long to be a string in the A/UX 3.1 sh.
  1403   cat <<_ACEOF
  1404 \`configure' configures this package to adapt to many kinds of systems.
  1406 Usage: $0 [OPTION]... [VAR=VALUE]...
  1408 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1409 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1411 Defaults for the options are specified in brackets.
  1413 Configuration:
  1414   -h, --help              display this help and exit
  1415       --help=short        display options specific to this package
  1416       --help=recursive    display the short help of all the included packages
  1417   -V, --version           display version information and exit
  1418   -q, --quiet, --silent   do not print \`checking...' messages
  1419       --cache-file=FILE   cache test results in FILE [disabled]
  1420   -C, --config-cache      alias for \`--cache-file=config.cache'
  1421   -n, --no-create         do not create output files
  1422       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1424 Installation directories:
  1425   --prefix=PREFIX         install architecture-independent files in PREFIX
  1426                           [$ac_default_prefix]
  1427   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1428                           [PREFIX]
  1430 By default, \`make install' will install all the files in
  1431 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1432 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1433 for instance \`--prefix=\$HOME'.
  1435 For better control, use the options below.
  1437 Fine tuning of the installation directories:
  1438   --bindir=DIR            user executables [EPREFIX/bin]
  1439   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1440   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1441   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1442   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1443   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1444   --libdir=DIR            object code libraries [EPREFIX/lib]
  1445   --includedir=DIR        C header files [PREFIX/include]
  1446   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1447   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1448   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1449   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1450   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1451   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1452   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1453   --htmldir=DIR           html documentation [DOCDIR]
  1454   --dvidir=DIR            dvi documentation [DOCDIR]
  1455   --pdfdir=DIR            pdf documentation [DOCDIR]
  1456   --psdir=DIR             ps documentation [DOCDIR]
  1457 _ACEOF
  1459   cat <<\_ACEOF
  1461 Program names:
  1462   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1463   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1464   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1466 System types:
  1467   --build=BUILD     configure for building on BUILD [guessed]
  1468   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1469 _ACEOF
  1470 fi
  1472 if test -n "$ac_init_help"; then
  1474   cat <<\_ACEOF
  1476 Optional Features:
  1477   --disable-option-checking  ignore unrecognized --enable/--with options
  1478   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1479   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1480   --enable-maintainer-mode  enable make rules and dependencies not useful
  1481 			  (and sometimes confusing) to the casual installer
  1482   --disable-dependency-tracking  speeds up one-time build
  1483   --enable-dependency-tracking   do not reject slow dependency extractors
  1484   --enable-strict-warn    Enable strict compilation warnings
  1485   --disable-translator    Disable the SH4 translator (Enabled by default)
  1486   --disable-optimized     Disable compile-time optimizations (Enabled by
  1487                           default)
  1488   --enable-profiled       Enable profiling build
  1489   --enable-trace          Enable generation of IO traces (warning: hurts
  1490                           performance)
  1491   --enable-watch          Enable watchpoints in the debugger (warning: hurts
  1492                           performance)
  1493   --enable-sh4stats       Enable statistics on executed sh4 instructions
  1495 Optional Packages:
  1496   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1497   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1498   --with-osmesa           Build with the osmesa GL library (software
  1499                           rendering)
  1500   --with-gtk              Build with the GTK UI. Default on X11 systems
  1501   --with-esd              Build with support for the ESounD audio system
  1502   --with-pulse            Build with support for the PulseAudio audio system
  1504 Some influential environment variables:
  1505   CC          C compiler command
  1506   CFLAGS      C compiler flags
  1507   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1508               nonstandard directory <lib dir>
  1509   LIBS        libraries to pass to the linker, e.g. -l<library>
  1510   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1511               you have headers in a nonstandard directory <include dir>
  1512   OBJC        Objective C compiler command
  1513   OBJCFLAGS   Objective C compiler flags
  1514   CCAS        assembler compiler command (defaults to CC)
  1515   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1516   CPP         C preprocessor
  1517   OBJCPP      Objective C preprocessor
  1518   PKG_CONFIG  path to pkg-config utility
  1519   LIBPNG_CFLAGS
  1520               C compiler flags for LIBPNG, overriding pkg-config
  1521   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1522   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  1523   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  1524   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1525   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1526   PULSE_CFLAGS
  1527               C compiler flags for PULSE, overriding pkg-config
  1528   PULSE_LIBS  linker flags for PULSE, overriding pkg-config
  1529   ESOUND_CFLAGS
  1530               C compiler flags for ESOUND, overriding pkg-config
  1531   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1532   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
  1533   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
  1535 Use these variables to override the choices made by `configure' or to help
  1536 it to find libraries and programs with nonstandard names/locations.
  1538 _ACEOF
  1539 ac_status=$?
  1540 fi
  1542 if test "$ac_init_help" = "recursive"; then
  1543   # If there are subdirs, report their specific --help.
  1544   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1545     test -d "$ac_dir" ||
  1546       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1547       continue
  1548     ac_builddir=.
  1550 case "$ac_dir" in
  1551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1552 *)
  1553   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1554   # A ".." for each directory in $ac_dir_suffix.
  1555   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1556   case $ac_top_builddir_sub in
  1557   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1558   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1559   esac ;;
  1560 esac
  1561 ac_abs_top_builddir=$ac_pwd
  1562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1563 # for backward compatibility:
  1564 ac_top_builddir=$ac_top_build_prefix
  1566 case $srcdir in
  1567   .)  # We are building in place.
  1568     ac_srcdir=.
  1569     ac_top_srcdir=$ac_top_builddir_sub
  1570     ac_abs_top_srcdir=$ac_pwd ;;
  1571   [\\/]* | ?:[\\/]* )  # Absolute name.
  1572     ac_srcdir=$srcdir$ac_dir_suffix;
  1573     ac_top_srcdir=$srcdir
  1574     ac_abs_top_srcdir=$srcdir ;;
  1575   *) # Relative name.
  1576     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1577     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1578     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1579 esac
  1580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1582     cd "$ac_dir" || { ac_status=$?; continue; }
  1583     # Check for guested configure.
  1584     if test -f "$ac_srcdir/configure.gnu"; then
  1585       echo &&
  1586       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1587     elif test -f "$ac_srcdir/configure"; then
  1588       echo &&
  1589       $SHELL "$ac_srcdir/configure" --help=recursive
  1590     else
  1591       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1592     fi || ac_status=$?
  1593     cd "$ac_pwd" || { ac_status=$?; break; }
  1594   done
  1595 fi
  1597 test -n "$ac_init_help" && exit $ac_status
  1598 if $ac_init_version; then
  1599   cat <<\_ACEOF
  1600 configure
  1601 generated by GNU Autoconf 2.62
  1603 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1604 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1605 This configure script is free software; the Free Software Foundation
  1606 gives unlimited permission to copy, distribute and modify it.
  1607 _ACEOF
  1608   exit
  1609 fi
  1610 cat >config.log <<_ACEOF
  1611 This file contains any messages produced by compilers while
  1612 running configure, to aid debugging if configure makes a mistake.
  1614 It was created by $as_me, which was
  1615 generated by GNU Autoconf 2.62.  Invocation command line was
  1617   $ $0 $@
  1619 _ACEOF
  1620 exec 5>>config.log
  1622 cat <<_ASUNAME
  1623 ## --------- ##
  1624 ## Platform. ##
  1625 ## --------- ##
  1627 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1628 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1629 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1630 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1631 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1633 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1634 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1636 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1637 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1638 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1639 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1640 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1641 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1642 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1644 _ASUNAME
  1646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1647 for as_dir in $PATH
  1648 do
  1649   IFS=$as_save_IFS
  1650   test -z "$as_dir" && as_dir=.
  1651   $as_echo "PATH: $as_dir"
  1652 done
  1653 IFS=$as_save_IFS
  1655 } >&5
  1657 cat >&5 <<_ACEOF
  1660 ## ----------- ##
  1661 ## Core tests. ##
  1662 ## ----------- ##
  1664 _ACEOF
  1667 # Keep a trace of the command line.
  1668 # Strip out --no-create and --no-recursion so they do not pile up.
  1669 # Strip out --silent because we don't want to record it for future runs.
  1670 # Also quote any args containing shell meta-characters.
  1671 # Make two passes to allow for proper duplicate-argument suppression.
  1672 ac_configure_args=
  1673 ac_configure_args0=
  1674 ac_configure_args1=
  1675 ac_must_keep_next=false
  1676 for ac_pass in 1 2
  1677 do
  1678   for ac_arg
  1679   do
  1680     case $ac_arg in
  1681     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1682     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1683     | -silent | --silent | --silen | --sile | --sil)
  1684       continue ;;
  1685     *\'*)
  1686       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1687     esac
  1688     case $ac_pass in
  1689     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1690     2)
  1691       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1692       if test $ac_must_keep_next = true; then
  1693 	ac_must_keep_next=false # Got value, back to normal.
  1694       else
  1695 	case $ac_arg in
  1696 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1697 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1698 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1699 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1700 	    case "$ac_configure_args0 " in
  1701 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1702 	    esac
  1703 	    ;;
  1704 	  -* ) ac_must_keep_next=true ;;
  1705 	esac
  1706       fi
  1707       ac_configure_args="$ac_configure_args '$ac_arg'"
  1708       ;;
  1709     esac
  1710   done
  1711 done
  1712 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1713 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1715 # When interrupted or exit'd, cleanup temporary files, and complete
  1716 # config.log.  We remove comments because anyway the quotes in there
  1717 # would cause problems or look ugly.
  1718 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1719 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1720 trap 'exit_status=$?
  1721   # Save into config.log some information that might help in debugging.
  1723     echo
  1725     cat <<\_ASBOX
  1726 ## ---------------- ##
  1727 ## Cache variables. ##
  1728 ## ---------------- ##
  1729 _ASBOX
  1730     echo
  1731     # The following way of writing the cache mishandles newlines in values,
  1733   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1734     eval ac_val=\$$ac_var
  1735     case $ac_val in #(
  1736     *${as_nl}*)
  1737       case $ac_var in #(
  1738       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1739 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1740       esac
  1741       case $ac_var in #(
  1742       _ | IFS | as_nl) ;; #(
  1743       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1744       *) $as_unset $ac_var ;;
  1745       esac ;;
  1746     esac
  1747   done
  1748   (set) 2>&1 |
  1749     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1750     *${as_nl}ac_space=\ *)
  1751       sed -n \
  1752 	"s/'\''/'\''\\\\'\'''\''/g;
  1753 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1754       ;; #(
  1755     *)
  1756       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1757       ;;
  1758     esac |
  1759     sort
  1761     echo
  1763     cat <<\_ASBOX
  1764 ## ----------------- ##
  1765 ## Output variables. ##
  1766 ## ----------------- ##
  1767 _ASBOX
  1768     echo
  1769     for ac_var in $ac_subst_vars
  1770     do
  1771       eval ac_val=\$$ac_var
  1772       case $ac_val in
  1773       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1774       esac
  1775       $as_echo "$ac_var='\''$ac_val'\''"
  1776     done | sort
  1777     echo
  1779     if test -n "$ac_subst_files"; then
  1780       cat <<\_ASBOX
  1781 ## ------------------- ##
  1782 ## File substitutions. ##
  1783 ## ------------------- ##
  1784 _ASBOX
  1785       echo
  1786       for ac_var in $ac_subst_files
  1787       do
  1788 	eval ac_val=\$$ac_var
  1789 	case $ac_val in
  1790 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1791 	esac
  1792 	$as_echo "$ac_var='\''$ac_val'\''"
  1793       done | sort
  1794       echo
  1795     fi
  1797     if test -s confdefs.h; then
  1798       cat <<\_ASBOX
  1799 ## ----------- ##
  1800 ## confdefs.h. ##
  1801 ## ----------- ##
  1802 _ASBOX
  1803       echo
  1804       cat confdefs.h
  1805       echo
  1806     fi
  1807     test "$ac_signal" != 0 &&
  1808       $as_echo "$as_me: caught signal $ac_signal"
  1809     $as_echo "$as_me: exit $exit_status"
  1810   } >&5
  1811   rm -f core *.core core.conftest.* &&
  1812     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1813     exit $exit_status
  1814 ' 0
  1815 for ac_signal in 1 2 13 15; do
  1816   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1817 done
  1818 ac_signal=0
  1820 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1821 rm -f -r conftest* confdefs.h
  1823 # Predefined preprocessor variables.
  1825 cat >>confdefs.h <<_ACEOF
  1826 #define PACKAGE_NAME "$PACKAGE_NAME"
  1827 _ACEOF
  1830 cat >>confdefs.h <<_ACEOF
  1831 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1832 _ACEOF
  1835 cat >>confdefs.h <<_ACEOF
  1836 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1837 _ACEOF
  1840 cat >>confdefs.h <<_ACEOF
  1841 #define PACKAGE_STRING "$PACKAGE_STRING"
  1842 _ACEOF
  1845 cat >>confdefs.h <<_ACEOF
  1846 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1847 _ACEOF
  1850 # Let the site file select an alternate cache file if it wants to.
  1851 # Prefer an explicitly selected file to automatically selected ones.
  1852 ac_site_file1=NONE
  1853 ac_site_file2=NONE
  1854 if test -n "$CONFIG_SITE"; then
  1855   ac_site_file1=$CONFIG_SITE
  1856 elif test "x$prefix" != xNONE; then
  1857   ac_site_file1=$prefix/share/config.site
  1858   ac_site_file2=$prefix/etc/config.site
  1859 else
  1860   ac_site_file1=$ac_default_prefix/share/config.site
  1861   ac_site_file2=$ac_default_prefix/etc/config.site
  1862 fi
  1863 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1864 do
  1865   test "x$ac_site_file" = xNONE && continue
  1866   if test -r "$ac_site_file"; then
  1867     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1868 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1869     sed 's/^/| /' "$ac_site_file" >&5
  1870     . "$ac_site_file"
  1871   fi
  1872 done
  1874 if test -r "$cache_file"; then
  1875   # Some versions of bash will fail to source /dev/null (special
  1876   # files actually), so we avoid doing that.
  1877   if test -f "$cache_file"; then
  1878     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1879 $as_echo "$as_me: loading cache $cache_file" >&6;}
  1880     case $cache_file in
  1881       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1882       *)                      . "./$cache_file";;
  1883     esac
  1884   fi
  1885 else
  1886   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1887 $as_echo "$as_me: creating cache $cache_file" >&6;}
  1888   >$cache_file
  1889 fi
  1891 # Check that the precious variables saved in the cache have kept the same
  1892 # value.
  1893 ac_cache_corrupted=false
  1894 for ac_var in $ac_precious_vars; do
  1895   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1896   eval ac_new_set=\$ac_env_${ac_var}_set
  1897   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1898   eval ac_new_val=\$ac_env_${ac_var}_value
  1899   case $ac_old_set,$ac_new_set in
  1900     set,)
  1901       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1902 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1903       ac_cache_corrupted=: ;;
  1904     ,set)
  1905       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1906 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1907       ac_cache_corrupted=: ;;
  1908     ,);;
  1909     *)
  1910       if test "x$ac_old_val" != "x$ac_new_val"; then
  1911 	# differences in whitespace do not lead to failure.
  1912 	ac_old_val_w=`echo x $ac_old_val`
  1913 	ac_new_val_w=`echo x $ac_new_val`
  1914 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1915 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1916 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1917 	  ac_cache_corrupted=:
  1918 	else
  1919 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1920 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1921 	  eval $ac_var=\$ac_old_val
  1922 	fi
  1923 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
  1924 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  1925 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
  1926 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  1927       fi;;
  1928   esac
  1929   # Pass precious variables to config.status.
  1930   if test "$ac_new_set" = set; then
  1931     case $ac_new_val in
  1932     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1933     *) ac_arg=$ac_var=$ac_new_val ;;
  1934     esac
  1935     case " $ac_configure_args " in
  1936       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1937       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1938     esac
  1939   fi
  1940 done
  1941 if $ac_cache_corrupted; then
  1942   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1943 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1944   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1945 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1946    { (exit 1); exit 1; }; }
  1947 fi
  1965 ac_ext=c
  1966 ac_cpp='$CPP $CPPFLAGS'
  1967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1972 am__api_version="1.9"
  1973 ac_aux_dir=
  1974 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1975   if test -f "$ac_dir/install-sh"; then
  1976     ac_aux_dir=$ac_dir
  1977     ac_install_sh="$ac_aux_dir/install-sh -c"
  1978     break
  1979   elif test -f "$ac_dir/install.sh"; then
  1980     ac_aux_dir=$ac_dir
  1981     ac_install_sh="$ac_aux_dir/install.sh -c"
  1982     break
  1983   elif test -f "$ac_dir/shtool"; then
  1984     ac_aux_dir=$ac_dir
  1985     ac_install_sh="$ac_aux_dir/shtool install -c"
  1986     break
  1987   fi
  1988 done
  1989 if test -z "$ac_aux_dir"; then
  1990   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1991 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1992    { (exit 1); exit 1; }; }
  1993 fi
  1995 # These three variables are undocumented and unsupported,
  1996 # and are intended to be withdrawn in a future Autoconf release.
  1997 # They can cause serious problems if a builder's source tree is in a directory
  1998 # whose full name contains unusual characters.
  1999 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2000 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2001 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2004 # Find a good install program.  We prefer a C program (faster),
  2005 # so one script is as good as another.  But avoid the broken or
  2006 # incompatible versions:
  2007 # SysV /etc/install, /usr/sbin/install
  2008 # SunOS /usr/etc/install
  2009 # IRIX /sbin/install
  2010 # AIX /bin/install
  2011 # AmigaOS /C/install, which installs bootblocks on floppy discs
  2012 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2013 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2014 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2015 # OS/2's system install, which has a completely different semantic
  2016 # ./install, which can be erroneously created by make from ./install.sh.
  2017 # Reject install programs that cannot install multiple files.
  2018 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  2019 $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2020 if test -z "$INSTALL"; then
  2021 if test "${ac_cv_path_install+set}" = set; then
  2022   $as_echo_n "(cached) " >&6
  2023 else
  2024   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2025 for as_dir in $PATH
  2026 do
  2027   IFS=$as_save_IFS
  2028   test -z "$as_dir" && as_dir=.
  2029   # Account for people who put trailing slashes in PATH elements.
  2030 case $as_dir/ in
  2031   ./ | .// | /cC/* | \
  2032   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2033   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  2034   /usr/ucb/* ) ;;
  2035   *)
  2036     # OSF1 and SCO ODT 3.0 have their own names for install.
  2037     # Don't use installbsd from OSF since it installs stuff as root
  2038     # by default.
  2039     for ac_prog in ginstall scoinst install; do
  2040       for ac_exec_ext in '' $ac_executable_extensions; do
  2041 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2042 	  if test $ac_prog = install &&
  2043 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2044 	    # AIX install.  It has an incompatible calling convention.
  2046 	  elif test $ac_prog = install &&
  2047 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2048 	    # program-specific install script used by HP pwplus--don't use.
  2050 	  else
  2051 	    rm -rf conftest.one conftest.two conftest.dir
  2052 	    echo one > conftest.one
  2053 	    echo two > conftest.two
  2054 	    mkdir conftest.dir
  2055 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2056 	      test -s conftest.one && test -s conftest.two &&
  2057 	      test -s conftest.dir/conftest.one &&
  2058 	      test -s conftest.dir/conftest.two
  2059 	    then
  2060 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2061 	      break 3
  2062 	    fi
  2063 	  fi
  2064 	fi
  2065       done
  2066     done
  2067     ;;
  2068 esac
  2070 done
  2071 IFS=$as_save_IFS
  2073 rm -rf conftest.one conftest.two conftest.dir
  2075 fi
  2076   if test "${ac_cv_path_install+set}" = set; then
  2077     INSTALL=$ac_cv_path_install
  2078   else
  2079     # As a last resort, use the slow shell script.  Don't cache a
  2080     # value for INSTALL within a source directory, because that will
  2081     # break other packages using the cache if that directory is
  2082     # removed, or if the value is a relative name.
  2083     INSTALL=$ac_install_sh
  2084   fi
  2085 fi
  2086 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  2087 $as_echo "$INSTALL" >&6; }
  2089 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2090 # It thinks the first close brace ends the variable substitution.
  2091 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2093 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2095 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2097 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2098 $as_echo_n "checking whether build environment is sane... " >&6; }
  2099 # Just in case
  2100 sleep 1
  2101 echo timestamp > conftest.file
  2102 # Do `set' in a subshell so we don't clobber the current shell's
  2103 # arguments.  Must try -L first in case configure is actually a
  2104 # symlink; some systems play weird games with the mod time of symlinks
  2105 # (eg FreeBSD returns the mod time of the symlink's containing
  2106 # directory).
  2107 if (
  2108    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  2109    if test "$*" = "X"; then
  2110       # -L didn't work.
  2111       set X `ls -t $srcdir/configure conftest.file`
  2112    fi
  2113    rm -f conftest.file
  2114    if test "$*" != "X $srcdir/configure conftest.file" \
  2115       && test "$*" != "X conftest.file $srcdir/configure"; then
  2117       # If neither matched, then we have a broken ls.  This can happen
  2118       # if, for instance, CONFIG_SHELL is bash and it inherits a
  2119       # broken ls alias from the environment.  This has actually
  2120       # happened.  Such a system could not be considered "sane".
  2121       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  2122 alias in your environment" >&5
  2123 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  2124 alias in your environment" >&2;}
  2125    { (exit 1); exit 1; }; }
  2126    fi
  2128    test "$2" = conftest.file
  2130 then
  2131    # Ok.
  2133 else
  2134    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2135 Check your system clock" >&5
  2136 $as_echo "$as_me: error: newly created file is older than distributed files!
  2137 Check your system clock" >&2;}
  2138    { (exit 1); exit 1; }; }
  2139 fi
  2140 { $as_echo "$as_me:$LINENO: result: yes" >&5
  2141 $as_echo "yes" >&6; }
  2142 test "$program_prefix" != NONE &&
  2143   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2144 # Use a double $ so make ignores it.
  2145 test "$program_suffix" != NONE &&
  2146   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2147 # Double any \ or $.
  2148 # By default was `s,x,x', remove it if useless.
  2149 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2150 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2152 # expand $ac_aux_dir to an absolute path
  2153 am_aux_dir=`cd $ac_aux_dir && pwd`
  2155 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2156 # Use eval to expand $SHELL
  2157 if eval "$MISSING --run true"; then
  2158   am_missing_run="$MISSING --run "
  2159 else
  2160   am_missing_run=
  2161   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2162 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2163 fi
  2165 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  2166   # We used to keeping the `.' as first argument, in order to
  2167   # allow $(mkdir_p) to be used without argument.  As in
  2168   #   $(mkdir_p) $(somedir)
  2169   # where $(somedir) is conditionally defined.  However this is wrong
  2170   # for two reasons:
  2171   #  1. if the package is installed by a user who cannot write `.'
  2172   #     make install will fail,
  2173   #  2. the above comment should most certainly read
  2174   #     $(mkdir_p) $(DESTDIR)$(somedir)
  2175   #     so it does not work when $(somedir) is undefined and
  2176   #     $(DESTDIR) is not.
  2177   #  To support the latter case, we have to write
  2178   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  2179   #  so the `.' trick is pointless.
  2180   mkdir_p='mkdir -p --'
  2181 else
  2182   # On NextStep and OpenStep, the `mkdir' command does not
  2183   # recognize any option.  It will interpret all options as
  2184   # directories to create, and then abort because `.' already
  2185   # exists.
  2186   for d in ./-p ./--version;
  2187   do
  2188     test -d $d && rmdir $d
  2189   done
  2190   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  2191   if test -f "$ac_aux_dir/mkinstalldirs"; then
  2192     mkdir_p='$(mkinstalldirs)'
  2193   else
  2194     mkdir_p='$(install_sh) -d'
  2195   fi
  2196 fi
  2198 for ac_prog in gawk mawk nawk awk
  2199 do
  2200   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2201 set dummy $ac_prog; ac_word=$2
  2202 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2203 $as_echo_n "checking for $ac_word... " >&6; }
  2204 if test "${ac_cv_prog_AWK+set}" = set; then
  2205   $as_echo_n "(cached) " >&6
  2206 else
  2207   if test -n "$AWK"; then
  2208   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2209 else
  2210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2211 for as_dir in $PATH
  2212 do
  2213   IFS=$as_save_IFS
  2214   test -z "$as_dir" && as_dir=.
  2215   for ac_exec_ext in '' $ac_executable_extensions; do
  2216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2217     ac_cv_prog_AWK="$ac_prog"
  2218     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2219     break 2
  2220   fi
  2221 done
  2222 done
  2223 IFS=$as_save_IFS
  2225 fi
  2226 fi
  2227 AWK=$ac_cv_prog_AWK
  2228 if test -n "$AWK"; then
  2229   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  2230 $as_echo "$AWK" >&6; }
  2231 else
  2232   { $as_echo "$as_me:$LINENO: result: no" >&5
  2233 $as_echo "no" >&6; }
  2234 fi
  2237   test -n "$AWK" && break
  2238 done
  2240 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2241 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2242 set x ${MAKE-make}
  2243 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2244 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2245   $as_echo_n "(cached) " >&6
  2246 else
  2247   cat >conftest.make <<\_ACEOF
  2248 SHELL = /bin/sh
  2249 all:
  2250 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2251 _ACEOF
  2252 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2253 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2254   *@@@%%%=?*=@@@%%%*)
  2255     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2256   *)
  2257     eval ac_cv_prog_make_${ac_make}_set=no;;
  2258 esac
  2259 rm -f conftest.make
  2260 fi
  2261 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2262   { $as_echo "$as_me:$LINENO: result: yes" >&5
  2263 $as_echo "yes" >&6; }
  2264   SET_MAKE=
  2265 else
  2266   { $as_echo "$as_me:$LINENO: result: no" >&5
  2267 $as_echo "no" >&6; }
  2268   SET_MAKE="MAKE=${MAKE-make}"
  2269 fi
  2271 rm -rf .tst 2>/dev/null
  2272 mkdir .tst 2>/dev/null
  2273 if test -d .tst; then
  2274   am__leading_dot=.
  2275 else
  2276   am__leading_dot=_
  2277 fi
  2278 rmdir .tst 2>/dev/null
  2280 # test to see if srcdir already configured
  2281 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2282    test -f $srcdir/config.status; then
  2283   { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2284 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2285    { (exit 1); exit 1; }; }
  2286 fi
  2288 # test whether we have cygpath
  2289 if test -z "$CYGPATH_W"; then
  2290   if (cygpath --version) >/dev/null 2>/dev/null; then
  2291     CYGPATH_W='cygpath -w'
  2292   else
  2293     CYGPATH_W=echo
  2294   fi
  2295 fi
  2298 # Define the identity of the package.
  2299  PACKAGE=lxdream
  2300  VERSION=0.9
  2303 cat >>confdefs.h <<_ACEOF
  2304 #define PACKAGE "$PACKAGE"
  2305 _ACEOF
  2308 cat >>confdefs.h <<_ACEOF
  2309 #define VERSION "$VERSION"
  2310 _ACEOF
  2312 # Some tools Automake needs.
  2314 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2317 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2320 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2323 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2326 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2328 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2330 # Installed binaries are usually stripped using `strip' when the user
  2331 # run `make install-strip'.  However `strip' might not be the right
  2332 # tool to use in cross-compilation environments, therefore Automake
  2333 # will honor the `STRIP' environment variable to overrule this program.
  2334 if test "$cross_compiling" != no; then
  2335   if test -n "$ac_tool_prefix"; then
  2336   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2337 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2338 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2339 $as_echo_n "checking for $ac_word... " >&6; }
  2340 if test "${ac_cv_prog_STRIP+set}" = set; then
  2341   $as_echo_n "(cached) " >&6
  2342 else
  2343   if test -n "$STRIP"; then
  2344   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2345 else
  2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2347 for as_dir in $PATH
  2348 do
  2349   IFS=$as_save_IFS
  2350   test -z "$as_dir" && as_dir=.
  2351   for ac_exec_ext in '' $ac_executable_extensions; do
  2352   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2353     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2354     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2355     break 2
  2356   fi
  2357 done
  2358 done
  2359 IFS=$as_save_IFS
  2361 fi
  2362 fi
  2363 STRIP=$ac_cv_prog_STRIP
  2364 if test -n "$STRIP"; then
  2365   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  2366 $as_echo "$STRIP" >&6; }
  2367 else
  2368   { $as_echo "$as_me:$LINENO: result: no" >&5
  2369 $as_echo "no" >&6; }
  2370 fi
  2373 fi
  2374 if test -z "$ac_cv_prog_STRIP"; then
  2375   ac_ct_STRIP=$STRIP
  2376   # Extract the first word of "strip", so it can be a program name with args.
  2377 set dummy strip; ac_word=$2
  2378 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2379 $as_echo_n "checking for $ac_word... " >&6; }
  2380 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2381   $as_echo_n "(cached) " >&6
  2382 else
  2383   if test -n "$ac_ct_STRIP"; then
  2384   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2385 else
  2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2387 for as_dir in $PATH
  2388 do
  2389   IFS=$as_save_IFS
  2390   test -z "$as_dir" && as_dir=.
  2391   for ac_exec_ext in '' $ac_executable_extensions; do
  2392   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2393     ac_cv_prog_ac_ct_STRIP="strip"
  2394     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2395     break 2
  2396   fi
  2397 done
  2398 done
  2399 IFS=$as_save_IFS
  2401 fi
  2402 fi
  2403 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2404 if test -n "$ac_ct_STRIP"; then
  2405   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2406 $as_echo "$ac_ct_STRIP" >&6; }
  2407 else
  2408   { $as_echo "$as_me:$LINENO: result: no" >&5
  2409 $as_echo "no" >&6; }
  2410 fi
  2412   if test "x$ac_ct_STRIP" = x; then
  2413     STRIP=":"
  2414   else
  2415     case $cross_compiling:$ac_tool_warned in
  2416 yes:)
  2417 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2418 whose name does not start with the host triplet.  If you think this
  2419 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2420 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2421 whose name does not start with the host triplet.  If you think this
  2422 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2423 ac_tool_warned=yes ;;
  2424 esac
  2425     STRIP=$ac_ct_STRIP
  2426   fi
  2427 else
  2428   STRIP="$ac_cv_prog_STRIP"
  2429 fi
  2431 fi
  2432 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2434 # We need awk for the "check" target.  The system "awk" is bad on
  2435 # some platforms.
  2436 # Always define AMTAR for backward compatibility.
  2438 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2440 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2446 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2447 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2448     # Check whether --enable-maintainer-mode was given.
  2449 if test "${enable_maintainer_mode+set}" = set; then
  2450   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2451 else
  2452   USE_MAINTAINER_MODE=no
  2453 fi
  2455   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2456 $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2459 if test $USE_MAINTAINER_MODE = yes; then
  2460   MAINTAINER_MODE_TRUE=
  2461   MAINTAINER_MODE_FALSE='#'
  2462 else
  2463   MAINTAINER_MODE_TRUE='#'
  2464   MAINTAINER_MODE_FALSE=
  2465 fi
  2467   MAINT=$MAINTAINER_MODE_TRUE
  2470 ac_config_headers="$ac_config_headers config.h"
  2473 DEPDIR="${am__leading_dot}deps"
  2475 ac_config_commands="$ac_config_commands depfiles"
  2478 am_make=${MAKE-make}
  2479 cat > confinc << 'END'
  2480 am__doit:
  2481 	@echo done
  2482 .PHONY: am__doit
  2483 END
  2484 # If we don't find an include directive, just comment out the code.
  2485 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2486 $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2487 am__include="#"
  2488 am__quote=
  2489 _am_result=none
  2490 # First try GNU make style include.
  2491 echo "include confinc" > confmf
  2492 # We grep out `Entering directory' and `Leaving directory'
  2493 # messages which can occur if `w' ends up in MAKEFLAGS.
  2494 # In particular we don't look at `^make:' because GNU make might
  2495 # be invoked under some other name (usually "gmake"), in which
  2496 # case it prints its new name instead of `make'.
  2497 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2498    am__include=include
  2499    am__quote=
  2500    _am_result=GNU
  2501 fi
  2502 # Now try BSD make style include.
  2503 if test "$am__include" = "#"; then
  2504    echo '.include "confinc"' > confmf
  2505    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2506       am__include=.include
  2507       am__quote="\""
  2508       _am_result=BSD
  2509    fi
  2510 fi
  2513 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  2514 $as_echo "$_am_result" >&6; }
  2515 rm -f confinc confmf
  2517 # Check whether --enable-dependency-tracking was given.
  2518 if test "${enable_dependency_tracking+set}" = set; then
  2519   enableval=$enable_dependency_tracking;
  2520 fi
  2522 if test "x$enable_dependency_tracking" != xno; then
  2523   am_depcomp="$ac_aux_dir/depcomp"
  2524   AMDEPBACKSLASH='\'
  2525 fi
  2528 if test "x$enable_dependency_tracking" != xno; then
  2529   AMDEP_TRUE=
  2530   AMDEP_FALSE='#'
  2531 else
  2532   AMDEP_TRUE='#'
  2533   AMDEP_FALSE=
  2534 fi
  2538 ac_ext=c
  2539 ac_cpp='$CPP $CPPFLAGS'
  2540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2543 if test -n "$ac_tool_prefix"; then
  2544   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2545 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2546 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2547 $as_echo_n "checking for $ac_word... " >&6; }
  2548 if test "${ac_cv_prog_CC+set}" = set; then
  2549   $as_echo_n "(cached) " >&6
  2550 else
  2551   if test -n "$CC"; then
  2552   ac_cv_prog_CC="$CC" # Let the user override the test.
  2553 else
  2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2555 for as_dir in $PATH
  2556 do
  2557   IFS=$as_save_IFS
  2558   test -z "$as_dir" && as_dir=.
  2559   for ac_exec_ext in '' $ac_executable_extensions; do
  2560   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2561     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2562     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2563     break 2
  2564   fi
  2565 done
  2566 done
  2567 IFS=$as_save_IFS
  2569 fi
  2570 fi
  2571 CC=$ac_cv_prog_CC
  2572 if test -n "$CC"; then
  2573   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2574 $as_echo "$CC" >&6; }
  2575 else
  2576   { $as_echo "$as_me:$LINENO: result: no" >&5
  2577 $as_echo "no" >&6; }
  2578 fi
  2581 fi
  2582 if test -z "$ac_cv_prog_CC"; then
  2583   ac_ct_CC=$CC
  2584   # Extract the first word of "gcc", so it can be a program name with args.
  2585 set dummy gcc; ac_word=$2
  2586 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2587 $as_echo_n "checking for $ac_word... " >&6; }
  2588 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2589   $as_echo_n "(cached) " >&6
  2590 else
  2591   if test -n "$ac_ct_CC"; then
  2592   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2593 else
  2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2595 for as_dir in $PATH
  2596 do
  2597   IFS=$as_save_IFS
  2598   test -z "$as_dir" && as_dir=.
  2599   for ac_exec_ext in '' $ac_executable_extensions; do
  2600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2601     ac_cv_prog_ac_ct_CC="gcc"
  2602     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2603     break 2
  2604   fi
  2605 done
  2606 done
  2607 IFS=$as_save_IFS
  2609 fi
  2610 fi
  2611 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2612 if test -n "$ac_ct_CC"; then
  2613   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2614 $as_echo "$ac_ct_CC" >&6; }
  2615 else
  2616   { $as_echo "$as_me:$LINENO: result: no" >&5
  2617 $as_echo "no" >&6; }
  2618 fi
  2620   if test "x$ac_ct_CC" = x; then
  2621     CC=""
  2622   else
  2623     case $cross_compiling:$ac_tool_warned in
  2624 yes:)
  2625 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2626 whose name does not start with the host triplet.  If you think this
  2627 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2628 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2629 whose name does not start with the host triplet.  If you think this
  2630 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2631 ac_tool_warned=yes ;;
  2632 esac
  2633     CC=$ac_ct_CC
  2634   fi
  2635 else
  2636   CC="$ac_cv_prog_CC"
  2637 fi
  2639 if test -z "$CC"; then
  2640           if test -n "$ac_tool_prefix"; then
  2641     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2642 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2643 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2644 $as_echo_n "checking for $ac_word... " >&6; }
  2645 if test "${ac_cv_prog_CC+set}" = set; then
  2646   $as_echo_n "(cached) " >&6
  2647 else
  2648   if test -n "$CC"; then
  2649   ac_cv_prog_CC="$CC" # Let the user override the test.
  2650 else
  2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2652 for as_dir in $PATH
  2653 do
  2654   IFS=$as_save_IFS
  2655   test -z "$as_dir" && as_dir=.
  2656   for ac_exec_ext in '' $ac_executable_extensions; do
  2657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2658     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2659     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2660     break 2
  2661   fi
  2662 done
  2663 done
  2664 IFS=$as_save_IFS
  2666 fi
  2667 fi
  2668 CC=$ac_cv_prog_CC
  2669 if test -n "$CC"; then
  2670   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2671 $as_echo "$CC" >&6; }
  2672 else
  2673   { $as_echo "$as_me:$LINENO: result: no" >&5
  2674 $as_echo "no" >&6; }
  2675 fi
  2678   fi
  2679 fi
  2680 if test -z "$CC"; then
  2681   # Extract the first word of "cc", so it can be a program name with args.
  2682 set dummy cc; ac_word=$2
  2683 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2684 $as_echo_n "checking for $ac_word... " >&6; }
  2685 if test "${ac_cv_prog_CC+set}" = set; then
  2686   $as_echo_n "(cached) " >&6
  2687 else
  2688   if test -n "$CC"; then
  2689   ac_cv_prog_CC="$CC" # Let the user override the test.
  2690 else
  2691   ac_prog_rejected=no
  2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2693 for as_dir in $PATH
  2694 do
  2695   IFS=$as_save_IFS
  2696   test -z "$as_dir" && as_dir=.
  2697   for ac_exec_ext in '' $ac_executable_extensions; do
  2698   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2699     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2700        ac_prog_rejected=yes
  2701        continue
  2702      fi
  2703     ac_cv_prog_CC="cc"
  2704     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2705     break 2
  2706   fi
  2707 done
  2708 done
  2709 IFS=$as_save_IFS
  2711 if test $ac_prog_rejected = yes; then
  2712   # We found a bogon in the path, so make sure we never use it.
  2713   set dummy $ac_cv_prog_CC
  2714   shift
  2715   if test $# != 0; then
  2716     # We chose a different compiler from the bogus one.
  2717     # However, it has the same basename, so the bogon will be chosen
  2718     # first if we set CC to just the basename; use the full file name.
  2719     shift
  2720     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2721   fi
  2722 fi
  2723 fi
  2724 fi
  2725 CC=$ac_cv_prog_CC
  2726 if test -n "$CC"; then
  2727   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2728 $as_echo "$CC" >&6; }
  2729 else
  2730   { $as_echo "$as_me:$LINENO: result: no" >&5
  2731 $as_echo "no" >&6; }
  2732 fi
  2735 fi
  2736 if test -z "$CC"; then
  2737   if test -n "$ac_tool_prefix"; then
  2738   for ac_prog in cl.exe
  2739   do
  2740     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2741 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2742 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2743 $as_echo_n "checking for $ac_word... " >&6; }
  2744 if test "${ac_cv_prog_CC+set}" = set; then
  2745   $as_echo_n "(cached) " >&6
  2746 else
  2747   if test -n "$CC"; then
  2748   ac_cv_prog_CC="$CC" # Let the user override the test.
  2749 else
  2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2751 for as_dir in $PATH
  2752 do
  2753   IFS=$as_save_IFS
  2754   test -z "$as_dir" && as_dir=.
  2755   for ac_exec_ext in '' $ac_executable_extensions; do
  2756   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2757     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2758     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2759     break 2
  2760   fi
  2761 done
  2762 done
  2763 IFS=$as_save_IFS
  2765 fi
  2766 fi
  2767 CC=$ac_cv_prog_CC
  2768 if test -n "$CC"; then
  2769   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2770 $as_echo "$CC" >&6; }
  2771 else
  2772   { $as_echo "$as_me:$LINENO: result: no" >&5
  2773 $as_echo "no" >&6; }
  2774 fi
  2777     test -n "$CC" && break
  2778   done
  2779 fi
  2780 if test -z "$CC"; then
  2781   ac_ct_CC=$CC
  2782   for ac_prog in cl.exe
  2783 do
  2784   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2785 set dummy $ac_prog; ac_word=$2
  2786 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2787 $as_echo_n "checking for $ac_word... " >&6; }
  2788 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2789   $as_echo_n "(cached) " >&6
  2790 else
  2791   if test -n "$ac_ct_CC"; then
  2792   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2793 else
  2794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2795 for as_dir in $PATH
  2796 do
  2797   IFS=$as_save_IFS
  2798   test -z "$as_dir" && as_dir=.
  2799   for ac_exec_ext in '' $ac_executable_extensions; do
  2800   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2801     ac_cv_prog_ac_ct_CC="$ac_prog"
  2802     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2803     break 2
  2804   fi
  2805 done
  2806 done
  2807 IFS=$as_save_IFS
  2809 fi
  2810 fi
  2811 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2812 if test -n "$ac_ct_CC"; then
  2813   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2814 $as_echo "$ac_ct_CC" >&6; }
  2815 else
  2816   { $as_echo "$as_me:$LINENO: result: no" >&5
  2817 $as_echo "no" >&6; }
  2818 fi
  2821   test -n "$ac_ct_CC" && break
  2822 done
  2824   if test "x$ac_ct_CC" = x; then
  2825     CC=""
  2826   else
  2827     case $cross_compiling:$ac_tool_warned in
  2828 yes:)
  2829 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2830 whose name does not start with the host triplet.  If you think this
  2831 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2832 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2833 whose name does not start with the host triplet.  If you think this
  2834 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2835 ac_tool_warned=yes ;;
  2836 esac
  2837     CC=$ac_ct_CC
  2838   fi
  2839 fi
  2841 fi
  2844 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2845 See \`config.log' for more details." >&5
  2846 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  2847 See \`config.log' for more details." >&2;}
  2848    { (exit 1); exit 1; }; }
  2850 # Provide some information about the compiler.
  2851 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  2852 set X $ac_compile
  2853 ac_compiler=$2
  2854 { (ac_try="$ac_compiler --version >&5"
  2855 case "(($ac_try" in
  2856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2857   *) ac_try_echo=$ac_try;;
  2858 esac
  2859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2860 $as_echo "$ac_try_echo") >&5
  2861   (eval "$ac_compiler --version >&5") 2>&5
  2862   ac_status=$?
  2863   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2864   (exit $ac_status); }
  2865 { (ac_try="$ac_compiler -v >&5"
  2866 case "(($ac_try" in
  2867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2868   *) ac_try_echo=$ac_try;;
  2869 esac
  2870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2871 $as_echo "$ac_try_echo") >&5
  2872   (eval "$ac_compiler -v >&5") 2>&5
  2873   ac_status=$?
  2874   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2875   (exit $ac_status); }
  2876 { (ac_try="$ac_compiler -V >&5"
  2877 case "(($ac_try" in
  2878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2879   *) ac_try_echo=$ac_try;;
  2880 esac
  2881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2882 $as_echo "$ac_try_echo") >&5
  2883   (eval "$ac_compiler -V >&5") 2>&5
  2884   ac_status=$?
  2885   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2886   (exit $ac_status); }
  2888 cat >conftest.$ac_ext <<_ACEOF
  2889 /* confdefs.h.  */
  2890 _ACEOF
  2891 cat confdefs.h >>conftest.$ac_ext
  2892 cat >>conftest.$ac_ext <<_ACEOF
  2893 /* end confdefs.h.  */
  2895 int
  2896 main ()
  2900   return 0;
  2902 _ACEOF
  2903 ac_clean_files_save=$ac_clean_files
  2904 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2905 # Try to create an executable without -o first, disregard a.out.
  2906 # It will help us diagnose broken compilers, and finding out an intuition
  2907 # of exeext.
  2908 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2909 $as_echo_n "checking for C compiler default output file name... " >&6; }
  2910 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2912 # The possible output files:
  2913 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2915 ac_rmfiles=
  2916 for ac_file in $ac_files
  2917 do
  2918   case $ac_file in
  2919     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2920     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2921   esac
  2922 done
  2923 rm -f $ac_rmfiles
  2925 if { (ac_try="$ac_link_default"
  2926 case "(($ac_try" in
  2927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2928   *) ac_try_echo=$ac_try;;
  2929 esac
  2930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2931 $as_echo "$ac_try_echo") >&5
  2932   (eval "$ac_link_default") 2>&5
  2933   ac_status=$?
  2934   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2935   (exit $ac_status); }; then
  2936   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2937 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2938 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2939 # so that the user can short-circuit this test for compilers unknown to
  2940 # Autoconf.
  2941 for ac_file in $ac_files ''
  2942 do
  2943   test -f "$ac_file" || continue
  2944   case $ac_file in
  2945     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2946 	;;
  2947     [ab].out )
  2948 	# We found the default executable, but exeext='' is most
  2949 	# certainly right.
  2950 	break;;
  2951     *.* )
  2952         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2953 	then :; else
  2954 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2955 	fi
  2956 	# We set ac_cv_exeext here because the later test for it is not
  2957 	# safe: cross compilers may not add the suffix if given an `-o'
  2958 	# argument, so we may need to know it at that point already.
  2959 	# Even if this section looks crufty: it has the advantage of
  2960 	# actually working.
  2961 	break;;
  2962     * )
  2963 	break;;
  2964   esac
  2965 done
  2966 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2968 else
  2969   ac_file=''
  2970 fi
  2972 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  2973 $as_echo "$ac_file" >&6; }
  2974 if test -z "$ac_file"; then
  2975   $as_echo "$as_me: failed program was:" >&5
  2976 sed 's/^/| /' conftest.$ac_ext >&5
  2978 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  2979 See \`config.log' for more details." >&5
  2980 $as_echo "$as_me: error: C compiler cannot create executables
  2981 See \`config.log' for more details." >&2;}
  2982    { (exit 77); exit 77; }; }
  2983 fi
  2985 ac_exeext=$ac_cv_exeext
  2987 # Check that the compiler produces executables we can run.  If not, either
  2988 # the compiler is broken, or we cross compile.
  2989 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2990 $as_echo_n "checking whether the C compiler works... " >&6; }
  2991 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2992 # If not cross compiling, check that we can run a simple program.
  2993 if test "$cross_compiling" != yes; then
  2994   if { ac_try='./$ac_file'
  2995   { (case "(($ac_try" in
  2996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2997   *) ac_try_echo=$ac_try;;
  2998 esac
  2999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3000 $as_echo "$ac_try_echo") >&5
  3001   (eval "$ac_try") 2>&5
  3002   ac_status=$?
  3003   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3004   (exit $ac_status); }; }; then
  3005     cross_compiling=no
  3006   else
  3007     if test "$cross_compiling" = maybe; then
  3008 	cross_compiling=yes
  3009     else
  3010 	{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  3011 If you meant to cross compile, use \`--host'.
  3012 See \`config.log' for more details." >&5
  3013 $as_echo "$as_me: error: cannot run C compiled programs.
  3014 If you meant to cross compile, use \`--host'.
  3015 See \`config.log' for more details." >&2;}
  3016    { (exit 1); exit 1; }; }
  3017     fi
  3018   fi
  3019 fi
  3020 { $as_echo "$as_me:$LINENO: result: yes" >&5
  3021 $as_echo "yes" >&6; }
  3023 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3024 ac_clean_files=$ac_clean_files_save
  3025 # Check that the compiler produces executables we can run.  If not, either
  3026 # the compiler is broken, or we cross compile.
  3027 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  3028 $as_echo_n "checking whether we are cross compiling... " >&6; }
  3029 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  3030 $as_echo "$cross_compiling" >&6; }
  3032 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  3033 $as_echo_n "checking for suffix of executables... " >&6; }
  3034 if { (ac_try="$ac_link"
  3035 case "(($ac_try" in
  3036   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3037   *) ac_try_echo=$ac_try;;
  3038 esac
  3039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3040 $as_echo "$ac_try_echo") >&5
  3041   (eval "$ac_link") 2>&5
  3042   ac_status=$?
  3043   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3044   (exit $ac_status); }; then
  3045   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3046 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3047 # work properly (i.e., refer to `conftest.exe'), while it won't with
  3048 # `rm'.
  3049 for ac_file in conftest.exe conftest conftest.*; do
  3050   test -f "$ac_file" || continue
  3051   case $ac_file in
  3052     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3053     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3054 	  break;;
  3055     * ) break;;
  3056   esac
  3057 done
  3058 else
  3059   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  3060 See \`config.log' for more details." >&5
  3061 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  3062 See \`config.log' for more details." >&2;}
  3063    { (exit 1); exit 1; }; }
  3064 fi
  3066 rm -f conftest$ac_cv_exeext
  3067 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  3068 $as_echo "$ac_cv_exeext" >&6; }
  3070 rm -f conftest.$ac_ext
  3071 EXEEXT=$ac_cv_exeext
  3072 ac_exeext=$EXEEXT
  3073 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  3074 $as_echo_n "checking for suffix of object files... " >&6; }
  3075 if test "${ac_cv_objext+set}" = set; then
  3076   $as_echo_n "(cached) " >&6
  3077 else
  3078   cat >conftest.$ac_ext <<_ACEOF
  3079 /* confdefs.h.  */
  3080 _ACEOF
  3081 cat confdefs.h >>conftest.$ac_ext
  3082 cat >>conftest.$ac_ext <<_ACEOF
  3083 /* end confdefs.h.  */
  3085 int
  3086 main ()
  3090   return 0;
  3092 _ACEOF
  3093 rm -f conftest.o conftest.obj
  3094 if { (ac_try="$ac_compile"
  3095 case "(($ac_try" in
  3096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3097   *) ac_try_echo=$ac_try;;
  3098 esac
  3099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3100 $as_echo "$ac_try_echo") >&5
  3101   (eval "$ac_compile") 2>&5
  3102   ac_status=$?
  3103   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3104   (exit $ac_status); }; then
  3105   for ac_file in conftest.o conftest.obj conftest.*; do
  3106   test -f "$ac_file" || continue;
  3107   case $ac_file in
  3108     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3109     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3110        break;;
  3111   esac
  3112 done
  3113 else
  3114   $as_echo "$as_me: failed program was:" >&5
  3115 sed 's/^/| /' conftest.$ac_ext >&5
  3117 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  3118 See \`config.log' for more details." >&5
  3119 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  3120 See \`config.log' for more details." >&2;}
  3121    { (exit 1); exit 1; }; }
  3122 fi
  3124 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3125 fi
  3126 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  3127 $as_echo "$ac_cv_objext" >&6; }
  3128 OBJEXT=$ac_cv_objext
  3129 ac_objext=$OBJEXT
  3130 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3131 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3132 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3133   $as_echo_n "(cached) " >&6
  3134 else
  3135   cat >conftest.$ac_ext <<_ACEOF
  3136 /* confdefs.h.  */
  3137 _ACEOF
  3138 cat confdefs.h >>conftest.$ac_ext
  3139 cat >>conftest.$ac_ext <<_ACEOF
  3140 /* end confdefs.h.  */
  3142 int
  3143 main ()
  3145 #ifndef __GNUC__
  3146        choke me
  3147 #endif
  3150   return 0;
  3152 _ACEOF
  3153 rm -f conftest.$ac_objext
  3154 if { (ac_try="$ac_compile"
  3155 case "(($ac_try" in
  3156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3157   *) ac_try_echo=$ac_try;;
  3158 esac
  3159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3160 $as_echo "$ac_try_echo") >&5
  3161   (eval "$ac_compile") 2>conftest.er1
  3162   ac_status=$?
  3163   grep -v '^ *+' conftest.er1 >conftest.err
  3164   rm -f conftest.er1
  3165   cat conftest.err >&5
  3166   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3167   (exit $ac_status); } && {
  3168 	 test -z "$ac_c_werror_flag" ||
  3169 	 test ! -s conftest.err
  3170        } && test -s conftest.$ac_objext; then
  3171   ac_compiler_gnu=yes
  3172 else
  3173   $as_echo "$as_me: failed program was:" >&5
  3174 sed 's/^/| /' conftest.$ac_ext >&5
  3176 	ac_compiler_gnu=no
  3177 fi
  3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3180 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3182 fi
  3183 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3184 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3185 if test $ac_compiler_gnu = yes; then
  3186   GCC=yes
  3187 else
  3188   GCC=
  3189 fi
  3190 ac_test_CFLAGS=${CFLAGS+set}
  3191 ac_save_CFLAGS=$CFLAGS
  3192 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3193 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3194 if test "${ac_cv_prog_cc_g+set}" = set; then
  3195   $as_echo_n "(cached) " >&6
  3196 else
  3197   ac_save_c_werror_flag=$ac_c_werror_flag
  3198    ac_c_werror_flag=yes
  3199    ac_cv_prog_cc_g=no
  3200    CFLAGS="-g"
  3201    cat >conftest.$ac_ext <<_ACEOF
  3202 /* confdefs.h.  */
  3203 _ACEOF
  3204 cat confdefs.h >>conftest.$ac_ext
  3205 cat >>conftest.$ac_ext <<_ACEOF
  3206 /* end confdefs.h.  */
  3208 int
  3209 main ()
  3213   return 0;
  3215 _ACEOF
  3216 rm -f conftest.$ac_objext
  3217 if { (ac_try="$ac_compile"
  3218 case "(($ac_try" in
  3219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3220   *) ac_try_echo=$ac_try;;
  3221 esac
  3222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3223 $as_echo "$ac_try_echo") >&5
  3224   (eval "$ac_compile") 2>conftest.er1
  3225   ac_status=$?
  3226   grep -v '^ *+' conftest.er1 >conftest.err
  3227   rm -f conftest.er1
  3228   cat conftest.err >&5
  3229   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3230   (exit $ac_status); } && {
  3231 	 test -z "$ac_c_werror_flag" ||
  3232 	 test ! -s conftest.err
  3233        } && test -s conftest.$ac_objext; then
  3234   ac_cv_prog_cc_g=yes
  3235 else
  3236   $as_echo "$as_me: failed program was:" >&5
  3237 sed 's/^/| /' conftest.$ac_ext >&5
  3239 	CFLAGS=""
  3240       cat >conftest.$ac_ext <<_ACEOF
  3241 /* confdefs.h.  */
  3242 _ACEOF
  3243 cat confdefs.h >>conftest.$ac_ext
  3244 cat >>conftest.$ac_ext <<_ACEOF
  3245 /* end confdefs.h.  */
  3247 int
  3248 main ()
  3252   return 0;
  3254 _ACEOF
  3255 rm -f conftest.$ac_objext
  3256 if { (ac_try="$ac_compile"
  3257 case "(($ac_try" in
  3258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3259   *) ac_try_echo=$ac_try;;
  3260 esac
  3261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3262 $as_echo "$ac_try_echo") >&5
  3263   (eval "$ac_compile") 2>conftest.er1
  3264   ac_status=$?
  3265   grep -v '^ *+' conftest.er1 >conftest.err
  3266   rm -f conftest.er1
  3267   cat conftest.err >&5
  3268   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3269   (exit $ac_status); } && {
  3270 	 test -z "$ac_c_werror_flag" ||
  3271 	 test ! -s conftest.err
  3272        } && test -s conftest.$ac_objext; then
  3274 else
  3275   $as_echo "$as_me: failed program was:" >&5
  3276 sed 's/^/| /' conftest.$ac_ext >&5
  3278 	ac_c_werror_flag=$ac_save_c_werror_flag
  3279 	 CFLAGS="-g"
  3280 	 cat >conftest.$ac_ext <<_ACEOF
  3281 /* confdefs.h.  */
  3282 _ACEOF
  3283 cat confdefs.h >>conftest.$ac_ext
  3284 cat >>conftest.$ac_ext <<_ACEOF
  3285 /* end confdefs.h.  */
  3287 int
  3288 main ()
  3292   return 0;
  3294 _ACEOF
  3295 rm -f conftest.$ac_objext
  3296 if { (ac_try="$ac_compile"
  3297 case "(($ac_try" in
  3298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3299   *) ac_try_echo=$ac_try;;
  3300 esac
  3301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3302 $as_echo "$ac_try_echo") >&5
  3303   (eval "$ac_compile") 2>conftest.er1
  3304   ac_status=$?
  3305   grep -v '^ *+' conftest.er1 >conftest.err
  3306   rm -f conftest.er1
  3307   cat conftest.err >&5
  3308   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3309   (exit $ac_status); } && {
  3310 	 test -z "$ac_c_werror_flag" ||
  3311 	 test ! -s conftest.err
  3312        } && test -s conftest.$ac_objext; then
  3313   ac_cv_prog_cc_g=yes
  3314 else
  3315   $as_echo "$as_me: failed program was:" >&5
  3316 sed 's/^/| /' conftest.$ac_ext >&5
  3319 fi
  3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3322 fi
  3324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3325 fi
  3327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3328    ac_c_werror_flag=$ac_save_c_werror_flag
  3329 fi
  3330 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3331 $as_echo "$ac_cv_prog_cc_g" >&6; }
  3332 if test "$ac_test_CFLAGS" = set; then
  3333   CFLAGS=$ac_save_CFLAGS
  3334 elif test $ac_cv_prog_cc_g = yes; then
  3335   if test "$GCC" = yes; then
  3336     CFLAGS="-g -O2"
  3337   else
  3338     CFLAGS="-g"
  3339   fi
  3340 else
  3341   if test "$GCC" = yes; then
  3342     CFLAGS="-O2"
  3343   else
  3344     CFLAGS=
  3345   fi
  3346 fi
  3347 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3348 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3349 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3350   $as_echo_n "(cached) " >&6
  3351 else
  3352   ac_cv_prog_cc_c89=no
  3353 ac_save_CC=$CC
  3354 cat >conftest.$ac_ext <<_ACEOF
  3355 /* confdefs.h.  */
  3356 _ACEOF
  3357 cat confdefs.h >>conftest.$ac_ext
  3358 cat >>conftest.$ac_ext <<_ACEOF
  3359 /* end confdefs.h.  */
  3360 #include <stdarg.h>
  3361 #include <stdio.h>
  3362 #include <sys/types.h>
  3363 #include <sys/stat.h>
  3364 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3365 struct buf { int x; };
  3366 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3367 static char *e (p, i)
  3368      char **p;
  3369      int i;
  3371   return p[i];
  3373 static char *f (char * (*g) (char **, int), char **p, ...)
  3375   char *s;
  3376   va_list v;
  3377   va_start (v,p);
  3378   s = g (p, va_arg (v,int));
  3379   va_end (v);
  3380   return s;
  3383 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3384    function prototypes and stuff, but not '\xHH' hex character constants.
  3385    These don't provoke an error unfortunately, instead are silently treated
  3386    as 'x'.  The following induces an error, until -std is added to get
  3387    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3388    array size at least.  It's necessary to write '\x00'==0 to get something
  3389    that's true only with -std.  */
  3390 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3392 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3393    inside strings and character constants.  */
  3394 #define FOO(x) 'x'
  3395 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3397 int test (int i, double x);
  3398 struct s1 {int (*f) (int a);};
  3399 struct s2 {int (*f) (double a);};
  3400 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3401 int argc;
  3402 char **argv;
  3403 int
  3404 main ()
  3406 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3408   return 0;
  3410 _ACEOF
  3411 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3412 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3413 do
  3414   CC="$ac_save_CC $ac_arg"
  3415   rm -f conftest.$ac_objext
  3416 if { (ac_try="$ac_compile"
  3417 case "(($ac_try" in
  3418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3419   *) ac_try_echo=$ac_try;;
  3420 esac
  3421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3422 $as_echo "$ac_try_echo") >&5
  3423   (eval "$ac_compile") 2>conftest.er1
  3424   ac_status=$?
  3425   grep -v '^ *+' conftest.er1 >conftest.err
  3426   rm -f conftest.er1
  3427   cat conftest.err >&5
  3428   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3429   (exit $ac_status); } && {
  3430 	 test -z "$ac_c_werror_flag" ||
  3431 	 test ! -s conftest.err
  3432        } && test -s conftest.$ac_objext; then
  3433   ac_cv_prog_cc_c89=$ac_arg
  3434 else
  3435   $as_echo "$as_me: failed program was:" >&5
  3436 sed 's/^/| /' conftest.$ac_ext >&5
  3439 fi
  3441 rm -f core conftest.err conftest.$ac_objext
  3442   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3443 done
  3444 rm -f conftest.$ac_ext
  3445 CC=$ac_save_CC
  3447 fi
  3448 # AC_CACHE_VAL
  3449 case "x$ac_cv_prog_cc_c89" in
  3450   x)
  3451     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  3452 $as_echo "none needed" >&6; } ;;
  3453   xno)
  3454     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  3455 $as_echo "unsupported" >&6; } ;;
  3456   *)
  3457     CC="$CC $ac_cv_prog_cc_c89"
  3458     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3459 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3460 esac
  3463 ac_ext=c
  3464 ac_cpp='$CPP $CPPFLAGS'
  3465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3469 depcc="$CC"   am_compiler_list=
  3471 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3472 $as_echo_n "checking dependency style of $depcc... " >&6; }
  3473 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3474   $as_echo_n "(cached) " >&6
  3475 else
  3476   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3477   # We make a subdir and do the tests there.  Otherwise we can end up
  3478   # making bogus files that we don't know about and never remove.  For
  3479   # instance it was reported that on HP-UX the gcc test will end up
  3480   # making a dummy file named `D' -- because `-MD' means `put the output
  3481   # in D'.
  3482   mkdir conftest.dir
  3483   # Copy depcomp to subdir because otherwise we won't find it if we're
  3484   # using a relative directory.
  3485   cp "$am_depcomp" conftest.dir
  3486   cd conftest.dir
  3487   # We will build objects and dependencies in a subdirectory because
  3488   # it helps to detect inapplicable dependency modes.  For instance
  3489   # both Tru64's cc and ICC support -MD to output dependencies as a
  3490   # side effect of compilation, but ICC will put the dependencies in
  3491   # the current directory while Tru64 will put them in the object
  3492   # directory.
  3493   mkdir sub
  3495   am_cv_CC_dependencies_compiler_type=none
  3496   if test "$am_compiler_list" = ""; then
  3497      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3498   fi
  3499   for depmode in $am_compiler_list; do
  3500     # Setup a source with many dependencies, because some compilers
  3501     # like to wrap large dependency lists on column 80 (with \), and
  3502     # we should not choose a depcomp mode which is confused by this.
  3504     # We need to recreate these files for each test, as the compiler may
  3505     # overwrite some of them when testing with obscure command lines.
  3506     # This happens at least with the AIX C compiler.
  3507     : > sub/conftest.c
  3508     for i in 1 2 3 4 5 6; do
  3509       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3510       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3511       # Solaris 8's {/usr,}/bin/sh.
  3512       touch sub/conftst$i.h
  3513     done
  3514     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3516     case $depmode in
  3517     nosideeffect)
  3518       # after this tag, mechanisms are not by side-effect, so they'll
  3519       # only be used when explicitly requested
  3520       if test "x$enable_dependency_tracking" = xyes; then
  3521 	continue
  3522       else
  3523 	break
  3524       fi
  3525       ;;
  3526     none) break ;;
  3527     esac
  3528     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3529     # mode.  It turns out that the SunPro C++ compiler does not properly
  3530     # handle `-M -o', and we need to detect this.
  3531     if depmode=$depmode \
  3532        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3533        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3534        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3535          >/dev/null 2>conftest.err &&
  3536        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3537        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3538        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3539       # icc doesn't choke on unknown options, it will just issue warnings
  3540       # or remarks (even with -Werror).  So we grep stderr for any message
  3541       # that says an option was ignored or not supported.
  3542       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3543       #   icc: Command line warning: ignoring option '-M'; no argument required
  3544       # The diagnosis changed in icc 8.0:
  3545       #   icc: Command line remark: option '-MP' not supported
  3546       if (grep 'ignoring option' conftest.err ||
  3547           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3548         am_cv_CC_dependencies_compiler_type=$depmode
  3549         break
  3550       fi
  3551     fi
  3552   done
  3554   cd ..
  3555   rm -rf conftest.dir
  3556 else
  3557   am_cv_CC_dependencies_compiler_type=none
  3558 fi
  3560 fi
  3561 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3562 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3563 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3567 if
  3568   test "x$enable_dependency_tracking" != xno \
  3569   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3570   am__fastdepCC_TRUE=
  3571   am__fastdepCC_FALSE='#'
  3572 else
  3573   am__fastdepCC_TRUE='#'
  3574   am__fastdepCC_FALSE=
  3575 fi
  3580         { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
  3581 $as_echo_n "checking for strerror in -lcposix... " >&6; }
  3582 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  3583   $as_echo_n "(cached) " >&6
  3584 else
  3585   ac_check_lib_save_LIBS=$LIBS
  3586 LIBS="-lcposix  $LIBS"
  3587 cat >conftest.$ac_ext <<_ACEOF
  3588 /* confdefs.h.  */
  3589 _ACEOF
  3590 cat confdefs.h >>conftest.$ac_ext
  3591 cat >>conftest.$ac_ext <<_ACEOF
  3592 /* end confdefs.h.  */
  3594 /* Override any GCC internal prototype to avoid an error.
  3595    Use char because int might match the return type of a GCC
  3596    builtin and then its argument prototype would still apply.  */
  3597 #ifdef __cplusplus
  3598 extern "C"
  3599 #endif
  3600 char strerror ();
  3601 int
  3602 main ()
  3604 return strerror ();
  3606   return 0;
  3608 _ACEOF
  3609 rm -f conftest.$ac_objext conftest$ac_exeext
  3610 if { (ac_try="$ac_link"
  3611 case "(($ac_try" in
  3612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3613   *) ac_try_echo=$ac_try;;
  3614 esac
  3615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3616 $as_echo "$ac_try_echo") >&5
  3617   (eval "$ac_link") 2>conftest.er1
  3618   ac_status=$?
  3619   grep -v '^ *+' conftest.er1 >conftest.err
  3620   rm -f conftest.er1
  3621   cat conftest.err >&5
  3622   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3623   (exit $ac_status); } && {
  3624 	 test -z "$ac_c_werror_flag" ||
  3625 	 test ! -s conftest.err
  3626        } && test -s conftest$ac_exeext && {
  3627 	 test "$cross_compiling" = yes ||
  3628 	 $as_test_x conftest$ac_exeext
  3629        }; then
  3630   ac_cv_lib_cposix_strerror=yes
  3631 else
  3632   $as_echo "$as_me: failed program was:" >&5
  3633 sed 's/^/| /' conftest.$ac_ext >&5
  3635 	ac_cv_lib_cposix_strerror=no
  3636 fi
  3638 rm -rf conftest.dSYM
  3639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3640       conftest$ac_exeext conftest.$ac_ext
  3641 LIBS=$ac_check_lib_save_LIBS
  3642 fi
  3643 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
  3644 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
  3645 if test $ac_cv_lib_cposix_strerror = yes; then
  3646   LIBS="$LIBS -lcposix"
  3647 fi
  3651 ac_ext=c
  3652 ac_cpp='$CPP $CPPFLAGS'
  3653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3656 if test -n "$ac_tool_prefix"; then
  3657   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3658 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3659 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3660 $as_echo_n "checking for $ac_word... " >&6; }
  3661 if test "${ac_cv_prog_CC+set}" = set; then
  3662   $as_echo_n "(cached) " >&6
  3663 else
  3664   if test -n "$CC"; then
  3665   ac_cv_prog_CC="$CC" # Let the user override the test.
  3666 else
  3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3668 for as_dir in $PATH
  3669 do
  3670   IFS=$as_save_IFS
  3671   test -z "$as_dir" && as_dir=.
  3672   for ac_exec_ext in '' $ac_executable_extensions; do
  3673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3674     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3675     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3676     break 2
  3677   fi
  3678 done
  3679 done
  3680 IFS=$as_save_IFS
  3682 fi
  3683 fi
  3684 CC=$ac_cv_prog_CC
  3685 if test -n "$CC"; then
  3686   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3687 $as_echo "$CC" >&6; }
  3688 else
  3689   { $as_echo "$as_me:$LINENO: result: no" >&5
  3690 $as_echo "no" >&6; }
  3691 fi
  3694 fi
  3695 if test -z "$ac_cv_prog_CC"; then
  3696   ac_ct_CC=$CC
  3697   # Extract the first word of "gcc", so it can be a program name with args.
  3698 set dummy gcc; ac_word=$2
  3699 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3700 $as_echo_n "checking for $ac_word... " >&6; }
  3701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3702   $as_echo_n "(cached) " >&6
  3703 else
  3704   if test -n "$ac_ct_CC"; then
  3705   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3706 else
  3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3708 for as_dir in $PATH
  3709 do
  3710   IFS=$as_save_IFS
  3711   test -z "$as_dir" && as_dir=.
  3712   for ac_exec_ext in '' $ac_executable_extensions; do
  3713   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3714     ac_cv_prog_ac_ct_CC="gcc"
  3715     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3716     break 2
  3717   fi
  3718 done
  3719 done
  3720 IFS=$as_save_IFS
  3722 fi
  3723 fi
  3724 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3725 if test -n "$ac_ct_CC"; then
  3726   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3727 $as_echo "$ac_ct_CC" >&6; }
  3728 else
  3729   { $as_echo "$as_me:$LINENO: result: no" >&5
  3730 $as_echo "no" >&6; }
  3731 fi
  3733   if test "x$ac_ct_CC" = x; then
  3734     CC=""
  3735   else
  3736     case $cross_compiling:$ac_tool_warned in
  3737 yes:)
  3738 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3739 whose name does not start with the host triplet.  If you think this
  3740 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3741 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3742 whose name does not start with the host triplet.  If you think this
  3743 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3744 ac_tool_warned=yes ;;
  3745 esac
  3746     CC=$ac_ct_CC
  3747   fi
  3748 else
  3749   CC="$ac_cv_prog_CC"
  3750 fi
  3752 if test -z "$CC"; then
  3753           if test -n "$ac_tool_prefix"; then
  3754     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3755 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3756 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3757 $as_echo_n "checking for $ac_word... " >&6; }
  3758 if test "${ac_cv_prog_CC+set}" = set; then
  3759   $as_echo_n "(cached) " >&6
  3760 else
  3761   if test -n "$CC"; then
  3762   ac_cv_prog_CC="$CC" # Let the user override the test.
  3763 else
  3764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3765 for as_dir in $PATH
  3766 do
  3767   IFS=$as_save_IFS
  3768   test -z "$as_dir" && as_dir=.
  3769   for ac_exec_ext in '' $ac_executable_extensions; do
  3770   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3771     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3772     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3773     break 2
  3774   fi
  3775 done
  3776 done
  3777 IFS=$as_save_IFS
  3779 fi
  3780 fi
  3781 CC=$ac_cv_prog_CC
  3782 if test -n "$CC"; then
  3783   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3784 $as_echo "$CC" >&6; }
  3785 else
  3786   { $as_echo "$as_me:$LINENO: result: no" >&5
  3787 $as_echo "no" >&6; }
  3788 fi
  3791   fi
  3792 fi
  3793 if test -z "$CC"; then
  3794   # Extract the first word of "cc", so it can be a program name with args.
  3795 set dummy cc; ac_word=$2
  3796 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3797 $as_echo_n "checking for $ac_word... " >&6; }
  3798 if test "${ac_cv_prog_CC+set}" = set; then
  3799   $as_echo_n "(cached) " >&6
  3800 else
  3801   if test -n "$CC"; then
  3802   ac_cv_prog_CC="$CC" # Let the user override the test.
  3803 else
  3804   ac_prog_rejected=no
  3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3806 for as_dir in $PATH
  3807 do
  3808   IFS=$as_save_IFS
  3809   test -z "$as_dir" && as_dir=.
  3810   for ac_exec_ext in '' $ac_executable_extensions; do
  3811   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3812     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3813        ac_prog_rejected=yes
  3814        continue
  3815      fi
  3816     ac_cv_prog_CC="cc"
  3817     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3818     break 2
  3819   fi
  3820 done
  3821 done
  3822 IFS=$as_save_IFS
  3824 if test $ac_prog_rejected = yes; then
  3825   # We found a bogon in the path, so make sure we never use it.
  3826   set dummy $ac_cv_prog_CC
  3827   shift
  3828   if test $# != 0; then
  3829     # We chose a different compiler from the bogus one.
  3830     # However, it has the same basename, so the bogon will be chosen
  3831     # first if we set CC to just the basename; use the full file name.
  3832     shift
  3833     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3834   fi
  3835 fi
  3836 fi
  3837 fi
  3838 CC=$ac_cv_prog_CC
  3839 if test -n "$CC"; then
  3840   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3841 $as_echo "$CC" >&6; }
  3842 else
  3843   { $as_echo "$as_me:$LINENO: result: no" >&5
  3844 $as_echo "no" >&6; }
  3845 fi
  3848 fi
  3849 if test -z "$CC"; then
  3850   if test -n "$ac_tool_prefix"; then
  3851   for ac_prog in cl.exe
  3852   do
  3853     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3854 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3855 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3856 $as_echo_n "checking for $ac_word... " >&6; }
  3857 if test "${ac_cv_prog_CC+set}" = set; then
  3858   $as_echo_n "(cached) " >&6
  3859 else
  3860   if test -n "$CC"; then
  3861   ac_cv_prog_CC="$CC" # Let the user override the test.
  3862 else
  3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3864 for as_dir in $PATH
  3865 do
  3866   IFS=$as_save_IFS
  3867   test -z "$as_dir" && as_dir=.
  3868   for ac_exec_ext in '' $ac_executable_extensions; do
  3869   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3870     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3871     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3872     break 2
  3873   fi
  3874 done
  3875 done
  3876 IFS=$as_save_IFS
  3878 fi
  3879 fi
  3880 CC=$ac_cv_prog_CC
  3881 if test -n "$CC"; then
  3882   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3883 $as_echo "$CC" >&6; }
  3884 else
  3885   { $as_echo "$as_me:$LINENO: result: no" >&5
  3886 $as_echo "no" >&6; }
  3887 fi
  3890     test -n "$CC" && break
  3891   done
  3892 fi
  3893 if test -z "$CC"; then
  3894   ac_ct_CC=$CC
  3895   for ac_prog in cl.exe
  3896 do
  3897   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3898 set dummy $ac_prog; ac_word=$2
  3899 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3900 $as_echo_n "checking for $ac_word... " >&6; }
  3901 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3902   $as_echo_n "(cached) " >&6
  3903 else
  3904   if test -n "$ac_ct_CC"; then
  3905   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3906 else
  3907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3908 for as_dir in $PATH
  3909 do
  3910   IFS=$as_save_IFS
  3911   test -z "$as_dir" && as_dir=.
  3912   for ac_exec_ext in '' $ac_executable_extensions; do
  3913   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3914     ac_cv_prog_ac_ct_CC="$ac_prog"
  3915     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3916     break 2
  3917   fi
  3918 done
  3919 done
  3920 IFS=$as_save_IFS
  3922 fi
  3923 fi
  3924 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3925 if test -n "$ac_ct_CC"; then
  3926   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3927 $as_echo "$ac_ct_CC" >&6; }
  3928 else
  3929   { $as_echo "$as_me:$LINENO: result: no" >&5
  3930 $as_echo "no" >&6; }
  3931 fi
  3934   test -n "$ac_ct_CC" && break
  3935 done
  3937   if test "x$ac_ct_CC" = x; then
  3938     CC=""
  3939   else
  3940     case $cross_compiling:$ac_tool_warned in
  3941 yes:)
  3942 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3943 whose name does not start with the host triplet.  If you think this
  3944 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3945 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3946 whose name does not start with the host triplet.  If you think this
  3947 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3948 ac_tool_warned=yes ;;
  3949 esac
  3950     CC=$ac_ct_CC
  3951   fi
  3952 fi
  3954 fi
  3957 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3958 See \`config.log' for more details." >&5
  3959 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  3960 See \`config.log' for more details." >&2;}
  3961    { (exit 1); exit 1; }; }
  3963 # Provide some information about the compiler.
  3964 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  3965 set X $ac_compile
  3966 ac_compiler=$2
  3967 { (ac_try="$ac_compiler --version >&5"
  3968 case "(($ac_try" in
  3969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3970   *) ac_try_echo=$ac_try;;
  3971 esac
  3972 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3973 $as_echo "$ac_try_echo") >&5
  3974   (eval "$ac_compiler --version >&5") 2>&5
  3975   ac_status=$?
  3976   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3977   (exit $ac_status); }
  3978 { (ac_try="$ac_compiler -v >&5"
  3979 case "(($ac_try" in
  3980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3981   *) ac_try_echo=$ac_try;;
  3982 esac
  3983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3984 $as_echo "$ac_try_echo") >&5
  3985   (eval "$ac_compiler -v >&5") 2>&5
  3986   ac_status=$?
  3987   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3988   (exit $ac_status); }
  3989 { (ac_try="$ac_compiler -V >&5"
  3990 case "(($ac_try" in
  3991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3992   *) ac_try_echo=$ac_try;;
  3993 esac
  3994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3995 $as_echo "$ac_try_echo") >&5
  3996   (eval "$ac_compiler -V >&5") 2>&5
  3997   ac_status=$?
  3998   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3999   (exit $ac_status); }
  4001 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4002 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4003 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4004   $as_echo_n "(cached) " >&6
  4005 else
  4006   cat >conftest.$ac_ext <<_ACEOF
  4007 /* confdefs.h.  */
  4008 _ACEOF
  4009 cat confdefs.h >>conftest.$ac_ext
  4010 cat >>conftest.$ac_ext <<_ACEOF
  4011 /* end confdefs.h.  */
  4013 int
  4014 main ()
  4016 #ifndef __GNUC__
  4017        choke me
  4018 #endif
  4021   return 0;
  4023 _ACEOF
  4024 rm -f conftest.$ac_objext
  4025 if { (ac_try="$ac_compile"
  4026 case "(($ac_try" in
  4027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4028   *) ac_try_echo=$ac_try;;
  4029 esac
  4030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4031 $as_echo "$ac_try_echo") >&5
  4032   (eval "$ac_compile") 2>conftest.er1
  4033   ac_status=$?
  4034   grep -v '^ *+' conftest.er1 >conftest.err
  4035   rm -f conftest.er1
  4036   cat conftest.err >&5
  4037   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4038   (exit $ac_status); } && {
  4039 	 test -z "$ac_c_werror_flag" ||
  4040 	 test ! -s conftest.err
  4041        } && test -s conftest.$ac_objext; then
  4042   ac_compiler_gnu=yes
  4043 else
  4044   $as_echo "$as_me: failed program was:" >&5
  4045 sed 's/^/| /' conftest.$ac_ext >&5
  4047 	ac_compiler_gnu=no
  4048 fi
  4050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4051 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4053 fi
  4054 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4055 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4056 if test $ac_compiler_gnu = yes; then
  4057   GCC=yes
  4058 else
  4059   GCC=
  4060 fi
  4061 ac_test_CFLAGS=${CFLAGS+set}
  4062 ac_save_CFLAGS=$CFLAGS
  4063 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4064 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4065 if test "${ac_cv_prog_cc_g+set}" = set; then
  4066   $as_echo_n "(cached) " >&6
  4067 else
  4068   ac_save_c_werror_flag=$ac_c_werror_flag
  4069    ac_c_werror_flag=yes
  4070    ac_cv_prog_cc_g=no
  4071    CFLAGS="-g"
  4072    cat >conftest.$ac_ext <<_ACEOF
  4073 /* confdefs.h.  */
  4074 _ACEOF
  4075 cat confdefs.h >>conftest.$ac_ext
  4076 cat >>conftest.$ac_ext <<_ACEOF
  4077 /* end confdefs.h.  */
  4079 int
  4080 main ()
  4084   return 0;
  4086 _ACEOF
  4087 rm -f conftest.$ac_objext
  4088 if { (ac_try="$ac_compile"
  4089 case "(($ac_try" in
  4090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4091   *) ac_try_echo=$ac_try;;
  4092 esac
  4093 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4094 $as_echo "$ac_try_echo") >&5
  4095   (eval "$ac_compile") 2>conftest.er1
  4096   ac_status=$?
  4097   grep -v '^ *+' conftest.er1 >conftest.err
  4098   rm -f conftest.er1
  4099   cat conftest.err >&5
  4100   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4101   (exit $ac_status); } && {
  4102 	 test -z "$ac_c_werror_flag" ||
  4103 	 test ! -s conftest.err
  4104        } && test -s conftest.$ac_objext; then
  4105   ac_cv_prog_cc_g=yes
  4106 else
  4107   $as_echo "$as_me: failed program was:" >&5
  4108 sed 's/^/| /' conftest.$ac_ext >&5
  4110 	CFLAGS=""
  4111       cat >conftest.$ac_ext <<_ACEOF
  4112 /* confdefs.h.  */
  4113 _ACEOF
  4114 cat confdefs.h >>conftest.$ac_ext
  4115 cat >>conftest.$ac_ext <<_ACEOF
  4116 /* end confdefs.h.  */
  4118 int
  4119 main ()
  4123   return 0;
  4125 _ACEOF
  4126 rm -f conftest.$ac_objext
  4127 if { (ac_try="$ac_compile"
  4128 case "(($ac_try" in
  4129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4130   *) ac_try_echo=$ac_try;;
  4131 esac
  4132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4133 $as_echo "$ac_try_echo") >&5
  4134   (eval "$ac_compile") 2>conftest.er1
  4135   ac_status=$?
  4136   grep -v '^ *+' conftest.er1 >conftest.err
  4137   rm -f conftest.er1
  4138   cat conftest.err >&5
  4139   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4140   (exit $ac_status); } && {
  4141 	 test -z "$ac_c_werror_flag" ||
  4142 	 test ! -s conftest.err
  4143        } && test -s conftest.$ac_objext; then
  4145 else
  4146   $as_echo "$as_me: failed program was:" >&5
  4147 sed 's/^/| /' conftest.$ac_ext >&5
  4149 	ac_c_werror_flag=$ac_save_c_werror_flag
  4150 	 CFLAGS="-g"
  4151 	 cat >conftest.$ac_ext <<_ACEOF
  4152 /* confdefs.h.  */
  4153 _ACEOF
  4154 cat confdefs.h >>conftest.$ac_ext
  4155 cat >>conftest.$ac_ext <<_ACEOF
  4156 /* end confdefs.h.  */
  4158 int
  4159 main ()
  4163   return 0;
  4165 _ACEOF
  4166 rm -f conftest.$ac_objext
  4167 if { (ac_try="$ac_compile"
  4168 case "(($ac_try" in
  4169   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4170   *) ac_try_echo=$ac_try;;
  4171 esac
  4172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4173 $as_echo "$ac_try_echo") >&5
  4174   (eval "$ac_compile") 2>conftest.er1
  4175   ac_status=$?
  4176   grep -v '^ *+' conftest.er1 >conftest.err
  4177   rm -f conftest.er1
  4178   cat conftest.err >&5
  4179   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4180   (exit $ac_status); } && {
  4181 	 test -z "$ac_c_werror_flag" ||
  4182 	 test ! -s conftest.err
  4183        } && test -s conftest.$ac_objext; then
  4184   ac_cv_prog_cc_g=yes
  4185 else
  4186   $as_echo "$as_me: failed program was:" >&5
  4187 sed 's/^/| /' conftest.$ac_ext >&5
  4190 fi
  4192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4193 fi
  4195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4196 fi
  4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4199    ac_c_werror_flag=$ac_save_c_werror_flag
  4200 fi
  4201 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4202 $as_echo "$ac_cv_prog_cc_g" >&6; }
  4203 if test "$ac_test_CFLAGS" = set; then
  4204   CFLAGS=$ac_save_CFLAGS
  4205 elif test $ac_cv_prog_cc_g = yes; then
  4206   if test "$GCC" = yes; then
  4207     CFLAGS="-g -O2"
  4208   else
  4209     CFLAGS="-g"
  4210   fi
  4211 else
  4212   if test "$GCC" = yes; then
  4213     CFLAGS="-O2"
  4214   else
  4215     CFLAGS=
  4216   fi
  4217 fi
  4218 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4219 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4220 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4221   $as_echo_n "(cached) " >&6
  4222 else
  4223   ac_cv_prog_cc_c89=no
  4224 ac_save_CC=$CC
  4225 cat >conftest.$ac_ext <<_ACEOF
  4226 /* confdefs.h.  */
  4227 _ACEOF
  4228 cat confdefs.h >>conftest.$ac_ext
  4229 cat >>conftest.$ac_ext <<_ACEOF
  4230 /* end confdefs.h.  */
  4231 #include <stdarg.h>
  4232 #include <stdio.h>
  4233 #include <sys/types.h>
  4234 #include <sys/stat.h>
  4235 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4236 struct buf { int x; };
  4237 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4238 static char *e (p, i)
  4239      char **p;
  4240      int i;
  4242   return p[i];
  4244 static char *f (char * (*g) (char **, int), char **p, ...)
  4246   char *s;
  4247   va_list v;
  4248   va_start (v,p);
  4249   s = g (p, va_arg (v,int));
  4250   va_end (v);
  4251   return s;
  4254 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4255    function prototypes and stuff, but not '\xHH' hex character constants.
  4256    These don't provoke an error unfortunately, instead are silently treated
  4257    as 'x'.  The following induces an error, until -std is added to get
  4258    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4259    array size at least.  It's necessary to write '\x00'==0 to get something
  4260    that's true only with -std.  */
  4261 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4263 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4264    inside strings and character constants.  */
  4265 #define FOO(x) 'x'
  4266 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4268 int test (int i, double x);
  4269 struct s1 {int (*f) (int a);};
  4270 struct s2 {int (*f) (double a);};
  4271 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4272 int argc;
  4273 char **argv;
  4274 int
  4275 main ()
  4277 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4279   return 0;
  4281 _ACEOF
  4282 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4283 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4284 do
  4285   CC="$ac_save_CC $ac_arg"
  4286   rm -f conftest.$ac_objext
  4287 if { (ac_try="$ac_compile"
  4288 case "(($ac_try" in
  4289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4290   *) ac_try_echo=$ac_try;;
  4291 esac
  4292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4293 $as_echo "$ac_try_echo") >&5
  4294   (eval "$ac_compile") 2>conftest.er1
  4295   ac_status=$?
  4296   grep -v '^ *+' conftest.er1 >conftest.err
  4297   rm -f conftest.er1
  4298   cat conftest.err >&5
  4299   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4300   (exit $ac_status); } && {
  4301 	 test -z "$ac_c_werror_flag" ||
  4302 	 test ! -s conftest.err
  4303        } && test -s conftest.$ac_objext; then
  4304   ac_cv_prog_cc_c89=$ac_arg
  4305 else
  4306   $as_echo "$as_me: failed program was:" >&5
  4307 sed 's/^/| /' conftest.$ac_ext >&5
  4310 fi
  4312 rm -f core conftest.err conftest.$ac_objext
  4313   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4314 done
  4315 rm -f conftest.$ac_ext
  4316 CC=$ac_save_CC
  4318 fi
  4319 # AC_CACHE_VAL
  4320 case "x$ac_cv_prog_cc_c89" in
  4321   x)
  4322     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  4323 $as_echo "none needed" >&6; } ;;
  4324   xno)
  4325     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  4326 $as_echo "unsupported" >&6; } ;;
  4327   *)
  4328     CC="$CC $ac_cv_prog_cc_c89"
  4329     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4330 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4331 esac
  4334 ac_ext=c
  4335 ac_cpp='$CPP $CPPFLAGS'
  4336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4340 depcc="$CC"   am_compiler_list=
  4342 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4343 $as_echo_n "checking dependency style of $depcc... " >&6; }
  4344 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4345   $as_echo_n "(cached) " >&6
  4346 else
  4347   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4348   # We make a subdir and do the tests there.  Otherwise we can end up
  4349   # making bogus files that we don't know about and never remove.  For
  4350   # instance it was reported that on HP-UX the gcc test will end up
  4351   # making a dummy file named `D' -- because `-MD' means `put the output
  4352   # in D'.
  4353   mkdir conftest.dir
  4354   # Copy depcomp to subdir because otherwise we won't find it if we're
  4355   # using a relative directory.
  4356   cp "$am_depcomp" conftest.dir
  4357   cd conftest.dir
  4358   # We will build objects and dependencies in a subdirectory because
  4359   # it helps to detect inapplicable dependency modes.  For instance
  4360   # both Tru64's cc and ICC support -MD to output dependencies as a
  4361   # side effect of compilation, but ICC will put the dependencies in
  4362   # the current directory while Tru64 will put them in the object
  4363   # directory.
  4364   mkdir sub
  4366   am_cv_CC_dependencies_compiler_type=none
  4367   if test "$am_compiler_list" = ""; then
  4368      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4369   fi
  4370   for depmode in $am_compiler_list; do
  4371     # Setup a source with many dependencies, because some compilers
  4372     # like to wrap large dependency lists on column 80 (with \), and
  4373     # we should not choose a depcomp mode which is confused by this.
  4375     # We need to recreate these files for each test, as the compiler may
  4376     # overwrite some of them when testing with obscure command lines.
  4377     # This happens at least with the AIX C compiler.
  4378     : > sub/conftest.c
  4379     for i in 1 2 3 4 5 6; do
  4380       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4381       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4382       # Solaris 8's {/usr,}/bin/sh.
  4383       touch sub/conftst$i.h
  4384     done
  4385     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4387     case $depmode in
  4388     nosideeffect)
  4389       # after this tag, mechanisms are not by side-effect, so they'll
  4390       # only be used when explicitly requested
  4391       if test "x$enable_dependency_tracking" = xyes; then
  4392 	continue
  4393       else
  4394 	break
  4395       fi
  4396       ;;
  4397     none) break ;;
  4398     esac
  4399     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4400     # mode.  It turns out that the SunPro C++ compiler does not properly
  4401     # handle `-M -o', and we need to detect this.
  4402     if depmode=$depmode \
  4403        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4404        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4405        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4406          >/dev/null 2>conftest.err &&
  4407        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4408        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4409        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4410       # icc doesn't choke on unknown options, it will just issue warnings
  4411       # or remarks (even with -Werror).  So we grep stderr for any message
  4412       # that says an option was ignored or not supported.
  4413       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4414       #   icc: Command line warning: ignoring option '-M'; no argument required
  4415       # The diagnosis changed in icc 8.0:
  4416       #   icc: Command line remark: option '-MP' not supported
  4417       if (grep 'ignoring option' conftest.err ||
  4418           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4419         am_cv_CC_dependencies_compiler_type=$depmode
  4420         break
  4421       fi
  4422     fi
  4423   done
  4425   cd ..
  4426   rm -rf conftest.dir
  4427 else
  4428   am_cv_CC_dependencies_compiler_type=none
  4429 fi
  4431 fi
  4432 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4433 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4434 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4438 if
  4439   test "x$enable_dependency_tracking" != xno \
  4440   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4441   am__fastdepCC_TRUE=
  4442   am__fastdepCC_FALSE='#'
  4443 else
  4444   am__fastdepCC_TRUE='#'
  4445   am__fastdepCC_FALSE=
  4446 fi
  4449 ac_ext=c
  4450 ac_cpp='$CPP $CPPFLAGS'
  4451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4454 if test -n "$ac_tool_prefix"; then
  4455   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4456 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4457 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4458 $as_echo_n "checking for $ac_word... " >&6; }
  4459 if test "${ac_cv_prog_CC+set}" = set; then
  4460   $as_echo_n "(cached) " >&6
  4461 else
  4462   if test -n "$CC"; then
  4463   ac_cv_prog_CC="$CC" # Let the user override the test.
  4464 else
  4465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4466 for as_dir in $PATH
  4467 do
  4468   IFS=$as_save_IFS
  4469   test -z "$as_dir" && as_dir=.
  4470   for ac_exec_ext in '' $ac_executable_extensions; do
  4471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4472     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4473     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4474     break 2
  4475   fi
  4476 done
  4477 done
  4478 IFS=$as_save_IFS
  4480 fi
  4481 fi
  4482 CC=$ac_cv_prog_CC
  4483 if test -n "$CC"; then
  4484   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4485 $as_echo "$CC" >&6; }
  4486 else
  4487   { $as_echo "$as_me:$LINENO: result: no" >&5
  4488 $as_echo "no" >&6; }
  4489 fi
  4492 fi
  4493 if test -z "$ac_cv_prog_CC"; then
  4494   ac_ct_CC=$CC
  4495   # Extract the first word of "gcc", so it can be a program name with args.
  4496 set dummy gcc; ac_word=$2
  4497 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4498 $as_echo_n "checking for $ac_word... " >&6; }
  4499 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4500   $as_echo_n "(cached) " >&6
  4501 else
  4502   if test -n "$ac_ct_CC"; then
  4503   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4504 else
  4505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4506 for as_dir in $PATH
  4507 do
  4508   IFS=$as_save_IFS
  4509   test -z "$as_dir" && as_dir=.
  4510   for ac_exec_ext in '' $ac_executable_extensions; do
  4511   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4512     ac_cv_prog_ac_ct_CC="gcc"
  4513     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4514     break 2
  4515   fi
  4516 done
  4517 done
  4518 IFS=$as_save_IFS
  4520 fi
  4521 fi
  4522 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4523 if test -n "$ac_ct_CC"; then
  4524   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4525 $as_echo "$ac_ct_CC" >&6; }
  4526 else
  4527   { $as_echo "$as_me:$LINENO: result: no" >&5
  4528 $as_echo "no" >&6; }
  4529 fi
  4531   if test "x$ac_ct_CC" = x; then
  4532     CC=""
  4533   else
  4534     case $cross_compiling:$ac_tool_warned in
  4535 yes:)
  4536 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4537 whose name does not start with the host triplet.  If you think this
  4538 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4539 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4540 whose name does not start with the host triplet.  If you think this
  4541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4542 ac_tool_warned=yes ;;
  4543 esac
  4544     CC=$ac_ct_CC
  4545   fi
  4546 else
  4547   CC="$ac_cv_prog_CC"
  4548 fi
  4550 if test -z "$CC"; then
  4551           if test -n "$ac_tool_prefix"; then
  4552     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4553 set dummy ${ac_tool_prefix}cc; ac_word=$2
  4554 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4555 $as_echo_n "checking for $ac_word... " >&6; }
  4556 if test "${ac_cv_prog_CC+set}" = set; then
  4557   $as_echo_n "(cached) " >&6
  4558 else
  4559   if test -n "$CC"; then
  4560   ac_cv_prog_CC="$CC" # Let the user override the test.
  4561 else
  4562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4563 for as_dir in $PATH
  4564 do
  4565   IFS=$as_save_IFS
  4566   test -z "$as_dir" && as_dir=.
  4567   for ac_exec_ext in '' $ac_executable_extensions; do
  4568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4569     ac_cv_prog_CC="${ac_tool_prefix}cc"
  4570     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4571     break 2
  4572   fi
  4573 done
  4574 done
  4575 IFS=$as_save_IFS
  4577 fi
  4578 fi
  4579 CC=$ac_cv_prog_CC
  4580 if test -n "$CC"; then
  4581   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4582 $as_echo "$CC" >&6; }
  4583 else
  4584   { $as_echo "$as_me:$LINENO: result: no" >&5
  4585 $as_echo "no" >&6; }
  4586 fi
  4589   fi
  4590 fi
  4591 if test -z "$CC"; then
  4592   # Extract the first word of "cc", so it can be a program name with args.
  4593 set dummy cc; ac_word=$2
  4594 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4595 $as_echo_n "checking for $ac_word... " >&6; }
  4596 if test "${ac_cv_prog_CC+set}" = set; then
  4597   $as_echo_n "(cached) " >&6
  4598 else
  4599   if test -n "$CC"; then
  4600   ac_cv_prog_CC="$CC" # Let the user override the test.
  4601 else
  4602   ac_prog_rejected=no
  4603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4604 for as_dir in $PATH
  4605 do
  4606   IFS=$as_save_IFS
  4607   test -z "$as_dir" && as_dir=.
  4608   for ac_exec_ext in '' $ac_executable_extensions; do
  4609   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4610     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4611        ac_prog_rejected=yes
  4612        continue
  4613      fi
  4614     ac_cv_prog_CC="cc"
  4615     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4616     break 2
  4617   fi
  4618 done
  4619 done
  4620 IFS=$as_save_IFS
  4622 if test $ac_prog_rejected = yes; then
  4623   # We found a bogon in the path, so make sure we never use it.
  4624   set dummy $ac_cv_prog_CC
  4625   shift
  4626   if test $# != 0; then
  4627     # We chose a different compiler from the bogus one.
  4628     # However, it has the same basename, so the bogon will be chosen
  4629     # first if we set CC to just the basename; use the full file name.
  4630     shift
  4631     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4632   fi
  4633 fi
  4634 fi
  4635 fi
  4636 CC=$ac_cv_prog_CC
  4637 if test -n "$CC"; then
  4638   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4639 $as_echo "$CC" >&6; }
  4640 else
  4641   { $as_echo "$as_me:$LINENO: result: no" >&5
  4642 $as_echo "no" >&6; }
  4643 fi
  4646 fi
  4647 if test -z "$CC"; then
  4648   if test -n "$ac_tool_prefix"; then
  4649   for ac_prog in cl.exe
  4650   do
  4651     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4652 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4653 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4654 $as_echo_n "checking for $ac_word... " >&6; }
  4655 if test "${ac_cv_prog_CC+set}" = set; then
  4656   $as_echo_n "(cached) " >&6
  4657 else
  4658   if test -n "$CC"; then
  4659   ac_cv_prog_CC="$CC" # Let the user override the test.
  4660 else
  4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4662 for as_dir in $PATH
  4663 do
  4664   IFS=$as_save_IFS
  4665   test -z "$as_dir" && as_dir=.
  4666   for ac_exec_ext in '' $ac_executable_extensions; do
  4667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4668     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4669     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4670     break 2
  4671   fi
  4672 done
  4673 done
  4674 IFS=$as_save_IFS
  4676 fi
  4677 fi
  4678 CC=$ac_cv_prog_CC
  4679 if test -n "$CC"; then
  4680   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4681 $as_echo "$CC" >&6; }
  4682 else
  4683   { $as_echo "$as_me:$LINENO: result: no" >&5
  4684 $as_echo "no" >&6; }
  4685 fi
  4688     test -n "$CC" && break
  4689   done
  4690 fi
  4691 if test -z "$CC"; then
  4692   ac_ct_CC=$CC
  4693   for ac_prog in cl.exe
  4694 do
  4695   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4696 set dummy $ac_prog; ac_word=$2
  4697 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4698 $as_echo_n "checking for $ac_word... " >&6; }
  4699 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4700   $as_echo_n "(cached) " >&6
  4701 else
  4702   if test -n "$ac_ct_CC"; then
  4703   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4704 else
  4705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4706 for as_dir in $PATH
  4707 do
  4708   IFS=$as_save_IFS
  4709   test -z "$as_dir" && as_dir=.
  4710   for ac_exec_ext in '' $ac_executable_extensions; do
  4711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4712     ac_cv_prog_ac_ct_CC="$ac_prog"
  4713     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4714     break 2
  4715   fi
  4716 done
  4717 done
  4718 IFS=$as_save_IFS
  4720 fi
  4721 fi
  4722 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4723 if test -n "$ac_ct_CC"; then
  4724   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4725 $as_echo "$ac_ct_CC" >&6; }
  4726 else
  4727   { $as_echo "$as_me:$LINENO: result: no" >&5
  4728 $as_echo "no" >&6; }
  4729 fi
  4732   test -n "$ac_ct_CC" && break
  4733 done
  4735   if test "x$ac_ct_CC" = x; then
  4736     CC=""
  4737   else
  4738     case $cross_compiling:$ac_tool_warned in
  4739 yes:)
  4740 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4741 whose name does not start with the host triplet.  If you think this
  4742 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4743 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4744 whose name does not start with the host triplet.  If you think this
  4745 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4746 ac_tool_warned=yes ;;
  4747 esac
  4748     CC=$ac_ct_CC
  4749   fi
  4750 fi
  4752 fi
  4755 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4756 See \`config.log' for more details." >&5
  4757 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  4758 See \`config.log' for more details." >&2;}
  4759    { (exit 1); exit 1; }; }
  4761 # Provide some information about the compiler.
  4762 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  4763 set X $ac_compile
  4764 ac_compiler=$2
  4765 { (ac_try="$ac_compiler --version >&5"
  4766 case "(($ac_try" in
  4767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4768   *) ac_try_echo=$ac_try;;
  4769 esac
  4770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4771 $as_echo "$ac_try_echo") >&5
  4772   (eval "$ac_compiler --version >&5") 2>&5
  4773   ac_status=$?
  4774   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4775   (exit $ac_status); }
  4776 { (ac_try="$ac_compiler -v >&5"
  4777 case "(($ac_try" in
  4778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4779   *) ac_try_echo=$ac_try;;
  4780 esac
  4781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4782 $as_echo "$ac_try_echo") >&5
  4783   (eval "$ac_compiler -v >&5") 2>&5
  4784   ac_status=$?
  4785   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4786   (exit $ac_status); }
  4787 { (ac_try="$ac_compiler -V >&5"
  4788 case "(($ac_try" in
  4789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4790   *) ac_try_echo=$ac_try;;
  4791 esac
  4792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4793 $as_echo "$ac_try_echo") >&5
  4794   (eval "$ac_compiler -V >&5") 2>&5
  4795   ac_status=$?
  4796   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4797   (exit $ac_status); }
  4799 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4800 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4801 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4802   $as_echo_n "(cached) " >&6
  4803 else
  4804   cat >conftest.$ac_ext <<_ACEOF
  4805 /* confdefs.h.  */
  4806 _ACEOF
  4807 cat confdefs.h >>conftest.$ac_ext
  4808 cat >>conftest.$ac_ext <<_ACEOF
  4809 /* end confdefs.h.  */
  4811 int
  4812 main ()
  4814 #ifndef __GNUC__
  4815        choke me
  4816 #endif
  4819   return 0;
  4821 _ACEOF
  4822 rm -f conftest.$ac_objext
  4823 if { (ac_try="$ac_compile"
  4824 case "(($ac_try" in
  4825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4826   *) ac_try_echo=$ac_try;;
  4827 esac
  4828 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4829 $as_echo "$ac_try_echo") >&5
  4830   (eval "$ac_compile") 2>conftest.er1
  4831   ac_status=$?
  4832   grep -v '^ *+' conftest.er1 >conftest.err
  4833   rm -f conftest.er1
  4834   cat conftest.err >&5
  4835   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4836   (exit $ac_status); } && {
  4837 	 test -z "$ac_c_werror_flag" ||
  4838 	 test ! -s conftest.err
  4839        } && test -s conftest.$ac_objext; then
  4840   ac_compiler_gnu=yes
  4841 else
  4842   $as_echo "$as_me: failed program was:" >&5
  4843 sed 's/^/| /' conftest.$ac_ext >&5
  4845 	ac_compiler_gnu=no
  4846 fi
  4848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4849 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4851 fi
  4852 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4853 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4854 if test $ac_compiler_gnu = yes; then
  4855   GCC=yes
  4856 else
  4857   GCC=
  4858 fi
  4859 ac_test_CFLAGS=${CFLAGS+set}
  4860 ac_save_CFLAGS=$CFLAGS
  4861 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4862 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4863 if test "${ac_cv_prog_cc_g+set}" = set; then
  4864   $as_echo_n "(cached) " >&6
  4865 else
  4866   ac_save_c_werror_flag=$ac_c_werror_flag
  4867    ac_c_werror_flag=yes
  4868    ac_cv_prog_cc_g=no
  4869    CFLAGS="-g"
  4870    cat >conftest.$ac_ext <<_ACEOF
  4871 /* confdefs.h.  */
  4872 _ACEOF
  4873 cat confdefs.h >>conftest.$ac_ext
  4874 cat >>conftest.$ac_ext <<_ACEOF
  4875 /* end confdefs.h.  */
  4877 int
  4878 main ()
  4882   return 0;
  4884 _ACEOF
  4885 rm -f conftest.$ac_objext
  4886 if { (ac_try="$ac_compile"
  4887 case "(($ac_try" in
  4888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4889   *) ac_try_echo=$ac_try;;
  4890 esac
  4891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4892 $as_echo "$ac_try_echo") >&5
  4893   (eval "$ac_compile") 2>conftest.er1
  4894   ac_status=$?
  4895   grep -v '^ *+' conftest.er1 >conftest.err
  4896   rm -f conftest.er1
  4897   cat conftest.err >&5
  4898   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4899   (exit $ac_status); } && {
  4900 	 test -z "$ac_c_werror_flag" ||
  4901 	 test ! -s conftest.err
  4902        } && test -s conftest.$ac_objext; then
  4903   ac_cv_prog_cc_g=yes
  4904 else
  4905   $as_echo "$as_me: failed program was:" >&5
  4906 sed 's/^/| /' conftest.$ac_ext >&5
  4908 	CFLAGS=""
  4909       cat >conftest.$ac_ext <<_ACEOF
  4910 /* confdefs.h.  */
  4911 _ACEOF
  4912 cat confdefs.h >>conftest.$ac_ext
  4913 cat >>conftest.$ac_ext <<_ACEOF
  4914 /* end confdefs.h.  */
  4916 int
  4917 main ()
  4921   return 0;
  4923 _ACEOF
  4924 rm -f conftest.$ac_objext
  4925 if { (ac_try="$ac_compile"
  4926 case "(($ac_try" in
  4927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4928   *) ac_try_echo=$ac_try;;
  4929 esac
  4930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4931 $as_echo "$ac_try_echo") >&5
  4932   (eval "$ac_compile") 2>conftest.er1
  4933   ac_status=$?
  4934   grep -v '^ *+' conftest.er1 >conftest.err
  4935   rm -f conftest.er1
  4936   cat conftest.err >&5
  4937   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4938   (exit $ac_status); } && {
  4939 	 test -z "$ac_c_werror_flag" ||
  4940 	 test ! -s conftest.err
  4941        } && test -s conftest.$ac_objext; then
  4943 else
  4944   $as_echo "$as_me: failed program was:" >&5
  4945 sed 's/^/| /' conftest.$ac_ext >&5
  4947 	ac_c_werror_flag=$ac_save_c_werror_flag
  4948 	 CFLAGS="-g"
  4949 	 cat >conftest.$ac_ext <<_ACEOF
  4950 /* confdefs.h.  */
  4951 _ACEOF
  4952 cat confdefs.h >>conftest.$ac_ext
  4953 cat >>conftest.$ac_ext <<_ACEOF
  4954 /* end confdefs.h.  */
  4956 int
  4957 main ()
  4961   return 0;
  4963 _ACEOF
  4964 rm -f conftest.$ac_objext
  4965 if { (ac_try="$ac_compile"
  4966 case "(($ac_try" in
  4967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4968   *) ac_try_echo=$ac_try;;
  4969 esac
  4970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4971 $as_echo "$ac_try_echo") >&5
  4972   (eval "$ac_compile") 2>conftest.er1
  4973   ac_status=$?
  4974   grep -v '^ *+' conftest.er1 >conftest.err
  4975   rm -f conftest.er1
  4976   cat conftest.err >&5
  4977   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4978   (exit $ac_status); } && {
  4979 	 test -z "$ac_c_werror_flag" ||
  4980 	 test ! -s conftest.err
  4981        } && test -s conftest.$ac_objext; then
  4982   ac_cv_prog_cc_g=yes
  4983 else
  4984   $as_echo "$as_me: failed program was:" >&5
  4985 sed 's/^/| /' conftest.$ac_ext >&5
  4988 fi
  4990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4991 fi
  4993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4994 fi
  4996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4997    ac_c_werror_flag=$ac_save_c_werror_flag
  4998 fi
  4999 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  5000 $as_echo "$ac_cv_prog_cc_g" >&6; }
  5001 if test "$ac_test_CFLAGS" = set; then
  5002   CFLAGS=$ac_save_CFLAGS
  5003 elif test $ac_cv_prog_cc_g = yes; then
  5004   if test "$GCC" = yes; then
  5005     CFLAGS="-g -O2"
  5006   else
  5007     CFLAGS="-g"
  5008   fi
  5009 else
  5010   if test "$GCC" = yes; then
  5011     CFLAGS="-O2"
  5012   else
  5013     CFLAGS=
  5014   fi
  5015 fi
  5016 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  5017 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  5018 if test "${ac_cv_prog_cc_c89+set}" = set; then
  5019   $as_echo_n "(cached) " >&6
  5020 else
  5021   ac_cv_prog_cc_c89=no
  5022 ac_save_CC=$CC
  5023 cat >conftest.$ac_ext <<_ACEOF
  5024 /* confdefs.h.  */
  5025 _ACEOF
  5026 cat confdefs.h >>conftest.$ac_ext
  5027 cat >>conftest.$ac_ext <<_ACEOF
  5028 /* end confdefs.h.  */
  5029 #include <stdarg.h>
  5030 #include <stdio.h>
  5031 #include <sys/types.h>
  5032 #include <sys/stat.h>
  5033 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  5034 struct buf { int x; };
  5035 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  5036 static char *e (p, i)
  5037      char **p;
  5038      int i;
  5040   return p[i];
  5042 static char *f (char * (*g) (char **, int), char **p, ...)
  5044   char *s;
  5045   va_list v;
  5046   va_start (v,p);
  5047   s = g (p, va_arg (v,int));
  5048   va_end (v);
  5049   return s;
  5052 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  5053    function prototypes and stuff, but not '\xHH' hex character constants.
  5054    These don't provoke an error unfortunately, instead are silently treated
  5055    as 'x'.  The following induces an error, until -std is added to get
  5056    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  5057    array size at least.  It's necessary to write '\x00'==0 to get something
  5058    that's true only with -std.  */
  5059 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  5061 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  5062    inside strings and character constants.  */
  5063 #define FOO(x) 'x'
  5064 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  5066 int test (int i, double x);
  5067 struct s1 {int (*f) (int a);};
  5068 struct s2 {int (*f) (double a);};
  5069 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  5070 int argc;
  5071 char **argv;
  5072 int
  5073 main ()
  5075 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  5077   return 0;
  5079 _ACEOF
  5080 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  5081 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5082 do
  5083   CC="$ac_save_CC $ac_arg"
  5084   rm -f conftest.$ac_objext
  5085 if { (ac_try="$ac_compile"
  5086 case "(($ac_try" in
  5087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5088   *) ac_try_echo=$ac_try;;
  5089 esac
  5090 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5091 $as_echo "$ac_try_echo") >&5
  5092   (eval "$ac_compile") 2>conftest.er1
  5093   ac_status=$?
  5094   grep -v '^ *+' conftest.er1 >conftest.err
  5095   rm -f conftest.er1
  5096   cat conftest.err >&5
  5097   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5098   (exit $ac_status); } && {
  5099 	 test -z "$ac_c_werror_flag" ||
  5100 	 test ! -s conftest.err
  5101        } && test -s conftest.$ac_objext; then
  5102   ac_cv_prog_cc_c89=$ac_arg
  5103 else
  5104   $as_echo "$as_me: failed program was:" >&5
  5105 sed 's/^/| /' conftest.$ac_ext >&5
  5108 fi
  5110 rm -f core conftest.err conftest.$ac_objext
  5111   test "x$ac_cv_prog_cc_c89" != "xno" && break
  5112 done
  5113 rm -f conftest.$ac_ext
  5114 CC=$ac_save_CC
  5116 fi
  5117 # AC_CACHE_VAL
  5118 case "x$ac_cv_prog_cc_c89" in
  5119   x)
  5120     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  5121 $as_echo "none needed" >&6; } ;;
  5122   xno)
  5123     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  5124 $as_echo "unsupported" >&6; } ;;
  5125   *)
  5126     CC="$CC $ac_cv_prog_cc_c89"
  5127     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  5128 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  5129 esac
  5132 ac_ext=c
  5133 ac_cpp='$CPP $CPPFLAGS'
  5134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5138 depcc="$CC"   am_compiler_list=
  5140 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  5141 $as_echo_n "checking dependency style of $depcc... " >&6; }
  5142 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  5143   $as_echo_n "(cached) " >&6
  5144 else
  5145   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5146   # We make a subdir and do the tests there.  Otherwise we can end up
  5147   # making bogus files that we don't know about and never remove.  For
  5148   # instance it was reported that on HP-UX the gcc test will end up
  5149   # making a dummy file named `D' -- because `-MD' means `put the output
  5150   # in D'.
  5151   mkdir conftest.dir
  5152   # Copy depcomp to subdir because otherwise we won't find it if we're
  5153   # using a relative directory.
  5154   cp "$am_depcomp" conftest.dir
  5155   cd conftest.dir
  5156   # We will build objects and dependencies in a subdirectory because
  5157   # it helps to detect inapplicable dependency modes.  For instance
  5158   # both Tru64's cc and ICC support -MD to output dependencies as a
  5159   # side effect of compilation, but ICC will put the dependencies in
  5160   # the current directory while Tru64 will put them in the object
  5161   # directory.
  5162   mkdir sub
  5164   am_cv_CC_dependencies_compiler_type=none
  5165   if test "$am_compiler_list" = ""; then
  5166      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5167   fi
  5168   for depmode in $am_compiler_list; do
  5169     # Setup a source with many dependencies, because some compilers
  5170     # like to wrap large dependency lists on column 80 (with \), and
  5171     # we should not choose a depcomp mode which is confused by this.
  5173     # We need to recreate these files for each test, as the compiler may
  5174     # overwrite some of them when testing with obscure command lines.
  5175     # This happens at least with the AIX C compiler.
  5176     : > sub/conftest.c
  5177     for i in 1 2 3 4 5 6; do
  5178       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5179       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  5180       # Solaris 8's {/usr,}/bin/sh.
  5181       touch sub/conftst$i.h
  5182     done
  5183     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5185     case $depmode in
  5186     nosideeffect)
  5187       # after this tag, mechanisms are not by side-effect, so they'll
  5188       # only be used when explicitly requested
  5189       if test "x$enable_dependency_tracking" = xyes; then
  5190 	continue
  5191       else
  5192 	break
  5193       fi
  5194       ;;
  5195     none) break ;;
  5196     esac
  5197     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5198     # mode.  It turns out that the SunPro C++ compiler does not properly
  5199     # handle `-M -o', and we need to detect this.
  5200     if depmode=$depmode \
  5201        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  5202        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5203        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  5204          >/dev/null 2>conftest.err &&
  5205        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5206        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  5207        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5208       # icc doesn't choke on unknown options, it will just issue warnings
  5209       # or remarks (even with -Werror).  So we grep stderr for any message
  5210       # that says an option was ignored or not supported.
  5211       # When given -MP, icc 7.0 and 7.1 complain thusly:
  5212       #   icc: Command line warning: ignoring option '-M'; no argument required
  5213       # The diagnosis changed in icc 8.0:
  5214       #   icc: Command line remark: option '-MP' not supported
  5215       if (grep 'ignoring option' conftest.err ||
  5216           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5217         am_cv_CC_dependencies_compiler_type=$depmode
  5218         break
  5219       fi
  5220     fi
  5221   done
  5223   cd ..
  5224   rm -rf conftest.dir
  5225 else
  5226   am_cv_CC_dependencies_compiler_type=none
  5227 fi
  5229 fi
  5230 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  5231 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  5232 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5236 if
  5237   test "x$enable_dependency_tracking" != xno \
  5238   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5239   am__fastdepCC_TRUE=
  5240   am__fastdepCC_FALSE='#'
  5241 else
  5242   am__fastdepCC_TRUE='#'
  5243   am__fastdepCC_FALSE=
  5244 fi
  5248 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  5250 ac_ext=m
  5251 ac_cpp='$OBJCPP $CPPFLAGS'
  5252 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5253 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5254 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  5255 if test -n "$ac_tool_prefix"; then
  5256   for ac_prog in gcc objcc objc cc CC
  5257   do
  5258     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5259 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5260 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5261 $as_echo_n "checking for $ac_word... " >&6; }
  5262 if test "${ac_cv_prog_OBJC+set}" = set; then
  5263   $as_echo_n "(cached) " >&6
  5264 else
  5265   if test -n "$OBJC"; then
  5266   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  5267 else
  5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5269 for as_dir in $PATH
  5270 do
  5271   IFS=$as_save_IFS
  5272   test -z "$as_dir" && as_dir=.
  5273   for ac_exec_ext in '' $ac_executable_extensions; do
  5274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5275     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  5276     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5277     break 2
  5278   fi
  5279 done
  5280 done
  5281 IFS=$as_save_IFS
  5283 fi
  5284 fi
  5285 OBJC=$ac_cv_prog_OBJC
  5286 if test -n "$OBJC"; then
  5287   { $as_echo "$as_me:$LINENO: result: $OBJC" >&5
  5288 $as_echo "$OBJC" >&6; }
  5289 else
  5290   { $as_echo "$as_me:$LINENO: result: no" >&5
  5291 $as_echo "no" >&6; }
  5292 fi
  5295     test -n "$OBJC" && break
  5296   done
  5297 fi
  5298 if test -z "$OBJC"; then
  5299   ac_ct_OBJC=$OBJC
  5300   for ac_prog in gcc objcc objc cc CC
  5301 do
  5302   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5303 set dummy $ac_prog; ac_word=$2
  5304 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5305 $as_echo_n "checking for $ac_word... " >&6; }
  5306 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
  5307   $as_echo_n "(cached) " >&6
  5308 else
  5309   if test -n "$ac_ct_OBJC"; then
  5310   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  5311 else
  5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5313 for as_dir in $PATH
  5314 do
  5315   IFS=$as_save_IFS
  5316   test -z "$as_dir" && as_dir=.
  5317   for ac_exec_ext in '' $ac_executable_extensions; do
  5318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5319     ac_cv_prog_ac_ct_OBJC="$ac_prog"
  5320     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5321     break 2
  5322   fi
  5323 done
  5324 done
  5325 IFS=$as_save_IFS
  5327 fi
  5328 fi
  5329 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  5330 if test -n "$ac_ct_OBJC"; then
  5331   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
  5332 $as_echo "$ac_ct_OBJC" >&6; }
  5333 else
  5334   { $as_echo "$as_me:$LINENO: result: no" >&5
  5335 $as_echo "no" >&6; }
  5336 fi
  5339   test -n "$ac_ct_OBJC" && break
  5340 done
  5342   if test "x$ac_ct_OBJC" = x; then
  5343     OBJC="gcc"
  5344   else
  5345     case $cross_compiling:$ac_tool_warned in
  5346 yes:)
  5347 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5348 whose name does not start with the host triplet.  If you think this
  5349 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5350 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5351 whose name does not start with the host triplet.  If you think this
  5352 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5353 ac_tool_warned=yes ;;
  5354 esac
  5355     OBJC=$ac_ct_OBJC
  5356   fi
  5357 fi
  5359 # Provide some information about the compiler.
  5360 $as_echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
  5361 set X $ac_compile
  5362 ac_compiler=$2
  5363 { (ac_try="$ac_compiler --version >&5"
  5364 case "(($ac_try" in
  5365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5366   *) ac_try_echo=$ac_try;;
  5367 esac
  5368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5369 $as_echo "$ac_try_echo") >&5
  5370   (eval "$ac_compiler --version >&5") 2>&5
  5371   ac_status=$?
  5372   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5373   (exit $ac_status); }
  5374 { (ac_try="$ac_compiler -v >&5"
  5375 case "(($ac_try" in
  5376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5377   *) ac_try_echo=$ac_try;;
  5378 esac
  5379 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5380 $as_echo "$ac_try_echo") >&5
  5381   (eval "$ac_compiler -v >&5") 2>&5
  5382   ac_status=$?
  5383   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5384   (exit $ac_status); }
  5385 { (ac_try="$ac_compiler -V >&5"
  5386 case "(($ac_try" in
  5387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5388   *) ac_try_echo=$ac_try;;
  5389 esac
  5390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5391 $as_echo "$ac_try_echo") >&5
  5392   (eval "$ac_compiler -V >&5") 2>&5
  5393   ac_status=$?
  5394   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5395   (exit $ac_status); }
  5397 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
  5398 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
  5399 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
  5400   $as_echo_n "(cached) " >&6
  5401 else
  5402   cat >conftest.$ac_ext <<_ACEOF
  5403 /* confdefs.h.  */
  5404 _ACEOF
  5405 cat confdefs.h >>conftest.$ac_ext
  5406 cat >>conftest.$ac_ext <<_ACEOF
  5407 /* end confdefs.h.  */
  5409 int
  5410 main ()
  5412 #ifndef __GNUC__
  5413        choke me
  5414 #endif
  5417   return 0;
  5419 _ACEOF
  5420 rm -f conftest.$ac_objext
  5421 if { (ac_try="$ac_compile"
  5422 case "(($ac_try" in
  5423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5424   *) ac_try_echo=$ac_try;;
  5425 esac
  5426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5427 $as_echo "$ac_try_echo") >&5
  5428   (eval "$ac_compile") 2>conftest.er1
  5429   ac_status=$?
  5430   grep -v '^ *+' conftest.er1 >conftest.err
  5431   rm -f conftest.er1
  5432   cat conftest.err >&5
  5433   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5434   (exit $ac_status); } && {
  5435 	 test -z "$ac_objc_werror_flag" ||
  5436 	 test ! -s conftest.err
  5437        } && test -s conftest.$ac_objext; then
  5438   ac_compiler_gnu=yes
  5439 else
  5440   $as_echo "$as_me: failed program was:" >&5
  5441 sed 's/^/| /' conftest.$ac_ext >&5
  5443 	ac_compiler_gnu=no
  5444 fi
  5446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5447 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  5449 fi
  5450 { $as_echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
  5451 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
  5452 if test $ac_compiler_gnu = yes; then
  5453   GOBJC=yes
  5454 else
  5455   GOBJC=
  5456 fi
  5457 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
  5458 ac_save_OBJCFLAGS=$OBJCFLAGS
  5459 { $as_echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
  5460 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
  5461 if test "${ac_cv_prog_objc_g+set}" = set; then
  5462   $as_echo_n "(cached) " >&6
  5463 else
  5464   ac_save_objc_werror_flag=$ac_objc_werror_flag
  5465    ac_objc_werror_flag=yes
  5466    ac_cv_prog_objc_g=no
  5467    OBJCFLAGS="-g"
  5468    cat >conftest.$ac_ext <<_ACEOF
  5469 /* confdefs.h.  */
  5470 _ACEOF
  5471 cat confdefs.h >>conftest.$ac_ext
  5472 cat >>conftest.$ac_ext <<_ACEOF
  5473 /* end confdefs.h.  */
  5475 int
  5476 main ()
  5480   return 0;
  5482 _ACEOF
  5483 rm -f conftest.$ac_objext
  5484 if { (ac_try="$ac_compile"
  5485 case "(($ac_try" in
  5486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5487   *) ac_try_echo=$ac_try;;
  5488 esac
  5489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5490 $as_echo "$ac_try_echo") >&5
  5491   (eval "$ac_compile") 2>conftest.er1
  5492   ac_status=$?
  5493   grep -v '^ *+' conftest.er1 >conftest.err
  5494   rm -f conftest.er1
  5495   cat conftest.err >&5
  5496   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5497   (exit $ac_status); } && {
  5498 	 test -z "$ac_objc_werror_flag" ||
  5499 	 test ! -s conftest.err
  5500        } && test -s conftest.$ac_objext; then
  5501   ac_cv_prog_objc_g=yes
  5502 else
  5503   $as_echo "$as_me: failed program was:" >&5
  5504 sed 's/^/| /' conftest.$ac_ext >&5
  5506 	OBJCFLAGS=""
  5507       cat >conftest.$ac_ext <<_ACEOF
  5508 /* confdefs.h.  */
  5509 _ACEOF
  5510 cat confdefs.h >>conftest.$ac_ext
  5511 cat >>conftest.$ac_ext <<_ACEOF
  5512 /* end confdefs.h.  */
  5514 int
  5515 main ()
  5519   return 0;
  5521 _ACEOF
  5522 rm -f conftest.$ac_objext
  5523 if { (ac_try="$ac_compile"
  5524 case "(($ac_try" in
  5525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5526   *) ac_try_echo=$ac_try;;
  5527 esac
  5528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5529 $as_echo "$ac_try_echo") >&5
  5530   (eval "$ac_compile") 2>conftest.er1
  5531   ac_status=$?
  5532   grep -v '^ *+' conftest.er1 >conftest.err
  5533   rm -f conftest.er1
  5534   cat conftest.err >&5
  5535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5536   (exit $ac_status); } && {
  5537 	 test -z "$ac_objc_werror_flag" ||
  5538 	 test ! -s conftest.err
  5539        } && test -s conftest.$ac_objext; then
  5541 else
  5542   $as_echo "$as_me: failed program was:" >&5
  5543 sed 's/^/| /' conftest.$ac_ext >&5
  5545 	ac_objc_werror_flag=$ac_save_objc_werror_flag
  5546 	 OBJCFLAGS="-g"
  5547 	 cat >conftest.$ac_ext <<_ACEOF
  5548 /* confdefs.h.  */
  5549 _ACEOF
  5550 cat confdefs.h >>conftest.$ac_ext
  5551 cat >>conftest.$ac_ext <<_ACEOF
  5552 /* end confdefs.h.  */
  5554 int
  5555 main ()
  5559   return 0;
  5561 _ACEOF
  5562 rm -f conftest.$ac_objext
  5563 if { (ac_try="$ac_compile"
  5564 case "(($ac_try" in
  5565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5566   *) ac_try_echo=$ac_try;;
  5567 esac
  5568 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5569 $as_echo "$ac_try_echo") >&5
  5570   (eval "$ac_compile") 2>conftest.er1
  5571   ac_status=$?
  5572   grep -v '^ *+' conftest.er1 >conftest.err
  5573   rm -f conftest.er1
  5574   cat conftest.err >&5
  5575   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5576   (exit $ac_status); } && {
  5577 	 test -z "$ac_objc_werror_flag" ||
  5578 	 test ! -s conftest.err
  5579        } && test -s conftest.$ac_objext; then
  5580   ac_cv_prog_objc_g=yes
  5581 else
  5582   $as_echo "$as_me: failed program was:" >&5
  5583 sed 's/^/| /' conftest.$ac_ext >&5
  5586 fi
  5588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5589 fi
  5591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5592 fi
  5594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5595    ac_objc_werror_flag=$ac_save_objc_werror_flag
  5596 fi
  5597 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
  5598 $as_echo "$ac_cv_prog_objc_g" >&6; }
  5599 if test "$ac_test_OBJCFLAGS" = set; then
  5600   OBJCFLAGS=$ac_save_OBJCFLAGS
  5601 elif test $ac_cv_prog_objc_g = yes; then
  5602   if test "$GOBJC" = yes; then
  5603     OBJCFLAGS="-g -O2"
  5604   else
  5605     OBJCFLAGS="-g"
  5606   fi
  5607 else
  5608   if test "$GOBJC" = yes; then
  5609     OBJCFLAGS="-O2"
  5610   else
  5611     OBJCFLAGS=
  5612   fi
  5613 fi
  5614 ac_ext=c
  5615 ac_cpp='$CPP $CPPFLAGS'
  5616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5620 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  5621 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  5622 if test "${ac_cv_path_SED+set}" = set; then
  5623   $as_echo_n "(cached) " >&6
  5624 else
  5625             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  5626      for ac_i in 1 2 3 4 5 6 7; do
  5627        ac_script="$ac_script$as_nl$ac_script"
  5628      done
  5629      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  5630      $as_unset ac_script || ac_script=
  5631      if test -z "$SED"; then
  5632   ac_path_SED_found=false
  5633   # Loop through the user's path and test for each of PROGNAME-LIST
  5634   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5635 for as_dir in $PATH
  5636 do
  5637   IFS=$as_save_IFS
  5638   test -z "$as_dir" && as_dir=.
  5639   for ac_prog in sed gsed; do
  5640     for ac_exec_ext in '' $ac_executable_extensions; do
  5641       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  5642       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  5643 # Check for GNU ac_path_SED and select it if it is found.
  5644   # Check for GNU $ac_path_SED
  5645 case `"$ac_path_SED" --version 2>&1` in
  5646 *GNU*)
  5647   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  5648 *)
  5649   ac_count=0
  5650   $as_echo_n 0123456789 >"conftest.in"
  5651   while :
  5652   do
  5653     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5654     mv "conftest.tmp" "conftest.in"
  5655     cp "conftest.in" "conftest.nl"
  5656     $as_echo '' >> "conftest.nl"
  5657     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5658     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5659     ac_count=`expr $ac_count + 1`
  5660     if test $ac_count -gt ${ac_path_SED_max-0}; then
  5661       # Best one so far, save it but keep looking for a better one
  5662       ac_cv_path_SED="$ac_path_SED"
  5663       ac_path_SED_max=$ac_count
  5664     fi
  5665     # 10*(2^10) chars as input seems more than enough
  5666     test $ac_count -gt 10 && break
  5667   done
  5668   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5669 esac
  5671       $ac_path_SED_found && break 3
  5672     done
  5673   done
  5674 done
  5675 IFS=$as_save_IFS
  5676   if test -z "$ac_cv_path_SED"; then
  5677     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
  5678 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
  5679    { (exit 1); exit 1; }; }
  5680   fi
  5681 else
  5682   ac_cv_path_SED=$SED
  5683 fi
  5685 fi
  5686 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  5687 $as_echo "$ac_cv_path_SED" >&6; }
  5688  SED="$ac_cv_path_SED"
  5689   rm -f conftest.sed
  5691 # By default we simply use the C compiler to build assembly code.
  5693 test "${CCAS+set}" = set || CCAS=$CC
  5694 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
  5698 ac_ext=c
  5699 ac_cpp='$CPP $CPPFLAGS'
  5700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5703 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5704 $as_echo_n "checking how to run the C preprocessor... " >&6; }
  5705 # On Suns, sometimes $CPP names a directory.
  5706 if test -n "$CPP" && test -d "$CPP"; then
  5707   CPP=
  5708 fi
  5709 if test -z "$CPP"; then
  5710   if test "${ac_cv_prog_CPP+set}" = set; then
  5711   $as_echo_n "(cached) " >&6
  5712 else
  5713       # Double quotes because CPP needs to be expanded
  5714     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5715     do
  5716       ac_preproc_ok=false
  5717 for ac_c_preproc_warn_flag in '' yes
  5718 do
  5719   # Use a header file that comes with gcc, so configuring glibc
  5720   # with a fresh cross-compiler works.
  5721   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5722   # <limits.h> exists even on freestanding compilers.
  5723   # On the NeXT, cc -E runs the code through the compiler's parser,
  5724   # not just through cpp. "Syntax error" is here to catch this case.
  5725   cat >conftest.$ac_ext <<_ACEOF
  5726 /* confdefs.h.  */
  5727 _ACEOF
  5728 cat confdefs.h >>conftest.$ac_ext
  5729 cat >>conftest.$ac_ext <<_ACEOF
  5730 /* end confdefs.h.  */
  5731 #ifdef __STDC__
  5732 # include <limits.h>
  5733 #else
  5734 # include <assert.h>
  5735 #endif
  5736 		     Syntax error
  5737 _ACEOF
  5738 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5739 case "(($ac_try" in
  5740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5741   *) ac_try_echo=$ac_try;;
  5742 esac
  5743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5744 $as_echo "$ac_try_echo") >&5
  5745   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5746   ac_status=$?
  5747   grep -v '^ *+' conftest.er1 >conftest.err
  5748   rm -f conftest.er1
  5749   cat conftest.err >&5
  5750   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5751   (exit $ac_status); } >/dev/null && {
  5752 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5753 	 test ! -s conftest.err
  5754        }; then
  5756 else
  5757   $as_echo "$as_me: failed program was:" >&5
  5758 sed 's/^/| /' conftest.$ac_ext >&5
  5760   # Broken: fails on valid input.
  5761 continue
  5762 fi
  5764 rm -f conftest.err conftest.$ac_ext
  5766   # OK, works on sane cases.  Now check whether nonexistent headers
  5767   # can be detected and how.
  5768   cat >conftest.$ac_ext <<_ACEOF
  5769 /* confdefs.h.  */
  5770 _ACEOF
  5771 cat confdefs.h >>conftest.$ac_ext
  5772 cat >>conftest.$ac_ext <<_ACEOF
  5773 /* end confdefs.h.  */
  5774 #include <ac_nonexistent.h>
  5775 _ACEOF
  5776 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5777 case "(($ac_try" in
  5778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5779   *) ac_try_echo=$ac_try;;
  5780 esac
  5781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5782 $as_echo "$ac_try_echo") >&5
  5783   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5784   ac_status=$?
  5785   grep -v '^ *+' conftest.er1 >conftest.err
  5786   rm -f conftest.er1
  5787   cat conftest.err >&5
  5788   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5789   (exit $ac_status); } >/dev/null && {
  5790 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5791 	 test ! -s conftest.err
  5792        }; then
  5793   # Broken: success on invalid input.
  5794 continue
  5795 else
  5796   $as_echo "$as_me: failed program was:" >&5
  5797 sed 's/^/| /' conftest.$ac_ext >&5
  5799   # Passes both tests.
  5800 ac_preproc_ok=:
  5801 break
  5802 fi
  5804 rm -f conftest.err conftest.$ac_ext
  5806 done
  5807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5808 rm -f conftest.err conftest.$ac_ext
  5809 if $ac_preproc_ok; then
  5810   break
  5811 fi
  5813     done
  5814     ac_cv_prog_CPP=$CPP
  5816 fi
  5817   CPP=$ac_cv_prog_CPP
  5818 else
  5819   ac_cv_prog_CPP=$CPP
  5820 fi
  5821 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
  5822 $as_echo "$CPP" >&6; }
  5823 ac_preproc_ok=false
  5824 for ac_c_preproc_warn_flag in '' yes
  5825 do
  5826   # Use a header file that comes with gcc, so configuring glibc
  5827   # with a fresh cross-compiler works.
  5828   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5829   # <limits.h> exists even on freestanding compilers.
  5830   # On the NeXT, cc -E runs the code through the compiler's parser,
  5831   # not just through cpp. "Syntax error" is here to catch this case.
  5832   cat >conftest.$ac_ext <<_ACEOF
  5833 /* confdefs.h.  */
  5834 _ACEOF
  5835 cat confdefs.h >>conftest.$ac_ext
  5836 cat >>conftest.$ac_ext <<_ACEOF
  5837 /* end confdefs.h.  */
  5838 #ifdef __STDC__
  5839 # include <limits.h>
  5840 #else
  5841 # include <assert.h>
  5842 #endif
  5843 		     Syntax error
  5844 _ACEOF
  5845 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5846 case "(($ac_try" in
  5847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5848   *) ac_try_echo=$ac_try;;
  5849 esac
  5850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5851 $as_echo "$ac_try_echo") >&5
  5852   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5853   ac_status=$?
  5854   grep -v '^ *+' conftest.er1 >conftest.err
  5855   rm -f conftest.er1
  5856   cat conftest.err >&5
  5857   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5858   (exit $ac_status); } >/dev/null && {
  5859 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5860 	 test ! -s conftest.err
  5861        }; then
  5863 else
  5864   $as_echo "$as_me: failed program was:" >&5
  5865 sed 's/^/| /' conftest.$ac_ext >&5
  5867   # Broken: fails on valid input.
  5868 continue
  5869 fi
  5871 rm -f conftest.err conftest.$ac_ext
  5873   # OK, works on sane cases.  Now check whether nonexistent headers
  5874   # can be detected and how.
  5875   cat >conftest.$ac_ext <<_ACEOF
  5876 /* confdefs.h.  */
  5877 _ACEOF
  5878 cat confdefs.h >>conftest.$ac_ext
  5879 cat >>conftest.$ac_ext <<_ACEOF
  5880 /* end confdefs.h.  */
  5881 #include <ac_nonexistent.h>
  5882 _ACEOF
  5883 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5884 case "(($ac_try" in
  5885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5886   *) ac_try_echo=$ac_try;;
  5887 esac
  5888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5889 $as_echo "$ac_try_echo") >&5
  5890   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5891   ac_status=$?
  5892   grep -v '^ *+' conftest.er1 >conftest.err
  5893   rm -f conftest.er1
  5894   cat conftest.err >&5
  5895   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5896   (exit $ac_status); } >/dev/null && {
  5897 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5898 	 test ! -s conftest.err
  5899        }; then
  5900   # Broken: success on invalid input.
  5901 continue
  5902 else
  5903   $as_echo "$as_me: failed program was:" >&5
  5904 sed 's/^/| /' conftest.$ac_ext >&5
  5906   # Passes both tests.
  5907 ac_preproc_ok=:
  5908 break
  5909 fi
  5911 rm -f conftest.err conftest.$ac_ext
  5913 done
  5914 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5915 rm -f conftest.err conftest.$ac_ext
  5916 if $ac_preproc_ok; then
  5918 else
  5919   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  5920 See \`config.log' for more details." >&5
  5921 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  5922 See \`config.log' for more details." >&2;}
  5923    { (exit 1); exit 1; }; }
  5924 fi
  5926 ac_ext=c
  5927 ac_cpp='$CPP $CPPFLAGS'
  5928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5933 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  5934 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  5935 if test "${ac_cv_path_GREP+set}" = set; then
  5936   $as_echo_n "(cached) " >&6
  5937 else
  5938   if test -z "$GREP"; then
  5939   ac_path_GREP_found=false
  5940   # Loop through the user's path and test for each of PROGNAME-LIST
  5941   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5942 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5943 do
  5944   IFS=$as_save_IFS
  5945   test -z "$as_dir" && as_dir=.
  5946   for ac_prog in grep ggrep; do
  5947     for ac_exec_ext in '' $ac_executable_extensions; do
  5948       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  5949       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  5950 # Check for GNU ac_path_GREP and select it if it is found.
  5951   # Check for GNU $ac_path_GREP
  5952 case `"$ac_path_GREP" --version 2>&1` in
  5953 *GNU*)
  5954   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  5955 *)
  5956   ac_count=0
  5957   $as_echo_n 0123456789 >"conftest.in"
  5958   while :
  5959   do
  5960     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5961     mv "conftest.tmp" "conftest.in"
  5962     cp "conftest.in" "conftest.nl"
  5963     $as_echo 'GREP' >> "conftest.nl"
  5964     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5965     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5966     ac_count=`expr $ac_count + 1`
  5967     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  5968       # Best one so far, save it but keep looking for a better one
  5969       ac_cv_path_GREP="$ac_path_GREP"
  5970       ac_path_GREP_max=$ac_count
  5971     fi
  5972     # 10*(2^10) chars as input seems more than enough
  5973     test $ac_count -gt 10 && break
  5974   done
  5975   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5976 esac
  5978       $ac_path_GREP_found && break 3
  5979     done
  5980   done
  5981 done
  5982 IFS=$as_save_IFS
  5983   if test -z "$ac_cv_path_GREP"; then
  5984     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5985 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5986    { (exit 1); exit 1; }; }
  5987   fi
  5988 else
  5989   ac_cv_path_GREP=$GREP
  5990 fi
  5992 fi
  5993 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  5994 $as_echo "$ac_cv_path_GREP" >&6; }
  5995  GREP="$ac_cv_path_GREP"
  5998 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
  5999 $as_echo_n "checking for egrep... " >&6; }
  6000 if test "${ac_cv_path_EGREP+set}" = set; then
  6001   $as_echo_n "(cached) " >&6
  6002 else
  6003   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  6004    then ac_cv_path_EGREP="$GREP -E"
  6005    else
  6006      if test -z "$EGREP"; then
  6007   ac_path_EGREP_found=false
  6008   # Loop through the user's path and test for each of PROGNAME-LIST
  6009   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6010 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  6011 do
  6012   IFS=$as_save_IFS
  6013   test -z "$as_dir" && as_dir=.
  6014   for ac_prog in egrep; do
  6015     for ac_exec_ext in '' $ac_executable_extensions; do
  6016       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  6017       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  6018 # Check for GNU ac_path_EGREP and select it if it is found.
  6019   # Check for GNU $ac_path_EGREP
  6020 case `"$ac_path_EGREP" --version 2>&1` in
  6021 *GNU*)
  6022   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  6023 *)
  6024   ac_count=0
  6025   $as_echo_n 0123456789 >"conftest.in"
  6026   while :
  6027   do
  6028     cat "conftest.in" "conftest.in" >"conftest.tmp"
  6029     mv "conftest.tmp" "conftest.in"
  6030     cp "conftest.in" "conftest.nl"
  6031     $as_echo 'EGREP' >> "conftest.nl"
  6032     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6033     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6034     ac_count=`expr $ac_count + 1`
  6035     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  6036       # Best one so far, save it but keep looking for a better one
  6037       ac_cv_path_EGREP="$ac_path_EGREP"
  6038       ac_path_EGREP_max=$ac_count
  6039     fi
  6040     # 10*(2^10) chars as input seems more than enough
  6041     test $ac_count -gt 10 && break
  6042   done
  6043   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  6044 esac
  6046       $ac_path_EGREP_found && break 3
  6047     done
  6048   done
  6049 done
  6050 IFS=$as_save_IFS
  6051   if test -z "$ac_cv_path_EGREP"; then
  6052     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  6053 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  6054    { (exit 1); exit 1; }; }
  6055   fi
  6056 else
  6057   ac_cv_path_EGREP=$EGREP
  6058 fi
  6060    fi
  6061 fi
  6062 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  6063 $as_echo "$ac_cv_path_EGREP" >&6; }
  6064  EGREP="$ac_cv_path_EGREP"
  6067 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  6068 $as_echo_n "checking for ANSI C header files... " >&6; }
  6069 if test "${ac_cv_header_stdc+set}" = set; then
  6070   $as_echo_n "(cached) " >&6
  6071 else
  6072   cat >conftest.$ac_ext <<_ACEOF
  6073 /* confdefs.h.  */
  6074 _ACEOF
  6075 cat confdefs.h >>conftest.$ac_ext
  6076 cat >>conftest.$ac_ext <<_ACEOF
  6077 /* end confdefs.h.  */
  6078 #include <stdlib.h>
  6079 #include <stdarg.h>
  6080 #include <string.h>
  6081 #include <float.h>
  6083 int
  6084 main ()
  6088   return 0;
  6090 _ACEOF
  6091 rm -f conftest.$ac_objext
  6092 if { (ac_try="$ac_compile"
  6093 case "(($ac_try" in
  6094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6095   *) ac_try_echo=$ac_try;;
  6096 esac
  6097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6098 $as_echo "$ac_try_echo") >&5
  6099   (eval "$ac_compile") 2>conftest.er1
  6100   ac_status=$?
  6101   grep -v '^ *+' conftest.er1 >conftest.err
  6102   rm -f conftest.er1
  6103   cat conftest.err >&5
  6104   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6105   (exit $ac_status); } && {
  6106 	 test -z "$ac_c_werror_flag" ||
  6107 	 test ! -s conftest.err
  6108        } && test -s conftest.$ac_objext; then
  6109   ac_cv_header_stdc=yes
  6110 else
  6111   $as_echo "$as_me: failed program was:" >&5
  6112 sed 's/^/| /' conftest.$ac_ext >&5
  6114 	ac_cv_header_stdc=no
  6115 fi
  6117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6119 if test $ac_cv_header_stdc = yes; then
  6120   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6121   cat >conftest.$ac_ext <<_ACEOF
  6122 /* confdefs.h.  */
  6123 _ACEOF
  6124 cat confdefs.h >>conftest.$ac_ext
  6125 cat >>conftest.$ac_ext <<_ACEOF
  6126 /* end confdefs.h.  */
  6127 #include <string.h>
  6129 _ACEOF
  6130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6131   $EGREP "memchr" >/dev/null 2>&1; then
  6133 else
  6134   ac_cv_header_stdc=no
  6135 fi
  6136 rm -f conftest*
  6138 fi
  6140 if test $ac_cv_header_stdc = yes; then
  6141   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6142   cat >conftest.$ac_ext <<_ACEOF
  6143 /* confdefs.h.  */
  6144 _ACEOF
  6145 cat confdefs.h >>conftest.$ac_ext
  6146 cat >>conftest.$ac_ext <<_ACEOF
  6147 /* end confdefs.h.  */
  6148 #include <stdlib.h>
  6150 _ACEOF
  6151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6152   $EGREP "free" >/dev/null 2>&1; then
  6154 else
  6155   ac_cv_header_stdc=no
  6156 fi
  6157 rm -f conftest*
  6159 fi
  6161 if test $ac_cv_header_stdc = yes; then
  6162   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6163   if test "$cross_compiling" = yes; then
  6165 else
  6166   cat >conftest.$ac_ext <<_ACEOF
  6167 /* confdefs.h.  */
  6168 _ACEOF
  6169 cat confdefs.h >>conftest.$ac_ext
  6170 cat >>conftest.$ac_ext <<_ACEOF
  6171 /* end confdefs.h.  */
  6172 #include <ctype.h>
  6173 #include <stdlib.h>
  6174 #if ((' ' & 0x0FF) == 0x020)
  6175 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6176 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6177 #else
  6178 # define ISLOWER(c) \
  6179 		   (('a' <= (c) && (c) <= 'i') \
  6180 		     || ('j' <= (c) && (c) <= 'r') \
  6181 		     || ('s' <= (c) && (c) <= 'z'))
  6182 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6183 #endif
  6185 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6186 int
  6187 main ()
  6189   int i;
  6190   for (i = 0; i < 256; i++)
  6191     if (XOR (islower (i), ISLOWER (i))
  6192 	|| toupper (i) != TOUPPER (i))
  6193       return 2;
  6194   return 0;
  6196 _ACEOF
  6197 rm -f conftest$ac_exeext
  6198 if { (ac_try="$ac_link"
  6199 case "(($ac_try" in
  6200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6201   *) ac_try_echo=$ac_try;;
  6202 esac
  6203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6204 $as_echo "$ac_try_echo") >&5
  6205   (eval "$ac_link") 2>&5
  6206   ac_status=$?
  6207   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6208   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6209   { (case "(($ac_try" in
  6210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6211   *) ac_try_echo=$ac_try;;
  6212 esac
  6213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6214 $as_echo "$ac_try_echo") >&5
  6215   (eval "$ac_try") 2>&5
  6216   ac_status=$?
  6217   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6218   (exit $ac_status); }; }; then
  6220 else
  6221   $as_echo "$as_me: program exited with status $ac_status" >&5
  6222 $as_echo "$as_me: failed program was:" >&5
  6223 sed 's/^/| /' conftest.$ac_ext >&5
  6225 ( exit $ac_status )
  6226 ac_cv_header_stdc=no
  6227 fi
  6228 rm -rf conftest.dSYM
  6229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6230 fi
  6233 fi
  6234 fi
  6235 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  6236 $as_echo "$ac_cv_header_stdc" >&6; }
  6237 if test $ac_cv_header_stdc = yes; then
  6239 cat >>confdefs.h <<\_ACEOF
  6240 #define STDC_HEADERS 1
  6241 _ACEOF
  6243 fi
  6245 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6255 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6256 		  inttypes.h stdint.h unistd.h
  6257 do
  6258 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6259 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  6260 $as_echo_n "checking for $ac_header... " >&6; }
  6261 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6262   $as_echo_n "(cached) " >&6
  6263 else
  6264   cat >conftest.$ac_ext <<_ACEOF
  6265 /* confdefs.h.  */
  6266 _ACEOF
  6267 cat confdefs.h >>conftest.$ac_ext
  6268 cat >>conftest.$ac_ext <<_ACEOF
  6269 /* end confdefs.h.  */
  6270 $ac_includes_default
  6272 #include <$ac_header>
  6273 _ACEOF
  6274 rm -f conftest.$ac_objext
  6275 if { (ac_try="$ac_compile"
  6276 case "(($ac_try" in
  6277   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6278   *) ac_try_echo=$ac_try;;
  6279 esac
  6280 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6281 $as_echo "$ac_try_echo") >&5
  6282   (eval "$ac_compile") 2>conftest.er1
  6283   ac_status=$?
  6284   grep -v '^ *+' conftest.er1 >conftest.err
  6285   rm -f conftest.er1
  6286   cat conftest.err >&5
  6287   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6288   (exit $ac_status); } && {
  6289 	 test -z "$ac_c_werror_flag" ||
  6290 	 test ! -s conftest.err
  6291        } && test -s conftest.$ac_objext; then
  6292   eval "$as_ac_Header=yes"
  6293 else
  6294   $as_echo "$as_me: failed program was:" >&5
  6295 sed 's/^/| /' conftest.$ac_ext >&5
  6297 	eval "$as_ac_Header=no"
  6298 fi
  6300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6301 fi
  6302 ac_res=`eval 'as_val=${'$as_ac_Header'}
  6303 		 $as_echo "$as_val"'`
  6304 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  6305 $as_echo "$ac_res" >&6; }
  6306 if test `eval 'as_val=${'$as_ac_Header'}
  6307 		 $as_echo "$as_val"'` = yes; then
  6308   cat >>confdefs.h <<_ACEOF
  6309 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6310 _ACEOF
  6312 fi
  6314 done
  6317 # The cast to long int works around a bug in the HP C Compiler
  6318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  6319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  6320 # This bug is HP SR number 8606223364.
  6321 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
  6322 $as_echo_n "checking size of void *... " >&6; }
  6323 if test "${ac_cv_sizeof_void_p+set}" = set; then
  6324   $as_echo_n "(cached) " >&6
  6325 else
  6326   if test "$cross_compiling" = yes; then
  6327   # Depending upon the size, compute the lo and hi bounds.
  6328 cat >conftest.$ac_ext <<_ACEOF
  6329 /* confdefs.h.  */
  6330 _ACEOF
  6331 cat confdefs.h >>conftest.$ac_ext
  6332 cat >>conftest.$ac_ext <<_ACEOF
  6333 /* end confdefs.h.  */
  6334 $ac_includes_default
  6335 int
  6336 main ()
  6338 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
  6339 test_array [0] = 0
  6342   return 0;
  6344 _ACEOF
  6345 rm -f conftest.$ac_objext
  6346 if { (ac_try="$ac_compile"
  6347 case "(($ac_try" in
  6348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6349   *) ac_try_echo=$ac_try;;
  6350 esac
  6351 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6352 $as_echo "$ac_try_echo") >&5
  6353   (eval "$ac_compile") 2>conftest.er1
  6354   ac_status=$?
  6355   grep -v '^ *+' conftest.er1 >conftest.err
  6356   rm -f conftest.er1
  6357   cat conftest.err >&5
  6358   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6359   (exit $ac_status); } && {
  6360 	 test -z "$ac_c_werror_flag" ||
  6361 	 test ! -s conftest.err
  6362        } && test -s conftest.$ac_objext; then
  6363   ac_lo=0 ac_mid=0
  6364   while :; do
  6365     cat >conftest.$ac_ext <<_ACEOF
  6366 /* confdefs.h.  */
  6367 _ACEOF
  6368 cat confdefs.h >>conftest.$ac_ext
  6369 cat >>conftest.$ac_ext <<_ACEOF
  6370 /* end confdefs.h.  */
  6371 $ac_includes_default
  6372 int
  6373 main ()
  6375 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  6376 test_array [0] = 0
  6379   return 0;
  6381 _ACEOF
  6382 rm -f conftest.$ac_objext
  6383 if { (ac_try="$ac_compile"
  6384 case "(($ac_try" in
  6385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6386   *) ac_try_echo=$ac_try;;
  6387 esac
  6388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6389 $as_echo "$ac_try_echo") >&5
  6390   (eval "$ac_compile") 2>conftest.er1
  6391   ac_status=$?
  6392   grep -v '^ *+' conftest.er1 >conftest.err
  6393   rm -f conftest.er1
  6394   cat conftest.err >&5
  6395   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6396   (exit $ac_status); } && {
  6397 	 test -z "$ac_c_werror_flag" ||
  6398 	 test ! -s conftest.err
  6399        } && test -s conftest.$ac_objext; then
  6400   ac_hi=$ac_mid; break
  6401 else
  6402   $as_echo "$as_me: failed program was:" >&5
  6403 sed 's/^/| /' conftest.$ac_ext >&5
  6405 	ac_lo=`expr $ac_mid + 1`
  6406 			if test $ac_lo -le $ac_mid; then
  6407 			  ac_lo= ac_hi=
  6408 			  break
  6409 			fi
  6410 			ac_mid=`expr 2 '*' $ac_mid + 1`
  6411 fi
  6413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6414   done
  6415 else
  6416   $as_echo "$as_me: failed program was:" >&5
  6417 sed 's/^/| /' conftest.$ac_ext >&5
  6419 	cat >conftest.$ac_ext <<_ACEOF
  6420 /* confdefs.h.  */
  6421 _ACEOF
  6422 cat confdefs.h >>conftest.$ac_ext
  6423 cat >>conftest.$ac_ext <<_ACEOF
  6424 /* end confdefs.h.  */
  6425 $ac_includes_default
  6426 int
  6427 main ()
  6429 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
  6430 test_array [0] = 0
  6433   return 0;
  6435 _ACEOF
  6436 rm -f conftest.$ac_objext
  6437 if { (ac_try="$ac_compile"
  6438 case "(($ac_try" in
  6439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6440   *) ac_try_echo=$ac_try;;
  6441 esac
  6442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6443 $as_echo "$ac_try_echo") >&5
  6444   (eval "$ac_compile") 2>conftest.er1
  6445   ac_status=$?
  6446   grep -v '^ *+' conftest.er1 >conftest.err
  6447   rm -f conftest.er1
  6448   cat conftest.err >&5
  6449   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6450   (exit $ac_status); } && {
  6451 	 test -z "$ac_c_werror_flag" ||
  6452 	 test ! -s conftest.err
  6453        } && test -s conftest.$ac_objext; then
  6454   ac_hi=-1 ac_mid=-1
  6455   while :; do
  6456     cat >conftest.$ac_ext <<_ACEOF
  6457 /* confdefs.h.  */
  6458 _ACEOF
  6459 cat confdefs.h >>conftest.$ac_ext
  6460 cat >>conftest.$ac_ext <<_ACEOF
  6461 /* end confdefs.h.  */
  6462 $ac_includes_default
  6463 int
  6464 main ()
  6466 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
  6467 test_array [0] = 0
  6470   return 0;
  6472 _ACEOF
  6473 rm -f conftest.$ac_objext
  6474 if { (ac_try="$ac_compile"
  6475 case "(($ac_try" in
  6476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6477   *) ac_try_echo=$ac_try;;
  6478 esac
  6479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6480 $as_echo "$ac_try_echo") >&5
  6481   (eval "$ac_compile") 2>conftest.er1
  6482   ac_status=$?
  6483   grep -v '^ *+' conftest.er1 >conftest.err
  6484   rm -f conftest.er1
  6485   cat conftest.err >&5
  6486   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6487   (exit $ac_status); } && {
  6488 	 test -z "$ac_c_werror_flag" ||
  6489 	 test ! -s conftest.err
  6490        } && test -s conftest.$ac_objext; then
  6491   ac_lo=$ac_mid; break
  6492 else
  6493   $as_echo "$as_me: failed program was:" >&5
  6494 sed 's/^/| /' conftest.$ac_ext >&5
  6496 	ac_hi=`expr '(' $ac_mid ')' - 1`
  6497 			if test $ac_mid -le $ac_hi; then
  6498 			  ac_lo= ac_hi=
  6499 			  break
  6500 			fi
  6501 			ac_mid=`expr 2 '*' $ac_mid`
  6502 fi
  6504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6505   done
  6506 else
  6507   $as_echo "$as_me: failed program was:" >&5
  6508 sed 's/^/| /' conftest.$ac_ext >&5
  6510 	ac_lo= ac_hi=
  6511 fi
  6513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6514 fi
  6516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6517 # Binary search between lo and hi bounds.
  6518 while test "x$ac_lo" != "x$ac_hi"; do
  6519   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  6520   cat >conftest.$ac_ext <<_ACEOF
  6521 /* confdefs.h.  */
  6522 _ACEOF
  6523 cat confdefs.h >>conftest.$ac_ext
  6524 cat >>conftest.$ac_ext <<_ACEOF
  6525 /* end confdefs.h.  */
  6526 $ac_includes_default
  6527 int
  6528 main ()
  6530 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  6531 test_array [0] = 0
  6534   return 0;
  6536 _ACEOF
  6537 rm -f conftest.$ac_objext
  6538 if { (ac_try="$ac_compile"
  6539 case "(($ac_try" in
  6540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6541   *) ac_try_echo=$ac_try;;
  6542 esac
  6543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6544 $as_echo "$ac_try_echo") >&5
  6545   (eval "$ac_compile") 2>conftest.er1
  6546   ac_status=$?
  6547   grep -v '^ *+' conftest.er1 >conftest.err
  6548   rm -f conftest.er1
  6549   cat conftest.err >&5
  6550   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6551   (exit $ac_status); } && {
  6552 	 test -z "$ac_c_werror_flag" ||
  6553 	 test ! -s conftest.err
  6554        } && test -s conftest.$ac_objext; then
  6555   ac_hi=$ac_mid
  6556 else
  6557   $as_echo "$as_me: failed program was:" >&5
  6558 sed 's/^/| /' conftest.$ac_ext >&5
  6560 	ac_lo=`expr '(' $ac_mid ')' + 1`
  6561 fi
  6563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6564 done
  6565 case $ac_lo in
  6566 ?*) ac_cv_sizeof_void_p=$ac_lo;;
  6567 '') if test "$ac_cv_type_void_p" = yes; then
  6568      { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6569 See \`config.log' for more details." >&5
  6570 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6571 See \`config.log' for more details." >&2;}
  6572    { (exit 77); exit 77; }; }
  6573    else
  6574      ac_cv_sizeof_void_p=0
  6575    fi ;;
  6576 esac
  6577 else
  6578   cat >conftest.$ac_ext <<_ACEOF
  6579 /* confdefs.h.  */
  6580 _ACEOF
  6581 cat confdefs.h >>conftest.$ac_ext
  6582 cat >>conftest.$ac_ext <<_ACEOF
  6583 /* end confdefs.h.  */
  6584 $ac_includes_default
  6585 static long int longval () { return (long int) (sizeof (void *)); }
  6586 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
  6587 #include <stdio.h>
  6588 #include <stdlib.h>
  6589 int
  6590 main ()
  6593   FILE *f = fopen ("conftest.val", "w");
  6594   if (! f)
  6595     return 1;
  6596   if (((long int) (sizeof (void *))) < 0)
  6598       long int i = longval ();
  6599       if (i != ((long int) (sizeof (void *))))
  6600 	return 1;
  6601       fprintf (f, "%ld", i);
  6603   else
  6605       unsigned long int i = ulongval ();
  6606       if (i != ((long int) (sizeof (void *))))
  6607 	return 1;
  6608       fprintf (f, "%lu", i);
  6610   /* Do not output a trailing newline, as this causes \r\n confusion
  6611      on some platforms.  */
  6612   return ferror (f) || fclose (f) != 0;
  6615   return 0;
  6617 _ACEOF
  6618 rm -f conftest$ac_exeext
  6619 if { (ac_try="$ac_link"
  6620 case "(($ac_try" in
  6621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6622   *) ac_try_echo=$ac_try;;
  6623 esac
  6624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6625 $as_echo "$ac_try_echo") >&5
  6626   (eval "$ac_link") 2>&5
  6627   ac_status=$?
  6628   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6629   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6630   { (case "(($ac_try" in
  6631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6632   *) ac_try_echo=$ac_try;;
  6633 esac
  6634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6635 $as_echo "$ac_try_echo") >&5
  6636   (eval "$ac_try") 2>&5
  6637   ac_status=$?
  6638   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6639   (exit $ac_status); }; }; then
  6640   ac_cv_sizeof_void_p=`cat conftest.val`
  6641 else
  6642   $as_echo "$as_me: program exited with status $ac_status" >&5
  6643 $as_echo "$as_me: failed program was:" >&5
  6644 sed 's/^/| /' conftest.$ac_ext >&5
  6646 ( exit $ac_status )
  6647 if test "$ac_cv_type_void_p" = yes; then
  6648      { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6649 See \`config.log' for more details." >&5
  6650 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6651 See \`config.log' for more details." >&2;}
  6652    { (exit 77); exit 77; }; }
  6653    else
  6654      ac_cv_sizeof_void_p=0
  6655    fi
  6656 fi
  6657 rm -rf conftest.dSYM
  6658 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6659 fi
  6660 rm -f conftest.val
  6661 fi
  6662 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
  6663 $as_echo "$ac_cv_sizeof_void_p" >&6; }
  6667 cat >>confdefs.h <<_ACEOF
  6668 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  6669 _ACEOF
  6672 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  6673 $as_echo_n "checking for ANSI C header files... " >&6; }
  6674 if test "${ac_cv_header_stdc+set}" = set; then
  6675   $as_echo_n "(cached) " >&6
  6676 else
  6677   cat >conftest.$ac_ext <<_ACEOF
  6678 /* confdefs.h.  */
  6679 _ACEOF
  6680 cat confdefs.h >>conftest.$ac_ext
  6681 cat >>conftest.$ac_ext <<_ACEOF
  6682 /* end confdefs.h.  */
  6683 #include <stdlib.h>
  6684 #include <stdarg.h>
  6685 #include <string.h>
  6686 #include <float.h>
  6688 int
  6689 main ()
  6693   return 0;
  6695 _ACEOF
  6696 rm -f conftest.$ac_objext
  6697 if { (ac_try="$ac_compile"
  6698 case "(($ac_try" in
  6699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6700   *) ac_try_echo=$ac_try;;
  6701 esac
  6702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6703 $as_echo "$ac_try_echo") >&5
  6704   (eval "$ac_compile") 2>conftest.er1
  6705   ac_status=$?
  6706   grep -v '^ *+' conftest.er1 >conftest.err
  6707   rm -f conftest.er1
  6708   cat conftest.err >&5
  6709   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6710   (exit $ac_status); } && {
  6711 	 test -z "$ac_c_werror_flag" ||
  6712 	 test ! -s conftest.err
  6713        } && test -s conftest.$ac_objext; then
  6714   ac_cv_header_stdc=yes
  6715 else
  6716   $as_echo "$as_me: failed program was:" >&5
  6717 sed 's/^/| /' conftest.$ac_ext >&5
  6719 	ac_cv_header_stdc=no
  6720 fi
  6722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6724 if test $ac_cv_header_stdc = yes; then
  6725   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6726   cat >conftest.$ac_ext <<_ACEOF
  6727 /* confdefs.h.  */
  6728 _ACEOF
  6729 cat confdefs.h >>conftest.$ac_ext
  6730 cat >>conftest.$ac_ext <<_ACEOF
  6731 /* end confdefs.h.  */
  6732 #include <string.h>
  6734 _ACEOF
  6735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6736   $EGREP "memchr" >/dev/null 2>&1; then
  6738 else
  6739   ac_cv_header_stdc=no
  6740 fi
  6741 rm -f conftest*
  6743 fi
  6745 if test $ac_cv_header_stdc = yes; then
  6746   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6747   cat >conftest.$ac_ext <<_ACEOF
  6748 /* confdefs.h.  */
  6749 _ACEOF
  6750 cat confdefs.h >>conftest.$ac_ext
  6751 cat >>conftest.$ac_ext <<_ACEOF
  6752 /* end confdefs.h.  */
  6753 #include <stdlib.h>
  6755 _ACEOF
  6756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6757   $EGREP "free" >/dev/null 2>&1; then
  6759 else
  6760   ac_cv_header_stdc=no
  6761 fi
  6762 rm -f conftest*
  6764 fi
  6766 if test $ac_cv_header_stdc = yes; then
  6767   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6768   if test "$cross_compiling" = yes; then
  6770 else
  6771   cat >conftest.$ac_ext <<_ACEOF
  6772 /* confdefs.h.  */
  6773 _ACEOF
  6774 cat confdefs.h >>conftest.$ac_ext
  6775 cat >>conftest.$ac_ext <<_ACEOF
  6776 /* end confdefs.h.  */
  6777 #include <ctype.h>
  6778 #include <stdlib.h>
  6779 #if ((' ' & 0x0FF) == 0x020)
  6780 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6781 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6782 #else
  6783 # define ISLOWER(c) \
  6784 		   (('a' <= (c) && (c) <= 'i') \
  6785 		     || ('j' <= (c) && (c) <= 'r') \