Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 1074:397d77b6e346
prev1066:ddffe9d2b332
next1097:d4807997e450
author nkeynes
date Mon Dec 21 08:23:54 2009 +1000 (11 years ago)
permissions -rwxr-xr-x
last change Fix symbol output in 64-bit disassembly
Add sh4_translate_dump_block(pc) function
view annotate diff log raw
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.63.
     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='LTLIBOBJS
   639 LIBOBJS
   640 MKINSTALLDIRS
   641 POSUB
   642 POFILES
   643 PO_IN_DATADIR_FALSE
   644 PO_IN_DATADIR_TRUE
   645 INTLLIBS
   646 INSTOBJEXT
   647 GMOFILES
   648 DATADIRNAME
   649 CATOBJEXT
   650 CATALOGS
   651 XGETTEXT
   652 GMSGFMT
   653 MSGFMT_OPTS
   654 MSGFMT
   655 USE_NLS
   656 GETTEXT_PACKAGE
   657 LXDREAM_LIBS
   658 BUILD_ARMTEST_FALSE
   659 BUILD_ARMTEST_TRUE
   660 BUILD_SYSTEST_FALSE
   661 BUILD_SYSTEST_TRUE
   662 ARMOBJCOPY
   663 ARMLD
   664 ARMCC
   665 SHOBJCOPY
   666 SHLD
   667 SHCC
   668 INPUT_LIRC_FALSE
   669 INPUT_LIRC_TRUE
   670 JOY_LINUX_FALSE
   671 JOY_LINUX_TRUE
   672 CDROM_NONE_FALSE
   673 CDROM_NONE_TRUE
   674 CDROM_OSX_FALSE
   675 CDROM_OSX_TRUE
   676 CDROM_LINUX_FALSE
   677 CDROM_LINUX_TRUE
   678 AUDIO_ALSA_FALSE
   679 AUDIO_ALSA_TRUE
   680 ALSA_LIBS
   681 ALSA_CFLAGS
   682 AUDIO_ESOUND_FALSE
   683 AUDIO_ESOUND_TRUE
   684 ESOUND_LIBS
   685 ESOUND_CFLAGS
   686 AUDIO_PULSE_FALSE
   687 AUDIO_PULSE_TRUE
   688 PULSE_LIBS
   689 PULSE_CFLAGS
   690 AUDIO_SDL_FALSE
   691 AUDIO_SDL_TRUE
   692 SDL_LIBS
   693 SDL_CFLAGS
   694 AUDIO_OSX_FALSE
   695 AUDIO_OSX_TRUE
   696 BUILD_SH4X86_FALSE
   697 BUILD_SH4X86_TRUE
   698 VIDEO_NSGL_FALSE
   699 VIDEO_NSGL_TRUE
   700 VIDEO_GLX_FALSE
   701 VIDEO_GLX_TRUE
   702 VIDEO_OSMESA_FALSE
   703 VIDEO_OSMESA_TRUE
   704 GUI_GTK_FALSE
   705 GUI_GTK_TRUE
   706 GTK_LIBS
   707 GTK_CFLAGS
   708 GLIB_LIBS
   709 GLIB_CFLAGS
   710 LIBPNG_LIBS
   711 LIBPNG_CFLAGS
   712 PKG_CONFIG
   713 LXDREAMCPPFLAGS
   714 BUILD_SHARED_FALSE
   715 BUILD_SHARED_TRUE
   716 LXDREAMLDFLAGS
   717 PLUGINLDFLAGS
   718 PLUGINCFLAGS
   719 SOEXT
   720 GUI_COCOA_FALSE
   721 GUI_COCOA_TRUE
   722 POD2HTML
   723 POD2MAN
   724 am__fastdepOBJC_FALSE
   725 am__fastdepOBJC_TRUE
   726 OBJCDEPMODE
   727 host_os
   728 host_vendor
   729 host_cpu
   730 host
   731 build_os
   732 build_vendor
   733 build_cpu
   734 build
   735 EGREP
   736 GREP
   737 CPP
   738 CCASFLAGS
   739 CCAS
   740 SED
   741 ac_ct_OBJC
   742 OBJCFLAGS
   743 OBJC
   744 am__fastdepCC_FALSE
   745 am__fastdepCC_TRUE
   746 CCDEPMODE
   747 AMDEPBACKSLASH
   748 AMDEP_FALSE
   749 AMDEP_TRUE
   750 am__quote
   751 am__include
   752 DEPDIR
   753 OBJEXT
   754 EXEEXT
   755 ac_ct_CC
   756 CPPFLAGS
   757 LDFLAGS
   758 CFLAGS
   759 CC
   760 MAINT
   761 MAINTAINER_MODE_FALSE
   762 MAINTAINER_MODE_TRUE
   763 am__untar
   764 am__tar
   765 AMTAR
   766 am__leading_dot
   767 SET_MAKE
   768 AWK
   769 mkdir_p
   770 INSTALL_STRIP_PROGRAM
   771 STRIP
   772 install_sh
   773 MAKEINFO
   774 AUTOHEADER
   775 AUTOMAKE
   776 AUTOCONF
   777 ACLOCAL
   778 VERSION
   779 PACKAGE
   780 CYGPATH_W
   781 INSTALL_DATA
   782 INSTALL_SCRIPT
   783 INSTALL_PROGRAM
   784 target_alias
   785 host_alias
   786 build_alias
   787 LIBS
   788 ECHO_T
   789 ECHO_N
   790 ECHO_C
   791 DEFS
   792 mandir
   793 localedir
   794 libdir
   795 psdir
   796 pdfdir
   797 dvidir
   798 htmldir
   799 infodir
   800 docdir
   801 oldincludedir
   802 includedir
   803 localstatedir
   804 sharedstatedir
   805 sysconfdir
   806 datadir
   807 datarootdir
   808 libexecdir
   809 sbindir
   810 bindir
   811 program_transform_name
   812 prefix
   813 exec_prefix
   814 PACKAGE_BUGREPORT
   815 PACKAGE_STRING
   816 PACKAGE_VERSION
   817 PACKAGE_TARNAME
   818 PACKAGE_NAME
   819 PATH_SEPARATOR
   820 SHELL'
   821 ac_subst_files=''
   822 ac_user_opts='
   823 enable_option_checking
   824 enable_maintainer_mode
   825 enable_dependency_tracking
   826 enable_strict_warn
   827 enable_translator
   828 enable_optimized
   829 enable_shared
   830 enable_profiled
   831 enable_trace
   832 enable_watch
   833 enable_sh4stats
   834 with_osmesa
   835 with_gtk
   836 with_esd
   837 with_pulse
   838 with_sdl
   839 '
   840       ac_precious_vars='build_alias
   841 host_alias
   842 target_alias
   843 CC
   844 CFLAGS
   845 LDFLAGS
   846 LIBS
   847 CPPFLAGS
   848 OBJC
   849 OBJCFLAGS
   850 CCAS
   851 CCASFLAGS
   852 CPP
   853 PKG_CONFIG
   854 LIBPNG_CFLAGS
   855 LIBPNG_LIBS
   856 GLIB_CFLAGS
   857 GLIB_LIBS
   858 GTK_CFLAGS
   859 GTK_LIBS
   860 SDL_CFLAGS
   861 SDL_LIBS
   862 PULSE_CFLAGS
   863 PULSE_LIBS
   864 ESOUND_CFLAGS
   865 ESOUND_LIBS
   866 ALSA_CFLAGS
   867 ALSA_LIBS'
   870 # Initialize some variables set by options.
   871 ac_init_help=
   872 ac_init_version=false
   873 ac_unrecognized_opts=
   874 ac_unrecognized_sep=
   875 # The variables have the same names as the options, with
   876 # dashes changed to underlines.
   877 cache_file=/dev/null
   878 exec_prefix=NONE
   879 no_create=
   880 no_recursion=
   881 prefix=NONE
   882 program_prefix=NONE
   883 program_suffix=NONE
   884 program_transform_name=s,x,x,
   885 silent=
   886 site=
   887 srcdir=
   888 verbose=
   889 x_includes=NONE
   890 x_libraries=NONE
   892 # Installation directory options.
   893 # These are left unexpanded so users can "make install exec_prefix=/foo"
   894 # and all the variables that are supposed to be based on exec_prefix
   895 # by default will actually change.
   896 # Use braces instead of parens because sh, perl, etc. also accept them.
   897 # (The list follows the same order as the GNU Coding Standards.)
   898 bindir='${exec_prefix}/bin'
   899 sbindir='${exec_prefix}/sbin'
   900 libexecdir='${exec_prefix}/libexec'
   901 datarootdir='${prefix}/share'
   902 datadir='${datarootdir}'
   903 sysconfdir='${prefix}/etc'
   904 sharedstatedir='${prefix}/com'
   905 localstatedir='${prefix}/var'
   906 includedir='${prefix}/include'
   907 oldincludedir='/usr/include'
   908 docdir='${datarootdir}/doc/${PACKAGE}'
   909 infodir='${datarootdir}/info'
   910 htmldir='${docdir}'
   911 dvidir='${docdir}'
   912 pdfdir='${docdir}'
   913 psdir='${docdir}'
   914 libdir='${exec_prefix}/lib'
   915 localedir='${datarootdir}/locale'
   916 mandir='${datarootdir}/man'
   918 ac_prev=
   919 ac_dashdash=
   920 for ac_option
   921 do
   922   # If the previous option needs an argument, assign it.
   923   if test -n "$ac_prev"; then
   924     eval $ac_prev=\$ac_option
   925     ac_prev=
   926     continue
   927   fi
   929   case $ac_option in
   930   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   931   *)	ac_optarg=yes ;;
   932   esac
   934   # Accept the important Cygnus configure options, so we can diagnose typos.
   936   case $ac_dashdash$ac_option in
   937   --)
   938     ac_dashdash=yes ;;
   940   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   941     ac_prev=bindir ;;
   942   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   943     bindir=$ac_optarg ;;
   945   -build | --build | --buil | --bui | --bu)
   946     ac_prev=build_alias ;;
   947   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   948     build_alias=$ac_optarg ;;
   950   -cache-file | --cache-file | --cache-fil | --cache-fi \
   951   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   952     ac_prev=cache_file ;;
   953   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   954   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   955     cache_file=$ac_optarg ;;
   957   --config-cache | -C)
   958     cache_file=config.cache ;;
   960   -datadir | --datadir | --datadi | --datad)
   961     ac_prev=datadir ;;
   962   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   963     datadir=$ac_optarg ;;
   965   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   966   | --dataroo | --dataro | --datar)
   967     ac_prev=datarootdir ;;
   968   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   969   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   970     datarootdir=$ac_optarg ;;
   972   -disable-* | --disable-*)
   973     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   974     # Reject names that are not valid shell variable names.
   975     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   976       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   977    { (exit 1); exit 1; }; }
   978     ac_useropt_orig=$ac_useropt
   979     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   980     case $ac_user_opts in
   981       *"
   982 "enable_$ac_useropt"
   983 "*) ;;
   984       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   985 	 ac_unrecognized_sep=', ';;
   986     esac
   987     eval enable_$ac_useropt=no ;;
   989   -docdir | --docdir | --docdi | --doc | --do)
   990     ac_prev=docdir ;;
   991   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   992     docdir=$ac_optarg ;;
   994   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   995     ac_prev=dvidir ;;
   996   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   997     dvidir=$ac_optarg ;;
   999   -enable-* | --enable-*)
  1000     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1001     # Reject names that are not valid shell variable names.
  1002     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1003       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  1004    { (exit 1); exit 1; }; }
  1005     ac_useropt_orig=$ac_useropt
  1006     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1007     case $ac_user_opts in
  1008       *"
  1009 "enable_$ac_useropt"
  1010 "*) ;;
  1011       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1012 	 ac_unrecognized_sep=', ';;
  1013     esac
  1014     eval enable_$ac_useropt=\$ac_optarg ;;
  1016   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1017   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1018   | --exec | --exe | --ex)
  1019     ac_prev=exec_prefix ;;
  1020   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1021   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1022   | --exec=* | --exe=* | --ex=*)
  1023     exec_prefix=$ac_optarg ;;
  1025   -gas | --gas | --ga | --g)
  1026     # Obsolete; use --with-gas.
  1027     with_gas=yes ;;
  1029   -help | --help | --hel | --he | -h)
  1030     ac_init_help=long ;;
  1031   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1032     ac_init_help=recursive ;;
  1033   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1034     ac_init_help=short ;;
  1036   -host | --host | --hos | --ho)
  1037     ac_prev=host_alias ;;
  1038   -host=* | --host=* | --hos=* | --ho=*)
  1039     host_alias=$ac_optarg ;;
  1041   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1042     ac_prev=htmldir ;;
  1043   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1044   | --ht=*)
  1045     htmldir=$ac_optarg ;;
  1047   -includedir | --includedir | --includedi | --included | --include \
  1048   | --includ | --inclu | --incl | --inc)
  1049     ac_prev=includedir ;;
  1050   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1051   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1052     includedir=$ac_optarg ;;
  1054   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1055     ac_prev=infodir ;;
  1056   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1057     infodir=$ac_optarg ;;
  1059   -libdir | --libdir | --libdi | --libd)
  1060     ac_prev=libdir ;;
  1061   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1062     libdir=$ac_optarg ;;
  1064   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1065   | --libexe | --libex | --libe)
  1066     ac_prev=libexecdir ;;
  1067   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1068   | --libexe=* | --libex=* | --libe=*)
  1069     libexecdir=$ac_optarg ;;
  1071   -localedir | --localedir | --localedi | --localed | --locale)
  1072     ac_prev=localedir ;;
  1073   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1074     localedir=$ac_optarg ;;
  1076   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1077   | --localstate | --localstat | --localsta | --localst | --locals)
  1078     ac_prev=localstatedir ;;
  1079   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1080   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1081     localstatedir=$ac_optarg ;;
  1083   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1084     ac_prev=mandir ;;
  1085   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1086     mandir=$ac_optarg ;;
  1088   -nfp | --nfp | --nf)
  1089     # Obsolete; use --without-fp.
  1090     with_fp=no ;;
  1092   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1093   | --no-cr | --no-c | -n)
  1094     no_create=yes ;;
  1096   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1097   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1098     no_recursion=yes ;;
  1100   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1101   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1102   | --oldin | --oldi | --old | --ol | --o)
  1103     ac_prev=oldincludedir ;;
  1104   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1105   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1106   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1107     oldincludedir=$ac_optarg ;;
  1109   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1110     ac_prev=prefix ;;
  1111   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1112     prefix=$ac_optarg ;;
  1114   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1115   | --program-pre | --program-pr | --program-p)
  1116     ac_prev=program_prefix ;;
  1117   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1118   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1119     program_prefix=$ac_optarg ;;
  1121   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1122   | --program-suf | --program-su | --program-s)
  1123     ac_prev=program_suffix ;;
  1124   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1125   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1126     program_suffix=$ac_optarg ;;
  1128   -program-transform-name | --program-transform-name \
  1129   | --program-transform-nam | --program-transform-na \
  1130   | --program-transform-n | --program-transform- \
  1131   | --program-transform | --program-transfor \
  1132   | --program-transfo | --program-transf \
  1133   | --program-trans | --program-tran \
  1134   | --progr-tra | --program-tr | --program-t)
  1135     ac_prev=program_transform_name ;;
  1136   -program-transform-name=* | --program-transform-name=* \
  1137   | --program-transform-nam=* | --program-transform-na=* \
  1138   | --program-transform-n=* | --program-transform-=* \
  1139   | --program-transform=* | --program-transfor=* \
  1140   | --program-transfo=* | --program-transf=* \
  1141   | --program-trans=* | --program-tran=* \
  1142   | --progr-tra=* | --program-tr=* | --program-t=*)
  1143     program_transform_name=$ac_optarg ;;
  1145   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1146     ac_prev=pdfdir ;;
  1147   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1148     pdfdir=$ac_optarg ;;
  1150   -psdir | --psdir | --psdi | --psd | --ps)
  1151     ac_prev=psdir ;;
  1152   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1153     psdir=$ac_optarg ;;
  1155   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1156   | -silent | --silent | --silen | --sile | --sil)
  1157     silent=yes ;;
  1159   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1160     ac_prev=sbindir ;;
  1161   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1162   | --sbi=* | --sb=*)
  1163     sbindir=$ac_optarg ;;
  1165   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1166   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1167   | --sharedst | --shareds | --shared | --share | --shar \
  1168   | --sha | --sh)
  1169     ac_prev=sharedstatedir ;;
  1170   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1171   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1172   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1173   | --sha=* | --sh=*)
  1174     sharedstatedir=$ac_optarg ;;
  1176   -site | --site | --sit)
  1177     ac_prev=site ;;
  1178   -site=* | --site=* | --sit=*)
  1179     site=$ac_optarg ;;
  1181   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1182     ac_prev=srcdir ;;
  1183   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1184     srcdir=$ac_optarg ;;
  1186   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1187   | --syscon | --sysco | --sysc | --sys | --sy)
  1188     ac_prev=sysconfdir ;;
  1189   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1190   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1191     sysconfdir=$ac_optarg ;;
  1193   -target | --target | --targe | --targ | --tar | --ta | --t)
  1194     ac_prev=target_alias ;;
  1195   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1196     target_alias=$ac_optarg ;;
  1198   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1199     verbose=yes ;;
  1201   -version | --version | --versio | --versi | --vers | -V)
  1202     ac_init_version=: ;;
  1204   -with-* | --with-*)
  1205     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1206     # Reject names that are not valid shell variable names.
  1207     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1208       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1209    { (exit 1); exit 1; }; }
  1210     ac_useropt_orig=$ac_useropt
  1211     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1212     case $ac_user_opts in
  1213       *"
  1214 "with_$ac_useropt"
  1215 "*) ;;
  1216       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1217 	 ac_unrecognized_sep=', ';;
  1218     esac
  1219     eval with_$ac_useropt=\$ac_optarg ;;
  1221   -without-* | --without-*)
  1222     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1223     # Reject names that are not valid shell variable names.
  1224     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1225       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1226    { (exit 1); exit 1; }; }
  1227     ac_useropt_orig=$ac_useropt
  1228     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1229     case $ac_user_opts in
  1230       *"
  1231 "with_$ac_useropt"
  1232 "*) ;;
  1233       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1234 	 ac_unrecognized_sep=', ';;
  1235     esac
  1236     eval with_$ac_useropt=no ;;
  1238   --x)
  1239     # Obsolete; use --with-x.
  1240     with_x=yes ;;
  1242   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1243   | --x-incl | --x-inc | --x-in | --x-i)
  1244     ac_prev=x_includes ;;
  1245   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1246   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1247     x_includes=$ac_optarg ;;
  1249   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1250   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1251     ac_prev=x_libraries ;;
  1252   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1253   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1254     x_libraries=$ac_optarg ;;
  1256   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  1257 Try \`$0 --help' for more information." >&2
  1258    { (exit 1); exit 1; }; }
  1259     ;;
  1261   *=*)
  1262     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1263     # Reject names that are not valid shell variable names.
  1264     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1265       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1266    { (exit 1); exit 1; }; }
  1267     eval $ac_envvar=\$ac_optarg
  1268     export $ac_envvar ;;
  1270   *)
  1271     # FIXME: should be removed in autoconf 3.0.
  1272     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1273     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1274       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1275     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1276     ;;
  1278   esac
  1279 done
  1281 if test -n "$ac_prev"; then
  1282   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1283   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  1284    { (exit 1); exit 1; }; }
  1285 fi
  1287 if test -n "$ac_unrecognized_opts"; then
  1288   case $enable_option_checking in
  1289     no) ;;
  1290     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
  1291    { (exit 1); exit 1; }; } ;;
  1292     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1293   esac
  1294 fi
  1296 # Check all directory arguments for consistency.
  1297 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1298 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1299 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1300 		libdir localedir mandir
  1301 do
  1302   eval ac_val=\$$ac_var
  1303   # Remove trailing slashes.
  1304   case $ac_val in
  1305     */ )
  1306       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1307       eval $ac_var=\$ac_val;;
  1308   esac
  1309   # Be sure to have absolute directory names.
  1310   case $ac_val in
  1311     [\\/$]* | ?:[\\/]* )  continue;;
  1312     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1313   esac
  1314   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1315    { (exit 1); exit 1; }; }
  1316 done
  1318 # There might be people who depend on the old broken behavior: `$host'
  1319 # used to hold the argument of --host etc.
  1320 # FIXME: To remove some day.
  1321 build=$build_alias
  1322 host=$host_alias
  1323 target=$target_alias
  1325 # FIXME: To remove some day.
  1326 if test "x$host_alias" != x; then
  1327   if test "x$build_alias" = x; then
  1328     cross_compiling=maybe
  1329     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1330     If a cross compiler is detected then cross compile mode will be used." >&2
  1331   elif test "x$build_alias" != "x$host_alias"; then
  1332     cross_compiling=yes
  1333   fi
  1334 fi
  1336 ac_tool_prefix=
  1337 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1339 test "$silent" = yes && exec 6>/dev/null
  1342 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1343 ac_ls_di=`ls -di .` &&
  1344 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1345   { $as_echo "$as_me: error: working directory cannot be determined" >&2
  1346    { (exit 1); exit 1; }; }
  1347 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1348   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  1349    { (exit 1); exit 1; }; }
  1352 # Find the source files, if location was not specified.
  1353 if test -z "$srcdir"; then
  1354   ac_srcdir_defaulted=yes
  1355   # Try the directory containing this script, then the parent directory.
  1356   ac_confdir=`$as_dirname -- "$as_myself" ||
  1357 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1358 	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1359 	 X"$as_myself" : 'X\(//\)$' \| \
  1360 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1361 $as_echo X"$as_myself" |
  1362     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1363 	    s//\1/
  1366 	  /^X\(\/\/\)[^/].*/{
  1367 	    s//\1/
  1370 	  /^X\(\/\/\)$/{
  1371 	    s//\1/
  1374 	  /^X\(\/\).*/{
  1375 	    s//\1/
  1378 	  s/.*/./; q'`
  1379   srcdir=$ac_confdir
  1380   if test ! -r "$srcdir/$ac_unique_file"; then
  1381     srcdir=..
  1382   fi
  1383 else
  1384   ac_srcdir_defaulted=no
  1385 fi
  1386 if test ! -r "$srcdir/$ac_unique_file"; then
  1387   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1388   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1389    { (exit 1); exit 1; }; }
  1390 fi
  1391 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1392 ac_abs_confdir=`(
  1393 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  1394    { (exit 1); exit 1; }; }
  1395 	pwd)`
  1396 # When building in place, set srcdir=.
  1397 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1398   srcdir=.
  1399 fi
  1400 # Remove unnecessary trailing slashes from srcdir.
  1401 # Double slashes in file names in object file debugging info
  1402 # mess up M-x gdb in Emacs.
  1403 case $srcdir in
  1404 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1405 esac
  1406 for ac_var in $ac_precious_vars; do
  1407   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1408   eval ac_env_${ac_var}_value=\$${ac_var}
  1409   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1410   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1411 done
  1414 # Report the --help message.
  1416 if test "$ac_init_help" = "long"; then
  1417   # Omit some internal or obsolete options to make the list less imposing.
  1418   # This message is too long to be a string in the A/UX 3.1 sh.
  1419   cat <<_ACEOF
  1420 \`configure' configures this package to adapt to many kinds of systems.
  1422 Usage: $0 [OPTION]... [VAR=VALUE]...
  1424 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1425 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1427 Defaults for the options are specified in brackets.
  1429 Configuration:
  1430   -h, --help              display this help and exit
  1431       --help=short        display options specific to this package
  1432       --help=recursive    display the short help of all the included packages
  1433   -V, --version           display version information and exit
  1434   -q, --quiet, --silent   do not print \`checking...' messages
  1435       --cache-file=FILE   cache test results in FILE [disabled]
  1436   -C, --config-cache      alias for \`--cache-file=config.cache'
  1437   -n, --no-create         do not create output files
  1438       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1440 Installation directories:
  1441   --prefix=PREFIX         install architecture-independent files in PREFIX
  1442                           [$ac_default_prefix]
  1443   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1444                           [PREFIX]
  1446 By default, \`make install' will install all the files in
  1447 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1448 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1449 for instance \`--prefix=\$HOME'.
  1451 For better control, use the options below.
  1453 Fine tuning of the installation directories:
  1454   --bindir=DIR            user executables [EPREFIX/bin]
  1455   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1456   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1457   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1458   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1459   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1460   --libdir=DIR            object code libraries [EPREFIX/lib]
  1461   --includedir=DIR        C header files [PREFIX/include]
  1462   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1463   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1464   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1465   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1466   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1467   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1468   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1469   --htmldir=DIR           html documentation [DOCDIR]
  1470   --dvidir=DIR            dvi documentation [DOCDIR]
  1471   --pdfdir=DIR            pdf documentation [DOCDIR]
  1472   --psdir=DIR             ps documentation [DOCDIR]
  1473 _ACEOF
  1475   cat <<\_ACEOF
  1477 Program names:
  1478   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1479   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1480   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1482 System types:
  1483   --build=BUILD     configure for building on BUILD [guessed]
  1484   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1485 _ACEOF
  1486 fi
  1488 if test -n "$ac_init_help"; then
  1490   cat <<\_ACEOF
  1492 Optional Features:
  1493   --disable-option-checking  ignore unrecognized --enable/--with options
  1494   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1495   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1496   --enable-maintainer-mode  enable make rules and dependencies not useful
  1497 			  (and sometimes confusing) to the casual installer
  1498   --disable-dependency-tracking  speeds up one-time build
  1499   --enable-dependency-tracking   do not reject slow dependency extractors
  1500   --enable-strict-warn    Enable strict compilation warnings
  1501   --disable-translator    Disable the SH4 translator (Enabled by default)
  1502   --disable-optimized     Disable compile-time optimizations (Enabled by
  1503                           default)
  1504   --enable-shared         Build drivers as shared libraries (Enabled if
  1505                           available)
  1506   --enable-profiled       Enable profiling build
  1507   --enable-trace          Enable generation of IO traces (warning: hurts
  1508                           performance)
  1509   --enable-watch          Enable watchpoints in the debugger (warning: hurts
  1510                           performance)
  1511   --enable-sh4stats       Enable statistics on executed sh4 instructions
  1513 Optional Packages:
  1514   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1515   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1516   --with-osmesa           Build with the osmesa GL library (software
  1517                           rendering)
  1518   --with-gtk              Build with the GTK UI. Default on X11 systems
  1519   --with-esd              Build with support for the ESounD audio system
  1520   --with-pulse            Build with support for the PulseAudio audio system
  1521   --with-sdl              Build with support for SDL audio
  1523 Some influential environment variables:
  1524   CC          C compiler command
  1525   CFLAGS      C compiler flags
  1526   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1527               nonstandard directory <lib dir>
  1528   LIBS        libraries to pass to the linker, e.g. -l<library>
  1529   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1530               you have headers in a nonstandard directory <include dir>
  1531   OBJC        Objective C compiler command
  1532   OBJCFLAGS   Objective C compiler flags
  1533   CCAS        assembler compiler command (defaults to CC)
  1534   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1535   CPP         C preprocessor
  1536   PKG_CONFIG  path to pkg-config utility
  1537   LIBPNG_CFLAGS
  1538               C compiler flags for LIBPNG, overriding pkg-config
  1539   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1540   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  1541   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  1542   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1543   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1544   SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
  1545   SDL_LIBS    linker flags for SDL, overriding pkg-config
  1546   PULSE_CFLAGS
  1547               C compiler flags for PULSE, overriding pkg-config
  1548   PULSE_LIBS  linker flags for PULSE, overriding pkg-config
  1549   ESOUND_CFLAGS
  1550               C compiler flags for ESOUND, overriding pkg-config
  1551   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1552   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
  1553   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
  1555 Use these variables to override the choices made by `configure' or to help
  1556 it to find libraries and programs with nonstandard names/locations.
  1558 _ACEOF
  1559 ac_status=$?
  1560 fi
  1562 if test "$ac_init_help" = "recursive"; then
  1563   # If there are subdirs, report their specific --help.
  1564   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1565     test -d "$ac_dir" ||
  1566       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1567       continue
  1568     ac_builddir=.
  1570 case "$ac_dir" in
  1571 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1572 *)
  1573   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1574   # A ".." for each directory in $ac_dir_suffix.
  1575   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1576   case $ac_top_builddir_sub in
  1577   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1578   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1579   esac ;;
  1580 esac
  1581 ac_abs_top_builddir=$ac_pwd
  1582 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1583 # for backward compatibility:
  1584 ac_top_builddir=$ac_top_build_prefix
  1586 case $srcdir in
  1587   .)  # We are building in place.
  1588     ac_srcdir=.
  1589     ac_top_srcdir=$ac_top_builddir_sub
  1590     ac_abs_top_srcdir=$ac_pwd ;;
  1591   [\\/]* | ?:[\\/]* )  # Absolute name.
  1592     ac_srcdir=$srcdir$ac_dir_suffix;
  1593     ac_top_srcdir=$srcdir
  1594     ac_abs_top_srcdir=$srcdir ;;
  1595   *) # Relative name.
  1596     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1597     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1598     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1599 esac
  1600 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1602     cd "$ac_dir" || { ac_status=$?; continue; }
  1603     # Check for guested configure.
  1604     if test -f "$ac_srcdir/configure.gnu"; then
  1605       echo &&
  1606       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1607     elif test -f "$ac_srcdir/configure"; then
  1608       echo &&
  1609       $SHELL "$ac_srcdir/configure" --help=recursive
  1610     else
  1611       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1612     fi || ac_status=$?
  1613     cd "$ac_pwd" || { ac_status=$?; break; }
  1614   done
  1615 fi
  1617 test -n "$ac_init_help" && exit $ac_status
  1618 if $ac_init_version; then
  1619   cat <<\_ACEOF
  1620 configure
  1621 generated by GNU Autoconf 2.63
  1623 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1624 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1625 This configure script is free software; the Free Software Foundation
  1626 gives unlimited permission to copy, distribute and modify it.
  1627 _ACEOF
  1628   exit
  1629 fi
  1630 cat >config.log <<_ACEOF
  1631 This file contains any messages produced by compilers while
  1632 running configure, to aid debugging if configure makes a mistake.
  1634 It was created by $as_me, which was
  1635 generated by GNU Autoconf 2.63.  Invocation command line was
  1637   $ $0 $@
  1639 _ACEOF
  1640 exec 5>>config.log
  1642 cat <<_ASUNAME
  1643 ## --------- ##
  1644 ## Platform. ##
  1645 ## --------- ##
  1647 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1648 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1649 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1650 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1651 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1653 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1654 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1656 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1657 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1658 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1659 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1660 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1661 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1662 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1664 _ASUNAME
  1666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1667 for as_dir in $PATH
  1668 do
  1669   IFS=$as_save_IFS
  1670   test -z "$as_dir" && as_dir=.
  1671   $as_echo "PATH: $as_dir"
  1672 done
  1673 IFS=$as_save_IFS
  1675 } >&5
  1677 cat >&5 <<_ACEOF
  1680 ## ----------- ##
  1681 ## Core tests. ##
  1682 ## ----------- ##
  1684 _ACEOF
  1687 # Keep a trace of the command line.
  1688 # Strip out --no-create and --no-recursion so they do not pile up.
  1689 # Strip out --silent because we don't want to record it for future runs.
  1690 # Also quote any args containing shell meta-characters.
  1691 # Make two passes to allow for proper duplicate-argument suppression.
  1692 ac_configure_args=
  1693 ac_configure_args0=
  1694 ac_configure_args1=
  1695 ac_must_keep_next=false
  1696 for ac_pass in 1 2
  1697 do
  1698   for ac_arg
  1699   do
  1700     case $ac_arg in
  1701     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1702     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1703     | -silent | --silent | --silen | --sile | --sil)
  1704       continue ;;
  1705     *\'*)
  1706       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1707     esac
  1708     case $ac_pass in
  1709     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1710     2)
  1711       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1712       if test $ac_must_keep_next = true; then
  1713 	ac_must_keep_next=false # Got value, back to normal.
  1714       else
  1715 	case $ac_arg in
  1716 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1717 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1718 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1719 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1720 	    case "$ac_configure_args0 " in
  1721 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1722 	    esac
  1723 	    ;;
  1724 	  -* ) ac_must_keep_next=true ;;
  1725 	esac
  1726       fi
  1727       ac_configure_args="$ac_configure_args '$ac_arg'"
  1728       ;;
  1729     esac
  1730   done
  1731 done
  1732 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1733 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1735 # When interrupted or exit'd, cleanup temporary files, and complete
  1736 # config.log.  We remove comments because anyway the quotes in there
  1737 # would cause problems or look ugly.
  1738 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1739 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1740 trap 'exit_status=$?
  1741   # Save into config.log some information that might help in debugging.
  1743     echo
  1745     cat <<\_ASBOX
  1746 ## ---------------- ##
  1747 ## Cache variables. ##
  1748 ## ---------------- ##
  1749 _ASBOX
  1750     echo
  1751     # The following way of writing the cache mishandles newlines in values,
  1753   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1754     eval ac_val=\$$ac_var
  1755     case $ac_val in #(
  1756     *${as_nl}*)
  1757       case $ac_var in #(
  1758       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
  1759 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1760       esac
  1761       case $ac_var in #(
  1762       _ | IFS | as_nl) ;; #(
  1763       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1764       *) $as_unset $ac_var ;;
  1765       esac ;;
  1766     esac
  1767   done
  1768   (set) 2>&1 |
  1769     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1770     *${as_nl}ac_space=\ *)
  1771       sed -n \
  1772 	"s/'\''/'\''\\\\'\'''\''/g;
  1773 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1774       ;; #(
  1775     *)
  1776       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1777       ;;
  1778     esac |
  1779     sort
  1781     echo
  1783     cat <<\_ASBOX
  1784 ## ----------------- ##
  1785 ## Output variables. ##
  1786 ## ----------------- ##
  1787 _ASBOX
  1788     echo
  1789     for ac_var in $ac_subst_vars
  1790     do
  1791       eval ac_val=\$$ac_var
  1792       case $ac_val in
  1793       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1794       esac
  1795       $as_echo "$ac_var='\''$ac_val'\''"
  1796     done | sort
  1797     echo
  1799     if test -n "$ac_subst_files"; then
  1800       cat <<\_ASBOX
  1801 ## ------------------- ##
  1802 ## File substitutions. ##
  1803 ## ------------------- ##
  1804 _ASBOX
  1805       echo
  1806       for ac_var in $ac_subst_files
  1807       do
  1808 	eval ac_val=\$$ac_var
  1809 	case $ac_val in
  1810 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1811 	esac
  1812 	$as_echo "$ac_var='\''$ac_val'\''"
  1813       done | sort
  1814       echo
  1815     fi
  1817     if test -s confdefs.h; then
  1818       cat <<\_ASBOX
  1819 ## ----------- ##
  1820 ## confdefs.h. ##
  1821 ## ----------- ##
  1822 _ASBOX
  1823       echo
  1824       cat confdefs.h
  1825       echo
  1826     fi
  1827     test "$ac_signal" != 0 &&
  1828       $as_echo "$as_me: caught signal $ac_signal"
  1829     $as_echo "$as_me: exit $exit_status"
  1830   } >&5
  1831   rm -f core *.core core.conftest.* &&
  1832     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1833     exit $exit_status
  1834 ' 0
  1835 for ac_signal in 1 2 13 15; do
  1836   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1837 done
  1838 ac_signal=0
  1840 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1841 rm -f -r conftest* confdefs.h
  1843 # Predefined preprocessor variables.
  1845 cat >>confdefs.h <<_ACEOF
  1846 #define PACKAGE_NAME "$PACKAGE_NAME"
  1847 _ACEOF
  1850 cat >>confdefs.h <<_ACEOF
  1851 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1852 _ACEOF
  1855 cat >>confdefs.h <<_ACEOF
  1856 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1857 _ACEOF
  1860 cat >>confdefs.h <<_ACEOF
  1861 #define PACKAGE_STRING "$PACKAGE_STRING"
  1862 _ACEOF
  1865 cat >>confdefs.h <<_ACEOF
  1866 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1867 _ACEOF
  1870 # Let the site file select an alternate cache file if it wants to.
  1871 # Prefer an explicitly selected file to automatically selected ones.
  1872 ac_site_file1=NONE
  1873 ac_site_file2=NONE
  1874 if test -n "$CONFIG_SITE"; then
  1875   ac_site_file1=$CONFIG_SITE
  1876 elif test "x$prefix" != xNONE; then
  1877   ac_site_file1=$prefix/share/config.site
  1878   ac_site_file2=$prefix/etc/config.site
  1879 else
  1880   ac_site_file1=$ac_default_prefix/share/config.site
  1881   ac_site_file2=$ac_default_prefix/etc/config.site
  1882 fi
  1883 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1884 do
  1885   test "x$ac_site_file" = xNONE && continue
  1886   if test -r "$ac_site_file"; then
  1887     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1888 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1889     sed 's/^/| /' "$ac_site_file" >&5
  1890     . "$ac_site_file"
  1891   fi
  1892 done
  1894 if test -r "$cache_file"; then
  1895   # Some versions of bash will fail to source /dev/null (special
  1896   # files actually), so we avoid doing that.
  1897   if test -f "$cache_file"; then
  1898     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1899 $as_echo "$as_me: loading cache $cache_file" >&6;}
  1900     case $cache_file in
  1901       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1902       *)                      . "./$cache_file";;
  1903     esac
  1904   fi
  1905 else
  1906   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1907 $as_echo "$as_me: creating cache $cache_file" >&6;}
  1908   >$cache_file
  1909 fi
  1911 # Check that the precious variables saved in the cache have kept the same
  1912 # value.
  1913 ac_cache_corrupted=false
  1914 for ac_var in $ac_precious_vars; do
  1915   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1916   eval ac_new_set=\$ac_env_${ac_var}_set
  1917   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1918   eval ac_new_val=\$ac_env_${ac_var}_value
  1919   case $ac_old_set,$ac_new_set in
  1920     set,)
  1921       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1922 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1923       ac_cache_corrupted=: ;;
  1924     ,set)
  1925       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1926 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1927       ac_cache_corrupted=: ;;
  1928     ,);;
  1929     *)
  1930       if test "x$ac_old_val" != "x$ac_new_val"; then
  1931 	# differences in whitespace do not lead to failure.
  1932 	ac_old_val_w=`echo x $ac_old_val`
  1933 	ac_new_val_w=`echo x $ac_new_val`
  1934 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1935 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1936 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1937 	  ac_cache_corrupted=:
  1938 	else
  1939 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1940 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1941 	  eval $ac_var=\$ac_old_val
  1942 	fi
  1943 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
  1944 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  1945 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
  1946 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  1947       fi;;
  1948   esac
  1949   # Pass precious variables to config.status.
  1950   if test "$ac_new_set" = set; then
  1951     case $ac_new_val in
  1952     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1953     *) ac_arg=$ac_var=$ac_new_val ;;
  1954     esac
  1955     case " $ac_configure_args " in
  1956       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1957       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1958     esac
  1959   fi
  1960 done
  1961 if $ac_cache_corrupted; then
  1962   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  1963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1964   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1965 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1966   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1967 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1968    { (exit 1); exit 1; }; }
  1969 fi
  1987 ac_ext=c
  1988 ac_cpp='$CPP $CPPFLAGS'
  1989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1994 am__api_version="1.9"
  1995 ac_aux_dir=
  1996 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1997   if test -f "$ac_dir/install-sh"; then
  1998     ac_aux_dir=$ac_dir
  1999     ac_install_sh="$ac_aux_dir/install-sh -c"
  2000     break
  2001   elif test -f "$ac_dir/install.sh"; then
  2002     ac_aux_dir=$ac_dir
  2003     ac_install_sh="$ac_aux_dir/install.sh -c"
  2004     break
  2005   elif test -f "$ac_dir/shtool"; then
  2006     ac_aux_dir=$ac_dir
  2007     ac_install_sh="$ac_aux_dir/shtool install -c"
  2008     break
  2009   fi
  2010 done
  2011 if test -z "$ac_aux_dir"; then
  2012   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  2013 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  2014    { (exit 1); exit 1; }; }
  2015 fi
  2017 # These three variables are undocumented and unsupported,
  2018 # and are intended to be withdrawn in a future Autoconf release.
  2019 # They can cause serious problems if a builder's source tree is in a directory
  2020 # whose full name contains unusual characters.
  2021 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2022 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2023 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2026 # Find a good install program.  We prefer a C program (faster),
  2027 # so one script is as good as another.  But avoid the broken or
  2028 # incompatible versions:
  2029 # SysV /etc/install, /usr/sbin/install
  2030 # SunOS /usr/etc/install
  2031 # IRIX /sbin/install
  2032 # AIX /bin/install
  2033 # AmigaOS /C/install, which installs bootblocks on floppy discs
  2034 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2035 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2036 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2037 # OS/2's system install, which has a completely different semantic
  2038 # ./install, which can be erroneously created by make from ./install.sh.
  2039 # Reject install programs that cannot install multiple files.
  2040 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  2041 $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2042 if test -z "$INSTALL"; then
  2043 if test "${ac_cv_path_install+set}" = set; then
  2044   $as_echo_n "(cached) " >&6
  2045 else
  2046   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2047 for as_dir in $PATH
  2048 do
  2049   IFS=$as_save_IFS
  2050   test -z "$as_dir" && as_dir=.
  2051   # Account for people who put trailing slashes in PATH elements.
  2052 case $as_dir/ in
  2053   ./ | .// | /cC/* | \
  2054   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2055   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  2056   /usr/ucb/* ) ;;
  2057   *)
  2058     # OSF1 and SCO ODT 3.0 have their own names for install.
  2059     # Don't use installbsd from OSF since it installs stuff as root
  2060     # by default.
  2061     for ac_prog in ginstall scoinst install; do
  2062       for ac_exec_ext in '' $ac_executable_extensions; do
  2063 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2064 	  if test $ac_prog = install &&
  2065 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2066 	    # AIX install.  It has an incompatible calling convention.
  2068 	  elif test $ac_prog = install &&
  2069 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2070 	    # program-specific install script used by HP pwplus--don't use.
  2072 	  else
  2073 	    rm -rf conftest.one conftest.two conftest.dir
  2074 	    echo one > conftest.one
  2075 	    echo two > conftest.two
  2076 	    mkdir conftest.dir
  2077 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2078 	      test -s conftest.one && test -s conftest.two &&
  2079 	      test -s conftest.dir/conftest.one &&
  2080 	      test -s conftest.dir/conftest.two
  2081 	    then
  2082 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2083 	      break 3
  2084 	    fi
  2085 	  fi
  2086 	fi
  2087       done
  2088     done
  2089     ;;
  2090 esac
  2092 done
  2093 IFS=$as_save_IFS
  2095 rm -rf conftest.one conftest.two conftest.dir
  2097 fi
  2098   if test "${ac_cv_path_install+set}" = set; then
  2099     INSTALL=$ac_cv_path_install
  2100   else
  2101     # As a last resort, use the slow shell script.  Don't cache a
  2102     # value for INSTALL within a source directory, because that will
  2103     # break other packages using the cache if that directory is
  2104     # removed, or if the value is a relative name.
  2105     INSTALL=$ac_install_sh
  2106   fi
  2107 fi
  2108 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  2109 $as_echo "$INSTALL" >&6; }
  2111 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2112 # It thinks the first close brace ends the variable substitution.
  2113 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2115 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2117 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2119 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2120 $as_echo_n "checking whether build environment is sane... " >&6; }
  2121 # Just in case
  2122 sleep 1
  2123 echo timestamp > conftest.file
  2124 # Do `set' in a subshell so we don't clobber the current shell's
  2125 # arguments.  Must try -L first in case configure is actually a
  2126 # symlink; some systems play weird games with the mod time of symlinks
  2127 # (eg FreeBSD returns the mod time of the symlink's containing
  2128 # directory).
  2129 if (
  2130    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  2131    if test "$*" = "X"; then
  2132       # -L didn't work.
  2133       set X `ls -t $srcdir/configure conftest.file`
  2134    fi
  2135    rm -f conftest.file
  2136    if test "$*" != "X $srcdir/configure conftest.file" \
  2137       && test "$*" != "X conftest.file $srcdir/configure"; then
  2139       # If neither matched, then we have a broken ls.  This can happen
  2140       # if, for instance, CONFIG_SHELL is bash and it inherits a
  2141       # broken ls alias from the environment.  This has actually
  2142       # happened.  Such a system could not be considered "sane".
  2143       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  2144 alias in your environment" >&5
  2145 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  2146 alias in your environment" >&2;}
  2147    { (exit 1); exit 1; }; }
  2148    fi
  2150    test "$2" = conftest.file
  2152 then
  2153    # Ok.
  2155 else
  2156    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2157 Check your system clock" >&5
  2158 $as_echo "$as_me: error: newly created file is older than distributed files!
  2159 Check your system clock" >&2;}
  2160    { (exit 1); exit 1; }; }
  2161 fi
  2162 { $as_echo "$as_me:$LINENO: result: yes" >&5
  2163 $as_echo "yes" >&6; }
  2164 test "$program_prefix" != NONE &&
  2165   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2166 # Use a double $ so make ignores it.
  2167 test "$program_suffix" != NONE &&
  2168   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2169 # Double any \ or $.
  2170 # By default was `s,x,x', remove it if useless.
  2171 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2172 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2174 # expand $ac_aux_dir to an absolute path
  2175 am_aux_dir=`cd $ac_aux_dir && pwd`
  2177 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2178 # Use eval to expand $SHELL
  2179 if eval "$MISSING --run true"; then
  2180   am_missing_run="$MISSING --run "
  2181 else
  2182   am_missing_run=
  2183   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2184 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2185 fi
  2187 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  2188   # We used to keeping the `.' as first argument, in order to
  2189   # allow $(mkdir_p) to be used without argument.  As in
  2190   #   $(mkdir_p) $(somedir)
  2191   # where $(somedir) is conditionally defined.  However this is wrong
  2192   # for two reasons:
  2193   #  1. if the package is installed by a user who cannot write `.'
  2194   #     make install will fail,
  2195   #  2. the above comment should most certainly read
  2196   #     $(mkdir_p) $(DESTDIR)$(somedir)
  2197   #     so it does not work when $(somedir) is undefined and
  2198   #     $(DESTDIR) is not.
  2199   #  To support the latter case, we have to write
  2200   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  2201   #  so the `.' trick is pointless.
  2202   mkdir_p='mkdir -p --'
  2203 else
  2204   # On NextStep and OpenStep, the `mkdir' command does not
  2205   # recognize any option.  It will interpret all options as
  2206   # directories to create, and then abort because `.' already
  2207   # exists.
  2208   for d in ./-p ./--version;
  2209   do
  2210     test -d $d && rmdir $d
  2211   done
  2212   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  2213   if test -f "$ac_aux_dir/mkinstalldirs"; then
  2214     mkdir_p='$(mkinstalldirs)'
  2215   else
  2216     mkdir_p='$(install_sh) -d'
  2217   fi
  2218 fi
  2220 for ac_prog in gawk mawk nawk awk
  2221 do
  2222   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2223 set dummy $ac_prog; ac_word=$2
  2224 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2225 $as_echo_n "checking for $ac_word... " >&6; }
  2226 if test "${ac_cv_prog_AWK+set}" = set; then
  2227   $as_echo_n "(cached) " >&6
  2228 else
  2229   if test -n "$AWK"; then
  2230   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2231 else
  2232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2233 for as_dir in $PATH
  2234 do
  2235   IFS=$as_save_IFS
  2236   test -z "$as_dir" && as_dir=.
  2237   for ac_exec_ext in '' $ac_executable_extensions; do
  2238   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2239     ac_cv_prog_AWK="$ac_prog"
  2240     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2241     break 2
  2242   fi
  2243 done
  2244 done
  2245 IFS=$as_save_IFS
  2247 fi
  2248 fi
  2249 AWK=$ac_cv_prog_AWK
  2250 if test -n "$AWK"; then
  2251   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  2252 $as_echo "$AWK" >&6; }
  2253 else
  2254   { $as_echo "$as_me:$LINENO: result: no" >&5
  2255 $as_echo "no" >&6; }
  2256 fi
  2259   test -n "$AWK" && break
  2260 done
  2262 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2263 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2264 set x ${MAKE-make}
  2265 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2266 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2267   $as_echo_n "(cached) " >&6
  2268 else
  2269   cat >conftest.make <<\_ACEOF
  2270 SHELL = /bin/sh
  2271 all:
  2272 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2273 _ACEOF
  2274 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2275 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2276   *@@@%%%=?*=@@@%%%*)
  2277     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2278   *)
  2279     eval ac_cv_prog_make_${ac_make}_set=no;;
  2280 esac
  2281 rm -f conftest.make
  2282 fi
  2283 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2284   { $as_echo "$as_me:$LINENO: result: yes" >&5
  2285 $as_echo "yes" >&6; }
  2286   SET_MAKE=
  2287 else
  2288   { $as_echo "$as_me:$LINENO: result: no" >&5
  2289 $as_echo "no" >&6; }
  2290   SET_MAKE="MAKE=${MAKE-make}"
  2291 fi
  2293 rm -rf .tst 2>/dev/null
  2294 mkdir .tst 2>/dev/null
  2295 if test -d .tst; then
  2296   am__leading_dot=.
  2297 else
  2298   am__leading_dot=_
  2299 fi
  2300 rmdir .tst 2>/dev/null
  2302 # test to see if srcdir already configured
  2303 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2304    test -f $srcdir/config.status; then
  2305   { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2306 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2307    { (exit 1); exit 1; }; }
  2308 fi
  2310 # test whether we have cygpath
  2311 if test -z "$CYGPATH_W"; then
  2312   if (cygpath --version) >/dev/null 2>/dev/null; then
  2313     CYGPATH_W='cygpath -w'
  2314   else
  2315     CYGPATH_W=echo
  2316   fi
  2317 fi
  2320 # Define the identity of the package.
  2321  PACKAGE=lxdream
  2322  VERSION=0.9.1
  2325 cat >>confdefs.h <<_ACEOF
  2326 #define PACKAGE "$PACKAGE"
  2327 _ACEOF
  2330 cat >>confdefs.h <<_ACEOF
  2331 #define VERSION "$VERSION"
  2332 _ACEOF
  2334 # Some tools Automake needs.
  2336 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2339 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2342 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2345 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2348 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2350 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2352 # Installed binaries are usually stripped using `strip' when the user
  2353 # run `make install-strip'.  However `strip' might not be the right
  2354 # tool to use in cross-compilation environments, therefore Automake
  2355 # will honor the `STRIP' environment variable to overrule this program.
  2356 if test "$cross_compiling" != no; then
  2357   if test -n "$ac_tool_prefix"; then
  2358   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2359 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2360 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2361 $as_echo_n "checking for $ac_word... " >&6; }
  2362 if test "${ac_cv_prog_STRIP+set}" = set; then
  2363   $as_echo_n "(cached) " >&6
  2364 else
  2365   if test -n "$STRIP"; then
  2366   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2367 else
  2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2369 for as_dir in $PATH
  2370 do
  2371   IFS=$as_save_IFS
  2372   test -z "$as_dir" && as_dir=.
  2373   for ac_exec_ext in '' $ac_executable_extensions; do
  2374   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2375     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2376     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2377     break 2
  2378   fi
  2379 done
  2380 done
  2381 IFS=$as_save_IFS
  2383 fi
  2384 fi
  2385 STRIP=$ac_cv_prog_STRIP
  2386 if test -n "$STRIP"; then
  2387   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  2388 $as_echo "$STRIP" >&6; }
  2389 else
  2390   { $as_echo "$as_me:$LINENO: result: no" >&5
  2391 $as_echo "no" >&6; }
  2392 fi
  2395 fi
  2396 if test -z "$ac_cv_prog_STRIP"; then
  2397   ac_ct_STRIP=$STRIP
  2398   # Extract the first word of "strip", so it can be a program name with args.
  2399 set dummy strip; ac_word=$2
  2400 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2401 $as_echo_n "checking for $ac_word... " >&6; }
  2402 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2403   $as_echo_n "(cached) " >&6
  2404 else
  2405   if test -n "$ac_ct_STRIP"; then
  2406   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2407 else
  2408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2409 for as_dir in $PATH
  2410 do
  2411   IFS=$as_save_IFS
  2412   test -z "$as_dir" && as_dir=.
  2413   for ac_exec_ext in '' $ac_executable_extensions; do
  2414   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2415     ac_cv_prog_ac_ct_STRIP="strip"
  2416     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2417     break 2
  2418   fi
  2419 done
  2420 done
  2421 IFS=$as_save_IFS
  2423 fi
  2424 fi
  2425 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2426 if test -n "$ac_ct_STRIP"; then
  2427   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2428 $as_echo "$ac_ct_STRIP" >&6; }
  2429 else
  2430   { $as_echo "$as_me:$LINENO: result: no" >&5
  2431 $as_echo "no" >&6; }
  2432 fi
  2434   if test "x$ac_ct_STRIP" = x; then
  2435     STRIP=":"
  2436   else
  2437     case $cross_compiling:$ac_tool_warned in
  2438 yes:)
  2439 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  2440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2441 ac_tool_warned=yes ;;
  2442 esac
  2443     STRIP=$ac_ct_STRIP
  2444   fi
  2445 else
  2446   STRIP="$ac_cv_prog_STRIP"
  2447 fi
  2449 fi
  2450 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2452 # We need awk for the "check" target.  The system "awk" is bad on
  2453 # some platforms.
  2454 # Always define AMTAR for backward compatibility.
  2456 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2458 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2464 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2465 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2466     # Check whether --enable-maintainer-mode was given.
  2467 if test "${enable_maintainer_mode+set}" = set; then
  2468   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2469 else
  2470   USE_MAINTAINER_MODE=no
  2471 fi
  2473   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2474 $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2477 if test $USE_MAINTAINER_MODE = yes; then
  2478   MAINTAINER_MODE_TRUE=
  2479   MAINTAINER_MODE_FALSE='#'
  2480 else
  2481   MAINTAINER_MODE_TRUE='#'
  2482   MAINTAINER_MODE_FALSE=
  2483 fi
  2485   MAINT=$MAINTAINER_MODE_TRUE
  2488 ac_config_headers="$ac_config_headers config.h"
  2491 DEPDIR="${am__leading_dot}deps"
  2493 ac_config_commands="$ac_config_commands depfiles"
  2496 am_make=${MAKE-make}
  2497 cat > confinc << 'END'
  2498 am__doit:
  2499 	@echo done
  2500 .PHONY: am__doit
  2501 END
  2502 # If we don't find an include directive, just comment out the code.
  2503 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2504 $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2505 am__include="#"
  2506 am__quote=
  2507 _am_result=none
  2508 # First try GNU make style include.
  2509 echo "include confinc" > confmf
  2510 # We grep out `Entering directory' and `Leaving directory'
  2511 # messages which can occur if `w' ends up in MAKEFLAGS.
  2512 # In particular we don't look at `^make:' because GNU make might
  2513 # be invoked under some other name (usually "gmake"), in which
  2514 # case it prints its new name instead of `make'.
  2515 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2516    am__include=include
  2517    am__quote=
  2518    _am_result=GNU
  2519 fi
  2520 # Now try BSD make style include.
  2521 if test "$am__include" = "#"; then
  2522    echo '.include "confinc"' > confmf
  2523    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2524       am__include=.include
  2525       am__quote="\""
  2526       _am_result=BSD
  2527    fi
  2528 fi
  2531 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  2532 $as_echo "$_am_result" >&6; }
  2533 rm -f confinc confmf
  2535 # Check whether --enable-dependency-tracking was given.
  2536 if test "${enable_dependency_tracking+set}" = set; then
  2537   enableval=$enable_dependency_tracking;
  2538 fi
  2540 if test "x$enable_dependency_tracking" != xno; then
  2541   am_depcomp="$ac_aux_dir/depcomp"
  2542   AMDEPBACKSLASH='\'
  2543 fi
  2546 if test "x$enable_dependency_tracking" != xno; then
  2547   AMDEP_TRUE=
  2548   AMDEP_FALSE='#'
  2549 else
  2550   AMDEP_TRUE='#'
  2551   AMDEP_FALSE=
  2552 fi
  2556 ac_ext=c
  2557 ac_cpp='$CPP $CPPFLAGS'
  2558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2561 if test -n "$ac_tool_prefix"; then
  2562   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2563 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2564 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2565 $as_echo_n "checking for $ac_word... " >&6; }
  2566 if test "${ac_cv_prog_CC+set}" = set; then
  2567   $as_echo_n "(cached) " >&6
  2568 else
  2569   if test -n "$CC"; then
  2570   ac_cv_prog_CC="$CC" # Let the user override the test.
  2571 else
  2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2573 for as_dir in $PATH
  2574 do
  2575   IFS=$as_save_IFS
  2576   test -z "$as_dir" && as_dir=.
  2577   for ac_exec_ext in '' $ac_executable_extensions; do
  2578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2579     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2580     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2581     break 2
  2582   fi
  2583 done
  2584 done
  2585 IFS=$as_save_IFS
  2587 fi
  2588 fi
  2589 CC=$ac_cv_prog_CC
  2590 if test -n "$CC"; then
  2591   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2592 $as_echo "$CC" >&6; }
  2593 else
  2594   { $as_echo "$as_me:$LINENO: result: no" >&5
  2595 $as_echo "no" >&6; }
  2596 fi
  2599 fi
  2600 if test -z "$ac_cv_prog_CC"; then
  2601   ac_ct_CC=$CC
  2602   # Extract the first word of "gcc", so it can be a program name with args.
  2603 set dummy gcc; ac_word=$2
  2604 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2605 $as_echo_n "checking for $ac_word... " >&6; }
  2606 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2607   $as_echo_n "(cached) " >&6
  2608 else
  2609   if test -n "$ac_ct_CC"; then
  2610   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2611 else
  2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2613 for as_dir in $PATH
  2614 do
  2615   IFS=$as_save_IFS
  2616   test -z "$as_dir" && as_dir=.
  2617   for ac_exec_ext in '' $ac_executable_extensions; do
  2618   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2619     ac_cv_prog_ac_ct_CC="gcc"
  2620     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2621     break 2
  2622   fi
  2623 done
  2624 done
  2625 IFS=$as_save_IFS
  2627 fi
  2628 fi
  2629 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2630 if test -n "$ac_ct_CC"; then
  2631   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2632 $as_echo "$ac_ct_CC" >&6; }
  2633 else
  2634   { $as_echo "$as_me:$LINENO: result: no" >&5
  2635 $as_echo "no" >&6; }
  2636 fi
  2638   if test "x$ac_ct_CC" = x; then
  2639     CC=""
  2640   else
  2641     case $cross_compiling:$ac_tool_warned in
  2642 yes:)
  2643 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  2644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2645 ac_tool_warned=yes ;;
  2646 esac
  2647     CC=$ac_ct_CC
  2648   fi
  2649 else
  2650   CC="$ac_cv_prog_CC"
  2651 fi
  2653 if test -z "$CC"; then
  2654           if test -n "$ac_tool_prefix"; then
  2655     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2656 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2657 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2658 $as_echo_n "checking for $ac_word... " >&6; }
  2659 if test "${ac_cv_prog_CC+set}" = set; then
  2660   $as_echo_n "(cached) " >&6
  2661 else
  2662   if test -n "$CC"; then
  2663   ac_cv_prog_CC="$CC" # Let the user override the test.
  2664 else
  2665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2666 for as_dir in $PATH
  2667 do
  2668   IFS=$as_save_IFS
  2669   test -z "$as_dir" && as_dir=.
  2670   for ac_exec_ext in '' $ac_executable_extensions; do
  2671   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2672     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2673     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2674     break 2
  2675   fi
  2676 done
  2677 done
  2678 IFS=$as_save_IFS
  2680 fi
  2681 fi
  2682 CC=$ac_cv_prog_CC
  2683 if test -n "$CC"; then
  2684   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2685 $as_echo "$CC" >&6; }
  2686 else
  2687   { $as_echo "$as_me:$LINENO: result: no" >&5
  2688 $as_echo "no" >&6; }
  2689 fi
  2692   fi
  2693 fi
  2694 if test -z "$CC"; then
  2695   # Extract the first word of "cc", so it can be a program name with args.
  2696 set dummy cc; ac_word=$2
  2697 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2698 $as_echo_n "checking for $ac_word... " >&6; }
  2699 if test "${ac_cv_prog_CC+set}" = set; then
  2700   $as_echo_n "(cached) " >&6
  2701 else
  2702   if test -n "$CC"; then
  2703   ac_cv_prog_CC="$CC" # Let the user override the test.
  2704 else
  2705   ac_prog_rejected=no
  2706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2707 for as_dir in $PATH
  2708 do
  2709   IFS=$as_save_IFS
  2710   test -z "$as_dir" && as_dir=.
  2711   for ac_exec_ext in '' $ac_executable_extensions; do
  2712   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2713     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2714        ac_prog_rejected=yes
  2715        continue
  2716      fi
  2717     ac_cv_prog_CC="cc"
  2718     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2719     break 2
  2720   fi
  2721 done
  2722 done
  2723 IFS=$as_save_IFS
  2725 if test $ac_prog_rejected = yes; then
  2726   # We found a bogon in the path, so make sure we never use it.
  2727   set dummy $ac_cv_prog_CC
  2728   shift
  2729   if test $# != 0; then
  2730     # We chose a different compiler from the bogus one.
  2731     # However, it has the same basename, so the bogon will be chosen
  2732     # first if we set CC to just the basename; use the full file name.
  2733     shift
  2734     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2735   fi
  2736 fi
  2737 fi
  2738 fi
  2739 CC=$ac_cv_prog_CC
  2740 if test -n "$CC"; then
  2741   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2742 $as_echo "$CC" >&6; }
  2743 else
  2744   { $as_echo "$as_me:$LINENO: result: no" >&5
  2745 $as_echo "no" >&6; }
  2746 fi
  2749 fi
  2750 if test -z "$CC"; then
  2751   if test -n "$ac_tool_prefix"; then
  2752   for ac_prog in cl.exe
  2753   do
  2754     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2755 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2756 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2757 $as_echo_n "checking for $ac_word... " >&6; }
  2758 if test "${ac_cv_prog_CC+set}" = set; then
  2759   $as_echo_n "(cached) " >&6
  2760 else
  2761   if test -n "$CC"; then
  2762   ac_cv_prog_CC="$CC" # Let the user override the test.
  2763 else
  2764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2765 for as_dir in $PATH
  2766 do
  2767   IFS=$as_save_IFS
  2768   test -z "$as_dir" && as_dir=.
  2769   for ac_exec_ext in '' $ac_executable_extensions; do
  2770   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2771     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2772     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2773     break 2
  2774   fi
  2775 done
  2776 done
  2777 IFS=$as_save_IFS
  2779 fi
  2780 fi
  2781 CC=$ac_cv_prog_CC
  2782 if test -n "$CC"; then
  2783   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2784 $as_echo "$CC" >&6; }
  2785 else
  2786   { $as_echo "$as_me:$LINENO: result: no" >&5
  2787 $as_echo "no" >&6; }
  2788 fi
  2791     test -n "$CC" && break
  2792   done
  2793 fi
  2794 if test -z "$CC"; then
  2795   ac_ct_CC=$CC
  2796   for ac_prog in cl.exe
  2797 do
  2798   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2799 set dummy $ac_prog; ac_word=$2
  2800 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2801 $as_echo_n "checking for $ac_word... " >&6; }
  2802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2803   $as_echo_n "(cached) " >&6
  2804 else
  2805   if test -n "$ac_ct_CC"; then
  2806   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2807 else
  2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2809 for as_dir in $PATH
  2810 do
  2811   IFS=$as_save_IFS
  2812   test -z "$as_dir" && as_dir=.
  2813   for ac_exec_ext in '' $ac_executable_extensions; do
  2814   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2815     ac_cv_prog_ac_ct_CC="$ac_prog"
  2816     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2817     break 2
  2818   fi
  2819 done
  2820 done
  2821 IFS=$as_save_IFS
  2823 fi
  2824 fi
  2825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2826 if test -n "$ac_ct_CC"; then
  2827   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2828 $as_echo "$ac_ct_CC" >&6; }
  2829 else
  2830   { $as_echo "$as_me:$LINENO: result: no" >&5
  2831 $as_echo "no" >&6; }
  2832 fi
  2835   test -n "$ac_ct_CC" && break
  2836 done
  2838   if test "x$ac_ct_CC" = x; then
  2839     CC=""
  2840   else
  2841     case $cross_compiling:$ac_tool_warned in
  2842 yes:)
  2843 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  2844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2845 ac_tool_warned=yes ;;
  2846 esac
  2847     CC=$ac_ct_CC
  2848   fi
  2849 fi
  2851 fi
  2854 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  2855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2856 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2857 See \`config.log' for more details." >&5
  2858 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  2859 See \`config.log' for more details." >&2;}
  2860    { (exit 1); exit 1; }; }; }
  2862 # Provide some information about the compiler.
  2863 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  2864 set X $ac_compile
  2865 ac_compiler=$2
  2866 { (ac_try="$ac_compiler --version >&5"
  2867 case "(($ac_try" in
  2868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2869   *) ac_try_echo=$ac_try;;
  2870 esac
  2871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2872 $as_echo "$ac_try_echo") >&5
  2873   (eval "$ac_compiler --version >&5") 2>&5
  2874   ac_status=$?
  2875   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2876   (exit $ac_status); }
  2877 { (ac_try="$ac_compiler -v >&5"
  2878 case "(($ac_try" in
  2879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2880   *) ac_try_echo=$ac_try;;
  2881 esac
  2882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2883 $as_echo "$ac_try_echo") >&5
  2884   (eval "$ac_compiler -v >&5") 2>&5
  2885   ac_status=$?
  2886   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2887   (exit $ac_status); }
  2888 { (ac_try="$ac_compiler -V >&5"
  2889 case "(($ac_try" in
  2890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2891   *) ac_try_echo=$ac_try;;
  2892 esac
  2893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2894 $as_echo "$ac_try_echo") >&5
  2895   (eval "$ac_compiler -V >&5") 2>&5
  2896   ac_status=$?
  2897   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2898   (exit $ac_status); }
  2900 cat >conftest.$ac_ext <<_ACEOF
  2901 /* confdefs.h.  */
  2902 _ACEOF
  2903 cat confdefs.h >>conftest.$ac_ext
  2904 cat >>conftest.$ac_ext <<_ACEOF
  2905 /* end confdefs.h.  */
  2907 int
  2908 main ()
  2912   return 0;
  2914 _ACEOF
  2915 ac_clean_files_save=$ac_clean_files
  2916 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2917 # Try to create an executable without -o first, disregard a.out.
  2918 # It will help us diagnose broken compilers, and finding out an intuition
  2919 # of exeext.
  2920 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2921 $as_echo_n "checking for C compiler default output file name... " >&6; }
  2922 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2924 # The possible output files:
  2925 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2927 ac_rmfiles=
  2928 for ac_file in $ac_files
  2929 do
  2930   case $ac_file in
  2931     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2932     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2933   esac
  2934 done
  2935 rm -f $ac_rmfiles
  2937 if { (ac_try="$ac_link_default"
  2938 case "(($ac_try" in
  2939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2940   *) ac_try_echo=$ac_try;;
  2941 esac
  2942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2943 $as_echo "$ac_try_echo") >&5
  2944   (eval "$ac_link_default") 2>&5
  2945   ac_status=$?
  2946   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2947   (exit $ac_status); }; then
  2948   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2949 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2950 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2951 # so that the user can short-circuit this test for compilers unknown to
  2952 # Autoconf.
  2953 for ac_file in $ac_files ''
  2954 do
  2955   test -f "$ac_file" || continue
  2956   case $ac_file in
  2957     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2958 	;;
  2959     [ab].out )
  2960 	# We found the default executable, but exeext='' is most
  2961 	# certainly right.
  2962 	break;;
  2963     *.* )
  2964         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2965 	then :; else
  2966 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2967 	fi
  2968 	# We set ac_cv_exeext here because the later test for it is not
  2969 	# safe: cross compilers may not add the suffix if given an `-o'
  2970 	# argument, so we may need to know it at that point already.
  2971 	# Even if this section looks crufty: it has the advantage of
  2972 	# actually working.
  2973 	break;;
  2974     * )
  2975 	break;;
  2976   esac
  2977 done
  2978 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2980 else
  2981   ac_file=''
  2982 fi
  2984 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  2985 $as_echo "$ac_file" >&6; }
  2986 if test -z "$ac_file"; then
  2987   $as_echo "$as_me: failed program was:" >&5
  2988 sed 's/^/| /' conftest.$ac_ext >&5
  2990 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  2991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2992 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  2993 See \`config.log' for more details." >&5
  2994 $as_echo "$as_me: error: C compiler cannot create executables
  2995 See \`config.log' for more details." >&2;}
  2996    { (exit 77); exit 77; }; }; }
  2997 fi
  2999 ac_exeext=$ac_cv_exeext
  3001 # Check that the compiler produces executables we can run.  If not, either
  3002 # the compiler is broken, or we cross compile.
  3003 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  3004 $as_echo_n "checking whether the C compiler works... " >&6; }
  3005 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  3006 # If not cross compiling, check that we can run a simple program.
  3007 if test "$cross_compiling" != yes; then
  3008   if { ac_try='./$ac_file'
  3009   { (case "(($ac_try" in
  3010   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3011   *) ac_try_echo=$ac_try;;
  3012 esac
  3013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3014 $as_echo "$ac_try_echo") >&5
  3015   (eval "$ac_try") 2>&5
  3016   ac_status=$?
  3017   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3018   (exit $ac_status); }; }; then
  3019     cross_compiling=no
  3020   else
  3021     if test "$cross_compiling" = maybe; then
  3022 	cross_compiling=yes
  3023     else
  3024 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3026 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  3027 If you meant to cross compile, use \`--host'.
  3028 See \`config.log' for more details." >&5
  3029 $as_echo "$as_me: error: cannot run C compiled programs.
  3030 If you meant to cross compile, use \`--host'.
  3031 See \`config.log' for more details." >&2;}
  3032    { (exit 1); exit 1; }; }; }
  3033     fi
  3034   fi
  3035 fi
  3036 { $as_echo "$as_me:$LINENO: result: yes" >&5
  3037 $as_echo "yes" >&6; }
  3039 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3040 ac_clean_files=$ac_clean_files_save
  3041 # Check that the compiler produces executables we can run.  If not, either
  3042 # the compiler is broken, or we cross compile.
  3043 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  3044 $as_echo_n "checking whether we are cross compiling... " >&6; }
  3045 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  3046 $as_echo "$cross_compiling" >&6; }
  3048 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  3049 $as_echo_n "checking for suffix of executables... " >&6; }
  3050 if { (ac_try="$ac_link"
  3051 case "(($ac_try" in
  3052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3053   *) ac_try_echo=$ac_try;;
  3054 esac
  3055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3056 $as_echo "$ac_try_echo") >&5
  3057   (eval "$ac_link") 2>&5
  3058   ac_status=$?
  3059   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3060   (exit $ac_status); }; then
  3061   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3062 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3063 # work properly (i.e., refer to `conftest.exe'), while it won't with
  3064 # `rm'.
  3065 for ac_file in conftest.exe conftest conftest.*; do
  3066   test -f "$ac_file" || continue
  3067   case $ac_file in
  3068     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3069     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3070 	  break;;
  3071     * ) break;;
  3072   esac
  3073 done
  3074 else
  3075   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3077 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  3078 See \`config.log' for more details." >&5
  3079 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  3080 See \`config.log' for more details." >&2;}
  3081    { (exit 1); exit 1; }; }; }
  3082 fi
  3084 rm -f conftest$ac_cv_exeext
  3085 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  3086 $as_echo "$ac_cv_exeext" >&6; }
  3088 rm -f conftest.$ac_ext
  3089 EXEEXT=$ac_cv_exeext
  3090 ac_exeext=$EXEEXT
  3091 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  3092 $as_echo_n "checking for suffix of object files... " >&6; }
  3093 if test "${ac_cv_objext+set}" = set; then
  3094   $as_echo_n "(cached) " >&6
  3095 else
  3096   cat >conftest.$ac_ext <<_ACEOF
  3097 /* confdefs.h.  */
  3098 _ACEOF
  3099 cat confdefs.h >>conftest.$ac_ext
  3100 cat >>conftest.$ac_ext <<_ACEOF
  3101 /* end confdefs.h.  */
  3103 int
  3104 main ()
  3108   return 0;
  3110 _ACEOF
  3111 rm -f conftest.o conftest.obj
  3112 if { (ac_try="$ac_compile"
  3113 case "(($ac_try" in
  3114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3115   *) ac_try_echo=$ac_try;;
  3116 esac
  3117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3118 $as_echo "$ac_try_echo") >&5
  3119   (eval "$ac_compile") 2>&5
  3120   ac_status=$?
  3121   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3122   (exit $ac_status); }; then
  3123   for ac_file in conftest.o conftest.obj conftest.*; do
  3124   test -f "$ac_file" || continue;
  3125   case $ac_file in
  3126     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3127     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3128        break;;
  3129   esac
  3130 done
  3131 else
  3132   $as_echo "$as_me: failed program was:" >&5
  3133 sed 's/^/| /' conftest.$ac_ext >&5
  3135 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3137 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  3138 See \`config.log' for more details." >&5
  3139 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  3140 See \`config.log' for more details." >&2;}
  3141    { (exit 1); exit 1; }; }; }
  3142 fi
  3144 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3145 fi
  3146 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  3147 $as_echo "$ac_cv_objext" >&6; }
  3148 OBJEXT=$ac_cv_objext
  3149 ac_objext=$OBJEXT
  3150 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3151 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3152 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3153   $as_echo_n "(cached) " >&6
  3154 else
  3155   cat >conftest.$ac_ext <<_ACEOF
  3156 /* confdefs.h.  */
  3157 _ACEOF
  3158 cat confdefs.h >>conftest.$ac_ext
  3159 cat >>conftest.$ac_ext <<_ACEOF
  3160 /* end confdefs.h.  */
  3162 int
  3163 main ()
  3165 #ifndef __GNUC__
  3166        choke me
  3167 #endif
  3170   return 0;
  3172 _ACEOF
  3173 rm -f conftest.$ac_objext
  3174 if { (ac_try="$ac_compile"
  3175 case "(($ac_try" in
  3176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3177   *) ac_try_echo=$ac_try;;
  3178 esac
  3179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3180 $as_echo "$ac_try_echo") >&5
  3181   (eval "$ac_compile") 2>conftest.er1
  3182   ac_status=$?
  3183   grep -v '^ *+' conftest.er1 >conftest.err
  3184   rm -f conftest.er1
  3185   cat conftest.err >&5
  3186   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3187   (exit $ac_status); } && {
  3188 	 test -z "$ac_c_werror_flag" ||
  3189 	 test ! -s conftest.err
  3190        } && test -s conftest.$ac_objext; then
  3191   ac_compiler_gnu=yes
  3192 else
  3193   $as_echo "$as_me: failed program was:" >&5
  3194 sed 's/^/| /' conftest.$ac_ext >&5
  3196 	ac_compiler_gnu=no
  3197 fi
  3199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3200 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3202 fi
  3203 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3204 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3205 if test $ac_compiler_gnu = yes; then
  3206   GCC=yes
  3207 else
  3208   GCC=
  3209 fi
  3210 ac_test_CFLAGS=${CFLAGS+set}
  3211 ac_save_CFLAGS=$CFLAGS
  3212 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3213 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3214 if test "${ac_cv_prog_cc_g+set}" = set; then
  3215   $as_echo_n "(cached) " >&6
  3216 else
  3217   ac_save_c_werror_flag=$ac_c_werror_flag
  3218    ac_c_werror_flag=yes
  3219    ac_cv_prog_cc_g=no
  3220    CFLAGS="-g"
  3221    cat >conftest.$ac_ext <<_ACEOF
  3222 /* confdefs.h.  */
  3223 _ACEOF
  3224 cat confdefs.h >>conftest.$ac_ext
  3225 cat >>conftest.$ac_ext <<_ACEOF
  3226 /* end confdefs.h.  */
  3228 int
  3229 main ()
  3233   return 0;
  3235 _ACEOF
  3236 rm -f conftest.$ac_objext
  3237 if { (ac_try="$ac_compile"
  3238 case "(($ac_try" in
  3239   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3240   *) ac_try_echo=$ac_try;;
  3241 esac
  3242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3243 $as_echo "$ac_try_echo") >&5
  3244   (eval "$ac_compile") 2>conftest.er1
  3245   ac_status=$?
  3246   grep -v '^ *+' conftest.er1 >conftest.err
  3247   rm -f conftest.er1
  3248   cat conftest.err >&5
  3249   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3250   (exit $ac_status); } && {
  3251 	 test -z "$ac_c_werror_flag" ||
  3252 	 test ! -s conftest.err
  3253        } && test -s conftest.$ac_objext; then
  3254   ac_cv_prog_cc_g=yes
  3255 else
  3256   $as_echo "$as_me: failed program was:" >&5
  3257 sed 's/^/| /' conftest.$ac_ext >&5
  3259 	CFLAGS=""
  3260       cat >conftest.$ac_ext <<_ACEOF
  3261 /* confdefs.h.  */
  3262 _ACEOF
  3263 cat confdefs.h >>conftest.$ac_ext
  3264 cat >>conftest.$ac_ext <<_ACEOF
  3265 /* end confdefs.h.  */
  3267 int
  3268 main ()
  3272   return 0;
  3274 _ACEOF
  3275 rm -f conftest.$ac_objext
  3276 if { (ac_try="$ac_compile"
  3277 case "(($ac_try" in
  3278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3279   *) ac_try_echo=$ac_try;;
  3280 esac
  3281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3282 $as_echo "$ac_try_echo") >&5
  3283   (eval "$ac_compile") 2>conftest.er1
  3284   ac_status=$?
  3285   grep -v '^ *+' conftest.er1 >conftest.err
  3286   rm -f conftest.er1
  3287   cat conftest.err >&5
  3288   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3289   (exit $ac_status); } && {
  3290 	 test -z "$ac_c_werror_flag" ||
  3291 	 test ! -s conftest.err
  3292        } && test -s conftest.$ac_objext; then
  3294 else
  3295   $as_echo "$as_me: failed program was:" >&5
  3296 sed 's/^/| /' conftest.$ac_ext >&5
  3298 	ac_c_werror_flag=$ac_save_c_werror_flag
  3299 	 CFLAGS="-g"
  3300 	 cat >conftest.$ac_ext <<_ACEOF
  3301 /* confdefs.h.  */
  3302 _ACEOF
  3303 cat confdefs.h >>conftest.$ac_ext
  3304 cat >>conftest.$ac_ext <<_ACEOF
  3305 /* end confdefs.h.  */
  3307 int
  3308 main ()
  3312   return 0;
  3314 _ACEOF
  3315 rm -f conftest.$ac_objext
  3316 if { (ac_try="$ac_compile"
  3317 case "(($ac_try" in
  3318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3319   *) ac_try_echo=$ac_try;;
  3320 esac
  3321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3322 $as_echo "$ac_try_echo") >&5
  3323   (eval "$ac_compile") 2>conftest.er1
  3324   ac_status=$?
  3325   grep -v '^ *+' conftest.er1 >conftest.err
  3326   rm -f conftest.er1
  3327   cat conftest.err >&5
  3328   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3329   (exit $ac_status); } && {
  3330 	 test -z "$ac_c_werror_flag" ||
  3331 	 test ! -s conftest.err
  3332        } && test -s conftest.$ac_objext; then
  3333   ac_cv_prog_cc_g=yes
  3334 else
  3335   $as_echo "$as_me: failed program was:" >&5
  3336 sed 's/^/| /' conftest.$ac_ext >&5
  3339 fi
  3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3342 fi
  3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3345 fi
  3347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3348    ac_c_werror_flag=$ac_save_c_werror_flag
  3349 fi
  3350 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3351 $as_echo "$ac_cv_prog_cc_g" >&6; }
  3352 if test "$ac_test_CFLAGS" = set; then
  3353   CFLAGS=$ac_save_CFLAGS
  3354 elif test $ac_cv_prog_cc_g = yes; then
  3355   if test "$GCC" = yes; then
  3356     CFLAGS="-g -O2"
  3357   else
  3358     CFLAGS="-g"
  3359   fi
  3360 else
  3361   if test "$GCC" = yes; then
  3362     CFLAGS="-O2"
  3363   else
  3364     CFLAGS=
  3365   fi
  3366 fi
  3367 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3368 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3369 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3370   $as_echo_n "(cached) " >&6
  3371 else
  3372   ac_cv_prog_cc_c89=no
  3373 ac_save_CC=$CC
  3374 cat >conftest.$ac_ext <<_ACEOF
  3375 /* confdefs.h.  */
  3376 _ACEOF
  3377 cat confdefs.h >>conftest.$ac_ext
  3378 cat >>conftest.$ac_ext <<_ACEOF
  3379 /* end confdefs.h.  */
  3380 #include <stdarg.h>
  3381 #include <stdio.h>
  3382 #include <sys/types.h>
  3383 #include <sys/stat.h>
  3384 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3385 struct buf { int x; };
  3386 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3387 static char *e (p, i)
  3388      char **p;
  3389      int i;
  3391   return p[i];
  3393 static char *f (char * (*g) (char **, int), char **p, ...)
  3395   char *s;
  3396   va_list v;
  3397   va_start (v,p);
  3398   s = g (p, va_arg (v,int));
  3399   va_end (v);
  3400   return s;
  3403 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3404    function prototypes and stuff, but not '\xHH' hex character constants.
  3405    These don't provoke an error unfortunately, instead are silently treated
  3406    as 'x'.  The following induces an error, until -std is added to get
  3407    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3408    array size at least.  It's necessary to write '\x00'==0 to get something
  3409    that's true only with -std.  */
  3410 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3412 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3413    inside strings and character constants.  */
  3414 #define FOO(x) 'x'
  3415 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3417 int test (int i, double x);
  3418 struct s1 {int (*f) (int a);};
  3419 struct s2 {int (*f) (double a);};
  3420 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3421 int argc;
  3422 char **argv;
  3423 int
  3424 main ()
  3426 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3428   return 0;
  3430 _ACEOF
  3431 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3432 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3433 do
  3434   CC="$ac_save_CC $ac_arg"
  3435   rm -f conftest.$ac_objext
  3436 if { (ac_try="$ac_compile"
  3437 case "(($ac_try" in
  3438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3439   *) ac_try_echo=$ac_try;;
  3440 esac
  3441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3442 $as_echo "$ac_try_echo") >&5
  3443   (eval "$ac_compile") 2>conftest.er1
  3444   ac_status=$?
  3445   grep -v '^ *+' conftest.er1 >conftest.err
  3446   rm -f conftest.er1
  3447   cat conftest.err >&5
  3448   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3449   (exit $ac_status); } && {
  3450 	 test -z "$ac_c_werror_flag" ||
  3451 	 test ! -s conftest.err
  3452        } && test -s conftest.$ac_objext; then
  3453   ac_cv_prog_cc_c89=$ac_arg
  3454 else
  3455   $as_echo "$as_me: failed program was:" >&5
  3456 sed 's/^/| /' conftest.$ac_ext >&5
  3459 fi
  3461 rm -f core conftest.err conftest.$ac_objext
  3462   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3463 done
  3464 rm -f conftest.$ac_ext
  3465 CC=$ac_save_CC
  3467 fi
  3468 # AC_CACHE_VAL
  3469 case "x$ac_cv_prog_cc_c89" in
  3470   x)
  3471     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  3472 $as_echo "none needed" >&6; } ;;
  3473   xno)
  3474     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  3475 $as_echo "unsupported" >&6; } ;;
  3476   *)
  3477     CC="$CC $ac_cv_prog_cc_c89"
  3478     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3479 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3480 esac
  3483 ac_ext=c
  3484 ac_cpp='$CPP $CPPFLAGS'
  3485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3489 depcc="$CC"   am_compiler_list=
  3491 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3492 $as_echo_n "checking dependency style of $depcc... " >&6; }
  3493 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3494   $as_echo_n "(cached) " >&6
  3495 else
  3496   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3497   # We make a subdir and do the tests there.  Otherwise we can end up
  3498   # making bogus files that we don't know about and never remove.  For
  3499   # instance it was reported that on HP-UX the gcc test will end up
  3500   # making a dummy file named `D' -- because `-MD' means `put the output
  3501   # in D'.
  3502   mkdir conftest.dir
  3503   # Copy depcomp to subdir because otherwise we won't find it if we're
  3504   # using a relative directory.
  3505   cp "$am_depcomp" conftest.dir
  3506   cd conftest.dir
  3507   # We will build objects and dependencies in a subdirectory because
  3508   # it helps to detect inapplicable dependency modes.  For instance
  3509   # both Tru64's cc and ICC support -MD to output dependencies as a
  3510   # side effect of compilation, but ICC will put the dependencies in
  3511   # the current directory while Tru64 will put them in the object
  3512   # directory.
  3513   mkdir sub
  3515   am_cv_CC_dependencies_compiler_type=none
  3516   if test "$am_compiler_list" = ""; then
  3517      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3518   fi
  3519   for depmode in $am_compiler_list; do
  3520     # Setup a source with many dependencies, because some compilers
  3521     # like to wrap large dependency lists on column 80 (with \), and
  3522     # we should not choose a depcomp mode which is confused by this.
  3524     # We need to recreate these files for each test, as the compiler may
  3525     # overwrite some of them when testing with obscure command lines.
  3526     # This happens at least with the AIX C compiler.
  3527     : > sub/conftest.c
  3528     for i in 1 2 3 4 5 6; do
  3529       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3530       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3531       # Solaris 8's {/usr,}/bin/sh.
  3532       touch sub/conftst$i.h
  3533     done
  3534     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3536     case $depmode in
  3537     nosideeffect)
  3538       # after this tag, mechanisms are not by side-effect, so they'll
  3539       # only be used when explicitly requested
  3540       if test "x$enable_dependency_tracking" = xyes; then
  3541 	continue
  3542       else
  3543 	break
  3544       fi
  3545       ;;
  3546     none) break ;;
  3547     esac
  3548     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3549     # mode.  It turns out that the SunPro C++ compiler does not properly
  3550     # handle `-M -o', and we need to detect this.
  3551     if depmode=$depmode \
  3552        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3553        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3554        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3555          >/dev/null 2>conftest.err &&
  3556        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3557        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3558        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3559       # icc doesn't choke on unknown options, it will just issue warnings
  3560       # or remarks (even with -Werror).  So we grep stderr for any message
  3561       # that says an option was ignored or not supported.
  3562       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3563       #   icc: Command line warning: ignoring option '-M'; no argument required
  3564       # The diagnosis changed in icc 8.0:
  3565       #   icc: Command line remark: option '-MP' not supported
  3566       if (grep 'ignoring option' conftest.err ||
  3567           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3568         am_cv_CC_dependencies_compiler_type=$depmode
  3569         break
  3570       fi
  3571     fi
  3572   done
  3574   cd ..
  3575   rm -rf conftest.dir
  3576 else
  3577   am_cv_CC_dependencies_compiler_type=none
  3578 fi
  3580 fi
  3581 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3582 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3583 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3587 if
  3588   test "x$enable_dependency_tracking" != xno \
  3589   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3590   am__fastdepCC_TRUE=
  3591   am__fastdepCC_FALSE='#'
  3592 else
  3593   am__fastdepCC_TRUE='#'
  3594   am__fastdepCC_FALSE=
  3595 fi
  3600         { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
  3601 $as_echo_n "checking for strerror in -lcposix... " >&6; }
  3602 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  3603   $as_echo_n "(cached) " >&6
  3604 else
  3605   ac_check_lib_save_LIBS=$LIBS
  3606 LIBS="-lcposix  $LIBS"
  3607 cat >conftest.$ac_ext <<_ACEOF
  3608 /* confdefs.h.  */
  3609 _ACEOF
  3610 cat confdefs.h >>conftest.$ac_ext
  3611 cat >>conftest.$ac_ext <<_ACEOF
  3612 /* end confdefs.h.  */
  3614 /* Override any GCC internal prototype to avoid an error.
  3615    Use char because int might match the return type of a GCC
  3616    builtin and then its argument prototype would still apply.  */
  3617 #ifdef __cplusplus
  3618 extern "C"
  3619 #endif
  3620 char strerror ();
  3621 int
  3622 main ()
  3624 return strerror ();
  3626   return 0;
  3628 _ACEOF
  3629 rm -f conftest.$ac_objext conftest$ac_exeext
  3630 if { (ac_try="$ac_link"
  3631 case "(($ac_try" in
  3632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3633   *) ac_try_echo=$ac_try;;
  3634 esac
  3635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3636 $as_echo "$ac_try_echo") >&5
  3637   (eval "$ac_link") 2>conftest.er1
  3638   ac_status=$?
  3639   grep -v '^ *+' conftest.er1 >conftest.err
  3640   rm -f conftest.er1
  3641   cat conftest.err >&5
  3642   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3643   (exit $ac_status); } && {
  3644 	 test -z "$ac_c_werror_flag" ||
  3645 	 test ! -s conftest.err
  3646        } && test -s conftest$ac_exeext && {
  3647 	 test "$cross_compiling" = yes ||
  3648 	 $as_test_x conftest$ac_exeext
  3649        }; then
  3650   ac_cv_lib_cposix_strerror=yes
  3651 else
  3652   $as_echo "$as_me: failed program was:" >&5
  3653 sed 's/^/| /' conftest.$ac_ext >&5
  3655 	ac_cv_lib_cposix_strerror=no
  3656 fi
  3658 rm -rf conftest.dSYM
  3659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3660       conftest$ac_exeext conftest.$ac_ext
  3661 LIBS=$ac_check_lib_save_LIBS
  3662 fi
  3663 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
  3664 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
  3665 if test "x$ac_cv_lib_cposix_strerror" = x""yes; then
  3666   LIBS="$LIBS -lcposix"
  3667 fi
  3671 ac_ext=c
  3672 ac_cpp='$CPP $CPPFLAGS'
  3673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3676 if test -n "$ac_tool_prefix"; then
  3677   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3678 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3679 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3680 $as_echo_n "checking for $ac_word... " >&6; }
  3681 if test "${ac_cv_prog_CC+set}" = set; then
  3682   $as_echo_n "(cached) " >&6
  3683 else
  3684   if test -n "$CC"; then
  3685   ac_cv_prog_CC="$CC" # Let the user override the test.
  3686 else
  3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3688 for as_dir in $PATH
  3689 do
  3690   IFS=$as_save_IFS
  3691   test -z "$as_dir" && as_dir=.
  3692   for ac_exec_ext in '' $ac_executable_extensions; do
  3693   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3694     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3695     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3696     break 2
  3697   fi
  3698 done
  3699 done
  3700 IFS=$as_save_IFS
  3702 fi
  3703 fi
  3704 CC=$ac_cv_prog_CC
  3705 if test -n "$CC"; then
  3706   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3707 $as_echo "$CC" >&6; }
  3708 else
  3709   { $as_echo "$as_me:$LINENO: result: no" >&5
  3710 $as_echo "no" >&6; }
  3711 fi
  3714 fi
  3715 if test -z "$ac_cv_prog_CC"; then
  3716   ac_ct_CC=$CC
  3717   # Extract the first word of "gcc", so it can be a program name with args.
  3718 set dummy gcc; ac_word=$2
  3719 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3720 $as_echo_n "checking for $ac_word... " >&6; }
  3721 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3722   $as_echo_n "(cached) " >&6
  3723 else
  3724   if test -n "$ac_ct_CC"; then
  3725   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3726 else
  3727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3728 for as_dir in $PATH
  3729 do
  3730   IFS=$as_save_IFS
  3731   test -z "$as_dir" && as_dir=.
  3732   for ac_exec_ext in '' $ac_executable_extensions; do
  3733   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3734     ac_cv_prog_ac_ct_CC="gcc"
  3735     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3736     break 2
  3737   fi
  3738 done
  3739 done
  3740 IFS=$as_save_IFS
  3742 fi
  3743 fi
  3744 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3745 if test -n "$ac_ct_CC"; then
  3746   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3747 $as_echo "$ac_ct_CC" >&6; }
  3748 else
  3749   { $as_echo "$as_me:$LINENO: result: no" >&5
  3750 $as_echo "no" >&6; }
  3751 fi
  3753   if test "x$ac_ct_CC" = x; then
  3754     CC=""
  3755   else
  3756     case $cross_compiling:$ac_tool_warned in
  3757 yes:)
  3758 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  3759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3760 ac_tool_warned=yes ;;
  3761 esac
  3762     CC=$ac_ct_CC
  3763   fi
  3764 else
  3765   CC="$ac_cv_prog_CC"
  3766 fi
  3768 if test -z "$CC"; then
  3769           if test -n "$ac_tool_prefix"; then
  3770     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3771 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3772 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3773 $as_echo_n "checking for $ac_word... " >&6; }
  3774 if test "${ac_cv_prog_CC+set}" = set; then
  3775   $as_echo_n "(cached) " >&6
  3776 else
  3777   if test -n "$CC"; then
  3778   ac_cv_prog_CC="$CC" # Let the user override the test.
  3779 else
  3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3781 for as_dir in $PATH
  3782 do
  3783   IFS=$as_save_IFS
  3784   test -z "$as_dir" && as_dir=.
  3785   for ac_exec_ext in '' $ac_executable_extensions; do
  3786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3787     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3788     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3789     break 2
  3790   fi
  3791 done
  3792 done
  3793 IFS=$as_save_IFS
  3795 fi
  3796 fi
  3797 CC=$ac_cv_prog_CC
  3798 if test -n "$CC"; then
  3799   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3800 $as_echo "$CC" >&6; }
  3801 else
  3802   { $as_echo "$as_me:$LINENO: result: no" >&5
  3803 $as_echo "no" >&6; }
  3804 fi
  3807   fi
  3808 fi
  3809 if test -z "$CC"; then
  3810   # Extract the first word of "cc", so it can be a program name with args.
  3811 set dummy cc; ac_word=$2
  3812 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3813 $as_echo_n "checking for $ac_word... " >&6; }
  3814 if test "${ac_cv_prog_CC+set}" = set; then
  3815   $as_echo_n "(cached) " >&6
  3816 else
  3817   if test -n "$CC"; then
  3818   ac_cv_prog_CC="$CC" # Let the user override the test.
  3819 else
  3820   ac_prog_rejected=no
  3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3822 for as_dir in $PATH
  3823 do
  3824   IFS=$as_save_IFS
  3825   test -z "$as_dir" && as_dir=.
  3826   for ac_exec_ext in '' $ac_executable_extensions; do
  3827   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3828     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3829        ac_prog_rejected=yes
  3830        continue
  3831      fi
  3832     ac_cv_prog_CC="cc"
  3833     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3834     break 2
  3835   fi
  3836 done
  3837 done
  3838 IFS=$as_save_IFS
  3840 if test $ac_prog_rejected = yes; then
  3841   # We found a bogon in the path, so make sure we never use it.
  3842   set dummy $ac_cv_prog_CC
  3843   shift
  3844   if test $# != 0; then
  3845     # We chose a different compiler from the bogus one.
  3846     # However, it has the same basename, so the bogon will be chosen
  3847     # first if we set CC to just the basename; use the full file name.
  3848     shift
  3849     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3850   fi
  3851 fi
  3852 fi
  3853 fi
  3854 CC=$ac_cv_prog_CC
  3855 if test -n "$CC"; then
  3856   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3857 $as_echo "$CC" >&6; }
  3858 else
  3859   { $as_echo "$as_me:$LINENO: result: no" >&5
  3860 $as_echo "no" >&6; }
  3861 fi
  3864 fi
  3865 if test -z "$CC"; then
  3866   if test -n "$ac_tool_prefix"; then
  3867   for ac_prog in cl.exe
  3868   do
  3869     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3870 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3871 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3872 $as_echo_n "checking for $ac_word... " >&6; }
  3873 if test "${ac_cv_prog_CC+set}" = set; then
  3874   $as_echo_n "(cached) " >&6
  3875 else
  3876   if test -n "$CC"; then
  3877   ac_cv_prog_CC="$CC" # Let the user override the test.
  3878 else
  3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3880 for as_dir in $PATH
  3881 do
  3882   IFS=$as_save_IFS
  3883   test -z "$as_dir" && as_dir=.
  3884   for ac_exec_ext in '' $ac_executable_extensions; do
  3885   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3886     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3887     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3888     break 2
  3889   fi
  3890 done
  3891 done
  3892 IFS=$as_save_IFS
  3894 fi
  3895 fi
  3896 CC=$ac_cv_prog_CC
  3897 if test -n "$CC"; then
  3898   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3899 $as_echo "$CC" >&6; }
  3900 else
  3901   { $as_echo "$as_me:$LINENO: result: no" >&5
  3902 $as_echo "no" >&6; }
  3903 fi
  3906     test -n "$CC" && break
  3907   done
  3908 fi
  3909 if test -z "$CC"; then
  3910   ac_ct_CC=$CC
  3911   for ac_prog in cl.exe
  3912 do
  3913   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3914 set dummy $ac_prog; ac_word=$2
  3915 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3916 $as_echo_n "checking for $ac_word... " >&6; }
  3917 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3918   $as_echo_n "(cached) " >&6
  3919 else
  3920   if test -n "$ac_ct_CC"; then
  3921   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3922 else
  3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3924 for as_dir in $PATH
  3925 do
  3926   IFS=$as_save_IFS
  3927   test -z "$as_dir" && as_dir=.
  3928   for ac_exec_ext in '' $ac_executable_extensions; do
  3929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3930     ac_cv_prog_ac_ct_CC="$ac_prog"
  3931     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3932     break 2
  3933   fi
  3934 done
  3935 done
  3936 IFS=$as_save_IFS
  3938 fi
  3939 fi
  3940 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3941 if test -n "$ac_ct_CC"; then
  3942   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3943 $as_echo "$ac_ct_CC" >&6; }
  3944 else
  3945   { $as_echo "$as_me:$LINENO: result: no" >&5
  3946 $as_echo "no" >&6; }
  3947 fi
  3950   test -n "$ac_ct_CC" && break
  3951 done
  3953   if test "x$ac_ct_CC" = x; then
  3954     CC=""
  3955   else
  3956     case $cross_compiling:$ac_tool_warned in
  3957 yes:)
  3958 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  3959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3960 ac_tool_warned=yes ;;
  3961 esac
  3962     CC=$ac_ct_CC
  3963   fi
  3964 fi
  3966 fi
  3969 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3971 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3972 See \`config.log' for more details." >&5
  3973 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  3974 See \`config.log' for more details." >&2;}
  3975    { (exit 1); exit 1; }; }; }
  3977 # Provide some information about the compiler.
  3978 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  3979 set X $ac_compile
  3980 ac_compiler=$2
  3981 { (ac_try="$ac_compiler --version >&5"
  3982 case "(($ac_try" in
  3983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3984   *) ac_try_echo=$ac_try;;
  3985 esac
  3986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3987 $as_echo "$ac_try_echo") >&5
  3988   (eval "$ac_compiler --version >&5") 2>&5
  3989   ac_status=$?
  3990   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3991   (exit $ac_status); }
  3992 { (ac_try="$ac_compiler -v >&5"
  3993 case "(($ac_try" in
  3994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3995   *) ac_try_echo=$ac_try;;
  3996 esac
  3997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3998 $as_echo "$ac_try_echo") >&5
  3999   (eval "$ac_compiler -v >&5") 2>&5
  4000   ac_status=$?
  4001   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4002   (exit $ac_status); }
  4003 { (ac_try="$ac_compiler -V >&5"
  4004 case "(($ac_try" in
  4005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4006   *) ac_try_echo=$ac_try;;
  4007 esac
  4008 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4009 $as_echo "$ac_try_echo") >&5
  4010   (eval "$ac_compiler -V >&5") 2>&5
  4011   ac_status=$?
  4012   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4013   (exit $ac_status); }
  4015 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4016 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4017 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4018   $as_echo_n "(cached) " >&6
  4019 else
  4020   cat >conftest.$ac_ext <<_ACEOF
  4021 /* confdefs.h.  */
  4022 _ACEOF
  4023 cat confdefs.h >>conftest.$ac_ext
  4024 cat >>conftest.$ac_ext <<_ACEOF
  4025 /* end confdefs.h.  */
  4027 int
  4028 main ()
  4030 #ifndef __GNUC__
  4031        choke me
  4032 #endif
  4035   return 0;
  4037 _ACEOF
  4038 rm -f conftest.$ac_objext
  4039 if { (ac_try="$ac_compile"
  4040 case "(($ac_try" in
  4041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4042   *) ac_try_echo=$ac_try;;
  4043 esac
  4044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4045 $as_echo "$ac_try_echo") >&5
  4046   (eval "$ac_compile") 2>conftest.er1
  4047   ac_status=$?
  4048   grep -v '^ *+' conftest.er1 >conftest.err
  4049   rm -f conftest.er1
  4050   cat conftest.err >&5
  4051   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4052   (exit $ac_status); } && {
  4053 	 test -z "$ac_c_werror_flag" ||
  4054 	 test ! -s conftest.err
  4055        } && test -s conftest.$ac_objext; then
  4056   ac_compiler_gnu=yes
  4057 else
  4058   $as_echo "$as_me: failed program was:" >&5
  4059 sed 's/^/| /' conftest.$ac_ext >&5
  4061 	ac_compiler_gnu=no
  4062 fi
  4064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4065 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4067 fi
  4068 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4069 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4070 if test $ac_compiler_gnu = yes; then
  4071   GCC=yes
  4072 else
  4073   GCC=
  4074 fi
  4075 ac_test_CFLAGS=${CFLAGS+set}
  4076 ac_save_CFLAGS=$CFLAGS
  4077 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4078 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4079 if test "${ac_cv_prog_cc_g+set}" = set; then
  4080   $as_echo_n "(cached) " >&6
  4081 else
  4082   ac_save_c_werror_flag=$ac_c_werror_flag
  4083    ac_c_werror_flag=yes
  4084    ac_cv_prog_cc_g=no
  4085    CFLAGS="-g"
  4086    cat >conftest.$ac_ext <<_ACEOF
  4087 /* confdefs.h.  */
  4088 _ACEOF
  4089 cat confdefs.h >>conftest.$ac_ext
  4090 cat >>conftest.$ac_ext <<_ACEOF
  4091 /* end confdefs.h.  */
  4093 int
  4094 main ()
  4098   return 0;
  4100 _ACEOF
  4101 rm -f conftest.$ac_objext
  4102 if { (ac_try="$ac_compile"
  4103 case "(($ac_try" in
  4104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4105   *) ac_try_echo=$ac_try;;
  4106 esac
  4107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4108 $as_echo "$ac_try_echo") >&5
  4109   (eval "$ac_compile") 2>conftest.er1
  4110   ac_status=$?
  4111   grep -v '^ *+' conftest.er1 >conftest.err
  4112   rm -f conftest.er1
  4113   cat conftest.err >&5
  4114   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4115   (exit $ac_status); } && {
  4116 	 test -z "$ac_c_werror_flag" ||
  4117 	 test ! -s conftest.err
  4118        } && test -s conftest.$ac_objext; then
  4119   ac_cv_prog_cc_g=yes
  4120 else
  4121   $as_echo "$as_me: failed program was:" >&5
  4122 sed 's/^/| /' conftest.$ac_ext >&5
  4124 	CFLAGS=""
  4125       cat >conftest.$ac_ext <<_ACEOF
  4126 /* confdefs.h.  */
  4127 _ACEOF
  4128 cat confdefs.h >>conftest.$ac_ext
  4129 cat >>conftest.$ac_ext <<_ACEOF
  4130 /* end confdefs.h.  */
  4132 int
  4133 main ()
  4137   return 0;
  4139 _ACEOF
  4140 rm -f conftest.$ac_objext
  4141 if { (ac_try="$ac_compile"
  4142 case "(($ac_try" in
  4143   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4144   *) ac_try_echo=$ac_try;;
  4145 esac
  4146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4147 $as_echo "$ac_try_echo") >&5
  4148   (eval "$ac_compile") 2>conftest.er1
  4149   ac_status=$?
  4150   grep -v '^ *+' conftest.er1 >conftest.err
  4151   rm -f conftest.er1
  4152   cat conftest.err >&5
  4153   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4154   (exit $ac_status); } && {
  4155 	 test -z "$ac_c_werror_flag" ||
  4156 	 test ! -s conftest.err
  4157        } && test -s conftest.$ac_objext; then
  4159 else
  4160   $as_echo "$as_me: failed program was:" >&5
  4161 sed 's/^/| /' conftest.$ac_ext >&5
  4163 	ac_c_werror_flag=$ac_save_c_werror_flag
  4164 	 CFLAGS="-g"
  4165 	 cat >conftest.$ac_ext <<_ACEOF
  4166 /* confdefs.h.  */
  4167 _ACEOF
  4168 cat confdefs.h >>conftest.$ac_ext
  4169 cat >>conftest.$ac_ext <<_ACEOF
  4170 /* end confdefs.h.  */
  4172 int
  4173 main ()
  4177   return 0;
  4179 _ACEOF
  4180 rm -f conftest.$ac_objext
  4181 if { (ac_try="$ac_compile"
  4182 case "(($ac_try" in
  4183   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4184   *) ac_try_echo=$ac_try;;
  4185 esac
  4186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4187 $as_echo "$ac_try_echo") >&5
  4188   (eval "$ac_compile") 2>conftest.er1
  4189   ac_status=$?
  4190   grep -v '^ *+' conftest.er1 >conftest.err
  4191   rm -f conftest.er1
  4192   cat conftest.err >&5
  4193   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4194   (exit $ac_status); } && {
  4195 	 test -z "$ac_c_werror_flag" ||
  4196 	 test ! -s conftest.err
  4197        } && test -s conftest.$ac_objext; then
  4198   ac_cv_prog_cc_g=yes
  4199 else
  4200   $as_echo "$as_me: failed program was:" >&5
  4201 sed 's/^/| /' conftest.$ac_ext >&5
  4204 fi
  4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4207 fi
  4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4210 fi
  4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4213    ac_c_werror_flag=$ac_save_c_werror_flag
  4214 fi
  4215 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4216 $as_echo "$ac_cv_prog_cc_g" >&6; }
  4217 if test "$ac_test_CFLAGS" = set; then
  4218   CFLAGS=$ac_save_CFLAGS
  4219 elif test $ac_cv_prog_cc_g = yes; then
  4220   if test "$GCC" = yes; then
  4221     CFLAGS="-g -O2"
  4222   else
  4223     CFLAGS="-g"
  4224   fi
  4225 else
  4226   if test "$GCC" = yes; then
  4227     CFLAGS="-O2"
  4228   else
  4229     CFLAGS=
  4230   fi
  4231 fi
  4232 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4233 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4234 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4235   $as_echo_n "(cached) " >&6
  4236 else
  4237   ac_cv_prog_cc_c89=no
  4238 ac_save_CC=$CC
  4239 cat >conftest.$ac_ext <<_ACEOF
  4240 /* confdefs.h.  */
  4241 _ACEOF
  4242 cat confdefs.h >>conftest.$ac_ext
  4243 cat >>conftest.$ac_ext <<_ACEOF
  4244 /* end confdefs.h.  */
  4245 #include <stdarg.h>
  4246 #include <stdio.h>
  4247 #include <sys/types.h>
  4248 #include <sys/stat.h>
  4249 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4250 struct buf { int x; };
  4251 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4252 static char *e (p, i)
  4253      char **p;
  4254      int i;
  4256   return p[i];
  4258 static char *f (char * (*g) (char **, int), char **p, ...)
  4260   char *s;
  4261   va_list v;
  4262   va_start (v,p);
  4263   s = g (p, va_arg (v,int));
  4264   va_end (v);
  4265   return s;
  4268 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4269    function prototypes and stuff, but not '\xHH' hex character constants.
  4270    These don't provoke an error unfortunately, instead are silently treated
  4271    as 'x'.  The following induces an error, until -std is added to get
  4272    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4273    array size at least.  It's necessary to write '\x00'==0 to get something
  4274    that's true only with -std.  */
  4275 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4277 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4278    inside strings and character constants.  */
  4279 #define FOO(x) 'x'
  4280 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4282 int test (int i, double x);
  4283 struct s1 {int (*f) (int a);};
  4284 struct s2 {int (*f) (double a);};
  4285 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4286 int argc;
  4287 char **argv;
  4288 int
  4289 main ()
  4291 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4293   return 0;
  4295 _ACEOF
  4296 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4297 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4298 do
  4299   CC="$ac_save_CC $ac_arg"
  4300   rm -f conftest.$ac_objext
  4301 if { (ac_try="$ac_compile"
  4302 case "(($ac_try" in
  4303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4304   *) ac_try_echo=$ac_try;;
  4305 esac
  4306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4307 $as_echo "$ac_try_echo") >&5
  4308   (eval "$ac_compile") 2>conftest.er1
  4309   ac_status=$?
  4310   grep -v '^ *+' conftest.er1 >conftest.err
  4311   rm -f conftest.er1
  4312   cat conftest.err >&5
  4313   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4314   (exit $ac_status); } && {
  4315 	 test -z "$ac_c_werror_flag" ||
  4316 	 test ! -s conftest.err
  4317        } && test -s conftest.$ac_objext; then
  4318   ac_cv_prog_cc_c89=$ac_arg
  4319 else
  4320   $as_echo "$as_me: failed program was:" >&5
  4321 sed 's/^/| /' conftest.$ac_ext >&5
  4324 fi
  4326 rm -f core conftest.err conftest.$ac_objext
  4327   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4328 done
  4329 rm -f conftest.$ac_ext
  4330 CC=$ac_save_CC
  4332 fi
  4333 # AC_CACHE_VAL
  4334 case "x$ac_cv_prog_cc_c89" in
  4335   x)
  4336     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  4337 $as_echo "none needed" >&6; } ;;
  4338   xno)
  4339     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  4340 $as_echo "unsupported" >&6; } ;;
  4341   *)
  4342     CC="$CC $ac_cv_prog_cc_c89"
  4343     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4344 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4345 esac
  4348 ac_ext=c
  4349 ac_cpp='$CPP $CPPFLAGS'
  4350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4354 depcc="$CC"   am_compiler_list=
  4356 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4357 $as_echo_n "checking dependency style of $depcc... " >&6; }
  4358 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4359   $as_echo_n "(cached) " >&6
  4360 else
  4361   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4362   # We make a subdir and do the tests there.  Otherwise we can end up
  4363   # making bogus files that we don't know about and never remove.  For
  4364   # instance it was reported that on HP-UX the gcc test will end up
  4365   # making a dummy file named `D' -- because `-MD' means `put the output
  4366   # in D'.
  4367   mkdir conftest.dir
  4368   # Copy depcomp to subdir because otherwise we won't find it if we're
  4369   # using a relative directory.
  4370   cp "$am_depcomp" conftest.dir
  4371   cd conftest.dir
  4372   # We will build objects and dependencies in a subdirectory because
  4373   # it helps to detect inapplicable dependency modes.  For instance
  4374   # both Tru64's cc and ICC support -MD to output dependencies as a
  4375   # side effect of compilation, but ICC will put the dependencies in
  4376   # the current directory while Tru64 will put them in the object
  4377   # directory.
  4378   mkdir sub
  4380   am_cv_CC_dependencies_compiler_type=none
  4381   if test "$am_compiler_list" = ""; then
  4382      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4383   fi
  4384   for depmode in $am_compiler_list; do
  4385     # Setup a source with many dependencies, because some compilers
  4386     # like to wrap large dependency lists on column 80 (with \), and
  4387     # we should not choose a depcomp mode which is confused by this.
  4389     # We need to recreate these files for each test, as the compiler may
  4390     # overwrite some of them when testing with obscure command lines.
  4391     # This happens at least with the AIX C compiler.
  4392     : > sub/conftest.c
  4393     for i in 1 2 3 4 5 6; do
  4394       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4395       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4396       # Solaris 8's {/usr,}/bin/sh.
  4397       touch sub/conftst$i.h
  4398     done
  4399     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4401     case $depmode in
  4402     nosideeffect)
  4403       # after this tag, mechanisms are not by side-effect, so they'll
  4404       # only be used when explicitly requested
  4405       if test "x$enable_dependency_tracking" = xyes; then
  4406 	continue
  4407       else
  4408 	break
  4409       fi
  4410       ;;
  4411     none) break ;;
  4412     esac
  4413     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4414     # mode.  It turns out that the SunPro C++ compiler does not properly
  4415     # handle `-M -o', and we need to detect this.
  4416     if depmode=$depmode \
  4417        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4418        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4419        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4420          >/dev/null 2>conftest.err &&
  4421        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4422        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4423        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4424       # icc doesn't choke on unknown options, it will just issue warnings
  4425       # or remarks (even with -Werror).  So we grep stderr for any message
  4426       # that says an option was ignored or not supported.
  4427       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4428       #   icc: Command line warning: ignoring option '-M'; no argument required
  4429       # The diagnosis changed in icc 8.0:
  4430       #   icc: Command line remark: option '-MP' not supported
  4431       if (grep 'ignoring option' conftest.err ||
  4432           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4433         am_cv_CC_dependencies_compiler_type=$depmode
  4434         break
  4435       fi
  4436     fi
  4437   done
  4439   cd ..
  4440   rm -rf conftest.dir
  4441 else
  4442   am_cv_CC_dependencies_compiler_type=none
  4443 fi
  4445 fi
  4446 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4447 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4448 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4452 if
  4453   test "x$enable_dependency_tracking" != xno \
  4454   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4455   am__fastdepCC_TRUE=
  4456   am__fastdepCC_FALSE='#'
  4457 else
  4458   am__fastdepCC_TRUE='#'
  4459   am__fastdepCC_FALSE=
  4460 fi
  4463 ac_ext=c
  4464 ac_cpp='$CPP $CPPFLAGS'
  4465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4468 if test -n "$ac_tool_prefix"; then
  4469   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4470 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4471 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4472 $as_echo_n "checking for $ac_word... " >&6; }
  4473 if test "${ac_cv_prog_CC+set}" = set; then
  4474   $as_echo_n "(cached) " >&6
  4475 else
  4476   if test -n "$CC"; then
  4477   ac_cv_prog_CC="$CC" # Let the user override the test.
  4478 else
  4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4480 for as_dir in $PATH
  4481 do
  4482   IFS=$as_save_IFS
  4483   test -z "$as_dir" && as_dir=.
  4484   for ac_exec_ext in '' $ac_executable_extensions; do
  4485   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4486     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4487     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4488     break 2
  4489   fi
  4490 done
  4491 done
  4492 IFS=$as_save_IFS
  4494 fi
  4495 fi
  4496 CC=$ac_cv_prog_CC
  4497 if test -n "$CC"; then
  4498   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4499 $as_echo "$CC" >&6; }
  4500 else
  4501   { $as_echo "$as_me:$LINENO: result: no" >&5
  4502 $as_echo "no" >&6; }
  4503 fi
  4506 fi
  4507 if test -z "$ac_cv_prog_CC"; then
  4508   ac_ct_CC=$CC
  4509   # Extract the first word of "gcc", so it can be a program name with args.
  4510 set dummy gcc; ac_word=$2
  4511 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4512 $as_echo_n "checking for $ac_word... " >&6; }
  4513 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4514   $as_echo_n "(cached) " >&6
  4515 else
  4516   if test -n "$ac_ct_CC"; then
  4517   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4518 else
  4519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4520 for as_dir in $PATH
  4521 do
  4522   IFS=$as_save_IFS
  4523   test -z "$as_dir" && as_dir=.
  4524   for ac_exec_ext in '' $ac_executable_extensions; do
  4525   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4526     ac_cv_prog_ac_ct_CC="gcc"
  4527     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4528     break 2
  4529   fi
  4530 done
  4531 done
  4532 IFS=$as_save_IFS
  4534 fi
  4535 fi
  4536 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4537 if test -n "$ac_ct_CC"; then
  4538   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4539 $as_echo "$ac_ct_CC" >&6; }
  4540 else
  4541   { $as_echo "$as_me:$LINENO: result: no" >&5
  4542 $as_echo "no" >&6; }
  4543 fi
  4545   if test "x$ac_ct_CC" = x; then
  4546     CC=""
  4547   else
  4548     case $cross_compiling:$ac_tool_warned in
  4549 yes:)
  4550 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  4551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4552 ac_tool_warned=yes ;;
  4553 esac
  4554     CC=$ac_ct_CC
  4555   fi
  4556 else
  4557   CC="$ac_cv_prog_CC"
  4558 fi
  4560 if test -z "$CC"; then
  4561           if test -n "$ac_tool_prefix"; then
  4562     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4563 set dummy ${ac_tool_prefix}cc; ac_word=$2
  4564 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4565 $as_echo_n "checking for $ac_word... " >&6; }
  4566 if test "${ac_cv_prog_CC+set}" = set; then
  4567   $as_echo_n "(cached) " >&6
  4568 else
  4569   if test -n "$CC"; then
  4570   ac_cv_prog_CC="$CC" # Let the user override the test.
  4571 else
  4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4573 for as_dir in $PATH
  4574 do
  4575   IFS=$as_save_IFS
  4576   test -z "$as_dir" && as_dir=.
  4577   for ac_exec_ext in '' $ac_executable_extensions; do
  4578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4579     ac_cv_prog_CC="${ac_tool_prefix}cc"
  4580     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4581     break 2
  4582   fi
  4583 done
  4584 done
  4585 IFS=$as_save_IFS
  4587 fi
  4588 fi
  4589 CC=$ac_cv_prog_CC
  4590 if test -n "$CC"; then
  4591   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4592 $as_echo "$CC" >&6; }
  4593 else
  4594   { $as_echo "$as_me:$LINENO: result: no" >&5
  4595 $as_echo "no" >&6; }
  4596 fi
  4599   fi
  4600 fi
  4601 if test -z "$CC"; then
  4602   # Extract the first word of "cc", so it can be a program name with args.
  4603 set dummy cc; ac_word=$2
  4604 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4605 $as_echo_n "checking for $ac_word... " >&6; }
  4606 if test "${ac_cv_prog_CC+set}" = set; then
  4607   $as_echo_n "(cached) " >&6
  4608 else
  4609   if test -n "$CC"; then
  4610   ac_cv_prog_CC="$CC" # Let the user override the test.
  4611 else
  4612   ac_prog_rejected=no
  4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4614 for as_dir in $PATH
  4615 do
  4616   IFS=$as_save_IFS
  4617   test -z "$as_dir" && as_dir=.
  4618   for ac_exec_ext in '' $ac_executable_extensions; do
  4619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4620     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4621        ac_prog_rejected=yes
  4622        continue
  4623      fi
  4624     ac_cv_prog_CC="cc"
  4625     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4626     break 2
  4627   fi
  4628 done
  4629 done
  4630 IFS=$as_save_IFS
  4632 if test $ac_prog_rejected = yes; then
  4633   # We found a bogon in the path, so make sure we never use it.
  4634   set dummy $ac_cv_prog_CC
  4635   shift
  4636   if test $# != 0; then
  4637     # We chose a different compiler from the bogus one.
  4638     # However, it has the same basename, so the bogon will be chosen
  4639     # first if we set CC to just the basename; use the full file name.
  4640     shift
  4641     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4642   fi
  4643 fi
  4644 fi
  4645 fi
  4646 CC=$ac_cv_prog_CC
  4647 if test -n "$CC"; then
  4648   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4649 $as_echo "$CC" >&6; }
  4650 else
  4651   { $as_echo "$as_me:$LINENO: result: no" >&5
  4652 $as_echo "no" >&6; }
  4653 fi
  4656 fi
  4657 if test -z "$CC"; then
  4658   if test -n "$ac_tool_prefix"; then
  4659   for ac_prog in cl.exe
  4660   do
  4661     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4663 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4664 $as_echo_n "checking for $ac_word... " >&6; }
  4665 if test "${ac_cv_prog_CC+set}" = set; then
  4666   $as_echo_n "(cached) " >&6
  4667 else
  4668   if test -n "$CC"; then
  4669   ac_cv_prog_CC="$CC" # Let the user override the test.
  4670 else
  4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4672 for as_dir in $PATH
  4673 do
  4674   IFS=$as_save_IFS
  4675   test -z "$as_dir" && as_dir=.
  4676   for ac_exec_ext in '' $ac_executable_extensions; do
  4677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4678     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4679     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4680     break 2
  4681   fi
  4682 done
  4683 done
  4684 IFS=$as_save_IFS
  4686 fi
  4687 fi
  4688 CC=$ac_cv_prog_CC
  4689 if test -n "$CC"; then
  4690   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4691 $as_echo "$CC" >&6; }
  4692 else
  4693   { $as_echo "$as_me:$LINENO: result: no" >&5
  4694 $as_echo "no" >&6; }
  4695 fi
  4698     test -n "$CC" && break
  4699   done
  4700 fi
  4701 if test -z "$CC"; then
  4702   ac_ct_CC=$CC
  4703   for ac_prog in cl.exe
  4704 do
  4705   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4706 set dummy $ac_prog; ac_word=$2
  4707 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4708 $as_echo_n "checking for $ac_word... " >&6; }
  4709 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4710   $as_echo_n "(cached) " >&6
  4711 else
  4712   if test -n "$ac_ct_CC"; then
  4713   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4714 else
  4715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4716 for as_dir in $PATH
  4717 do
  4718   IFS=$as_save_IFS
  4719   test -z "$as_dir" && as_dir=.
  4720   for ac_exec_ext in '' $ac_executable_extensions; do
  4721   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4722     ac_cv_prog_ac_ct_CC="$ac_prog"
  4723     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4724     break 2
  4725   fi
  4726 done
  4727 done
  4728 IFS=$as_save_IFS
  4730 fi
  4731 fi
  4732 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4733 if test -n "$ac_ct_CC"; then
  4734   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4735 $as_echo "$ac_ct_CC" >&6; }
  4736 else
  4737   { $as_echo "$as_me:$LINENO: result: no" >&5
  4738 $as_echo "no" >&6; }
  4739 fi
  4742   test -n "$ac_ct_CC" && break
  4743 done
  4745   if test "x$ac_ct_CC" = x; then
  4746     CC=""
  4747   else
  4748     case $cross_compiling:$ac_tool_warned in
  4749 yes:)
  4750 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  4751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4752 ac_tool_warned=yes ;;
  4753 esac
  4754     CC=$ac_ct_CC
  4755   fi
  4756 fi
  4758 fi
  4761 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  4762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4763 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4764 See \`config.log' for more details." >&5
  4765 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  4766 See \`config.log' for more details." >&2;}
  4767    { (exit 1); exit 1; }; }; }
  4769 # Provide some information about the compiler.
  4770 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  4771 set X $ac_compile
  4772 ac_compiler=$2
  4773 { (ac_try="$ac_compiler --version >&5"
  4774 case "(($ac_try" in
  4775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4776   *) ac_try_echo=$ac_try;;
  4777 esac
  4778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4779 $as_echo "$ac_try_echo") >&5
  4780   (eval "$ac_compiler --version >&5") 2>&5
  4781   ac_status=$?
  4782   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4783   (exit $ac_status); }
  4784 { (ac_try="$ac_compiler -v >&5"
  4785 case "(($ac_try" in
  4786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4787   *) ac_try_echo=$ac_try;;
  4788 esac
  4789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4790 $as_echo "$ac_try_echo") >&5
  4791   (eval "$ac_compiler -v >&5") 2>&5
  4792   ac_status=$?
  4793   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4794   (exit $ac_status); }
  4795 { (ac_try="$ac_compiler -V >&5"
  4796 case "(($ac_try" in
  4797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4798   *) ac_try_echo=$ac_try;;
  4799 esac
  4800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4801 $as_echo "$ac_try_echo") >&5
  4802   (eval "$ac_compiler -V >&5") 2>&5
  4803   ac_status=$?
  4804   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4805   (exit $ac_status); }
  4807 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4808 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4809 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4810   $as_echo_n "(cached) " >&6
  4811 else
  4812   cat >conftest.$ac_ext <<_ACEOF
  4813 /* confdefs.h.  */
  4814 _ACEOF
  4815 cat confdefs.h >>conftest.$ac_ext
  4816 cat >>conftest.$ac_ext <<_ACEOF
  4817 /* end confdefs.h.  */
  4819 int
  4820 main ()
  4822 #ifndef __GNUC__
  4823        choke me
  4824 #endif
  4827   return 0;
  4829 _ACEOF
  4830 rm -f conftest.$ac_objext
  4831 if { (ac_try="$ac_compile"
  4832 case "(($ac_try" in
  4833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4834   *) ac_try_echo=$ac_try;;
  4835 esac
  4836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4837 $as_echo "$ac_try_echo") >&5
  4838   (eval "$ac_compile") 2>conftest.er1
  4839   ac_status=$?
  4840   grep -v '^ *+' conftest.er1 >conftest.err
  4841   rm -f conftest.er1
  4842   cat conftest.err >&5
  4843   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4844   (exit $ac_status); } && {
  4845 	 test -z "$ac_c_werror_flag" ||
  4846 	 test ! -s conftest.err
  4847        } && test -s conftest.$ac_objext; then
  4848   ac_compiler_gnu=yes
  4849 else
  4850   $as_echo "$as_me: failed program was:" >&5
  4851 sed 's/^/| /' conftest.$ac_ext >&5
  4853 	ac_compiler_gnu=no
  4854 fi
  4856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4857 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4859 fi
  4860 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4861 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4862 if test $ac_compiler_gnu = yes; then
  4863   GCC=yes
  4864 else
  4865   GCC=
  4866 fi
  4867 ac_test_CFLAGS=${CFLAGS+set}
  4868 ac_save_CFLAGS=$CFLAGS
  4869 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4870 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4871 if test "${ac_cv_prog_cc_g+set}" = set; then
  4872   $as_echo_n "(cached) " >&6
  4873 else
  4874   ac_save_c_werror_flag=$ac_c_werror_flag
  4875    ac_c_werror_flag=yes
  4876    ac_cv_prog_cc_g=no
  4877    CFLAGS="-g"
  4878    cat >conftest.$ac_ext <<_ACEOF
  4879 /* confdefs.h.  */
  4880 _ACEOF
  4881 cat confdefs.h >>conftest.$ac_ext
  4882 cat >>conftest.$ac_ext <<_ACEOF
  4883 /* end confdefs.h.  */
  4885 int
  4886 main ()
  4890   return 0;
  4892 _ACEOF
  4893 rm -f conftest.$ac_objext
  4894 if { (ac_try="$ac_compile"
  4895 case "(($ac_try" in
  4896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4897   *) ac_try_echo=$ac_try;;
  4898 esac
  4899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4900 $as_echo "$ac_try_echo") >&5
  4901   (eval "$ac_compile") 2>conftest.er1
  4902   ac_status=$?
  4903   grep -v '^ *+' conftest.er1 >conftest.err
  4904   rm -f conftest.er1
  4905   cat conftest.err >&5
  4906   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4907   (exit $ac_status); } && {
  4908 	 test -z "$ac_c_werror_flag" ||
  4909 	 test ! -s conftest.err
  4910        } && test -s conftest.$ac_objext; then
  4911   ac_cv_prog_cc_g=yes
  4912 else
  4913   $as_echo "$as_me: failed program was:" >&5
  4914 sed 's/^/| /' conftest.$ac_ext >&5
  4916 	CFLAGS=""
  4917       cat >conftest.$ac_ext <<_ACEOF
  4918 /* confdefs.h.  */
  4919 _ACEOF
  4920 cat confdefs.h >>conftest.$ac_ext
  4921 cat >>conftest.$ac_ext <<_ACEOF
  4922 /* end confdefs.h.  */
  4924 int
  4925 main ()
  4929   return 0;
  4931 _ACEOF
  4932 rm -f conftest.$ac_objext
  4933 if { (ac_try="$ac_compile"
  4934 case "(($ac_try" in
  4935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4936   *) ac_try_echo=$ac_try;;
  4937 esac
  4938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4939 $as_echo "$ac_try_echo") >&5
  4940   (eval "$ac_compile") 2>conftest.er1
  4941   ac_status=$?
  4942   grep -v '^ *+' conftest.er1 >conftest.err
  4943   rm -f conftest.er1
  4944   cat conftest.err >&5
  4945   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4946   (exit $ac_status); } && {
  4947 	 test -z "$ac_c_werror_flag" ||
  4948 	 test ! -s conftest.err
  4949        } && test -s conftest.$ac_objext; then
  4951 else
  4952   $as_echo "$as_me: failed program was:" >&5
  4953 sed 's/^/| /' conftest.$ac_ext >&5
  4955 	ac_c_werror_flag=$ac_save_c_werror_flag
  4956 	 CFLAGS="-g"
  4957 	 cat >conftest.$ac_ext <<_ACEOF
  4958 /* confdefs.h.  */
  4959 _ACEOF
  4960 cat confdefs.h >>conftest.$ac_ext
  4961 cat >>conftest.$ac_ext <<_ACEOF
  4962 /* end confdefs.h.  */
  4964 int
  4965 main ()
  4969   return 0;
  4971 _ACEOF
  4972 rm -f conftest.$ac_objext
  4973 if { (ac_try="$ac_compile"
  4974 case "(($ac_try" in
  4975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4976   *) ac_try_echo=$ac_try;;
  4977 esac
  4978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4979 $as_echo "$ac_try_echo") >&5
  4980   (eval "$ac_compile") 2>conftest.er1
  4981   ac_status=$?
  4982   grep -v '^ *+' conftest.er1 >conftest.err
  4983   rm -f conftest.er1
  4984   cat conftest.err >&5
  4985   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4986   (exit $ac_status); } && {
  4987 	 test -z "$ac_c_werror_flag" ||
  4988 	 test ! -s conftest.err
  4989        } && test -s conftest.$ac_objext; then
  4990   ac_cv_prog_cc_g=yes
  4991 else
  4992   $as_echo "$as_me: failed program was:" >&5
  4993 sed 's/^/| /' conftest.$ac_ext >&5
  4996 fi
  4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4999 fi
  5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5002 fi
  5004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5005    ac_c_werror_flag=$ac_save_c_werror_flag
  5006 fi
  5007 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  5008 $as_echo "$ac_cv_prog_cc_g" >&6; }
  5009 if test "$ac_test_CFLAGS" = set; then
  5010   CFLAGS=$ac_save_CFLAGS
  5011 elif test $ac_cv_prog_cc_g = yes; then
  5012   if test "$GCC" = yes; then
  5013     CFLAGS="-g -O2"
  5014   else
  5015     CFLAGS="-g"
  5016   fi
  5017 else
  5018   if test "$GCC" = yes; then
  5019     CFLAGS="-O2"
  5020   else
  5021     CFLAGS=
  5022   fi
  5023 fi
  5024 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  5025 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  5026 if test "${ac_cv_prog_cc_c89+set}" = set; then
  5027   $as_echo_n "(cached) " >&6
  5028 else
  5029   ac_cv_prog_cc_c89=no
  5030 ac_save_CC=$CC
  5031 cat >conftest.$ac_ext <<_ACEOF
  5032 /* confdefs.h.  */
  5033 _ACEOF
  5034 cat confdefs.h >>conftest.$ac_ext
  5035 cat >>conftest.$ac_ext <<_ACEOF
  5036 /* end confdefs.h.  */
  5037 #include <stdarg.h>
  5038 #include <stdio.h>
  5039 #include <sys/types.h>
  5040 #include <sys/stat.h>
  5041 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  5042 struct buf { int x; };
  5043 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  5044 static char *e (p, i)
  5045      char **p;
  5046      int i;
  5048   return p[i];
  5050 static char *f (char * (*g) (char **, int), char **p, ...)
  5052   char *s;
  5053   va_list v;
  5054   va_start (v,p);
  5055   s = g (p, va_arg (v,int));
  5056   va_end (v);
  5057   return s;
  5060 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  5061    function prototypes and stuff, but not '\xHH' hex character constants.
  5062    These don't provoke an error unfortunately, instead are silently treated
  5063    as 'x'.  The following induces an error, until -std is added to get
  5064    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  5065    array size at least.  It's necessary to write '\x00'==0 to get something
  5066    that's true only with -std.  */
  5067 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  5069 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  5070    inside strings and character constants.  */
  5071 #define FOO(x) 'x'
  5072 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  5074 int test (int i, double x);
  5075 struct s1 {int (*f) (int a);};
  5076 struct s2 {int (*f) (double a);};
  5077 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  5078 int argc;
  5079 char **argv;
  5080 int
  5081 main ()
  5083 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  5085   return 0;
  5087 _ACEOF
  5088 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  5089 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5090 do
  5091   CC="$ac_save_CC $ac_arg"
  5092   rm -f conftest.$ac_objext
  5093 if { (ac_try="$ac_compile"
  5094 case "(($ac_try" in
  5095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5096   *) ac_try_echo=$ac_try;;
  5097 esac
  5098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5099 $as_echo "$ac_try_echo") >&5
  5100   (eval "$ac_compile") 2>conftest.er1
  5101   ac_status=$?
  5102   grep -v '^ *+' conftest.er1 >conftest.err
  5103   rm -f conftest.er1
  5104   cat conftest.err >&5
  5105   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5106   (exit $ac_status); } && {
  5107 	 test -z "$ac_c_werror_flag" ||
  5108 	 test ! -s conftest.err
  5109        } && test -s conftest.$ac_objext; then
  5110   ac_cv_prog_cc_c89=$ac_arg
  5111 else
  5112   $as_echo "$as_me: failed program was:" >&5
  5113 sed 's/^/| /' conftest.$ac_ext >&5
  5116 fi
  5118 rm -f core conftest.err conftest.$ac_objext
  5119   test "x$ac_cv_prog_cc_c89" != "xno" && break
  5120 done
  5121 rm -f conftest.$ac_ext
  5122 CC=$ac_save_CC
  5124 fi
  5125 # AC_CACHE_VAL
  5126 case "x$ac_cv_prog_cc_c89" in
  5127   x)
  5128     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  5129 $as_echo "none needed" >&6; } ;;
  5130   xno)
  5131     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  5132 $as_echo "unsupported" >&6; } ;;
  5133   *)
  5134     CC="$CC $ac_cv_prog_cc_c89"
  5135     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  5136 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  5137 esac
  5140 ac_ext=c
  5141 ac_cpp='$CPP $CPPFLAGS'
  5142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5146 depcc="$CC"   am_compiler_list=
  5148 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  5149 $as_echo_n "checking dependency style of $depcc... " >&6; }
  5150 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  5151   $as_echo_n "(cached) " >&6
  5152 else
  5153   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5154   # We make a subdir and do the tests there.  Otherwise we can end up
  5155   # making bogus files that we don't know about and never remove.  For
  5156   # instance it was reported that on HP-UX the gcc test will end up
  5157   # making a dummy file named `D' -- because `-MD' means `put the output
  5158   # in D'.
  5159   mkdir conftest.dir
  5160   # Copy depcomp to subdir because otherwise we won't find it if we're
  5161   # using a relative directory.
  5162   cp "$am_depcomp" conftest.dir
  5163   cd conftest.dir
  5164   # We will build objects and dependencies in a subdirectory because
  5165   # it helps to detect inapplicable dependency modes.  For instance
  5166   # both Tru64's cc and ICC support -MD to output dependencies as a
  5167   # side effect of compilation, but ICC will put the dependencies in
  5168   # the current directory while Tru64 will put them in the object
  5169   # directory.
  5170   mkdir sub
  5172   am_cv_CC_dependencies_compiler_type=none
  5173   if test "$am_compiler_list" = ""; then
  5174      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5175   fi
  5176   for depmode in $am_compiler_list; do
  5177     # Setup a source with many dependencies, because some compilers
  5178     # like to wrap large dependency lists on column 80 (with \), and
  5179     # we should not choose a depcomp mode which is confused by this.
  5181     # We need to recreate these files for each test, as the compiler may
  5182     # overwrite some of them when testing with obscure command lines.
  5183     # This happens at least with the AIX C compiler.
  5184     : > sub/conftest.c
  5185     for i in 1 2 3 4 5 6; do
  5186       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5187       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  5188       # Solaris 8's {/usr,}/bin/sh.
  5189       touch sub/conftst$i.h
  5190     done
  5191     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5193     case $depmode in
  5194     nosideeffect)
  5195       # after this tag, mechanisms are not by side-effect, so they'll
  5196       # only be used when explicitly requested
  5197       if test "x$enable_dependency_tracking" = xyes; then
  5198 	continue
  5199       else
  5200 	break
  5201       fi
  5202       ;;
  5203     none) break ;;
  5204     esac
  5205     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5206     # mode.  It turns out that the SunPro C++ compiler does not properly
  5207     # handle `-M -o', and we need to detect this.
  5208     if depmode=$depmode \
  5209        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  5210        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5211        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  5212          >/dev/null 2>conftest.err &&
  5213        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5214        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  5215        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5216       # icc doesn't choke on unknown options, it will just issue warnings
  5217       # or remarks (even with -Werror).  So we grep stderr for any message
  5218       # that says an option was ignored or not supported.
  5219       # When given -MP, icc 7.0 and 7.1 complain thusly:
  5220       #   icc: Command line warning: ignoring option '-M'; no argument required
  5221       # The diagnosis changed in icc 8.0:
  5222       #   icc: Command line remark: option '-MP' not supported
  5223       if (grep 'ignoring option' conftest.err ||
  5224           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5225         am_cv_CC_dependencies_compiler_type=$depmode
  5226         break
  5227       fi
  5228     fi
  5229   done
  5231   cd ..
  5232   rm -rf conftest.dir
  5233 else
  5234   am_cv_CC_dependencies_compiler_type=none
  5235 fi
  5237 fi
  5238 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  5239 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  5240 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5244 if
  5245   test "x$enable_dependency_tracking" != xno \
  5246   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5247   am__fastdepCC_TRUE=
  5248   am__fastdepCC_FALSE='#'
  5249 else
  5250   am__fastdepCC_TRUE='#'
  5251   am__fastdepCC_FALSE=
  5252 fi
  5256 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  5258 ac_ext=m
  5259 ac_cpp='$OBJCPP $CPPFLAGS'
  5260 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5261 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5262 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  5263 if test -n "$ac_tool_prefix"; then
  5264   for ac_prog in gcc objcc objc cc CC
  5265   do
  5266     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5267 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5268 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5269 $as_echo_n "checking for $ac_word... " >&6; }
  5270 if test "${ac_cv_prog_OBJC+set}" = set; then
  5271   $as_echo_n "(cached) " >&6
  5272 else
  5273   if test -n "$OBJC"; then
  5274   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  5275 else
  5276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5277 for as_dir in $PATH
  5278 do
  5279   IFS=$as_save_IFS
  5280   test -z "$as_dir" && as_dir=.
  5281   for ac_exec_ext in '' $ac_executable_extensions; do
  5282   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5283     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  5284     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5285     break 2
  5286   fi
  5287 done
  5288 done
  5289 IFS=$as_save_IFS
  5291 fi
  5292 fi
  5293 OBJC=$ac_cv_prog_OBJC
  5294 if test -n "$OBJC"; then
  5295   { $as_echo "$as_me:$LINENO: result: $OBJC" >&5
  5296 $as_echo "$OBJC" >&6; }
  5297 else
  5298   { $as_echo "$as_me:$LINENO: result: no" >&5
  5299 $as_echo "no" >&6; }
  5300 fi
  5303     test -n "$OBJC" && break
  5304   done
  5305 fi
  5306 if test -z "$OBJC"; then
  5307   ac_ct_OBJC=$OBJC
  5308   for ac_prog in gcc objcc objc cc CC
  5309 do
  5310   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5311 set dummy $ac_prog; ac_word=$2
  5312 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5313 $as_echo_n "checking for $ac_word... " >&6; }
  5314 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
  5315   $as_echo_n "(cached) " >&6
  5316 else
  5317   if test -n "$ac_ct_OBJC"; then
  5318   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  5319 else
  5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5321 for as_dir in $PATH
  5322 do
  5323   IFS=$as_save_IFS
  5324   test -z "$as_dir" && as_dir=.
  5325   for ac_exec_ext in '' $ac_executable_extensions; do
  5326   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5327     ac_cv_prog_ac_ct_OBJC="$ac_prog"
  5328     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5329     break 2
  5330   fi
  5331 done
  5332 done
  5333 IFS=$as_save_IFS
  5335 fi
  5336 fi
  5337 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  5338 if test -n "$ac_ct_OBJC"; then
  5339   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
  5340 $as_echo "$ac_ct_OBJC" >&6; }
  5341 else
  5342   { $as_echo "$as_me:$LINENO: result: no" >&5
  5343 $as_echo "no" >&6; }
  5344 fi
  5347   test -n "$ac_ct_OBJC" && break
  5348 done
  5350   if test "x$ac_ct_OBJC" = x; then
  5351     OBJC="gcc"
  5352   else
  5353     case $cross_compiling:$ac_tool_warned in
  5354 yes:)
  5355 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  5356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5357 ac_tool_warned=yes ;;
  5358 esac
  5359     OBJC=$ac_ct_OBJC
  5360   fi
  5361 fi
  5363 # Provide some information about the compiler.
  5364 $as_echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
  5365 set X $ac_compile
  5366 ac_compiler=$2
  5367 { (ac_try="$ac_compiler --version >&5"
  5368 case "(($ac_try" in
  5369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5370   *) ac_try_echo=$ac_try;;
  5371 esac
  5372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5373 $as_echo "$ac_try_echo") >&5
  5374   (eval "$ac_compiler --version >&5") 2>&5
  5375   ac_status=$?
  5376   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5377   (exit $ac_status); }
  5378 { (ac_try="$ac_compiler -v >&5"
  5379 case "(($ac_try" in
  5380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5381   *) ac_try_echo=$ac_try;;
  5382 esac
  5383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5384 $as_echo "$ac_try_echo") >&5
  5385   (eval "$ac_compiler -v >&5") 2>&5
  5386   ac_status=$?
  5387   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5388   (exit $ac_status); }
  5389 { (ac_try="$ac_compiler -V >&5"
  5390 case "(($ac_try" in
  5391   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5392   *) ac_try_echo=$ac_try;;
  5393 esac
  5394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5395 $as_echo "$ac_try_echo") >&5
  5396   (eval "$ac_compiler -V >&5") 2>&5
  5397   ac_status=$?
  5398   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5399   (exit $ac_status); }
  5401 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
  5402 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
  5403 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
  5404   $as_echo_n "(cached) " >&6
  5405 else
  5406   cat >conftest.$ac_ext <<_ACEOF
  5407 /* confdefs.h.  */
  5408 _ACEOF
  5409 cat confdefs.h >>conftest.$ac_ext
  5410 cat >>conftest.$ac_ext <<_ACEOF
  5411 /* end confdefs.h.  */
  5413 int
  5414 main ()
  5416 #ifndef __GNUC__
  5417        choke me
  5418 #endif
  5421   return 0;
  5423 _ACEOF
  5424 rm -f conftest.$ac_objext
  5425 if { (ac_try="$ac_compile"
  5426 case "(($ac_try" in
  5427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5428   *) ac_try_echo=$ac_try;;
  5429 esac
  5430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5431 $as_echo "$ac_try_echo") >&5
  5432   (eval "$ac_compile") 2>conftest.er1
  5433   ac_status=$?
  5434   grep -v '^ *+' conftest.er1 >conftest.err
  5435   rm -f conftest.er1
  5436   cat conftest.err >&5
  5437   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5438   (exit $ac_status); } && {
  5439 	 test -z "$ac_objc_werror_flag" ||
  5440 	 test ! -s conftest.err
  5441        } && test -s conftest.$ac_objext; then
  5442   ac_compiler_gnu=yes
  5443 else
  5444   $as_echo "$as_me: failed program was:" >&5
  5445 sed 's/^/| /' conftest.$ac_ext >&5
  5447 	ac_compiler_gnu=no
  5448 fi
  5450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5451 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  5453 fi
  5454 { $as_echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
  5455 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
  5456 if test $ac_compiler_gnu = yes; then
  5457   GOBJC=yes
  5458 else
  5459   GOBJC=
  5460 fi
  5461 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
  5462 ac_save_OBJCFLAGS=$OBJCFLAGS
  5463 { $as_echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
  5464 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
  5465 if test "${ac_cv_prog_objc_g+set}" = set; then
  5466   $as_echo_n "(cached) " >&6
  5467 else
  5468   ac_save_objc_werror_flag=$ac_objc_werror_flag
  5469    ac_objc_werror_flag=yes
  5470    ac_cv_prog_objc_g=no
  5471    OBJCFLAGS="-g"
  5472    cat >conftest.$ac_ext <<_ACEOF
  5473 /* confdefs.h.  */
  5474 _ACEOF
  5475 cat confdefs.h >>conftest.$ac_ext
  5476 cat >>conftest.$ac_ext <<_ACEOF
  5477 /* end confdefs.h.  */
  5479 int
  5480 main ()
  5484   return 0;
  5486 _ACEOF
  5487 rm -f conftest.$ac_objext
  5488 if { (ac_try="$ac_compile"
  5489 case "(($ac_try" in
  5490   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5491   *) ac_try_echo=$ac_try;;
  5492 esac
  5493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5494 $as_echo "$ac_try_echo") >&5
  5495   (eval "$ac_compile") 2>conftest.er1
  5496   ac_status=$?
  5497   grep -v '^ *+' conftest.er1 >conftest.err
  5498   rm -f conftest.er1
  5499   cat conftest.err >&5
  5500   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5501   (exit $ac_status); } && {
  5502 	 test -z "$ac_objc_werror_flag" ||
  5503 	 test ! -s conftest.err
  5504        } && test -s conftest.$ac_objext; then
  5505   ac_cv_prog_objc_g=yes
  5506 else
  5507   $as_echo "$as_me: failed program was:" >&5
  5508 sed 's/^/| /' conftest.$ac_ext >&5
  5510 	OBJCFLAGS=""
  5511       cat >conftest.$ac_ext <<_ACEOF
  5512 /* confdefs.h.  */
  5513 _ACEOF
  5514 cat confdefs.h >>conftest.$ac_ext
  5515 cat >>conftest.$ac_ext <<_ACEOF
  5516 /* end confdefs.h.  */
  5518 int
  5519 main ()
  5523   return 0;
  5525 _ACEOF
  5526 rm -f conftest.$ac_objext
  5527 if { (ac_try="$ac_compile"
  5528 case "(($ac_try" in
  5529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5530   *) ac_try_echo=$ac_try;;
  5531 esac
  5532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5533 $as_echo "$ac_try_echo") >&5
  5534   (eval "$ac_compile") 2>conftest.er1
  5535   ac_status=$?
  5536   grep -v '^ *+' conftest.er1 >conftest.err
  5537   rm -f conftest.er1
  5538   cat conftest.err >&5
  5539   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5540   (exit $ac_status); } && {
  5541 	 test -z "$ac_objc_werror_flag" ||
  5542 	 test ! -s conftest.err
  5543        } && test -s conftest.$ac_objext; then
  5545 else
  5546   $as_echo "$as_me: failed program was:" >&5
  5547 sed 's/^/| /' conftest.$ac_ext >&5
  5549 	ac_objc_werror_flag=$ac_save_objc_werror_flag
  5550 	 OBJCFLAGS="-g"
  5551 	 cat >conftest.$ac_ext <<_ACEOF
  5552 /* confdefs.h.  */
  5553 _ACEOF
  5554 cat confdefs.h >>conftest.$ac_ext
  5555 cat >>conftest.$ac_ext <<_ACEOF
  5556 /* end confdefs.h.  */
  5558 int
  5559 main ()
  5563   return 0;
  5565 _ACEOF
  5566 rm -f conftest.$ac_objext
  5567 if { (ac_try="$ac_compile"
  5568 case "(($ac_try" in
  5569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5570   *) ac_try_echo=$ac_try;;
  5571 esac
  5572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5573 $as_echo "$ac_try_echo") >&5
  5574   (eval "$ac_compile") 2>conftest.er1
  5575   ac_status=$?
  5576   grep -v '^ *+' conftest.er1 >conftest.err
  5577   rm -f conftest.er1
  5578   cat conftest.err >&5
  5579   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5580   (exit $ac_status); } && {
  5581 	 test -z "$ac_objc_werror_flag" ||
  5582 	 test ! -s conftest.err
  5583        } && test -s conftest.$ac_objext; then
  5584   ac_cv_prog_objc_g=yes
  5585 else
  5586   $as_echo "$as_me: failed program was:" >&5
  5587 sed 's/^/| /' conftest.$ac_ext >&5
  5590 fi
  5592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  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    ac_objc_werror_flag=$ac_save_objc_werror_flag
  5600 fi
  5601 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
  5602 $as_echo "$ac_cv_prog_objc_g" >&6; }
  5603 if test "$ac_test_OBJCFLAGS" = set; then
  5604   OBJCFLAGS=$ac_save_OBJCFLAGS
  5605 elif test $ac_cv_prog_objc_g = yes; then
  5606   if test "$GOBJC" = yes; then
  5607     OBJCFLAGS="-g -O2"
  5608   else
  5609     OBJCFLAGS="-g"
  5610   fi
  5611 else
  5612   if test "$GOBJC" = yes; then
  5613     OBJCFLAGS="-O2"
  5614   else
  5615     OBJCFLAGS=
  5616   fi
  5617 fi
  5618 ac_ext=c
  5619 ac_cpp='$CPP $CPPFLAGS'
  5620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5624 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  5625 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  5626 if test "${ac_cv_path_SED+set}" = set; then
  5627   $as_echo_n "(cached) " >&6
  5628 else
  5629             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  5630      for ac_i in 1 2 3 4 5 6 7; do
  5631        ac_script="$ac_script$as_nl$ac_script"
  5632      done
  5633      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  5634      $as_unset ac_script || ac_script=
  5635      if test -z "$SED"; then
  5636   ac_path_SED_found=false
  5637   # Loop through the user's path and test for each of PROGNAME-LIST
  5638   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5639 for as_dir in $PATH
  5640 do
  5641   IFS=$as_save_IFS
  5642   test -z "$as_dir" && as_dir=.
  5643   for ac_prog in sed gsed; do
  5644     for ac_exec_ext in '' $ac_executable_extensions; do
  5645       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  5646       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  5647 # Check for GNU ac_path_SED and select it if it is found.
  5648   # Check for GNU $ac_path_SED
  5649 case `"$ac_path_SED" --version 2>&1` in
  5650 *GNU*)
  5651   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  5652 *)
  5653   ac_count=0
  5654   $as_echo_n 0123456789 >"conftest.in"
  5655   while :
  5656   do
  5657     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5658     mv "conftest.tmp" "conftest.in"
  5659     cp "conftest.in" "conftest.nl"
  5660     $as_echo '' >> "conftest.nl"
  5661     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5662     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5663     ac_count=`expr $ac_count + 1`
  5664     if test $ac_count -gt ${ac_path_SED_max-0}; then
  5665       # Best one so far, save it but keep looking for a better one
  5666       ac_cv_path_SED="$ac_path_SED"
  5667       ac_path_SED_max=$ac_count
  5668     fi
  5669     # 10*(2^10) chars as input seems more than enough
  5670     test $ac_count -gt 10 && break
  5671   done
  5672   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5673 esac
  5675       $ac_path_SED_found && break 3
  5676     done
  5677   done
  5678 done
  5679 IFS=$as_save_IFS
  5680   if test -z "$ac_cv_path_SED"; then
  5681     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
  5682 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
  5683    { (exit 1); exit 1; }; }
  5684   fi
  5685 else
  5686   ac_cv_path_SED=$SED
  5687 fi
  5689 fi
  5690 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  5691 $as_echo "$ac_cv_path_SED" >&6; }
  5692  SED="$ac_cv_path_SED"
  5693   rm -f conftest.sed
  5695 # By default we simply use the C compiler to build assembly code.
  5697 test "${CCAS+set}" = set || CCAS=$CC
  5698 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
  5702 ac_ext=c
  5703 ac_cpp='$CPP $CPPFLAGS'
  5704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5707 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5708 $as_echo_n "checking how to run the C preprocessor... " >&6; }
  5709 # On Suns, sometimes $CPP names a directory.
  5710 if test -n "$CPP" && test -d "$CPP"; then
  5711   CPP=
  5712 fi
  5713 if test -z "$CPP"; then
  5714   if test "${ac_cv_prog_CPP+set}" = set; then
  5715   $as_echo_n "(cached) " >&6
  5716 else
  5717       # Double quotes because CPP needs to be expanded
  5718     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5719     do
  5720       ac_preproc_ok=false
  5721 for ac_c_preproc_warn_flag in '' yes
  5722 do
  5723   # Use a header file that comes with gcc, so configuring glibc
  5724   # with a fresh cross-compiler works.
  5725   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5726   # <limits.h> exists even on freestanding compilers.
  5727   # On the NeXT, cc -E runs the code through the compiler's parser,
  5728   # not just through cpp. "Syntax error" is here to catch this case.
  5729   cat >conftest.$ac_ext <<_ACEOF
  5730 /* confdefs.h.  */
  5731 _ACEOF
  5732 cat confdefs.h >>conftest.$ac_ext
  5733 cat >>conftest.$ac_ext <<_ACEOF
  5734 /* end confdefs.h.  */
  5735 #ifdef __STDC__
  5736 # include <limits.h>
  5737 #else
  5738 # include <assert.h>
  5739 #endif
  5740 		     Syntax error
  5741 _ACEOF
  5742 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5743 case "(($ac_try" in
  5744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5745   *) ac_try_echo=$ac_try;;
  5746 esac
  5747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5748 $as_echo "$ac_try_echo") >&5
  5749   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5750   ac_status=$?
  5751   grep -v '^ *+' conftest.er1 >conftest.err
  5752   rm -f conftest.er1
  5753   cat conftest.err >&5
  5754   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5755   (exit $ac_status); } >/dev/null && {
  5756 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5757 	 test ! -s conftest.err
  5758        }; then
  5760 else
  5761   $as_echo "$as_me: failed program was:" >&5
  5762 sed 's/^/| /' conftest.$ac_ext >&5
  5764   # Broken: fails on valid input.
  5765 continue
  5766 fi
  5768 rm -f conftest.err conftest.$ac_ext
  5770   # OK, works on sane cases.  Now check whether nonexistent headers
  5771   # can be detected and how.
  5772   cat >conftest.$ac_ext <<_ACEOF
  5773 /* confdefs.h.  */
  5774 _ACEOF
  5775 cat confdefs.h >>conftest.$ac_ext
  5776 cat >>conftest.$ac_ext <<_ACEOF
  5777 /* end confdefs.h.  */
  5778 #include <ac_nonexistent.h>
  5779 _ACEOF
  5780 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5781 case "(($ac_try" in
  5782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5783   *) ac_try_echo=$ac_try;;
  5784 esac
  5785 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5786 $as_echo "$ac_try_echo") >&5
  5787   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5788   ac_status=$?
  5789   grep -v '^ *+' conftest.er1 >conftest.err
  5790   rm -f conftest.er1
  5791   cat conftest.err >&5
  5792   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5793   (exit $ac_status); } >/dev/null && {
  5794 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5795 	 test ! -s conftest.err
  5796        }; then
  5797   # Broken: success on invalid input.
  5798 continue
  5799 else
  5800   $as_echo "$as_me: failed program was:" >&5
  5801 sed 's/^/| /' conftest.$ac_ext >&5
  5803   # Passes both tests.
  5804 ac_preproc_ok=:
  5805 break
  5806 fi
  5808 rm -f conftest.err conftest.$ac_ext
  5810 done
  5811 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5812 rm -f conftest.err conftest.$ac_ext
  5813 if $ac_preproc_ok; then
  5814   break
  5815 fi
  5817     done
  5818     ac_cv_prog_CPP=$CPP
  5820 fi
  5821   CPP=$ac_cv_prog_CPP
  5822 else
  5823   ac_cv_prog_CPP=$CPP
  5824 fi
  5825 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
  5826 $as_echo "$CPP" >&6; }
  5827 ac_preproc_ok=false
  5828 for ac_c_preproc_warn_flag in '' yes
  5829 do
  5830   # Use a header file that comes with gcc, so configuring glibc
  5831   # with a fresh cross-compiler works.
  5832   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5833   # <limits.h> exists even on freestanding compilers.
  5834   # On the NeXT, cc -E runs the code through the compiler's parser,
  5835   # not just through cpp. "Syntax error" is here to catch this case.
  5836   cat >conftest.$ac_ext <<_ACEOF
  5837 /* confdefs.h.  */
  5838 _ACEOF
  5839 cat confdefs.h >>conftest.$ac_ext
  5840 cat >>conftest.$ac_ext <<_ACEOF
  5841 /* end confdefs.h.  */
  5842 #ifdef __STDC__
  5843 # include <limits.h>
  5844 #else
  5845 # include <assert.h>
  5846 #endif
  5847 		     Syntax error
  5848 _ACEOF
  5849 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5850 case "(($ac_try" in
  5851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5852   *) ac_try_echo=$ac_try;;
  5853 esac
  5854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5855 $as_echo "$ac_try_echo") >&5
  5856   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5857   ac_status=$?
  5858   grep -v '^ *+' conftest.er1 >conftest.err
  5859   rm -f conftest.er1
  5860   cat conftest.err >&5
  5861   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5862   (exit $ac_status); } >/dev/null && {
  5863 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5864 	 test ! -s conftest.err
  5865        }; then
  5867 else
  5868   $as_echo "$as_me: failed program was:" >&5
  5869 sed 's/^/| /' conftest.$ac_ext >&5
  5871   # Broken: fails on valid input.
  5872 continue
  5873 fi
  5875 rm -f conftest.err conftest.$ac_ext
  5877   # OK, works on sane cases.  Now check whether nonexistent headers
  5878   # can be detected and how.
  5879   cat >conftest.$ac_ext <<_ACEOF
  5880 /* confdefs.h.  */
  5881 _ACEOF
  5882 cat confdefs.h >>conftest.$ac_ext
  5883 cat >>conftest.$ac_ext <<_ACEOF
  5884 /* end confdefs.h.  */
  5885 #include <ac_nonexistent.h>
  5886 _ACEOF
  5887 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5888 case "(($ac_try" in
  5889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5890   *) ac_try_echo=$ac_try;;
  5891 esac
  5892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5893 $as_echo "$ac_try_echo") >&5
  5894   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5895   ac_status=$?
  5896   grep -v '^ *+' conftest.er1 >conftest.err
  5897   rm -f conftest.er1
  5898   cat conftest.err >&5
  5899   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5900   (exit $ac_status); } >/dev/null && {
  5901 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5902 	 test ! -s conftest.err
  5903        }; then
  5904   # Broken: success on invalid input.
  5905 continue
  5906 else
  5907   $as_echo "$as_me: failed program was:" >&5
  5908 sed 's/^/| /' conftest.$ac_ext >&5
  5910   # Passes both tests.
  5911 ac_preproc_ok=:
  5912 break
  5913 fi
  5915 rm -f conftest.err conftest.$ac_ext
  5917 done
  5918 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5919 rm -f conftest.err conftest.$ac_ext
  5920 if $ac_preproc_ok; then
  5922 else
  5923   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  5924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5925 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  5926 See \`config.log' for more details." >&5
  5927 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  5928 See \`config.log' for more details." >&2;}
  5929    { (exit 1); exit 1; }; }; }
  5930 fi
  5932 ac_ext=c
  5933 ac_cpp='$CPP $CPPFLAGS'
  5934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5939 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  5940 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  5941 if test "${ac_cv_path_GREP+set}" = set; then
  5942   $as_echo_n "(cached) " >&6
  5943 else
  5944   if test -z "$GREP"; then
  5945   ac_path_GREP_found=false
  5946   # Loop through the user's path and test for each of PROGNAME-LIST
  5947   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5948 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5949 do
  5950   IFS=$as_save_IFS
  5951   test -z "$as_dir" && as_dir=.
  5952   for ac_prog in grep ggrep; do
  5953     for ac_exec_ext in '' $ac_executable_extensions; do
  5954       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  5955       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  5956 # Check for GNU ac_path_GREP and select it if it is found.
  5957   # Check for GNU $ac_path_GREP
  5958 case `"$ac_path_GREP" --version 2>&1` in
  5959 *GNU*)
  5960   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  5961 *)
  5962   ac_count=0
  5963   $as_echo_n 0123456789 >"conftest.in"
  5964   while :
  5965   do
  5966     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5967     mv "conftest.tmp" "conftest.in"
  5968     cp "conftest.in" "conftest.nl"
  5969     $as_echo 'GREP' >> "conftest.nl"
  5970     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5971     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5972     ac_count=`expr $ac_count + 1`
  5973     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  5974       # Best one so far, save it but keep looking for a better one
  5975       ac_cv_path_GREP="$ac_path_GREP"
  5976       ac_path_GREP_max=$ac_count
  5977     fi
  5978     # 10*(2^10) chars as input seems more than enough
  5979     test $ac_count -gt 10 && break
  5980   done
  5981   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5982 esac
  5984       $ac_path_GREP_found && break 3
  5985     done
  5986   done
  5987 done
  5988 IFS=$as_save_IFS
  5989   if test -z "$ac_cv_path_GREP"; then
  5990     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5991 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5992    { (exit 1); exit 1; }; }
  5993   fi
  5994 else
  5995   ac_cv_path_GREP=$GREP
  5996 fi
  5998 fi
  5999 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  6000 $as_echo "$ac_cv_path_GREP" >&6; }
  6001  GREP="$ac_cv_path_GREP"
  6004 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
  6005 $as_echo_n "checking for egrep... " >&6; }
  6006 if test "${ac_cv_path_EGREP+set}" = set; then
  6007   $as_echo_n "(cached) " >&6
  6008 else
  6009   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  6010    then ac_cv_path_EGREP="$GREP -E"
  6011    else
  6012      if test -z "$EGREP"; then
  6013   ac_path_EGREP_found=false
  6014   # Loop through the user's path and test for each of PROGNAME-LIST
  6015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6016 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  6017 do
  6018   IFS=$as_save_IFS
  6019   test -z "$as_dir" && as_dir=.
  6020   for ac_prog in egrep; do
  6021     for ac_exec_ext in '' $ac_executable_extensions; do
  6022       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  6023       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  6024 # Check for GNU ac_path_EGREP and select it if it is found.
  6025   # Check for GNU $ac_path_EGREP
  6026 case `"$ac_path_EGREP" --version 2>&1` in
  6027 *GNU*)
  6028   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  6029 *)
  6030   ac_count=0
  6031   $as_echo_n 0123456789 >"conftest.in"
  6032   while :
  6033   do
  6034     cat "conftest.in" "conftest.in" >"conftest.tmp"
  6035     mv "conftest.tmp" "conftest.in"
  6036     cp "conftest.in" "conftest.nl"
  6037     $as_echo 'EGREP' >> "conftest.nl"
  6038     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6039     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6040     ac_count=`expr $ac_count + 1`
  6041     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  6042       # Best one so far, save it but keep looking for a better one
  6043       ac_cv_path_EGREP="$ac_path_EGREP"
  6044       ac_path_EGREP_max=$ac_count
  6045     fi
  6046     # 10*(2^10) chars as input seems more than enough
  6047     test $ac_count -gt 10 && break
  6048   done
  6049   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  6050 esac
  6052       $ac_path_EGREP_found && break 3
  6053     done
  6054   done
  6055 done
  6056 IFS=$as_save_IFS
  6057   if test -z "$ac_cv_path_EGREP"; then
  6058     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  6059 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  6060    { (exit 1); exit 1; }; }
  6061   fi
  6062 else
  6063   ac_cv_path_EGREP=$EGREP
  6064 fi
  6066    fi
  6067 fi
  6068 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  6069 $as_echo "$ac_cv_path_EGREP" >&6; }
  6070  EGREP="$ac_cv_path_EGREP"
  6073 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  6074 $as_echo_n "checking for ANSI C header files... " >&6; }
  6075 if test "${ac_cv_header_stdc+set}" = set; then
  6076   $as_echo_n "(cached) " >&6
  6077 else
  6078   cat >conftest.$ac_ext <<_ACEOF
  6079 /* confdefs.h.  */
  6080 _ACEOF
  6081 cat confdefs.h >>conftest.$ac_ext
  6082 cat >>conftest.$ac_ext <<_ACEOF
  6083 /* end confdefs.h.  */
  6084 #include <stdlib.h>
  6085 #include <stdarg.h>
  6086 #include <string.h>
  6087 #include <float.h>
  6089 int
  6090 main ()
  6094   return 0;
  6096 _ACEOF
  6097 rm -f conftest.$ac_objext
  6098 if { (ac_try="$ac_compile"
  6099 case "(($ac_try" in
  6100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6101   *) ac_try_echo=$ac_try;;
  6102 esac
  6103 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6104 $as_echo "$ac_try_echo") >&5
  6105   (eval "$ac_compile") 2>conftest.er1
  6106   ac_status=$?
  6107   grep -v '^ *+' conftest.er1 >conftest.err
  6108   rm -f conftest.er1
  6109   cat conftest.err >&5
  6110   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6111   (exit $ac_status); } && {
  6112 	 test -z "$ac_c_werror_flag" ||
  6113 	 test ! -s conftest.err
  6114        } && test -s conftest.$ac_objext; then
  6115   ac_cv_header_stdc=yes
  6116 else
  6117   $as_echo "$as_me: failed program was:" >&5
  6118 sed 's/^/| /' conftest.$ac_ext >&5
  6120 	ac_cv_header_stdc=no
  6121 fi
  6123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6125 if test $ac_cv_header_stdc = yes; then
  6126   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6127   cat >conftest.$ac_ext <<_ACEOF
  6128 /* confdefs.h.  */
  6129 _ACEOF
  6130 cat confdefs.h >>conftest.$ac_ext
  6131 cat >>conftest.$ac_ext <<_ACEOF
  6132 /* end confdefs.h.  */
  6133 #include <string.h>
  6135 _ACEOF
  6136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6137   $EGREP "memchr" >/dev/null 2>&1; then
  6139 else
  6140   ac_cv_header_stdc=no
  6141 fi
  6142 rm -f conftest*
  6144 fi
  6146 if test $ac_cv_header_stdc = yes; then
  6147   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6148   cat >conftest.$ac_ext <<_ACEOF
  6149 /* confdefs.h.  */
  6150 _ACEOF
  6151 cat confdefs.h >>conftest.$ac_ext
  6152 cat >>conftest.$ac_ext <<_ACEOF
  6153 /* end confdefs.h.  */
  6154 #include <stdlib.h>
  6156 _ACEOF
  6157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6158   $EGREP "free" >/dev/null 2>&1; then
  6160 else
  6161   ac_cv_header_stdc=no
  6162 fi
  6163 rm -f conftest*
  6165 fi
  6167 if test $ac_cv_header_stdc = yes; then
  6168   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6169   if test "$cross_compiling" = yes; then
  6171 else
  6172   cat >conftest.$ac_ext <<_ACEOF
  6173 /* confdefs.h.  */
  6174 _ACEOF
  6175 cat confdefs.h >>conftest.$ac_ext
  6176 cat >>conftest.$ac_ext <<_ACEOF
  6177 /* end confdefs.h.  */
  6178 #include <ctype.h>
  6179 #include <stdlib.h>
  6180 #if ((' ' & 0x0FF) == 0x020)
  6181 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6182 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6183 #else
  6184 # define ISLOWER(c) \
  6185 		   (('a' <= (c) && (c) <= 'i') \
  6186 		     || ('j' <= (c) && (c) <= 'r') \
  6187 		     || ('s' <= (c) && (c) <= 'z'))
  6188 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6189 #endif
  6191 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6192 int
  6193 main ()
  6195   int i;
  6196   for (i = 0; i < 256; i++)
  6197     if (XOR (islower (i), ISLOWER (i))
  6198 	|| toupper (i) != TOUPPER (i))
  6199       return 2;
  6200   return 0;
  6202 _ACEOF
  6203 rm -f conftest$ac_exeext
  6204 if { (ac_try="$ac_link"
  6205 case "(($ac_try" in
  6206   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6207   *) ac_try_echo=$ac_try;;
  6208 esac
  6209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6210 $as_echo "$ac_try_echo") >&5
  6211   (eval "$ac_link") 2>&5
  6212   ac_status=$?
  6213   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6214   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6215   { (case "(($ac_try" in
  6216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6217   *) ac_try_echo=$ac_try;;
  6218 esac
  6219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6220 $as_echo "$ac_try_echo") >&5
  6221   (eval "$ac_try") 2>&5
  6222   ac_status=$?
  6223   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6224   (exit $ac_status); }; }; then
  6226 else
  6227   $as_echo "$as_me: program exited with status $ac_status" >&5
  6228 $as_echo "$as_me: failed program was:" >&5
  6229 sed 's/^/| /' conftest.$ac_ext >&5
  6231 ( exit $ac_status )
  6232 ac_cv_header_stdc=no
  6233 fi
  6234 rm -rf conftest.dSYM
  6235 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6236 fi
  6239 fi
  6240 fi
  6241 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  6242 $as_echo "$ac_cv_header_stdc" >&6; }
  6243 if test $ac_cv_header_stdc = yes; then
  6245 cat >>confdefs.h <<\_ACEOF
  6246 #define STDC_HEADERS 1
  6247 _ACEOF
  6249 fi
  6251 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6261 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6262 		  inttypes.h stdint.h unistd.h
  6263 do
  6264 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6265 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  6266 $as_echo_n "checking for $ac_header... " >&6; }
  6267 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6268   $as_echo_n "(cached) " >&6
  6269 else
  6270   cat >conftest.$ac_ext <<_ACEOF
  6271 /* confdefs.h.  */
  6272 _ACEOF
  6273 cat confdefs.h >>conftest.$ac_ext
  6274 cat >>conftest.$ac_ext <<_ACEOF
  6275 /* end confdefs.h.  */
  6276 $ac_includes_default
  6278 #include <$ac_header>
  6279 _ACEOF
  6280 rm -f conftest.$ac_objext
  6281 if { (ac_try="$ac_compile"
  6282 case "(($ac_try" in
  6283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6284   *) ac_try_echo=$ac_try;;
  6285 esac
  6286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6287 $as_echo "$ac_try_echo") >&5
  6288   (eval "$ac_compile") 2>conftest.er1
  6289   ac_status=$?
  6290   grep -v '^ *+' conftest.er1 >conftest.err
  6291   rm -f conftest.er1
  6292   cat conftest.err >&5
  6293   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6294   (exit $ac_status); } && {
  6295 	 test -z "$ac_c_werror_flag" ||
  6296 	 test ! -s conftest.err
  6297        } && test -s conftest.$ac_objext; then
  6298   eval "$as_ac_Header=yes"
  6299 else
  6300   $as_echo "$as_me: failed program was:" >&5
  6301 sed 's/^/| /' conftest.$ac_ext >&5
  6303 	eval "$as_ac_Header=no"
  6304 fi
  6306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6307 fi
  6308 ac_res=`eval 'as_val=${'$as_ac_Header'}
  6309 		 $as_echo "$as_val"'`
  6310 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  6311 $as_echo "$ac_res" >&6; }
  6312 as_val=`eval 'as_val=${'$as_ac_Header'}
  6313 		 $as_echo "$as_val"'`
  6314    if test "x$as_val" = x""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: in \`$ac_pwd':" >&5
  6576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6577 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6578 See \`config.log' for more details." >&5
  6579 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6580 See \`config.log' for more details." >&2;}
  6581    { (exit 77); exit 77; }; }; }
  6582    else
  6583      ac_cv_sizeof_void_p=0
  6584    fi ;;
  6585 esac
  6586 else
  6587   cat >conftest.$ac_ext <<_ACEOF
  6588 /* confdefs.h.  */
  6589 _ACEOF
  6590 cat confdefs.h >>conftest.$ac_ext
  6591 cat >>conftest.$ac_ext <<_ACEOF
  6592 /* end confdefs.h.  */
  6593 $ac_includes_default
  6594 static long int longval () { return (long int) (sizeof (void *)); }
  6595 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
  6596 #include <stdio.h>
  6597 #include <stdlib.h>
  6598 int
  6599 main ()
  6602   FILE *f = fopen ("conftest.val", "w");
  6603   if (! f)
  6604     return 1;
  6605   if (((long int) (sizeof (void *))) < 0)
  6607       long int i = longval ();
  6608       if (i != ((long int) (sizeof (void *))))
  6609 	return 1;
  6610       fprintf (f, "%ld", i);
  6612   else
  6614       unsigned long int i = ulongval ();
  6615       if (i != ((long int) (sizeof (void *))))
  6616 	return 1;
  6617       fprintf (f, "%lu", i);
  6619   /* Do not output a trailing newline, as this causes \r\n confusion
  6620      on some platforms.  */
  6621   return ferror (f) || fclose (f) != 0;
  6624   return 0;
  6626 _ACEOF
  6627 rm -f conftest$ac_exeext
  6628 if { (ac_try="$ac_link"
  6629 case "(($ac_try" in
  6630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6631   *) ac_try_echo=$ac_try;;
  6632 esac
  6633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6634 $as_echo "$ac_try_echo") >&5
  6635   (eval "$ac_link") 2>&5
  6636   ac_status=$?
  6637   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6638   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6639   { (case "(($ac_try" in
  6640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6641   *) ac_try_echo=$ac_try;;
  6642 esac
  6643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6644 $as_echo "$ac_try_echo") >&5
  6645   (eval "$ac_try") 2>&5
  6646   ac_status=$?
  6647   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6648   (exit $ac_status); }; }; then
  6649   ac_cv_sizeof_void_p=`cat conftest.val`
  6650 else
  6651   $as_echo "$as_me: program exited with status $ac_status" >&5
  6652 $as_echo "$as_me: failed program was:" >&5
  6653 sed 's/^/| /' conftest.$ac_ext >&5
  6655 ( exit $ac_status )
  6656 if test "$ac_cv_type_void_p" = yes; then
  6657      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  6658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6659 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6660 See \`config.log' for more details." >&5
  6661 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6662 See \`config.log' for more details." >&2;}
  6663    { (exit 77); exit 77; }; }; }
  6664    else
  6665      ac_cv_sizeof_void_p=0
  6666    fi
  6667 fi
  6668 rm -rf conftest.dSYM
  6669 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6670 fi
  6671 rm -f conftest.val
  6672 fi
  6673 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
  6674 $as_echo "$ac_cv_sizeof_void_p" >&6; }
  6678 cat >>confdefs.h <<_ACEOF
  6679 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  6680 _ACEOF
  6683 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  6684 $as_echo_n "checking for ANSI C header files... " >&6; }
  6685 if test "${ac_cv_header_stdc+set}" = set; then
  6686   $as_echo_n "(cached) " >&6
  6687 else
  6688   cat >conftest.$ac_ext <<_ACEOF
  6689 /* confdefs.h.  */
  6690 _ACEOF
  6691 cat confdefs.h >>conftest.$ac_ext
  6692 cat >>conftest.$ac_ext <<_ACEOF
  6693 /* end confdefs.h.  */
  6694 #include <stdlib.h>
  6695 #include <stdarg.h>
  6696 #include <string.h>
  6697 #include <float.h>
  6699 int
  6700 main ()
  6704   return 0;
  6706 _ACEOF
  6707 rm -f conftest.$ac_objext
  6708 if { (ac_try="$ac_compile"
  6709 case "(($ac_try" in
  6710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6711   *) ac_try_echo=$ac_try;;
  6712 esac
  6713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6714 $as_echo "$ac_try_echo") >&5
  6715   (eval "$ac_compile") 2>conftest.er1
  6716   ac_status=$?
  6717   grep -v '^ *+' conftest.er1 >conftest.err
  6718   rm -f conftest.er1
  6719   cat conftest.err >&5
  6720   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6721   (exit $ac_status); } && {
  6722 	 test -z "$ac_c_werror_flag" ||
  6723 	 test ! -s conftest.err
  6724        } && test -s conftest.$ac_objext; then
  6725   ac_cv_header_stdc=yes
  6726 else
  6727   $as_echo "$as_me: failed program was:" >&5
  6728 sed 's/^/| /' conftest.$ac_ext >&5
  6730 	ac_cv_header_stdc=no
  6731 fi
  6733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6735 if test $ac_cv_header_stdc = yes; then
  6736   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6737   cat >conftest.$ac_ext <<_ACEOF
  6738 /* confdefs.h.  */
  6739 _ACEOF
  6740 cat confdefs.h >>conftest.$ac_ext
  6741 cat >>conftest.$ac_ext <<_ACEOF
  6742 /* end confdefs.h.  */
  6743 #include <string.h>
  6745 _ACEOF
  6746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6747   $EGREP "memchr" >/dev/null 2>&1; then
  6749 else
  6750   ac_cv_header_stdc=no
  6751 fi
  6752 rm -f conftest*
  6754 fi
  6756 if test $ac_cv_header_stdc = yes; then
  6757   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6758   cat >conftest.$ac_ext <<_ACEOF
  6759 /* confdefs.h.  */
  6760 _ACEOF
  6761 cat confdefs.h >>conftest.$ac_ext
  6762 cat >>conftest.$ac_ext <<_ACEOF
  6763 /* end confdefs.h.  */
  6764 #include <stdlib.h>
  6766 _ACEOF
  6767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6768   $EGREP "free" >/dev/null 2>&1; then
  6770 else
  6771   ac_cv_header_stdc=no
  6772 fi
  6773 rm -f conftest*
  6775 fi
  6777 if test $ac_cv_header_stdc = yes; then
  6778   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6779   if test "$cross_compiling" = yes; then
  6781 else
  6782   cat >conftest.$ac_ext <<_ACEOF
  6783 /* confdefs.h.  */
  6784 _ACEOF
  6785 cat confdefs.h >>conftest.$ac_ext
  6786 cat >>conftest.$ac_ext <<_ACEOF
  6787 /* end confdefs.h.  */
  6788 #include <ctype.h>
  6789 #include <stdlib.h>