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