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