Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 586:2a3ba82cf243
prev542:96c5494e02fd
next614:a2d239d4438a
author nkeynes
date Tue Jan 15 20:50:23 2008 +0000 (12 years ago)
permissions -rwxr-xr-x
last change Merged lxdream-mmu r570:596 to trunk
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 CCAS
   691 CCASFLAGS
   692 CPP
   693 GREP
   694 EGREP
   695 build
   696 build_cpu
   697 build_vendor
   698 build_os
   699 host
   700 host_cpu
   701 host_vendor
   702 host_os
   703 PKG_CONFIG
   704 LIBPNG_CFLAGS
   705 LIBPNG_LIBS
   706 GTK_CFLAGS
   707 GTK_LIBS
   708 GUI_CARBON_TRUE
   709 GUI_CARBON_FALSE
   710 GUI_GTK_TRUE
   711 GUI_GTK_FALSE
   712 BUILD_SH4X86_TRUE
   713 BUILD_SH4X86_FALSE
   714 BUILD_X86_64_TRUE
   715 BUILD_X86_64_FALSE
   716 ESOUND_CFLAGS
   717 ESOUND_LIBS
   718 AUDIO_ESOUND_TRUE
   719 AUDIO_ESOUND_FALSE
   720 CDROM_LINUX_TRUE
   721 CDROM_LINUX_FALSE
   722 SHCC
   723 SHLD
   724 SHOBJCOPY
   725 ARMCC
   726 ARMLD
   727 ARMOBJCOPY
   728 BUILD_SYSTEST_TRUE
   729 BUILD_SYSTEST_FALSE
   730 BUILD_ARMTEST_TRUE
   731 BUILD_ARMTEST_FALSE
   732 GETTEXT_PACKAGE
   733 USE_NLS
   734 MSGFMT
   735 MSGFMT_OPTS
   736 GMSGFMT
   737 XGETTEXT
   738 CATALOGS
   739 CATOBJEXT
   740 DATADIRNAME
   741 GMOFILES
   742 INSTOBJEXT
   743 INTLLIBS
   744 PO_IN_DATADIR_TRUE
   745 PO_IN_DATADIR_FALSE
   746 POFILES
   747 POSUB
   748 MKINSTALLDIRS
   749 LIBOBJS
   750 LTLIBOBJS'
   751 ac_subst_files=''
   752       ac_precious_vars='build_alias
   753 host_alias
   754 target_alias
   755 CC
   756 CFLAGS
   757 LDFLAGS
   758 LIBS
   759 CPPFLAGS
   760 CPP
   761 PKG_CONFIG
   762 LIBPNG_CFLAGS
   763 LIBPNG_LIBS
   764 GTK_CFLAGS
   765 GTK_LIBS
   766 ESOUND_CFLAGS
   767 ESOUND_LIBS'
   770 # Initialize some variables set by options.
   771 ac_init_help=
   772 ac_init_version=false
   773 # The variables have the same names as the options, with
   774 # dashes changed to underlines.
   775 cache_file=/dev/null
   776 exec_prefix=NONE
   777 no_create=
   778 no_recursion=
   779 prefix=NONE
   780 program_prefix=NONE
   781 program_suffix=NONE
   782 program_transform_name=s,x,x,
   783 silent=
   784 site=
   785 srcdir=
   786 verbose=
   787 x_includes=NONE
   788 x_libraries=NONE
   790 # Installation directory options.
   791 # These are left unexpanded so users can "make install exec_prefix=/foo"
   792 # and all the variables that are supposed to be based on exec_prefix
   793 # by default will actually change.
   794 # Use braces instead of parens because sh, perl, etc. also accept them.
   795 # (The list follows the same order as the GNU Coding Standards.)
   796 bindir='${exec_prefix}/bin'
   797 sbindir='${exec_prefix}/sbin'
   798 libexecdir='${exec_prefix}/libexec'
   799 datarootdir='${prefix}/share'
   800 datadir='${datarootdir}'
   801 sysconfdir='${prefix}/etc'
   802 sharedstatedir='${prefix}/com'
   803 localstatedir='${prefix}/var'
   804 includedir='${prefix}/include'
   805 oldincludedir='/usr/include'
   806 docdir='${datarootdir}/doc/${PACKAGE}'
   807 infodir='${datarootdir}/info'
   808 htmldir='${docdir}'
   809 dvidir='${docdir}'
   810 pdfdir='${docdir}'
   811 psdir='${docdir}'
   812 libdir='${exec_prefix}/lib'
   813 localedir='${datarootdir}/locale'
   814 mandir='${datarootdir}/man'
   816 ac_prev=
   817 ac_dashdash=
   818 for ac_option
   819 do
   820   # If the previous option needs an argument, assign it.
   821   if test -n "$ac_prev"; then
   822     eval $ac_prev=\$ac_option
   823     ac_prev=
   824     continue
   825   fi
   827   case $ac_option in
   828   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   829   *)	ac_optarg=yes ;;
   830   esac
   832   # Accept the important Cygnus configure options, so we can diagnose typos.
   834   case $ac_dashdash$ac_option in
   835   --)
   836     ac_dashdash=yes ;;
   838   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   839     ac_prev=bindir ;;
   840   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   841     bindir=$ac_optarg ;;
   843   -build | --build | --buil | --bui | --bu)
   844     ac_prev=build_alias ;;
   845   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   846     build_alias=$ac_optarg ;;
   848   -cache-file | --cache-file | --cache-fil | --cache-fi \
   849   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   850     ac_prev=cache_file ;;
   851   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   852   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   853     cache_file=$ac_optarg ;;
   855   --config-cache | -C)
   856     cache_file=config.cache ;;
   858   -datadir | --datadir | --datadi | --datad)
   859     ac_prev=datadir ;;
   860   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   861     datadir=$ac_optarg ;;
   863   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   864   | --dataroo | --dataro | --datar)
   865     ac_prev=datarootdir ;;
   866   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   867   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   868     datarootdir=$ac_optarg ;;
   870   -disable-* | --disable-*)
   871     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   872     # Reject names that are not valid shell variable names.
   873     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   874       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   875    { (exit 1); exit 1; }; }
   876     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   877     eval enable_$ac_feature=no ;;
   879   -docdir | --docdir | --docdi | --doc | --do)
   880     ac_prev=docdir ;;
   881   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   882     docdir=$ac_optarg ;;
   884   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   885     ac_prev=dvidir ;;
   886   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   887     dvidir=$ac_optarg ;;
   889   -enable-* | --enable-*)
   890     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   891     # Reject names that are not valid shell variable names.
   892     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   893       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   894    { (exit 1); exit 1; }; }
   895     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   896     eval enable_$ac_feature=\$ac_optarg ;;
   898   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   899   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   900   | --exec | --exe | --ex)
   901     ac_prev=exec_prefix ;;
   902   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   903   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   904   | --exec=* | --exe=* | --ex=*)
   905     exec_prefix=$ac_optarg ;;
   907   -gas | --gas | --ga | --g)
   908     # Obsolete; use --with-gas.
   909     with_gas=yes ;;
   911   -help | --help | --hel | --he | -h)
   912     ac_init_help=long ;;
   913   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   914     ac_init_help=recursive ;;
   915   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   916     ac_init_help=short ;;
   918   -host | --host | --hos | --ho)
   919     ac_prev=host_alias ;;
   920   -host=* | --host=* | --hos=* | --ho=*)
   921     host_alias=$ac_optarg ;;
   923   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   924     ac_prev=htmldir ;;
   925   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   926   | --ht=*)
   927     htmldir=$ac_optarg ;;
   929   -includedir | --includedir | --includedi | --included | --include \
   930   | --includ | --inclu | --incl | --inc)
   931     ac_prev=includedir ;;
   932   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   933   | --includ=* | --inclu=* | --incl=* | --inc=*)
   934     includedir=$ac_optarg ;;
   936   -infodir | --infodir | --infodi | --infod | --info | --inf)
   937     ac_prev=infodir ;;
   938   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   939     infodir=$ac_optarg ;;
   941   -libdir | --libdir | --libdi | --libd)
   942     ac_prev=libdir ;;
   943   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   944     libdir=$ac_optarg ;;
   946   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   947   | --libexe | --libex | --libe)
   948     ac_prev=libexecdir ;;
   949   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   950   | --libexe=* | --libex=* | --libe=*)
   951     libexecdir=$ac_optarg ;;
   953   -localedir | --localedir | --localedi | --localed | --locale)
   954     ac_prev=localedir ;;
   955   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   956     localedir=$ac_optarg ;;
   958   -localstatedir | --localstatedir | --localstatedi | --localstated \
   959   | --localstate | --localstat | --localsta | --localst | --locals)
   960     ac_prev=localstatedir ;;
   961   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   962   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   963     localstatedir=$ac_optarg ;;
   965   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   966     ac_prev=mandir ;;
   967   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   968     mandir=$ac_optarg ;;
   970   -nfp | --nfp | --nf)
   971     # Obsolete; use --without-fp.
   972     with_fp=no ;;
   974   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   975   | --no-cr | --no-c | -n)
   976     no_create=yes ;;
   978   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   979   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   980     no_recursion=yes ;;
   982   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   983   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   984   | --oldin | --oldi | --old | --ol | --o)
   985     ac_prev=oldincludedir ;;
   986   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   987   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   988   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   989     oldincludedir=$ac_optarg ;;
   991   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   992     ac_prev=prefix ;;
   993   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   994     prefix=$ac_optarg ;;
   996   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   997   | --program-pre | --program-pr | --program-p)
   998     ac_prev=program_prefix ;;
   999   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1000   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1001     program_prefix=$ac_optarg ;;
  1003   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1004   | --program-suf | --program-su | --program-s)
  1005     ac_prev=program_suffix ;;
  1006   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1007   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1008     program_suffix=$ac_optarg ;;
  1010   -program-transform-name | --program-transform-name \
  1011   | --program-transform-nam | --program-transform-na \
  1012   | --program-transform-n | --program-transform- \
  1013   | --program-transform | --program-transfor \
  1014   | --program-transfo | --program-transf \
  1015   | --program-trans | --program-tran \
  1016   | --progr-tra | --program-tr | --program-t)
  1017     ac_prev=program_transform_name ;;
  1018   -program-transform-name=* | --program-transform-name=* \
  1019   | --program-transform-nam=* | --program-transform-na=* \
  1020   | --program-transform-n=* | --program-transform-=* \
  1021   | --program-transform=* | --program-transfor=* \
  1022   | --program-transfo=* | --program-transf=* \
  1023   | --program-trans=* | --program-tran=* \
  1024   | --progr-tra=* | --program-tr=* | --program-t=*)
  1025     program_transform_name=$ac_optarg ;;
  1027   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1028     ac_prev=pdfdir ;;
  1029   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1030     pdfdir=$ac_optarg ;;
  1032   -psdir | --psdir | --psdi | --psd | --ps)
  1033     ac_prev=psdir ;;
  1034   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1035     psdir=$ac_optarg ;;
  1037   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1038   | -silent | --silent | --silen | --sile | --sil)
  1039     silent=yes ;;
  1041   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1042     ac_prev=sbindir ;;
  1043   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1044   | --sbi=* | --sb=*)
  1045     sbindir=$ac_optarg ;;
  1047   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1048   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1049   | --sharedst | --shareds | --shared | --share | --shar \
  1050   | --sha | --sh)
  1051     ac_prev=sharedstatedir ;;
  1052   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1053   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1054   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1055   | --sha=* | --sh=*)
  1056     sharedstatedir=$ac_optarg ;;
  1058   -site | --site | --sit)
  1059     ac_prev=site ;;
  1060   -site=* | --site=* | --sit=*)
  1061     site=$ac_optarg ;;
  1063   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1064     ac_prev=srcdir ;;
  1065   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1066     srcdir=$ac_optarg ;;
  1068   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1069   | --syscon | --sysco | --sysc | --sys | --sy)
  1070     ac_prev=sysconfdir ;;
  1071   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1072   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1073     sysconfdir=$ac_optarg ;;
  1075   -target | --target | --targe | --targ | --tar | --ta | --t)
  1076     ac_prev=target_alias ;;
  1077   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1078     target_alias=$ac_optarg ;;
  1080   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1081     verbose=yes ;;
  1083   -version | --version | --versio | --versi | --vers | -V)
  1084     ac_init_version=: ;;
  1086   -with-* | --with-*)
  1087     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1088     # Reject names that are not valid shell variable names.
  1089     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1090       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1091    { (exit 1); exit 1; }; }
  1092     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1093     eval with_$ac_package=\$ac_optarg ;;
  1095   -without-* | --without-*)
  1096     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1097     # Reject names that are not valid shell variable names.
  1098     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1099       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1100    { (exit 1); exit 1; }; }
  1101     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1102     eval with_$ac_package=no ;;
  1104   --x)
  1105     # Obsolete; use --with-x.
  1106     with_x=yes ;;
  1108   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1109   | --x-incl | --x-inc | --x-in | --x-i)
  1110     ac_prev=x_includes ;;
  1111   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1112   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1113     x_includes=$ac_optarg ;;
  1115   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1116   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1117     ac_prev=x_libraries ;;
  1118   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1119   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1120     x_libraries=$ac_optarg ;;
  1122   -*) { echo "$as_me: error: unrecognized option: $ac_option
  1123 Try \`$0 --help' for more information." >&2
  1124    { (exit 1); exit 1; }; }
  1125     ;;
  1127   *=*)
  1128     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1129     # Reject names that are not valid shell variable names.
  1130     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1131       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1132    { (exit 1); exit 1; }; }
  1133     eval $ac_envvar=\$ac_optarg
  1134     export $ac_envvar ;;
  1136   *)
  1137     # FIXME: should be removed in autoconf 3.0.
  1138     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1139     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1140       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1141     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1142     ;;
  1144   esac
  1145 done
  1147 if test -n "$ac_prev"; then
  1148   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1149   { echo "$as_me: error: missing argument to $ac_option" >&2
  1150    { (exit 1); exit 1; }; }
  1151 fi
  1153 # Be sure to have absolute directory names.
  1154 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1155 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1156 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1157 		libdir localedir mandir
  1158 do
  1159   eval ac_val=\$$ac_var
  1160   case $ac_val in
  1161     [\\/$]* | ?:[\\/]* )  continue;;
  1162     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1163   esac
  1164   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1165    { (exit 1); exit 1; }; }
  1166 done
  1168 # There might be people who depend on the old broken behavior: `$host'
  1169 # used to hold the argument of --host etc.
  1170 # FIXME: To remove some day.
  1171 build=$build_alias
  1172 host=$host_alias
  1173 target=$target_alias
  1175 # FIXME: To remove some day.
  1176 if test "x$host_alias" != x; then
  1177   if test "x$build_alias" = x; then
  1178     cross_compiling=maybe
  1179     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1180     If a cross compiler is detected then cross compile mode will be used." >&2
  1181   elif test "x$build_alias" != "x$host_alias"; then
  1182     cross_compiling=yes
  1183   fi
  1184 fi
  1186 ac_tool_prefix=
  1187 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1189 test "$silent" = yes && exec 6>/dev/null
  1192 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1193 ac_ls_di=`ls -di .` &&
  1194 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1195   { echo "$as_me: error: Working directory cannot be determined" >&2
  1196    { (exit 1); exit 1; }; }
  1197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1198   { echo "$as_me: error: pwd does not report name of working directory" >&2
  1199    { (exit 1); exit 1; }; }
  1202 # Find the source files, if location was not specified.
  1203 if test -z "$srcdir"; then
  1204   ac_srcdir_defaulted=yes
  1205   # Try the directory containing this script, then the parent directory.
  1206   ac_confdir=`$as_dirname -- "$0" ||
  1207 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1208 	 X"$0" : 'X\(//\)[^/]' \| \
  1209 	 X"$0" : 'X\(//\)$' \| \
  1210 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1211 echo X"$0" |
  1212     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1213 	    s//\1/
  1216 	  /^X\(\/\/\)[^/].*/{
  1217 	    s//\1/
  1220 	  /^X\(\/\/\)$/{
  1221 	    s//\1/
  1224 	  /^X\(\/\).*/{
  1225 	    s//\1/
  1228 	  s/.*/./; q'`
  1229   srcdir=$ac_confdir
  1230   if test ! -r "$srcdir/$ac_unique_file"; then
  1231     srcdir=..
  1232   fi
  1233 else
  1234   ac_srcdir_defaulted=no
  1235 fi
  1236 if test ! -r "$srcdir/$ac_unique_file"; then
  1237   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1238   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1239    { (exit 1); exit 1; }; }
  1240 fi
  1241 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1242 ac_abs_confdir=`(
  1243 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1244    { (exit 1); exit 1; }; }
  1245 	pwd)`
  1246 # When building in place, set srcdir=.
  1247 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1248   srcdir=.
  1249 fi
  1250 # Remove unnecessary trailing slashes from srcdir.
  1251 # Double slashes in file names in object file debugging info
  1252 # mess up M-x gdb in Emacs.
  1253 case $srcdir in
  1254 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1255 esac
  1256 for ac_var in $ac_precious_vars; do
  1257   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1258   eval ac_env_${ac_var}_value=\$${ac_var}
  1259   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1260   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1261 done
  1264 # Report the --help message.
  1266 if test "$ac_init_help" = "long"; then
  1267   # Omit some internal or obsolete options to make the list less imposing.
  1268   # This message is too long to be a string in the A/UX 3.1 sh.
  1269   cat <<_ACEOF
  1270 \`configure' configures this package to adapt to many kinds of systems.
  1272 Usage: $0 [OPTION]... [VAR=VALUE]...
  1274 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1275 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1277 Defaults for the options are specified in brackets.
  1279 Configuration:
  1280   -h, --help              display this help and exit
  1281       --help=short        display options specific to this package
  1282       --help=recursive    display the short help of all the included packages
  1283   -V, --version           display version information and exit
  1284   -q, --quiet, --silent   do not print \`checking...' messages
  1285       --cache-file=FILE   cache test results in FILE [disabled]
  1286   -C, --config-cache      alias for \`--cache-file=config.cache'
  1287   -n, --no-create         do not create output files
  1288       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1290 Installation directories:
  1291   --prefix=PREFIX         install architecture-independent files in PREFIX
  1292 			  [$ac_default_prefix]
  1293   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1294 			  [PREFIX]
  1296 By default, \`make install' will install all the files in
  1297 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1298 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1299 for instance \`--prefix=\$HOME'.
  1301 For better control, use the options below.
  1303 Fine tuning of the installation directories:
  1304   --bindir=DIR           user executables [EPREFIX/bin]
  1305   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  1306   --libexecdir=DIR       program executables [EPREFIX/libexec]
  1307   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  1308   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  1309   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  1310   --libdir=DIR           object code libraries [EPREFIX/lib]
  1311   --includedir=DIR       C header files [PREFIX/include]
  1312   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1313   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  1314   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  1315   --infodir=DIR          info documentation [DATAROOTDIR/info]
  1316   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  1317   --mandir=DIR           man documentation [DATAROOTDIR/man]
  1318   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  1319   --htmldir=DIR          html documentation [DOCDIR]
  1320   --dvidir=DIR           dvi documentation [DOCDIR]
  1321   --pdfdir=DIR           pdf documentation [DOCDIR]
  1322   --psdir=DIR            ps documentation [DOCDIR]
  1323 _ACEOF
  1325   cat <<\_ACEOF
  1327 Program names:
  1328   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1329   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1330   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1332 System types:
  1333   --build=BUILD     configure for building on BUILD [guessed]
  1334   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1335 _ACEOF
  1336 fi
  1338 if test -n "$ac_init_help"; then
  1340   cat <<\_ACEOF
  1342 Optional Features:
  1343   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1344   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1345   --enable-maintainer-mode enable make rules and dependencies not useful
  1346                           (and sometimes confusing) to the casual installer
  1347   --disable-dependency-tracking Speeds up one-time builds
  1348   --enable-dependency-tracking  Do not reject slow dependency extractors
  1349   --enable-trace          Enable generation of IO traces (warning: hurts
  1350                           performance)
  1351   --enable-watch          Enable watchpoints in the debugger (warning: hurts
  1352                           performance)
  1354 Some influential environment variables:
  1355   CC          C compiler command
  1356   CFLAGS      C compiler flags
  1357   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1358               nonstandard directory <lib dir>
  1359   LIBS        libraries to pass to the linker, e.g. -l<library>
  1360   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1361               you have headers in a nonstandard directory <include dir>
  1362   CPP         C preprocessor
  1363   PKG_CONFIG  path to pkg-config utility
  1364   LIBPNG_CFLAGS
  1365               C compiler flags for LIBPNG, overriding pkg-config
  1366   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1367   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1368   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1369   ESOUND_CFLAGS
  1370               C compiler flags for ESOUND, overriding pkg-config
  1371   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1373 Use these variables to override the choices made by `configure' or to help
  1374 it to find libraries and programs with nonstandard names/locations.
  1376 _ACEOF
  1377 ac_status=$?
  1378 fi
  1380 if test "$ac_init_help" = "recursive"; then
  1381   # If there are subdirs, report their specific --help.
  1382   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1383     test -d "$ac_dir" || continue
  1384     ac_builddir=.
  1386 case "$ac_dir" in
  1387 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1388 *)
  1389   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1390   # A ".." for each directory in $ac_dir_suffix.
  1391   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1392   case $ac_top_builddir_sub in
  1393   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1394   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1395   esac ;;
  1396 esac
  1397 ac_abs_top_builddir=$ac_pwd
  1398 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1399 # for backward compatibility:
  1400 ac_top_builddir=$ac_top_build_prefix
  1402 case $srcdir in
  1403   .)  # We are building in place.
  1404     ac_srcdir=.
  1405     ac_top_srcdir=$ac_top_builddir_sub
  1406     ac_abs_top_srcdir=$ac_pwd ;;
  1407   [\\/]* | ?:[\\/]* )  # Absolute name.
  1408     ac_srcdir=$srcdir$ac_dir_suffix;
  1409     ac_top_srcdir=$srcdir
  1410     ac_abs_top_srcdir=$srcdir ;;
  1411   *) # Relative name.
  1412     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1413     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1414     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1415 esac
  1416 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1418     cd "$ac_dir" || { ac_status=$?; continue; }
  1419     # Check for guested configure.
  1420     if test -f "$ac_srcdir/configure.gnu"; then
  1421       echo &&
  1422       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1423     elif test -f "$ac_srcdir/configure"; then
  1424       echo &&
  1425       $SHELL "$ac_srcdir/configure" --help=recursive
  1426     else
  1427       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1428     fi || ac_status=$?
  1429     cd "$ac_pwd" || { ac_status=$?; break; }
  1430   done
  1431 fi
  1433 test -n "$ac_init_help" && exit $ac_status
  1434 if $ac_init_version; then
  1435   cat <<\_ACEOF
  1436 configure
  1437 generated by GNU Autoconf 2.61
  1439 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1440 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1441 This configure script is free software; the Free Software Foundation
  1442 gives unlimited permission to copy, distribute and modify it.
  1443 _ACEOF
  1444   exit
  1445 fi
  1446 cat >config.log <<_ACEOF
  1447 This file contains any messages produced by compilers while
  1448 running configure, to aid debugging if configure makes a mistake.
  1450 It was created by $as_me, which was
  1451 generated by GNU Autoconf 2.61.  Invocation command line was
  1453   $ $0 $@
  1455 _ACEOF
  1456 exec 5>>config.log
  1458 cat <<_ASUNAME
  1459 ## --------- ##
  1460 ## Platform. ##
  1461 ## --------- ##
  1463 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1464 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1465 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1466 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1467 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1469 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1470 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1472 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1473 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1474 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1475 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1476 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1477 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1478 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1480 _ASUNAME
  1482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1483 for as_dir in $PATH
  1484 do
  1485   IFS=$as_save_IFS
  1486   test -z "$as_dir" && as_dir=.
  1487   echo "PATH: $as_dir"
  1488 done
  1489 IFS=$as_save_IFS
  1491 } >&5
  1493 cat >&5 <<_ACEOF
  1496 ## ----------- ##
  1497 ## Core tests. ##
  1498 ## ----------- ##
  1500 _ACEOF
  1503 # Keep a trace of the command line.
  1504 # Strip out --no-create and --no-recursion so they do not pile up.
  1505 # Strip out --silent because we don't want to record it for future runs.
  1506 # Also quote any args containing shell meta-characters.
  1507 # Make two passes to allow for proper duplicate-argument suppression.
  1508 ac_configure_args=
  1509 ac_configure_args0=
  1510 ac_configure_args1=
  1511 ac_must_keep_next=false
  1512 for ac_pass in 1 2
  1513 do
  1514   for ac_arg
  1515   do
  1516     case $ac_arg in
  1517     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1518     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1519     | -silent | --silent | --silen | --sile | --sil)
  1520       continue ;;
  1521     *\'*)
  1522       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1523     esac
  1524     case $ac_pass in
  1525     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1526     2)
  1527       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1528       if test $ac_must_keep_next = true; then
  1529 	ac_must_keep_next=false # Got value, back to normal.
  1530       else
  1531 	case $ac_arg in
  1532 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1533 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1534 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1535 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1536 	    case "$ac_configure_args0 " in
  1537 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1538 	    esac
  1539 	    ;;
  1540 	  -* ) ac_must_keep_next=true ;;
  1541 	esac
  1542       fi
  1543       ac_configure_args="$ac_configure_args '$ac_arg'"
  1544       ;;
  1545     esac
  1546   done
  1547 done
  1548 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1549 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1551 # When interrupted or exit'd, cleanup temporary files, and complete
  1552 # config.log.  We remove comments because anyway the quotes in there
  1553 # would cause problems or look ugly.
  1554 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1555 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1556 trap 'exit_status=$?
  1557   # Save into config.log some information that might help in debugging.
  1559     echo
  1561     cat <<\_ASBOX
  1562 ## ---------------- ##
  1563 ## Cache variables. ##
  1564 ## ---------------- ##
  1565 _ASBOX
  1566     echo
  1567     # The following way of writing the cache mishandles newlines in values,
  1569   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1570     eval ac_val=\$$ac_var
  1571     case $ac_val in #(
  1572     *${as_nl}*)
  1573       case $ac_var in #(
  1574       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1575 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1576       esac
  1577       case $ac_var in #(
  1578       _ | IFS | as_nl) ;; #(
  1579       *) $as_unset $ac_var ;;
  1580       esac ;;
  1581     esac
  1582   done
  1583   (set) 2>&1 |
  1584     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1585     *${as_nl}ac_space=\ *)
  1586       sed -n \
  1587 	"s/'\''/'\''\\\\'\'''\''/g;
  1588 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1589       ;; #(
  1590     *)
  1591       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1592       ;;
  1593     esac |
  1594     sort
  1596     echo
  1598     cat <<\_ASBOX
  1599 ## ----------------- ##
  1600 ## Output variables. ##
  1601 ## ----------------- ##
  1602 _ASBOX
  1603     echo
  1604     for ac_var in $ac_subst_vars
  1605     do
  1606       eval ac_val=\$$ac_var
  1607       case $ac_val in
  1608       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1609       esac
  1610       echo "$ac_var='\''$ac_val'\''"
  1611     done | sort
  1612     echo
  1614     if test -n "$ac_subst_files"; then
  1615       cat <<\_ASBOX
  1616 ## ------------------- ##
  1617 ## File substitutions. ##
  1618 ## ------------------- ##
  1619 _ASBOX
  1620       echo
  1621       for ac_var in $ac_subst_files
  1622       do
  1623 	eval ac_val=\$$ac_var
  1624 	case $ac_val in
  1625 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1626 	esac
  1627 	echo "$ac_var='\''$ac_val'\''"
  1628       done | sort
  1629       echo
  1630     fi
  1632     if test -s confdefs.h; then
  1633       cat <<\_ASBOX
  1634 ## ----------- ##
  1635 ## confdefs.h. ##
  1636 ## ----------- ##
  1637 _ASBOX
  1638       echo
  1639       cat confdefs.h
  1640       echo
  1641     fi
  1642     test "$ac_signal" != 0 &&
  1643       echo "$as_me: caught signal $ac_signal"
  1644     echo "$as_me: exit $exit_status"
  1645   } >&5
  1646   rm -f core *.core core.conftest.* &&
  1647     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1648     exit $exit_status
  1649 ' 0
  1650 for ac_signal in 1 2 13 15; do
  1651   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1652 done
  1653 ac_signal=0
  1655 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1656 rm -f -r conftest* confdefs.h
  1658 # Predefined preprocessor variables.
  1660 cat >>confdefs.h <<_ACEOF
  1661 #define PACKAGE_NAME "$PACKAGE_NAME"
  1662 _ACEOF
  1665 cat >>confdefs.h <<_ACEOF
  1666 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1667 _ACEOF
  1670 cat >>confdefs.h <<_ACEOF
  1671 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1672 _ACEOF
  1675 cat >>confdefs.h <<_ACEOF
  1676 #define PACKAGE_STRING "$PACKAGE_STRING"
  1677 _ACEOF
  1680 cat >>confdefs.h <<_ACEOF
  1681 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1682 _ACEOF
  1685 # Let the site file select an alternate cache file if it wants to.
  1686 # Prefer explicitly selected file to automatically selected ones.
  1687 if test -n "$CONFIG_SITE"; then
  1688   set x "$CONFIG_SITE"
  1689 elif test "x$prefix" != xNONE; then
  1690   set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1691 else
  1692   set x "$ac_default_prefix/share/config.site" \
  1693 	"$ac_default_prefix/etc/config.site"
  1694 fi
  1695 shift
  1696 for ac_site_file
  1697 do
  1698   if test -r "$ac_site_file"; then
  1699     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1700 echo "$as_me: loading site script $ac_site_file" >&6;}
  1701     sed 's/^/| /' "$ac_site_file" >&5
  1702     . "$ac_site_file"
  1703   fi
  1704 done
  1706 if test -r "$cache_file"; then
  1707   # Some versions of bash will fail to source /dev/null (special
  1708   # files actually), so we avoid doing that.
  1709   if test -f "$cache_file"; then
  1710     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1711 echo "$as_me: loading cache $cache_file" >&6;}
  1712     case $cache_file in
  1713       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1714       *)                      . "./$cache_file";;
  1715     esac
  1716   fi
  1717 else
  1718   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1719 echo "$as_me: creating cache $cache_file" >&6;}
  1720   >$cache_file
  1721 fi
  1723 # Check that the precious variables saved in the cache have kept the same
  1724 # value.
  1725 ac_cache_corrupted=false
  1726 for ac_var in $ac_precious_vars; do
  1727   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1728   eval ac_new_set=\$ac_env_${ac_var}_set
  1729   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1730   eval ac_new_val=\$ac_env_${ac_var}_value
  1731   case $ac_old_set,$ac_new_set in
  1732     set,)
  1733       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1734 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1735       ac_cache_corrupted=: ;;
  1736     ,set)
  1737       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1738 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1739       ac_cache_corrupted=: ;;
  1740     ,);;
  1741     *)
  1742       if test "x$ac_old_val" != "x$ac_new_val"; then
  1743 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1744 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1745 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1746 echo "$as_me:   former value:  $ac_old_val" >&2;}
  1747 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1748 echo "$as_me:   current value: $ac_new_val" >&2;}
  1749 	ac_cache_corrupted=:
  1750       fi;;
  1751   esac
  1752   # Pass precious variables to config.status.
  1753   if test "$ac_new_set" = set; then
  1754     case $ac_new_val in
  1755     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1756     *) ac_arg=$ac_var=$ac_new_val ;;
  1757     esac
  1758     case " $ac_configure_args " in
  1759       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1760       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1761     esac
  1762   fi
  1763 done
  1764 if $ac_cache_corrupted; then
  1765   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1766 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1767   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1768 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1769    { (exit 1); exit 1; }; }
  1770 fi
  1788 ac_ext=c
  1789 ac_cpp='$CPP $CPPFLAGS'
  1790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1795 am__api_version="1.7"
  1796 ac_aux_dir=
  1797 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1798   if test -f "$ac_dir/install-sh"; then
  1799     ac_aux_dir=$ac_dir
  1800     ac_install_sh="$ac_aux_dir/install-sh -c"
  1801     break
  1802   elif test -f "$ac_dir/install.sh"; then
  1803     ac_aux_dir=$ac_dir
  1804     ac_install_sh="$ac_aux_dir/install.sh -c"
  1805     break
  1806   elif test -f "$ac_dir/shtool"; then
  1807     ac_aux_dir=$ac_dir
  1808     ac_install_sh="$ac_aux_dir/shtool install -c"
  1809     break
  1810   fi
  1811 done
  1812 if test -z "$ac_aux_dir"; then
  1813   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1814 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1815    { (exit 1); exit 1; }; }
  1816 fi
  1818 # These three variables are undocumented and unsupported,
  1819 # and are intended to be withdrawn in a future Autoconf release.
  1820 # They can cause serious problems if a builder's source tree is in a directory
  1821 # whose full name contains unusual characters.
  1822 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1823 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1824 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1827 # Find a good install program.  We prefer a C program (faster),
  1828 # so one script is as good as another.  But avoid the broken or
  1829 # incompatible versions:
  1830 # SysV /etc/install, /usr/sbin/install
  1831 # SunOS /usr/etc/install
  1832 # IRIX /sbin/install
  1833 # AIX /bin/install
  1834 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1835 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1836 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1837 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1838 # OS/2's system install, which has a completely different semantic
  1839 # ./install, which can be erroneously created by make from ./install.sh.
  1840 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1841 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  1842 if test -z "$INSTALL"; then
  1843 if test "${ac_cv_path_install+set}" = set; then
  1844   echo $ECHO_N "(cached) $ECHO_C" >&6
  1845 else
  1846   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1847 for as_dir in $PATH
  1848 do
  1849   IFS=$as_save_IFS
  1850   test -z "$as_dir" && as_dir=.
  1851   # Account for people who put trailing slashes in PATH elements.
  1852 case $as_dir/ in
  1853   ./ | .// | /cC/* | \
  1854   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1855   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  1856   /usr/ucb/* ) ;;
  1857   *)
  1858     # OSF1 and SCO ODT 3.0 have their own names for install.
  1859     # Don't use installbsd from OSF since it installs stuff as root
  1860     # by default.
  1861     for ac_prog in ginstall scoinst install; do
  1862       for ac_exec_ext in '' $ac_executable_extensions; do
  1863 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1864 	  if test $ac_prog = install &&
  1865 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1866 	    # AIX install.  It has an incompatible calling convention.
  1868 	  elif test $ac_prog = install &&
  1869 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1870 	    # program-specific install script used by HP pwplus--don't use.
  1872 	  else
  1873 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1874 	    break 3
  1875 	  fi
  1876 	fi
  1877       done
  1878     done
  1879     ;;
  1880 esac
  1881 done
  1882 IFS=$as_save_IFS
  1885 fi
  1886   if test "${ac_cv_path_install+set}" = set; then
  1887     INSTALL=$ac_cv_path_install
  1888   else
  1889     # As a last resort, use the slow shell script.  Don't cache a
  1890     # value for INSTALL within a source directory, because that will
  1891     # break other packages using the cache if that directory is
  1892     # removed, or if the value is a relative name.
  1893     INSTALL=$ac_install_sh
  1894   fi
  1895 fi
  1896 { echo "$as_me:$LINENO: result: $INSTALL" >&5
  1897 echo "${ECHO_T}$INSTALL" >&6; }
  1899 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1900 # It thinks the first close brace ends the variable substitution.
  1901 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1903 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1905 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1907 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1908 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  1909 # Just in case
  1910 sleep 1
  1911 echo timestamp > conftest.file
  1912 # Do `set' in a subshell so we don't clobber the current shell's
  1913 # arguments.  Must try -L first in case configure is actually a
  1914 # symlink; some systems play weird games with the mod time of symlinks
  1915 # (eg FreeBSD returns the mod time of the symlink's containing
  1916 # directory).
  1917 if (
  1918    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1919    if test "$*" = "X"; then
  1920       # -L didn't work.
  1921       set X `ls -t $srcdir/configure conftest.file`
  1922    fi
  1923    rm -f conftest.file
  1924    if test "$*" != "X $srcdir/configure conftest.file" \
  1925       && test "$*" != "X conftest.file $srcdir/configure"; then
  1927       # If neither matched, then we have a broken ls.  This can happen
  1928       # if, for instance, CONFIG_SHELL is bash and it inherits a
  1929       # broken ls alias from the environment.  This has actually
  1930       # happened.  Such a system could not be considered "sane".
  1931       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  1932 alias in your environment" >&5
  1933 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  1934 alias in your environment" >&2;}
  1935    { (exit 1); exit 1; }; }
  1936    fi
  1938    test "$2" = conftest.file
  1940 then
  1941    # Ok.
  1943 else
  1944    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1945 Check your system clock" >&5
  1946 echo "$as_me: error: newly created file is older than distributed files!
  1947 Check your system clock" >&2;}
  1948    { (exit 1); exit 1; }; }
  1949 fi
  1950 { echo "$as_me:$LINENO: result: yes" >&5
  1951 echo "${ECHO_T}yes" >&6; }
  1952 test "$program_prefix" != NONE &&
  1953   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1954 # Use a double $ so make ignores it.
  1955 test "$program_suffix" != NONE &&
  1956   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1957 # Double any \ or $.  echo might interpret backslashes.
  1958 # By default was `s,x,x', remove it if useless.
  1959 cat <<\_ACEOF >conftest.sed
  1960 s/[\\$]/&&/g;s/;s,x,x,$//
  1961 _ACEOF
  1962 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1963 rm -f conftest.sed
  1966 # expand $ac_aux_dir to an absolute path
  1967 am_aux_dir=`cd $ac_aux_dir && pwd`
  1969 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  1970 # Use eval to expand $SHELL
  1971 if eval "$MISSING --run true"; then
  1972   am_missing_run="$MISSING --run "
  1973 else
  1974   am_missing_run=
  1975   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  1976 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1977 fi
  1979 for ac_prog in gawk mawk nawk awk
  1980 do
  1981   # Extract the first word of "$ac_prog", so it can be a program name with args.
  1982 set dummy $ac_prog; ac_word=$2
  1983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1985 if test "${ac_cv_prog_AWK+set}" = set; then
  1986   echo $ECHO_N "(cached) $ECHO_C" >&6
  1987 else
  1988   if test -n "$AWK"; then
  1989   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1990 else
  1991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1992 for as_dir in $PATH
  1993 do
  1994   IFS=$as_save_IFS
  1995   test -z "$as_dir" && as_dir=.
  1996   for ac_exec_ext in '' $ac_executable_extensions; do
  1997   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1998     ac_cv_prog_AWK="$ac_prog"
  1999     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2000     break 2
  2001   fi
  2002 done
  2003 done
  2004 IFS=$as_save_IFS
  2006 fi
  2007 fi
  2008 AWK=$ac_cv_prog_AWK
  2009 if test -n "$AWK"; then
  2010   { echo "$as_me:$LINENO: result: $AWK" >&5
  2011 echo "${ECHO_T}$AWK" >&6; }
  2012 else
  2013   { echo "$as_me:$LINENO: result: no" >&5
  2014 echo "${ECHO_T}no" >&6; }
  2015 fi
  2018   test -n "$AWK" && break
  2019 done
  2021 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2022 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  2023 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2024 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2025   echo $ECHO_N "(cached) $ECHO_C" >&6
  2026 else
  2027   cat >conftest.make <<\_ACEOF
  2028 SHELL = /bin/sh
  2029 all:
  2030 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2031 _ACEOF
  2032 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2033 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2034   *@@@%%%=?*=@@@%%%*)
  2035     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2036   *)
  2037     eval ac_cv_prog_make_${ac_make}_set=no;;
  2038 esac
  2039 rm -f conftest.make
  2040 fi
  2041 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2042   { echo "$as_me:$LINENO: result: yes" >&5
  2043 echo "${ECHO_T}yes" >&6; }
  2044   SET_MAKE=
  2045 else
  2046   { echo "$as_me:$LINENO: result: no" >&5
  2047 echo "${ECHO_T}no" >&6; }
  2048   SET_MAKE="MAKE=${MAKE-make}"
  2049 fi
  2051 rm -rf .tst 2>/dev/null
  2052 mkdir .tst 2>/dev/null
  2053 if test -d .tst; then
  2054   am__leading_dot=.
  2055 else
  2056   am__leading_dot=_
  2057 fi
  2058 rmdir .tst 2>/dev/null
  2060  # test to see if srcdir already configured
  2061 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2062    test -f $srcdir/config.status; then
  2063   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2064 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2065    { (exit 1); exit 1; }; }
  2066 fi
  2068 # test whether we have cygpath
  2069 if test -z "$CYGPATH_W"; then
  2070   if (cygpath --version) >/dev/null 2>/dev/null; then
  2071     CYGPATH_W='cygpath -w'
  2072   else
  2073     CYGPATH_W=echo
  2074   fi
  2075 fi
  2078 # Define the identity of the package.
  2079  PACKAGE=lxdream
  2080  VERSION=0.8.1
  2083 cat >>confdefs.h <<_ACEOF
  2084 #define PACKAGE "$PACKAGE"
  2085 _ACEOF
  2088 cat >>confdefs.h <<_ACEOF
  2089 #define VERSION "$VERSION"
  2090 _ACEOF
  2092 # Some tools Automake needs.
  2094 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2097 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2100 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2103 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2106 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2109 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2111 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2113 # Installed binaries are usually stripped using `strip' when the user
  2114 # run `make install-strip'.  However `strip' might not be the right
  2115 # tool to use in cross-compilation environments, therefore Automake
  2116 # will honor the `STRIP' environment variable to overrule this program.
  2117 if test "$cross_compiling" != no; then
  2118   if test -n "$ac_tool_prefix"; then
  2119   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2120 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2123 if test "${ac_cv_prog_STRIP+set}" = set; then
  2124   echo $ECHO_N "(cached) $ECHO_C" >&6
  2125 else
  2126   if test -n "$STRIP"; then
  2127   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2128 else
  2129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2130 for as_dir in $PATH
  2131 do
  2132   IFS=$as_save_IFS
  2133   test -z "$as_dir" && as_dir=.
  2134   for ac_exec_ext in '' $ac_executable_extensions; do
  2135   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2136     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2137     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2138     break 2
  2139   fi
  2140 done
  2141 done
  2142 IFS=$as_save_IFS
  2144 fi
  2145 fi
  2146 STRIP=$ac_cv_prog_STRIP
  2147 if test -n "$STRIP"; then
  2148   { echo "$as_me:$LINENO: result: $STRIP" >&5
  2149 echo "${ECHO_T}$STRIP" >&6; }
  2150 else
  2151   { echo "$as_me:$LINENO: result: no" >&5
  2152 echo "${ECHO_T}no" >&6; }
  2153 fi
  2156 fi
  2157 if test -z "$ac_cv_prog_STRIP"; then
  2158   ac_ct_STRIP=$STRIP
  2159   # Extract the first word of "strip", so it can be a program name with args.
  2160 set dummy strip; ac_word=$2
  2161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2163 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2164   echo $ECHO_N "(cached) $ECHO_C" >&6
  2165 else
  2166   if test -n "$ac_ct_STRIP"; then
  2167   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2168 else
  2169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2170 for as_dir in $PATH
  2171 do
  2172   IFS=$as_save_IFS
  2173   test -z "$as_dir" && as_dir=.
  2174   for ac_exec_ext in '' $ac_executable_extensions; do
  2175   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2176     ac_cv_prog_ac_ct_STRIP="strip"
  2177     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2178     break 2
  2179   fi
  2180 done
  2181 done
  2182 IFS=$as_save_IFS
  2184 fi
  2185 fi
  2186 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2187 if test -n "$ac_ct_STRIP"; then
  2188   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2189 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  2190 else
  2191   { echo "$as_me:$LINENO: result: no" >&5
  2192 echo "${ECHO_T}no" >&6; }
  2193 fi
  2195   if test "x$ac_ct_STRIP" = x; then
  2196     STRIP=":"
  2197   else
  2198     case $cross_compiling:$ac_tool_warned in
  2199 yes:)
  2200 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2201 whose name does not start with the host triplet.  If you think this
  2202 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2203 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2204 whose name does not start with the host triplet.  If you think this
  2205 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2206 ac_tool_warned=yes ;;
  2207 esac
  2208     STRIP=$ac_ct_STRIP
  2209   fi
  2210 else
  2211   STRIP="$ac_cv_prog_STRIP"
  2212 fi
  2214 fi
  2215 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2217 # We need awk for the "check" target.  The system "awk" is bad on
  2218 # some platforms.
  2222 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2223 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
  2224     # Check whether --enable-maintainer-mode was given.
  2225 if test "${enable_maintainer_mode+set}" = set; then
  2226   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2227 else
  2228   USE_MAINTAINER_MODE=no
  2229 fi
  2231   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2232 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
  2235 if test $USE_MAINTAINER_MODE = yes; then
  2236   MAINTAINER_MODE_TRUE=
  2237   MAINTAINER_MODE_FALSE='#'
  2238 else
  2239   MAINTAINER_MODE_TRUE='#'
  2240   MAINTAINER_MODE_FALSE=
  2241 fi
  2243   MAINT=$MAINTAINER_MODE_TRUE
  2246 ac_config_headers="$ac_config_headers config.h"
  2249 DEPDIR="${am__leading_dot}deps"
  2251 ac_config_commands="$ac_config_commands depfiles"
  2254 am_make=${MAKE-make}
  2255 cat > confinc << 'END'
  2256 am__doit:
  2257 	@echo done
  2258 .PHONY: am__doit
  2259 END
  2260 # If we don't find an include directive, just comment out the code.
  2261 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2262 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  2263 am__include="#"
  2264 am__quote=
  2265 _am_result=none
  2266 # First try GNU make style include.
  2267 echo "include confinc" > confmf
  2268 # We grep out `Entering directory' and `Leaving directory'
  2269 # messages which can occur if `w' ends up in MAKEFLAGS.
  2270 # In particular we don't look at `^make:' because GNU make might
  2271 # be invoked under some other name (usually "gmake"), in which
  2272 # case it prints its new name instead of `make'.
  2273 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2274    am__include=include
  2275    am__quote=
  2276    _am_result=GNU
  2277 fi
  2278 # Now try BSD make style include.
  2279 if test "$am__include" = "#"; then
  2280    echo '.include "confinc"' > confmf
  2281    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2282       am__include=.include
  2283       am__quote="\""
  2284       _am_result=BSD
  2285    fi
  2286 fi
  2289 { echo "$as_me:$LINENO: result: $_am_result" >&5
  2290 echo "${ECHO_T}$_am_result" >&6; }
  2291 rm -f confinc confmf
  2293 # Check whether --enable-dependency-tracking was given.
  2294 if test "${enable_dependency_tracking+set}" = set; then
  2295   enableval=$enable_dependency_tracking;
  2296 fi
  2298 if test "x$enable_dependency_tracking" != xno; then
  2299   am_depcomp="$ac_aux_dir/depcomp"
  2300   AMDEPBACKSLASH='\'
  2301 fi
  2304 if test "x$enable_dependency_tracking" != xno; then
  2305   AMDEP_TRUE=
  2306   AMDEP_FALSE='#'
  2307 else
  2308   AMDEP_TRUE='#'
  2309   AMDEP_FALSE=
  2310 fi
  2314 ac_ext=c
  2315 ac_cpp='$CPP $CPPFLAGS'
  2316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2319 if test -n "$ac_tool_prefix"; then
  2320   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2321 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2324 if test "${ac_cv_prog_CC+set}" = set; then
  2325   echo $ECHO_N "(cached) $ECHO_C" >&6
  2326 else
  2327   if test -n "$CC"; then
  2328   ac_cv_prog_CC="$CC" # Let the user override the test.
  2329 else
  2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2331 for as_dir in $PATH
  2332 do
  2333   IFS=$as_save_IFS
  2334   test -z "$as_dir" && as_dir=.
  2335   for ac_exec_ext in '' $ac_executable_extensions; do
  2336   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2337     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2338     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2339     break 2
  2340   fi
  2341 done
  2342 done
  2343 IFS=$as_save_IFS
  2345 fi
  2346 fi
  2347 CC=$ac_cv_prog_CC
  2348 if test -n "$CC"; then
  2349   { echo "$as_me:$LINENO: result: $CC" >&5
  2350 echo "${ECHO_T}$CC" >&6; }
  2351 else
  2352   { echo "$as_me:$LINENO: result: no" >&5
  2353 echo "${ECHO_T}no" >&6; }
  2354 fi
  2357 fi
  2358 if test -z "$ac_cv_prog_CC"; then
  2359   ac_ct_CC=$CC
  2360   # Extract the first word of "gcc", so it can be a program name with args.
  2361 set dummy gcc; ac_word=$2
  2362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2365   echo $ECHO_N "(cached) $ECHO_C" >&6
  2366 else
  2367   if test -n "$ac_ct_CC"; then
  2368   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2369 else
  2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2371 for as_dir in $PATH
  2372 do
  2373   IFS=$as_save_IFS
  2374   test -z "$as_dir" && as_dir=.
  2375   for ac_exec_ext in '' $ac_executable_extensions; do
  2376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2377     ac_cv_prog_ac_ct_CC="gcc"
  2378     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2379     break 2
  2380   fi
  2381 done
  2382 done
  2383 IFS=$as_save_IFS
  2385 fi
  2386 fi
  2387 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2388 if test -n "$ac_ct_CC"; then
  2389   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2390 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2391 else
  2392   { echo "$as_me:$LINENO: result: no" >&5
  2393 echo "${ECHO_T}no" >&6; }
  2394 fi
  2396   if test "x$ac_ct_CC" = x; then
  2397     CC=""
  2398   else
  2399     case $cross_compiling:$ac_tool_warned in
  2400 yes:)
  2401 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2402 whose name does not start with the host triplet.  If you think this
  2403 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2404 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2405 whose name does not start with the host triplet.  If you think this
  2406 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2407 ac_tool_warned=yes ;;
  2408 esac
  2409     CC=$ac_ct_CC
  2410   fi
  2411 else
  2412   CC="$ac_cv_prog_CC"
  2413 fi
  2415 if test -z "$CC"; then
  2416           if test -n "$ac_tool_prefix"; then
  2417     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2418 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2421 if test "${ac_cv_prog_CC+set}" = set; then
  2422   echo $ECHO_N "(cached) $ECHO_C" >&6
  2423 else
  2424   if test -n "$CC"; then
  2425   ac_cv_prog_CC="$CC" # Let the user override the test.
  2426 else
  2427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2428 for as_dir in $PATH
  2429 do
  2430   IFS=$as_save_IFS
  2431   test -z "$as_dir" && as_dir=.
  2432   for ac_exec_ext in '' $ac_executable_extensions; do
  2433   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2434     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2435     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2436     break 2
  2437   fi
  2438 done
  2439 done
  2440 IFS=$as_save_IFS
  2442 fi
  2443 fi
  2444 CC=$ac_cv_prog_CC
  2445 if test -n "$CC"; then
  2446   { echo "$as_me:$LINENO: result: $CC" >&5
  2447 echo "${ECHO_T}$CC" >&6; }
  2448 else
  2449   { echo "$as_me:$LINENO: result: no" >&5
  2450 echo "${ECHO_T}no" >&6; }
  2451 fi
  2454   fi
  2455 fi
  2456 if test -z "$CC"; then
  2457   # Extract the first word of "cc", so it can be a program name with args.
  2458 set dummy cc; ac_word=$2
  2459 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2461 if test "${ac_cv_prog_CC+set}" = set; then
  2462   echo $ECHO_N "(cached) $ECHO_C" >&6
  2463 else
  2464   if test -n "$CC"; then
  2465   ac_cv_prog_CC="$CC" # Let the user override the test.
  2466 else
  2467   ac_prog_rejected=no
  2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2469 for as_dir in $PATH
  2470 do
  2471   IFS=$as_save_IFS
  2472   test -z "$as_dir" && as_dir=.
  2473   for ac_exec_ext in '' $ac_executable_extensions; do
  2474   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2475     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2476        ac_prog_rejected=yes
  2477        continue
  2478      fi
  2479     ac_cv_prog_CC="cc"
  2480     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2481     break 2
  2482   fi
  2483 done
  2484 done
  2485 IFS=$as_save_IFS
  2487 if test $ac_prog_rejected = yes; then
  2488   # We found a bogon in the path, so make sure we never use it.
  2489   set dummy $ac_cv_prog_CC
  2490   shift
  2491   if test $# != 0; then
  2492     # We chose a different compiler from the bogus one.
  2493     # However, it has the same basename, so the bogon will be chosen
  2494     # first if we set CC to just the basename; use the full file name.
  2495     shift
  2496     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2497   fi
  2498 fi
  2499 fi
  2500 fi
  2501 CC=$ac_cv_prog_CC
  2502 if test -n "$CC"; then
  2503   { echo "$as_me:$LINENO: result: $CC" >&5
  2504 echo "${ECHO_T}$CC" >&6; }
  2505 else
  2506   { echo "$as_me:$LINENO: result: no" >&5
  2507 echo "${ECHO_T}no" >&6; }
  2508 fi
  2511 fi
  2512 if test -z "$CC"; then
  2513   if test -n "$ac_tool_prefix"; then
  2514   for ac_prog in cl.exe
  2515   do
  2516     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2517 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2520 if test "${ac_cv_prog_CC+set}" = set; then
  2521   echo $ECHO_N "(cached) $ECHO_C" >&6
  2522 else
  2523   if test -n "$CC"; then
  2524   ac_cv_prog_CC="$CC" # Let the user override the test.
  2525 else
  2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2527 for as_dir in $PATH
  2528 do
  2529   IFS=$as_save_IFS
  2530   test -z "$as_dir" && as_dir=.
  2531   for ac_exec_ext in '' $ac_executable_extensions; do
  2532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2533     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2534     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2535     break 2
  2536   fi
  2537 done
  2538 done
  2539 IFS=$as_save_IFS
  2541 fi
  2542 fi
  2543 CC=$ac_cv_prog_CC
  2544 if test -n "$CC"; then
  2545   { echo "$as_me:$LINENO: result: $CC" >&5
  2546 echo "${ECHO_T}$CC" >&6; }
  2547 else
  2548   { echo "$as_me:$LINENO: result: no" >&5
  2549 echo "${ECHO_T}no" >&6; }
  2550 fi
  2553     test -n "$CC" && break
  2554   done
  2555 fi
  2556 if test -z "$CC"; then
  2557   ac_ct_CC=$CC
  2558   for ac_prog in cl.exe
  2559 do
  2560   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2561 set dummy $ac_prog; ac_word=$2
  2562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2565   echo $ECHO_N "(cached) $ECHO_C" >&6
  2566 else
  2567   if test -n "$ac_ct_CC"; then
  2568   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2569 else
  2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2571 for as_dir in $PATH
  2572 do
  2573   IFS=$as_save_IFS
  2574   test -z "$as_dir" && as_dir=.
  2575   for ac_exec_ext in '' $ac_executable_extensions; do
  2576   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2577     ac_cv_prog_ac_ct_CC="$ac_prog"
  2578     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2579     break 2
  2580   fi
  2581 done
  2582 done
  2583 IFS=$as_save_IFS
  2585 fi
  2586 fi
  2587 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2588 if test -n "$ac_ct_CC"; then
  2589   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2590 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2591 else
  2592   { echo "$as_me:$LINENO: result: no" >&5
  2593 echo "${ECHO_T}no" >&6; }
  2594 fi
  2597   test -n "$ac_ct_CC" && break
  2598 done
  2600   if test "x$ac_ct_CC" = x; then
  2601     CC=""
  2602   else
  2603     case $cross_compiling:$ac_tool_warned in
  2604 yes:)
  2605 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2606 whose name does not start with the host triplet.  If you think this
  2607 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2608 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2609 whose name does not start with the host triplet.  If you think this
  2610 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2611 ac_tool_warned=yes ;;
  2612 esac
  2613     CC=$ac_ct_CC
  2614   fi
  2615 fi
  2617 fi
  2620 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2621 See \`config.log' for more details." >&5
  2622 echo "$as_me: error: no acceptable C compiler found in \$PATH
  2623 See \`config.log' for more details." >&2;}
  2624    { (exit 1); exit 1; }; }
  2626 # Provide some information about the compiler.
  2627 echo "$as_me:$LINENO: checking for C compiler version" >&5
  2628 ac_compiler=`set X $ac_compile; echo $2`
  2629 { (ac_try="$ac_compiler --version >&5"
  2630 case "(($ac_try" in
  2631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2632   *) ac_try_echo=$ac_try;;
  2633 esac
  2634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2635   (eval "$ac_compiler --version >&5") 2>&5
  2636   ac_status=$?
  2637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2638   (exit $ac_status); }
  2639 { (ac_try="$ac_compiler -v >&5"
  2640 case "(($ac_try" in
  2641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2642   *) ac_try_echo=$ac_try;;
  2643 esac
  2644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2645   (eval "$ac_compiler -v >&5") 2>&5
  2646   ac_status=$?
  2647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2648   (exit $ac_status); }
  2649 { (ac_try="$ac_compiler -V >&5"
  2650 case "(($ac_try" in
  2651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2652   *) ac_try_echo=$ac_try;;
  2653 esac
  2654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2655   (eval "$ac_compiler -V >&5") 2>&5
  2656   ac_status=$?
  2657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2658   (exit $ac_status); }
  2660 cat >conftest.$ac_ext <<_ACEOF
  2661 /* confdefs.h.  */
  2662 _ACEOF
  2663 cat confdefs.h >>conftest.$ac_ext
  2664 cat >>conftest.$ac_ext <<_ACEOF
  2665 /* end confdefs.h.  */
  2667 int
  2668 main ()
  2672   return 0;
  2674 _ACEOF
  2675 ac_clean_files_save=$ac_clean_files
  2676 ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2677 # Try to create an executable without -o first, disregard a.out.
  2678 # It will help us diagnose broken compilers, and finding out an intuition
  2679 # of exeext.
  2680 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2681 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2682 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2684 # List of possible output files, starting from the most likely.
  2685 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2686 # only as a last resort.  b.out is created by i960 compilers.
  2687 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2689 # The IRIX 6 linker writes into existing files which may not be
  2690 # executable, retaining their permissions.  Remove them first so a
  2691 # subsequent execution test works.
  2692 ac_rmfiles=
  2693 for ac_file in $ac_files
  2694 do
  2695   case $ac_file in
  2696     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2697     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2698   esac
  2699 done
  2700 rm -f $ac_rmfiles
  2702 if { (ac_try="$ac_link_default"
  2703 case "(($ac_try" in
  2704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2705   *) ac_try_echo=$ac_try;;
  2706 esac
  2707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2708   (eval "$ac_link_default") 2>&5
  2709   ac_status=$?
  2710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2711   (exit $ac_status); }; then
  2712   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2713 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2714 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2715 # so that the user can short-circuit this test for compilers unknown to
  2716 # Autoconf.
  2717 for ac_file in $ac_files ''
  2718 do
  2719   test -f "$ac_file" || continue
  2720   case $ac_file in
  2721     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2722 	;;
  2723     [ab].out )
  2724 	# We found the default executable, but exeext='' is most
  2725 	# certainly right.
  2726 	break;;
  2727     *.* )
  2728         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2729 	then :; else
  2730 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2731 	fi
  2732 	# We set ac_cv_exeext here because the later test for it is not
  2733 	# safe: cross compilers may not add the suffix if given an `-o'
  2734 	# argument, so we may need to know it at that point already.
  2735 	# Even if this section looks crufty: it has the advantage of
  2736 	# actually working.
  2737 	break;;
  2738     * )
  2739 	break;;
  2740   esac
  2741 done
  2742 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2744 else
  2745   ac_file=''
  2746 fi
  2748 { echo "$as_me:$LINENO: result: $ac_file" >&5
  2749 echo "${ECHO_T}$ac_file" >&6; }
  2750 if test -z "$ac_file"; then
  2751   echo "$as_me: failed program was:" >&5
  2752 sed 's/^/| /' conftest.$ac_ext >&5
  2754 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2755 See \`config.log' for more details." >&5
  2756 echo "$as_me: error: C compiler cannot create executables
  2757 See \`config.log' for more details." >&2;}
  2758    { (exit 77); exit 77; }; }
  2759 fi
  2761 ac_exeext=$ac_cv_exeext
  2763 # Check that the compiler produces executables we can run.  If not, either
  2764 # the compiler is broken, or we cross compile.
  2765 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2766 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  2767 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2768 # If not cross compiling, check that we can run a simple program.
  2769 if test "$cross_compiling" != yes; then
  2770   if { ac_try='./$ac_file'
  2771   { (case "(($ac_try" in
  2772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2773   *) ac_try_echo=$ac_try;;
  2774 esac
  2775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2776   (eval "$ac_try") 2>&5
  2777   ac_status=$?
  2778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2779   (exit $ac_status); }; }; then
  2780     cross_compiling=no
  2781   else
  2782     if test "$cross_compiling" = maybe; then
  2783 	cross_compiling=yes
  2784     else
  2785 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2786 If you meant to cross compile, use \`--host'.
  2787 See \`config.log' for more details." >&5
  2788 echo "$as_me: error: cannot run C compiled programs.
  2789 If you meant to cross compile, use \`--host'.
  2790 See \`config.log' for more details." >&2;}
  2791    { (exit 1); exit 1; }; }
  2792     fi
  2793   fi
  2794 fi
  2795 { echo "$as_me:$LINENO: result: yes" >&5
  2796 echo "${ECHO_T}yes" >&6; }
  2798 rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2799 ac_clean_files=$ac_clean_files_save
  2800 # Check that the compiler produces executables we can run.  If not, either
  2801 # the compiler is broken, or we cross compile.
  2802 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2803 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  2804 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2805 echo "${ECHO_T}$cross_compiling" >&6; }
  2807 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2808 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  2809 if { (ac_try="$ac_link"
  2810 case "(($ac_try" in
  2811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2812   *) ac_try_echo=$ac_try;;
  2813 esac
  2814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2815   (eval "$ac_link") 2>&5
  2816   ac_status=$?
  2817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2818   (exit $ac_status); }; then
  2819   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2820 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2821 # work properly (i.e., refer to `conftest.exe'), while it won't with
  2822 # `rm'.
  2823 for ac_file in conftest.exe conftest conftest.*; do
  2824   test -f "$ac_file" || continue
  2825   case $ac_file in
  2826     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2827     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2828 	  break;;
  2829     * ) break;;
  2830   esac
  2831 done
  2832 else
  2833   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2834 See \`config.log' for more details." >&5
  2835 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2836 See \`config.log' for more details." >&2;}
  2837    { (exit 1); exit 1; }; }
  2838 fi
  2840 rm -f conftest$ac_cv_exeext
  2841 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2842 echo "${ECHO_T}$ac_cv_exeext" >&6; }
  2844 rm -f conftest.$ac_ext
  2845 EXEEXT=$ac_cv_exeext
  2846 ac_exeext=$EXEEXT
  2847 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2848 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  2849 if test "${ac_cv_objext+set}" = set; then
  2850   echo $ECHO_N "(cached) $ECHO_C" >&6
  2851 else
  2852   cat >conftest.$ac_ext <<_ACEOF
  2853 /* confdefs.h.  */
  2854 _ACEOF
  2855 cat confdefs.h >>conftest.$ac_ext
  2856 cat >>conftest.$ac_ext <<_ACEOF
  2857 /* end confdefs.h.  */
  2859 int
  2860 main ()
  2864   return 0;
  2866 _ACEOF
  2867 rm -f conftest.o conftest.obj
  2868 if { (ac_try="$ac_compile"
  2869 case "(($ac_try" in
  2870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2871   *) ac_try_echo=$ac_try;;
  2872 esac
  2873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2874   (eval "$ac_compile") 2>&5
  2875   ac_status=$?
  2876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2877   (exit $ac_status); }; then
  2878   for ac_file in conftest.o conftest.obj conftest.*; do
  2879   test -f "$ac_file" || continue;
  2880   case $ac_file in
  2881     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  2882     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2883        break;;
  2884   esac
  2885 done
  2886 else
  2887   echo "$as_me: failed program was:" >&5
  2888 sed 's/^/| /' conftest.$ac_ext >&5
  2890 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2891 See \`config.log' for more details." >&5
  2892 echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2893 See \`config.log' for more details." >&2;}
  2894    { (exit 1); exit 1; }; }
  2895 fi
  2897 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2898 fi
  2899 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2900 echo "${ECHO_T}$ac_cv_objext" >&6; }
  2901 OBJEXT=$ac_cv_objext
  2902 ac_objext=$OBJEXT
  2903 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2904 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  2905 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2906   echo $ECHO_N "(cached) $ECHO_C" >&6
  2907 else
  2908   cat >conftest.$ac_ext <<_ACEOF
  2909 /* confdefs.h.  */
  2910 _ACEOF
  2911 cat confdefs.h >>conftest.$ac_ext
  2912 cat >>conftest.$ac_ext <<_ACEOF
  2913 /* end confdefs.h.  */
  2915 int
  2916 main ()
  2918 #ifndef __GNUC__
  2919        choke me
  2920 #endif
  2923   return 0;
  2925 _ACEOF
  2926 rm -f conftest.$ac_objext
  2927 if { (ac_try="$ac_compile"
  2928 case "(($ac_try" in
  2929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2930   *) ac_try_echo=$ac_try;;
  2931 esac
  2932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2933   (eval "$ac_compile") 2>conftest.er1
  2934   ac_status=$?
  2935   grep -v '^ *+' conftest.er1 >conftest.err
  2936   rm -f conftest.er1
  2937   cat conftest.err >&5
  2938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2939   (exit $ac_status); } && {
  2940 	 test -z "$ac_c_werror_flag" ||
  2941 	 test ! -s conftest.err
  2942        } && test -s conftest.$ac_objext; then
  2943   ac_compiler_gnu=yes
  2944 else
  2945   echo "$as_me: failed program was:" >&5
  2946 sed 's/^/| /' conftest.$ac_ext >&5
  2948 	ac_compiler_gnu=no
  2949 fi
  2951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2952 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2954 fi
  2955 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2956 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  2957 GCC=`test $ac_compiler_gnu = yes && echo yes`
  2958 ac_test_CFLAGS=${CFLAGS+set}
  2959 ac_save_CFLAGS=$CFLAGS
  2960 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2961 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  2962 if test "${ac_cv_prog_cc_g+set}" = set; then
  2963   echo $ECHO_N "(cached) $ECHO_C" >&6
  2964 else
  2965   ac_save_c_werror_flag=$ac_c_werror_flag
  2966    ac_c_werror_flag=yes
  2967    ac_cv_prog_cc_g=no
  2968    CFLAGS="-g"
  2969    cat >conftest.$ac_ext <<_ACEOF
  2970 /* confdefs.h.  */
  2971 _ACEOF
  2972 cat confdefs.h >>conftest.$ac_ext
  2973 cat >>conftest.$ac_ext <<_ACEOF
  2974 /* end confdefs.h.  */
  2976 int
  2977 main ()
  2981   return 0;
  2983 _ACEOF
  2984 rm -f conftest.$ac_objext
  2985 if { (ac_try="$ac_compile"
  2986 case "(($ac_try" in
  2987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2988   *) ac_try_echo=$ac_try;;
  2989 esac
  2990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2991   (eval "$ac_compile") 2>conftest.er1
  2992   ac_status=$?
  2993   grep -v '^ *+' conftest.er1 >conftest.err
  2994   rm -f conftest.er1
  2995   cat conftest.err >&5
  2996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2997   (exit $ac_status); } && {
  2998 	 test -z "$ac_c_werror_flag" ||
  2999 	 test ! -s conftest.err
  3000        } && test -s conftest.$ac_objext; then
  3001   ac_cv_prog_cc_g=yes
  3002 else
  3003   echo "$as_me: failed program was:" >&5
  3004 sed 's/^/| /' conftest.$ac_ext >&5
  3006 	CFLAGS=""
  3007       cat >conftest.$ac_ext <<_ACEOF
  3008 /* confdefs.h.  */
  3009 _ACEOF
  3010 cat confdefs.h >>conftest.$ac_ext
  3011 cat >>conftest.$ac_ext <<_ACEOF
  3012 /* end confdefs.h.  */
  3014 int
  3015 main ()
  3019   return 0;
  3021 _ACEOF
  3022 rm -f conftest.$ac_objext
  3023 if { (ac_try="$ac_compile"
  3024 case "(($ac_try" in
  3025   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3026   *) ac_try_echo=$ac_try;;
  3027 esac
  3028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3029   (eval "$ac_compile") 2>conftest.er1
  3030   ac_status=$?
  3031   grep -v '^ *+' conftest.er1 >conftest.err
  3032   rm -f conftest.er1
  3033   cat conftest.err >&5
  3034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3035   (exit $ac_status); } && {
  3036 	 test -z "$ac_c_werror_flag" ||
  3037 	 test ! -s conftest.err
  3038        } && test -s conftest.$ac_objext; then
  3040 else
  3041   echo "$as_me: failed program was:" >&5
  3042 sed 's/^/| /' conftest.$ac_ext >&5
  3044 	ac_c_werror_flag=$ac_save_c_werror_flag
  3045 	 CFLAGS="-g"
  3046 	 cat >conftest.$ac_ext <<_ACEOF
  3047 /* confdefs.h.  */
  3048 _ACEOF
  3049 cat confdefs.h >>conftest.$ac_ext
  3050 cat >>conftest.$ac_ext <<_ACEOF
  3051 /* end confdefs.h.  */
  3053 int
  3054 main ()
  3058   return 0;
  3060 _ACEOF
  3061 rm -f conftest.$ac_objext
  3062 if { (ac_try="$ac_compile"
  3063 case "(($ac_try" in
  3064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3065   *) ac_try_echo=$ac_try;;
  3066 esac
  3067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3068   (eval "$ac_compile") 2>conftest.er1
  3069   ac_status=$?
  3070   grep -v '^ *+' conftest.er1 >conftest.err
  3071   rm -f conftest.er1
  3072   cat conftest.err >&5
  3073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3074   (exit $ac_status); } && {
  3075 	 test -z "$ac_c_werror_flag" ||
  3076 	 test ! -s conftest.err
  3077        } && test -s conftest.$ac_objext; then
  3078   ac_cv_prog_cc_g=yes
  3079 else
  3080   echo "$as_me: failed program was:" >&5
  3081 sed 's/^/| /' conftest.$ac_ext >&5
  3084 fi
  3086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3087 fi
  3089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3090 fi
  3092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3093    ac_c_werror_flag=$ac_save_c_werror_flag
  3094 fi
  3095 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3096 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  3097 if test "$ac_test_CFLAGS" = set; then
  3098   CFLAGS=$ac_save_CFLAGS
  3099 elif test $ac_cv_prog_cc_g = yes; then
  3100   if test "$GCC" = yes; then
  3101     CFLAGS="-g -O2"
  3102   else
  3103     CFLAGS="-g"
  3104   fi
  3105 else
  3106   if test "$GCC" = yes; then
  3107     CFLAGS="-O2"
  3108   else
  3109     CFLAGS=
  3110   fi
  3111 fi
  3112 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3113 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3114 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3115   echo $ECHO_N "(cached) $ECHO_C" >&6
  3116 else
  3117   ac_cv_prog_cc_c89=no
  3118 ac_save_CC=$CC
  3119 cat >conftest.$ac_ext <<_ACEOF
  3120 /* confdefs.h.  */
  3121 _ACEOF
  3122 cat confdefs.h >>conftest.$ac_ext
  3123 cat >>conftest.$ac_ext <<_ACEOF
  3124 /* end confdefs.h.  */
  3125 #include <stdarg.h>
  3126 #include <stdio.h>
  3127 #include <sys/types.h>
  3128 #include <sys/stat.h>
  3129 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3130 struct buf { int x; };
  3131 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3132 static char *e (p, i)
  3133      char **p;
  3134      int i;
  3136   return p[i];
  3138 static char *f (char * (*g) (char **, int), char **p, ...)
  3140   char *s;
  3141   va_list v;
  3142   va_start (v,p);
  3143   s = g (p, va_arg (v,int));
  3144   va_end (v);
  3145   return s;
  3148 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3149    function prototypes and stuff, but not '\xHH' hex character constants.
  3150    These don't provoke an error unfortunately, instead are silently treated
  3151    as 'x'.  The following induces an error, until -std is added to get
  3152    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3153    array size at least.  It's necessary to write '\x00'==0 to get something
  3154    that's true only with -std.  */
  3155 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3157 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3158    inside strings and character constants.  */
  3159 #define FOO(x) 'x'
  3160 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3162 int test (int i, double x);
  3163 struct s1 {int (*f) (int a);};
  3164 struct s2 {int (*f) (double a);};
  3165 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3166 int argc;
  3167 char **argv;
  3168 int
  3169 main ()
  3171 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3173   return 0;
  3175 _ACEOF
  3176 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3177 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3178 do
  3179   CC="$ac_save_CC $ac_arg"
  3180   rm -f conftest.$ac_objext
  3181 if { (ac_try="$ac_compile"
  3182 case "(($ac_try" in
  3183   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3184   *) ac_try_echo=$ac_try;;
  3185 esac
  3186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3187   (eval "$ac_compile") 2>conftest.er1
  3188   ac_status=$?
  3189   grep -v '^ *+' conftest.er1 >conftest.err
  3190   rm -f conftest.er1
  3191   cat conftest.err >&5
  3192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3193   (exit $ac_status); } && {
  3194 	 test -z "$ac_c_werror_flag" ||
  3195 	 test ! -s conftest.err
  3196        } && test -s conftest.$ac_objext; then
  3197   ac_cv_prog_cc_c89=$ac_arg
  3198 else
  3199   echo "$as_me: failed program was:" >&5
  3200 sed 's/^/| /' conftest.$ac_ext >&5
  3203 fi
  3205 rm -f core conftest.err conftest.$ac_objext
  3206   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3207 done
  3208 rm -f conftest.$ac_ext
  3209 CC=$ac_save_CC
  3211 fi
  3212 # AC_CACHE_VAL
  3213 case "x$ac_cv_prog_cc_c89" in
  3214   x)
  3215     { echo "$as_me:$LINENO: result: none needed" >&5
  3216 echo "${ECHO_T}none needed" >&6; } ;;
  3217   xno)
  3218     { echo "$as_me:$LINENO: result: unsupported" >&5
  3219 echo "${ECHO_T}unsupported" >&6; } ;;
  3220   *)
  3221     CC="$CC $ac_cv_prog_cc_c89"
  3222     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3223 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  3224 esac
  3227 ac_ext=c
  3228 ac_cpp='$CPP $CPPFLAGS'
  3229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3233 depcc="$CC"   am_compiler_list=
  3235 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3236 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  3237 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3238   echo $ECHO_N "(cached) $ECHO_C" >&6
  3239 else
  3240   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3241   # We make a subdir and do the tests there.  Otherwise we can end up
  3242   # making bogus files that we don't know about and never remove.  For
  3243   # instance it was reported that on HP-UX the gcc test will end up
  3244   # making a dummy file named `D' -- because `-MD' means `put the output
  3245   # in D'.
  3246   mkdir conftest.dir
  3247   # Copy depcomp to subdir because otherwise we won't find it if we're
  3248   # using a relative directory.
  3249   cp "$am_depcomp" conftest.dir
  3250   cd conftest.dir
  3251   # We will build objects and dependencies in a subdirectory because
  3252   # it helps to detect inapplicable dependency modes.  For instance
  3253   # both Tru64's cc and ICC support -MD to output dependencies as a
  3254   # side effect of compilation, but ICC will put the dependencies in
  3255   # the current directory while Tru64 will put them in the object
  3256   # directory.
  3257   mkdir sub
  3259   am_cv_CC_dependencies_compiler_type=none
  3260   if test "$am_compiler_list" = ""; then
  3261      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3262   fi
  3263   for depmode in $am_compiler_list; do
  3264     # Setup a source with many dependencies, because some compilers
  3265     # like to wrap large dependency lists on column 80 (with \), and
  3266     # we should not choose a depcomp mode which is confused by this.
  3268     # We need to recreate these files for each test, as the compiler may
  3269     # overwrite some of them when testing with obscure command lines.
  3270     # This happens at least with the AIX C compiler.
  3271     : > sub/conftest.c
  3272     for i in 1 2 3 4 5 6; do
  3273       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3274       : > sub/conftst$i.h
  3275     done
  3276     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3278     case $depmode in
  3279     nosideeffect)
  3280       # after this tag, mechanisms are not by side-effect, so they'll
  3281       # only be used when explicitly requested
  3282       if test "x$enable_dependency_tracking" = xyes; then
  3283 	continue
  3284       else
  3285 	break
  3286       fi
  3287       ;;
  3288     none) break ;;
  3289     esac
  3290     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3291     # mode.  It turns out that the SunPro C++ compiler does not properly
  3292     # handle `-M -o', and we need to detect this.
  3293     if depmode=$depmode \
  3294        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3295        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3296        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3297          >/dev/null 2>conftest.err &&
  3298        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3299        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3300        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3301       # icc doesn't choke on unknown options, it will just issue warnings
  3302       # (even with -Werror).  So we grep stderr for any message
  3303       # that says an option was ignored.
  3304       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
  3305         am_cv_CC_dependencies_compiler_type=$depmode
  3306         break
  3307       fi
  3308     fi
  3309   done
  3311   cd ..
  3312   rm -rf conftest.dir
  3313 else
  3314   am_cv_CC_dependencies_compiler_type=none
  3315 fi
  3317 fi
  3318 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3319 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  3320 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3324 if
  3325   test "x$enable_dependency_tracking" != xno \
  3326   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3327   am__fastdepCC_TRUE=
  3328   am__fastdepCC_FALSE='#'
  3329 else
  3330   am__fastdepCC_TRUE='#'
  3331   am__fastdepCC_FALSE=
  3332 fi
  3336 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
  3337 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
  3338 if test "${ac_cv_search_strerror+set}" = set; then
  3339   echo $ECHO_N "(cached) $ECHO_C" >&6
  3340 else
  3341   ac_func_search_save_LIBS=$LIBS
  3342 cat >conftest.$ac_ext <<_ACEOF
  3343 /* confdefs.h.  */
  3344 _ACEOF
  3345 cat confdefs.h >>conftest.$ac_ext
  3346 cat >>conftest.$ac_ext <<_ACEOF
  3347 /* end confdefs.h.  */
  3349 /* Override any GCC internal prototype to avoid an error.
  3350    Use char because int might match the return type of a GCC
  3351    builtin and then its argument prototype would still apply.  */
  3352 #ifdef __cplusplus
  3353 extern "C"
  3354 #endif
  3355 char strerror ();
  3356 int
  3357 main ()
  3359 return strerror ();
  3361   return 0;
  3363 _ACEOF
  3364 for ac_lib in '' cposix; do
  3365   if test -z "$ac_lib"; then
  3366     ac_res="none required"
  3367   else
  3368     ac_res=-l$ac_lib
  3369     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
  3370   fi
  3371   rm -f conftest.$ac_objext conftest$ac_exeext
  3372 if { (ac_try="$ac_link"
  3373 case "(($ac_try" in
  3374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3375   *) ac_try_echo=$ac_try;;
  3376 esac
  3377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3378   (eval "$ac_link") 2>conftest.er1
  3379   ac_status=$?
  3380   grep -v '^ *+' conftest.er1 >conftest.err
  3381   rm -f conftest.er1
  3382   cat conftest.err >&5
  3383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3384   (exit $ac_status); } && {
  3385 	 test -z "$ac_c_werror_flag" ||
  3386 	 test ! -s conftest.err
  3387        } && test -s conftest$ac_exeext &&
  3388        $as_test_x conftest$ac_exeext; then
  3389   ac_cv_search_strerror=$ac_res
  3390 else
  3391   echo "$as_me: failed program was:" >&5
  3392 sed 's/^/| /' conftest.$ac_ext >&5
  3395 fi
  3397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3398       conftest$ac_exeext
  3399   if test "${ac_cv_search_strerror+set}" = set; then
  3400   break
  3401 fi
  3402 done
  3403 if test "${ac_cv_search_strerror+set}" = set; then
  3405 else
  3406   ac_cv_search_strerror=no
  3407 fi
  3408 rm conftest.$ac_ext
  3409 LIBS=$ac_func_search_save_LIBS
  3410 fi
  3411 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
  3412 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
  3413 ac_res=$ac_cv_search_strerror
  3414 if test "$ac_res" != no; then
  3415   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  3417 fi
  3419 ac_ext=c
  3420 ac_cpp='$CPP $CPPFLAGS'
  3421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3424 if test -n "$ac_tool_prefix"; then
  3425   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3426 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3429 if test "${ac_cv_prog_CC+set}" = set; then
  3430   echo $ECHO_N "(cached) $ECHO_C" >&6
  3431 else
  3432   if test -n "$CC"; then
  3433   ac_cv_prog_CC="$CC" # Let the user override the test.
  3434 else
  3435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3436 for as_dir in $PATH
  3437 do
  3438   IFS=$as_save_IFS
  3439   test -z "$as_dir" && as_dir=.
  3440   for ac_exec_ext in '' $ac_executable_extensions; do
  3441   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3442     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3443     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3444     break 2
  3445   fi
  3446 done
  3447 done
  3448 IFS=$as_save_IFS
  3450 fi
  3451 fi
  3452 CC=$ac_cv_prog_CC
  3453 if test -n "$CC"; then
  3454   { echo "$as_me:$LINENO: result: $CC" >&5
  3455 echo "${ECHO_T}$CC" >&6; }
  3456 else
  3457   { echo "$as_me:$LINENO: result: no" >&5
  3458 echo "${ECHO_T}no" >&6; }
  3459 fi
  3462 fi
  3463 if test -z "$ac_cv_prog_CC"; then
  3464   ac_ct_CC=$CC
  3465   # Extract the first word of "gcc", so it can be a program name with args.
  3466 set dummy gcc; ac_word=$2
  3467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3469 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3470   echo $ECHO_N "(cached) $ECHO_C" >&6
  3471 else
  3472   if test -n "$ac_ct_CC"; then
  3473   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3474 else
  3475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3476 for as_dir in $PATH
  3477 do
  3478   IFS=$as_save_IFS
  3479   test -z "$as_dir" && as_dir=.
  3480   for ac_exec_ext in '' $ac_executable_extensions; do
  3481   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3482     ac_cv_prog_ac_ct_CC="gcc"
  3483     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3484     break 2
  3485   fi
  3486 done
  3487 done
  3488 IFS=$as_save_IFS
  3490 fi
  3491 fi
  3492 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3493 if test -n "$ac_ct_CC"; then
  3494   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3495 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3496 else
  3497   { echo "$as_me:$LINENO: result: no" >&5
  3498 echo "${ECHO_T}no" >&6; }
  3499 fi
  3501   if test "x$ac_ct_CC" = x; then
  3502     CC=""
  3503   else
  3504     case $cross_compiling:$ac_tool_warned in
  3505 yes:)
  3506 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3507 whose name does not start with the host triplet.  If you think this
  3508 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3509 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3510 whose name does not start with the host triplet.  If you think this
  3511 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3512 ac_tool_warned=yes ;;
  3513 esac
  3514     CC=$ac_ct_CC
  3515   fi
  3516 else
  3517   CC="$ac_cv_prog_CC"
  3518 fi
  3520 if test -z "$CC"; then
  3521           if test -n "$ac_tool_prefix"; then
  3522     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3523 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3526 if test "${ac_cv_prog_CC+set}" = set; then
  3527   echo $ECHO_N "(cached) $ECHO_C" >&6
  3528 else
  3529   if test -n "$CC"; then
  3530   ac_cv_prog_CC="$CC" # Let the user override the test.
  3531 else
  3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3533 for as_dir in $PATH
  3534 do
  3535   IFS=$as_save_IFS
  3536   test -z "$as_dir" && as_dir=.
  3537   for ac_exec_ext in '' $ac_executable_extensions; do
  3538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3539     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3540     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3541     break 2
  3542   fi
  3543 done
  3544 done
  3545 IFS=$as_save_IFS
  3547 fi
  3548 fi
  3549 CC=$ac_cv_prog_CC
  3550 if test -n "$CC"; then
  3551   { echo "$as_me:$LINENO: result: $CC" >&5
  3552 echo "${ECHO_T}$CC" >&6; }
  3553 else
  3554   { echo "$as_me:$LINENO: result: no" >&5
  3555 echo "${ECHO_T}no" >&6; }
  3556 fi
  3559   fi
  3560 fi
  3561 if test -z "$CC"; then
  3562   # Extract the first word of "cc", so it can be a program name with args.
  3563 set dummy cc; ac_word=$2
  3564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3566 if test "${ac_cv_prog_CC+set}" = set; then
  3567   echo $ECHO_N "(cached) $ECHO_C" >&6
  3568 else
  3569   if test -n "$CC"; then
  3570   ac_cv_prog_CC="$CC" # Let the user override the test.
  3571 else
  3572   ac_prog_rejected=no
  3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3574 for as_dir in $PATH
  3575 do
  3576   IFS=$as_save_IFS
  3577   test -z "$as_dir" && as_dir=.
  3578   for ac_exec_ext in '' $ac_executable_extensions; do
  3579   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3580     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3581        ac_prog_rejected=yes
  3582        continue
  3583      fi
  3584     ac_cv_prog_CC="cc"
  3585     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3586     break 2
  3587   fi
  3588 done
  3589 done
  3590 IFS=$as_save_IFS
  3592 if test $ac_prog_rejected = yes; then
  3593   # We found a bogon in the path, so make sure we never use it.
  3594   set dummy $ac_cv_prog_CC
  3595   shift
  3596   if test $# != 0; then
  3597     # We chose a different compiler from the bogus one.
  3598     # However, it has the same basename, so the bogon will be chosen
  3599     # first if we set CC to just the basename; use the full file name.
  3600     shift
  3601     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3602   fi
  3603 fi
  3604 fi
  3605 fi
  3606 CC=$ac_cv_prog_CC
  3607 if test -n "$CC"; then
  3608   { echo "$as_me:$LINENO: result: $CC" >&5
  3609 echo "${ECHO_T}$CC" >&6; }
  3610 else
  3611   { echo "$as_me:$LINENO: result: no" >&5
  3612 echo "${ECHO_T}no" >&6; }
  3613 fi
  3616 fi
  3617 if test -z "$CC"; then
  3618   if test -n "$ac_tool_prefix"; then
  3619   for ac_prog in cl.exe
  3620   do
  3621     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3622 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3625 if test "${ac_cv_prog_CC+set}" = set; then
  3626   echo $ECHO_N "(cached) $ECHO_C" >&6
  3627 else
  3628   if test -n "$CC"; then
  3629   ac_cv_prog_CC="$CC" # Let the user override the test.
  3630 else
  3631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3632 for as_dir in $PATH
  3633 do
  3634   IFS=$as_save_IFS
  3635   test -z "$as_dir" && as_dir=.
  3636   for ac_exec_ext in '' $ac_executable_extensions; do
  3637   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3638     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3639     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3640     break 2
  3641   fi
  3642 done
  3643 done
  3644 IFS=$as_save_IFS
  3646 fi
  3647 fi
  3648 CC=$ac_cv_prog_CC
  3649 if test -n "$CC"; then
  3650   { echo "$as_me:$LINENO: result: $CC" >&5
  3651 echo "${ECHO_T}$CC" >&6; }
  3652 else
  3653   { echo "$as_me:$LINENO: result: no" >&5
  3654 echo "${ECHO_T}no" >&6; }
  3655 fi
  3658     test -n "$CC" && break
  3659   done
  3660 fi
  3661 if test -z "$CC"; then
  3662   ac_ct_CC=$CC
  3663   for ac_prog in cl.exe
  3664 do
  3665   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3666 set dummy $ac_prog; ac_word=$2
  3667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3669 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3670   echo $ECHO_N "(cached) $ECHO_C" >&6
  3671 else
  3672   if test -n "$ac_ct_CC"; then
  3673   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3674 else
  3675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3676 for as_dir in $PATH
  3677 do
  3678   IFS=$as_save_IFS
  3679   test -z "$as_dir" && as_dir=.
  3680   for ac_exec_ext in '' $ac_executable_extensions; do
  3681   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3682     ac_cv_prog_ac_ct_CC="$ac_prog"
  3683     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3684     break 2
  3685   fi
  3686 done
  3687 done
  3688 IFS=$as_save_IFS
  3690 fi
  3691 fi
  3692 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3693 if test -n "$ac_ct_CC"; then
  3694   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3695 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3696 else
  3697   { echo "$as_me:$LINENO: result: no" >&5
  3698 echo "${ECHO_T}no" >&6; }
  3699 fi
  3702   test -n "$ac_ct_CC" && break
  3703 done
  3705   if test "x$ac_ct_CC" = x; then
  3706     CC=""
  3707   else
  3708     case $cross_compiling:$ac_tool_warned in
  3709 yes:)
  3710 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3711 whose name does not start with the host triplet.  If you think this
  3712 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3713 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3714 whose name does not start with the host triplet.  If you think this
  3715 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3716 ac_tool_warned=yes ;;
  3717 esac
  3718     CC=$ac_ct_CC
  3719   fi
  3720 fi
  3722 fi
  3725 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3726 See \`config.log' for more details." >&5
  3727 echo "$as_me: error: no acceptable C compiler found in \$PATH
  3728 See \`config.log' for more details." >&2;}
  3729    { (exit 1); exit 1; }; }
  3731 # Provide some information about the compiler.
  3732 echo "$as_me:$LINENO: checking for C compiler version" >&5
  3733 ac_compiler=`set X $ac_compile; echo $2`
  3734 { (ac_try="$ac_compiler --version >&5"
  3735 case "(($ac_try" in
  3736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3737   *) ac_try_echo=$ac_try;;
  3738 esac
  3739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3740   (eval "$ac_compiler --version >&5") 2>&5
  3741   ac_status=$?
  3742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3743   (exit $ac_status); }
  3744 { (ac_try="$ac_compiler -v >&5"
  3745 case "(($ac_try" in
  3746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3747   *) ac_try_echo=$ac_try;;
  3748 esac
  3749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3750   (eval "$ac_compiler -v >&5") 2>&5
  3751   ac_status=$?
  3752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3753   (exit $ac_status); }
  3754 { (ac_try="$ac_compiler -V >&5"
  3755 case "(($ac_try" in
  3756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3757   *) ac_try_echo=$ac_try;;
  3758 esac
  3759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3760   (eval "$ac_compiler -V >&5") 2>&5
  3761   ac_status=$?
  3762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3763   (exit $ac_status); }
  3765 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3766 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  3767 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3768   echo $ECHO_N "(cached) $ECHO_C" >&6
  3769 else
  3770   cat >conftest.$ac_ext <<_ACEOF
  3771 /* confdefs.h.  */
  3772 _ACEOF
  3773 cat confdefs.h >>conftest.$ac_ext
  3774 cat >>conftest.$ac_ext <<_ACEOF
  3775 /* end confdefs.h.  */
  3777 int
  3778 main ()
  3780 #ifndef __GNUC__
  3781        choke me
  3782 #endif
  3785   return 0;
  3787 _ACEOF
  3788 rm -f conftest.$ac_objext
  3789 if { (ac_try="$ac_compile"
  3790 case "(($ac_try" in
  3791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3792   *) ac_try_echo=$ac_try;;
  3793 esac
  3794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3795   (eval "$ac_compile") 2>conftest.er1
  3796   ac_status=$?
  3797   grep -v '^ *+' conftest.er1 >conftest.err
  3798   rm -f conftest.er1
  3799   cat conftest.err >&5
  3800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3801   (exit $ac_status); } && {
  3802 	 test -z "$ac_c_werror_flag" ||
  3803 	 test ! -s conftest.err
  3804        } && test -s conftest.$ac_objext; then
  3805   ac_compiler_gnu=yes
  3806 else
  3807   echo "$as_me: failed program was:" >&5
  3808 sed 's/^/| /' conftest.$ac_ext >&5
  3810 	ac_compiler_gnu=no
  3811 fi
  3813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3814 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3816 fi
  3817 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3818 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  3819 GCC=`test $ac_compiler_gnu = yes && echo yes`
  3820 ac_test_CFLAGS=${CFLAGS+set}
  3821 ac_save_CFLAGS=$CFLAGS
  3822 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3823 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  3824 if test "${ac_cv_prog_cc_g+set}" = set; then
  3825   echo $ECHO_N "(cached) $ECHO_C" >&6
  3826 else
  3827   ac_save_c_werror_flag=$ac_c_werror_flag
  3828    ac_c_werror_flag=yes
  3829    ac_cv_prog_cc_g=no
  3830    CFLAGS="-g"
  3831    cat >conftest.$ac_ext <<_ACEOF
  3832 /* confdefs.h.  */
  3833 _ACEOF
  3834 cat confdefs.h >>conftest.$ac_ext
  3835 cat >>conftest.$ac_ext <<_ACEOF
  3836 /* end confdefs.h.  */
  3838 int
  3839 main ()
  3843   return 0;
  3845 _ACEOF
  3846 rm -f conftest.$ac_objext
  3847 if { (ac_try="$ac_compile"
  3848 case "(($ac_try" in
  3849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3850   *) ac_try_echo=$ac_try;;
  3851 esac
  3852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3853   (eval "$ac_compile") 2>conftest.er1
  3854   ac_status=$?
  3855   grep -v '^ *+' conftest.er1 >conftest.err
  3856   rm -f conftest.er1
  3857   cat conftest.err >&5
  3858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3859   (exit $ac_status); } && {
  3860 	 test -z "$ac_c_werror_flag" ||
  3861 	 test ! -s conftest.err
  3862        } && test -s conftest.$ac_objext; then
  3863   ac_cv_prog_cc_g=yes
  3864 else
  3865   echo "$as_me: failed program was:" >&5
  3866 sed 's/^/| /' conftest.$ac_ext >&5
  3868 	CFLAGS=""
  3869       cat >conftest.$ac_ext <<_ACEOF
  3870 /* confdefs.h.  */
  3871 _ACEOF
  3872 cat confdefs.h >>conftest.$ac_ext
  3873 cat >>conftest.$ac_ext <<_ACEOF
  3874 /* end confdefs.h.  */
  3876 int
  3877 main ()
  3881   return 0;
  3883 _ACEOF
  3884 rm -f conftest.$ac_objext
  3885 if { (ac_try="$ac_compile"
  3886 case "(($ac_try" in
  3887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3888   *) ac_try_echo=$ac_try;;
  3889 esac
  3890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3891   (eval "$ac_compile") 2>conftest.er1
  3892   ac_status=$?
  3893   grep -v '^ *+' conftest.er1 >conftest.err
  3894   rm -f conftest.er1
  3895   cat conftest.err >&5
  3896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3897   (exit $ac_status); } && {
  3898 	 test -z "$ac_c_werror_flag" ||
  3899 	 test ! -s conftest.err
  3900        } && test -s conftest.$ac_objext; then
  3902 else
  3903   echo "$as_me: failed program was:" >&5
  3904 sed 's/^/| /' conftest.$ac_ext >&5
  3906 	ac_c_werror_flag=$ac_save_c_werror_flag
  3907 	 CFLAGS="-g"
  3908 	 cat >conftest.$ac_ext <<_ACEOF
  3909 /* confdefs.h.  */
  3910 _ACEOF
  3911 cat confdefs.h >>conftest.$ac_ext
  3912 cat >>conftest.$ac_ext <<_ACEOF
  3913 /* end confdefs.h.  */
  3915 int
  3916 main ()
  3920   return 0;
  3922 _ACEOF
  3923 rm -f conftest.$ac_objext
  3924 if { (ac_try="$ac_compile"
  3925 case "(($ac_try" in
  3926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3927   *) ac_try_echo=$ac_try;;
  3928 esac
  3929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3930   (eval "$ac_compile") 2>conftest.er1
  3931   ac_status=$?
  3932   grep -v '^ *+' conftest.er1 >conftest.err
  3933   rm -f conftest.er1
  3934   cat conftest.err >&5
  3935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3936   (exit $ac_status); } && {
  3937 	 test -z "$ac_c_werror_flag" ||
  3938 	 test ! -s conftest.err
  3939        } && test -s conftest.$ac_objext; then
  3940   ac_cv_prog_cc_g=yes
  3941 else
  3942   echo "$as_me: failed program was:" >&5
  3943 sed 's/^/| /' conftest.$ac_ext >&5
  3946 fi
  3948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3949 fi
  3951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3952 fi
  3954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3955    ac_c_werror_flag=$ac_save_c_werror_flag
  3956 fi
  3957 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3958 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  3959 if test "$ac_test_CFLAGS" = set; then
  3960   CFLAGS=$ac_save_CFLAGS
  3961 elif test $ac_cv_prog_cc_g = yes; then
  3962   if test "$GCC" = yes; then
  3963     CFLAGS="-g -O2"
  3964   else
  3965     CFLAGS="-g"
  3966   fi
  3967 else
  3968   if test "$GCC" = yes; then
  3969     CFLAGS="-O2"
  3970   else
  3971     CFLAGS=
  3972   fi
  3973 fi
  3974 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3975 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3976 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3977   echo $ECHO_N "(cached) $ECHO_C" >&6
  3978 else
  3979   ac_cv_prog_cc_c89=no
  3980 ac_save_CC=$CC
  3981 cat >conftest.$ac_ext <<_ACEOF
  3982 /* confdefs.h.  */
  3983 _ACEOF
  3984 cat confdefs.h >>conftest.$ac_ext
  3985 cat >>conftest.$ac_ext <<_ACEOF
  3986 /* end confdefs.h.  */
  3987 #include <stdarg.h>
  3988 #include <stdio.h>
  3989 #include <sys/types.h>
  3990 #include <sys/stat.h>
  3991 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3992 struct buf { int x; };
  3993 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3994 static char *e (p, i)
  3995      char **p;
  3996      int i;
  3998   return p[i];
  4000 static char *f (char * (*g) (char **, int), char **p, ...)
  4002   char *s;
  4003   va_list v;
  4004   va_start (v,p);
  4005   s = g (p, va_arg (v,int));
  4006   va_end (v);
  4007   return s;
  4010 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4011    function prototypes and stuff, but not '\xHH' hex character constants.
  4012    These don't provoke an error unfortunately, instead are silently treated
  4013    as 'x'.  The following induces an error, until -std is added to get
  4014    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4015    array size at least.  It's necessary to write '\x00'==0 to get something
  4016    that's true only with -std.  */
  4017 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4019 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4020    inside strings and character constants.  */
  4021 #define FOO(x) 'x'
  4022 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4024 int test (int i, double x);
  4025 struct s1 {int (*f) (int a);};
  4026 struct s2 {int (*f) (double a);};
  4027 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4028 int argc;
  4029 char **argv;
  4030 int
  4031 main ()
  4033 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4035   return 0;
  4037 _ACEOF
  4038 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4039 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4040 do
  4041   CC="$ac_save_CC $ac_arg"
  4042   rm -f conftest.$ac_objext
  4043 if { (ac_try="$ac_compile"
  4044 case "(($ac_try" in
  4045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4046   *) ac_try_echo=$ac_try;;
  4047 esac
  4048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4049   (eval "$ac_compile") 2>conftest.er1
  4050   ac_status=$?
  4051   grep -v '^ *+' conftest.er1 >conftest.err
  4052   rm -f conftest.er1
  4053   cat conftest.err >&5
  4054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4055   (exit $ac_status); } && {
  4056 	 test -z "$ac_c_werror_flag" ||
  4057 	 test ! -s conftest.err
  4058        } && test -s conftest.$ac_objext; then
  4059   ac_cv_prog_cc_c89=$ac_arg
  4060 else
  4061   echo "$as_me: failed program was:" >&5
  4062 sed 's/^/| /' conftest.$ac_ext >&5
  4065 fi
  4067 rm -f core conftest.err conftest.$ac_objext
  4068   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4069 done
  4070 rm -f conftest.$ac_ext
  4071 CC=$ac_save_CC
  4073 fi
  4074 # AC_CACHE_VAL
  4075 case "x$ac_cv_prog_cc_c89" in
  4076   x)
  4077     { echo "$as_me:$LINENO: result: none needed" >&5
  4078 echo "${ECHO_T}none needed" >&6; } ;;
  4079   xno)
  4080     { echo "$as_me:$LINENO: result: unsupported" >&5
  4081 echo "${ECHO_T}unsupported" >&6; } ;;
  4082   *)
  4083     CC="$CC $ac_cv_prog_cc_c89"
  4084     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4085 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  4086 esac
  4089 ac_ext=c
  4090 ac_cpp='$CPP $CPPFLAGS'
  4091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4095 depcc="$CC"   am_compiler_list=
  4097 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4098 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  4099 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4100   echo $ECHO_N "(cached) $ECHO_C" >&6
  4101 else
  4102   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4103   # We make a subdir and do the tests there.  Otherwise we can end up
  4104   # making bogus files that we don't know about and never remove.  For
  4105   # instance it was reported that on HP-UX the gcc test will end up
  4106   # making a dummy file named `D' -- because `-MD' means `put the output
  4107   # in D'.
  4108   mkdir conftest.dir
  4109   # Copy depcomp to subdir because otherwise we won't find it if we're
  4110   # using a relative directory.
  4111   cp "$am_depcomp" conftest.dir
  4112   cd conftest.dir
  4113   # We will build objects and dependencies in a subdirectory because
  4114   # it helps to detect inapplicable dependency modes.  For instance
  4115   # both Tru64's cc and ICC support -MD to output dependencies as a
  4116   # side effect of compilation, but ICC will put the dependencies in
  4117   # the current directory while Tru64 will put them in the object
  4118   # directory.
  4119   mkdir sub
  4121   am_cv_CC_dependencies_compiler_type=none
  4122   if test "$am_compiler_list" = ""; then
  4123      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4124   fi
  4125   for depmode in $am_compiler_list; do
  4126     # Setup a source with many dependencies, because some compilers
  4127     # like to wrap large dependency lists on column 80 (with \), and
  4128     # we should not choose a depcomp mode which is confused by this.
  4130     # We need to recreate these files for each test, as the compiler may
  4131     # overwrite some of them when testing with obscure command lines.
  4132     # This happens at least with the AIX C compiler.
  4133     : > sub/conftest.c
  4134     for i in 1 2 3 4 5 6; do
  4135       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4136       : > sub/conftst$i.h
  4137     done
  4138     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4140     case $depmode in
  4141     nosideeffect)
  4142       # after this tag, mechanisms are not by side-effect, so they'll
  4143       # only be used when explicitly requested
  4144       if test "x$enable_dependency_tracking" = xyes; then
  4145 	continue
  4146       else
  4147 	break
  4148       fi
  4149       ;;
  4150     none) break ;;
  4151     esac
  4152     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4153     # mode.  It turns out that the SunPro C++ compiler does not properly
  4154     # handle `-M -o', and we need to detect this.
  4155     if depmode=$depmode \
  4156        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4157        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4158        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4159          >/dev/null 2>conftest.err &&
  4160        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4161        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4162        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4163       # icc doesn't choke on unknown options, it will just issue warnings
  4164       # (even with -Werror).  So we grep stderr for any message
  4165       # that says an option was ignored.
  4166       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
  4167         am_cv_CC_dependencies_compiler_type=$depmode
  4168         break
  4169       fi
  4170     fi
  4171   done
  4173   cd ..
  4174   rm -rf conftest.dir
  4175 else
  4176   am_cv_CC_dependencies_compiler_type=none
  4177 fi
  4179 fi
  4180 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4181 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  4182 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4186 if
  4187   test "x$enable_dependency_tracking" != xno \
  4188   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4189   am__fastdepCC_TRUE=
  4190   am__fastdepCC_FALSE='#'
  4191 else
  4192   am__fastdepCC_TRUE='#'
  4193   am__fastdepCC_FALSE=
  4194 fi
  4200 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
  4201 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
  4202 if test "${am_cv_prog_cc_stdc+set}" = set; then
  4203   echo $ECHO_N "(cached) $ECHO_C" >&6
  4204 else
  4205   am_cv_prog_cc_stdc=no
  4206 ac_save_CC="$CC"
  4207 # Don't try gcc -ansi; that turns off useful extensions and
  4208 # breaks some systems' header files.
  4209 # AIX			-qlanglvl=ansi
  4210 # Ultrix and OSF/1	-std1
  4211 # HP-UX 10.20 and later	-Ae
  4212 # HP-UX older versions	-Aa -D_HPUX_SOURCE
  4213 # SVR4			-Xc -D__EXTENSIONS__
  4214 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4215 do
  4216   CC="$ac_save_CC $ac_arg"
  4217   cat >conftest.$ac_ext <<_ACEOF
  4218 /* confdefs.h.  */
  4219 _ACEOF
  4220 cat confdefs.h >>conftest.$ac_ext
  4221 cat >>conftest.$ac_ext <<_ACEOF
  4222 /* end confdefs.h.  */
  4223 #include <stdarg.h>
  4224 #include <stdio.h>
  4225 #include <sys/types.h>
  4226 #include <sys/stat.h>
  4227 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4228 struct buf { int x; };
  4229 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4230 static char *e (p, i)
  4231      char **p;
  4232      int i;
  4234   return p[i];
  4236 static char *f (char * (*g) (char **, int), char **p, ...)
  4238   char *s;
  4239   va_list v;
  4240   va_start (v,p);
  4241   s = g (p, va_arg (v,int));
  4242   va_end (v);
  4243   return s;
  4245 int test (int i, double x);
  4246 struct s1 {int (*f) (int a);};
  4247 struct s2 {int (*f) (double a);};
  4248 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4249 int argc;
  4250 char **argv;
  4252 int
  4253 main ()
  4256 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4259   return 0;
  4261 _ACEOF
  4262 rm -f conftest.$ac_objext
  4263 if { (ac_try="$ac_compile"
  4264 case "(($ac_try" in
  4265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4266   *) ac_try_echo=$ac_try;;
  4267 esac
  4268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4269   (eval "$ac_compile") 2>conftest.er1
  4270   ac_status=$?
  4271   grep -v '^ *+' conftest.er1 >conftest.err
  4272   rm -f conftest.er1
  4273   cat conftest.err >&5
  4274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4275   (exit $ac_status); } && {
  4276 	 test -z "$ac_c_werror_flag" ||
  4277 	 test ! -s conftest.err
  4278        } && test -s conftest.$ac_objext; then
  4279   am_cv_prog_cc_stdc="$ac_arg"; break
  4280 else
  4281   echo "$as_me: failed program was:" >&5
  4282 sed 's/^/| /' conftest.$ac_ext >&5
  4285 fi
  4287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4288 done
  4289 CC="$ac_save_CC"
  4291 fi
  4293 if test -z "$am_cv_prog_cc_stdc"; then
  4294   { echo "$as_me:$LINENO: result: none needed" >&5
  4295 echo "${ECHO_T}none needed" >&6; }
  4296 else
  4297   { echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
  4298 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6; }
  4299 fi
  4300 case "x$am_cv_prog_cc_stdc" in
  4301   x|xno) ;;
  4302   *) CC="$CC $am_cv_prog_cc_stdc" ;;
  4303 esac
  4305 # By default we simply use the C compiler to build assembly code.
  4307 : ${CCAS='$(CC)'}
  4308 # Set ASFLAGS if not already set.
  4309 : ${CCASFLAGS='$(CFLAGS)'}
  4312 ac_ext=c
  4313 ac_cpp='$CPP $CPPFLAGS'
  4314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4317 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  4318 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  4319 # On Suns, sometimes $CPP names a directory.
  4320 if test -n "$CPP" && test -d "$CPP"; then
  4321   CPP=
  4322 fi
  4323 if test -z "$CPP"; then
  4324   if test "${ac_cv_prog_CPP+set}" = set; then
  4325   echo $ECHO_N "(cached) $ECHO_C" >&6
  4326 else
  4327       # Double quotes because CPP needs to be expanded
  4328     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  4329     do
  4330       ac_preproc_ok=false
  4331 for ac_c_preproc_warn_flag in '' yes
  4332 do
  4333   # Use a header file that comes with gcc, so configuring glibc
  4334   # with a fresh cross-compiler works.
  4335   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4336   # <limits.h> exists even on freestanding compilers.
  4337   # On the NeXT, cc -E runs the code through the compiler's parser,
  4338   # not just through cpp. "Syntax error" is here to catch this case.
  4339   cat >conftest.$ac_ext <<_ACEOF
  4340 /* confdefs.h.  */
  4341 _ACEOF
  4342 cat confdefs.h >>conftest.$ac_ext
  4343 cat >>conftest.$ac_ext <<_ACEOF
  4344 /* end confdefs.h.  */
  4345 #ifdef __STDC__
  4346 # include <limits.h>
  4347 #else
  4348 # include <assert.h>
  4349 #endif
  4350 		     Syntax error
  4351 _ACEOF
  4352 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4353 case "(($ac_try" in
  4354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4355   *) ac_try_echo=$ac_try;;
  4356 esac
  4357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4358   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4359   ac_status=$?
  4360   grep -v '^ *+' conftest.er1 >conftest.err
  4361   rm -f conftest.er1
  4362   cat conftest.err >&5
  4363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4364   (exit $ac_status); } >/dev/null && {
  4365 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4366 	 test ! -s conftest.err
  4367        }; then
  4369 else
  4370   echo "$as_me: failed program was:" >&5
  4371 sed 's/^/| /' conftest.$ac_ext >&5
  4373   # Broken: fails on valid input.
  4374 continue
  4375 fi
  4377 rm -f conftest.err conftest.$ac_ext
  4379   # OK, works on sane cases.  Now check whether nonexistent headers
  4380   # can be detected and how.
  4381   cat >conftest.$ac_ext <<_ACEOF
  4382 /* confdefs.h.  */
  4383 _ACEOF
  4384 cat confdefs.h >>conftest.$ac_ext
  4385 cat >>conftest.$ac_ext <<_ACEOF
  4386 /* end confdefs.h.  */
  4387 #include <ac_nonexistent.h>
  4388 _ACEOF
  4389 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4390 case "(($ac_try" in
  4391   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4392   *) ac_try_echo=$ac_try;;
  4393 esac
  4394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4395   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4396   ac_status=$?
  4397   grep -v '^ *+' conftest.er1 >conftest.err
  4398   rm -f conftest.er1
  4399   cat conftest.err >&5
  4400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4401   (exit $ac_status); } >/dev/null && {
  4402 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4403 	 test ! -s conftest.err
  4404        }; then
  4405   # Broken: success on invalid input.
  4406 continue
  4407 else
  4408   echo "$as_me: failed program was:" >&5
  4409 sed 's/^/| /' conftest.$ac_ext >&5
  4411   # Passes both tests.
  4412 ac_preproc_ok=:
  4413 break
  4414 fi
  4416 rm -f conftest.err conftest.$ac_ext
  4418 done
  4419 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4420 rm -f conftest.err conftest.$ac_ext
  4421 if $ac_preproc_ok; then
  4422   break
  4423 fi
  4425     done
  4426     ac_cv_prog_CPP=$CPP
  4428 fi
  4429   CPP=$ac_cv_prog_CPP
  4430 else
  4431   ac_cv_prog_CPP=$CPP
  4432 fi
  4433 { echo "$as_me:$LINENO: result: $CPP" >&5
  4434 echo "${ECHO_T}$CPP" >&6; }
  4435 ac_preproc_ok=false
  4436 for ac_c_preproc_warn_flag in '' yes
  4437 do
  4438   # Use a header file that comes with gcc, so configuring glibc
  4439   # with a fresh cross-compiler works.
  4440   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4441   # <limits.h> exists even on freestanding compilers.
  4442   # On the NeXT, cc -E runs the code through the compiler's parser,
  4443   # not just through cpp. "Syntax error" is here to catch this case.
  4444   cat >conftest.$ac_ext <<_ACEOF
  4445 /* confdefs.h.  */
  4446 _ACEOF
  4447 cat confdefs.h >>conftest.$ac_ext
  4448 cat >>conftest.$ac_ext <<_ACEOF
  4449 /* end confdefs.h.  */
  4450 #ifdef __STDC__
  4451 # include <limits.h>
  4452 #else
  4453 # include <assert.h>
  4454 #endif
  4455 		     Syntax error
  4456 _ACEOF
  4457 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4458 case "(($ac_try" in
  4459   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4460   *) ac_try_echo=$ac_try;;
  4461 esac
  4462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4463   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4464   ac_status=$?
  4465   grep -v '^ *+' conftest.er1 >conftest.err
  4466   rm -f conftest.er1
  4467   cat conftest.err >&5
  4468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4469   (exit $ac_status); } >/dev/null && {
  4470 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4471 	 test ! -s conftest.err
  4472        }; then
  4474 else
  4475   echo "$as_me: failed program was:" >&5
  4476 sed 's/^/| /' conftest.$ac_ext >&5
  4478   # Broken: fails on valid input.
  4479 continue
  4480 fi
  4482 rm -f conftest.err conftest.$ac_ext
  4484   # OK, works on sane cases.  Now check whether nonexistent headers
  4485   # can be detected and how.
  4486   cat >conftest.$ac_ext <<_ACEOF
  4487 /* confdefs.h.  */
  4488 _ACEOF
  4489 cat confdefs.h >>conftest.$ac_ext
  4490 cat >>conftest.$ac_ext <<_ACEOF
  4491 /* end confdefs.h.  */
  4492 #include <ac_nonexistent.h>
  4493 _ACEOF
  4494 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4495 case "(($ac_try" in
  4496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4497   *) ac_try_echo=$ac_try;;
  4498 esac
  4499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4500   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4501   ac_status=$?
  4502   grep -v '^ *+' conftest.er1 >conftest.err
  4503   rm -f conftest.er1
  4504   cat conftest.err >&5
  4505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4506   (exit $ac_status); } >/dev/null && {
  4507 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4508 	 test ! -s conftest.err
  4509        }; then
  4510   # Broken: success on invalid input.
  4511 continue
  4512 else
  4513   echo "$as_me: failed program was:" >&5
  4514 sed 's/^/| /' conftest.$ac_ext >&5
  4516   # Passes both tests.
  4517 ac_preproc_ok=:
  4518 break
  4519 fi
  4521 rm -f conftest.err conftest.$ac_ext
  4523 done
  4524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4525 rm -f conftest.err conftest.$ac_ext
  4526 if $ac_preproc_ok; then
  4528 else
  4529   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  4530 See \`config.log' for more details." >&5
  4531 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  4532 See \`config.log' for more details." >&2;}
  4533    { (exit 1); exit 1; }; }
  4534 fi
  4536 ac_ext=c
  4537 ac_cpp='$CPP $CPPFLAGS'
  4538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4543 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  4544 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  4545 if test "${ac_cv_path_GREP+set}" = set; then
  4546   echo $ECHO_N "(cached) $ECHO_C" >&6
  4547 else
  4548   # Extract the first word of "grep ggrep" to use in msg output
  4549 if test -z "$GREP"; then
  4550 set dummy grep ggrep; ac_prog_name=$2
  4551 if test "${ac_cv_path_GREP+set}" = set; then
  4552   echo $ECHO_N "(cached) $ECHO_C" >&6
  4553 else
  4554   ac_path_GREP_found=false
  4555 # Loop through the user's path and test for each of PROGNAME-LIST
  4556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4557 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4558 do
  4559   IFS=$as_save_IFS
  4560   test -z "$as_dir" && as_dir=.
  4561   for ac_prog in grep ggrep; do
  4562   for ac_exec_ext in '' $ac_executable_extensions; do
  4563     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4564     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  4565     # Check for GNU ac_path_GREP and select it if it is found.
  4566   # Check for GNU $ac_path_GREP
  4567 case `"$ac_path_GREP" --version 2>&1` in
  4568 *GNU*)
  4569   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4570 *)
  4571   ac_count=0
  4572   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  4573   while :
  4574   do
  4575     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4576     mv "conftest.tmp" "conftest.in"
  4577     cp "conftest.in" "conftest.nl"
  4578     echo 'GREP' >> "conftest.nl"
  4579     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4580     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4581     ac_count=`expr $ac_count + 1`
  4582     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4583       # Best one so far, save it but keep looking for a better one
  4584       ac_cv_path_GREP="$ac_path_GREP"
  4585       ac_path_GREP_max=$ac_count
  4586     fi
  4587     # 10*(2^10) chars as input seems more than enough
  4588     test $ac_count -gt 10 && break
  4589   done
  4590   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4591 esac
  4594     $ac_path_GREP_found && break 3
  4595   done
  4596 done
  4598 done
  4599 IFS=$as_save_IFS
  4602 fi
  4604 GREP="$ac_cv_path_GREP"
  4605 if test -z "$GREP"; then
  4606   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4607 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4608    { (exit 1); exit 1; }; }
  4609 fi
  4611 else
  4612   ac_cv_path_GREP=$GREP
  4613 fi
  4616 fi
  4617 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  4618 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  4619  GREP="$ac_cv_path_GREP"
  4622 { echo "$as_me:$LINENO: checking for egrep" >&5
  4623 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  4624 if test "${ac_cv_path_EGREP+set}" = set; then
  4625   echo $ECHO_N "(cached) $ECHO_C" >&6
  4626 else
  4627   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4628    then ac_cv_path_EGREP="$GREP -E"
  4629    else
  4630      # Extract the first word of "egrep" to use in msg output
  4631 if test -z "$EGREP"; then
  4632 set dummy egrep; ac_prog_name=$2
  4633 if test "${ac_cv_path_EGREP+set}" = set; then
  4634   echo $ECHO_N "(cached) $ECHO_C" >&6
  4635 else
  4636   ac_path_EGREP_found=false
  4637 # Loop through the user's path and test for each of PROGNAME-LIST
  4638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4639 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4640 do
  4641   IFS=$as_save_IFS
  4642   test -z "$as_dir" && as_dir=.
  4643   for ac_prog in egrep; do
  4644   for ac_exec_ext in '' $ac_executable_extensions; do
  4645     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4646     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  4647     # Check for GNU ac_path_EGREP and select it if it is found.
  4648   # Check for GNU $ac_path_EGREP
  4649 case `"$ac_path_EGREP" --version 2>&1` in
  4650 *GNU*)
  4651   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4652 *)
  4653   ac_count=0
  4654   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  4655   while :
  4656   do
  4657     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4658     mv "conftest.tmp" "conftest.in"
  4659     cp "conftest.in" "conftest.nl"
  4660     echo 'EGREP' >> "conftest.nl"
  4661     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4662     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4663     ac_count=`expr $ac_count + 1`
  4664     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4665       # Best one so far, save it but keep looking for a better one
  4666       ac_cv_path_EGREP="$ac_path_EGREP"
  4667       ac_path_EGREP_max=$ac_count
  4668     fi
  4669     # 10*(2^10) chars as input seems more than enough
  4670     test $ac_count -gt 10 && break
  4671   done
  4672   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4673 esac
  4676     $ac_path_EGREP_found && break 3
  4677   done
  4678 done
  4680 done
  4681 IFS=$as_save_IFS
  4684 fi
  4686 EGREP="$ac_cv_path_EGREP"
  4687 if test -z "$EGREP"; then
  4688   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4689 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4690    { (exit 1); exit 1; }; }
  4691 fi
  4693 else
  4694   ac_cv_path_EGREP=$EGREP
  4695 fi
  4698    fi
  4699 fi
  4700 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  4701 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  4702  EGREP="$ac_cv_path_EGREP"
  4705 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  4706 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  4707 if test "${ac_cv_header_stdc+set}" = set; then
  4708   echo $ECHO_N "(cached) $ECHO_C" >&6
  4709 else
  4710   cat >conftest.$ac_ext <<_ACEOF
  4711 /* confdefs.h.  */
  4712 _ACEOF
  4713 cat confdefs.h >>conftest.$ac_ext
  4714 cat >>conftest.$ac_ext <<_ACEOF
  4715 /* end confdefs.h.  */
  4716 #include <stdlib.h>
  4717 #include <stdarg.h>
  4718 #include <string.h>
  4719 #include <float.h>
  4721 int
  4722 main ()
  4726   return 0;
  4728 _ACEOF
  4729 rm -f conftest.$ac_objext
  4730 if { (ac_try="$ac_compile"
  4731 case "(($ac_try" in
  4732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4733   *) ac_try_echo=$ac_try;;
  4734 esac
  4735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4736   (eval "$ac_compile") 2>conftest.er1
  4737   ac_status=$?
  4738   grep -v '^ *+' conftest.er1 >conftest.err
  4739   rm -f conftest.er1
  4740   cat conftest.err >&5
  4741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4742   (exit $ac_status); } && {
  4743 	 test -z "$ac_c_werror_flag" ||
  4744 	 test ! -s conftest.err
  4745        } && test -s conftest.$ac_objext; then
  4746   ac_cv_header_stdc=yes
  4747 else
  4748   echo "$as_me: failed program was:" >&5
  4749 sed 's/^/| /' conftest.$ac_ext >&5
  4751 	ac_cv_header_stdc=no
  4752 fi
  4754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4756 if test $ac_cv_header_stdc = yes; then
  4757   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4758   cat >conftest.$ac_ext <<_ACEOF
  4759 /* confdefs.h.  */
  4760 _ACEOF
  4761 cat confdefs.h >>conftest.$ac_ext
  4762 cat >>conftest.$ac_ext <<_ACEOF
  4763 /* end confdefs.h.  */
  4764 #include <string.h>
  4766 _ACEOF
  4767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4768   $EGREP "memchr" >/dev/null 2>&1; then
  4770 else
  4771   ac_cv_header_stdc=no
  4772 fi
  4773 rm -f conftest*
  4775 fi
  4777 if test $ac_cv_header_stdc = yes; then
  4778   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4779   cat >conftest.$ac_ext <<_ACEOF
  4780 /* confdefs.h.  */
  4781 _ACEOF
  4782 cat confdefs.h >>conftest.$ac_ext
  4783 cat >>conftest.$ac_ext <<_ACEOF
  4784 /* end confdefs.h.  */
  4785 #include <stdlib.h>
  4787 _ACEOF
  4788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4789   $EGREP "free" >/dev/null 2>&1; then
  4791 else
  4792   ac_cv_header_stdc=no
  4793 fi
  4794 rm -f conftest*
  4796 fi
  4798 if test $ac_cv_header_stdc = yes; then
  4799   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4800   if test "$cross_compiling" = yes; then
  4802 else
  4803   cat >conftest.$ac_ext <<_ACEOF
  4804 /* confdefs.h.  */
  4805 _ACEOF
  4806 cat confdefs.h >>conftest.$ac_ext
  4807 cat >>conftest.$ac_ext <<_ACEOF
  4808 /* end confdefs.h.  */
  4809 #include <ctype.h>
  4810 #include <stdlib.h>
  4811 #if ((' ' & 0x0FF) == 0x020)
  4812 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4813 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4814 #else
  4815 # define ISLOWER(c) \
  4816 		   (('a' <= (c) && (c) <= 'i') \
  4817 		     || ('j' <= (c) && (c) <= 'r') \
  4818 		     || ('s' <= (c) && (c) <= 'z'))
  4819 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4820 #endif
  4822 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4823 int
  4824 main ()
  4826   int i;
  4827   for (i = 0; i < 256; i++)
  4828     if (XOR (islower (i), ISLOWER (i))
  4829 	|| toupper (i) != TOUPPER (i))
  4830       return 2;
  4831   return 0;
  4833 _ACEOF
  4834 rm -f conftest$ac_exeext
  4835 if { (ac_try="$ac_link"
  4836 case "(($ac_try" in
  4837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4838   *) ac_try_echo=$ac_try;;
  4839 esac
  4840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4841   (eval "$ac_link") 2>&5
  4842   ac_status=$?
  4843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4844   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  4845   { (case "(($ac_try" in
  4846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4847   *) ac_try_echo=$ac_try;;
  4848 esac
  4849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4850   (eval "$ac_try") 2>&5
  4851   ac_status=$?
  4852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4853   (exit $ac_status); }; }; then
  4855 else
  4856   echo "$as_me: program exited with status $ac_status" >&5
  4857 echo "$as_me: failed program was:" >&5
  4858 sed 's/^/| /' conftest.$ac_ext >&5
  4860 ( exit $ac_status )
  4861 ac_cv_header_stdc=no
  4862 fi
  4863 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  4864 fi
  4867 fi
  4868 fi
  4869 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  4870 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  4871 if test $ac_cv_header_stdc = yes; then
  4873 cat >>confdefs.h <<\_ACEOF
  4874 #define STDC_HEADERS 1
  4875 _ACEOF
  4877 fi
  4879 # Make sure we can run config.sub.
  4880 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  4881   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  4882 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  4883    { (exit 1); exit 1; }; }
  4885 { echo "$as_me:$LINENO: checking build system type" >&5
  4886 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  4887 if test "${ac_cv_build+set}" = set; then
  4888   echo $ECHO_N "(cached) $ECHO_C" >&6
  4889 else
  4890   ac_build_alias=$build_alias
  4891 test "x$ac_build_alias" = x &&
  4892   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  4893 test "x$ac_build_alias" = x &&
  4894   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  4895 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  4896    { (exit 1); exit 1; }; }
  4897 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  4898   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  4899 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  4900    { (exit 1); exit 1; }; }
  4902 fi
  4903 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  4904 echo "${ECHO_T}$ac_cv_build" >&6; }
  4905 case $ac_cv_build in
  4906 *-*-*) ;;
  4907 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  4908 echo "$as_me: error: invalid value of canonical build" >&2;}
  4909    { (exit 1); exit 1; }; };;
  4910 esac
  4911 build=$ac_cv_build
  4912 ac_save_IFS=$IFS; IFS='-'
  4913 set x $ac_cv_build
  4914 shift
  4915 build_cpu=$1
  4916 build_vendor=$2
  4917 shift; shift
  4918 # Remember, the first character of IFS is used to create $*,
  4919 # except with old shells:
  4920 build_os=$*
  4921 IFS=$ac_save_IFS
  4922 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4925 { echo "$as_me:$LINENO: checking host system type" >&5
  4926 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  4927 if test "${ac_cv_host+set}" = set; then
  4928   echo $ECHO_N "(cached) $ECHO_C" >&6
  4929 else
  4930   if test "x$host_alias" = x; then
  4931   ac_cv_host=$ac_cv_build
  4932 else
  4933   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  4934     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  4935 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  4936    { (exit 1); exit 1; }; }
  4937 fi
  4939 fi
  4940 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  4941 echo "${ECHO_T}$ac_cv_host" >&6; }
  4942 case $ac_cv_host in
  4943 *-*-*) ;;
  4944 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  4945 echo "$as_me: error: invalid value of canonical host" >&2;}
  4946    { (exit 1); exit 1; }; };;
  4947 esac
  4948 host=$ac_cv_host
  4949 ac_save_IFS=$IFS; IFS='-'
  4950 set x $ac_cv_host
  4951 shift
  4952 host_cpu=$1
  4953 host_vendor=$2
  4954 shift; shift
  4955 # Remember, the first character of IFS is used to create $*,
  4956 # except with old shells:
  4957 host_os=$*
  4958 IFS=$ac_save_IFS
  4959 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4962 # Check whether --enable-trace was given.
  4963 if test "${enable_trace+set}" = set; then
  4964   enableval=$enable_trace; if test "$enableval" == "yes"; then
  4966 cat >>confdefs.h <<\_ACEOF
  4967 #define ENABLE_TRACE_IO 1
  4968 _ACEOF
  4970     fi
  4971 fi
  4973 # Check whether --enable-watch was given.
  4974 if test "${enable_watch+set}" = set; then
  4975   enableval=$enable_watch; if test "$enableval" == "yes"; then
  4977 cat >>confdefs.h <<\_ACEOF
  4978 #define ENABLE_WATCH 1
  4979 _ACEOF
  4981    fi
  4982 fi
  4984 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4994 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4995 		  inttypes.h stdint.h unistd.h
  4996 do
  4997 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4998 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  4999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5000 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5001   echo $ECHO_N "(cached) $ECHO_C" >&6
  5002 else
  5003   cat >conftest.$ac_ext <<_ACEOF
  5004 /* confdefs.h.  */
  5005 _ACEOF
  5006 cat confdefs.h >>conftest.$ac_ext
  5007 cat >>conftest.$ac_ext <<_ACEOF
  5008 /* end confdefs.h.  */
  5009 $ac_includes_default
  5011 #include <$ac_header>
  5012 _ACEOF
  5013 rm -f conftest.$ac_objext
  5014 if { (ac_try="$ac_compile"
  5015 case "(($ac_try" in
  5016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5017   *) ac_try_echo=$ac_try;;
  5018 esac
  5019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5020   (eval "$ac_compile") 2>conftest.er1
  5021   ac_status=$?
  5022   grep -v '^ *+' conftest.er1 >conftest.err
  5023   rm -f conftest.er1
  5024   cat conftest.err >&5
  5025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5026   (exit $ac_status); } && {
  5027 	 test -z "$ac_c_werror_flag" ||
  5028 	 test ! -s conftest.err
  5029        } && test -s conftest.$ac_objext; then
  5030   eval "$as_ac_Header=yes"
  5031 else
  5032   echo "$as_me: failed program was:" >&5
  5033 sed 's/^/| /' conftest.$ac_ext >&5
  5035 	eval "$as_ac_Header=no"
  5036 fi
  5038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5039 fi
  5040 ac_res=`eval echo '${'$as_ac_Header'}'`
  5041 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  5042 echo "${ECHO_T}$ac_res" >&6; }
  5043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  5044   cat >>confdefs.h <<_ACEOF
  5045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5046 _ACEOF
  5048 fi
  5050 done
  5053 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
  5054   { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
  5055 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
  5056 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
  5057   echo $ECHO_N "(cached) $ECHO_C" >&6
  5058 fi
  5059 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
  5060 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
  5061 else
  5062   # Is the header compilable?
  5063 { echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
  5064 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; }
  5065 cat >conftest.$ac_ext <<_ACEOF
  5066 /* confdefs.h.  */
  5067 _ACEOF
  5068 cat confdefs.h >>conftest.$ac_ext
  5069 cat >>conftest.$ac_ext <<_ACEOF
  5070 /* end confdefs.h.  */
  5071 $ac_includes_default
  5072 #include <Carbon/Carbon.h>
  5073 _ACEOF
  5074 rm -f conftest.$ac_objext
  5075 if { (ac_try="$ac_compile"
  5076 case "(($ac_try" in
  5077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5078   *) ac_try_echo=$ac_try;;
  5079 esac
  5080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5081   (eval "$ac_compile") 2>conftest.er1
  5082   ac_status=$?
  5083   grep -v '^ *+' conftest.er1 >conftest.err
  5084   rm -f conftest.er1
  5085   cat conftest.err >&5
  5086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5087   (exit $ac_status); } && {
  5088 	 test -z "$ac_c_werror_flag" ||
  5089 	 test ! -s conftest.err
  5090        } && test -s conftest.$ac_objext; then
  5091   ac_header_compiler=yes
  5092 else
  5093   echo "$as_me: failed program was:" >&5
  5094 sed 's/^/| /' conftest.$ac_ext >&5
  5096 	ac_header_compiler=no
  5097 fi
  5099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5100 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5101 echo "${ECHO_T}$ac_header_compiler" >&6; }
  5103 # Is the header present?
  5104 { echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
  5105 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; }
  5106 cat >conftest.$ac_ext <<_ACEOF
  5107 /* confdefs.h.  */
  5108 _ACEOF
  5109 cat confdefs.h >>conftest.$ac_ext
  5110 cat >>conftest.$ac_ext <<_ACEOF
  5111 /* end confdefs.h.  */
  5112 #include <Carbon/Carbon.h>
  5113 _ACEOF
  5114 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5115 case "(($ac_try" in
  5116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5117   *) ac_try_echo=$ac_try;;
  5118 esac
  5119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5120   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5121   ac_status=$?
  5122   grep -v '^ *+' conftest.er1 >conftest.err
  5123   rm -f conftest.er1
  5124   cat conftest.err >&5
  5125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5126   (exit $ac_status); } >/dev/null && {
  5127 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5128 	 test ! -s conftest.err
  5129        }; then
  5130   ac_header_preproc=yes
  5131 else
  5132   echo "$as_me: failed program was:" >&5
  5133 sed 's/^/| /' conftest.$ac_ext >&5
  5135   ac_header_preproc=no
  5136 fi
  5138 rm -f conftest.err conftest.$ac_ext
  5139 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5140 echo "${ECHO_T}$ac_header_preproc" >&6; }
  5142 # So?  What about this header?
  5143 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5144   yes:no: )
  5145     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
  5146 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  5147     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
  5148 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
  5149     ac_header_preproc=yes
  5150     ;;
  5151   no:yes:* )
  5152     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
  5153 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
  5154     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h:     check for missing prerequisite headers?" >&5
  5155 echo "$as_me: WARNING: Carbon/Carbon.h:     check for missing prerequisite headers?" >&2;}
  5156     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
  5157 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
  5158     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h:     section \"Present But Cannot Be Compiled\"" >&5
  5159 echo "$as_me: WARNING: Carbon/Carbon.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  5160     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
  5161 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
  5162     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
  5163 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
  5165     ;;
  5166 esac
  5167 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
  5168 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
  5169 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
  5170   echo $ECHO_N "(cached) $ECHO_C" >&6
  5171 else
  5172   ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
  5173 fi
  5174 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
  5175 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
  5177 fi
  5178 if test $ac_cv_header_Carbon_Carbon_h = yes; then
  5180    HAVE_CARBON='yes'
  5181    APPLE_BUILD='yes'
  5182    LIBS="$LIBS -framework OpenGL -framework AGL -framework Carbon -L/usr/X11R6/lib -lGL"
  5184 cat >>confdefs.h <<\_ACEOF
  5185 #define HAVE_CARBON 1
  5186 _ACEOF
  5189 cat >>confdefs.h <<\_ACEOF
  5190 #define APPLE_BUILD 1
  5191 _ACEOF
  5194 fi
  5200 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  5201 	if test -n "$ac_tool_prefix"; then
  5202   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  5203 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  5204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5206 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  5207   echo $ECHO_N "(cached) $ECHO_C" >&6
  5208 else
  5209   case $PKG_CONFIG in
  5210   [\\/]* | ?:[\\/]*)
  5211   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  5212   ;;
  5213   *)
  5214   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5215 for as_dir in $PATH
  5216 do
  5217   IFS=$as_save_IFS
  5218   test -z "$as_dir" && as_dir=.
  5219   for ac_exec_ext in '' $ac_executable_extensions; do
  5220   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5221     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  5222     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5223     break 2
  5224   fi
  5225 done
  5226 done
  5227 IFS=$as_save_IFS
  5229   ;;
  5230 esac
  5231 fi
  5232 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  5233 if test -n "$PKG_CONFIG"; then
  5234   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  5235 echo "${ECHO_T}$PKG_CONFIG" >&6; }
  5236 else
  5237   { echo "$as_me:$LINENO: result: no" >&5
  5238 echo "${ECHO_T}no" >&6; }
  5239 fi
  5242 fi
  5243 if test -z "$ac_cv_path_PKG_CONFIG"; then
  5244   ac_pt_PKG_CONFIG=$PKG_CONFIG
  5245   # Extract the first word of "pkg-config", so it can be a program name with args.
  5246 set dummy pkg-config; ac_word=$2
  5247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5249 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  5250   echo $ECHO_N "(cached) $ECHO_C" >&6
  5251 else
  5252   case $ac_pt_PKG_CONFIG in
  5253   [\\/]* | ?:[\\/]*)
  5254   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  5255   ;;
  5256   *)
  5257   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5258 for as_dir in $PATH
  5259 do
  5260   IFS=$as_save_IFS
  5261   test -z "$as_dir" && as_dir=.
  5262   for ac_exec_ext in '' $ac_executable_extensions; do
  5263   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5264     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  5265     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5266     break 2
  5267   fi
  5268 done
  5269 done
  5270 IFS=$as_save_IFS
  5272   ;;
  5273 esac
  5274 fi
  5275 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  5276 if test -n "$ac_pt_PKG_CONFIG"; then
  5277   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
  5278 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
  5279 else
  5280   { echo "$as_me:$LINENO: result: no" >&5
  5281 echo "${ECHO_T}no" >&6; }
  5282 fi
  5284   if test "x$ac_pt_PKG_CONFIG" = x; then
  5285     PKG_CONFIG=""
  5286   else
  5287     case $cross_compiling:$ac_tool_warned in
  5288 yes:)
  5289 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5290 whose name does not start with the host triplet.  If you think this
  5291 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5292 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5293 whose name does not start with the host triplet.  If you think this
  5294 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5295 ac_tool_warned=yes ;;
  5296 esac
  5297     PKG_CONFIG=$ac_pt_PKG_CONFIG
  5298   fi
  5299 else
  5300   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  5301 fi
  5303 fi
  5304 if test -n "$PKG_CONFIG"; then
  5305 	_pkg_min_version=0.9.0
  5306 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
  5307 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
  5308 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  5309 		{ echo "$as_me:$LINENO: result: yes" >&5
  5310 echo "${ECHO_T}yes" >&6; }
  5311 	else
  5312 		{ echo "$as_me:$LINENO: result: no" >&5
  5313 echo "${ECHO_T}no" >&6; }
  5314 		PKG_CONFIG=""
  5315 	fi
  5317 fi
  5319 pkg_failed=no
  5320 { echo "$as_me:$LINENO: checking for LIBPNG" >&5
  5321 echo $ECHO_N "checking for LIBPNG... $ECHO_C" >&6; }
  5323 if test -n "$PKG_CONFIG"; then
  5324     if test -n "$LIBPNG_CFLAGS"; then
  5325         pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
  5326     else
  5327         if test -n "$PKG_CONFIG" && \
  5328     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  5329   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  5330   ac_status=$?
  5331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5332   (exit $ac_status); }; then
  5333   pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
  5334 else
  5335   pkg_failed=yes
  5336 fi
  5337     fi
  5338 else
  5339 	pkg_failed=untried
  5340 fi
  5341 if test -n "$PKG_CONFIG"; then
  5342     if test -n "$LIBPNG_LIBS"; then
  5343         pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
  5344     else
  5345         if test -n "$PKG_CONFIG" && \
  5346     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  5347   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  5348   ac_status=$?
  5349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5350   (exit $ac_status); }; then
  5351   pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
  5352 else
  5353   pkg_failed=yes
  5354 fi
  5355     fi
  5356 else
  5357 	pkg_failed=untried
  5358 fi
  5362 if test $pkg_failed = yes; then
  5364 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  5365         _pkg_short_errors_supported=yes
  5366 else
  5367         _pkg_short_errors_supported=no
  5368 fi
  5369         if test $_pkg_short_errors_supported = yes; then
  5370 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng "`
  5371         else
  5372 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng "`
  5373         fi
  5374 	# Put the nasty error message in config.log where it belongs
  5375 	echo "$LIBPNG_PKG_ERRORS" >&5
  5377 	{ { echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
  5379 $LIBPNG_PKG_ERRORS
  5381 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5382 installed software in a non-standard prefix.
  5384 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  5385 and LIBPNG_LIBS to avoid the need to call pkg-config.
  5386 See the pkg-config man page for more details.
  5387 " >&5
  5388 echo "$as_me: error: Package requirements (libpng ) were not met:
  5390 $LIBPNG_PKG_ERRORS
  5392 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5393 installed software in a non-standard prefix.
  5395 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  5396 and LIBPNG_LIBS to avoid the need to call pkg-config.
  5397 See the pkg-config man page for more details.
  5398 " >&2;}
  5399    { (exit 1); exit 1; }; }
  5400 elif test $pkg_failed = untried; then
  5401 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  5402 is in your PATH or set the PKG_CONFIG environment variable to the full
  5403 path to pkg-config.
  5405 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  5406 and LIBPNG_LIBS to avoid the need to call pkg-config.
  5407 See the pkg-config man page for more details.
  5409 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5410 See \`config.log' for more details." >&5
  5411 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  5412 is in your PATH or set the PKG_CONFIG environment variable to the full
  5413 path to pkg-config.
  5415 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  5416 and LIBPNG_LIBS to avoid the need to call pkg-config.
  5417 See the pkg-config man page for more details.
  5419 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5420 See \`config.log' for more details." >&2;}
  5421    { (exit 1); exit 1; }; }
  5422 else
  5423 	LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
  5424 	LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
  5425         { echo "$as_me:$LINENO: result: yes" >&5
  5426 echo "${ECHO_T}yes" >&6; }
  5428 fi
  5431 { echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
  5432 echo $ECHO_N "checking for uncompress in -lz... $ECHO_C" >&6; }
  5433 if test "${ac_cv_lib_z_uncompress+set}" = set; then
  5434   echo $ECHO_N "(cached) $ECHO_C" >&6
  5435 else
  5436   ac_check_lib_save_LIBS=$LIBS
  5437 LIBS="-lz  $LIBS"
  5438 cat >conftest.$ac_ext <<_ACEOF
  5439 /* confdefs.h.  */
  5440 _ACEOF
  5441 cat confdefs.h >>conftest.$ac_ext
  5442 cat >>conftest.$ac_ext <<_ACEOF
  5443 /* end confdefs.h.  */
  5445 /* Override any GCC internal prototype to avoid an error.
  5446    Use char because int might match the return type of a GCC
  5447    builtin and then its argument prototype would still apply.  */
  5448 #ifdef __cplusplus
  5449 extern "C"
  5450 #endif
  5451 char uncompress ();
  5452 int
  5453 main ()
  5455 return uncompress ();
  5457   return 0;
  5459 _ACEOF
  5460 rm -f conftest.$ac_objext conftest$ac_exeext
  5461 if { (ac_try="$ac_link"
  5462 case "(($ac_try" in
  5463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5464   *) ac_try_echo=$ac_try;;
  5465 esac
  5466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5467   (eval "$ac_link") 2>conftest.er1
  5468   ac_status=$?
  5469   grep -v '^ *+' conftest.er1 >conftest.err
  5470   rm -f conftest.er1
  5471   cat conftest.err >&5
  5472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5473   (exit $ac_status); } && {
  5474 	 test -z "$ac_c_werror_flag" ||
  5475 	 test ! -s conftest.err
  5476        } && test -s conftest$ac_exeext &&
  5477        $as_test_x conftest$ac_exeext; then
  5478   ac_cv_lib_z_uncompress=yes
  5479 else
  5480   echo "$as_me: failed program was:" >&5
  5481 sed 's/^/| /' conftest.$ac_ext >&5
  5483 	ac_cv_lib_z_uncompress=no
  5484 fi
  5486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5487       conftest$ac_exeext conftest.$ac_ext
  5488 LIBS=$ac_check_lib_save_LIBS
  5489 fi
  5490 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
  5491 echo "${ECHO_T}$ac_cv_lib_z_uncompress" >&6; }
  5492 if test $ac_cv_lib_z_uncompress = yes; then
  5493   cat >>confdefs.h <<_ACEOF
  5494 #define HAVE_LIBZ 1
  5495 _ACEOF
  5497   LIBS="-lz $LIBS"
  5499 else
  5501     echo "Zlib (libz.so) could not be found, but is required."
  5502     exit 1
  5503 fi
  5506 if test "$APPLE_BUILD" != 'yes'; then
  5508 { echo "$as_me:$LINENO: checking for glXQueryVersion in -lGL" >&5
  5509 echo $ECHO_N "checking for glXQueryVersion in -lGL... $ECHO_C" >&6; }
  5510 if test "${ac_cv_lib_GL_glXQueryVersion+set}" = set; then
  5511   echo $ECHO_N "(cached) $ECHO_C" >&6
  5512 else
  5513   ac_check_lib_save_LIBS=$LIBS
  5514 LIBS="-lGL  $LIBS"
  5515 cat >conftest.$ac_ext <<_ACEOF
  5516 /* confdefs.h.  */
  5517 _ACEOF
  5518 cat confdefs.h >>conftest.$ac_ext
  5519 cat >>conftest.$ac_ext <<_ACEOF
  5520 /* end confdefs.h.  */
  5522 /* Override any GCC internal prototype to avoid an error.
  5523    Use char because int might match the return type of a GCC
  5524    builtin and then its argument prototype would still apply.  */
  5525 #ifdef __cplusplus
  5526 extern "C"
  5527 #endif
  5528 char glXQueryVersion ();
  5529 int
  5530 main ()
  5532 return glXQueryVersion ();
  5534   return 0;
  5536 _ACEOF
  5537 rm -f conftest.$ac_objext conftest$ac_exeext
  5538 if { (ac_try="$ac_link"
  5539 case "(($ac_try" in
  5540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5541   *) ac_try_echo=$ac_try;;
  5542 esac
  5543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5544   (eval "$ac_link") 2>conftest.er1
  5545   ac_status=$?
  5546   grep -v '^ *+' conftest.er1 >conftest.err
  5547   rm -f conftest.er1
  5548   cat conftest.err >&5
  5549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5550   (exit $ac_status); } && {
  5551 	 test -z "$ac_c_werror_flag" ||
  5552 	 test ! -s conftest.err
  5553        } && test -s conftest$ac_exeext &&
  5554        $as_test_x conftest$ac_exeext; then
  5555   ac_cv_lib_GL_glXQueryVersion=yes
  5556 else
  5557   echo "$as_me: failed program was:" >&5
  5558 sed 's/^/| /' conftest.$ac_ext >&5
  5560 	ac_cv_lib_GL_glXQueryVersion=no
  5561 fi
  5563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5564       conftest$ac_exeext conftest.$ac_ext
  5565 LIBS=$ac_check_lib_save_LIBS
  5566 fi
  5567 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXQueryVersion" >&5
  5568 echo "${ECHO_T}$ac_cv_lib_GL_glXQueryVersion" >&6; }
  5569 if test $ac_cv_lib_GL_glXQueryVersion = yes; then
  5570   cat >>confdefs.h <<_ACEOF
  5571 #define HAVE_LIBGL 1
  5572 _ACEOF
  5574   LIBS="-lGL $LIBS"
  5576 else
  5578     echo "The OpenGL library (libGL.so) could not be found, but is required."
  5579     exit 1
  5580 fi
  5582 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  5583   { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  5584 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
  5585 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  5586   echo $ECHO_N "(cached) $ECHO_C" >&6
  5587 fi
  5588 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  5589 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
  5590 else
  5591   # Is the header compilable?
  5592 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
  5593 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
  5594 cat >conftest.$ac_ext <<_ACEOF
  5595 /* confdefs.h.  */
  5596 _ACEOF
  5597 cat confdefs.h >>conftest.$ac_ext
  5598 cat >>conftest.$ac_ext <<_ACEOF
  5599 /* end confdefs.h.  */
  5600 $ac_includes_default
  5601 #include <GL/gl.h>
  5602 _ACEOF
  5603 rm -f conftest.$ac_objext
  5604 if { (ac_try="$ac_compile"
  5605 case "(($ac_try" in
  5606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5607   *) ac_try_echo=$ac_try;;
  5608 esac
  5609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5610   (eval "$ac_compile") 2>conftest.er1
  5611   ac_status=$?
  5612   grep -v '^ *+' conftest.er1 >conftest.err
  5613   rm -f conftest.er1
  5614   cat conftest.err >&5
  5615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5616   (exit $ac_status); } && {
  5617 	 test -z "$ac_c_werror_flag" ||
  5618 	 test ! -s conftest.err
  5619        } && test -s conftest.$ac_objext; then
  5620   ac_header_compiler=yes
  5621 else
  5622   echo "$as_me: failed program was:" >&5
  5623 sed 's/^/| /' conftest.$ac_ext >&5
  5625 	ac_header_compiler=no
  5626 fi
  5628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5629 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5630 echo "${ECHO_T}$ac_header_compiler" >&6; }
  5632 # Is the header present?
  5633 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
  5634 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
  5635 cat >conftest.$ac_ext <<_ACEOF
  5636 /* confdefs.h.  */
  5637 _ACEOF
  5638 cat confdefs.h >>conftest.$ac_ext
  5639 cat >>conftest.$ac_ext <<_ACEOF
  5640 /* end confdefs.h.  */
  5641 #include <GL/gl.h>
  5642 _ACEOF
  5643 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5644 case "(($ac_try" in
  5645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5646   *) ac_try_echo=$ac_try;;
  5647 esac
  5648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5649   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5650   ac_status=$?
  5651   grep -v '^ *+' conftest.er1 >conftest.err
  5652   rm -f conftest.er1
  5653   cat conftest.err >&5
  5654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5655   (exit $ac_status); } >/dev/null && {
  5656 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5657 	 test ! -s conftest.err
  5658        }; then
  5659   ac_header_preproc=yes
  5660 else
  5661   echo "$as_me: failed program was:" >&5
  5662 sed 's/^/| /' conftest.$ac_ext >&5
  5664   ac_header_preproc=no
  5665 fi
  5667 rm -f conftest.err conftest.$ac_ext
  5668 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5669 echo "${ECHO_T}$ac_header_preproc" >&6; }
  5671 # So?  What about this header?
  5672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5673   yes:no: )
  5674     { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  5675 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  5676     { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
  5677 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
  5678     ac_header_preproc=yes
  5679     ;;
  5680   no:yes:* )
  5681     { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
  5682 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
  5683     { echo "$as_me:$LINENO: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&5
  5684 echo "$as_me: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&2;}
  5685     { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
  5686 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
  5687     { echo "$as_me:$LINENO: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&5
  5688 echo "$as_me: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  5689     { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
  5690 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
  5691     { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
  5692 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
  5694     ;;
  5695 esac
  5696 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  5697 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
  5698 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  5699   echo $ECHO_N "(cached) $ECHO_C" >&6
  5700 else
  5701   ac_cv_header_GL_gl_h=$ac_header_preproc
  5702 fi
  5703 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  5704 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
  5706 fi
  5707 if test $ac_cv_header_GL_gl_h = yes; then
  5709 else
  5711     echo "The OpenGL header files (eg GL/gl.h) could not be found, but are required."
  5712     exit 1
  5713 fi
  5716 fi
  5719 pkg_failed=no
  5720 { echo "$as_me:$LINENO: checking for GTK" >&5
  5721 echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
  5723 if test -n "$PKG_CONFIG"; then
  5724     if test -n "$GTK_CFLAGS"; then
  5725         pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
  5726     else
  5727         if test -n "$PKG_CONFIG" && \
  5728     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  5729   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  5730   ac_status=$?
  5731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5732   (exit $ac_status); }; then
  5733   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
  5734 else
  5735   pkg_failed=yes
  5736 fi
  5737     fi
  5738 else
  5739 	pkg_failed=untried
  5740 fi
  5741 if test -n "$PKG_CONFIG"; then
  5742     if test -n "$GTK_LIBS"; then
  5743         pkg_cv_GTK_LIBS="$GTK_LIBS"
  5744     else
  5745         if test -n "$PKG_CONFIG" && \
  5746     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  5747   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  5748   ac_status=$?
  5749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5750   (exit $ac_status); }; then
  5751   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
  5752 else
  5753   pkg_failed=yes
  5754 fi
  5755     fi
  5756 else
  5757 	pkg_failed=untried
  5758 fi
  5762 if test $pkg_failed = yes; then
  5764 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  5765         _pkg_short_errors_supported=yes
  5766 else
  5767         _pkg_short_errors_supported=no
  5768 fi
  5769         if test $_pkg_short_errors_supported = yes; then
  5770 	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
  5771         else
  5772 	        GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
  5773         fi
  5774 	# Put the nasty error message in config.log where it belongs
  5775 	echo "$GTK_PKG_ERRORS" >&5
  5777 	{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
  5779 $GTK_PKG_ERRORS
  5781 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5782 installed software in a non-standard prefix.
  5784 Alternatively, you may set the environment variables GTK_CFLAGS
  5785 and GTK_LIBS to avoid the need to call pkg-config.
  5786 See the pkg-config man page for more details.
  5787 " >&5
  5788 echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
  5790 $GTK_PKG_ERRORS
  5792 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5793 installed software in a non-standard prefix.
  5795 Alternatively, you may set the environment variables GTK_CFLAGS
  5796 and GTK_LIBS to avoid the need to call pkg-config.
  5797 See the pkg-config man page for more details.
  5798 " >&2;}
  5799    { (exit 1); exit 1; }; }
  5800 elif test $pkg_failed = untried; then
  5801 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  5802 is in your PATH or set the PKG_CONFIG environment variable to the full
  5803 path to pkg-config.
  5805 Alternatively, you may set the environment variables GTK_CFLAGS
  5806 and GTK_LIBS to avoid the need to call pkg-config.
  5807 See the pkg-config man page for more details.
  5809 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5810 See \`config.log' for more details." >&5
  5811 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  5812 is in your PATH or set the PKG_CONFIG environment variable to the full
  5813 path to pkg-config.
  5815 Alternatively, you may set the environment variables GTK_CFLAGS
  5816 and GTK_LIBS to avoid the need to call pkg-config.
  5817 See the pkg-config man page for more details.
  5819 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5820 See \`config.log' for more details." >&2;}
  5821    { (exit 1); exit 1; }; }
  5822 else
  5823 	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
  5824 	GTK_LIBS=$pkg_cv_GTK_LIBS
  5825         { echo "$as_me:$LINENO: result: yes" >&5
  5826 echo "${ECHO_T}yes" >&6; }
  5828     HAVE_GTK='yes'
  5830 cat >>confdefs.h <<\_ACEOF
  5831 #define HAVE_GTK 1
  5832 _ACEOF
  5835 fi
  5839 if test "$HAVE_CARBON" = 'yes'; then
  5840   GUI_CARBON_TRUE=
  5841   GUI_CARBON_FALSE='#'
  5842 else
  5843   GUI_CARBON_TRUE='#'
  5844   GUI_CARBON_FALSE=
  5845 fi
  5849 if test "$HAVE_GTK" = 'yes'; then
  5850   GUI_GTK_TRUE=
  5851   GUI_GTK_FALSE='#'
  5852 else
  5853   GUI_GTK_TRUE='#'
  5854   GUI_GTK_FALSE=
  5855 fi
  5858 case $host_cpu in
  5859     i386|i486|i586|i686)
  5860 	SH4_TRANSLATOR="x86"
  5862 cat >>confdefs.h <<_ACEOF
  5863 #define SH4_TRANSLATOR TARGET_X86
  5864 _ACEOF
  5865 ;;
  5866     x86_64)
  5867 	SH4_TRANSLATOR="x86_64"
  5869 cat >>confdefs.h <<_ACEOF
  5870 #define SH4_TRANSLATOR TARGET_X86_64
  5871 _ACEOF
  5872 ;;
  5873     *)
  5874 	echo "Warning: No translator available for $host. Building emulation core only";;
  5875 esac
  5878 if test "$SH4_TRANSLATOR" = "x86" -o "$SH4_TRANSLATOR" = "x86_64"; then
  5879   BUILD_SH4X86_TRUE=
  5880   BUILD_SH4X86_FALSE='#'
  5881 else
  5882   BUILD_SH4X86_TRUE='#'
  5883   BUILD_SH4X86_FALSE=
  5884 fi
  5888 if test "$SH4_TRANSLATOR" = "x86_64"; then
  5889   BUILD_X86_64_TRUE=
  5890   BUILD_X86_64_FALSE='#'
  5891 else
  5892   BUILD_X86_64_TRUE='#'
  5893   BUILD_X86_64_FALSE=
  5894 fi
  5898 pkg_failed=no
  5899 { echo "$as_me:$LINENO: checking for ESOUND" >&5
  5900 echo $ECHO_N "checking for ESOUND... $ECHO_C" >&6; }
  5902 if test -n "$PKG_CONFIG"; then
  5903     if test -n "$ESOUND_CFLAGS"; then
  5904         pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
  5905     else
  5906         if test -n "$PKG_CONFIG" && \
  5907     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
  5908   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
  5909   ac_status=$?
  5910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5911   (exit $ac_status); }; then
  5912   pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
  5913 else
  5914   pkg_failed=yes
  5915 fi
  5916     fi
  5917 else
  5918 	pkg_failed=untried
  5919 fi
  5920 if test -n "$PKG_CONFIG"; then
  5921     if test -n "$ESOUND_LIBS"; then
  5922         pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
  5923     else
  5924         if test -n "$PKG_CONFIG" && \
  5925     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
  5926   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
  5927   ac_status=$?
  5928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5929   (exit $ac_status); }; then
  5930   pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
  5931 else
  5932   pkg_failed=yes
  5933 fi
  5934     fi
  5935 else
  5936 	pkg_failed=untried
  5937 fi
  5941 if test $pkg_failed = yes; then
  5943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  5944         _pkg_short_errors_supported=yes
  5945 else
  5946         _pkg_short_errors_supported=no
  5947 fi
  5948         if test $_pkg_short_errors_supported = yes; then
  5949 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "esound"`
  5950         else
  5951 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "esound"`
  5952         fi
  5953 	# Put the nasty error message in config.log where it belongs
  5954 	echo "$ESOUND_PKG_ERRORS" >&5
  5956 	{ echo "$as_me:$LINENO: result: no" >&5
  5957 echo "${ECHO_T}no" >&6; }
  5958                  echo "Warning: esound not found - building without audio support"
  5959 elif test $pkg_failed = untried; then
  5960 	 echo "Warning: esound not found - building without audio support"
  5961 else
  5962 	ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
  5963 	ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
  5964         { echo "$as_me:$LINENO: result: yes" >&5
  5965 echo "${ECHO_T}yes" >&6; }
  5967      HAVE_ESOUND='yes'
  5969 cat >>confdefs.h <<\_ACEOF
  5970 #define HAVE_ESOUND 1
  5971 _ACEOF
  5973 fi
  5976 if test "$HAVE_ESOUND" = 'yes' ; then
  5977   AUDIO_ESOUND_TRUE=
  5978   AUDIO_ESOUND_FALSE='#'
  5979 else
  5980   AUDIO_ESOUND_TRUE='#'
  5981   AUDIO_ESOUND_FALSE=
  5982 fi
  5985 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  5986   { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
  5987 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
  5988 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  5989   echo $ECHO_N "(cached) $ECHO_C" >&6
  5990 fi
  5991 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
  5992 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
  5993 else
  5994   # Is the header compilable?
  5995 { echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
  5996 echo $ECHO_N "checking linux/cdrom.h usability... $ECHO_C" >&6; }
  5997 cat >conftest.$ac_ext <<_ACEOF
  5998 /* confdefs.h.  */
  5999 _ACEOF
  6000 cat confdefs.h >>conftest.$ac_ext
  6001 cat >>conftest.$ac_ext <<_ACEOF
  6002 /* end confdefs.h.  */
  6003 $ac_includes_default
  6004 #include <linux/cdrom.h>
  6005 _ACEOF
  6006 rm -f conftest.$ac_objext
  6007 if { (ac_try="$ac_compile"
  6008 case "(($ac_try" in
  6009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6010   *) ac_try_echo=$ac_try;;
  6011 esac
  6012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6013   (eval "$ac_compile") 2>conftest.er1
  6014   ac_status=$?
  6015   grep -v '^ *+' conftest.er1 >conftest.err
  6016   rm -f conftest.er1
  6017   cat conftest.err >&5
  6018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6019   (exit $ac_status); } && {
  6020 	 test -z "$ac_c_werror_flag" ||
  6021 	 test ! -s conftest.err
  6022        } && test -s conftest.$ac_objext; then
  6023   ac_header_compiler=yes
  6024 else
  6025   echo "$as_me: failed program was:" >&5
  6026 sed 's/^/| /' conftest.$ac_ext >&5
  6028 	ac_header_compiler=no
  6029 fi
  6031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6032 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6033 echo "${ECHO_T}$ac_header_compiler" >&6; }
  6035 # Is the header present?
  6036 { echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
  6037 echo $ECHO_N "checking linux/cdrom.h presence... $ECHO_C" >&6; }
  6038 cat >conftest.$ac_ext <<_ACEOF
  6039 /* confdefs.h.  */
  6040 _ACEOF
  6041 cat confdefs.h >>conftest.$ac_ext
  6042 cat >>conftest.$ac_ext <<_ACEOF
  6043 /* end confdefs.h.  */
  6044 #include <linux/cdrom.h>
  6045 _ACEOF
  6046 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6047 case "(($ac_try" in
  6048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6049   *) ac_try_echo=$ac_try;;
  6050 esac
  6051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6052   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6053   ac_status=$?
  6054   grep -v '^ *+' conftest.er1 >conftest.err
  6055   rm -f conftest.er1
  6056   cat conftest.err >&5
  6057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6058   (exit $ac_status); } >/dev/null && {
  6059 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6060 	 test ! -s conftest.err
  6061        }; then
  6062   ac_header_preproc=yes
  6063 else
  6064   echo "$as_me: failed program was:" >&5
  6065 sed 's/^/| /' conftest.$ac_ext >&5
  6067   ac_header_preproc=no
  6068 fi
  6070 rm -f conftest.err conftest.$ac_ext
  6071 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6072 echo "${ECHO_T}$ac_header_preproc" >&6; }
  6074 # So?  What about this header?
  6075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6076   yes:no: )
  6077     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
  6078 echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6079     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
  6080 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
  6081     ac_header_preproc=yes
  6082     ;;
  6083   no:yes:* )
  6084     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
  6085 echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
  6086     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&5
  6087 echo "$as_me: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&2;}
  6088     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
  6089 echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
  6090     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&5
  6091 echo "$as_me: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  6092     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
  6093 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
  6094     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
  6095 echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
  6097     ;;
  6098 esac
  6099 { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
  6100 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
  6101 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  6102   echo $ECHO_N "(cached) $ECHO_C" >&6
  6103 else
  6104   ac_cv_header_linux_cdrom_h=$ac_header_preproc
  6105 fi
  6106 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
  6107 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
  6109 fi
  6110 if test $ac_cv_header_linux_cdrom_h = yes; then
  6111   HAVE_LINUX_CDROM_H=yes
  6112 else
  6114     echo "Linux CDROM support not found, building without it."
  6115 fi
  6120 if test "$HAVE_LINUX_CDROM_H" = "yes"; then
  6121   CDROM_LINUX_TRUE=
  6122   CDROM_LINUX_FALSE='#'
  6123 else
  6124   CDROM_LINUX_TRUE='#'
  6125   CDROM_LINUX_FALSE=
  6126 fi
  6129 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
  6130 set dummy sh-elf-gcc; ac_word=$2
  6131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6133 if test "${ac_cv_path_SHCC+set}" = set; then
  6134   echo $ECHO_N "(cached) $ECHO_C" >&6
  6135 else
  6136   case $SHCC in
  6137   [\\/]* | ?:[\\/]*)
  6138   ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
  6139   ;;
  6140   *)
  6141   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6142 for as_dir in $PATH
  6143 do
  6144   IFS=$as_save_IFS
  6145   test -z "$as_dir" && as_dir=.
  6146   for ac_exec_ext in '' $ac_executable_extensions; do
  6147   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6148     ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
  6149     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6150     break 2
  6151   fi
  6152 done
  6153 done
  6154 IFS=$as_save_IFS
  6156   ;;
  6157 esac
  6158 fi
  6159 SHCC=$ac_cv_path_SHCC
  6160 if test -n "$SHCC"; then
  6161   { echo "$as_me:$LINENO: result: $SHCC" >&5
  6162 echo "${ECHO_T}$SHCC" >&6; }
  6163 else
  6164   { echo "$as_me:$LINENO: result: no" >&5
  6165 echo "${ECHO_T}no" >&6; }
  6166 fi
  6169 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
  6170 set dummy sh-elf-ld; ac_word=$2
  6171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6173 if test "${ac_cv_path_SHLD+set}" = set; then
  6174   echo $ECHO_N "(cached) $ECHO_C" >&6
  6175 else
  6176   case $SHLD in
  6177   [\\/]* | ?:[\\/]*)
  6178   ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
  6179   ;;
  6180   *)
  6181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6182 for as_dir in $PATH
  6183 do
  6184   IFS=$as_save_IFS
  6185   test -z "$as_dir" && as_dir=.
  6186   for ac_exec_ext in '' $ac_executable_extensions; do
  6187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6188     ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
  6189     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6190     break 2
  6191   fi
  6192 done
  6193 done
  6194 IFS=$as_save_IFS
  6196   ;;
  6197 esac
  6198 fi
  6199 SHLD=$ac_cv_path_SHLD
  6200 if test -n "$SHLD"; then
  6201   { echo "$as_me:$LINENO: result: $SHLD" >&5
  6202 echo "${ECHO_T}$SHLD" >&6; }
  6203 else
  6204   { echo "$as_me:$LINENO: result: no" >&5
  6205 echo "${ECHO_T}no" >&6; }
  6206 fi
  6209 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
  6210 set dummy sh-elf-objcopy; ac_word=$2
  6211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6213 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
  6214   echo $ECHO_N "(cached) $ECHO_C" >&6
  6215 else
  6216   case $SHOBJCOPY in
  6217   [\\/]* | ?:[\\/]*)
  6218   ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
  6219   ;;
  6220   *)
  6221   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6222 for as_dir in $PATH
  6223 do
  6224   IFS=$as_save_IFS
  6225   test -z "$as_dir" && as_dir=.
  6226   for ac_exec_ext in '' $ac_executable_extensions; do
  6227   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6228     ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
  6229     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6230     break 2
  6231   fi
  6232 done
  6233 done
  6234 IFS=$as_save_IFS
  6236   ;;
  6237 esac
  6238 fi
  6239 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
  6240 if test -n "$SHOBJCOPY"; then
  6241   { echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
  6242 echo "${ECHO_T}$SHOBJCOPY" >&6; }
  6243 else
  6244   { echo "$as_me:$LINENO: result: no" >&5
  6245 echo "${ECHO_T}no" >&6; }
  6246 fi
  6249 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
  6250 set dummy arm-elf-gcc; ac_word=$2
  6251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6253 if test "${ac_cv_path_ARMCC+set}" = set; then
  6254   echo $ECHO_N "(cached) $ECHO_C" >&6
  6255 else
  6256   case $ARMCC in
  6257   [\\/]* | ?:[\\/]*)
  6258   ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
  6259   ;;
  6260   *)
  6261   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6262 for as_dir in $PATH
  6263 do
  6264   IFS=$as_save_IFS
  6265   test -z "$as_dir" && as_dir=.
  6266   for ac_exec_ext in '' $ac_executable_extensions; do
  6267   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6268     ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
  6269     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6270     break 2
  6271   fi
  6272 done
  6273 done
  6274 IFS=$as_save_IFS
  6276   ;;
  6277 esac
  6278 fi
  6279 ARMCC=$ac_cv_path_ARMCC
  6280 if test -n "$ARMCC"; then
  6281   { echo "$as_me:$LINENO: result: $ARMCC" >&5
  6282 echo "${ECHO_T}$ARMCC" >&6; }
  6283 else
  6284   { echo "$as_me:$LINENO: result: no" >&5
  6285 echo "${ECHO_T}no" >&6; }
  6286 fi
  6289 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
  6290 set dummy arm-elf-ld; ac_word=$2
  6291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6293 if test "${ac_cv_path_ARMLD+set}" = set; then
  6294   echo $ECHO_N "(cached) $ECHO_C" >&6
  6295 else
  6296   case $ARMLD in
  6297   [\\/]* | ?:[\\/]*)
  6298   ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
  6299   ;;
  6300   *)
  6301   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6302 for as_dir in $PATH
  6303 do
  6304   IFS=$as_save_IFS
  6305   test -z "$as_dir" && as_dir=.
  6306   for ac_exec_ext in '' $ac_executable_extensions; do
  6307   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6308     ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
  6309     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6310     break 2
  6311   fi
  6312 done
  6313 done
  6314 IFS=$as_save_IFS
  6316   ;;
  6317 esac
  6318 fi
  6319 ARMLD=$ac_cv_path_ARMLD
  6320 if test -n "$ARMLD"; then
  6321   { echo "$as_me:$LINENO: result: $ARMLD" >&5
  6322 echo "${ECHO_T}$ARMLD" >&6; }
  6323 else
  6324   { echo "$as_me:$LINENO: result: no" >&5
  6325 echo "${ECHO_T}no" >&6; }
  6326 fi
  6329 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
  6330 set dummy arm-elf-objcopy; ac_word=$2
  6331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6333 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
  6334   echo $ECHO_N "(cached) $ECHO_C" >&6
  6335 else
  6336   case $ARMOBJCOPY in
  6337   [\\/]* | ?:[\\/]*)
  6338   ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
  6339   ;;
  6340   *)
  6341   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6342 for as_dir in $PATH
  6343 do
  6344   IFS=$as_save_IFS
  6345   test -z "$as_dir" && as_dir=.
  6346   for ac_exec_ext in '' $ac_executable_extensions; do
  6347   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6348     ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
  6349     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6350     break 2
  6351   fi
  6352 done
  6353 done
  6354 IFS=$as_save_IFS
  6356   ;;
  6357 esac
  6358 fi
  6359 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
  6360 if test -n "$ARMOBJCOPY"; then
  6361   { echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
  6362 echo "${ECHO_T}$ARMOBJCOPY" >&6; }
  6363 else
  6364   { echo "$as_me:$LINENO: result: no" >&5
  6365 echo "${ECHO_T}no" >&6; }
  6366 fi
  6370 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
  6371   BUILD_SH="no"
  6372   echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
  6373 else
  6374   BUILD_SH="yes"
  6375 fi
  6376 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
  6377   BUILD_ARM="no"
  6378   echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
  6379 else
  6380   BUILD_ARM="yes"
  6381 fi
  6384 if test "$BUILD_SH" = "yes"; then
  6385   BUILD_SYSTEST_TRUE=
  6386   BUILD_SYSTEST_FALSE='#'
  6387 else
  6388   BUILD_SYSTEST_TRUE='#'
  6389   BUILD_SYSTEST_FALSE=
  6390 fi
  6394 if test "$BUILD_ARM" = "yes"; then
  6395   BUILD_ARMTEST_TRUE=
  6396   BUILD_ARMTEST_FALSE='#'
  6397 else
  6398   BUILD_ARMTEST_TRUE='#'
  6399   BUILD_ARMTEST_FALSE=
  6400 fi
  6404 GETTEXT_PACKAGE=lxdream
  6407 cat >>confdefs.h <<_ACEOF
  6408 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
  6409 _ACEOF
  6412 ALL_LINGUAS="de pt_BR"
  6415 for ac_header in locale.h
  6416 do
  6417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6419   { echo "$as_me:$LINENO: checking for $ac_header" >&5
  6420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6421 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6422   echo $ECHO_N "(cached) $ECHO_C" >&6
  6423 fi
  6424 ac_res=`eval echo '${'$as_ac_Header'}'`
  6425 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  6426 echo "${ECHO_T}$ac_res" >&6; }
  6427 else
  6428   # Is the header compilable?
  6429 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
  6430 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  6431 cat >conftest.$ac_ext <<_ACEOF
  6432 /* confdefs.h.  */
  6433 _ACEOF
  6434 cat confdefs.h >>conftest.$ac_ext
  6435 cat >>conftest.$ac_ext <<_ACEOF
  6436 /* end confdefs.h.  */
  6437 $ac_includes_default
  6438 #include <$ac_header>
  6439 _ACEOF
  6440 rm -f conftest.$ac_objext
  6441 if { (ac_try="$ac_compile"
  6442 case "(($ac_try" in
  6443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6444   *) ac_try_echo=$ac_try;;
  6445 esac
  6446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6447   (eval "$ac_compile") 2>conftest.er1
  6448   ac_status=$?
  6449   grep -v '^ *+' conftest.er1 >conftest.err
  6450   rm -f conftest.er1
  6451   cat conftest.err >&5
  6452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6453   (exit $ac_status); } && {
  6454 	 test -z "$ac_c_werror_flag" ||
  6455 	 test ! -s conftest.err
  6456        } && test -s conftest.$ac_objext; then
  6457   ac_header_compiler=yes
  6458 else
  6459   echo "$as_me: failed program was:" >&5
  6460 sed 's/^/| /' conftest.$ac_ext >&5
  6462 	ac_header_compiler=no
  6463 fi
  6465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6466 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6467 echo "${ECHO_T}$ac_header_compiler" >&6; }
  6469 # Is the header present?
  6470 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
  6471 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  6472 cat >conftest.$ac_ext <<_ACEOF
  6473 /* confdefs.h.  */
  6474 _ACEOF
  6475 cat confdefs.h >>conftest.$ac_ext
  6476 cat >>conftest.$ac_ext <<_ACEOF
  6477 /* end confdefs.h.  */
  6478 #include <$ac_header>
  6479 _ACEOF
  6480 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6481 case "(($ac_try" in
  6482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6483   *) ac_try_echo=$ac_try;;
  6484 esac
  6485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6486   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6487   ac_status=$?
  6488   grep -v '^ *+' conftest.er1 >conftest.err
  6489   rm -f conftest.er1
  6490   cat conftest.err >&5
  6491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6492   (exit $ac_status); } >/dev/null && {
  6493 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6494 	 test ! -s conftest.err
  6495        }; then
  6496   ac_header_preproc=yes
  6497 else
  6498   echo "$as_me: failed program was:" >&5
  6499 sed 's/^/| /' conftest.$ac_ext >&5
  6501   ac_header_preproc=no
  6502 fi
  6504 rm -f conftest.err conftest.$ac_ext
  6505 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6506 echo "${ECHO_T}$ac_header_preproc" >&6; }
  6508 # So?  What about this header?
  6509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6510   yes:no: )
  6511     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  6512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6513     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  6514 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  6515     ac_header_preproc=yes
  6516     ;;
  6517   no:yes:* )
  6518     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  6519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  6520     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
  6521 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
  6522     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  6523 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  6524     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
  6525 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
  6526     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  6527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  6528     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  6529 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  6531     ;;
  6532 esac
  6533 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  6534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6535 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6536   echo $ECHO_N "(cached) $ECHO_C" >&6
  6537 else
  6538   eval "$as_ac_Header=\$ac_header_preproc"
  6539 fi
  6540 ac_res=`eval echo '${'$as_ac_Header'}'`
  6541 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  6542 echo "${ECHO_T}$ac_res" >&6; }
  6544 fi
  6545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  6546   cat >>confdefs.h <<_ACEOF
  6547 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6548 _ACEOF
  6550 fi
  6552 done
  6554     if test $ac_cv_header_locale_h = yes; then
  6555     { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
  6556 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
  6557 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
  6558   echo $ECHO_N "(cached) $ECHO_C" >&6
  6559 else
  6560   cat >conftest.$ac_ext <<_ACEOF
  6561 /* confdefs.h.  */
  6562 _ACEOF
  6563 cat confdefs.h >>conftest.$ac_ext
  6564 cat >>conftest.$ac_ext <<_ACEOF
  6565 /* end confdefs.h.  */
  6566 #include <locale.h>
  6567 int
  6568 main ()
  6570 return LC_MESSAGES
  6572   return 0;
  6574 _ACEOF
  6575 rm -f conftest.$ac_objext conftest$ac_exeext
  6576 if { (ac_try="$ac_link"
  6577 case "(($ac_try" in
  6578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6579   *) ac_try_echo=$ac_try;;
  6580 esac
  6581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6582   (eval "$ac_link") 2>conftest.er1
  6583   ac_status=$?
  6584   grep -v '^ *+' conftest.er1 >conftest.err
  6585   rm -f conftest.er1
  6586   cat conftest.err >&5
  6587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6588   (exit $ac_status); } && {
  6589 	 test -z "$ac_c_werror_flag" ||
  6590 	 test ! -s conftest.err
  6591        } && test -s conftest$ac_exeext &&
  6592        $as_test_x conftest$ac_exeext; then
  6593   am_cv_val_LC_MESSAGES=yes
  6594 else
  6595   echo "$as_me: failed program was:" >&5
  6596 sed 's/^/| /' conftest.$ac_ext >&5
  6598 	am_cv_val_LC_MESSAGES=no
  6599 fi
  6601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6602       conftest$ac_exeext conftest.$ac_ext
  6603 fi
  6604 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
  6605 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
  6606     if test $am_cv_val_LC_MESSAGES = yes; then
  6608 cat >>confdefs.h <<\_ACEOF
  6609 #define HAVE_LC_MESSAGES 1
  6610 _ACEOF
  6612     fi
  6613   fi
  6614          USE_NLS=yes
  6617     gt_cv_have_gettext=no
  6619     CATOBJEXT=NONE
  6620     XGETTEXT=:
  6621     INTLLIBS=
  6623     if test "${ac_cv_header_libintl_h+set}" = set; then
  6624   { echo "$as_me:$LINENO: checking for libintl.h" >&5
  6625 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
  6626 if test "${ac_cv_header_libintl_h+set}" = set; then
  6627   echo $ECHO_N "(cached) $ECHO_C" >&6
  6628 fi
  6629 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
  6630 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
  6631 else
  6632   # Is the header compilable?
  6633 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
  6634 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
  6635 cat >conftest.$ac_ext <<_ACEOF
  6636 /* confdefs.h.  */
  6637 _ACEOF
  6638 cat confdefs.h >>conftest.$ac_ext
  6639 cat >>conftest.$ac_ext <<_ACEOF
  6640 /* end confdefs.h.  */
  6641 $ac_includes_default
  6642 #include <libintl.h>
  6643 _ACEOF
  6644 rm -f conftest.$ac_objext
  6645 if { (ac_try="$ac_compile"
  6646 case "(($ac_try" in
  6647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6648   *) ac_try_echo=$ac_try;;
  6649 esac
  6650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6651   (eval "$ac_compile") 2>conftest.er1
  6652   ac_status=$?
  6653   grep -v '^ *+' conftest.er1 >conftest.err
  6654   rm -f conftest.er1
  6655   cat conftest.err >&5
  6656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6657   (exit $ac_status); } && {
  6658 	 test -z "$ac_c_werror_flag" ||
  6659 	 test ! -s conftest.err
  6660        } && test -s conftest.$ac_objext; then
  6661   ac_header_compiler=yes
  6662 else
  6663   echo "$as_me: failed program was:" >&5
  6664 sed 's/^/| /' conftest.$ac_ext >&5
  6666 	ac_header_compiler=no
  6667 fi
  6669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6670 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6671 echo "${ECHO_T}$ac_header_compiler" >&6; }
  6673 # Is the header present?
  6674 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
  6675 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
  6676 cat >conftest.$ac_ext <<_ACEOF
  6677 /* confdefs.h.  */
  6678 _ACEOF
  6679 cat confdefs.h >>conftest.$ac_ext
  6680 cat >>conftest.$ac_ext <<_ACEOF
  6681 /* end confdefs.h.  */
  6682 #include <libintl.h>
  6683 _ACEOF
  6684 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6685 case "(($ac_try" in
  6686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6687   *) ac_try_echo=$ac_try;;
  6688 esac
  6689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6690   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6691   ac_status=$?
  6692   grep -v '^ *+' conftest.er1 >conftest.err
  6693   rm -f conftest.er1
  6694   cat conftest.err >&5
  6695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6696   (exit $ac_status); } >/dev/null && {
  6697 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6698 	 test ! -s conftest.err
  6699        }; then
  6700   ac_header_preproc=yes
  6701 else
  6702   echo "$as_me: failed program was:" >&5
  6703 sed 's/^/| /' conftest.$ac_ext >&5
  6705   ac_header_preproc=no
  6706 fi
  6708 rm -f conftest.err conftest.$ac_ext
  6709 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6710 echo "${ECHO_T}$ac_header_preproc" >&6; }
  6712 # So?  What about this header?
  6713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6714   yes:no: )
  6715     { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  6716 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6717     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
  6718 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
  6719     ac_header_preproc=yes
  6720     ;;
  6721   no:yes:* )
  6722     { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
  6723 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
  6724     { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
  6725 echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
  6726     { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
  6727 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
  6728     { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
  6729 echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  6730     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
  6731 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
  6732     { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
  6733 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
  6735     ;;
  6736 esac
  6737 { echo "$as_me:$LINENO: checking for libintl.h" >&5
  6738 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
  6739 if test "${ac_cv_header_libintl_h+set}" = set; then
  6740   echo $ECHO_N "(cached) $ECHO_C" >&6
  6741 else
  6742   ac_cv_header_libintl_h=$ac_header_preproc
  6743 fi
  6744 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
  6745 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
  6747 fi
  6748 if test $ac_cv_header_libintl_h = yes; then
  6749   gt_cv_func_dgettext_libintl="no"