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