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