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