Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 562:e598411b640b
prev542:96c5494e02fd
next571:9bc09948d0f2
author nkeynes
date Tue Jan 01 05:48:06 2008 +0000 (12 years ago)
branchlxdream-mmu
permissions -rwxr-xr-x
last change Add configure and command-line parameters to perform IO tracing
view annotate diff log raw
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.61.
     4 #
     5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6 # 2002, 2003, 2004, 2005, 2006 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   # Zsh 3.x and 4.x performs 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 # The user is always right.
    41 if test "${PATH_SEPARATOR+set}" != set; then
    42   echo "#! /bin/sh" >conf$$.sh
    43   echo  "exit 0"   >>conf$$.sh
    44   chmod +x conf$$.sh
    45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    46     PATH_SEPARATOR=';'
    47   else
    48     PATH_SEPARATOR=:
    49   fi
    50   rm -f conf$$.sh
    51 fi
    53 # Support unset when possible.
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    55   as_unset=unset
    56 else
    57   as_unset=false
    58 fi
    61 # IFS
    62 # We need space, tab and new line, in precisely that order.  Quoting is
    63 # there to prevent editors from complaining about space-tab.
    64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    65 # splitting by setting IFS to empty value.)
    66 as_nl='
    67 '
    68 IFS=" ""	$as_nl"
    70 # Find who we are.  Look in the path if we contain no directory separator.
    71 case $0 in
    72   *[\\/]* ) as_myself=$0 ;;
    73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    74 for as_dir in $PATH
    75 do
    76   IFS=$as_save_IFS
    77   test -z "$as_dir" && as_dir=.
    78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    79 done
    80 IFS=$as_save_IFS
    82      ;;
    83 esac
    84 # We did not find ourselves, most probably we were run as `sh COMMAND'
    85 # in which case we are not to be found in the path.
    86 if test "x$as_myself" = x; then
    87   as_myself=$0
    88 fi
    89 if test ! -f "$as_myself"; then
    90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    91   { (exit 1); exit 1; }
    92 fi
    94 # Work around bugs in pre-3.0 UWIN ksh.
    95 for as_var in ENV MAIL MAILPATH
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    97 done
    98 PS1='$ '
    99 PS2='> '
   100 PS4='+ '
   102 # NLS nuisances.
   103 for as_var in \
   104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   106   LC_TELEPHONE LC_TIME
   107 do
   108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   109     eval $as_var=C; export $as_var
   110   else
   111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   112   fi
   113 done
   115 # Required to use basename.
   116 if expr a : '\(a\)' >/dev/null 2>&1 &&
   117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   118   as_expr=expr
   119 else
   120   as_expr=false
   121 fi
   123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   124   as_basename=basename
   125 else
   126   as_basename=false
   127 fi
   130 # Name of the executable.
   131 as_me=`$as_basename -- "$0" ||
   132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   133 	 X"$0" : 'X\(//\)$' \| \
   134 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   135 echo X/"$0" |
   136     sed '/^.*\/\([^/][^/]*\)\/*$/{
   137 	    s//\1/
   138 	    q
   139 	  }
   140 	  /^X\/\(\/\/\)$/{
   141 	    s//\1/
   142 	    q
   143 	  }
   144 	  /^X\/\(\/\).*/{
   145 	    s//\1/
   146 	    q
   147 	  }
   148 	  s/.*/./; q'`
   150 # CDPATH.
   151 $as_unset CDPATH
   154 if test "x$CONFIG_SHELL" = x; then
   155   if (eval ":") 2>/dev/null; then
   156   as_have_required=yes
   157 else
   158   as_have_required=no
   159 fi
   161   if test $as_have_required = yes && 	 (eval ":
   162 (as_func_return () {
   163   (exit \$1)
   164 }
   165 as_func_success () {
   166   as_func_return 0
   167 }
   168 as_func_failure () {
   169   as_func_return 1
   170 }
   171 as_func_ret_success () {
   172   return 0
   173 }
   174 as_func_ret_failure () {
   175   return 1
   176 }
   178 exitcode=0
   179 if as_func_success; then
   180   :
   181 else
   182   exitcode=1
   183   echo as_func_success failed.
   184 fi
   186 if as_func_failure; then
   187   exitcode=1
   188   echo as_func_failure succeeded.
   189 fi
   191 if as_func_ret_success; then
   192   :
   193 else
   194   exitcode=1
   195   echo as_func_ret_success failed.
   196 fi
   198 if as_func_ret_failure; then
   199   exitcode=1
   200   echo as_func_ret_failure succeeded.
   201 fi
   203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   204   :
   205 else
   206   exitcode=1
   207   echo positional parameters were not saved.
   208 fi
   210 test \$exitcode = 0) || { (exit 1); exit 1; }
   212 (
   213   as_lineno_1=\$LINENO
   214   as_lineno_2=\$LINENO
   215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   217 ") 2> /dev/null; then
   218   :
   219 else
   220   as_candidate_shells=
   221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   223 do
   224   IFS=$as_save_IFS
   225   test -z "$as_dir" && as_dir=.
   226   case $as_dir in
   227 	 /*)
   228 	   for as_base in sh bash ksh sh5; do
   229 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   230 	   done;;
   231        esac
   232 done
   233 IFS=$as_save_IFS
   236       for as_shell in $as_candidate_shells $SHELL; do
   237 	 # Try only shells that exist, to save several forks.
   238 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   239 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   241   emulate sh
   242   NULLCMD=:
   243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   244   # is contrary to our usage.  Disable this feature.
   245   alias -g '${1+"$@"}'='"$@"'
   246   setopt NO_GLOB_SUBST
   247 else
   248   case `(set -o) 2>/dev/null` in
   249   *posix*) set -o posix ;;
   250 esac
   252 fi
   255 :
   256 _ASEOF
   257 }; then
   258   CONFIG_SHELL=$as_shell
   259 	       as_have_required=yes
   260 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   262   emulate sh
   263   NULLCMD=:
   264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   265   # is contrary to our usage.  Disable this feature.
   266   alias -g '${1+"$@"}'='"$@"'
   267   setopt NO_GLOB_SUBST
   268 else
   269   case `(set -o) 2>/dev/null` in
   270   *posix*) set -o posix ;;
   271 esac
   273 fi
   276 :
   277 (as_func_return () {
   278   (exit $1)
   279 }
   280 as_func_success () {
   281   as_func_return 0
   282 }
   283 as_func_failure () {
   284   as_func_return 1
   285 }
   286 as_func_ret_success () {
   287   return 0
   288 }
   289 as_func_ret_failure () {
   290   return 1
   291 }
   293 exitcode=0
   294 if as_func_success; then
   295   :
   296 else
   297   exitcode=1
   298   echo as_func_success failed.
   299 fi
   301 if as_func_failure; then
   302   exitcode=1
   303   echo as_func_failure succeeded.
   304 fi
   306 if as_func_ret_success; then
   307   :
   308 else
   309   exitcode=1
   310   echo as_func_ret_success failed.
   311 fi
   313 if as_func_ret_failure; then
   314   exitcode=1
   315   echo as_func_ret_failure succeeded.
   316 fi
   318 if ( set x; as_func_ret_success y && test x = "$1" ); then
   319   :
   320 else
   321   exitcode=1
   322   echo positional parameters were not saved.
   323 fi
   325 test $exitcode = 0) || { (exit 1); exit 1; }
   327 (
   328   as_lineno_1=$LINENO
   329   as_lineno_2=$LINENO
   330   test "x$as_lineno_1" != "x$as_lineno_2" &&
   331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   333 _ASEOF
   334 }; then
   335   break
   336 fi
   338 fi
   340       done
   342       if test "x$CONFIG_SHELL" != x; then
   343   for as_var in BASH_ENV ENV
   344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   345         done
   346         export CONFIG_SHELL
   347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   348 fi
   351     if test $as_have_required = no; then
   352   echo This script requires a shell more modern than all the
   353       echo shells that I found on your system.  Please install a
   354       echo modern shell, or manually run the script under such a
   355       echo shell if you do have one.
   356       { (exit 1); exit 1; }
   357 fi
   360 fi
   362 fi
   366 (eval "as_func_return () {
   367   (exit \$1)
   368 }
   369 as_func_success () {
   370   as_func_return 0
   371 }
   372 as_func_failure () {
   373   as_func_return 1
   374 }
   375 as_func_ret_success () {
   376   return 0
   377 }
   378 as_func_ret_failure () {
   379   return 1
   380 }
   382 exitcode=0
   383 if as_func_success; then
   384   :
   385 else
   386   exitcode=1
   387   echo as_func_success failed.
   388 fi
   390 if as_func_failure; then
   391   exitcode=1
   392   echo as_func_failure succeeded.
   393 fi
   395 if as_func_ret_success; then
   396   :
   397 else
   398   exitcode=1
   399   echo as_func_ret_success failed.
   400 fi
   402 if as_func_ret_failure; then
   403   exitcode=1
   404   echo as_func_ret_failure succeeded.
   405 fi
   407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   408   :
   409 else
   410   exitcode=1
   411   echo positional parameters were not saved.
   412 fi
   414 test \$exitcode = 0") || {
   415   echo No shell found that supports shell functions.
   416   echo Please tell autoconf@gnu.org about your system,
   417   echo including any error possibly output before this
   418   echo message
   419 }
   423   as_lineno_1=$LINENO
   424   as_lineno_2=$LINENO
   425   test "x$as_lineno_1" != "x$as_lineno_2" &&
   426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   429   # uniformly replaced by the line number.  The first 'sed' inserts a
   430   # line-number line after each line using $LINENO; the second 'sed'
   431   # does the real work.  The second script uses 'N' to pair each
   432   # line-number line with the line containing $LINENO, and appends
   433   # trailing '-' during substitution so that $LINENO is not a special
   434   # case at line end.
   435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   437   # E. McMahon (1931-1989) for sed's syntax.  :-)
   438   sed -n '
   439     p
   440     /[$]LINENO/=
   441   ' <$as_myself |
   442     sed '
   443       s/[$]LINENO.*/&-/
   444       t lineno
   445       b
   446       :lineno
   447       N
   448       :loop
   449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   450       t loop
   451       s/-\n.*//
   452     ' >$as_me.lineno &&
   453   chmod +x "$as_me.lineno" ||
   454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   455    { (exit 1); exit 1; }; }
   457   # Don't try to exec as it changes $[0], causing all sort of problems
   458   # (the dirname of $[0] is not the place where we might find the
   459   # original and so on.  Autoconf is especially sensitive to this).
   460   . "./$as_me.lineno"
   461   # Exit status is that of the last command.
   462   exit
   463 }
   466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   467   as_dirname=dirname
   468 else
   469   as_dirname=false
   470 fi
   472 ECHO_C= ECHO_N= ECHO_T=
   473 case `echo -n x` in
   474 -n*)
   475   case `echo 'x\c'` in
   476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   477   *)   ECHO_C='\c';;
   478   esac;;
   479 *)
   480   ECHO_N='-n';;
   481 esac
   483 if expr a : '\(a\)' >/dev/null 2>&1 &&
   484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   485   as_expr=expr
   486 else
   487   as_expr=false
   488 fi
   490 rm -f conf$$ conf$$.exe conf$$.file
   491 if test -d conf$$.dir; then
   492   rm -f conf$$.dir/conf$$.file
   493 else
   494   rm -f conf$$.dir
   495   mkdir conf$$.dir
   496 fi
   497 echo >conf$$.file
   498 if ln -s conf$$.file conf$$ 2>/dev/null; then
   499   as_ln_s='ln -s'
   500   # ... but there are two gotchas:
   501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   503   # In both cases, we have to default to `cp -p'.
   504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   505     as_ln_s='cp -p'
   506 elif ln conf$$.file conf$$ 2>/dev/null; then
   507   as_ln_s=ln
   508 else
   509   as_ln_s='cp -p'
   510 fi
   511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   512 rmdir conf$$.dir 2>/dev/null
   514 if mkdir -p . 2>/dev/null; then
   515   as_mkdir_p=:
   516 else
   517   test -d ./-p && rmdir ./-p
   518   as_mkdir_p=false
   519 fi
   521 if test -x / >/dev/null 2>&1; then
   522   as_test_x='test -x'
   523 else
   524   if ls -dL / >/dev/null 2>&1; then
   525     as_ls_L_option=L
   526   else
   527     as_ls_L_option=
   528   fi
   529   as_test_x='
   530     eval sh -c '\''
   531       if test -d "$1"; then
   532         test -d "$1/.";
   533       else
   534 	case $1 in
   535         -*)set "./$1";;
   536 	esac;
   537 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   538 	???[sx]*):;;*)false;;esac;fi
   539     '\'' sh
   540   '
   541 fi
   542 as_executable_p=$as_test_x
   544 # Sed expression to map a string onto a valid CPP name.
   545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   547 # Sed expression to map a string onto a valid variable name.
   548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   552 exec 7<&0 </dev/null 6>&1
   554 # Name of the host.
   555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   556 # so uname gets run too.
   557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   559 #
   560 # Initializations.
   561 #
   562 ac_default_prefix=/usr/local
   563 ac_clean_files=
   564 ac_config_libobj_dir=.
   565 LIBOBJS=
   566 cross_compiling=no
   567 subdirs=
   568 MFLAGS=
   569 MAKEFLAGS=
   570 SHELL=${CONFIG_SHELL-/bin/sh}
   572 # Identity of this package.
   573 PACKAGE_NAME=
   574 PACKAGE_TARNAME=
   575 PACKAGE_VERSION=
   576 PACKAGE_STRING=
   577 PACKAGE_BUGREPORT=
   579 ac_unique_file="configure.in"
   580 # Factoring default headers for most tests.
   581 ac_includes_default="\
   582 #include <stdio.h>
   583 #ifdef HAVE_SYS_TYPES_H
   584 # include <sys/types.h>
   585 #endif
   586 #ifdef HAVE_SYS_STAT_H
   587 # include <sys/stat.h>
   588 #endif
   589 #ifdef STDC_HEADERS
   590 # include <stdlib.h>
   591 # include <stddef.h>
   592 #else
   593 # ifdef HAVE_STDLIB_H
   594 #  include <stdlib.h>
   595 # endif
   596 #endif
   597 #ifdef HAVE_STRING_H
   598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   599 #  include <memory.h>
   600 # endif
   601 # include <string.h>
   602 #endif
   603 #ifdef HAVE_STRINGS_H
   604 # include <strings.h>
   605 #endif
   606 #ifdef HAVE_INTTYPES_H
   607 # include <inttypes.h>
   608 #endif
   609 #ifdef HAVE_STDINT_H
   610 # include <stdint.h>
   611 #endif
   612 #ifdef HAVE_UNISTD_H
   613 # include <unistd.h>
   614 #endif"
   616 ac_subst_vars='SHELL
   617 PATH_SEPARATOR
   618 PACKAGE_NAME
   619 PACKAGE_TARNAME
   620 PACKAGE_VERSION
   621 PACKAGE_STRING
   622 PACKAGE_BUGREPORT
   623 exec_prefix
   624 prefix
   625 program_transform_name
   626 bindir
   627 sbindir
   628 libexecdir
   629 datarootdir
   630 datadir
   631 sysconfdir
   632 sharedstatedir
   633 localstatedir
   634 includedir
   635 oldincludedir
   636 docdir
   637 infodir
   638 htmldir
   639 dvidir
   640 pdfdir
   641 psdir
   642 libdir
   643 localedir
   644 mandir
   645 DEFS
   646 ECHO_C
   647 ECHO_N
   648 ECHO_T
   649 LIBS
   650 build_alias
   651 host_alias
   652 target_alias
   653 INSTALL_PROGRAM
   654 INSTALL_SCRIPT
   655 INSTALL_DATA
   656 CYGPATH_W
   657 PACKAGE
   658 VERSION
   659 ACLOCAL
   660 AUTOCONF
   661 AUTOMAKE
   662 AUTOHEADER
   663 MAKEINFO
   664 AMTAR
   665 install_sh
   666 STRIP
   667 INSTALL_STRIP_PROGRAM
   668 AWK
   669 SET_MAKE
   670 am__leading_dot
   671 MAINTAINER_MODE_TRUE
   672 MAINTAINER_MODE_FALSE
   673 MAINT
   674 CC
   675 CFLAGS
   676 LDFLAGS
   677 CPPFLAGS
   678 ac_ct_CC
   679 EXEEXT
   680 OBJEXT
   681 DEPDIR
   682 am__include
   683 am__quote
   684 AMDEP_TRUE
   685 AMDEP_FALSE
   686 AMDEPBACKSLASH
   687 CCDEPMODE
   688 am__fastdepCC_TRUE
   689 am__fastdepCC_FALSE
   690 CPP
   691 GREP
   692 EGREP
   693 build
   694 build_cpu
   695 build_vendor
   696 build_os
   697 host
   698 host_cpu
   699 host_vendor
   700 host_os
   701 PKG_CONFIG
   702 LIBPNG_CFLAGS
   703 LIBPNG_LIBS
   704 GTK_CFLAGS
   705 GTK_LIBS
   706 GUI_CARBON_TRUE
   707 GUI_CARBON_FALSE
   708 GUI_GTK_TRUE
   709 GUI_GTK_FALSE
   710 BUILD_SH4X86_TRUE
   711 BUILD_SH4X86_FALSE
   712 ESOUND_CFLAGS
   713 ESOUND_LIBS
   714 AUDIO_ESOUND_TRUE
   715 AUDIO_ESOUND_FALSE
   716 CDROM_LINUX_TRUE
   717 CDROM_LINUX_FALSE
   718 SHCC
   719 SHLD
   720 SHOBJCOPY
   721 ARMCC
   722 ARMLD
   723 ARMOBJCOPY
   724 BUILD_SYSTEST_TRUE
   725 BUILD_SYSTEST_FALSE
   726 BUILD_ARMTEST_TRUE
   727 BUILD_ARMTEST_FALSE
   728 GETTEXT_PACKAGE
   729 USE_NLS
   730 MSGFMT
   731 GMSGFMT
   732 XGETTEXT
   733 CATALOGS
   734 CATOBJEXT
   735 DATADIRNAME
   736 GMOFILES
   737 INSTOBJEXT
   738 INTLLIBS
   739 PO_IN_DATADIR_TRUE
   740 PO_IN_DATADIR_FALSE
   741 POFILES
   742 POSUB
   743 MKINSTALLDIRS
   744 LIBOBJS
   745 LTLIBOBJS'
   746 ac_subst_files=''
   747       ac_precious_vars='build_alias
   748 host_alias
   749 target_alias
   750 CC
   751 CFLAGS
   752 LDFLAGS
   753 LIBS
   754 CPPFLAGS
   755 CPP
   756 PKG_CONFIG
   757 LIBPNG_CFLAGS
   758 LIBPNG_LIBS
   759 GTK_CFLAGS
   760 GTK_LIBS
   761 ESOUND_CFLAGS
   762 ESOUND_LIBS'
   765 # Initialize some variables set by options.
   766 ac_init_help=
   767 ac_init_version=false
   768 # The variables have the same names as the options, with
   769 # dashes changed to underlines.
   770 cache_file=/dev/null
   771 exec_prefix=NONE
   772 no_create=
   773 no_recursion=
   774 prefix=NONE
   775 program_prefix=NONE
   776 program_suffix=NONE
   777 program_transform_name=s,x,x,
   778 silent=
   779 site=
   780 srcdir=
   781 verbose=
   782 x_includes=NONE
   783 x_libraries=NONE
   785 # Installation directory options.
   786 # These are left unexpanded so users can "make install exec_prefix=/foo"
   787 # and all the variables that are supposed to be based on exec_prefix
   788 # by default will actually change.
   789 # Use braces instead of parens because sh, perl, etc. also accept them.
   790 # (The list follows the same order as the GNU Coding Standards.)
   791 bindir='${exec_prefix}/bin'
   792 sbindir='${exec_prefix}/sbin'
   793 libexecdir='${exec_prefix}/libexec'
   794 datarootdir='${prefix}/share'
   795 datadir='${datarootdir}'
   796 sysconfdir='${prefix}/etc'
   797 sharedstatedir='${prefix}/com'
   798 localstatedir='${prefix}/var'
   799 includedir='${prefix}/include'
   800 oldincludedir='/usr/include'
   801 docdir='${datarootdir}/doc/${PACKAGE}'
   802 infodir='${datarootdir}/info'
   803 htmldir='${docdir}'
   804 dvidir='${docdir}'
   805 pdfdir='${docdir}'
   806 psdir='${docdir}'
   807 libdir='${exec_prefix}/lib'
   808 localedir='${datarootdir}/locale'
   809 mandir='${datarootdir}/man'
   811 ac_prev=
   812 ac_dashdash=
   813 for ac_option
   814 do
   815   # If the previous option needs an argument, assign it.
   816   if test -n "$ac_prev"; then
   817     eval $ac_prev=\$ac_option
   818     ac_prev=
   819     continue
   820   fi
   822   case $ac_option in
   823   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   824   *)	ac_optarg=yes ;;
   825   esac
   827   # Accept the important Cygnus configure options, so we can diagnose typos.
   829   case $ac_dashdash$ac_option in
   830   --)
   831     ac_dashdash=yes ;;
   833   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   834     ac_prev=bindir ;;
   835   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   836     bindir=$ac_optarg ;;
   838   -build | --build | --buil | --bui | --bu)
   839     ac_prev=build_alias ;;
   840   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   841     build_alias=$ac_optarg ;;
   843   -cache-file | --cache-file | --cache-fil | --cache-fi \
   844   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   845     ac_prev=cache_file ;;
   846   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   847   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   848     cache_file=$ac_optarg ;;
   850   --config-cache | -C)
   851     cache_file=config.cache ;;
   853   -datadir | --datadir | --datadi | --datad)
   854     ac_prev=datadir ;;
   855   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   856     datadir=$ac_optarg ;;
   858   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   859   | --dataroo | --dataro | --datar)
   860     ac_prev=datarootdir ;;
   861   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   862   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   863     datarootdir=$ac_optarg ;;
   865   -disable-* | --disable-*)
   866     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   867     # Reject names that are not valid shell variable names.
   868     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   869       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   870    { (exit 1); exit 1; }; }
   871     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   872     eval enable_$ac_feature=no ;;
   874   -docdir | --docdir | --docdi | --doc | --do)
   875     ac_prev=docdir ;;
   876   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   877     docdir=$ac_optarg ;;
   879   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   880     ac_prev=dvidir ;;
   881   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   882     dvidir=$ac_optarg ;;
   884   -enable-* | --enable-*)
   885     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   886     # Reject names that are not valid shell variable names.
   887     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   888       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   889    { (exit 1); exit 1; }; }
   890     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   891     eval enable_$ac_feature=\$ac_optarg ;;
   893   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   894   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   895   | --exec | --exe | --ex)
   896     ac_prev=exec_prefix ;;
   897   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   898   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   899   | --exec=* | --exe=* | --ex=*)
   900     exec_prefix=$ac_optarg ;;
   902   -gas | --gas | --ga | --g)
   903     # Obsolete; use --with-gas.
   904     with_gas=yes ;;
   906   -help | --help | --hel | --he | -h)
   907     ac_init_help=long ;;
   908   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   909     ac_init_help=recursive ;;
   910   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   911     ac_init_help=short ;;
   913   -host | --host | --hos | --ho)
   914     ac_prev=host_alias ;;
   915   -host=* | --host=* | --hos=* | --ho=*)
   916     host_alias=$ac_optarg ;;
   918   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   919     ac_prev=htmldir ;;
   920   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   921   | --ht=*)
   922     htmldir=$ac_optarg ;;
   924   -includedir | --includedir | --includedi | --included | --include \
   925   | --includ | --inclu | --incl | --inc)
   926     ac_prev=includedir ;;
   927   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   928   | --includ=* | --inclu=* | --incl=* | --inc=*)
   929     includedir=$ac_optarg ;;
   931   -infodir | --infodir | --infodi | --infod | --info | --inf)
   932     ac_prev=infodir ;;
   933   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   934     infodir=$ac_optarg ;;
   936   -libdir | --libdir | --libdi | --libd)
   937     ac_prev=libdir ;;
   938   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   939     libdir=$ac_optarg ;;
   941   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   942   | --libexe | --libex | --libe)
   943     ac_prev=libexecdir ;;
   944   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   945   | --libexe=* | --libex=* | --libe=*)
   946     libexecdir=$ac_optarg ;;
   948   -localedir | --localedir | --localedi | --localed | --locale)
   949     ac_prev=localedir ;;
   950   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   951     localedir=$ac_optarg ;;
   953   -localstatedir | --localstatedir | --localstatedi | --localstated \
   954   | --localstate | --localstat | --localsta | --localst | --locals)
   955     ac_prev=localstatedir ;;
   956   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   957   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   958     localstatedir=$ac_optarg ;;
   960   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   961     ac_prev=mandir ;;
   962   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   963     mandir=$ac_optarg ;;
   965   -nfp | --nfp | --nf)
   966     # Obsolete; use --without-fp.
   967     with_fp=no ;;
   969   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   970   | --no-cr | --no-c | -n)
   971     no_create=yes ;;
   973   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   974   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   975     no_recursion=yes ;;
   977   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   978   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   979   | --oldin | --oldi | --old | --ol | --o)
   980     ac_prev=oldincludedir ;;
   981   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   982   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   983   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   984     oldincludedir=$ac_optarg ;;
   986   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   987     ac_prev=prefix ;;
   988   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   989     prefix=$ac_optarg ;;
   991   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   992   | --program-pre | --program-pr | --program-p)
   993     ac_prev=program_prefix ;;
   994   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   995   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   996     program_prefix=$ac_optarg ;;
   998   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   999   | --program-suf | --program-su | --program-s)
  1000     ac_prev=program_suffix ;;
  1001   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1002   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1003     program_suffix=$ac_optarg ;;
  1005   -program-transform-name | --program-transform-name \
  1006   | --program-transform-nam | --program-transform-na \
  1007   | --program-transform-n | --program-transform- \
  1008   | --program-transform | --program-transfor \
  1009   | --program-transfo | --program-transf \
  1010   | --program-trans | --program-tran \
  1011   | --progr-tra | --program-tr | --program-t)
  1012     ac_prev=program_transform_name ;;
  1013   -program-transform-name=* | --program-transform-name=* \
  1014   | --program-transform-nam=* | --program-transform-na=* \
  1015   | --program-transform-n=* | --program-transform-=* \
  1016   | --program-transform=* | --program-transfor=* \
  1017   | --program-transfo=* | --program-transf=* \
  1018   | --program-trans=* | --program-tran=* \
  1019   | --progr-tra=* | --program-tr=* | --program-t=*)
  1020     program_transform_name=$ac_optarg ;;
  1022   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1023     ac_prev=pdfdir ;;
  1024   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1025     pdfdir=$ac_optarg ;;
  1027   -psdir | --psdir | --psdi | --psd | --ps)
  1028     ac_prev=psdir ;;
  1029   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1030     psdir=$ac_optarg ;;
  1032   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1033   | -silent | --silent | --silen | --sile | --sil)
  1034     silent=yes ;;
  1036   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1037     ac_prev=sbindir ;;
  1038   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1039   | --sbi=* | --sb=*)
  1040     sbindir=$ac_optarg ;;
  1042   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1043   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1044   | --sharedst | --shareds | --shared | --share | --shar \
  1045   | --sha | --sh)
  1046     ac_prev=sharedstatedir ;;
  1047   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1048   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1049   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1050   | --sha=* | --sh=*)
  1051     sharedstatedir=$ac_optarg ;;
  1053   -site | --site | --sit)
  1054     ac_prev=site ;;
  1055   -site=* | --site=* | --sit=*)
  1056     site=$ac_optarg ;;
  1058   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1059     ac_prev=srcdir ;;
  1060   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1061     srcdir=$ac_optarg ;;
  1063   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1064   | --syscon | --sysco | --sysc | --sys | --sy)
  1065     ac_prev=sysconfdir ;;
  1066   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1067   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1068     sysconfdir=$ac_optarg ;;
  1070   -target | --target | --targe | --targ | --tar | --ta | --t)
  1071     ac_prev=target_alias ;;
  1072   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1073     target_alias=$ac_optarg ;;
  1075   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1076     verbose=yes ;;
  1078   -version | --version | --versio | --versi | --vers | -V)
  1079     ac_init_version=: ;;
  1081   -with-* | --with-*)
  1082     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1083     # Reject names that are not valid shell variable names.
  1084     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1085       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1086    { (exit 1); exit 1; }; }
  1087     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1088     eval with_$ac_package=\$ac_optarg ;;
  1090   -without-* | --without-*)
  1091     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1092     # Reject names that are not valid shell variable names.
  1093     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1094       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1095    { (exit 1); exit 1; }; }
  1096     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1097     eval with_$ac_package=no ;;
  1099   --x)
  1100     # Obsolete; use --with-x.
  1101     with_x=yes ;;
  1103   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1104   | --x-incl | --x-inc | --x-in | --x-i)
  1105     ac_prev=x_includes ;;
  1106   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1107   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1108     x_includes=$ac_optarg ;;
  1110   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1111   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1112     ac_prev=x_libraries ;;
  1113   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1114   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1115     x_libraries=$ac_optarg ;;
  1117   -*) { echo "$as_me: error: unrecognized option: $ac_option
  1118 Try \`$0 --help' for more information." >&2
  1119    { (exit 1); exit 1; }; }
  1120     ;;
  1122   *=*)
  1123     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1124     # Reject names that are not valid shell variable names.
  1125     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1126       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1127    { (exit 1); exit 1; }; }
  1128     eval $ac_envvar=\$ac_optarg
  1129     export $ac_envvar ;;
  1131   *)
  1132     # FIXME: should be removed in autoconf 3.0.
  1133     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1134     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1135       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1136     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1137     ;;
  1139   esac
  1140 done
  1142 if test -n "$ac_prev"; then
  1143   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1144   { echo "$as_me: error: missing argument to $ac_option" >&2
  1145    { (exit 1); exit 1; }; }
  1146 fi
  1148 # Be sure to have absolute directory names.
  1149 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1150 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1151 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1152 		libdir localedir mandir
  1153 do
  1154   eval ac_val=\$$ac_var
  1155   case $ac_val in
  1156     [\\/$]* | ?:[\\/]* )  continue;;
  1157     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1158   esac
  1159   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1160    { (exit 1); exit 1; }; }
  1161 done
  1163 # There might be people who depend on the old broken behavior: `$host'
  1164 # used to hold the argument of --host etc.
  1165 # FIXME: To remove some day.
  1166 build=$build_alias
  1167 host=$host_alias
  1168 target=$target_alias
  1170 # FIXME: To remove some day.
  1171 if test "x$host_alias" != x; then
  1172   if test "x$build_alias" = x; then
  1173     cross_compiling=maybe
  1174     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1175     If a cross compiler is detected then cross compile mode will be used." >&2
  1176   elif test "x$build_alias" != "x$host_alias"; then
  1177     cross_compiling=yes
  1178   fi
  1179 fi
  1181 ac_tool_prefix=
  1182 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1184 test "$silent" = yes && exec 6>/dev/null
  1187 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1188 ac_ls_di=`ls -di .` &&
  1189 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1190   { echo "$as_me: error: Working directory cannot be determined" >&2
  1191    { (exit 1); exit 1; }; }
  1192 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1193   { echo "$as_me: error: pwd does not report name of working directory" >&2
  1194    { (exit 1); exit 1; }; }
  1197 # Find the source files, if location was not specified.
  1198 if test -z "$srcdir"; then
  1199   ac_srcdir_defaulted=yes
  1200   # Try the directory containing this script, then the parent directory.
  1201   ac_confdir=`$as_dirname -- "$0" ||
  1202 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1203 	 X"$0" : 'X\(//\)[^/]' \| \
  1204 	 X"$0" : 'X\(//\)$' \| \
  1205 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1206 echo X"$0" |
  1207     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1208 	    s//\1/
  1211 	  /^X\(\/\/\)[^/].*/{
  1212 	    s//\1/
  1215 	  /^X\(\/\/\)$/{
  1216 	    s//\1/
  1219 	  /^X\(\/\).*/{
  1220 	    s//\1/
  1223 	  s/.*/./; q'`
  1224   srcdir=$ac_confdir
  1225   if test ! -r "$srcdir/$ac_unique_file"; then
  1226     srcdir=..
  1227   fi
  1228 else
  1229   ac_srcdir_defaulted=no
  1230 fi
  1231 if test ! -r "$srcdir/$ac_unique_file"; then
  1232   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1233   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1234    { (exit 1); exit 1; }; }
  1235 fi
  1236 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1237 ac_abs_confdir=`(
  1238 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1239    { (exit 1); exit 1; }; }
  1240 	pwd)`
  1241 # When building in place, set srcdir=.
  1242 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1243   srcdir=.
  1244 fi
  1245 # Remove unnecessary trailing slashes from srcdir.
  1246 # Double slashes in file names in object file debugging info
  1247 # mess up M-x gdb in Emacs.
  1248 case $srcdir in
  1249 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1250 esac
  1251 for ac_var in $ac_precious_vars; do
  1252   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1253   eval ac_env_${ac_var}_value=\$${ac_var}
  1254   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1255   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1256 done
  1259 # Report the --help message.
  1261 if test "$ac_init_help" = "long"; then
  1262   # Omit some internal or obsolete options to make the list less imposing.
  1263   # This message is too long to be a string in the A/UX 3.1 sh.
  1264   cat <<_ACEOF
  1265 \`configure' configures this package to adapt to many kinds of systems.
  1267 Usage: $0 [OPTION]... [VAR=VALUE]...
  1269 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1270 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1272 Defaults for the options are specified in brackets.
  1274 Configuration:
  1275   -h, --help              display this help and exit
  1276       --help=short        display options specific to this package
  1277       --help=recursive    display the short help of all the included packages
  1278   -V, --version           display version information and exit
  1279   -q, --quiet, --silent   do not print \`checking...' messages
  1280       --cache-file=FILE   cache test results in FILE [disabled]
  1281   -C, --config-cache      alias for \`--cache-file=config.cache'
  1282   -n, --no-create         do not create output files
  1283       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1285 Installation directories:
  1286   --prefix=PREFIX         install architecture-independent files in PREFIX
  1287 			  [$ac_default_prefix]
  1288   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1289 			  [PREFIX]
  1291 By default, \`make install' will install all the files in
  1292 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1293 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1294 for instance \`--prefix=\$HOME'.
  1296 For better control, use the options below.
  1298 Fine tuning of the installation directories:
  1299   --bindir=DIR           user executables [EPREFIX/bin]
  1300   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  1301   --libexecdir=DIR       program executables [EPREFIX/libexec]
  1302   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  1303   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  1304   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  1305   --libdir=DIR           object code libraries [EPREFIX/lib]
  1306   --includedir=DIR       C header files [PREFIX/include]
  1307   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1308   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  1309   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  1310   --infodir=DIR          info documentation [DATAROOTDIR/info]
  1311   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  1312   --mandir=DIR           man documentation [DATAROOTDIR/man]
  1313   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  1314   --htmldir=DIR          html documentation [DOCDIR]
  1315   --dvidir=DIR           dvi documentation [DOCDIR]
  1316   --pdfdir=DIR           pdf documentation [DOCDIR]
  1317   --psdir=DIR            ps documentation [DOCDIR]
  1318 _ACEOF
  1320   cat <<\_ACEOF
  1322 Program names:
  1323   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1324   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1325   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1327 System types:
  1328   --build=BUILD     configure for building on BUILD [guessed]
  1329   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1330 _ACEOF
  1331 fi
  1333 if test -n "$ac_init_help"; then
  1335   cat <<\_ACEOF
  1337 Optional Features:
  1338   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1339   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1340   --enable-maintainer-mode enable make rules and dependencies not useful
  1341                           (and sometimes confusing) to the casual installer
  1342   --disable-dependency-tracking Speeds up one-time builds
  1343   --enable-dependency-tracking  Do not reject slow dependency extractors
  1344   --enable-trace          Enable generation of IO traces (warning: hurts
  1345                           performance)
  1346   --enable-watch          Enable watchpoints in the debugger (warning: hurts
  1347                           performance)
  1349 Some influential environment variables:
  1350   CC          C compiler command
  1351   CFLAGS      C compiler flags
  1352   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1353               nonstandard directory <lib dir>
  1354   LIBS        libraries to pass to the linker, e.g. -l<library>
  1355   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1356               you have headers in a nonstandard directory <include dir>
  1357   CPP         C preprocessor
  1358   PKG_CONFIG  path to pkg-config utility
  1359   LIBPNG_CFLAGS
  1360               C compiler flags for LIBPNG, overriding pkg-config
  1361   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1362   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1363   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1364   ESOUND_CFLAGS
  1365               C compiler flags for ESOUND, overriding pkg-config
  1366   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1368 Use these variables to override the choices made by `configure' or to help
  1369 it to find libraries and programs with nonstandard names/locations.
  1371 _ACEOF
  1372 ac_status=$?
  1373 fi
  1375 if test "$ac_init_help" = "recursive"; then
  1376   # If there are subdirs, report their specific --help.
  1377   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1378     test -d "$ac_dir" || continue
  1379     ac_builddir=.
  1381 case "$ac_dir" in
  1382 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1383 *)
  1384   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1385   # A ".." for each directory in $ac_dir_suffix.
  1386   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1387   case $ac_top_builddir_sub in
  1388   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1389   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1390   esac ;;
  1391 esac
  1392 ac_abs_top_builddir=$ac_pwd
  1393 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1394 # for backward compatibility:
  1395 ac_top_builddir=$ac_top_build_prefix
  1397 case $srcdir in
  1398   .)  # We are building in place.
  1399     ac_srcdir=.
  1400     ac_top_srcdir=$ac_top_builddir_sub
  1401     ac_abs_top_srcdir=$ac_pwd ;;
  1402   [\\/]* | ?:[\\/]* )  # Absolute name.
  1403     ac_srcdir=$srcdir$ac_dir_suffix;
  1404     ac_top_srcdir=$srcdir
  1405     ac_abs_top_srcdir=$srcdir ;;
  1406   *) # Relative name.
  1407     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1408     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1409     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1410 esac
  1411 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1413     cd "$ac_dir" || { ac_status=$?; continue; }
  1414     # Check for guested configure.
  1415     if test -f "$ac_srcdir/configure.gnu"; then
  1416       echo &&
  1417       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1418     elif test -f "$ac_srcdir/configure"; then
  1419       echo &&
  1420       $SHELL "$ac_srcdir/configure" --help=recursive
  1421     else
  1422       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1423     fi || ac_status=$?
  1424     cd "$ac_pwd" || { ac_status=$?; break; }
  1425   done
  1426 fi
  1428 test -n "$ac_init_help" && exit $ac_status
  1429 if $ac_init_version; then
  1430   cat <<\_ACEOF
  1431 configure
  1432 generated by GNU Autoconf 2.61
  1434 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1435 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1436 This configure script is free software; the Free Software Foundation
  1437 gives unlimited permission to copy, distribute and modify it.
  1438 _ACEOF
  1439   exit
  1440 fi
  1441 cat >config.log <<_ACEOF
  1442 This file contains any messages produced by compilers while
  1443 running configure, to aid debugging if configure makes a mistake.
  1445 It was created by $as_me, which was
  1446 generated by GNU Autoconf 2.61.  Invocation command line was
  1448   $ $0 $@
  1450 _ACEOF
  1451 exec 5>>config.log
  1453 cat <<_ASUNAME
  1454 ## --------- ##
  1455 ## Platform. ##
  1456 ## --------- ##
  1458 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1459 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1460 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1461 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1462 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1464 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1465 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1467 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1468 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1469 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1470 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1471 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1472 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1473 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1475 _ASUNAME
  1477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1478 for as_dir in $PATH
  1479 do
  1480   IFS=$as_save_IFS
  1481   test -z "$as_dir" && as_dir=.
  1482   echo "PATH: $as_dir"
  1483 done
  1484 IFS=$as_save_IFS
  1486 } >&5
  1488 cat >&5 <<_ACEOF
  1491 ## ----------- ##
  1492 ## Core tests. ##
  1493 ## ----------- ##
  1495 _ACEOF
  1498 # Keep a trace of the command line.
  1499 # Strip out --no-create and --no-recursion so they do not pile up.
  1500 # Strip out --silent because we don't want to record it for future runs.
  1501 # Also quote any args containing shell meta-characters.
  1502 # Make two passes to allow for proper duplicate-argument suppression.
  1503 ac_configure_args=
  1504 ac_configure_args0=
  1505 ac_configure_args1=
  1506 ac_must_keep_next=false
  1507 for ac_pass in 1 2
  1508 do
  1509   for ac_arg
  1510   do
  1511     case $ac_arg in
  1512     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1513     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1514     | -silent | --silent | --silen | --sile | --sil)
  1515       continue ;;
  1516     *\'*)
  1517       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1518     esac
  1519     case $ac_pass in
  1520     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1521     2)
  1522       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1523       if test $ac_must_keep_next = true; then
  1524 	ac_must_keep_next=false # Got value, back to normal.
  1525       else
  1526 	case $ac_arg in
  1527 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1528 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1529 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1530 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1531 	    case "$ac_configure_args0 " in
  1532 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1533 	    esac
  1534 	    ;;
  1535 	  -* ) ac_must_keep_next=true ;;
  1536 	esac
  1537       fi
  1538       ac_configure_args="$ac_configure_args '$ac_arg'"
  1539       ;;
  1540     esac
  1541   done
  1542 done
  1543 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1544 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1546 # When interrupted or exit'd, cleanup temporary files, and complete
  1547 # config.log.  We remove comments because anyway the quotes in there
  1548 # would cause problems or look ugly.
  1549 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1550 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1551 trap 'exit_status=$?
  1552   # Save into config.log some information that might help in debugging.
  1554     echo
  1556     cat <<\_ASBOX
  1557 ## ---------------- ##
  1558 ## Cache variables. ##
  1559 ## ---------------- ##
  1560 _ASBOX
  1561     echo
  1562     # The following way of writing the cache mishandles newlines in values,
  1564   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1565     eval ac_val=\$$ac_var
  1566     case $ac_val in #(
  1567     *${as_nl}*)
  1568       case $ac_var in #(
  1569       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1570 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1571       esac
  1572       case $ac_var in #(
  1573       _ | IFS | as_nl) ;; #(
  1574       *) $as_unset $ac_var ;;
  1575       esac ;;
  1576     esac
  1577   done
  1578   (set) 2>&1 |
  1579     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1580     *${as_nl}ac_space=\ *)
  1581       sed -n \
  1582 	"s/'\''/'\''\\\\'\'''\''/g;
  1583 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1584       ;; #(
  1585     *)
  1586       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1587       ;;
  1588     esac |
  1589     sort
  1591     echo
  1593     cat <<\_ASBOX
  1594 ## ----------------- ##
  1595 ## Output variables. ##
  1596 ## ----------------- ##
  1597 _ASBOX
  1598     echo
  1599     for ac_var in $ac_subst_vars
  1600     do
  1601       eval ac_val=\$$ac_var
  1602       case $ac_val in
  1603       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1604       esac
  1605       echo "$ac_var='\''$ac_val'\''"
  1606     done | sort
  1607     echo
  1609     if test -n "$ac_subst_files"; then
  1610       cat <<\_ASBOX
  1611 ## ------------------- ##
  1612 ## File substitutions. ##
  1613 ## ------------------- ##
  1614 _ASBOX
  1615       echo
  1616       for ac_var in $ac_subst_files
  1617       do
  1618 	eval ac_val=\$$ac_var
  1619 	case $ac_val in
  1620 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1621 	esac
  1622 	echo "$ac_var='\''$ac_val'\''"
  1623       done | sort
  1624       echo
  1625     fi
  1627     if test -s confdefs.h; then
  1628       cat <<\_ASBOX
  1629 ## ----------- ##
  1630 ## confdefs.h. ##
  1631 ## ----------- ##
  1632 _ASBOX
  1633       echo
  1634       cat confdefs.h
  1635       echo
  1636     fi
  1637     test "$ac_signal" != 0 &&
  1638       echo "$as_me: caught signal $ac_signal"
  1639     echo "$as_me: exit $exit_status"
  1640   } >&5
  1641   rm -f core *.core core.conftest.* &&
  1642     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1643     exit $exit_status
  1644 ' 0
  1645 for ac_signal in 1 2 13 15; do
  1646   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1647 done
  1648 ac_signal=0
  1650 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1651 rm -f -r conftest* confdefs.h
  1653 # Predefined preprocessor variables.
  1655 cat >>confdefs.h <<_ACEOF
  1656 #define PACKAGE_NAME "$PACKAGE_NAME"
  1657 _ACEOF
  1660 cat >>confdefs.h <<_ACEOF
  1661 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1662 _ACEOF
  1665 cat >>confdefs.h <<_ACEOF
  1666 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1667 _ACEOF
  1670 cat >>confdefs.h <<_ACEOF
  1671 #define PACKAGE_STRING "$PACKAGE_STRING"
  1672 _ACEOF
  1675 cat >>confdefs.h <<_ACEOF
  1676 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1677 _ACEOF
  1680 # Let the site file select an alternate cache file if it wants to.
  1681 # Prefer explicitly selected file to automatically selected ones.
  1682 if test -n "$CONFIG_SITE"; then
  1683   set x "$CONFIG_SITE"
  1684 elif test "x$prefix" != xNONE; then
  1685   set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1686 else
  1687   set x "$ac_default_prefix/share/config.site" \
  1688 	"$ac_default_prefix/etc/config.site"
  1689 fi
  1690 shift
  1691 for ac_site_file
  1692 do
  1693   if test -r "$ac_site_file"; then
  1694     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1695 echo "$as_me: loading site script $ac_site_file" >&6;}
  1696     sed 's/^/| /' "$ac_site_file" >&5
  1697     . "$ac_site_file"
  1698   fi
  1699 done
  1701 if test -r "$cache_file"; then
  1702   # Some versions of bash will fail to source /dev/null (special
  1703   # files actually), so we avoid doing that.
  1704   if test -f "$cache_file"; then
  1705     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1706 echo "$as_me: loading cache $cache_file" >&6;}
  1707     case $cache_file in
  1708       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1709       *)                      . "./$cache_file";;
  1710     esac
  1711   fi
  1712 else
  1713   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1714 echo "$as_me: creating cache $cache_file" >&6;}
  1715   >$cache_file
  1716 fi
  1718 # Check that the precious variables saved in the cache have kept the same
  1719 # value.
  1720 ac_cache_corrupted=false
  1721 for ac_var in $ac_precious_vars; do
  1722   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1723   eval ac_new_set=\$ac_env_${ac_var}_set
  1724   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1725   eval ac_new_val=\$ac_env_${ac_var}_value
  1726   case $ac_old_set,$ac_new_set in
  1727     set,)
  1728       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1729 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1730       ac_cache_corrupted=: ;;
  1731     ,set)
  1732       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1733 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1734       ac_cache_corrupted=: ;;
  1735     ,);;
  1736     *)
  1737       if test "x$ac_old_val" != "x$ac_new_val"; then
  1738 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1739 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1740 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1741 echo "$as_me:   former value:  $ac_old_val" >&2;}
  1742 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1743 echo "$as_me:   current value: $ac_new_val" >&2;}
  1744 	ac_cache_corrupted=:
  1745       fi;;
  1746   esac
  1747   # Pass precious variables to config.status.
  1748   if test "$ac_new_set" = set; then
  1749     case $ac_new_val in
  1750     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1751     *) ac_arg=$ac_var=$ac_new_val ;;
  1752     esac
  1753     case " $ac_configure_args " in
  1754       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1755       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1756     esac
  1757   fi
  1758 done
  1759 if $ac_cache_corrupted; then
  1760   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1761 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1762   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1763 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1764    { (exit 1); exit 1; }; }
  1765 fi
  1783 ac_ext=c
  1784 ac_cpp='$CPP $CPPFLAGS'
  1785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1790 am__api_version="1.7"
  1791 ac_aux_dir=
  1792 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1793   if test -f "$ac_dir/install-sh"; then
  1794     ac_aux_dir=$ac_dir
  1795     ac_install_sh="$ac_aux_dir/install-sh -c"
  1796     break
  1797   elif test -f "$ac_dir/install.sh"; then
  1798     ac_aux_dir=$ac_dir
  1799     ac_install_sh="$ac_aux_dir/install.sh -c"
  1800     break
  1801   elif test -f "$ac_dir/shtool"; then
  1802     ac_aux_dir=$ac_dir
  1803     ac_install_sh="$ac_aux_dir/shtool install -c"
  1804     break
  1805   fi
  1806 done
  1807 if test -z "$ac_aux_dir"; then
  1808   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1809 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1810    { (exit 1); exit 1; }; }
  1811 fi
  1813 # These three variables are undocumented and unsupported,
  1814 # and are intended to be withdrawn in a future Autoconf release.
  1815 # They can cause serious problems if a builder's source tree is in a directory
  1816 # whose full name contains unusual characters.
  1817 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1818 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1819 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1822 # Find a good install program.  We prefer a C program (faster),
  1823 # so one script is as good as another.  But avoid the broken or
  1824 # incompatible versions:
  1825 # SysV /etc/install, /usr/sbin/install
  1826 # SunOS /usr/etc/install
  1827 # IRIX /sbin/install
  1828 # AIX /bin/install
  1829 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1830 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1831 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1832 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1833 # OS/2's system install, which has a completely different semantic
  1834 # ./install, which can be erroneously created by make from ./install.sh.
  1835 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1836 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  1837 if test -z "$INSTALL"; then
  1838 if test "${ac_cv_path_install+set}" = set; then
  1839   echo $ECHO_N "(cached) $ECHO_C" >&6
  1840 else
  1841   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1842 for as_dir in $PATH
  1843 do
  1844   IFS=$as_save_IFS
  1845   test -z "$as_dir" && as_dir=.
  1846   # Account for people who put trailing slashes in PATH elements.
  1847 case $as_dir/ in
  1848   ./ | .// | /cC/* | \
  1849   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1850   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  1851   /usr/ucb/* ) ;;
  1852   *)
  1853     # OSF1 and SCO ODT 3.0 have their own names for install.
  1854     # Don't use installbsd from OSF since it installs stuff as root
  1855     # by default.
  1856     for ac_prog in ginstall scoinst install; do
  1857       for ac_exec_ext in '' $ac_executable_extensions; do
  1858 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1859 	  if test $ac_prog = install &&
  1860 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1861 	    # AIX install.  It has an incompatible calling convention.
  1863 	  elif test $ac_prog = install &&
  1864 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1865 	    # program-specific install script used by HP pwplus--don't use.
  1867 	  else
  1868 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1869 	    break 3
  1870 	  fi
  1871 	fi
  1872       done
  1873     done
  1874     ;;
  1875 esac
  1876 done
  1877 IFS=$as_save_IFS
  1880 fi
  1881   if test "${ac_cv_path_install+set}" = set; then
  1882     INSTALL=$ac_cv_path_install
  1883   else
  1884     # As a last resort, use the slow shell script.  Don't cache a
  1885     # value for INSTALL within a source directory, because that will
  1886     # break other packages using the cache if that directory is
  1887     # removed, or if the value is a relative name.
  1888     INSTALL=$ac_install_sh
  1889   fi
  1890 fi
  1891 { echo "$as_me:$LINENO: result: $INSTALL" >&5
  1892 echo "${ECHO_T}$INSTALL" >&6; }
  1894 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1895 # It thinks the first close brace ends the variable substitution.
  1896 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1898 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1900 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1902 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1903 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  1904 # Just in case
  1905 sleep 1
  1906 echo timestamp > conftest.file
  1907 # Do `set' in a subshell so we don't clobber the current shell's
  1908 # arguments.  Must try -L first in case configure is actually a
  1909 # symlink; some systems play weird games with the mod time of symlinks
  1910 # (eg FreeBSD returns the mod time of the symlink's containing
  1911 # directory).
  1912 if (
  1913    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1914    if test "$*" = "X"; then
  1915       # -L didn't work.
  1916       set X `ls -t $srcdir/configure conftest.file`
  1917    fi
  1918    rm -f conftest.file
  1919    if test "$*" != "X $srcdir/configure conftest.file" \
  1920       && test "$*" != "X conftest.file $srcdir/configure"; then
  1922       # If neither matched, then we have a broken ls.  This can happen
  1923       # if, for instance, CONFIG_SHELL is bash and it inherits a
  1924       # broken ls alias from the environment.  This has actually
  1925       # happened.  Such a system could not be considered "sane".
  1926       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  1927 alias in your environment" >&5
  1928 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  1929 alias in your environment" >&2;}
  1930    { (exit 1); exit 1; }; }
  1931    fi
  1933    test "$2" = conftest.file
  1935 then
  1936    # Ok.
  1938 else
  1939    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1940 Check your system clock" >&5
  1941 echo "$as_me: error: newly created file is older than distributed files!
  1942 Check your system clock" >&2;}
  1943    { (exit 1); exit 1; }; }
  1944 fi
  1945 { echo "$as_me:$LINENO: result: yes" >&5
  1946 echo "${ECHO_T}yes" >&6; }
  1947 test "$program_prefix" != NONE &&
  1948   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1949 # Use a double $ so make ignores it.
  1950 test "$program_suffix" != NONE &&
  1951   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1952 # Double any \ or $.  echo might interpret backslashes.
  1953 # By default was `s,x,x', remove it if useless.
  1954 cat <<\_ACEOF >conftest.sed
  1955 s/[\\$]/&&/g;s/;s,x,x,$//
  1956 _ACEOF
  1957 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1958 rm -f conftest.sed
  1961 # expand $ac_aux_dir to an absolute path
  1962 am_aux_dir=`cd $ac_aux_dir && pwd`
  1964 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  1965 # Use eval to expand $SHELL
  1966 if eval "$MISSING --run true"; then
  1967   am_missing_run="$MISSING --run "
  1968 else
  1969   am_missing_run=
  1970   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  1971 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1972 fi
  1974 for ac_prog in gawk mawk nawk awk
  1975 do
  1976   # Extract the first word of "$ac_prog", so it can be a program name with args.
  1977 set dummy $ac_prog; ac_word=$2
  1978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1980 if test "${ac_cv_prog_AWK+set}" = set; then
  1981   echo $ECHO_N "(cached) $ECHO_C" >&6
  1982 else
  1983   if test -n "$AWK"; then
  1984   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1985 else
  1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1987 for as_dir in $PATH
  1988 do
  1989   IFS=$as_save_IFS
  1990   test -z "$as_dir" && as_dir=.
  1991   for ac_exec_ext in '' $ac_executable_extensions; do
  1992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1993     ac_cv_prog_AWK="$ac_prog"
  1994     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1995     break 2
  1996   fi
  1997 done
  1998 done
  1999 IFS=$as_save_IFS
  2001 fi
  2002 fi
  2003 AWK=$ac_cv_prog_AWK
  2004 if test -n "$AWK"; then
  2005   { echo "$as_me:$LINENO: result: $AWK" >&5
  2006 echo "${ECHO_T}$AWK" >&6; }
  2007 else
  2008   { echo "$as_me:$LINENO: result: no" >&5
  2009 echo "${ECHO_T}no" >&6; }
  2010 fi
  2013   test -n "$AWK" && break
  2014 done
  2016 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2017 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  2018 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2019 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2020   echo $ECHO_N "(cached) $ECHO_C" >&6
  2021 else
  2022   cat >conftest.make <<\_ACEOF
  2023 SHELL = /bin/sh
  2024 all:
  2025 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2026 _ACEOF
  2027 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2028 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2029   *@@@%%%=?*=@@@%%%*)
  2030     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2031   *)
  2032     eval ac_cv_prog_make_${ac_make}_set=no;;
  2033 esac
  2034 rm -f conftest.make
  2035 fi
  2036 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2037   { echo "$as_me:$LINENO: result: yes" >&5
  2038 echo "${ECHO_T}yes" >&6; }
  2039   SET_MAKE=
  2040 else
  2041   { echo "$as_me:$LINENO: result: no" >&5
  2042 echo "${ECHO_T}no" >&6; }
  2043   SET_MAKE="MAKE=${MAKE-make}"
  2044 fi
  2046 rm -rf .tst 2>/dev/null
  2047 mkdir .tst 2>/dev/null
  2048 if test -d .tst; then
  2049   am__leading_dot=.
  2050 else
  2051   am__leading_dot=_
  2052 fi
  2053 rmdir .tst 2>/dev/null
  2055  # test to see if srcdir already configured
  2056 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2057    test -f $srcdir/config.status; then
  2058   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2059 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2060    { (exit 1); exit 1; }; }
  2061 fi
  2063 # test whether we have cygpath
  2064 if test -z "$CYGPATH_W"; then
  2065   if (cygpath --version) >/dev/null 2>/dev/null; then
  2066     CYGPATH_W='cygpath -w'
  2067   else
  2068     CYGPATH_W=echo
  2069   fi
  2070 fi
  2073 # Define the identity of the package.
  2074  PACKAGE=lxdream
  2075  VERSION=0.8.1
  2078 cat >>confdefs.h <<_ACEOF
  2079 #define PACKAGE "$PACKAGE"
  2080 _ACEOF
  2083 cat >>confdefs.h <<_ACEOF
  2084 #define VERSION "$VERSION"
  2085 _ACEOF
  2087 # Some tools Automake needs.
  2089 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2092 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2095 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2098 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2101 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2104 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2106 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2108 # Installed binaries are usually stripped using `strip' when the user
  2109 # run `make install-strip'.  However `strip' might not be the right
  2110 # tool to use in cross-compilation environments, therefore Automake
  2111 # will honor the `STRIP' environment variable to overrule this program.
  2112 if test "$cross_compiling" != no; then
  2113   if test -n "$ac_tool_prefix"; then
  2114   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2115 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2118 if test "${ac_cv_prog_STRIP+set}" = set; then
  2119   echo $ECHO_N "(cached) $ECHO_C" >&6
  2120 else
  2121   if test -n "$STRIP"; then
  2122   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2123 else
  2124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2125 for as_dir in $PATH
  2126 do
  2127   IFS=$as_save_IFS
  2128   test -z "$as_dir" && as_dir=.
  2129   for ac_exec_ext in '' $ac_executable_extensions; do
  2130   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2131     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2132     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2133     break 2
  2134   fi
  2135 done
  2136 done
  2137 IFS=$as_save_IFS
  2139 fi
  2140 fi
  2141 STRIP=$ac_cv_prog_STRIP
  2142 if test -n "$STRIP"; then
  2143   { echo "$as_me:$LINENO: result: $STRIP" >&5
  2144 echo "${ECHO_T}$STRIP" >&6; }
  2145 else
  2146   { echo "$as_me:$LINENO: result: no" >&5
  2147 echo "${ECHO_T}no" >&6; }
  2148 fi
  2151 fi
  2152 if test -z "$ac_cv_prog_STRIP"; then
  2153   ac_ct_STRIP=$STRIP
  2154   # Extract the first word of "strip", so it can be a program name with args.
  2155 set dummy strip; ac_word=$2
  2156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2158 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2159   echo $ECHO_N "(cached) $ECHO_C" >&6
  2160 else
  2161   if test -n "$ac_ct_STRIP"; then
  2162   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2163 else
  2164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2165 for as_dir in $PATH
  2166 do
  2167   IFS=$as_save_IFS
  2168   test -z "$as_dir" && as_dir=.
  2169   for ac_exec_ext in '' $ac_executable_extensions; do
  2170   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2171     ac_cv_prog_ac_ct_STRIP="strip"
  2172     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2173     break 2
  2174   fi
  2175 done
  2176 done
  2177 IFS=$as_save_IFS
  2179 fi
  2180 fi
  2181 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2182 if test -n "$ac_ct_STRIP"; then
  2183   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2184 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  2185 else
  2186   { echo "$as_me:$LINENO: result: no" >&5
  2187 echo "${ECHO_T}no" >&6; }
  2188 fi
  2190   if test "x$ac_ct_STRIP" = x; then
  2191     STRIP=":"
  2192   else
  2193     case $cross_compiling:$ac_tool_warned in
  2194 yes:)
  2195 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2196 whose name does not start with the host triplet.  If you think this
  2197 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2198 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2199 whose name does not start with the host triplet.  If you think this
  2200 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2201 ac_tool_warned=yes ;;
  2202 esac
  2203     STRIP=$ac_ct_STRIP
  2204   fi
  2205 else
  2206   STRIP="$ac_cv_prog_STRIP"
  2207 fi
  2209 fi
  2210 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2212 # We need awk for the "check" target.  The system "awk" is bad on
  2213 # some platforms.
  2217 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2218 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
  2219     # Check whether --enable-maintainer-mode was given.
  2220 if test "${enable_maintainer_mode+set}" = set; then
  2221   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2222 else
  2223   USE_MAINTAINER_MODE=no
  2224 fi
  2226   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2227 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
  2230 if test $USE_MAINTAINER_MODE = yes; then
  2231   MAINTAINER_MODE_TRUE=
  2232   MAINTAINER_MODE_FALSE='#'
  2233 else
  2234   MAINTAINER_MODE_TRUE='#'
  2235   MAINTAINER_MODE_FALSE=
  2236 fi
  2238   MAINT=$MAINTAINER_MODE_TRUE
  2241 ac_config_headers="$ac_config_headers config.h"
  2244 DEPDIR="${am__leading_dot}deps"
  2246 ac_config_commands="$ac_config_commands depfiles"
  2249 am_make=${MAKE-make}
  2250 cat > confinc << 'END'
  2251 am__doit:
  2252 	@echo done
  2253 .PHONY: am__doit
  2254 END
  2255 # If we don't find an include directive, just comment out the code.
  2256 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2257 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  2258 am__include="#"
  2259 am__quote=
  2260 _am_result=none
  2261 # First try GNU make style include.
  2262 echo "include confinc" > confmf
  2263 # We grep out `Entering directory' and `Leaving directory'
  2264 # messages which can occur if `w' ends up in MAKEFLAGS.
  2265 # In particular we don't look at `^make:' because GNU make might
  2266 # be invoked under some other name (usually "gmake"), in which
  2267 # case it prints its new name instead of `make'.
  2268 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2269    am__include=include
  2270    am__quote=
  2271    _am_result=GNU
  2272 fi
  2273 # Now try BSD make style include.
  2274 if test "$am__include" = "#"; then
  2275    echo '.include "confinc"' > confmf
  2276    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2277       am__include=.include
  2278       am__quote="\""
  2279       _am_result=BSD
  2280    fi
  2281 fi
  2284 { echo "$as_me:$LINENO: result: $_am_result" >&5
  2285 echo "${ECHO_T}$_am_result" >&6; }
  2286 rm -f confinc confmf
  2288 # Check whether --enable-dependency-tracking was given.
  2289 if test "${enable_dependency_tracking+set}" = set; then
  2290   enableval=$enable_dependency_tracking;
  2291 fi
  2293 if test "x$enable_dependency_tracking" != xno; then
  2294   am_depcomp="$ac_aux_dir/depcomp"
  2295   AMDEPBACKSLASH='\'
  2296 fi
  2299 if test "x$enable_dependency_tracking" != xno; then
  2300   AMDEP_TRUE=
  2301   AMDEP_FALSE='#'
  2302 else
  2303   AMDEP_TRUE='#'
  2304   AMDEP_FALSE=
  2305 fi
  2309 ac_ext=c
  2310 ac_cpp='$CPP $CPPFLAGS'
  2311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2314 if test -n "$ac_tool_prefix"; then
  2315   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2316 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2319 if test "${ac_cv_prog_CC+set}" = set; then
  2320   echo $ECHO_N "(cached) $ECHO_C" >&6
  2321 else
  2322   if test -n "$CC"; then
  2323   ac_cv_prog_CC="$CC" # Let the user override the test.
  2324 else
  2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2326 for as_dir in $PATH
  2327 do
  2328   IFS=$as_save_IFS
  2329   test -z "$as_dir" && as_dir=.
  2330   for ac_exec_ext in '' $ac_executable_extensions; do
  2331   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2332     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2333     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2334     break 2
  2335   fi
  2336 done
  2337 done
  2338 IFS=$as_save_IFS
  2340 fi
  2341 fi
  2342 CC=$ac_cv_prog_CC
  2343 if test -n "$CC"; then
  2344   { echo "$as_me:$LINENO: result: $CC" >&5
  2345 echo "${ECHO_T}$CC" >&6; }
  2346 else
  2347   { echo "$as_me:$LINENO: result: no" >&5
  2348 echo "${ECHO_T}no" >&6; }
  2349 fi
  2352 fi
  2353 if test -z "$ac_cv_prog_CC"; then
  2354   ac_ct_CC=$CC
  2355   # Extract the first word of "gcc", so it can be a program name with args.
  2356 set dummy gcc; ac_word=$2
  2357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2359 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2360   echo $ECHO_N "(cached) $ECHO_C" >&6
  2361 else
  2362   if test -n "$ac_ct_CC"; then
  2363   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2364 else
  2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2366 for as_dir in $PATH
  2367 do
  2368   IFS=$as_save_IFS
  2369   test -z "$as_dir" && as_dir=.
  2370   for ac_exec_ext in '' $ac_executable_extensions; do
  2371   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2372     ac_cv_prog_ac_ct_CC="gcc"
  2373     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2374     break 2
  2375   fi
  2376 done
  2377 done
  2378 IFS=$as_save_IFS
  2380 fi
  2381 fi
  2382 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2383 if test -n "$ac_ct_CC"; then
  2384   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2385 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2386 else
  2387   { echo "$as_me:$LINENO: result: no" >&5
  2388 echo "${ECHO_T}no" >&6; }
  2389 fi
  2391   if test "x$ac_ct_CC" = x; then
  2392     CC=""
  2393   else
  2394     case $cross_compiling:$ac_tool_warned in
  2395 yes:)
  2396 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2397 whose name does not start with the host triplet.  If you think this
  2398 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2399 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2400 whose name does not start with the host triplet.  If you think this
  2401 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2402 ac_tool_warned=yes ;;
  2403 esac
  2404     CC=$ac_ct_CC
  2405   fi
  2406 else
  2407   CC="$ac_cv_prog_CC"
  2408 fi
  2410 if test -z "$CC"; then
  2411           if test -n "$ac_tool_prefix"; then
  2412     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2413 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2416 if test "${ac_cv_prog_CC+set}" = set; then
  2417   echo $ECHO_N "(cached) $ECHO_C" >&6
  2418 else
  2419   if test -n "$CC"; then
  2420   ac_cv_prog_CC="$CC" # Let the user override the test.
  2421 else
  2422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2423 for as_dir in $PATH
  2424 do
  2425   IFS=$as_save_IFS
  2426   test -z "$as_dir" && as_dir=.
  2427   for ac_exec_ext in '' $ac_executable_extensions; do
  2428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2429     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2430     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2431     break 2
  2432   fi
  2433 done
  2434 done
  2435 IFS=$as_save_IFS
  2437 fi
  2438 fi
  2439 CC=$ac_cv_prog_CC
  2440 if test -n "$CC"; then
  2441   { echo "$as_me:$LINENO: result: $CC" >&5
  2442 echo "${ECHO_T}$CC" >&6; }
  2443 else
  2444   { echo "$as_me:$LINENO: result: no" >&5
  2445 echo "${ECHO_T}no" >&6; }
  2446 fi
  2449   fi
  2450 fi
  2451 if test -z "$CC"; then
  2452   # Extract the first word of "cc", so it can be a program name with args.
  2453 set dummy cc; ac_word=$2
  2454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2456 if test "${ac_cv_prog_CC+set}" = set; then
  2457   echo $ECHO_N "(cached) $ECHO_C" >&6
  2458 else
  2459   if test -n "$CC"; then
  2460   ac_cv_prog_CC="$CC" # Let the user override the test.
  2461 else
  2462   ac_prog_rejected=no
  2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2464 for as_dir in $PATH
  2465 do
  2466   IFS=$as_save_IFS
  2467   test -z "$as_dir" && as_dir=.
  2468   for ac_exec_ext in '' $ac_executable_extensions; do
  2469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2470     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2471        ac_prog_rejected=yes
  2472        continue
  2473      fi
  2474     ac_cv_prog_CC="cc"
  2475     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2476     break 2
  2477   fi
  2478 done
  2479 done
  2480 IFS=$as_save_IFS
  2482 if test $ac_prog_rejected = yes; then
  2483   # We found a bogon in the path, so make sure we never use it.
  2484   set dummy $ac_cv_prog_CC
  2485   shift
  2486   if test $# != 0; then
  2487     # We chose a different compiler from the bogus one.
  2488     # However, it has the same basename, so the bogon will be chosen
  2489     # first if we set CC to just the basename; use the full file name.
  2490     shift
  2491     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2492   fi
  2493 fi
  2494 fi
  2495 fi
  2496 CC=$ac_cv_prog_CC
  2497 if test -n "$CC"; then
  2498   { echo "$as_me:$LINENO: result: $CC" >&5
  2499 echo "${ECHO_T}$CC" >&6; }
  2500 else
  2501   { echo "$as_me:$LINENO: result: no" >&5
  2502 echo "${ECHO_T}no" >&6; }
  2503 fi
  2506 fi
  2507 if test -z "$CC"; then
  2508   if test -n "$ac_tool_prefix"; then
  2509   for ac_prog in cl.exe
  2510   do
  2511     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2512 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2515 if test "${ac_cv_prog_CC+set}" = set; then
  2516   echo $ECHO_N "(cached) $ECHO_C" >&6
  2517 else
  2518   if test -n "$CC"; then
  2519   ac_cv_prog_CC="$CC" # Let the user override the test.
  2520 else
  2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2522 for as_dir in $PATH
  2523 do
  2524   IFS=$as_save_IFS
  2525   test -z "$as_dir" && as_dir=.
  2526   for ac_exec_ext in '' $ac_executable_extensions; do
  2527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2528     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2529     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2530     break 2
  2531   fi
  2532 done
  2533 done
  2534 IFS=$as_save_IFS
  2536 fi
  2537 fi
  2538 CC=$ac_cv_prog_CC
  2539 if test -n "$CC"; then
  2540   { echo "$as_me:$LINENO: result: $CC" >&5
  2541 echo "${ECHO_T}$CC" >&6; }
  2542 else
  2543   { echo "$as_me:$LINENO: result: no" >&5
  2544 echo "${ECHO_T}no" >&6; }
  2545 fi
  2548     test -n "$CC" && break
  2549   done
  2550 fi
  2551 if test -z "$CC"; then
  2552   ac_ct_CC=$CC
  2553   for ac_prog in cl.exe
  2554 do
  2555   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2556 set dummy $ac_prog; ac_word=$2
  2557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2559 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2560   echo $ECHO_N "(cached) $ECHO_C" >&6
  2561 else
  2562   if test -n "$ac_ct_CC"; then
  2563   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2564 else
  2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2566 for as_dir in $PATH
  2567 do
  2568   IFS=$as_save_IFS
  2569   test -z "$as_dir" && as_dir=.
  2570   for ac_exec_ext in '' $ac_executable_extensions; do
  2571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2572     ac_cv_prog_ac_ct_CC="$ac_prog"
  2573     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2574     break 2
  2575   fi
  2576 done
  2577 done
  2578 IFS=$as_save_IFS
  2580 fi
  2581 fi
  2582 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2583 if test -n "$ac_ct_CC"; then
  2584   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2585 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2586 else
  2587   { echo "$as_me:$LINENO: result: no" >&5
  2588 echo "${ECHO_T}no" >&6; }
  2589 fi
  2592   test -n "$ac_ct_CC" && break
  2593 done
  2595   if test "x$ac_ct_CC" = x; then
  2596     CC=""
  2597   else
  2598     case $cross_compiling:$ac_tool_warned in
  2599 yes:)
  2600 { 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 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 fi
  2612 fi
  2615 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2616 See \`config.log' for more details." >&5
  2617 echo "$as_me: error: no acceptable C compiler found in \$PATH
  2618 See \`config.log' for more details." >&2;}
  2619    { (exit 1); exit 1; }; }
  2621 # Provide some information about the compiler.
  2622 echo "$as_me:$LINENO: checking for C compiler version" >&5
  2623 ac_compiler=`set X $ac_compile; echo $2`
  2624 { (ac_try="$ac_compiler --version >&5"
  2625 case "(($ac_try" in
  2626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2627   *) ac_try_echo=$ac_try;;
  2628 esac
  2629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2630   (eval "$ac_compiler --version >&5") 2>&5
  2631   ac_status=$?
  2632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2633   (exit $ac_status); }
  2634 { (ac_try="$ac_compiler -v >&5"
  2635 case "(($ac_try" in
  2636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2637   *) ac_try_echo=$ac_try;;
  2638 esac
  2639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2640   (eval "$ac_compiler -v >&5") 2>&5
  2641   ac_status=$?
  2642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2643   (exit $ac_status); }
  2644 { (ac_try="$ac_compiler -V >&5"
  2645 case "(($ac_try" in
  2646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2647   *) ac_try_echo=$ac_try;;
  2648 esac
  2649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2650   (eval "$ac_compiler -V >&5") 2>&5
  2651   ac_status=$?
  2652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2653   (exit $ac_status); }
  2655 cat >conftest.$ac_ext <<_ACEOF
  2656 /* confdefs.h.  */
  2657 _ACEOF
  2658 cat confdefs.h >>conftest.$ac_ext
  2659 cat >>conftest.$ac_ext <<_ACEOF
  2660 /* end confdefs.h.  */
  2662 int
  2663 main ()
  2667   return 0;
  2669 _ACEOF
  2670 ac_clean_files_save=$ac_clean_files
  2671 ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2672 # Try to create an executable without -o first, disregard a.out.
  2673 # It will help us diagnose broken compilers, and finding out an intuition
  2674 # of exeext.
  2675 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2676 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2677 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2679 # List of possible output files, starting from the most likely.
  2680 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2681 # only as a last resort.  b.out is created by i960 compilers.
  2682 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2684 # The IRIX 6 linker writes into existing files which may not be
  2685 # executable, retaining their permissions.  Remove them first so a
  2686 # subsequent execution test works.
  2687 ac_rmfiles=
  2688 for ac_file in $ac_files
  2689 do
  2690   case $ac_file in
  2691     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2692     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2693   esac
  2694 done
  2695 rm -f $ac_rmfiles
  2697 if { (ac_try="$ac_link_default"
  2698 case "(($ac_try" in
  2699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2700   *) ac_try_echo=$ac_try;;
  2701 esac
  2702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2703   (eval "$ac_link_default") 2>&5
  2704   ac_status=$?
  2705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2706   (exit $ac_status); }; then
  2707   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2708 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2709 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2710 # so that the user can short-circuit this test for compilers unknown to
  2711 # Autoconf.
  2712 for ac_file in $ac_files ''
  2713 do
  2714   test -f "$ac_file" || continue
  2715   case $ac_file in
  2716     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2717 	;;
  2718     [ab].out )
  2719 	# We found the default executable, but exeext='' is most
  2720 	# certainly right.
  2721 	break;;
  2722     *.* )
  2723         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2724 	then :; else
  2725 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2726 	fi
  2727 	# We set ac_cv_exeext here because the later test for it is not
  2728 	# safe: cross compilers may not add the suffix if given an `-o'
  2729 	# argument, so we may need to know it at that point already.
  2730 	# Even if this section looks crufty: it has the advantage of
  2731 	# actually working.
  2732 	break;;
  2733     * )
  2734 	break;;
  2735   esac
  2736 done
  2737 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2739 else
  2740   ac_file=''
  2741 fi
  2743 { echo "$as_me:$LINENO: result: $ac_file" >&5
  2744 echo "${ECHO_T}$ac_file" >&6; }
  2745 if test -z "$ac_file"; then
  2746   echo "$as_me: failed program was:" >&5
  2747 sed 's/^/| /' conftest.$ac_ext >&5
  2749 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2750 See \`config.log' for more details." >&5
  2751 echo "$as_me: error: C compiler cannot create executables
  2752 See \`config.log' for more details." >&2;}
  2753    { (exit 77); exit 77; }; }
  2754 fi
  2756 ac_exeext=$ac_cv_exeext
  2758 # Check that the compiler produces executables we can run.  If not, either
  2759 # the compiler is broken, or we cross compile.
  2760 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2761 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  2762 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2763 # If not cross compiling, check that we can run a simple program.
  2764 if test "$cross_compiling" != yes; then
  2765   if { ac_try='./$ac_file'
  2766   { (case "(($ac_try" in
  2767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2768   *) ac_try_echo=$ac_try;;
  2769 esac
  2770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2771   (eval "$ac_try") 2>&5
  2772   ac_status=$?
  2773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2774   (exit $ac_status); }; }; then
  2775     cross_compiling=no
  2776   else
  2777     if test "$cross_compiling" = maybe; then
  2778 	cross_compiling=yes
  2779     else
  2780 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2781 If you meant to cross compile, use \`--host'.
  2782 See \`config.log' for more details." >&5
  2783 echo "$as_me: error: cannot run C compiled programs.
  2784 If you meant to cross compile, use \`--host'.
  2785 See \`config.log' for more details." >&2;}
  2786    { (exit 1); exit 1; }; }
  2787     fi
  2788   fi
  2789 fi
  2790 { echo "$as_me:$LINENO: result: yes" >&5
  2791 echo "${ECHO_T}yes" >&6; }
  2793 rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2794 ac_clean_files=$ac_clean_files_save
  2795 # Check that the compiler produces executables we can run.  If not, either
  2796 # the compiler is broken, or we cross compile.
  2797 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2798 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  2799 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2800 echo "${ECHO_T}$cross_compiling" >&6; }
  2802 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2803 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  2804 if { (ac_try="$ac_link"
  2805 case "(($ac_try" in
  2806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2807   *) ac_try_echo=$ac_try;;
  2808 esac
  2809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2810   (eval "$ac_link") 2>&5
  2811   ac_status=$?
  2812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2813   (exit $ac_status); }; then
  2814   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2815 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2816 # work properly (i.e., refer to `conftest.exe'), while it won't with
  2817 # `rm'.
  2818 for ac_file in conftest.exe conftest conftest.*; do
  2819   test -f "$ac_file" || continue
  2820   case $ac_file in
  2821     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2822     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2823 	  break;;
  2824     * ) break;;
  2825   esac
  2826 done
  2827 else
  2828   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2829 See \`config.log' for more details." >&5
  2830 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2831 See \`config.log' for more details." >&2;}
  2832    { (exit 1); exit 1; }; }
  2833 fi
  2835 rm -f conftest$ac_cv_exeext
  2836 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2837 echo "${ECHO_T}$ac_cv_exeext" >&6; }
  2839 rm -f conftest.$ac_ext
  2840 EXEEXT=$ac_cv_exeext
  2841 ac_exeext=$EXEEXT
  2842 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2843 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  2844 if test "${ac_cv_objext+set}" = set; then
  2845   echo $ECHO_N "(cached) $ECHO_C" >&6
  2846 else
  2847   cat >conftest.$ac_ext <<_ACEOF
  2848 /* confdefs.h.  */
  2849 _ACEOF
  2850 cat confdefs.h >>conftest.$ac_ext
  2851 cat >>conftest.$ac_ext <<_ACEOF
  2852 /* end confdefs.h.  */
  2854 int
  2855 main ()
  2859   return 0;
  2861 _ACEOF
  2862 rm -f conftest.o conftest.obj
  2863 if { (ac_try="$ac_compile"
  2864 case "(($ac_try" in
  2865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2866   *) ac_try_echo=$ac_try;;
  2867 esac
  2868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2869   (eval "$ac_compile") 2>&5
  2870   ac_status=$?
  2871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2872   (exit $ac_status); }; then
  2873   for ac_file in conftest.o conftest.obj conftest.*; do
  2874   test -f "$ac_file" || continue;
  2875   case $ac_file in
  2876     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  2877     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2878        break;;
  2879   esac
  2880 done
  2881 else
  2882   echo "$as_me: failed program was:" >&5
  2883 sed 's/^/| /' conftest.$ac_ext >&5
  2885 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2886 See \`config.log' for more details." >&5
  2887 echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2888 See \`config.log' for more details." >&2;}
  2889    { (exit 1); exit 1; }; }
  2890 fi
  2892 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2893 fi
  2894 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2895 echo "${ECHO_T}$ac_cv_objext" >&6; }
  2896 OBJEXT=$ac_cv_objext
  2897 ac_objext=$OBJEXT
  2898 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2899 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  2900 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2901   echo $ECHO_N "(cached) $ECHO_C" >&6
  2902 else
  2903   cat >conftest.$ac_ext <<_ACEOF
  2904 /* confdefs.h.  */
  2905 _ACEOF
  2906 cat confdefs.h >>conftest.$ac_ext
  2907 cat >>conftest.$ac_ext <<_ACEOF
  2908 /* end confdefs.h.  */
  2910 int
  2911 main ()
  2913 #ifndef __GNUC__
  2914        choke me
  2915 #endif
  2918   return 0;
  2920 _ACEOF
  2921 rm -f conftest.$ac_objext
  2922 if { (ac_try="$ac_compile"
  2923 case "(($ac_try" in
  2924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2925   *) ac_try_echo=$ac_try;;
  2926 esac
  2927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2928   (eval "$ac_compile") 2>conftest.er1
  2929   ac_status=$?
  2930   grep -v '^ *+' conftest.er1 >conftest.err
  2931   rm -f conftest.er1
  2932   cat conftest.err >&5
  2933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2934   (exit $ac_status); } && {
  2935 	 test -z "$ac_c_werror_flag" ||
  2936 	 test ! -s conftest.err
  2937        } && test -s conftest.$ac_objext; then
  2938   ac_compiler_gnu=yes
  2939 else
  2940   echo "$as_me: failed program was:" >&5
  2941 sed 's/^/| /' conftest.$ac_ext >&5
  2943 	ac_compiler_gnu=no
  2944 fi
  2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2947 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2949 fi
  2950 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2951 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  2952 GCC=`test $ac_compiler_gnu = yes && echo yes`
  2953 ac_test_CFLAGS=${CFLAGS+set}
  2954 ac_save_CFLAGS=$CFLAGS
  2955 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2956 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  2957 if test "${ac_cv_prog_cc_g+set}" = set; then
  2958   echo $ECHO_N "(cached) $ECHO_C" >&6
  2959 else
  2960   ac_save_c_werror_flag=$ac_c_werror_flag
  2961    ac_c_werror_flag=yes
  2962    ac_cv_prog_cc_g=no
  2963    CFLAGS="-g"
  2964    cat >conftest.$ac_ext <<_ACEOF
  2965 /* confdefs.h.  */
  2966 _ACEOF
  2967 cat confdefs.h >>conftest.$ac_ext
  2968 cat >>conftest.$ac_ext <<_ACEOF
  2969 /* end confdefs.h.  */
  2971 int
  2972 main ()
  2976   return 0;
  2978 _ACEOF
  2979 rm -f conftest.$ac_objext
  2980 if { (ac_try="$ac_compile"
  2981 case "(($ac_try" in
  2982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2983   *) ac_try_echo=$ac_try;;
  2984 esac
  2985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2986   (eval "$ac_compile") 2>conftest.er1
  2987   ac_status=$?
  2988   grep -v '^ *+' conftest.er1 >conftest.err
  2989   rm -f conftest.er1
  2990   cat conftest.err >&5
  2991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2992   (exit $ac_status); } && {
  2993 	 test -z "$ac_c_werror_flag" ||
  2994 	 test ! -s conftest.err
  2995        } && test -s conftest.$ac_objext; then
  2996   ac_cv_prog_cc_g=yes
  2997 else
  2998   echo "$as_me: failed program was:" >&5
  2999 sed 's/^/| /' conftest.$ac_ext >&5
  3001 	CFLAGS=""
  3002       cat >conftest.$ac_ext <<_ACEOF
  3003 /* confdefs.h.  */
  3004 _ACEOF
  3005 cat confdefs.h >>conftest.$ac_ext
  3006 cat >>conftest.$ac_ext <<_ACEOF
  3007 /* end confdefs.h.  */
  3009 int
  3010 main ()
  3014   return 0;
  3016 _ACEOF
  3017 rm -f conftest.$ac_objext
  3018 if { (ac_try="$ac_compile"
  3019 case "(($ac_try" in
  3020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3021   *) ac_try_echo=$ac_try;;
  3022 esac
  3023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3024   (eval "$ac_compile") 2>conftest.er1
  3025   ac_status=$?
  3026   grep -v '^ *+' conftest.er1 >conftest.err
  3027   rm -f conftest.er1
  3028   cat conftest.err >&5
  3029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3030   (exit $ac_status); } && {
  3031 	 test -z "$ac_c_werror_flag" ||
  3032 	 test ! -s conftest.err
  3033        } && test -s conftest.$ac_objext; then
  3035 else
  3036   echo "$as_me: failed program was:" >&5
  3037 sed 's/^/| /' conftest.$ac_ext >&5
  3039 	ac_c_werror_flag=$ac_save_c_werror_flag
  3040 	 CFLAGS="-g"
  3041 	 cat >conftest.$ac_ext <<_ACEOF
  3042 /* confdefs.h.  */
  3043 _ACEOF
  3044 cat confdefs.h >>conftest.$ac_ext
  3045 cat >>conftest.$ac_ext <<_ACEOF
  3046 /* end confdefs.h.  */
  3048 int
  3049 main ()
  3053   return 0;
  3055 _ACEOF
  3056 rm -f conftest.$ac_objext
  3057 if { (ac_try="$ac_compile"
  3058 case "(($ac_try" in
  3059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3060   *) ac_try_echo=$ac_try;;
  3061 esac
  3062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3063   (eval "$ac_compile") 2>conftest.er1
  3064   ac_status=$?
  3065   grep -v '^ *+' conftest.er1 >conftest.err
  3066   rm -f conftest.er1
  3067   cat conftest.err >&5
  3068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3069   (exit $ac_status); } && {
  3070 	 test -z "$ac_c_werror_flag" ||
  3071 	 test ! -s conftest.err
  3072        } && test -s conftest.$ac_objext; then
  3073   ac_cv_prog_cc_g=yes
  3074 else
  3075   echo "$as_me: failed program was:" >&5
  3076 sed 's/^/| /' conftest.$ac_ext >&5
  3079 fi
  3081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3082 fi
  3084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3085 fi
  3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3088    ac_c_werror_flag=$ac_save_c_werror_flag
  3089 fi
  3090 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3091 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  3092 if test "$ac_test_CFLAGS" = set; then
  3093   CFLAGS=$ac_save_CFLAGS
  3094 elif test $ac_cv_prog_cc_g = yes; then
  3095   if test "$GCC" = yes; then
  3096     CFLAGS="-g -O2"
  3097   else
  3098     CFLAGS="-g"
  3099   fi
  3100 else
  3101   if test "$GCC" = yes; then
  3102     CFLAGS="-O2"
  3103   else
  3104     CFLAGS=
  3105   fi
  3106 fi
  3107 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3108 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3109 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3110   echo $ECHO_N "(cached) $ECHO_C" >&6
  3111 else
  3112   ac_cv_prog_cc_c89=no
  3113 ac_save_CC=$CC
  3114 cat >conftest.$ac_ext <<_ACEOF
  3115 /* confdefs.h.  */
  3116 _ACEOF
  3117 cat confdefs.h >>conftest.$ac_ext
  3118 cat >>conftest.$ac_ext <<_ACEOF
  3119 /* end confdefs.h.  */
  3120 #include <stdarg.h>
  3121 #include <stdio.h>
  3122 #include <sys/types.h>
  3123 #include <sys/stat.h>
  3124 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3125 struct buf { int x; };
  3126 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3127 static char *e (p, i)
  3128      char **p;
  3129      int i;
  3131   return p[i];
  3133 static char *f (char * (*g) (char **, int), char **p, ...)
  3135   char *s;
  3136   va_list v;
  3137   va_start (v,p);
  3138   s = g (p, va_arg (v,int));
  3139   va_end (v);
  3140   return s;
  3143 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3144    function prototypes and stuff, but not '\xHH' hex character constants.
  3145    These don't provoke an error unfortunately, instead are silently treated
  3146    as 'x'.  The following induces an error, until -std is added to get
  3147    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3148    array size at least.  It's necessary to write '\x00'==0 to get something
  3149    that's true only with -std.  */
  3150 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3152 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3153    inside strings and character constants.  */
  3154 #define FOO(x) 'x'
  3155 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3157 int test (int i, double x);
  3158 struct s1 {int (*f) (int a);};
  3159 struct s2 {int (*f) (double a);};
  3160 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3161 int argc;
  3162 char **argv;
  3163 int
  3164 main ()
  3166 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3168   return 0;
  3170 _ACEOF
  3171 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3172 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3173 do
  3174   CC="$ac_save_CC $ac_arg"
  3175   rm -f conftest.$ac_objext
  3176 if { (ac_try="$ac_compile"
  3177 case "(($ac_try" in
  3178   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3179   *) ac_try_echo=$ac_try;;
  3180 esac
  3181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3182   (eval "$ac_compile") 2>conftest.er1
  3183   ac_status=$?
  3184   grep -v '^ *+' conftest.er1 >conftest.err
  3185   rm -f conftest.er1
  3186   cat conftest.err >&5
  3187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3188   (exit $ac_status); } && {
  3189 	 test -z "$ac_c_werror_flag" ||
  3190 	 test ! -s conftest.err
  3191        } && test -s conftest.$ac_objext; then
  3192   ac_cv_prog_cc_c89=$ac_arg
  3193 else
  3194   echo "$as_me: failed program was:" >&5
  3195 sed 's/^/| /' conftest.$ac_ext >&5
  3198 fi
  3200 rm -f core conftest.err conftest.$ac_objext
  3201   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3202 done
  3203 rm -f conftest.$ac_ext
  3204 CC=$ac_save_CC
  3206 fi
  3207 # AC_CACHE_VAL
  3208 case "x$ac_cv_prog_cc_c89" in
  3209   x)
  3210     { echo "$as_me:$LINENO: result: none needed" >&5
  3211 echo "${ECHO_T}none needed" >&6; } ;;
  3212   xno)
  3213     { echo "$as_me:$LINENO: result: unsupported" >&5
  3214 echo "${ECHO_T}unsupported" >&6; } ;;
  3215   *)
  3216     CC="$CC $ac_cv_prog_cc_c89"
  3217     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3218 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  3219 esac
  3222 ac_ext=c
  3223 ac_cpp='$CPP $CPPFLAGS'
  3224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3228 depcc="$CC"   am_compiler_list=
  3230 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3231 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  3232 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3233   echo $ECHO_N "(cached) $ECHO_C" >&6
  3234 else
  3235   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3236   # We make a subdir and do the tests there.  Otherwise we can end up
  3237   # making bogus files that we don't know about and never remove.  For
  3238   # instance it was reported that on HP-UX the gcc test will end up
  3239   # making a dummy file named `D' -- because `-MD' means `put the output
  3240   # in D'.
  3241   mkdir conftest.dir
  3242   # Copy depcomp to subdir because otherwise we won't find it if we're
  3243   # using a relative directory.
  3244   cp "$am_depcomp" conftest.dir
  3245   cd conftest.dir
  3246   # We will build objects and dependencies in a subdirectory because
  3247   # it helps to detect inapplicable dependency modes.  For instance
  3248   # both Tru64's cc and ICC support -MD to output dependencies as a
  3249   # side effect of compilation, but ICC will put the dependencies in
  3250   # the current directory while Tru64 will put them in the object
  3251   # directory.
  3252   mkdir sub
  3254   am_cv_CC_dependencies_compiler_type=none
  3255   if test "$am_compiler_list" = ""; then
  3256      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3257   fi
  3258   for depmode in $am_compiler_list; do
  3259     # Setup a source with many dependencies, because some compilers
  3260     # like to wrap large dependency lists on column 80 (with \), and
  3261     # we should not choose a depcomp mode which is confused by this.
  3263     # We need to recreate these files for each test, as the compiler may
  3264     # overwrite some of them when testing with obscure command lines.
  3265     # This happens at least with the AIX C compiler.
  3266     : > sub/conftest.c
  3267     for i in 1 2 3 4 5 6; do
  3268       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3269       : > sub/conftst$i.h
  3270     done
  3271     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3273     case $depmode in
  3274     nosideeffect)
  3275       # after this tag, mechanisms are not by side-effect, so they'll
  3276       # only be used when explicitly requested
  3277       if test "x$enable_dependency_tracking" = xyes; then
  3278 	continue
  3279       else
  3280 	break
  3281       fi
  3282       ;;
  3283     none) break ;;
  3284     esac
  3285     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3286     # mode.  It turns out that the SunPro C++ compiler does not properly
  3287     # handle `-M -o', and we need to detect this.
  3288     if depmode=$depmode \
  3289        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3290        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3291        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3292          >/dev/null 2>conftest.err &&
  3293        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3294        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3295        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3296       # icc doesn't choke on unknown options, it will just issue warnings
  3297       # (even with -Werror).  So we grep stderr for any message
  3298       # that says an option was ignored.
  3299       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
  3300         am_cv_CC_dependencies_compiler_type=$depmode
  3301         break
  3302       fi
  3303     fi
  3304   done
  3306   cd ..
  3307   rm -rf conftest.dir
  3308 else
  3309   am_cv_CC_dependencies_compiler_type=none
  3310 fi
  3312 fi
  3313 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3314 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  3315 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3319 if
  3320   test "x$enable_dependency_tracking" != xno \
  3321   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3322   am__fastdepCC_TRUE=
  3323   am__fastdepCC_FALSE='#'
  3324 else
  3325   am__fastdepCC_TRUE='#'
  3326   am__fastdepCC_FALSE=
  3327 fi
  3331 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
  3332 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
  3333 if test "${ac_cv_search_strerror+set}" = set; then
  3334   echo $ECHO_N "(cached) $ECHO_C" >&6
  3335 else
  3336   ac_func_search_save_LIBS=$LIBS
  3337 cat >conftest.$ac_ext <<_ACEOF
  3338 /* confdefs.h.  */
  3339 _ACEOF
  3340 cat confdefs.h >>conftest.$ac_ext
  3341 cat >>conftest.$ac_ext <<_ACEOF
  3342 /* end confdefs.h.  */
  3344 /* Override any GCC internal prototype to avoid an error.
  3345    Use char because int might match the return type of a GCC
  3346    builtin and then its argument prototype would still apply.  */
  3347 #ifdef __cplusplus
  3348 extern "C"
  3349 #endif
  3350 char strerror ();
  3351 int
  3352 main ()
  3354 return strerror ();
  3356   return 0;
  3358 _ACEOF
  3359 for ac_lib in '' cposix; do
  3360   if test -z "$ac_lib"; then
  3361     ac_res="none required"
  3362   else
  3363     ac_res=-l$ac_lib
  3364     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
  3365   fi
  3366   rm -f conftest.$ac_objext conftest$ac_exeext
  3367 if { (ac_try="$ac_link"
  3368 case "(($ac_try" in
  3369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3370   *) ac_try_echo=$ac_try;;
  3371 esac
  3372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3373   (eval "$ac_link") 2>conftest.er1
  3374   ac_status=$?
  3375   grep -v '^ *+' conftest.er1 >conftest.err
  3376   rm -f conftest.er1
  3377   cat conftest.err >&5
  3378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3379   (exit $ac_status); } && {
  3380 	 test -z "$ac_c_werror_flag" ||
  3381 	 test ! -s conftest.err
  3382        } && test -s conftest$ac_exeext &&
  3383        $as_test_x conftest$ac_exeext; then
  3384   ac_cv_search_strerror=$ac_res
  3385 else
  3386   echo "$as_me: failed program was:" >&5
  3387 sed 's/^/| /' conftest.$ac_ext >&5
  3390 fi
  3392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3393       conftest$ac_exeext
  3394   if test "${ac_cv_search_strerror+set}" = set; then
  3395   break
  3396 fi
  3397 done
  3398 if test "${ac_cv_search_strerror+set}" = set; then
  3400 else
  3401   ac_cv_search_strerror=no
  3402 fi
  3403 rm conftest.$ac_ext
  3404 LIBS=$ac_func_search_save_LIBS
  3405 fi
  3406 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
  3407 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
  3408 ac_res=$ac_cv_search_strerror
  3409 if test "$ac_res" != no; then
  3410   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  3412 fi
  3414 ac_ext=c
  3415 ac_cpp='$CPP $CPPFLAGS'
  3416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3419 if test -n "$ac_tool_prefix"; then
  3420   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3421 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3424 if test "${ac_cv_prog_CC+set}" = set; then
  3425   echo $ECHO_N "(cached) $ECHO_C" >&6
  3426 else
  3427   if test -n "$CC"; then
  3428   ac_cv_prog_CC="$CC" # Let the user override the test.
  3429 else
  3430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3431 for as_dir in $PATH
  3432 do
  3433   IFS=$as_save_IFS
  3434   test -z "$as_dir" && as_dir=.
  3435   for ac_exec_ext in '' $ac_executable_extensions; do
  3436   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3437     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3438     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3439     break 2
  3440   fi
  3441 done
  3442 done
  3443 IFS=$as_save_IFS
  3445 fi
  3446 fi
  3447 CC=$ac_cv_prog_CC
  3448 if test -n "$CC"; then
  3449   { echo "$as_me:$LINENO: result: $CC" >&5
  3450 echo "${ECHO_T}$CC" >&6; }
  3451 else
  3452   { echo "$as_me:$LINENO: result: no" >&5
  3453 echo "${ECHO_T}no" >&6; }
  3454 fi
  3457 fi
  3458 if test -z "$ac_cv_prog_CC"; then
  3459   ac_ct_CC=$CC
  3460   # Extract the first word of "gcc", so it can be a program name with args.
  3461 set dummy gcc; ac_word=$2
  3462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3464 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3465   echo $ECHO_N "(cached) $ECHO_C" >&6
  3466 else
  3467   if test -n "$ac_ct_CC"; then
  3468   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3469 else
  3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3471 for as_dir in $PATH
  3472 do
  3473   IFS=$as_save_IFS
  3474   test -z "$as_dir" && as_dir=.
  3475   for ac_exec_ext in '' $ac_executable_extensions; do
  3476   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3477     ac_cv_prog_ac_ct_CC="gcc"
  3478     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3479     break 2
  3480   fi
  3481 done
  3482 done
  3483 IFS=$as_save_IFS
  3485 fi
  3486 fi
  3487 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3488 if test -n "$ac_ct_CC"; then
  3489   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3490 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3491 else
  3492   { echo "$as_me:$LINENO: result: no" >&5
  3493 echo "${ECHO_T}no" >&6; }
  3494 fi
  3496   if test "x$ac_ct_CC" = x; then
  3497     CC=""
  3498   else
  3499     case $cross_compiling:$ac_tool_warned in
  3500 yes:)
  3501 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3502 whose name does not start with the host triplet.  If you think this
  3503 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3504 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3505 whose name does not start with the host triplet.  If you think this
  3506 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3507 ac_tool_warned=yes ;;
  3508 esac
  3509     CC=$ac_ct_CC
  3510   fi
  3511 else
  3512   CC="$ac_cv_prog_CC"
  3513 fi
  3515 if test -z "$CC"; then
  3516           if test -n "$ac_tool_prefix"; then
  3517     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3518 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3521 if test "${ac_cv_prog_CC+set}" = set; then
  3522   echo $ECHO_N "(cached) $ECHO_C" >&6
  3523 else
  3524   if test -n "$CC"; then
  3525   ac_cv_prog_CC="$CC" # Let the user override the test.
  3526 else
  3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3528 for as_dir in $PATH
  3529 do
  3530   IFS=$as_save_IFS
  3531   test -z "$as_dir" && as_dir=.
  3532   for ac_exec_ext in '' $ac_executable_extensions; do
  3533   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3534     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3535     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3536     break 2
  3537   fi
  3538 done
  3539 done
  3540 IFS=$as_save_IFS
  3542 fi
  3543 fi
  3544 CC=$ac_cv_prog_CC
  3545 if test -n "$CC"; then
  3546   { echo "$as_me:$LINENO: result: $CC" >&5
  3547 echo "${ECHO_T}$CC" >&6; }
  3548 else
  3549   { echo "$as_me:$LINENO: result: no" >&5
  3550 echo "${ECHO_T}no" >&6; }
  3551 fi
  3554   fi
  3555 fi
  3556 if test -z "$CC"; then
  3557   # Extract the first word of "cc", so it can be a program name with args.
  3558 set dummy cc; ac_word=$2
  3559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3561 if test "${ac_cv_prog_CC+set}" = set; then
  3562   echo $ECHO_N "(cached) $ECHO_C" >&6
  3563 else
  3564   if test -n "$CC"; then
  3565   ac_cv_prog_CC="$CC" # Let the user override the test.
  3566 else
  3567   ac_prog_rejected=no
  3568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3569 for as_dir in $PATH
  3570 do
  3571   IFS=$as_save_IFS
  3572   test -z "$as_dir" && as_dir=.
  3573   for ac_exec_ext in '' $ac_executable_extensions; do
  3574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3575     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3576        ac_prog_rejected=yes
  3577        continue
  3578      fi
  3579     ac_cv_prog_CC="cc"
  3580     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3581     break 2
  3582   fi
  3583 done
  3584 done
  3585 IFS=$as_save_IFS
  3587 if test $ac_prog_rejected = yes; then
  3588   # We found a bogon in the path, so make sure we never use it.
  3589   set dummy $ac_cv_prog_CC
  3590   shift
  3591   if test $# != 0; then
  3592     # We chose a different compiler from the bogus one.
  3593     # However, it has the same basename, so the bogon will be chosen
  3594     # first if we set CC to just the basename; use the full file name.
  3595     shift
  3596     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3597   fi
  3598 fi
  3599 fi
  3600 fi
  3601 CC=$ac_cv_prog_CC
  3602 if test -n "$CC"; then
  3603   { echo "$as_me:$LINENO: result: $CC" >&5
  3604 echo "${ECHO_T}$CC" >&6; }
  3605 else
  3606   { echo "$as_me:$LINENO: result: no" >&5
  3607 echo "${ECHO_T}no" >&6; }
  3608 fi
  3611 fi
  3612 if test -z "$CC"; then
  3613   if test -n "$ac_tool_prefix"; then
  3614   for ac_prog in cl.exe
  3615   do
  3616     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3617 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3620 if test "${ac_cv_prog_CC+set}" = set; then
  3621   echo $ECHO_N "(cached) $ECHO_C" >&6
  3622 else
  3623   if test -n "$CC"; then
  3624   ac_cv_prog_CC="$CC" # Let the user override the test.
  3625 else
  3626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3627 for as_dir in $PATH
  3628 do
  3629   IFS=$as_save_IFS
  3630   test -z "$as_dir" && as_dir=.
  3631   for ac_exec_ext in '' $ac_executable_extensions; do
  3632   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3633     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3634     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3635     break 2
  3636   fi
  3637 done
  3638 done
  3639 IFS=$as_save_IFS
  3641 fi
  3642 fi
  3643 CC=$ac_cv_prog_CC
  3644 if test -n "$CC"; then
  3645   { echo "$as_me:$LINENO: result: $CC" >&5
  3646 echo "${ECHO_T}$CC" >&6; }
  3647 else
  3648   { echo "$as_me:$LINENO: result: no" >&5
  3649 echo "${ECHO_T}no" >&6; }
  3650 fi
  3653     test -n "$CC" && break
  3654   done
  3655 fi
  3656 if test -z "$CC"; then
  3657   ac_ct_CC=$CC
  3658   for ac_prog in cl.exe
  3659 do
  3660   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3661 set dummy $ac_prog; ac_word=$2
  3662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3664 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3665   echo $ECHO_N "(cached) $ECHO_C" >&6
  3666 else
  3667   if test -n "$ac_ct_CC"; then
  3668   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3669 else
  3670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3671 for as_dir in $PATH
  3672 do
  3673   IFS=$as_save_IFS
  3674   test -z "$as_dir" && as_dir=.
  3675   for ac_exec_ext in '' $ac_executable_extensions; do
  3676   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3677     ac_cv_prog_ac_ct_CC="$ac_prog"
  3678     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3679     break 2
  3680   fi
  3681 done
  3682 done
  3683 IFS=$as_save_IFS
  3685 fi
  3686 fi
  3687 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3688 if test -n "$ac_ct_CC"; then
  3689   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3690 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3691 else
  3692   { echo "$as_me:$LINENO: result: no" >&5
  3693 echo "${ECHO_T}no" >&6; }
  3694 fi
  3697   test -n "$ac_ct_CC" && break
  3698 done
  3700   if test "x$ac_ct_CC" = x; then
  3701     CC=""
  3702   else
  3703     case $cross_compiling:$ac_tool_warned in
  3704 yes:)
  3705 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3706 whose name does not start with the host triplet.  If you think this
  3707 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3708 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3709 whose name does not start with the host triplet.  If you think this
  3710 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3711 ac_tool_warned=yes ;;
  3712 esac
  3713     CC=$ac_ct_CC
  3714   fi
  3715 fi
  3717 fi
  3720 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3721 See \`config.log' for more details." >&5
  3722 echo "$as_me: error: no acceptable C compiler found in \$PATH
  3723 See \`config.log' for more details." >&2;}
  3724    { (exit 1); exit 1; }; }
  3726 # Provide some information about the compiler.
  3727 echo "$as_me:$LINENO: checking for C compiler version" >&5
  3728 ac_compiler=`set X $ac_compile; echo $2`
  3729 { (ac_try="$ac_compiler --version >&5"
  3730 case "(($ac_try" in
  3731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3732   *) ac_try_echo=$ac_try;;
  3733 esac
  3734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3735   (eval "$ac_compiler --version >&5") 2>&5
  3736   ac_status=$?
  3737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3738   (exit $ac_status); }
  3739 { (ac_try="$ac_compiler -v >&5"
  3740 case "(($ac_try" in
  3741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3742   *) ac_try_echo=$ac_try;;
  3743 esac
  3744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3745   (eval "$ac_compiler -v >&5") 2>&5
  3746   ac_status=$?
  3747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3748   (exit $ac_status); }
  3749 { (ac_try="$ac_compiler -V >&5"
  3750 case "(($ac_try" in
  3751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3752   *) ac_try_echo=$ac_try;;
  3753 esac
  3754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3755   (eval "$ac_compiler -V >&5") 2>&5
  3756   ac_status=$?
  3757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3758   (exit $ac_status); }
  3760 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3761 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  3762 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3763   echo $ECHO_N "(cached) $ECHO_C" >&6
  3764 else
  3765   cat >conftest.$ac_ext <<_ACEOF
  3766 /* confdefs.h.  */
  3767 _ACEOF
  3768 cat confdefs.h >>conftest.$ac_ext
  3769 cat >>conftest.$ac_ext <<_ACEOF
  3770 /* end confdefs.h.  */
  3772 int
  3773 main ()
  3775 #ifndef __GNUC__
  3776        choke me
  3777 #endif
  3780   return 0;
  3782 _ACEOF
  3783 rm -f conftest.$ac_objext
  3784 if { (ac_try="$ac_compile"
  3785 case "(($ac_try" in
  3786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3787   *) ac_try_echo=$ac_try;;
  3788 esac
  3789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3790   (eval "$ac_compile") 2>conftest.er1
  3791   ac_status=$?
  3792   grep -v '^ *+' conftest.er1 >conftest.err
  3793   rm -f conftest.er1
  3794   cat conftest.err >&5
  3795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3796   (exit $ac_status); } && {
  3797 	 test -z "$ac_c_werror_flag" ||
  3798 	 test ! -s conftest.err
  3799        } && test -s conftest.$ac_objext; then
  3800   ac_compiler_gnu=yes
  3801 else
  3802   echo "$as_me: failed program was:" >&5
  3803 sed 's/^/| /' conftest.$ac_ext >&5
  3805 	ac_compiler_gnu=no
  3806 fi
  3808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3809 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3811 fi
  3812 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3813 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  3814 GCC=`test $ac_compiler_gnu = yes && echo yes`
  3815 ac_test_CFLAGS=${CFLAGS+set}
  3816 ac_save_CFLAGS=$CFLAGS
  3817 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3818 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  3819 if test "${ac_cv_prog_cc_g+set}" = set; then
  3820   echo $ECHO_N "(cached) $ECHO_C" >&6
  3821 else
  3822   ac_save_c_werror_flag=$ac_c_werror_flag
  3823    ac_c_werror_flag=yes
  3824    ac_cv_prog_cc_g=no
  3825    CFLAGS="-g"
  3826    cat >conftest.$ac_ext <<_ACEOF
  3827 /* confdefs.h.  */
  3828 _ACEOF
  3829 cat confdefs.h >>conftest.$ac_ext
  3830 cat >>conftest.$ac_ext <<_ACEOF
  3831 /* end confdefs.h.  */
  3833 int
  3834 main ()
  3838   return 0;
  3840 _ACEOF
  3841 rm -f conftest.$ac_objext
  3842 if { (ac_try="$ac_compile"
  3843 case "(($ac_try" in
  3844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3845   *) ac_try_echo=$ac_try;;
  3846 esac
  3847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3848   (eval "$ac_compile") 2>conftest.er1
  3849   ac_status=$?
  3850   grep -v '^ *+' conftest.er1 >conftest.err
  3851   rm -f conftest.er1
  3852   cat conftest.err >&5
  3853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3854   (exit $ac_status); } && {
  3855 	 test -z "$ac_c_werror_flag" ||
  3856 	 test ! -s conftest.err
  3857        } && test -s conftest.$ac_objext; then
  3858   ac_cv_prog_cc_g=yes
  3859 else
  3860   echo "$as_me: failed program was:" >&5
  3861 sed 's/^/| /' conftest.$ac_ext >&5
  3863 	CFLAGS=""
  3864       cat >conftest.$ac_ext <<_ACEOF
  3865 /* confdefs.h.  */
  3866 _ACEOF
  3867 cat confdefs.h >>conftest.$ac_ext
  3868 cat >>conftest.$ac_ext <<_ACEOF
  3869 /* end confdefs.h.  */
  3871 int
  3872 main ()
  3876   return 0;
  3878 _ACEOF
  3879 rm -f conftest.$ac_objext
  3880 if { (ac_try="$ac_compile"
  3881 case "(($ac_try" in
  3882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3883   *) ac_try_echo=$ac_try;;
  3884 esac
  3885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3886   (eval "$ac_compile") 2>conftest.er1
  3887   ac_status=$?
  3888   grep -v '^ *+' conftest.er1 >conftest.err
  3889   rm -f conftest.er1
  3890   cat conftest.err >&5
  3891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3892   (exit $ac_status); } && {
  3893 	 test -z "$ac_c_werror_flag" ||
  3894 	 test ! -s conftest.err
  3895        } && test -s conftest.$ac_objext; then
  3897 else
  3898   echo "$as_me: failed program was:" >&5
  3899 sed 's/^/| /' conftest.$ac_ext >&5
  3901 	ac_c_werror_flag=$ac_save_c_werror_flag
  3902 	 CFLAGS="-g"
  3903 	 cat >conftest.$ac_ext <<_ACEOF
  3904 /* confdefs.h.  */
  3905 _ACEOF
  3906 cat confdefs.h >>conftest.$ac_ext
  3907 cat >>conftest.$ac_ext <<_ACEOF
  3908 /* end confdefs.h.  */
  3910 int
  3911 main ()
  3915   return 0;
  3917 _ACEOF
  3918 rm -f conftest.$ac_objext
  3919 if { (ac_try="$ac_compile"
  3920 case "(($ac_try" in
  3921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3922   *) ac_try_echo=$ac_try;;
  3923 esac
  3924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3925   (eval "$ac_compile") 2>conftest.er1
  3926   ac_status=$?
  3927   grep -v '^ *+' conftest.er1 >conftest.err
  3928   rm -f conftest.er1
  3929   cat conftest.err >&5
  3930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3931   (exit $ac_status); } && {
  3932 	 test -z "$ac_c_werror_flag" ||
  3933 	 test ! -s conftest.err
  3934        } && test -s conftest.$ac_objext; then
  3935   ac_cv_prog_cc_g=yes
  3936 else
  3937   echo "$as_me: failed program was:" >&5
  3938 sed 's/^/| /' conftest.$ac_ext >&5
  3941 fi
  3943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3944 fi
  3946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3947 fi
  3949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3950    ac_c_werror_flag=$ac_save_c_werror_flag
  3951 fi
  3952 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3953 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  3954 if test "$ac_test_CFLAGS" = set; then
  3955   CFLAGS=$ac_save_CFLAGS
  3956 elif test $ac_cv_prog_cc_g = yes; then
  3957   if test "$GCC" = yes; then
  3958     CFLAGS="-g -O2"
  3959   else
  3960     CFLAGS="-g"
  3961   fi
  3962 else
  3963   if test "$GCC" = yes; then
  3964     CFLAGS="-O2"
  3965   else
  3966     CFLAGS=
  3967   fi
  3968 fi
  3969 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3970 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3971 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3972   echo $ECHO_N "(cached) $ECHO_C" >&6
  3973 else
  3974   ac_cv_prog_cc_c89=no
  3975 ac_save_CC=$CC
  3976 cat >conftest.$ac_ext <<_ACEOF
  3977 /* confdefs.h.  */
  3978 _ACEOF
  3979 cat confdefs.h >>conftest.$ac_ext
  3980 cat >>conftest.$ac_ext <<_ACEOF
  3981 /* end confdefs.h.  */
  3982 #include <stdarg.h>
  3983 #include <stdio.h>
  3984 #include <sys/types.h>
  3985 #include <sys/stat.h>
  3986 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3987 struct buf { int x; };
  3988 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3989 static char *e (p, i)
  3990      char **p;
  3991      int i;
  3993   return p[i];
  3995 static char *f (char * (*g) (char **, int), char **p, ...)
  3997   char *s;
  3998   va_list v;
  3999   va_start (v,p);
  4000   s = g (p, va_arg (v,int));
  4001   va_end (v);
  4002   return s;
  4005 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4006    function prototypes and stuff, but not '\xHH' hex character constants.
  4007    These don't provoke an error unfortunately, instead are silently treated
  4008    as 'x'.  The following induces an error, until -std is added to get
  4009    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4010    array size at least.  It's necessary to write '\x00'==0 to get something
  4011    that's true only with -std.  */
  4012 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4014 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4015    inside strings and character constants.  */
  4016 #define FOO(x) 'x'
  4017 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4019 int test (int i, double x);
  4020 struct s1 {int (*f) (int a);};
  4021 struct s2 {int (*f) (double a);};
  4022 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4023 int argc;
  4024 char **argv;
  4025 int
  4026 main ()
  4028 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4030   return 0;
  4032 _ACEOF
  4033 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4034 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4035 do
  4036   CC="$ac_save_CC $ac_arg"
  4037   rm -f conftest.$ac_objext
  4038 if { (ac_try="$ac_compile"
  4039 case "(($ac_try" in
  4040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4041   *) ac_try_echo=$ac_try;;
  4042 esac
  4043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4044   (eval "$ac_compile") 2>conftest.er1
  4045   ac_status=$?
  4046   grep -v '^ *+' conftest.er1 >conftest.err
  4047   rm -f conftest.er1
  4048   cat conftest.err >&5
  4049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4050   (exit $ac_status); } && {
  4051 	 test -z "$ac_c_werror_flag" ||
  4052 	 test ! -s conftest.err
  4053        } && test -s conftest.$ac_objext; then
  4054   ac_cv_prog_cc_c89=$ac_arg
  4055 else
  4056   echo "$as_me: failed program was:" >&5
  4057 sed 's/^/| /' conftest.$ac_ext >&5
  4060 fi
  4062 rm -f core conftest.err conftest.$ac_objext
  4063   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4064 done
  4065 rm -f conftest.$ac_ext
  4066 CC=$ac_save_CC
  4068 fi
  4069 # AC_CACHE_VAL
  4070 case "x$ac_cv_prog_cc_c89" in
  4071   x)
  4072     { echo "$as_me:$LINENO: result: none needed" >&5
  4073 echo "${ECHO_T}none needed" >&6; } ;;
  4074   xno)
  4075     { echo "$as_me:$LINENO: result: unsupported" >&5
  4076 echo "${ECHO_T}unsupported" >&6; } ;;
  4077   *)
  4078     CC="$CC $ac_cv_prog_cc_c89"
  4079     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4080 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  4081 esac
  4084 ac_ext=c
  4085 ac_cpp='$CPP $CPPFLAGS'
  4086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4090 depcc="$CC"   am_compiler_list=
  4092 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4093 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  4094 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4095   echo $ECHO_N "(cached) $ECHO_C" >&6
  4096 else
  4097   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4098   # We make a subdir and do the tests there.  Otherwise we can end up
  4099   # making bogus files that we don't know about and never remove.  For
  4100   # instance it was reported that on HP-UX the gcc test will end up
  4101   # making a dummy file named `D' -- because `-MD' means `put the output
  4102   # in D'.
  4103   mkdir conftest.dir
  4104   # Copy depcomp to subdir because otherwise we won't find it if we're
  4105   # using a relative directory.
  4106   cp "$am_depcomp" conftest.dir
  4107   cd conftest.dir
  4108   # We will build objects and dependencies in a subdirectory because
  4109   # it helps to detect inapplicable dependency modes.  For instance
  4110   # both Tru64's cc and ICC support -MD to output dependencies as a
  4111   # side effect of compilation, but ICC will put the dependencies in
  4112   # the current directory while Tru64 will put them in the object
  4113   # directory.
  4114   mkdir sub
  4116   am_cv_CC_dependencies_compiler_type=none
  4117   if test "$am_compiler_list" = ""; then
  4118      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4119   fi
  4120   for depmode in $am_compiler_list; do
  4121     # Setup a source with many dependencies, because some compilers
  4122     # like to wrap large dependency lists on column 80 (with \), and
  4123     # we should not choose a depcomp mode which is confused by this.
  4125     # We need to recreate these files for each test, as the compiler may
  4126     # overwrite some of them when testing with obscure command lines.
  4127     # This happens at least with the AIX C compiler.
  4128     : > sub/conftest.c
  4129     for i in 1 2 3 4 5 6; do
  4130       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4131       : > sub/conftst$i.h
  4132     done
  4133     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4135     case $depmode in
  4136     nosideeffect)
  4137       # after this tag, mechanisms are not by side-effect, so they'll
  4138       # only be used when explicitly requested
  4139       if test "x$enable_dependency_tracking" = xyes; then
  4140 	continue
  4141       else
  4142 	break
  4143       fi
  4144       ;;
  4145     none) break ;;
  4146     esac
  4147     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4148     # mode.  It turns out that the SunPro C++ compiler does not properly
  4149     # handle `-M -o', and we need to detect this.
  4150     if depmode=$depmode \
  4151        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4152        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4153        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4154          >/dev/null 2>conftest.err &&
  4155        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4156        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4157        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4158       # icc doesn't choke on unknown options, it will just issue warnings
  4159       # (even with -Werror).  So we grep stderr for any message
  4160       # that says an option was ignored.
  4161       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
  4162         am_cv_CC_dependencies_compiler_type=$depmode
  4163         break
  4164       fi
  4165     fi
  4166   done
  4168   cd ..
  4169   rm -rf conftest.dir
  4170 else
  4171   am_cv_CC_dependencies_compiler_type=none
  4172 fi
  4174 fi
  4175 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4176 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  4177 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4181 if
  4182   test "x$enable_dependency_tracking" != xno \
  4183   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4184   am__fastdepCC_TRUE=
  4185   am__fastdepCC_FALSE='#'
  4186 else
  4187   am__fastdepCC_TRUE='#'
  4188   am__fastdepCC_FALSE=
  4189 fi
  4195 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
  4196 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
  4197 if test "${am_cv_prog_cc_stdc+set}" = set; then
  4198   echo $ECHO_N "(cached) $ECHO_C" >&6
  4199 else
  4200   am_cv_prog_cc_stdc=no
  4201 ac_save_CC="$CC"
  4202 # Don't try gcc -ansi; that turns off useful extensions and
  4203 # breaks some systems' header files.
  4204 # AIX			-qlanglvl=ansi
  4205 # Ultrix and OSF/1	-std1
  4206 # HP-UX 10.20 and later	-Ae
  4207 # HP-UX older versions	-Aa -D_HPUX_SOURCE
  4208 # SVR4			-Xc -D__EXTENSIONS__
  4209 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4210 do
  4211   CC="$ac_save_CC $ac_arg"
  4212   cat >conftest.$ac_ext <<_ACEOF
  4213 /* confdefs.h.  */
  4214 _ACEOF
  4215 cat confdefs.h >>conftest.$ac_ext
  4216 cat >>conftest.$ac_ext <<_ACEOF
  4217 /* end confdefs.h.  */
  4218 #include <stdarg.h>
  4219 #include <stdio.h>
  4220 #include <sys/types.h>
  4221 #include <sys/stat.h>
  4222 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4223 struct buf { int x; };
  4224 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4225 static char *e (p, i)
  4226      char **p;
  4227      int i;
  4229   return p[i];
  4231 static char *f (char * (*g) (char **, int), char **p, ...)
  4233   char *s;
  4234   va_list v;
  4235   va_start (v,p);
  4236   s = g (p, va_arg (v,int));
  4237   va_end (v);
  4238   return s;
  4240 int test (int i, double x);
  4241 struct s1 {int (*f) (int a);};
  4242 struct s2 {int (*f) (double a);};
  4243 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4244 int argc;
  4245 char **argv;
  4247 int
  4248 main ()
  4251 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4254   return 0;
  4256 _ACEOF
  4257 rm -f conftest.$ac_objext
  4258 if { (ac_try="$ac_compile"
  4259 case "(($ac_try" in
  4260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4261   *) ac_try_echo=$ac_try;;
  4262 esac
  4263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4264   (eval "$ac_compile") 2>conftest.er1
  4265   ac_status=$?
  4266   grep -v '^ *+' conftest.er1 >conftest.err
  4267   rm -f conftest.er1
  4268   cat conftest.err >&5
  4269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4270   (exit $ac_status); } && {
  4271 	 test -z "$ac_c_werror_flag" ||
  4272 	 test ! -s conftest.err
  4273        } && test -s conftest.$ac_objext; then
  4274   am_cv_prog_cc_stdc="$ac_arg"; break
  4275 else
  4276   echo "$as_me: failed program was:" >&5
  4277 sed 's/^/| /' conftest.$ac_ext >&5
  4280 fi
  4282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4283 done
  4284 CC="$ac_save_CC"
  4286 fi
  4288 if test -z "$am_cv_prog_cc_stdc"; then
  4289   { echo "$as_me:$LINENO: result: none needed" >&5
  4290 echo "${ECHO_T}none needed" >&6; }
  4291 else
  4292   { echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
  4293 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6; }
  4294 fi
  4295 case "x$am_cv_prog_cc_stdc" in
  4296   x|xno) ;;
  4297   *) CC="$CC $am_cv_prog_cc_stdc" ;;
  4298 esac
  4300 ac_ext=c
  4301 ac_cpp='$CPP $CPPFLAGS'
  4302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4305 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  4306 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  4307 # On Suns, sometimes $CPP names a directory.
  4308 if test -n "$CPP" && test -d "$CPP"; then
  4309   CPP=
  4310 fi
  4311 if test -z "$CPP"; then
  4312   if test "${ac_cv_prog_CPP+set}" = set; then
  4313   echo $ECHO_N "(cached) $ECHO_C" >&6
  4314 else
  4315       # Double quotes because CPP needs to be expanded
  4316     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  4317     do
  4318       ac_preproc_ok=false
  4319 for ac_c_preproc_warn_flag in '' yes
  4320 do
  4321   # Use a header file that comes with gcc, so configuring glibc
  4322   # with a fresh cross-compiler works.
  4323   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4324   # <limits.h> exists even on freestanding compilers.
  4325   # On the NeXT, cc -E runs the code through the compiler's parser,
  4326   # not just through cpp. "Syntax error" is here to catch this case.
  4327   cat >conftest.$ac_ext <<_ACEOF
  4328 /* confdefs.h.  */
  4329 _ACEOF
  4330 cat confdefs.h >>conftest.$ac_ext
  4331 cat >>conftest.$ac_ext <<_ACEOF
  4332 /* end confdefs.h.  */
  4333 #ifdef __STDC__
  4334 # include <limits.h>
  4335 #else
  4336 # include <assert.h>
  4337 #endif
  4338 		     Syntax error
  4339 _ACEOF
  4340 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4341 case "(($ac_try" in
  4342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4343   *) ac_try_echo=$ac_try;;
  4344 esac
  4345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4346   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4347   ac_status=$?
  4348   grep -v '^ *+' conftest.er1 >conftest.err
  4349   rm -f conftest.er1
  4350   cat conftest.err >&5
  4351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4352   (exit $ac_status); } >/dev/null && {
  4353 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4354 	 test ! -s conftest.err
  4355        }; then
  4357 else
  4358   echo "$as_me: failed program was:" >&5
  4359 sed 's/^/| /' conftest.$ac_ext >&5
  4361   # Broken: fails on valid input.
  4362 continue
  4363 fi
  4365 rm -f conftest.err conftest.$ac_ext
  4367   # OK, works on sane cases.  Now check whether nonexistent headers
  4368   # can be detected and how.
  4369   cat >conftest.$ac_ext <<_ACEOF
  4370 /* confdefs.h.  */
  4371 _ACEOF
  4372 cat confdefs.h >>conftest.$ac_ext
  4373 cat >>conftest.$ac_ext <<_ACEOF
  4374 /* end confdefs.h.  */
  4375 #include <ac_nonexistent.h>
  4376 _ACEOF
  4377 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4378 case "(($ac_try" in
  4379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4380   *) ac_try_echo=$ac_try;;
  4381 esac
  4382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4383   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4384   ac_status=$?
  4385   grep -v '^ *+' conftest.er1 >conftest.err
  4386   rm -f conftest.er1
  4387   cat conftest.err >&5
  4388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4389   (exit $ac_status); } >/dev/null && {
  4390 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4391 	 test ! -s conftest.err
  4392        }; then
  4393   # Broken: success on invalid input.
  4394 continue
  4395 else
  4396   echo "$as_me: failed program was:" >&5
  4397 sed 's/^/| /' conftest.$ac_ext >&5
  4399   # Passes both tests.
  4400 ac_preproc_ok=:
  4401 break
  4402 fi
  4404 rm -f conftest.err conftest.$ac_ext
  4406 done
  4407 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4408 rm -f conftest.err conftest.$ac_ext
  4409 if $ac_preproc_ok; then
  4410   break
  4411 fi
  4413     done
  4414     ac_cv_prog_CPP=$CPP
  4416 fi
  4417   CPP=$ac_cv_prog_CPP
  4418 else
  4419   ac_cv_prog_CPP=$CPP
  4420 fi
  4421 { echo "$as_me:$LINENO: result: $CPP" >&5
  4422 echo "${ECHO_T}$CPP" >&6; }
  4423 ac_preproc_ok=false
  4424 for ac_c_preproc_warn_flag in '' yes
  4425 do
  4426   # Use a header file that comes with gcc, so configuring glibc
  4427   # with a fresh cross-compiler works.
  4428   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4429   # <limits.h> exists even on freestanding compilers.
  4430   # On the NeXT, cc -E runs the code through the compiler's parser,
  4431   # not just through cpp. "Syntax error" is here to catch this case.
  4432   cat >conftest.$ac_ext <<_ACEOF
  4433 /* confdefs.h.  */
  4434 _ACEOF
  4435 cat confdefs.h >>conftest.$ac_ext
  4436 cat >>conftest.$ac_ext <<_ACEOF
  4437 /* end confdefs.h.  */
  4438 #ifdef __STDC__
  4439 # include <limits.h>
  4440 #else
  4441 # include <assert.h>
  4442 #endif
  4443 		     Syntax error
  4444 _ACEOF
  4445 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4446 case "(($ac_try" in
  4447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4448   *) ac_try_echo=$ac_try;;
  4449 esac
  4450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4451   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4452   ac_status=$?
  4453   grep -v '^ *+' conftest.er1 >conftest.err
  4454   rm -f conftest.er1
  4455   cat conftest.err >&5
  4456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4457   (exit $ac_status); } >/dev/null && {
  4458 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4459 	 test ! -s conftest.err
  4460        }; then
  4462 else
  4463   echo "$as_me: failed program was:" >&5
  4464 sed 's/^/| /' conftest.$ac_ext >&5
  4466   # Broken: fails on valid input.
  4467 continue
  4468 fi
  4470 rm -f conftest.err conftest.$ac_ext
  4472   # OK, works on sane cases.  Now check whether nonexistent headers
  4473   # can be detected and how.
  4474   cat >conftest.$ac_ext <<_ACEOF
  4475 /* confdefs.h.  */
  4476 _ACEOF
  4477 cat confdefs.h >>conftest.$ac_ext
  4478 cat >>conftest.$ac_ext <<_ACEOF
  4479 /* end confdefs.h.  */
  4480 #include <ac_nonexistent.h>
  4481 _ACEOF
  4482 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4483 case "(($ac_try" in
  4484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4485   *) ac_try_echo=$ac_try;;
  4486 esac
  4487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4488   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4489   ac_status=$?
  4490   grep -v '^ *+' conftest.er1 >conftest.err
  4491   rm -f conftest.er1
  4492   cat conftest.err >&5
  4493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4494   (exit $ac_status); } >/dev/null && {
  4495 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4496 	 test ! -s conftest.err
  4497        }; then
  4498   # Broken: success on invalid input.
  4499 continue
  4500 else
  4501   echo "$as_me: failed program was:" >&5
  4502 sed 's/^/| /' conftest.$ac_ext >&5
  4504   # Passes both tests.
  4505 ac_preproc_ok=:
  4506 break
  4507 fi
  4509 rm -f conftest.err conftest.$ac_ext
  4511 done
  4512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4513 rm -f conftest.err conftest.$ac_ext
  4514 if $ac_preproc_ok; then
  4516 else
  4517   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  4518 See \`config.log' for more details." >&5
  4519 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  4520 See \`config.log' for more details." >&2;}
  4521    { (exit 1); exit 1; }; }
  4522 fi
  4524 ac_ext=c
  4525 ac_cpp='$CPP $CPPFLAGS'
  4526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4531 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  4532 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  4533 if test "${ac_cv_path_GREP+set}" = set; then
  4534   echo $ECHO_N "(cached) $ECHO_C" >&6
  4535 else
  4536   # Extract the first word of "grep ggrep" to use in msg output
  4537 if test -z "$GREP"; then
  4538 set dummy grep ggrep; ac_prog_name=$2
  4539 if test "${ac_cv_path_GREP+set}" = set; then
  4540   echo $ECHO_N "(cached) $ECHO_C" >&6
  4541 else
  4542   ac_path_GREP_found=false
  4543 # Loop through the user's path and test for each of PROGNAME-LIST
  4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4545 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4546 do
  4547   IFS=$as_save_IFS
  4548   test -z "$as_dir" && as_dir=.
  4549   for ac_prog in grep ggrep; do
  4550   for ac_exec_ext in '' $ac_executable_extensions; do
  4551     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4552     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  4553     # Check for GNU ac_path_GREP and select it if it is found.
  4554   # Check for GNU $ac_path_GREP
  4555 case `"$ac_path_GREP" --version 2>&1` in
  4556 *GNU*)
  4557   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4558 *)
  4559   ac_count=0
  4560   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  4561   while :
  4562   do
  4563     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4564     mv "conftest.tmp" "conftest.in"
  4565     cp "conftest.in" "conftest.nl"
  4566     echo 'GREP' >> "conftest.nl"
  4567     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4568     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4569     ac_count=`expr $ac_count + 1`
  4570     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4571       # Best one so far, save it but keep looking for a better one
  4572       ac_cv_path_GREP="$ac_path_GREP"
  4573       ac_path_GREP_max=$ac_count
  4574     fi
  4575     # 10*(2^10) chars as input seems more than enough
  4576     test $ac_count -gt 10 && break
  4577   done
  4578   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4579 esac
  4582     $ac_path_GREP_found && break 3
  4583   done
  4584 done
  4586 done
  4587 IFS=$as_save_IFS
  4590 fi
  4592 GREP="$ac_cv_path_GREP"
  4593 if test -z "$GREP"; then
  4594   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4595 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4596    { (exit 1); exit 1; }; }
  4597 fi
  4599 else
  4600   ac_cv_path_GREP=$GREP
  4601 fi
  4604 fi
  4605 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  4606 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  4607  GREP="$ac_cv_path_GREP"
  4610 { echo "$as_me:$LINENO: checking for egrep" >&5
  4611 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  4612 if test "${ac_cv_path_EGREP+set}" = set; then
  4613   echo $ECHO_N "(cached) $ECHO_C" >&6
  4614 else
  4615   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4616    then ac_cv_path_EGREP="$GREP -E"
  4617    else
  4618      # Extract the first word of "egrep" to use in msg output
  4619 if test -z "$EGREP"; then
  4620 set dummy egrep; ac_prog_name=$2
  4621 if test "${ac_cv_path_EGREP+set}" = set; then
  4622   echo $ECHO_N "(cached) $ECHO_C" >&6
  4623 else
  4624   ac_path_EGREP_found=false
  4625 # Loop through the user's path and test for each of PROGNAME-LIST
  4626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4627 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4628 do
  4629   IFS=$as_save_IFS
  4630   test -z "$as_dir" && as_dir=.
  4631   for ac_prog in egrep; do
  4632   for ac_exec_ext in '' $ac_executable_extensions; do
  4633     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4634     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  4635     # Check for GNU ac_path_EGREP and select it if it is found.
  4636   # Check for GNU $ac_path_EGREP
  4637 case `"$ac_path_EGREP" --version 2>&1` in
  4638 *GNU*)
  4639   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4640 *)
  4641   ac_count=0
  4642   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  4643   while :
  4644   do
  4645     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4646     mv "conftest.tmp" "conftest.in"
  4647     cp "conftest.in" "conftest.nl"
  4648     echo 'EGREP' >> "conftest.nl"
  4649     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4650     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4651     ac_count=`expr $ac_count + 1`
  4652     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4653       # Best one so far, save it but keep looking for a better one
  4654       ac_cv_path_EGREP="$ac_path_EGREP"
  4655       ac_path_EGREP_max=$ac_count
  4656     fi
  4657     # 10*(2^10) chars as input seems more than enough
  4658     test $ac_count -gt 10 && break
  4659   done
  4660   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4661 esac
  4664     $ac_path_EGREP_found && break 3
  4665   done
  4666 done
  4668 done
  4669 IFS=$as_save_IFS
  4672 fi
  4674 EGREP="$ac_cv_path_EGREP"
  4675 if test -z "$EGREP"; then
  4676   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4677 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4678    { (exit 1); exit 1; }; }
  4679 fi
  4681 else
  4682   ac_cv_path_EGREP=$EGREP
  4683 fi
  4686    fi
  4687 fi
  4688 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  4689 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  4690  EGREP="$ac_cv_path_EGREP"
  4693 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  4694 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  4695 if test "${ac_cv_header_stdc+set}" = set; then
  4696   echo $ECHO_N "(cached) $ECHO_C" >&6
  4697 else
  4698   cat >conftest.$ac_ext <<_ACEOF
  4699 /* confdefs.h.  */
  4700 _ACEOF
  4701 cat confdefs.h >>conftest.$ac_ext
  4702 cat >>conftest.$ac_ext <<_ACEOF
  4703 /* end confdefs.h.  */
  4704 #include <stdlib.h>
  4705 #include <stdarg.h>
  4706 #include <string.h>
  4707 #include <float.h>
  4709 int
  4710 main ()
  4714   return 0;
  4716 _ACEOF
  4717 rm -f conftest.$ac_objext
  4718 if { (ac_try="$ac_compile"
  4719 case "(($ac_try" in
  4720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4721   *) ac_try_echo=$ac_try;;
  4722 esac
  4723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4724   (eval "$ac_compile") 2>conftest.er1
  4725   ac_status=$?
  4726   grep -v '^ *+' conftest.er1 >conftest.err
  4727   rm -f conftest.er1
  4728   cat conftest.err >&5
  4729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4730   (exit $ac_status); } && {
  4731 	 test -z "$ac_c_werror_flag" ||
  4732 	 test ! -s conftest.err
  4733        } && test -s conftest.$ac_objext; then
  4734   ac_cv_header_stdc=yes
  4735 else
  4736   echo "$as_me: failed program was:" >&5
  4737 sed 's/^/| /' conftest.$ac_ext >&5
  4739 	ac_cv_header_stdc=no
  4740 fi
  4742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4744 if test $ac_cv_header_stdc = yes; then
  4745   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4746   cat >conftest.$ac_ext <<_ACEOF
  4747 /* confdefs.h.  */
  4748 _ACEOF
  4749 cat confdefs.h >>conftest.$ac_ext
  4750 cat >>conftest.$ac_ext <<_ACEOF
  4751 /* end confdefs.h.  */
  4752 #include <string.h>
  4754 _ACEOF
  4755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4756   $EGREP "memchr" >/dev/null 2>&1; then
  4758 else
  4759   ac_cv_header_stdc=no
  4760 fi
  4761 rm -f conftest*
  4763 fi
  4765 if test $ac_cv_header_stdc = yes; then
  4766   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4767   cat >conftest.$ac_ext <<_ACEOF
  4768 /* confdefs.h.  */
  4769 _ACEOF
  4770 cat confdefs.h >>conftest.$ac_ext
  4771 cat >>conftest.$ac_ext <<_ACEOF
  4772 /* end confdefs.h.  */
  4773 #include <stdlib.h>
  4775 _ACEOF
  4776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4777   $EGREP "free" >/dev/null 2>&1; then
  4779 else
  4780   ac_cv_header_stdc=no
  4781 fi
  4782 rm -f conftest*
  4784 fi
  4786 if test $ac_cv_header_stdc = yes; then
  4787   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4788   if test "$cross_compiling" = yes; then
  4790 else
  4791   cat >conftest.$ac_ext <<_ACEOF
  4792 /* confdefs.h.  */
  4793 _ACEOF
  4794 cat confdefs.h >>conftest.$ac_ext
  4795 cat >>conftest.$ac_ext <<_ACEOF
  4796 /* end confdefs.h.  */
  4797 #include <ctype.h>
  4798 #include <stdlib.h>
  4799 #if ((' ' & 0x0FF) == 0x020)
  4800 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4801 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4802 #else
  4803 # define ISLOWER(c) \
  4804 		   (('a' <= (c) && (c) <= 'i') \
  4805 		     || ('j' <= (c) && (c) <= 'r') \
  4806 		     || ('s' <= (c) && (c) <= 'z'))
  4807 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4808 #endif
  4810 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4811 int
  4812 main ()
  4814   int i;
  4815   for (i = 0; i < 256; i++)
  4816     if (XOR (islower (i), ISLOWER (i))
  4817 	|| toupper (i) != TOUPPER (i))
  4818       return 2;
  4819   return 0;
  4821 _ACEOF
  4822 rm -f conftest$ac_exeext
  4823 if { (ac_try="$ac_link"
  4824 case "(($ac_try" in
  4825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4826   *) ac_try_echo=$ac_try;;
  4827 esac
  4828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4829   (eval "$ac_link") 2>&5
  4830   ac_status=$?
  4831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4832   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  4833   { (case "(($ac_try" in
  4834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4835   *) ac_try_echo=$ac_try;;
  4836 esac
  4837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4838   (eval "$ac_try") 2>&5
  4839   ac_status=$?
  4840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4841   (exit $ac_status); }; }; then
  4843 else
  4844   echo "$as_me: program exited with status $ac_status" >&5
  4845 echo "$as_me: failed program was:" >&5
  4846 sed 's/^/| /' conftest.$ac_ext >&5
  4848 ( exit $ac_status )
  4849 ac_cv_header_stdc=no
  4850 fi
  4851 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  4852 fi
  4855 fi
  4856 fi
  4857 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  4858 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  4859 if test $ac_cv_header_stdc = yes; then
  4861 cat >>confdefs.h <<\_ACEOF
  4862 #define STDC_HEADERS 1
  4863 _ACEOF
  4865 fi
  4867 # Make sure we can run config.sub.
  4868 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  4869   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  4870 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  4871    { (exit 1); exit 1; }; }
  4873 { echo "$as_me:$LINENO: checking build system type" >&5
  4874 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  4875 if test "${ac_cv_build+set}" = set; then
  4876   echo $ECHO_N "(cached) $ECHO_C" >&6
  4877 else
  4878   ac_build_alias=$build_alias
  4879 test "x$ac_build_alias" = x &&
  4880   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  4881 test "x$ac_build_alias" = x &&
  4882   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  4883 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  4884    { (exit 1); exit 1; }; }
  4885 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  4886   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  4887 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  4888    { (exit 1); exit 1; }; }
  4890 fi
  4891 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  4892 echo "${ECHO_T}$ac_cv_build" >&6; }
  4893 case $ac_cv_build in
  4894 *-*-*) ;;
  4895 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  4896 echo "$as_me: error: invalid value of canonical build" >&2;}
  4897    { (exit 1); exit 1; }; };;
  4898 esac
  4899 build=$ac_cv_build
  4900 ac_save_IFS=$IFS; IFS='-'
  4901 set x $ac_cv_build
  4902 shift
  4903 build_cpu=$1
  4904 build_vendor=$2
  4905 shift; shift
  4906 # Remember, the first character of IFS is used to create $*,
  4907 # except with old shells:
  4908 build_os=$*
  4909 IFS=$ac_save_IFS
  4910 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4913 { echo "$as_me:$LINENO: checking host system type" >&5
  4914 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  4915 if test "${ac_cv_host+set}" = set; then
  4916   echo $ECHO_N "(cached) $ECHO_C" >&6
  4917 else
  4918   if test "x$host_alias" = x; then
  4919   ac_cv_host=$ac_cv_build
  4920 else
  4921   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  4922     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  4923 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  4924    { (exit 1); exit 1; }; }
  4925 fi
  4927 fi
  4928 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  4929 echo "${ECHO_T}$ac_cv_host" >&6; }
  4930 case $ac_cv_host in
  4931 *-*-*) ;;
  4932 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  4933 echo "$as_me: error: invalid value of canonical host" >&2;}
  4934    { (exit 1); exit 1; }; };;
  4935 esac
  4936 host=$ac_cv_host
  4937 ac_save_IFS=$IFS; IFS='-'
  4938 set x $ac_cv_host
  4939 shift
  4940 host_cpu=$1
  4941 host_vendor=$2
  4942 shift; shift
  4943 # Remember, the first character of IFS is used to create $*,
  4944 # except with old shells:
  4945 host_os=$*
  4946 IFS=$ac_save_IFS
  4947 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4950 # Check whether --enable-trace was given.
  4951 if test "${enable_trace+set}" = set; then
  4952   enableval=$enable_trace; if test "$enableval" == "yes"; then
  4954 cat >>confdefs.h <<\_ACEOF
  4955 #define ENABLE_TRACE_IO 1
  4956 _ACEOF
  4958     fi
  4959 fi
  4961 # Check whether --enable-watch was given.
  4962 if test "${enable_watch+set}" = set; then
  4963   enableval=$enable_watch; if test "$enableval" == "yes"; then
  4965 cat >>confdefs.h <<\_ACEOF
  4966 #define ENABLE_WATCH 1
  4967 _ACEOF
  4969    fi
  4970 fi
  4972 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4982 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4983 		  inttypes.h stdint.h unistd.h
  4984 do
  4985 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4986 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  4987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4988 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4989   echo $ECHO_N "(cached) $ECHO_C" >&6
  4990 else
  4991   cat >conftest.$ac_ext <<_ACEOF
  4992 /* confdefs.h.  */
  4993 _ACEOF
  4994 cat confdefs.h >>conftest.$ac_ext
  4995 cat >>conftest.$ac_ext <<_ACEOF
  4996 /* end confdefs.h.  */
  4997 $ac_includes_default
  4999 #include <$ac_header>
  5000 _ACEOF
  5001 rm -f conftest.$ac_objext
  5002 if { (ac_try="$ac_compile"
  5003 case "(($ac_try" in
  5004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5005   *) ac_try_echo=$ac_try;;
  5006 esac
  5007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5008   (eval "$ac_compile") 2>conftest.er1
  5009   ac_status=$?
  5010   grep -v '^ *+' conftest.er1 >conftest.err
  5011   rm -f conftest.er1
  5012   cat conftest.err >&5
  5013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5014   (exit $ac_status); } && {
  5015 	 test -z "$ac_c_werror_flag" ||
  5016 	 test ! -s conftest.err
  5017        } && test -s conftest.$ac_objext; then
  5018   eval "$as_ac_Header=yes"
  5019 else
  5020   echo "$as_me: failed program was:" >&5
  5021 sed 's/^/| /' conftest.$ac_ext >&5
  5023 	eval "$as_ac_Header=no"
  5024 fi
  5026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5027 fi
  5028 ac_res=`eval echo '${'$as_ac_Header'}'`
  5029 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  5030 echo "${ECHO_T}$ac_res" >&6; }
  5031 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  5032   cat >>confdefs.h <<_ACEOF
  5033 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5034 _ACEOF
  5036 fi
  5038 done
  5041 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
  5042   { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
  5043 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
  5044 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
  5045   echo $ECHO_N "(cached) $ECHO_C" >&6
  5046 fi
  5047 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
  5048 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
  5049 else
  5050   # Is the header compilable?
  5051 { echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
  5052 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; }
  5053 cat >conftest.$ac_ext <<_ACEOF
  5054 /* confdefs.h.  */
  5055 _ACEOF
  5056 cat confdefs.h >>conftest.$ac_ext
  5057 cat >>conftest.$ac_ext <<_ACEOF
  5058 /* end confdefs.h.  */
  5059 $ac_includes_default
  5060 #include <Carbon/Carbon.h>
  5061 _ACEOF
  5062 rm -f conftest.$ac_objext
  5063 if { (ac_try="$ac_compile"
  5064 case "(($ac_try" in
  5065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5066   *) ac_try_echo=$ac_try;;
  5067 esac
  5068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5069   (eval "$ac_compile") 2>conftest.er1
  5070   ac_status=$?
  5071   grep -v '^ *+' conftest.er1 >conftest.err
  5072   rm -f conftest.er1
  5073   cat conftest.err >&5
  5074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5075   (exit $ac_status); } && {
  5076 	 test -z "$ac_c_werror_flag" ||
  5077 	 test ! -s conftest.err
  5078        } && test -s conftest.$ac_objext; then
  5079   ac_header_compiler=yes
  5080 else
  5081   echo "$as_me: failed program was:" >&5
  5082 sed 's/^/| /' conftest.$ac_ext >&5
  5084 	ac_header_compiler=no
  5085 fi
  5087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5088 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5089 echo "${ECHO_T}$ac_header_compiler" >&6; }
  5091 # Is the header present?
  5092 { echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
  5093 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; }
  5094 cat >conftest.$ac_ext <<_ACEOF
  5095 /* confdefs.h.  */
  5096 _ACEOF
  5097 cat confdefs.h >>conftest.$ac_ext
  5098 cat >>conftest.$ac_ext <<_ACEOF
  5099 /* end confdefs.h.  */
  5100 #include <Carbon/Carbon.h>
  5101 _ACEOF
  5102 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5103 case "(($ac_try" in
  5104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5105   *) ac_try_echo=$ac_try;;
  5106 esac
  5107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5108   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5109   ac_status=$?
  5110   grep -v '^ *+' conftest.er1 >conftest.err
  5111   rm -f conftest.er1
  5112   cat conftest.err >&5
  5113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5114   (exit $ac_status); } >/dev/null && {
  5115 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5116 	 test ! -s conftest.err
  5117        }; then
  5118   ac_header_preproc=yes
  5119 else
  5120   echo "$as_me: failed program was:" >&5
  5121 sed 's/^/| /' conftest.$ac_ext >&5
  5123   ac_header_preproc=no
  5124 fi
  5126 rm -f conftest.err conftest.$ac_ext
  5127 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5128 echo "${ECHO_T}$ac_header_preproc" >&6; }
  5130 # So?  What about this header?
  5131 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5132   yes:no: )
  5133     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
  5134 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  5135     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
  5136 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
  5137     ac_header_preproc=yes
  5138     ;;
  5139   no:yes:* )
  5140     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
  5141 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
  5142     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h:     check for missing prerequisite headers?" >&5
  5143 echo "$as_me: WARNING: Carbon/Carbon.h:     check for missing prerequisite headers?" >&2;}
  5144     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
  5145 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
  5146     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h:     section \"Present But Cannot Be Compiled\"" >&5
  5147 echo "$as_me: WARNING: Carbon/Carbon.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  5148     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
  5149 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
  5150     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
  5151 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
  5153     ;;
  5154 esac
  5155 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
  5156 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
  5157 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
  5158   echo $ECHO_N "(cached) $ECHO_C" >&6
  5159 else
  5160   ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
  5161 fi
  5162 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
  5163 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
  5165 fi
  5166 if test $ac_cv_header_Carbon_Carbon_h = yes; then
  5168    HAVE_CARBON='yes'
  5169    APPLE_BUILD='yes'
  5170    LIBS="$LIBS -framework OpenGL -framework AGL -framework Carbon -L/usr/X11R6/lib -lGL"
  5172 cat >>confdefs.h <<\_ACEOF
  5173 #define HAVE_CARBON 1
  5174 _ACEOF
  5177 cat >>confdefs.h <<\_ACEOF
  5178 #define APPLE_BUILD 1
  5179 _ACEOF
  5182 fi
  5188 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  5189 	if test -n "$ac_tool_prefix"; then
  5190   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  5191 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  5192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5194 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  5195   echo $ECHO_N "(cached) $ECHO_C" >&6
  5196 else
  5197   case $PKG_CONFIG in
  5198   [\\/]* | ?:[\\/]*)
  5199   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  5200   ;;
  5201   *)
  5202   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5203 for as_dir in $PATH
  5204 do
  5205   IFS=$as_save_IFS
  5206   test -z "$as_dir" && as_dir=.
  5207   for ac_exec_ext in '' $ac_executable_extensions; do
  5208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5209     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  5210     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5211     break 2
  5212   fi
  5213 done
  5214 done
  5215 IFS=$as_save_IFS
  5217   ;;
  5218 esac
  5219 fi
  5220 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  5221 if test -n "$PKG_CONFIG"; then
  5222   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  5223 echo "${ECHO_T}$PKG_CONFIG" >&6; }
  5224 else
  5225   { echo "$as_me:$LINENO: result: no" >&5
  5226 echo "${ECHO_T}no" >&6; }
  5227 fi
  5230 fi
  5231 if test -z "$ac_cv_path_PKG_CONFIG"; then
  5232   ac_pt_PKG_CONFIG=$PKG_CONFIG
  5233   # Extract the first word of "pkg-config", so it can be a program name with args.
  5234 set dummy pkg-config; ac_word=$2
  5235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5237 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  5238   echo $ECHO_N "(cached) $ECHO_C" >&6
  5239 else
  5240   case $ac_pt_PKG_CONFIG in
  5241   [\\/]* | ?:[\\/]*)
  5242   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  5243   ;;
  5244   *)
  5245   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5246 for as_dir in $PATH
  5247 do
  5248   IFS=$as_save_IFS
  5249   test -z "$as_dir" && as_dir=.
  5250   for ac_exec_ext in '' $ac_executable_extensions; do
  5251   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5252     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  5253     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5254     break 2
  5255   fi
  5256 done
  5257 done
  5258 IFS=$as_save_IFS
  5260   ;;
  5261 esac
  5262 fi
  5263 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  5264 if test -n "$ac_pt_PKG_CONFIG"; then
  5265   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
  5266 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
  5267 else
  5268   { echo "$as_me:$LINENO: result: no" >&5
  5269 echo "${ECHO_T}no" >&6; }
  5270 fi
  5272   if test "x$ac_pt_PKG_CONFIG" = x; then
  5273     PKG_CONFIG=""
  5274   else
  5275     case $cross_compiling:$ac_tool_warned in
  5276 yes:)
  5277 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5278 whose name does not start with the host triplet.  If you think this
  5279 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5280 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5281 whose name does not start with the host triplet.  If you think this
  5282 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5283 ac_tool_warned=yes ;;
  5284 esac
  5285     PKG_CONFIG=$ac_pt_PKG_CONFIG
  5286   fi
  5287 else
  5288   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  5289 fi
  5291 fi
  5292 if test -n "$PKG_CONFIG"; then
  5293 	_pkg_min_version=0.9.0
  5294 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
  5295 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
  5296 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  5297 		{ echo "$as_me:$LINENO: result: yes" >&5
  5298 echo "${ECHO_T}yes" >&6; }
  5299 	else
  5300 		{ echo "$as_me:$LINENO: result: no" >&5
  5301 echo "${ECHO_T}no" >&6; }
  5302 		PKG_CONFIG=""
  5303 	fi
  5305 fi
  5307 pkg_failed=no
  5308 { echo "$as_me:$LINENO: checking for LIBPNG" >&5
  5309 echo $ECHO_N "checking for LIBPNG... $ECHO_C" >&6; }
  5311 if test -n "$PKG_CONFIG"; then
  5312     if test -n "$LIBPNG_CFLAGS"; then
  5313         pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
  5314     else
  5315         if test -n "$PKG_CONFIG" && \
  5316     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  5317   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  5318   ac_status=$?
  5319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5320   (exit $ac_status); }; then
  5321   pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
  5322 else
  5323   pkg_failed=yes
  5324 fi
  5325     fi
  5326 else
  5327 	pkg_failed=untried
  5328 fi
  5329 if test -n "$PKG_CONFIG"; then
  5330     if test -n "$LIBPNG_LIBS"; then
  5331         pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
  5332     else
  5333         if test -n "$PKG_CONFIG" && \
  5334     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  5335   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  5336   ac_status=$?
  5337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5338   (exit $ac_status); }; then
  5339   pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
  5340 else
  5341   pkg_failed=yes
  5342 fi
  5343     fi
  5344 else
  5345 	pkg_failed=untried
  5346 fi
  5350 if test $pkg_failed = yes; then
  5352 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  5353         _pkg_short_errors_supported=yes
  5354 else
  5355         _pkg_short_errors_supported=no
  5356 fi
  5357         if test $_pkg_short_errors_supported = yes; then
  5358 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng "`
  5359         else
  5360 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng "`
  5361         fi
  5362 	# Put the nasty error message in config.log where it belongs
  5363 	echo "$LIBPNG_PKG_ERRORS" >&5
  5365 	{ { echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
  5367 $LIBPNG_PKG_ERRORS
  5369 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5370 installed software in a non-standard prefix.
  5372 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  5373 and LIBPNG_LIBS to avoid the need to call pkg-config.
  5374 See the pkg-config man page for more details.
  5375 " >&5
  5376 echo "$as_me: error: Package requirements (libpng ) were not met:
  5378 $LIBPNG_PKG_ERRORS
  5380 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5381 installed software in a non-standard prefix.
  5383 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  5384 and LIBPNG_LIBS to avoid the need to call pkg-config.
  5385 See the pkg-config man page for more details.
  5386 " >&2;}
  5387    { (exit 1); exit 1; }; }
  5388 elif test $pkg_failed = untried; then
  5389 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  5390 is in your PATH or set the PKG_CONFIG environment variable to the full
  5391 path to pkg-config.
  5393 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  5394 and LIBPNG_LIBS to avoid the need to call pkg-config.
  5395 See the pkg-config man page for more details.
  5397 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5398 See \`config.log' for more details." >&5
  5399 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  5400 is in your PATH or set the PKG_CONFIG environment variable to the full
  5401 path to pkg-config.
  5403 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  5404 and LIBPNG_LIBS to avoid the need to call pkg-config.
  5405 See the pkg-config man page for more details.
  5407 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5408 See \`config.log' for more details." >&2;}
  5409    { (exit 1); exit 1; }; }
  5410 else
  5411 	LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
  5412 	LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
  5413         { echo "$as_me:$LINENO: result: yes" >&5
  5414 echo "${ECHO_T}yes" >&6; }
  5416 fi
  5419 { echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
  5420 echo $ECHO_N "checking for uncompress in -lz... $ECHO_C" >&6; }
  5421 if test "${ac_cv_lib_z_uncompress+set}" = set; then
  5422   echo $ECHO_N "(cached) $ECHO_C" >&6
  5423 else
  5424   ac_check_lib_save_LIBS=$LIBS
  5425 LIBS="-lz  $LIBS"
  5426 cat >conftest.$ac_ext <<_ACEOF
  5427 /* confdefs.h.  */
  5428 _ACEOF
  5429 cat confdefs.h >>conftest.$ac_ext
  5430 cat >>conftest.$ac_ext <<_ACEOF
  5431 /* end confdefs.h.  */
  5433 /* Override any GCC internal prototype to avoid an error.
  5434    Use char because int might match the return type of a GCC
  5435    builtin and then its argument prototype would still apply.  */
  5436 #ifdef __cplusplus
  5437 extern "C"
  5438 #endif
  5439 char uncompress ();
  5440 int
  5441 main ()
  5443 return uncompress ();
  5445   return 0;
  5447 _ACEOF
  5448 rm -f conftest.$ac_objext conftest$ac_exeext
  5449 if { (ac_try="$ac_link"
  5450 case "(($ac_try" in
  5451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5452   *) ac_try_echo=$ac_try;;
  5453 esac
  5454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5455   (eval "$ac_link") 2>conftest.er1
  5456   ac_status=$?
  5457   grep -v '^ *+' conftest.er1 >conftest.err
  5458   rm -f conftest.er1
  5459   cat conftest.err >&5
  5460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5461   (exit $ac_status); } && {
  5462 	 test -z "$ac_c_werror_flag" ||
  5463 	 test ! -s conftest.err
  5464        } && test -s conftest$ac_exeext &&
  5465        $as_test_x conftest$ac_exeext; then
  5466   ac_cv_lib_z_uncompress=yes
  5467 else
  5468   echo "$as_me: failed program was:" >&5
  5469 sed 's/^/| /' conftest.$ac_ext >&5
  5471 	ac_cv_lib_z_uncompress=no
  5472 fi
  5474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5475       conftest$ac_exeext conftest.$ac_ext
  5476 LIBS=$ac_check_lib_save_LIBS
  5477 fi
  5478 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
  5479 echo "${ECHO_T}$ac_cv_lib_z_uncompress" >&6; }
  5480 if test $ac_cv_lib_z_uncompress = yes; then
  5481   cat >>confdefs.h <<_ACEOF
  5482 #define HAVE_LIBZ 1
  5483 _ACEOF
  5485   LIBS="-lz $LIBS"
  5487 else
  5489     echo "Zlib (libz.so) could not be found, but is required."
  5490     exit 1
  5491 fi
  5494 if test "$APPLE_BUILD" != 'yes'; then
  5496 { echo "$as_me:$LINENO: checking for glXQueryVersion in -lGL" >&5
  5497 echo $ECHO_N "checking for glXQueryVersion in -lGL... $ECHO_C" >&6; }
  5498 if test "${ac_cv_lib_GL_glXQueryVersion+set}" = set; then
  5499   echo $ECHO_N "(cached) $ECHO_C" >&6
  5500 else
  5501   ac_check_lib_save_LIBS=$LIBS
  5502 LIBS="-lGL  $LIBS"
  5503 cat >conftest.$ac_ext <<_ACEOF
  5504 /* confdefs.h.  */
  5505 _ACEOF
  5506 cat confdefs.h >>conftest.$ac_ext
  5507 cat >>conftest.$ac_ext <<_ACEOF
  5508 /* end confdefs.h.  */
  5510 /* Override any GCC internal prototype to avoid an error.
  5511    Use char because int might match the return type of a GCC
  5512    builtin and then its argument prototype would still apply.  */
  5513 #ifdef __cplusplus
  5514 extern "C"
  5515 #endif
  5516 char glXQueryVersion ();
  5517 int
  5518 main ()
  5520 return glXQueryVersion ();
  5522   return 0;
  5524 _ACEOF
  5525 rm -f conftest.$ac_objext conftest$ac_exeext
  5526 if { (ac_try="$ac_link"
  5527 case "(($ac_try" in
  5528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5529   *) ac_try_echo=$ac_try;;
  5530 esac
  5531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5532   (eval "$ac_link") 2>conftest.er1
  5533   ac_status=$?
  5534   grep -v '^ *+' conftest.er1 >conftest.err
  5535   rm -f conftest.er1
  5536   cat conftest.err >&5
  5537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5538   (exit $ac_status); } && {
  5539 	 test -z "$ac_c_werror_flag" ||
  5540 	 test ! -s conftest.err
  5541        } && test -s conftest$ac_exeext &&
  5542        $as_test_x conftest$ac_exeext; then
  5543   ac_cv_lib_GL_glXQueryVersion=yes
  5544 else
  5545   echo "$as_me: failed program was:" >&5
  5546 sed 's/^/| /' conftest.$ac_ext >&5
  5548 	ac_cv_lib_GL_glXQueryVersion=no
  5549 fi
  5551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5552       conftest$ac_exeext conftest.$ac_ext
  5553 LIBS=$ac_check_lib_save_LIBS
  5554 fi
  5555 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXQueryVersion" >&5
  5556 echo "${ECHO_T}$ac_cv_lib_GL_glXQueryVersion" >&6; }
  5557 if test $ac_cv_lib_GL_glXQueryVersion = yes; then
  5558   cat >>confdefs.h <<_ACEOF
  5559 #define HAVE_LIBGL 1
  5560 _ACEOF
  5562   LIBS="-lGL $LIBS"
  5564 else
  5566     echo "The OpenGL library (libGL.so) could not be found, but is required."
  5567     exit 1
  5568 fi
  5570 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  5571   { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  5572 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
  5573 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  5574   echo $ECHO_N "(cached) $ECHO_C" >&6
  5575 fi
  5576 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  5577 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
  5578 else
  5579   # Is the header compilable?
  5580 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
  5581 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
  5582 cat >conftest.$ac_ext <<_ACEOF
  5583 /* confdefs.h.  */
  5584 _ACEOF
  5585 cat confdefs.h >>conftest.$ac_ext
  5586 cat >>conftest.$ac_ext <<_ACEOF
  5587 /* end confdefs.h.  */
  5588 $ac_includes_default
  5589 #include <GL/gl.h>
  5590 _ACEOF
  5591 rm -f conftest.$ac_objext
  5592 if { (ac_try="$ac_compile"
  5593 case "(($ac_try" in
  5594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5595   *) ac_try_echo=$ac_try;;
  5596 esac
  5597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5598   (eval "$ac_compile") 2>conftest.er1
  5599   ac_status=$?
  5600   grep -v '^ *+' conftest.er1 >conftest.err
  5601   rm -f conftest.er1
  5602   cat conftest.err >&5
  5603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5604   (exit $ac_status); } && {
  5605 	 test -z "$ac_c_werror_flag" ||
  5606 	 test ! -s conftest.err
  5607        } && test -s conftest.$ac_objext; then
  5608   ac_header_compiler=yes
  5609 else
  5610   echo "$as_me: failed program was:" >&5
  5611 sed 's/^/| /' conftest.$ac_ext >&5
  5613 	ac_header_compiler=no
  5614 fi
  5616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5617 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5618 echo "${ECHO_T}$ac_header_compiler" >&6; }
  5620 # Is the header present?
  5621 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
  5622 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
  5623 cat >conftest.$ac_ext <<_ACEOF
  5624 /* confdefs.h.  */
  5625 _ACEOF
  5626 cat confdefs.h >>conftest.$ac_ext
  5627 cat >>conftest.$ac_ext <<_ACEOF
  5628 /* end confdefs.h.  */
  5629 #include <GL/gl.h>
  5630 _ACEOF
  5631 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5632 case "(($ac_try" in
  5633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5634   *) ac_try_echo=$ac_try;;
  5635 esac
  5636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5637   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5638   ac_status=$?
  5639   grep -v '^ *+' conftest.er1 >conftest.err
  5640   rm -f conftest.er1
  5641   cat conftest.err >&5
  5642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5643   (exit $ac_status); } >/dev/null && {
  5644 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5645 	 test ! -s conftest.err
  5646        }; then
  5647   ac_header_preproc=yes
  5648 else
  5649   echo "$as_me: failed program was:" >&5
  5650 sed 's/^/| /' conftest.$ac_ext >&5
  5652   ac_header_preproc=no
  5653 fi
  5655 rm -f conftest.err conftest.$ac_ext
  5656 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5657 echo "${ECHO_T}$ac_header_preproc" >&6; }
  5659 # So?  What about this header?
  5660 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5661   yes:no: )
  5662     { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  5663 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  5664     { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
  5665 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
  5666     ac_header_preproc=yes
  5667     ;;
  5668   no:yes:* )
  5669     { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
  5670 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
  5671     { echo "$as_me:$LINENO: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&5
  5672 echo "$as_me: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&2;}
  5673     { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
  5674 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
  5675     { echo "$as_me:$LINENO: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&5
  5676 echo "$as_me: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  5677     { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
  5678 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
  5679     { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
  5680 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
  5682     ;;
  5683 esac
  5684 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  5685 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
  5686 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  5687   echo $ECHO_N "(cached) $ECHO_C" >&6
  5688 else
  5689   ac_cv_header_GL_gl_h=$ac_header_preproc
  5690 fi
  5691 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  5692 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
  5694 fi
  5695 if test $ac_cv_header_GL_gl_h = yes; then
  5697 else
  5699     echo "The OpenGL header files (eg GL/gl.h) could not be found, but are required."
  5700     exit 1
  5701 fi
  5704 fi
  5707 pkg_failed=no
  5708 { echo "$as_me:$LINENO: checking for GTK" >&5
  5709 echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
  5711 if test -n "$PKG_CONFIG"; then
  5712     if test -n "$GTK_CFLAGS"; then
  5713         pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
  5714     else
  5715         if test -n "$PKG_CONFIG" && \
  5716     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  5717   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  5718   ac_status=$?
  5719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5720   (exit $ac_status); }; then
  5721   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
  5722 else
  5723   pkg_failed=yes
  5724 fi
  5725     fi
  5726 else
  5727 	pkg_failed=untried
  5728 fi
  5729 if test -n "$PKG_CONFIG"; then
  5730     if test -n "$GTK_LIBS"; then
  5731         pkg_cv_GTK_LIBS="$GTK_LIBS"
  5732     else
  5733         if test -n "$PKG_CONFIG" && \
  5734     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  5735   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  5736   ac_status=$?
  5737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5738   (exit $ac_status); }; then
  5739   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
  5740 else
  5741   pkg_failed=yes
  5742 fi
  5743     fi
  5744 else
  5745 	pkg_failed=untried
  5746 fi
  5750 if test $pkg_failed = yes; then
  5752 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  5753         _pkg_short_errors_supported=yes
  5754 else
  5755         _pkg_short_errors_supported=no
  5756 fi
  5757         if test $_pkg_short_errors_supported = yes; then
  5758 	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
  5759         else
  5760 	        GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
  5761         fi
  5762 	# Put the nasty error message in config.log where it belongs
  5763 	echo "$GTK_PKG_ERRORS" >&5
  5765 	{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
  5767 $GTK_PKG_ERRORS
  5769 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5770 installed software in a non-standard prefix.
  5772 Alternatively, you may set the environment variables GTK_CFLAGS
  5773 and GTK_LIBS to avoid the need to call pkg-config.
  5774 See the pkg-config man page for more details.
  5775 " >&5
  5776 echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
  5778 $GTK_PKG_ERRORS
  5780 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5781 installed software in a non-standard prefix.
  5783 Alternatively, you may set the environment variables GTK_CFLAGS
  5784 and GTK_LIBS to avoid the need to call pkg-config.
  5785 See the pkg-config man page for more details.
  5786 " >&2;}
  5787    { (exit 1); exit 1; }; }
  5788 elif test $pkg_failed = untried; then
  5789 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  5790 is in your PATH or set the PKG_CONFIG environment variable to the full
  5791 path to pkg-config.
  5793 Alternatively, you may set the environment variables GTK_CFLAGS
  5794 and GTK_LIBS to avoid the need to call pkg-config.
  5795 See the pkg-config man page for more details.
  5797 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5798 See \`config.log' for more details." >&5
  5799 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  5800 is in your PATH or set the PKG_CONFIG environment variable to the full
  5801 path to pkg-config.
  5803 Alternatively, you may set the environment variables GTK_CFLAGS
  5804 and GTK_LIBS to avoid the need to call pkg-config.
  5805 See the pkg-config man page for more details.
  5807 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5808 See \`config.log' for more details." >&2;}
  5809    { (exit 1); exit 1; }; }
  5810 else
  5811 	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
  5812 	GTK_LIBS=$pkg_cv_GTK_LIBS
  5813         { echo "$as_me:$LINENO: result: yes" >&5
  5814 echo "${ECHO_T}yes" >&6; }
  5816     HAVE_GTK='yes'
  5818 cat >>confdefs.h <<\_ACEOF
  5819 #define HAVE_GTK 1
  5820 _ACEOF
  5823 fi
  5827 if test "$HAVE_CARBON" = 'yes'; then
  5828   GUI_CARBON_TRUE=
  5829   GUI_CARBON_FALSE='#'
  5830 else
  5831   GUI_CARBON_TRUE='#'
  5832   GUI_CARBON_FALSE=
  5833 fi
  5837 if test "$HAVE_GTK" = 'yes'; then
  5838   GUI_GTK_TRUE=
  5839   GUI_GTK_FALSE='#'
  5840 else
  5841   GUI_GTK_TRUE='#'
  5842   GUI_GTK_FALSE=
  5843 fi
  5846 case $host_cpu in
  5847     i386|i486|i586|i686)
  5848 	SH4_TRANSLATOR="x86"
  5850 cat >>confdefs.h <<_ACEOF
  5851 #define SH4_TRANSLATOR TARGET_X86
  5852 _ACEOF
  5853 ;;
  5854     x86_64)
  5855 	SH4_TRANSLATOR="x86_64"
  5857 cat >>confdefs.h <<_ACEOF
  5858 #define SH4_TRANSLATOR TARGET_X86_64
  5859 _ACEOF
  5860 ;;
  5861     *)
  5862 	echo "Warning: No translator available for $host. Building emulation core only";;
  5863 esac
  5866 if test "$SH4_TRANSLATOR" = "x86" -o "$SH4_TRANSLATOR" = "x86_64"; then
  5867   BUILD_SH4X86_TRUE=
  5868   BUILD_SH4X86_FALSE='#'
  5869 else
  5870   BUILD_SH4X86_TRUE='#'
  5871   BUILD_SH4X86_FALSE=
  5872 fi
  5876 pkg_failed=no
  5877 { echo "$as_me:$LINENO: checking for ESOUND" >&5
  5878 echo $ECHO_N "checking for ESOUND... $ECHO_C" >&6; }
  5880 if test -n "$PKG_CONFIG"; then
  5881     if test -n "$ESOUND_CFLAGS"; then
  5882         pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
  5883     else
  5884         if test -n "$PKG_CONFIG" && \
  5885     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
  5886   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
  5887   ac_status=$?
  5888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5889   (exit $ac_status); }; then
  5890   pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
  5891 else
  5892   pkg_failed=yes
  5893 fi
  5894     fi
  5895 else
  5896 	pkg_failed=untried
  5897 fi
  5898 if test -n "$PKG_CONFIG"; then
  5899     if test -n "$ESOUND_LIBS"; then
  5900         pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
  5901     else
  5902         if test -n "$PKG_CONFIG" && \
  5903     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
  5904   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
  5905   ac_status=$?
  5906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5907   (exit $ac_status); }; then
  5908   pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
  5909 else
  5910   pkg_failed=yes
  5911 fi
  5912     fi
  5913 else
  5914 	pkg_failed=untried
  5915 fi
  5919 if test $pkg_failed = yes; then
  5921 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  5922         _pkg_short_errors_supported=yes
  5923 else
  5924         _pkg_short_errors_supported=no
  5925 fi
  5926         if test $_pkg_short_errors_supported = yes; then
  5927 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "esound"`
  5928         else
  5929 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "esound"`
  5930         fi
  5931 	# Put the nasty error message in config.log where it belongs
  5932 	echo "$ESOUND_PKG_ERRORS" >&5
  5934 	 echo "Warning: esound not found - building without audio support"
  5935 elif test $pkg_failed = untried; then
  5936 	 echo "Warning: esound not found - building without audio support"
  5937 else
  5938 	ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
  5939 	ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
  5940         { echo "$as_me:$LINENO: result: yes" >&5
  5941 echo "${ECHO_T}yes" >&6; }
  5943      HAVE_ESOUND='yes'
  5945 cat >>confdefs.h <<\_ACEOF
  5946 #define HAVE_ESOUND 1
  5947 _ACEOF
  5949 fi
  5952 if test "$HAVE_ESOUND" = 'yes' ; then
  5953   AUDIO_ESOUND_TRUE=
  5954   AUDIO_ESOUND_FALSE='#'
  5955 else
  5956   AUDIO_ESOUND_TRUE='#'
  5957   AUDIO_ESOUND_FALSE=
  5958 fi
  5961 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  5962   { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
  5963 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
  5964 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  5965   echo $ECHO_N "(cached) $ECHO_C" >&6
  5966 fi
  5967 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
  5968 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
  5969 else
  5970   # Is the header compilable?
  5971 { echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
  5972 echo $ECHO_N "checking linux/cdrom.h usability... $ECHO_C" >&6; }
  5973 cat >conftest.$ac_ext <<_ACEOF
  5974 /* confdefs.h.  */
  5975 _ACEOF
  5976 cat confdefs.h >>conftest.$ac_ext
  5977 cat >>conftest.$ac_ext <<_ACEOF
  5978 /* end confdefs.h.  */
  5979 $ac_includes_default
  5980 #include <linux/cdrom.h>
  5981 _ACEOF
  5982 rm -f conftest.$ac_objext
  5983 if { (ac_try="$ac_compile"
  5984 case "(($ac_try" in
  5985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5986   *) ac_try_echo=$ac_try;;
  5987 esac
  5988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5989   (eval "$ac_compile") 2>conftest.er1
  5990   ac_status=$?
  5991   grep -v '^ *+' conftest.er1 >conftest.err
  5992   rm -f conftest.er1
  5993   cat conftest.err >&5
  5994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5995   (exit $ac_status); } && {
  5996 	 test -z "$ac_c_werror_flag" ||
  5997 	 test ! -s conftest.err
  5998        } && test -s conftest.$ac_objext; then
  5999   ac_header_compiler=yes
  6000 else
  6001   echo "$as_me: failed program was:" >&5
  6002 sed 's/^/| /' conftest.$ac_ext >&5
  6004 	ac_header_compiler=no
  6005 fi
  6007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6008 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6009 echo "${ECHO_T}$ac_header_compiler" >&6; }
  6011 # Is the header present?
  6012 { echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
  6013 echo $ECHO_N "checking linux/cdrom.h presence... $ECHO_C" >&6; }
  6014 cat >conftest.$ac_ext <<_ACEOF
  6015 /* confdefs.h.  */
  6016 _ACEOF
  6017 cat confdefs.h >>conftest.$ac_ext
  6018 cat >>conftest.$ac_ext <<_ACEOF
  6019 /* end confdefs.h.  */
  6020 #include <linux/cdrom.h>
  6021 _ACEOF
  6022 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6023 case "(($ac_try" in
  6024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6025   *) ac_try_echo=$ac_try;;
  6026 esac
  6027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6028   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6029   ac_status=$?
  6030   grep -v '^ *+' conftest.er1 >conftest.err
  6031   rm -f conftest.er1
  6032   cat conftest.err >&5
  6033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6034   (exit $ac_status); } >/dev/null && {
  6035 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6036 	 test ! -s conftest.err
  6037        }; then
  6038   ac_header_preproc=yes
  6039 else
  6040   echo "$as_me: failed program was:" >&5
  6041 sed 's/^/| /' conftest.$ac_ext >&5
  6043   ac_header_preproc=no
  6044 fi
  6046 rm -f conftest.err conftest.$ac_ext
  6047 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6048 echo "${ECHO_T}$ac_header_preproc" >&6; }
  6050 # So?  What about this header?
  6051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6052   yes:no: )
  6053     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
  6054 echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6055     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
  6056 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
  6057     ac_header_preproc=yes
  6058     ;;
  6059   no:yes:* )
  6060     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
  6061 echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
  6062     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&5
  6063 echo "$as_me: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&2;}
  6064     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
  6065 echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
  6066     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&5
  6067 echo "$as_me: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  6068     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
  6069 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
  6070     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
  6071 echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
  6073     ;;
  6074 esac
  6075 { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
  6076 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
  6077 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  6078   echo $ECHO_N "(cached) $ECHO_C" >&6
  6079 else
  6080   ac_cv_header_linux_cdrom_h=$ac_header_preproc
  6081 fi
  6082 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
  6083 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
  6085 fi
  6086 if test $ac_cv_header_linux_cdrom_h = yes; then
  6087   HAVE_LINUX_CDROM_H=yes
  6088 else
  6090     echo "Linux CDROM support not found, building without it."
  6091 fi
  6096 if test "$HAVE_LINUX_CDROM_H" = "yes"; then
  6097   CDROM_LINUX_TRUE=
  6098   CDROM_LINUX_FALSE='#'
  6099 else
  6100   CDROM_LINUX_TRUE='#'
  6101   CDROM_LINUX_FALSE=
  6102 fi
  6105 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
  6106 set dummy sh-elf-gcc; ac_word=$2
  6107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6109 if test "${ac_cv_path_SHCC+set}" = set; then
  6110   echo $ECHO_N "(cached) $ECHO_C" >&6
  6111 else
  6112   case $SHCC in
  6113   [\\/]* | ?:[\\/]*)
  6114   ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
  6115   ;;
  6116   *)
  6117   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6118 for as_dir in $PATH
  6119 do
  6120   IFS=$as_save_IFS
  6121   test -z "$as_dir" && as_dir=.
  6122   for ac_exec_ext in '' $ac_executable_extensions; do
  6123   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6124     ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
  6125     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6126     break 2
  6127   fi
  6128 done
  6129 done
  6130 IFS=$as_save_IFS
  6132   ;;
  6133 esac
  6134 fi
  6135 SHCC=$ac_cv_path_SHCC
  6136 if test -n "$SHCC"; then
  6137   { echo "$as_me:$LINENO: result: $SHCC" >&5
  6138 echo "${ECHO_T}$SHCC" >&6; }
  6139 else
  6140   { echo "$as_me:$LINENO: result: no" >&5
  6141 echo "${ECHO_T}no" >&6; }
  6142 fi
  6145 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
  6146 set dummy sh-elf-ld; ac_word=$2
  6147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6149 if test "${ac_cv_path_SHLD+set}" = set; then
  6150   echo $ECHO_N "(cached) $ECHO_C" >&6
  6151 else
  6152   case $SHLD in
  6153   [\\/]* | ?:[\\/]*)
  6154   ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
  6155   ;;
  6156   *)
  6157   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6158 for as_dir in $PATH
  6159 do
  6160   IFS=$as_save_IFS
  6161   test -z "$as_dir" && as_dir=.
  6162   for ac_exec_ext in '' $ac_executable_extensions; do
  6163   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6164     ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
  6165     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6166     break 2
  6167   fi
  6168 done
  6169 done
  6170 IFS=$as_save_IFS
  6172   ;;
  6173 esac
  6174 fi
  6175 SHLD=$ac_cv_path_SHLD
  6176 if test -n "$SHLD"; then
  6177   { echo "$as_me:$LINENO: result: $SHLD" >&5
  6178 echo "${ECHO_T}$SHLD" >&6; }
  6179 else
  6180   { echo "$as_me:$LINENO: result: no" >&5
  6181 echo "${ECHO_T}no" >&6; }
  6182 fi
  6185 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
  6186 set dummy sh-elf-objcopy; ac_word=$2
  6187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6189 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
  6190   echo $ECHO_N "(cached) $ECHO_C" >&6
  6191 else
  6192   case $SHOBJCOPY in
  6193   [\\/]* | ?:[\\/]*)
  6194   ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
  6195   ;;
  6196   *)
  6197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6198 for as_dir in $PATH
  6199 do
  6200   IFS=$as_save_IFS
  6201   test -z "$as_dir" && as_dir=.
  6202   for ac_exec_ext in '' $ac_executable_extensions; do
  6203   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6204     ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
  6205     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6206     break 2
  6207   fi
  6208 done
  6209 done
  6210 IFS=$as_save_IFS
  6212   ;;
  6213 esac
  6214 fi
  6215 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
  6216 if test -n "$SHOBJCOPY"; then
  6217   { echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
  6218 echo "${ECHO_T}$SHOBJCOPY" >&6; }
  6219 else
  6220   { echo "$as_me:$LINENO: result: no" >&5
  6221 echo "${ECHO_T}no" >&6; }
  6222 fi
  6225 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
  6226 set dummy arm-elf-gcc; ac_word=$2
  6227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6229 if test "${ac_cv_path_ARMCC+set}" = set; then
  6230   echo $ECHO_N "(cached) $ECHO_C" >&6
  6231 else
  6232   case $ARMCC in
  6233   [\\/]* | ?:[\\/]*)
  6234   ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
  6235   ;;
  6236   *)
  6237   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6238 for as_dir in $PATH
  6239 do
  6240   IFS=$as_save_IFS
  6241   test -z "$as_dir" && as_dir=.
  6242   for ac_exec_ext in '' $ac_executable_extensions; do
  6243   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6244     ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
  6245     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6246     break 2
  6247   fi
  6248 done
  6249 done
  6250 IFS=$as_save_IFS
  6252   ;;
  6253 esac
  6254 fi
  6255 ARMCC=$ac_cv_path_ARMCC
  6256 if test -n "$ARMCC"; then
  6257   { echo "$as_me:$LINENO: result: $ARMCC" >&5
  6258 echo "${ECHO_T}$ARMCC" >&6; }
  6259 else
  6260   { echo "$as_me:$LINENO: result: no" >&5
  6261 echo "${ECHO_T}no" >&6; }
  6262 fi
  6265 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
  6266 set dummy arm-elf-ld; ac_word=$2
  6267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6269 if test "${ac_cv_path_ARMLD+set}" = set; then
  6270   echo $ECHO_N "(cached) $ECHO_C" >&6
  6271 else
  6272   case $ARMLD in
  6273   [\\/]* | ?:[\\/]*)
  6274   ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
  6275   ;;
  6276   *)
  6277   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6278 for as_dir in $PATH
  6279 do
  6280   IFS=$as_save_IFS
  6281   test -z "$as_dir" && as_dir=.
  6282   for ac_exec_ext in '' $ac_executable_extensions; do
  6283   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6284     ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
  6285     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6286     break 2
  6287   fi
  6288 done
  6289 done
  6290 IFS=$as_save_IFS
  6292   ;;
  6293 esac
  6294 fi
  6295 ARMLD=$ac_cv_path_ARMLD
  6296 if test -n "$ARMLD"; then
  6297   { echo "$as_me:$LINENO: result: $ARMLD" >&5
  6298 echo "${ECHO_T}$ARMLD" >&6; }
  6299 else
  6300   { echo "$as_me:$LINENO: result: no" >&5
  6301 echo "${ECHO_T}no" >&6; }
  6302 fi
  6305 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
  6306 set dummy arm-elf-objcopy; ac_word=$2
  6307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6309 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
  6310   echo $ECHO_N "(cached) $ECHO_C" >&6
  6311 else
  6312   case $ARMOBJCOPY in
  6313   [\\/]* | ?:[\\/]*)
  6314   ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
  6315   ;;
  6316   *)
  6317   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6318 for as_dir in $PATH
  6319 do
  6320   IFS=$as_save_IFS
  6321   test -z "$as_dir" && as_dir=.
  6322   for ac_exec_ext in '' $ac_executable_extensions; do
  6323   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6324     ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
  6325     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6326     break 2
  6327   fi
  6328 done
  6329 done
  6330 IFS=$as_save_IFS
  6332   ;;
  6333 esac
  6334 fi
  6335 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
  6336 if test -n "$ARMOBJCOPY"; then
  6337   { echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
  6338 echo "${ECHO_T}$ARMOBJCOPY" >&6; }
  6339 else
  6340   { echo "$as_me:$LINENO: result: no" >&5
  6341 echo "${ECHO_T}no" >&6; }
  6342 fi
  6346 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
  6347   BUILD_SH="no"
  6348   echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
  6349 else
  6350   BUILD_SH="yes"
  6351 fi
  6352 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
  6353   BUILD_ARM="no"
  6354   echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
  6355 else
  6356   BUILD_ARM="yes"
  6357 fi
  6360 if test "$BUILD_SH" = "yes"; then
  6361   BUILD_SYSTEST_TRUE=
  6362   BUILD_SYSTEST_FALSE='#'
  6363 else
  6364   BUILD_SYSTEST_TRUE='#'
  6365   BUILD_SYSTEST_FALSE=
  6366 fi
  6370 if test "$BUILD_ARM" = "yes"; then
  6371   BUILD_ARMTEST_TRUE=
  6372   BUILD_ARMTEST_FALSE='#'
  6373 else
  6374   BUILD_ARMTEST_TRUE='#'
  6375   BUILD_ARMTEST_FALSE=
  6376 fi
  6380 GETTEXT_PACKAGE=lxdream
  6383 cat >>confdefs.h <<_ACEOF
  6384 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
  6385 _ACEOF
  6388 ALL_LINGUAS="de pt_BR"
  6391 for ac_header in locale.h
  6392 do
  6393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6394 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6395   { echo "$as_me:$LINENO: checking for $ac_header" >&5
  6396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6397 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6398   echo $ECHO_N "(cached) $ECHO_C" >&6
  6399 fi
  6400 ac_res=`eval echo '${'$as_ac_Header'}'`
  6401 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  6402 echo "${ECHO_T}$ac_res" >&6; }
  6403 else
  6404   # Is the header compilable?
  6405 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
  6406 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  6407 cat >conftest.$ac_ext <<_ACEOF
  6408 /* confdefs.h.  */
  6409 _ACEOF
  6410 cat confdefs.h >>conftest.$ac_ext
  6411 cat >>conftest.$ac_ext <<_ACEOF
  6412 /* end confdefs.h.  */
  6413 $ac_includes_default
  6414 #include <$ac_header>
  6415 _ACEOF
  6416 rm -f conftest.$ac_objext
  6417 if { (ac_try="$ac_compile"
  6418 case "(($ac_try" in
  6419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6420   *) ac_try_echo=$ac_try;;
  6421 esac
  6422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6423   (eval "$ac_compile") 2>conftest.er1
  6424   ac_status=$?
  6425   grep -v '^ *+' conftest.er1 >conftest.err
  6426   rm -f conftest.er1
  6427   cat conftest.err >&5
  6428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6429   (exit $ac_status); } && {
  6430 	 test -z "$ac_c_werror_flag" ||
  6431 	 test ! -s conftest.err
  6432        } && test -s conftest.$ac_objext; then
  6433   ac_header_compiler=yes
  6434 else
  6435   echo "$as_me: failed program was:" >&5
  6436 sed 's/^/| /' conftest.$ac_ext >&5
  6438 	ac_header_compiler=no
  6439 fi
  6441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6442 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6443 echo "${ECHO_T}$ac_header_compiler" >&6; }
  6445 # Is the header present?
  6446 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
  6447 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  6448 cat >conftest.$ac_ext <<_ACEOF
  6449 /* confdefs.h.  */
  6450 _ACEOF
  6451 cat confdefs.h >>conftest.$ac_ext
  6452 cat >>conftest.$ac_ext <<_ACEOF
  6453 /* end confdefs.h.  */
  6454 #include <$ac_header>
  6455 _ACEOF
  6456 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6457 case "(($ac_try" in
  6458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6459   *) ac_try_echo=$ac_try;;
  6460 esac
  6461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6462   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6463   ac_status=$?
  6464   grep -v '^ *+' conftest.er1 >conftest.err
  6465   rm -f conftest.er1
  6466   cat conftest.err >&5
  6467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6468   (exit $ac_status); } >/dev/null && {
  6469 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6470 	 test ! -s conftest.err
  6471        }; then
  6472   ac_header_preproc=yes
  6473 else
  6474   echo "$as_me: failed program was:" >&5
  6475 sed 's/^/| /' conftest.$ac_ext >&5
  6477   ac_header_preproc=no
  6478 fi
  6480 rm -f conftest.err conftest.$ac_ext
  6481 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6482 echo "${ECHO_T}$ac_header_preproc" >&6; }
  6484 # So?  What about this header?
  6485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6486   yes:no: )
  6487     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  6488 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6489     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  6490 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  6491     ac_header_preproc=yes
  6492     ;;
  6493   no:yes:* )
  6494     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  6495 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  6496     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
  6497 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
  6498     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  6499 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  6500     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
  6501 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
  6502     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  6503 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  6504     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  6505 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  6507     ;;
  6508 esac
  6509 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  6510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6511 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6512   echo $ECHO_N "(cached) $ECHO_C" >&6
  6513 else
  6514   eval "$as_ac_Header=\$ac_header_preproc"
  6515 fi
  6516 ac_res=`eval echo '${'$as_ac_Header'}'`
  6517 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  6518 echo "${ECHO_T}$ac_res" >&6; }
  6520 fi
  6521 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  6522   cat >>confdefs.h <<_ACEOF
  6523 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6524 _ACEOF
  6526 fi
  6528 done
  6530     if test $ac_cv_header_locale_h = yes; then
  6531     { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
  6532 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
  6533 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
  6534   echo $ECHO_N "(cached) $ECHO_C" >&6
  6535 else
  6536   cat >conftest.$ac_ext <<_ACEOF
  6537 /* confdefs.h.  */
  6538 _ACEOF
  6539 cat confdefs.h >>conftest.$ac_ext
  6540 cat >>conftest.$ac_ext <<_ACEOF
  6541 /* end confdefs.h.  */
  6542 #include <locale.h>
  6543 int
  6544 main ()
  6546 return LC_MESSAGES
  6548   return 0;
  6550 _ACEOF
  6551 rm -f conftest.$ac_objext conftest$ac_exeext
  6552 if { (ac_try="$ac_link"
  6553 case "(($ac_try" in
  6554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6555   *) ac_try_echo=$ac_try;;
  6556 esac
  6557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6558   (eval "$ac_link") 2>conftest.er1
  6559   ac_status=$?
  6560   grep -v '^ *+' conftest.er1 >conftest.err
  6561   rm -f conftest.er1
  6562   cat conftest.err >&5
  6563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6564   (exit $ac_status); } && {
  6565 	 test -z "$ac_c_werror_flag" ||
  6566 	 test ! -s conftest.err
  6567        } && test -s conftest$ac_exeext &&
  6568        $as_test_x conftest$ac_exeext; then
  6569   am_cv_val_LC_MESSAGES=yes
  6570 else
  6571   echo "$as_me: failed program was:" >&5
  6572 sed 's/^/| /' conftest.$ac_ext >&5
  6574 	am_cv_val_LC_MESSAGES=no
  6575 fi
  6577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6578       conftest$ac_exeext conftest.$ac_ext
  6579 fi
  6580 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
  6581 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
  6582     if test $am_cv_val_LC_MESSAGES = yes; then
  6584 cat >>confdefs.h <<\_ACEOF
  6585 #define HAVE_LC_MESSAGES 1
  6586 _ACEOF
  6588     fi
  6589   fi
  6590      USE_NLS=yes
  6593     gt_cv_have_gettext=no
  6595     CATOBJEXT=NONE
  6596     XGETTEXT=:
  6597     INTLLIBS=
  6599     if test "${ac_cv_header_libintl_h+set}" = set; then
  6600   { echo "$as_me:$LINENO: checking for libintl.h" >&5
  6601 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
  6602 if test "${ac_cv_header_libintl_h+set}" = set; then
  6603   echo $ECHO_N "(cached) $ECHO_C" >&6
  6604 fi
  6605 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
  6606 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
  6607 else
  6608   # Is the header compilable?
  6609 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
  6610 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
  6611 cat >conftest.$ac_ext <<_ACEOF
  6612 /* confdefs.h.  */
  6613 _ACEOF
  6614 cat confdefs.h >>conftest.$ac_ext
  6615 cat >>conftest.$ac_ext <<_ACEOF
  6616 /* end confdefs.h.  */
  6617 $ac_includes_default
  6618 #include <libintl.h>
  6619 _ACEOF
  6620 rm -f conftest.$ac_objext
  6621 if { (ac_try="$ac_compile"
  6622 case "(($ac_try" in
  6623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6624   *) ac_try_echo=$ac_try;;
  6625 esac
  6626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6627   (eval "$ac_compile") 2>conftest.er1
  6628   ac_status=$?
  6629   grep -v '^ *+' conftest.er1 >conftest.err
  6630   rm -f conftest.er1
  6631   cat conftest.err >&5
  6632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6633   (exit $ac_status); } && {
  6634 	 test -z "$ac_c_werror_flag" ||
  6635 	 test ! -s conftest.err
  6636        } && test -s conftest.$ac_objext; then
  6637   ac_header_compiler=yes
  6638 else
  6639   echo "$as_me: failed program was:" >&5
  6640 sed 's/^/| /' conftest.$ac_ext >&5
  6642 	ac_header_compiler=no
  6643 fi
  6645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6646 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6647 echo "${ECHO_T}$ac_header_compiler" >&6; }
  6649 # Is the header present?
  6650 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
  6651 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
  6652 cat >conftest.$ac_ext <<_ACEOF
  6653 /* confdefs.h.  */
  6654 _ACEOF
  6655 cat confdefs.h >>conftest.$ac_ext
  6656 cat >>conftest.$ac_ext <<_ACEOF
  6657 /* end confdefs.h.  */
  6658 #include <libintl.h>
  6659 _ACEOF
  6660 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6661 case "(($ac_try" in
  6662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6663   *) ac_try_echo=$ac_try;;
  6664 esac
  6665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6666   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6667   ac_status=$?
  6668   grep -v '^ *+' conftest.er1 >conftest.err
  6669   rm -f conftest.er1
  6670   cat conftest.err >&5
  6671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6672   (exit $ac_status); } >/dev/null && {
  6673 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6674 	 test ! -s conftest.err
  6675        }; then
  6676   ac_header_preproc=yes
  6677 else
  6678   echo "$as_me: failed program was:" >&5
  6679 sed 's/^/| /' conftest.$ac_ext >&5
  6681   ac_header_preproc=no
  6682 fi
  6684 rm -f conftest.err conftest.$ac_ext
  6685 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6686 echo "${ECHO_T}$ac_header_preproc" >&6; }
  6688 # So?  What about this header?
  6689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6690   yes:no: )
  6691     { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  6692 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6693     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
  6694 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
  6695     ac_header_preproc=yes
  6696     ;;
  6697   no:yes:* )
  6698     { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
  6699 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
  6700     { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
  6701 echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
  6702     { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
  6703 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
  6704     { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
  6705 echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  6706     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
  6707 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
  6708     { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
  6709 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
  6711     ;;
  6712 esac
  6713 { echo "$as_me:$LINENO: checking for libintl.h" >&5
  6714 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
  6715 if test "${ac_cv_header_libintl_h+set}" = set; then
  6716   echo $ECHO_N "(cached) $ECHO_C" >&6
  6717 else
  6718   ac_cv_header_libintl_h=$ac_header_preproc
  6719 fi
  6720 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
  6721 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
  6723 fi
  6724 if test $ac_cv_header_libintl_h = yes; then
  6725   gt_cv_func_dgettext_libintl="no"
  6726       libintl_extra_libs=""
  6729       # First check in libc
  6731       { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
  6732 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
  6733 if test "${gt_cv_func_ngettext_libc+set}" = set; then
  6734   echo $ECHO_N "(cached) $ECHO_C" >&6
  6735 else
  6736   cat >conftest.$ac_ext <<_ACEOF
  6737 /* confdefs.h.  */
  6738 _ACEOF
  6739 cat confdefs.h >>conftest.$ac_ext
  6740 cat >>conftest.$ac_ext <<_ACEOF
  6741 /* end confdefs.h.  */
  6743 #include <libintl.h>
  6745 int
  6746 main ()