Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 529:06ffbecc7262
prev528:49cb007348aa
next537:d924be49e192
author nkeynes
date Tue Nov 20 09:40:49 2007 +0000 (16 years ago)
permissions -rwxr-xr-x
last change Rearrange logging slightly, fixes output on x86-64
view annotate diff log raw
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.61.
     4 #
     5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     7 # This configure script is free software; the Free Software Foundation
     8 # gives unlimited permission to copy, distribute and modify it.
     9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
    13 # Be more Bourne compatible
    14 DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    16   emulate sh
    17   NULLCMD=:
    18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    19   # is contrary to our usage.  Disable this feature.
    20   alias -g '${1+"$@"}'='"$@"'
    21   setopt NO_GLOB_SUBST
    22 else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
    25 esac
    27 fi
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
    40 # The user is always right.
    41 if test "${PATH_SEPARATOR+set}" != set; then
    42   echo "#! /bin/sh" >conf$$.sh
    43   echo  "exit 0"   >>conf$$.sh
    44   chmod +x conf$$.sh
    45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    46     PATH_SEPARATOR=';'
    47   else
    48     PATH_SEPARATOR=:
    49   fi
    50   rm -f conf$$.sh
    51 fi
    53 # Support unset when possible.
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    55   as_unset=unset
    56 else
    57   as_unset=false
    58 fi
    61 # IFS
    62 # We need space, tab and new line, in precisely that order.  Quoting is
    63 # there to prevent editors from complaining about space-tab.
    64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    65 # splitting by setting IFS to empty value.)
    66 as_nl='
    67 '
    68 IFS=" ""	$as_nl"
    70 # Find who we are.  Look in the path if we contain no directory separator.
    71 case $0 in
    72   *[\\/]* ) as_myself=$0 ;;
    73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    74 for as_dir in $PATH
    75 do
    76   IFS=$as_save_IFS
    77   test -z "$as_dir" && as_dir=.
    78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    79 done
    80 IFS=$as_save_IFS
    82      ;;
    83 esac
    84 # We did not find ourselves, most probably we were run as `sh COMMAND'
    85 # in which case we are not to be found in the path.
    86 if test "x$as_myself" = x; then
    87   as_myself=$0
    88 fi
    89 if test ! -f "$as_myself"; then
    90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    91   { (exit 1); exit 1; }
    92 fi
    94 # Work around bugs in pre-3.0 UWIN ksh.
    95 for as_var in ENV MAIL MAILPATH
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    97 done
    98 PS1='$ '
    99 PS2='> '
   100 PS4='+ '
   102 # NLS nuisances.
   103 for as_var in \
   104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   106   LC_TELEPHONE LC_TIME
   107 do
   108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   109     eval $as_var=C; export $as_var
   110   else
   111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   112   fi
   113 done
   115 # Required to use basename.
   116 if expr a : '\(a\)' >/dev/null 2>&1 &&
   117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   118   as_expr=expr
   119 else
   120   as_expr=false
   121 fi
   123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   124   as_basename=basename
   125 else
   126   as_basename=false
   127 fi
   130 # Name of the executable.
   131 as_me=`$as_basename -- "$0" ||
   132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   133 	 X"$0" : 'X\(//\)$' \| \
   134 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   135 echo X/"$0" |
   136     sed '/^.*\/\([^/][^/]*\)\/*$/{
   137 	    s//\1/
   138 	    q
   139 	  }
   140 	  /^X\/\(\/\/\)$/{
   141 	    s//\1/
   142 	    q
   143 	  }
   144 	  /^X\/\(\/\).*/{
   145 	    s//\1/
   146 	    q
   147 	  }
   148 	  s/.*/./; q'`
   150 # CDPATH.
   151 $as_unset CDPATH
   154 if test "x$CONFIG_SHELL" = x; then
   155   if (eval ":") 2>/dev/null; then
   156   as_have_required=yes
   157 else
   158   as_have_required=no
   159 fi
   161   if test $as_have_required = yes && 	 (eval ":
   162 (as_func_return () {
   163   (exit \$1)
   164 }
   165 as_func_success () {
   166   as_func_return 0
   167 }
   168 as_func_failure () {
   169   as_func_return 1
   170 }
   171 as_func_ret_success () {
   172   return 0
   173 }
   174 as_func_ret_failure () {
   175   return 1
   176 }
   178 exitcode=0
   179 if as_func_success; then
   180   :
   181 else
   182   exitcode=1
   183   echo as_func_success failed.
   184 fi
   186 if as_func_failure; then
   187   exitcode=1
   188   echo as_func_failure succeeded.
   189 fi
   191 if as_func_ret_success; then
   192   :
   193 else
   194   exitcode=1
   195   echo as_func_ret_success failed.
   196 fi
   198 if as_func_ret_failure; then
   199   exitcode=1
   200   echo as_func_ret_failure succeeded.
   201 fi
   203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   204   :
   205 else
   206   exitcode=1
   207   echo positional parameters were not saved.
   208 fi
   210 test \$exitcode = 0) || { (exit 1); exit 1; }
   212 (
   213   as_lineno_1=\$LINENO
   214   as_lineno_2=\$LINENO
   215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   217 ") 2> /dev/null; then
   218   :
   219 else
   220   as_candidate_shells=
   221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   223 do
   224   IFS=$as_save_IFS
   225   test -z "$as_dir" && as_dir=.
   226   case $as_dir in
   227 	 /*)
   228 	   for as_base in sh bash ksh sh5; do
   229 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   230 	   done;;
   231        esac
   232 done
   233 IFS=$as_save_IFS
   236       for as_shell in $as_candidate_shells $SHELL; do
   237 	 # Try only shells that exist, to save several forks.
   238 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   239 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   241   emulate sh
   242   NULLCMD=:
   243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   244   # is contrary to our usage.  Disable this feature.
   245   alias -g '${1+"$@"}'='"$@"'
   246   setopt NO_GLOB_SUBST
   247 else
   248   case `(set -o) 2>/dev/null` in
   249   *posix*) set -o posix ;;
   250 esac
   252 fi
   255 :
   256 _ASEOF
   257 }; then
   258   CONFIG_SHELL=$as_shell
   259 	       as_have_required=yes
   260 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   262   emulate sh
   263   NULLCMD=:
   264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   265   # is contrary to our usage.  Disable this feature.
   266   alias -g '${1+"$@"}'='"$@"'
   267   setopt NO_GLOB_SUBST
   268 else
   269   case `(set -o) 2>/dev/null` in
   270   *posix*) set -o posix ;;
   271 esac
   273 fi
   276 :
   277 (as_func_return () {
   278   (exit $1)
   279 }
   280 as_func_success () {
   281   as_func_return 0
   282 }
   283 as_func_failure () {
   284   as_func_return 1
   285 }
   286 as_func_ret_success () {
   287   return 0
   288 }
   289 as_func_ret_failure () {
   290   return 1
   291 }
   293 exitcode=0
   294 if as_func_success; then
   295   :
   296 else
   297   exitcode=1
   298   echo as_func_success failed.
   299 fi
   301 if as_func_failure; then
   302   exitcode=1
   303   echo as_func_failure succeeded.
   304 fi
   306 if as_func_ret_success; then
   307   :
   308 else
   309   exitcode=1
   310   echo as_func_ret_success failed.
   311 fi
   313 if as_func_ret_failure; then
   314   exitcode=1
   315   echo as_func_ret_failure succeeded.
   316 fi
   318 if ( set x; as_func_ret_success y && test x = "$1" ); then
   319   :
   320 else
   321   exitcode=1
   322   echo positional parameters were not saved.
   323 fi
   325 test $exitcode = 0) || { (exit 1); exit 1; }
   327 (
   328   as_lineno_1=$LINENO
   329   as_lineno_2=$LINENO
   330   test "x$as_lineno_1" != "x$as_lineno_2" &&
   331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   333 _ASEOF
   334 }; then
   335   break
   336 fi
   338 fi
   340       done
   342       if test "x$CONFIG_SHELL" != x; then
   343   for as_var in BASH_ENV ENV
   344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   345         done
   346         export CONFIG_SHELL
   347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   348 fi
   351     if test $as_have_required = no; then
   352   echo This script requires a shell more modern than all the
   353       echo shells that I found on your system.  Please install a
   354       echo modern shell, or manually run the script under such a
   355       echo shell if you do have one.
   356       { (exit 1); exit 1; }
   357 fi
   360 fi
   362 fi
   366 (eval "as_func_return () {
   367   (exit \$1)
   368 }
   369 as_func_success () {
   370   as_func_return 0
   371 }
   372 as_func_failure () {
   373   as_func_return 1
   374 }
   375 as_func_ret_success () {
   376   return 0
   377 }
   378 as_func_ret_failure () {
   379   return 1
   380 }
   382 exitcode=0
   383 if as_func_success; then
   384   :
   385 else
   386   exitcode=1
   387   echo as_func_success failed.
   388 fi
   390 if as_func_failure; then
   391   exitcode=1
   392   echo as_func_failure succeeded.
   393 fi
   395 if as_func_ret_success; then
   396   :
   397 else
   398   exitcode=1
   399   echo as_func_ret_success failed.
   400 fi
   402 if as_func_ret_failure; then
   403   exitcode=1
   404   echo as_func_ret_failure succeeded.
   405 fi
   407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   408   :
   409 else
   410   exitcode=1
   411   echo positional parameters were not saved.
   412 fi
   414 test \$exitcode = 0") || {
   415   echo No shell found that supports shell functions.
   416   echo Please tell autoconf@gnu.org about your system,
   417   echo including any error possibly output before this
   418   echo message
   419 }
   423   as_lineno_1=$LINENO
   424   as_lineno_2=$LINENO
   425   test "x$as_lineno_1" != "x$as_lineno_2" &&
   426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   429   # uniformly replaced by the line number.  The first 'sed' inserts a
   430   # line-number line after each line using $LINENO; the second 'sed'
   431   # does the real work.  The second script uses 'N' to pair each
   432   # line-number line with the line containing $LINENO, and appends
   433   # trailing '-' during substitution so that $LINENO is not a special
   434   # case at line end.
   435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   437   # E. McMahon (1931-1989) for sed's syntax.  :-)
   438   sed -n '
   439     p
   440     /[$]LINENO/=
   441   ' <$as_myself |
   442     sed '
   443       s/[$]LINENO.*/&-/
   444       t lineno
   445       b
   446       :lineno
   447       N
   448       :loop
   449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   450       t loop
   451       s/-\n.*//
   452     ' >$as_me.lineno &&
   453   chmod +x "$as_me.lineno" ||
   454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   455    { (exit 1); exit 1; }; }
   457   # Don't try to exec as it changes $[0], causing all sort of problems
   458   # (the dirname of $[0] is not the place where we might find the
   459   # original and so on.  Autoconf is especially sensitive to this).
   460   . "./$as_me.lineno"
   461   # Exit status is that of the last command.
   462   exit
   463 }
   466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   467   as_dirname=dirname
   468 else
   469   as_dirname=false
   470 fi
   472 ECHO_C= ECHO_N= ECHO_T=
   473 case `echo -n x` in
   474 -n*)
   475   case `echo 'x\c'` in
   476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   477   *)   ECHO_C='\c';;
   478   esac;;
   479 *)
   480   ECHO_N='-n';;
   481 esac
   483 if expr a : '\(a\)' >/dev/null 2>&1 &&
   484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   485   as_expr=expr
   486 else
   487   as_expr=false
   488 fi
   490 rm -f conf$$ conf$$.exe conf$$.file
   491 if test -d conf$$.dir; then
   492   rm -f conf$$.dir/conf$$.file
   493 else
   494   rm -f conf$$.dir
   495   mkdir conf$$.dir
   496 fi
   497 echo >conf$$.file
   498 if ln -s conf$$.file conf$$ 2>/dev/null; then
   499   as_ln_s='ln -s'
   500   # ... but there are two gotchas:
   501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   503   # In both cases, we have to default to `cp -p'.
   504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   505     as_ln_s='cp -p'
   506 elif ln conf$$.file conf$$ 2>/dev/null; then
   507   as_ln_s=ln
   508 else
   509   as_ln_s='cp -p'
   510 fi
   511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   512 rmdir conf$$.dir 2>/dev/null
   514 if mkdir -p . 2>/dev/null; then
   515   as_mkdir_p=:
   516 else
   517   test -d ./-p && rmdir ./-p
   518   as_mkdir_p=false
   519 fi
   521 if test -x / >/dev/null 2>&1; then
   522   as_test_x='test -x'
   523 else
   524   if ls -dL / >/dev/null 2>&1; then
   525     as_ls_L_option=L
   526   else
   527     as_ls_L_option=
   528   fi
   529   as_test_x='
   530     eval sh -c '\''
   531       if test -d "$1"; then
   532         test -d "$1/.";
   533       else
   534 	case $1 in
   535         -*)set "./$1";;
   536 	esac;
   537 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   538 	???[sx]*):;;*)false;;esac;fi
   539     '\'' sh
   540   '
   541 fi
   542 as_executable_p=$as_test_x
   544 # Sed expression to map a string onto a valid CPP name.
   545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   547 # Sed expression to map a string onto a valid variable name.
   548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   552 exec 7<&0 </dev/null 6>&1
   554 # Name of the host.
   555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   556 # so uname gets run too.
   557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   559 #
   560 # Initializations.
   561 #
   562 ac_default_prefix=/usr/local
   563 ac_clean_files=
   564 ac_config_libobj_dir=.
   565 LIBOBJS=
   566 cross_compiling=no
   567 subdirs=
   568 MFLAGS=
   569 MAKEFLAGS=
   570 SHELL=${CONFIG_SHELL-/bin/sh}
   572 # Identity of this package.
   573 PACKAGE_NAME=
   574 PACKAGE_TARNAME=
   575 PACKAGE_VERSION=
   576 PACKAGE_STRING=
   577 PACKAGE_BUGREPORT=
   579 ac_unique_file="configure.in"
   580 # Factoring default headers for most tests.
   581 ac_includes_default="\
   582 #include <stdio.h>
   583 #ifdef HAVE_SYS_TYPES_H
   584 # include <sys/types.h>
   585 #endif
   586 #ifdef HAVE_SYS_STAT_H
   587 # include <sys/stat.h>
   588 #endif
   589 #ifdef STDC_HEADERS
   590 # include <stdlib.h>
   591 # include <stddef.h>
   592 #else
   593 # ifdef HAVE_STDLIB_H
   594 #  include <stdlib.h>
   595 # endif
   596 #endif
   597 #ifdef HAVE_STRING_H
   598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   599 #  include <memory.h>
   600 # endif
   601 # include <string.h>
   602 #endif
   603 #ifdef HAVE_STRINGS_H
   604 # include <strings.h>
   605 #endif
   606 #ifdef HAVE_INTTYPES_H
   607 # include <inttypes.h>
   608 #endif
   609 #ifdef HAVE_STDINT_H
   610 # include <stdint.h>
   611 #endif
   612 #ifdef HAVE_UNISTD_H
   613 # include <unistd.h>
   614 #endif"
   616 ac_subst_vars='SHELL
   617 PATH_SEPARATOR
   618 PACKAGE_NAME
   619 PACKAGE_TARNAME
   620 PACKAGE_VERSION
   621 PACKAGE_STRING
   622 PACKAGE_BUGREPORT
   623 exec_prefix
   624 prefix
   625 program_transform_name
   626 bindir
   627 sbindir
   628 libexecdir
   629 datarootdir
   630 datadir
   631 sysconfdir
   632 sharedstatedir
   633 localstatedir
   634 includedir
   635 oldincludedir
   636 docdir
   637 infodir
   638 htmldir
   639 dvidir
   640 pdfdir
   641 psdir
   642 libdir
   643 localedir
   644 mandir
   645 DEFS
   646 ECHO_C
   647 ECHO_N
   648 ECHO_T
   649 LIBS
   650 build_alias
   651 host_alias
   652 target_alias
   653 INSTALL_PROGRAM
   654 INSTALL_SCRIPT
   655 INSTALL_DATA
   656 CYGPATH_W
   657 PACKAGE
   658 VERSION
   659 ACLOCAL
   660 AUTOCONF
   661 AUTOMAKE
   662 AUTOHEADER
   663 MAKEINFO
   664 AMTAR
   665 install_sh
   666 STRIP
   667 INSTALL_STRIP_PROGRAM
   668 AWK
   669 SET_MAKE
   670 am__leading_dot
   671 MAINTAINER_MODE_TRUE
   672 MAINTAINER_MODE_FALSE
   673 MAINT
   674 CC
   675 CFLAGS
   676 LDFLAGS
   677 CPPFLAGS
   678 ac_ct_CC
   679 EXEEXT
   680 OBJEXT
   681 DEPDIR
   682 am__include
   683 am__quote
   684 AMDEP_TRUE
   685 AMDEP_FALSE
   686 AMDEPBACKSLASH
   687 CCDEPMODE
   688 am__fastdepCC_TRUE
   689 am__fastdepCC_FALSE
   690 CPP
   691 GREP
   692 EGREP
   693 build
   694 build_cpu
   695 build_vendor
   696 build_os
   697 host
   698 host_cpu
   699 host_vendor
   700 host_os
   701 PKG_CONFIG
   702 PACKAGE_CFLAGS
   703 PACKAGE_LIBS
   704 ESOUND_CFLAGS
   705 ESOUND_LIBS
   706 AUDIO_ESOUND_TRUE
   707 AUDIO_ESOUND_FALSE
   708 BUILD_SH4X86_TRUE
   709 BUILD_SH4X86_FALSE
   710 CDROM_LINUX_TRUE
   711 CDROM_LINUX_FALSE
   712 SHCC
   713 SHLD
   714 SHOBJCOPY
   715 ARMCC
   716 ARMLD
   717 ARMOBJCOPY
   718 BUILD_SYSTEST_TRUE
   719 BUILD_SYSTEST_FALSE
   720 BUILD_ARMTEST_TRUE
   721 BUILD_ARMTEST_FALSE
   722 GETTEXT_PACKAGE
   723 USE_NLS
   724 MSGFMT
   725 GMSGFMT
   726 XGETTEXT
   727 CATALOGS
   728 CATOBJEXT
   729 DATADIRNAME
   730 GMOFILES
   731 INSTOBJEXT
   732 INTLLIBS
   733 PO_IN_DATADIR_TRUE
   734 PO_IN_DATADIR_FALSE
   735 POFILES
   736 POSUB
   737 MKINSTALLDIRS
   738 LIBOBJS
   739 LTLIBOBJS'
   740 ac_subst_files=''
   741       ac_precious_vars='build_alias
   742 host_alias
   743 target_alias
   744 CC
   745 CFLAGS
   746 LDFLAGS
   747 LIBS
   748 CPPFLAGS
   749 CPP
   750 PKG_CONFIG
   751 PACKAGE_CFLAGS
   752 PACKAGE_LIBS
   753 ESOUND_CFLAGS
   754 ESOUND_LIBS'
   757 # Initialize some variables set by options.
   758 ac_init_help=
   759 ac_init_version=false
   760 # The variables have the same names as the options, with
   761 # dashes changed to underlines.
   762 cache_file=/dev/null
   763 exec_prefix=NONE
   764 no_create=
   765 no_recursion=
   766 prefix=NONE
   767 program_prefix=NONE
   768 program_suffix=NONE
   769 program_transform_name=s,x,x,
   770 silent=
   771 site=
   772 srcdir=
   773 verbose=
   774 x_includes=NONE
   775 x_libraries=NONE
   777 # Installation directory options.
   778 # These are left unexpanded so users can "make install exec_prefix=/foo"
   779 # and all the variables that are supposed to be based on exec_prefix
   780 # by default will actually change.
   781 # Use braces instead of parens because sh, perl, etc. also accept them.
   782 # (The list follows the same order as the GNU Coding Standards.)
   783 bindir='${exec_prefix}/bin'
   784 sbindir='${exec_prefix}/sbin'
   785 libexecdir='${exec_prefix}/libexec'
   786 datarootdir='${prefix}/share'
   787 datadir='${datarootdir}'
   788 sysconfdir='${prefix}/etc'
   789 sharedstatedir='${prefix}/com'
   790 localstatedir='${prefix}/var'
   791 includedir='${prefix}/include'
   792 oldincludedir='/usr/include'
   793 docdir='${datarootdir}/doc/${PACKAGE}'
   794 infodir='${datarootdir}/info'
   795 htmldir='${docdir}'
   796 dvidir='${docdir}'
   797 pdfdir='${docdir}'
   798 psdir='${docdir}'
   799 libdir='${exec_prefix}/lib'
   800 localedir='${datarootdir}/locale'
   801 mandir='${datarootdir}/man'
   803 ac_prev=
   804 ac_dashdash=
   805 for ac_option
   806 do
   807   # If the previous option needs an argument, assign it.
   808   if test -n "$ac_prev"; then
   809     eval $ac_prev=\$ac_option
   810     ac_prev=
   811     continue
   812   fi
   814   case $ac_option in
   815   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   816   *)	ac_optarg=yes ;;
   817   esac
   819   # Accept the important Cygnus configure options, so we can diagnose typos.
   821   case $ac_dashdash$ac_option in
   822   --)
   823     ac_dashdash=yes ;;
   825   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   826     ac_prev=bindir ;;
   827   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   828     bindir=$ac_optarg ;;
   830   -build | --build | --buil | --bui | --bu)
   831     ac_prev=build_alias ;;
   832   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   833     build_alias=$ac_optarg ;;
   835   -cache-file | --cache-file | --cache-fil | --cache-fi \
   836   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   837     ac_prev=cache_file ;;
   838   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   839   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   840     cache_file=$ac_optarg ;;
   842   --config-cache | -C)
   843     cache_file=config.cache ;;
   845   -datadir | --datadir | --datadi | --datad)
   846     ac_prev=datadir ;;
   847   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   848     datadir=$ac_optarg ;;
   850   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   851   | --dataroo | --dataro | --datar)
   852     ac_prev=datarootdir ;;
   853   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   854   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   855     datarootdir=$ac_optarg ;;
   857   -disable-* | --disable-*)
   858     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   859     # Reject names that are not valid shell variable names.
   860     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   861       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   862    { (exit 1); exit 1; }; }
   863     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   864     eval enable_$ac_feature=no ;;
   866   -docdir | --docdir | --docdi | --doc | --do)
   867     ac_prev=docdir ;;
   868   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   869     docdir=$ac_optarg ;;
   871   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   872     ac_prev=dvidir ;;
   873   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   874     dvidir=$ac_optarg ;;
   876   -enable-* | --enable-*)
   877     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   878     # Reject names that are not valid shell variable names.
   879     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   880       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   881    { (exit 1); exit 1; }; }
   882     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   883     eval enable_$ac_feature=\$ac_optarg ;;
   885   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   886   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   887   | --exec | --exe | --ex)
   888     ac_prev=exec_prefix ;;
   889   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   890   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   891   | --exec=* | --exe=* | --ex=*)
   892     exec_prefix=$ac_optarg ;;
   894   -gas | --gas | --ga | --g)
   895     # Obsolete; use --with-gas.
   896     with_gas=yes ;;
   898   -help | --help | --hel | --he | -h)
   899     ac_init_help=long ;;
   900   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   901     ac_init_help=recursive ;;
   902   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   903     ac_init_help=short ;;
   905   -host | --host | --hos | --ho)
   906     ac_prev=host_alias ;;
   907   -host=* | --host=* | --hos=* | --ho=*)
   908     host_alias=$ac_optarg ;;
   910   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   911     ac_prev=htmldir ;;
   912   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   913   | --ht=*)
   914     htmldir=$ac_optarg ;;
   916   -includedir | --includedir | --includedi | --included | --include \
   917   | --includ | --inclu | --incl | --inc)
   918     ac_prev=includedir ;;
   919   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   920   | --includ=* | --inclu=* | --incl=* | --inc=*)
   921     includedir=$ac_optarg ;;
   923   -infodir | --infodir | --infodi | --infod | --info | --inf)
   924     ac_prev=infodir ;;
   925   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   926     infodir=$ac_optarg ;;
   928   -libdir | --libdir | --libdi | --libd)
   929     ac_prev=libdir ;;
   930   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   931     libdir=$ac_optarg ;;
   933   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   934   | --libexe | --libex | --libe)
   935     ac_prev=libexecdir ;;
   936   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   937   | --libexe=* | --libex=* | --libe=*)
   938     libexecdir=$ac_optarg ;;
   940   -localedir | --localedir | --localedi | --localed | --locale)
   941     ac_prev=localedir ;;
   942   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   943     localedir=$ac_optarg ;;
   945   -localstatedir | --localstatedir | --localstatedi | --localstated \
   946   | --localstate | --localstat | --localsta | --localst | --locals)
   947     ac_prev=localstatedir ;;
   948   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   949   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   950     localstatedir=$ac_optarg ;;
   952   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   953     ac_prev=mandir ;;
   954   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   955     mandir=$ac_optarg ;;
   957   -nfp | --nfp | --nf)
   958     # Obsolete; use --without-fp.
   959     with_fp=no ;;
   961   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   962   | --no-cr | --no-c | -n)
   963     no_create=yes ;;
   965   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   966   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   967     no_recursion=yes ;;
   969   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   970   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   971   | --oldin | --oldi | --old | --ol | --o)
   972     ac_prev=oldincludedir ;;
   973   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   974   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   975   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   976     oldincludedir=$ac_optarg ;;
   978   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   979     ac_prev=prefix ;;
   980   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   981     prefix=$ac_optarg ;;
   983   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   984   | --program-pre | --program-pr | --program-p)
   985     ac_prev=program_prefix ;;
   986   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   987   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   988     program_prefix=$ac_optarg ;;
   990   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   991   | --program-suf | --program-su | --program-s)
   992     ac_prev=program_suffix ;;
   993   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   994   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   995     program_suffix=$ac_optarg ;;
   997   -program-transform-name | --program-transform-name \
   998   | --program-transform-nam | --program-transform-na \
   999   | --program-transform-n | --program-transform- \
  1000   | --program-transform | --program-transfor \
  1001   | --program-transfo | --program-transf \
  1002   | --program-trans | --program-tran \
  1003   | --progr-tra | --program-tr | --program-t)
  1004     ac_prev=program_transform_name ;;
  1005   -program-transform-name=* | --program-transform-name=* \
  1006   | --program-transform-nam=* | --program-transform-na=* \
  1007   | --program-transform-n=* | --program-transform-=* \
  1008   | --program-transform=* | --program-transfor=* \
  1009   | --program-transfo=* | --program-transf=* \
  1010   | --program-trans=* | --program-tran=* \
  1011   | --progr-tra=* | --program-tr=* | --program-t=*)
  1012     program_transform_name=$ac_optarg ;;
  1014   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1015     ac_prev=pdfdir ;;
  1016   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1017     pdfdir=$ac_optarg ;;
  1019   -psdir | --psdir | --psdi | --psd | --ps)
  1020     ac_prev=psdir ;;
  1021   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1022     psdir=$ac_optarg ;;
  1024   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1025   | -silent | --silent | --silen | --sile | --sil)
  1026     silent=yes ;;
  1028   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1029     ac_prev=sbindir ;;
  1030   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1031   | --sbi=* | --sb=*)
  1032     sbindir=$ac_optarg ;;
  1034   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1035   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1036   | --sharedst | --shareds | --shared | --share | --shar \
  1037   | --sha | --sh)
  1038     ac_prev=sharedstatedir ;;
  1039   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1040   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1041   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1042   | --sha=* | --sh=*)
  1043     sharedstatedir=$ac_optarg ;;
  1045   -site | --site | --sit)
  1046     ac_prev=site ;;
  1047   -site=* | --site=* | --sit=*)
  1048     site=$ac_optarg ;;
  1050   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1051     ac_prev=srcdir ;;
  1052   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1053     srcdir=$ac_optarg ;;
  1055   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1056   | --syscon | --sysco | --sysc | --sys | --sy)
  1057     ac_prev=sysconfdir ;;
  1058   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1059   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1060     sysconfdir=$ac_optarg ;;
  1062   -target | --target | --targe | --targ | --tar | --ta | --t)
  1063     ac_prev=target_alias ;;
  1064   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1065     target_alias=$ac_optarg ;;
  1067   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1068     verbose=yes ;;
  1070   -version | --version | --versio | --versi | --vers | -V)
  1071     ac_init_version=: ;;
  1073   -with-* | --with-*)
  1074     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1075     # Reject names that are not valid shell variable names.
  1076     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1077       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1078    { (exit 1); exit 1; }; }
  1079     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1080     eval with_$ac_package=\$ac_optarg ;;
  1082   -without-* | --without-*)
  1083     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1084     # Reject names that are not valid shell variable names.
  1085     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1086       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1087    { (exit 1); exit 1; }; }
  1088     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1089     eval with_$ac_package=no ;;
  1091   --x)
  1092     # Obsolete; use --with-x.
  1093     with_x=yes ;;
  1095   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1096   | --x-incl | --x-inc | --x-in | --x-i)
  1097     ac_prev=x_includes ;;
  1098   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1099   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1100     x_includes=$ac_optarg ;;
  1102   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1103   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1104     ac_prev=x_libraries ;;
  1105   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1106   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1107     x_libraries=$ac_optarg ;;
  1109   -*) { echo "$as_me: error: unrecognized option: $ac_option
  1110 Try \`$0 --help' for more information." >&2
  1111    { (exit 1); exit 1; }; }
  1112     ;;
  1114   *=*)
  1115     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1116     # Reject names that are not valid shell variable names.
  1117     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1118       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1119    { (exit 1); exit 1; }; }
  1120     eval $ac_envvar=\$ac_optarg
  1121     export $ac_envvar ;;
  1123   *)
  1124     # FIXME: should be removed in autoconf 3.0.
  1125     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1126     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1127       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1128     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1129     ;;
  1131   esac
  1132 done
  1134 if test -n "$ac_prev"; then
  1135   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1136   { echo "$as_me: error: missing argument to $ac_option" >&2
  1137    { (exit 1); exit 1; }; }
  1138 fi
  1140 # Be sure to have absolute directory names.
  1141 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1142 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1143 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1144 		libdir localedir mandir
  1145 do
  1146   eval ac_val=\$$ac_var
  1147   case $ac_val in
  1148     [\\/$]* | ?:[\\/]* )  continue;;
  1149     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1150   esac
  1151   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1152    { (exit 1); exit 1; }; }
  1153 done
  1155 # There might be people who depend on the old broken behavior: `$host'
  1156 # used to hold the argument of --host etc.
  1157 # FIXME: To remove some day.
  1158 build=$build_alias
  1159 host=$host_alias
  1160 target=$target_alias
  1162 # FIXME: To remove some day.
  1163 if test "x$host_alias" != x; then
  1164   if test "x$build_alias" = x; then
  1165     cross_compiling=maybe
  1166     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1167     If a cross compiler is detected then cross compile mode will be used." >&2
  1168   elif test "x$build_alias" != "x$host_alias"; then
  1169     cross_compiling=yes
  1170   fi
  1171 fi
  1173 ac_tool_prefix=
  1174 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1176 test "$silent" = yes && exec 6>/dev/null
  1179 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1180 ac_ls_di=`ls -di .` &&
  1181 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1182   { echo "$as_me: error: Working directory cannot be determined" >&2
  1183    { (exit 1); exit 1; }; }
  1184 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1185   { echo "$as_me: error: pwd does not report name of working directory" >&2
  1186    { (exit 1); exit 1; }; }
  1189 # Find the source files, if location was not specified.
  1190 if test -z "$srcdir"; then
  1191   ac_srcdir_defaulted=yes
  1192   # Try the directory containing this script, then the parent directory.
  1193   ac_confdir=`$as_dirname -- "$0" ||
  1194 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1195 	 X"$0" : 'X\(//\)[^/]' \| \
  1196 	 X"$0" : 'X\(//\)$' \| \
  1197 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1198 echo X"$0" |
  1199     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1200 	    s//\1/
  1203 	  /^X\(\/\/\)[^/].*/{
  1204 	    s//\1/
  1207 	  /^X\(\/\/\)$/{
  1208 	    s//\1/
  1211 	  /^X\(\/\).*/{
  1212 	    s//\1/
  1215 	  s/.*/./; q'`
  1216   srcdir=$ac_confdir
  1217   if test ! -r "$srcdir/$ac_unique_file"; then
  1218     srcdir=..
  1219   fi
  1220 else
  1221   ac_srcdir_defaulted=no
  1222 fi
  1223 if test ! -r "$srcdir/$ac_unique_file"; then
  1224   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1225   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1226    { (exit 1); exit 1; }; }
  1227 fi
  1228 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1229 ac_abs_confdir=`(
  1230 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1231    { (exit 1); exit 1; }; }
  1232 	pwd)`
  1233 # When building in place, set srcdir=.
  1234 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1235   srcdir=.
  1236 fi
  1237 # Remove unnecessary trailing slashes from srcdir.
  1238 # Double slashes in file names in object file debugging info
  1239 # mess up M-x gdb in Emacs.
  1240 case $srcdir in
  1241 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1242 esac
  1243 for ac_var in $ac_precious_vars; do
  1244   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1245   eval ac_env_${ac_var}_value=\$${ac_var}
  1246   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1247   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1248 done
  1251 # Report the --help message.
  1253 if test "$ac_init_help" = "long"; then
  1254   # Omit some internal or obsolete options to make the list less imposing.
  1255   # This message is too long to be a string in the A/UX 3.1 sh.
  1256   cat <<_ACEOF
  1257 \`configure' configures this package to adapt to many kinds of systems.
  1259 Usage: $0 [OPTION]... [VAR=VALUE]...
  1261 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1262 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1264 Defaults for the options are specified in brackets.
  1266 Configuration:
  1267   -h, --help              display this help and exit
  1268       --help=short        display options specific to this package
  1269       --help=recursive    display the short help of all the included packages
  1270   -V, --version           display version information and exit
  1271   -q, --quiet, --silent   do not print \`checking...' messages
  1272       --cache-file=FILE   cache test results in FILE [disabled]
  1273   -C, --config-cache      alias for \`--cache-file=config.cache'
  1274   -n, --no-create         do not create output files
  1275       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1277 Installation directories:
  1278   --prefix=PREFIX         install architecture-independent files in PREFIX
  1279 			  [$ac_default_prefix]
  1280   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1281 			  [PREFIX]
  1283 By default, \`make install' will install all the files in
  1284 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1285 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1286 for instance \`--prefix=\$HOME'.
  1288 For better control, use the options below.
  1290 Fine tuning of the installation directories:
  1291   --bindir=DIR           user executables [EPREFIX/bin]
  1292   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  1293   --libexecdir=DIR       program executables [EPREFIX/libexec]
  1294   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  1295   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  1296   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  1297   --libdir=DIR           object code libraries [EPREFIX/lib]
  1298   --includedir=DIR       C header files [PREFIX/include]
  1299   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1300   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  1301   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  1302   --infodir=DIR          info documentation [DATAROOTDIR/info]
  1303   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  1304   --mandir=DIR           man documentation [DATAROOTDIR/man]
  1305   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  1306   --htmldir=DIR          html documentation [DOCDIR]
  1307   --dvidir=DIR           dvi documentation [DOCDIR]
  1308   --pdfdir=DIR           pdf documentation [DOCDIR]
  1309   --psdir=DIR            ps documentation [DOCDIR]
  1310 _ACEOF
  1312   cat <<\_ACEOF
  1314 Program names:
  1315   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1316   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1317   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1319 System types:
  1320   --build=BUILD     configure for building on BUILD [guessed]
  1321   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1322 _ACEOF
  1323 fi
  1325 if test -n "$ac_init_help"; then
  1327   cat <<\_ACEOF
  1329 Optional Features:
  1330   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1331   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1332   --enable-maintainer-mode enable make rules and dependencies not useful
  1333                           (and sometimes confusing) to the casual installer
  1334   --disable-dependency-tracking Speeds up one-time builds
  1335   --enable-dependency-tracking  Do not reject slow dependency extractors
  1337 Some influential environment variables:
  1338   CC          C compiler command
  1339   CFLAGS      C compiler flags
  1340   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1341               nonstandard directory <lib dir>
  1342   LIBS        libraries to pass to the linker, e.g. -l<library>
  1343   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1344               you have headers in a nonstandard directory <include dir>
  1345   CPP         C preprocessor
  1346   PKG_CONFIG  path to pkg-config utility
  1347   PACKAGE_CFLAGS
  1348               C compiler flags for PACKAGE, overriding pkg-config
  1349   PACKAGE_LIBS
  1350               linker flags for PACKAGE, overriding pkg-config
  1351   ESOUND_CFLAGS
  1352               C compiler flags for ESOUND, overriding pkg-config
  1353   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1355 Use these variables to override the choices made by `configure' or to help
  1356 it to find libraries and programs with nonstandard names/locations.
  1358 _ACEOF
  1359 ac_status=$?
  1360 fi
  1362 if test "$ac_init_help" = "recursive"; then
  1363   # If there are subdirs, report their specific --help.
  1364   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1365     test -d "$ac_dir" || continue
  1366     ac_builddir=.
  1368 case "$ac_dir" in
  1369 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1370 *)
  1371   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1372   # A ".." for each directory in $ac_dir_suffix.
  1373   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1374   case $ac_top_builddir_sub in
  1375   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1376   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1377   esac ;;
  1378 esac
  1379 ac_abs_top_builddir=$ac_pwd
  1380 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1381 # for backward compatibility:
  1382 ac_top_builddir=$ac_top_build_prefix
  1384 case $srcdir in
  1385   .)  # We are building in place.
  1386     ac_srcdir=.
  1387     ac_top_srcdir=$ac_top_builddir_sub
  1388     ac_abs_top_srcdir=$ac_pwd ;;
  1389   [\\/]* | ?:[\\/]* )  # Absolute name.
  1390     ac_srcdir=$srcdir$ac_dir_suffix;
  1391     ac_top_srcdir=$srcdir
  1392     ac_abs_top_srcdir=$srcdir ;;
  1393   *) # Relative name.
  1394     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1395     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1396     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1397 esac
  1398 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1400     cd "$ac_dir" || { ac_status=$?; continue; }
  1401     # Check for guested configure.
  1402     if test -f "$ac_srcdir/configure.gnu"; then
  1403       echo &&
  1404       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1405     elif test -f "$ac_srcdir/configure"; then
  1406       echo &&
  1407       $SHELL "$ac_srcdir/configure" --help=recursive
  1408     else
  1409       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1410     fi || ac_status=$?
  1411     cd "$ac_pwd" || { ac_status=$?; break; }
  1412   done
  1413 fi
  1415 test -n "$ac_init_help" && exit $ac_status
  1416 if $ac_init_version; then
  1417   cat <<\_ACEOF
  1418 configure
  1419 generated by GNU Autoconf 2.61
  1421 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1422 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1423 This configure script is free software; the Free Software Foundation
  1424 gives unlimited permission to copy, distribute and modify it.
  1425 _ACEOF
  1426   exit
  1427 fi
  1428 cat >config.log <<_ACEOF
  1429 This file contains any messages produced by compilers while
  1430 running configure, to aid debugging if configure makes a mistake.
  1432 It was created by $as_me, which was
  1433 generated by GNU Autoconf 2.61.  Invocation command line was
  1435   $ $0 $@
  1437 _ACEOF
  1438 exec 5>>config.log
  1440 cat <<_ASUNAME
  1441 ## --------- ##
  1442 ## Platform. ##
  1443 ## --------- ##
  1445 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1446 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1447 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1448 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1449 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1451 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1452 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1454 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1455 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1456 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1457 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1458 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1459 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1460 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1462 _ASUNAME
  1464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1465 for as_dir in $PATH
  1466 do
  1467   IFS=$as_save_IFS
  1468   test -z "$as_dir" && as_dir=.
  1469   echo "PATH: $as_dir"
  1470 done
  1471 IFS=$as_save_IFS
  1473 } >&5
  1475 cat >&5 <<_ACEOF
  1478 ## ----------- ##
  1479 ## Core tests. ##
  1480 ## ----------- ##
  1482 _ACEOF
  1485 # Keep a trace of the command line.
  1486 # Strip out --no-create and --no-recursion so they do not pile up.
  1487 # Strip out --silent because we don't want to record it for future runs.
  1488 # Also quote any args containing shell meta-characters.
  1489 # Make two passes to allow for proper duplicate-argument suppression.
  1490 ac_configure_args=
  1491 ac_configure_args0=
  1492 ac_configure_args1=
  1493 ac_must_keep_next=false
  1494 for ac_pass in 1 2
  1495 do
  1496   for ac_arg
  1497   do
  1498     case $ac_arg in
  1499     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1500     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1501     | -silent | --silent | --silen | --sile | --sil)
  1502       continue ;;
  1503     *\'*)
  1504       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1505     esac
  1506     case $ac_pass in
  1507     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1508     2)
  1509       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1510       if test $ac_must_keep_next = true; then
  1511 	ac_must_keep_next=false # Got value, back to normal.
  1512       else
  1513 	case $ac_arg in
  1514 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1515 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1516 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1517 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1518 	    case "$ac_configure_args0 " in
  1519 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1520 	    esac
  1521 	    ;;
  1522 	  -* ) ac_must_keep_next=true ;;
  1523 	esac
  1524       fi
  1525       ac_configure_args="$ac_configure_args '$ac_arg'"
  1526       ;;
  1527     esac
  1528   done
  1529 done
  1530 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1531 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1533 # When interrupted or exit'd, cleanup temporary files, and complete
  1534 # config.log.  We remove comments because anyway the quotes in there
  1535 # would cause problems or look ugly.
  1536 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1537 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1538 trap 'exit_status=$?
  1539   # Save into config.log some information that might help in debugging.
  1541     echo
  1543     cat <<\_ASBOX
  1544 ## ---------------- ##
  1545 ## Cache variables. ##
  1546 ## ---------------- ##
  1547 _ASBOX
  1548     echo
  1549     # The following way of writing the cache mishandles newlines in values,
  1551   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1552     eval ac_val=\$$ac_var
  1553     case $ac_val in #(
  1554     *${as_nl}*)
  1555       case $ac_var in #(
  1556       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1557 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1558       esac
  1559       case $ac_var in #(
  1560       _ | IFS | as_nl) ;; #(
  1561       *) $as_unset $ac_var ;;
  1562       esac ;;
  1563     esac
  1564   done
  1565   (set) 2>&1 |
  1566     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1567     *${as_nl}ac_space=\ *)
  1568       sed -n \
  1569 	"s/'\''/'\''\\\\'\'''\''/g;
  1570 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1571       ;; #(
  1572     *)
  1573       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1574       ;;
  1575     esac |
  1576     sort
  1578     echo
  1580     cat <<\_ASBOX
  1581 ## ----------------- ##
  1582 ## Output variables. ##
  1583 ## ----------------- ##
  1584 _ASBOX
  1585     echo
  1586     for ac_var in $ac_subst_vars
  1587     do
  1588       eval ac_val=\$$ac_var
  1589       case $ac_val in
  1590       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1591       esac
  1592       echo "$ac_var='\''$ac_val'\''"
  1593     done | sort
  1594     echo
  1596     if test -n "$ac_subst_files"; then
  1597       cat <<\_ASBOX
  1598 ## ------------------- ##
  1599 ## File substitutions. ##
  1600 ## ------------------- ##
  1601 _ASBOX
  1602       echo
  1603       for ac_var in $ac_subst_files
  1604       do
  1605 	eval ac_val=\$$ac_var
  1606 	case $ac_val in
  1607 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1608 	esac
  1609 	echo "$ac_var='\''$ac_val'\''"
  1610       done | sort
  1611       echo
  1612     fi
  1614     if test -s confdefs.h; then
  1615       cat <<\_ASBOX
  1616 ## ----------- ##
  1617 ## confdefs.h. ##
  1618 ## ----------- ##
  1619 _ASBOX
  1620       echo
  1621       cat confdefs.h
  1622       echo
  1623     fi
  1624     test "$ac_signal" != 0 &&
  1625       echo "$as_me: caught signal $ac_signal"
  1626     echo "$as_me: exit $exit_status"
  1627   } >&5
  1628   rm -f core *.core core.conftest.* &&
  1629     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1630     exit $exit_status
  1631 ' 0
  1632 for ac_signal in 1 2 13 15; do
  1633   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1634 done
  1635 ac_signal=0
  1637 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1638 rm -f -r conftest* confdefs.h
  1640 # Predefined preprocessor variables.
  1642 cat >>confdefs.h <<_ACEOF
  1643 #define PACKAGE_NAME "$PACKAGE_NAME"
  1644 _ACEOF
  1647 cat >>confdefs.h <<_ACEOF
  1648 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1649 _ACEOF
  1652 cat >>confdefs.h <<_ACEOF
  1653 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1654 _ACEOF
  1657 cat >>confdefs.h <<_ACEOF
  1658 #define PACKAGE_STRING "$PACKAGE_STRING"
  1659 _ACEOF
  1662 cat >>confdefs.h <<_ACEOF
  1663 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1664 _ACEOF
  1667 # Let the site file select an alternate cache file if it wants to.
  1668 # Prefer explicitly selected file to automatically selected ones.
  1669 if test -n "$CONFIG_SITE"; then
  1670   set x "$CONFIG_SITE"
  1671 elif test "x$prefix" != xNONE; then
  1672   set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1673 else
  1674   set x "$ac_default_prefix/share/config.site" \
  1675 	"$ac_default_prefix/etc/config.site"
  1676 fi
  1677 shift
  1678 for ac_site_file
  1679 do
  1680   if test -r "$ac_site_file"; then
  1681     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1682 echo "$as_me: loading site script $ac_site_file" >&6;}
  1683     sed 's/^/| /' "$ac_site_file" >&5
  1684     . "$ac_site_file"
  1685   fi
  1686 done
  1688 if test -r "$cache_file"; then
  1689   # Some versions of bash will fail to source /dev/null (special
  1690   # files actually), so we avoid doing that.
  1691   if test -f "$cache_file"; then
  1692     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1693 echo "$as_me: loading cache $cache_file" >&6;}
  1694     case $cache_file in
  1695       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1696       *)                      . "./$cache_file";;
  1697     esac
  1698   fi
  1699 else
  1700   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1701 echo "$as_me: creating cache $cache_file" >&6;}
  1702   >$cache_file
  1703 fi
  1705 # Check that the precious variables saved in the cache have kept the same
  1706 # value.
  1707 ac_cache_corrupted=false
  1708 for ac_var in $ac_precious_vars; do
  1709   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1710   eval ac_new_set=\$ac_env_${ac_var}_set
  1711   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1712   eval ac_new_val=\$ac_env_${ac_var}_value
  1713   case $ac_old_set,$ac_new_set in
  1714     set,)
  1715       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1716 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1717       ac_cache_corrupted=: ;;
  1718     ,set)
  1719       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1720 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1721       ac_cache_corrupted=: ;;
  1722     ,);;
  1723     *)
  1724       if test "x$ac_old_val" != "x$ac_new_val"; then
  1725 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1726 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1727 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1728 echo "$as_me:   former value:  $ac_old_val" >&2;}
  1729 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1730 echo "$as_me:   current value: $ac_new_val" >&2;}
  1731 	ac_cache_corrupted=:
  1732       fi;;
  1733   esac
  1734   # Pass precious variables to config.status.
  1735   if test "$ac_new_set" = set; then
  1736     case $ac_new_val in
  1737     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1738     *) ac_arg=$ac_var=$ac_new_val ;;
  1739     esac
  1740     case " $ac_configure_args " in
  1741       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1742       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1743     esac
  1744   fi
  1745 done
  1746 if $ac_cache_corrupted; then
  1747   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1748 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1749   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1750 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1751    { (exit 1); exit 1; }; }
  1752 fi
  1770 ac_ext=c
  1771 ac_cpp='$CPP $CPPFLAGS'
  1772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1777 am__api_version="1.7"
  1778 ac_aux_dir=
  1779 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1780   if test -f "$ac_dir/install-sh"; then
  1781     ac_aux_dir=$ac_dir
  1782     ac_install_sh="$ac_aux_dir/install-sh -c"
  1783     break
  1784   elif test -f "$ac_dir/install.sh"; then
  1785     ac_aux_dir=$ac_dir
  1786     ac_install_sh="$ac_aux_dir/install.sh -c"
  1787     break
  1788   elif test -f "$ac_dir/shtool"; then
  1789     ac_aux_dir=$ac_dir
  1790     ac_install_sh="$ac_aux_dir/shtool install -c"
  1791     break
  1792   fi
  1793 done
  1794 if test -z "$ac_aux_dir"; then
  1795   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1796 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1797    { (exit 1); exit 1; }; }
  1798 fi
  1800 # These three variables are undocumented and unsupported,
  1801 # and are intended to be withdrawn in a future Autoconf release.
  1802 # They can cause serious problems if a builder's source tree is in a directory
  1803 # whose full name contains unusual characters.
  1804 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1805 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1806 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1809 # Find a good install program.  We prefer a C program (faster),
  1810 # so one script is as good as another.  But avoid the broken or
  1811 # incompatible versions:
  1812 # SysV /etc/install, /usr/sbin/install
  1813 # SunOS /usr/etc/install
  1814 # IRIX /sbin/install
  1815 # AIX /bin/install
  1816 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1817 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1818 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1819 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1820 # OS/2's system install, which has a completely different semantic
  1821 # ./install, which can be erroneously created by make from ./install.sh.
  1822 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1823 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  1824 if test -z "$INSTALL"; then
  1825 if test "${ac_cv_path_install+set}" = set; then
  1826   echo $ECHO_N "(cached) $ECHO_C" >&6
  1827 else
  1828   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1829 for as_dir in $PATH
  1830 do
  1831   IFS=$as_save_IFS
  1832   test -z "$as_dir" && as_dir=.
  1833   # Account for people who put trailing slashes in PATH elements.
  1834 case $as_dir/ in
  1835   ./ | .// | /cC/* | \
  1836   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1837   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  1838   /usr/ucb/* ) ;;
  1839   *)
  1840     # OSF1 and SCO ODT 3.0 have their own names for install.
  1841     # Don't use installbsd from OSF since it installs stuff as root
  1842     # by default.
  1843     for ac_prog in ginstall scoinst install; do
  1844       for ac_exec_ext in '' $ac_executable_extensions; do
  1845 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1846 	  if test $ac_prog = install &&
  1847 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1848 	    # AIX install.  It has an incompatible calling convention.
  1850 	  elif test $ac_prog = install &&
  1851 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1852 	    # program-specific install script used by HP pwplus--don't use.
  1854 	  else
  1855 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1856 	    break 3
  1857 	  fi
  1858 	fi
  1859       done
  1860     done
  1861     ;;
  1862 esac
  1863 done
  1864 IFS=$as_save_IFS
  1867 fi
  1868   if test "${ac_cv_path_install+set}" = set; then
  1869     INSTALL=$ac_cv_path_install
  1870   else
  1871     # As a last resort, use the slow shell script.  Don't cache a
  1872     # value for INSTALL within a source directory, because that will
  1873     # break other packages using the cache if that directory is
  1874     # removed, or if the value is a relative name.
  1875     INSTALL=$ac_install_sh
  1876   fi
  1877 fi
  1878 { echo "$as_me:$LINENO: result: $INSTALL" >&5
  1879 echo "${ECHO_T}$INSTALL" >&6; }
  1881 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1882 # It thinks the first close brace ends the variable substitution.
  1883 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1885 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1887 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1889 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1890 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  1891 # Just in case
  1892 sleep 1
  1893 echo timestamp > conftest.file
  1894 # Do `set' in a subshell so we don't clobber the current shell's
  1895 # arguments.  Must try -L first in case configure is actually a
  1896 # symlink; some systems play weird games with the mod time of symlinks
  1897 # (eg FreeBSD returns the mod time of the symlink's containing
  1898 # directory).
  1899 if (
  1900    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1901    if test "$*" = "X"; then
  1902       # -L didn't work.
  1903       set X `ls -t $srcdir/configure conftest.file`
  1904    fi
  1905    rm -f conftest.file
  1906    if test "$*" != "X $srcdir/configure conftest.file" \
  1907       && test "$*" != "X conftest.file $srcdir/configure"; then
  1909       # If neither matched, then we have a broken ls.  This can happen
  1910       # if, for instance, CONFIG_SHELL is bash and it inherits a
  1911       # broken ls alias from the environment.  This has actually
  1912       # happened.  Such a system could not be considered "sane".
  1913       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  1914 alias in your environment" >&5
  1915 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  1916 alias in your environment" >&2;}
  1917    { (exit 1); exit 1; }; }
  1918    fi
  1920    test "$2" = conftest.file
  1922 then
  1923    # Ok.
  1925 else
  1926    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1927 Check your system clock" >&5
  1928 echo "$as_me: error: newly created file is older than distributed files!
  1929 Check your system clock" >&2;}
  1930    { (exit 1); exit 1; }; }
  1931 fi
  1932 { echo "$as_me:$LINENO: result: yes" >&5
  1933 echo "${ECHO_T}yes" >&6; }
  1934 test "$program_prefix" != NONE &&
  1935   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1936 # Use a double $ so make ignores it.
  1937 test "$program_suffix" != NONE &&
  1938   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1939 # Double any \ or $.  echo might interpret backslashes.
  1940 # By default was `s,x,x', remove it if useless.
  1941 cat <<\_ACEOF >conftest.sed
  1942 s/[\\$]/&&/g;s/;s,x,x,$//
  1943 _ACEOF
  1944 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1945 rm -f conftest.sed
  1948 # expand $ac_aux_dir to an absolute path
  1949 am_aux_dir=`cd $ac_aux_dir && pwd`
  1951 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  1952 # Use eval to expand $SHELL
  1953 if eval "$MISSING --run true"; then
  1954   am_missing_run="$MISSING --run "
  1955 else
  1956   am_missing_run=
  1957   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  1958 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1959 fi
  1961 for ac_prog in gawk mawk nawk awk
  1962 do
  1963   # Extract the first word of "$ac_prog", so it can be a program name with args.
  1964 set dummy $ac_prog; ac_word=$2
  1965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1967 if test "${ac_cv_prog_AWK+set}" = set; then
  1968   echo $ECHO_N "(cached) $ECHO_C" >&6
  1969 else
  1970   if test -n "$AWK"; then
  1971   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1972 else
  1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1974 for as_dir in $PATH
  1975 do
  1976   IFS=$as_save_IFS
  1977   test -z "$as_dir" && as_dir=.
  1978   for ac_exec_ext in '' $ac_executable_extensions; do
  1979   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1980     ac_cv_prog_AWK="$ac_prog"
  1981     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1982     break 2
  1983   fi
  1984 done
  1985 done
  1986 IFS=$as_save_IFS
  1988 fi
  1989 fi
  1990 AWK=$ac_cv_prog_AWK
  1991 if test -n "$AWK"; then
  1992   { echo "$as_me:$LINENO: result: $AWK" >&5
  1993 echo "${ECHO_T}$AWK" >&6; }
  1994 else
  1995   { echo "$as_me:$LINENO: result: no" >&5
  1996 echo "${ECHO_T}no" >&6; }
  1997 fi
  2000   test -n "$AWK" && break
  2001 done
  2003 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2004 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  2005 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2006 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2007   echo $ECHO_N "(cached) $ECHO_C" >&6
  2008 else
  2009   cat >conftest.make <<\_ACEOF
  2010 SHELL = /bin/sh
  2011 all:
  2012 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2013 _ACEOF
  2014 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2015 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2016   *@@@%%%=?*=@@@%%%*)
  2017     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2018   *)
  2019     eval ac_cv_prog_make_${ac_make}_set=no;;
  2020 esac
  2021 rm -f conftest.make
  2022 fi
  2023 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2024   { echo "$as_me:$LINENO: result: yes" >&5
  2025 echo "${ECHO_T}yes" >&6; }
  2026   SET_MAKE=
  2027 else
  2028   { echo "$as_me:$LINENO: result: no" >&5
  2029 echo "${ECHO_T}no" >&6; }
  2030   SET_MAKE="MAKE=${MAKE-make}"
  2031 fi
  2033 rm -rf .tst 2>/dev/null
  2034 mkdir .tst 2>/dev/null
  2035 if test -d .tst; then
  2036   am__leading_dot=.
  2037 else
  2038   am__leading_dot=_
  2039 fi
  2040 rmdir .tst 2>/dev/null
  2042  # test to see if srcdir already configured
  2043 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2044    test -f $srcdir/config.status; then
  2045   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2046 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2047    { (exit 1); exit 1; }; }
  2048 fi
  2050 # test whether we have cygpath
  2051 if test -z "$CYGPATH_W"; then
  2052   if (cygpath --version) >/dev/null 2>/dev/null; then
  2053     CYGPATH_W='cygpath -w'
  2054   else
  2055     CYGPATH_W=echo
  2056   fi
  2057 fi
  2060 # Define the identity of the package.
  2061  PACKAGE=lxdream
  2062  VERSION=0.8.1
  2065 cat >>confdefs.h <<_ACEOF
  2066 #define PACKAGE "$PACKAGE"
  2067 _ACEOF
  2070 cat >>confdefs.h <<_ACEOF
  2071 #define VERSION "$VERSION"
  2072 _ACEOF
  2074 # Some tools Automake needs.
  2076 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2079 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2082 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2085 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2088 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2091 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2093 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2095 # Installed binaries are usually stripped using `strip' when the user
  2096 # run `make install-strip'.  However `strip' might not be the right
  2097 # tool to use in cross-compilation environments, therefore Automake
  2098 # will honor the `STRIP' environment variable to overrule this program.
  2099 if test "$cross_compiling" != no; then
  2100   if test -n "$ac_tool_prefix"; then
  2101   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2102 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2105 if test "${ac_cv_prog_STRIP+set}" = set; then
  2106   echo $ECHO_N "(cached) $ECHO_C" >&6
  2107 else
  2108   if test -n "$STRIP"; then
  2109   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2110 else
  2111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2112 for as_dir in $PATH
  2113 do
  2114   IFS=$as_save_IFS
  2115   test -z "$as_dir" && as_dir=.
  2116   for ac_exec_ext in '' $ac_executable_extensions; do
  2117   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2118     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2119     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2120     break 2
  2121   fi
  2122 done
  2123 done
  2124 IFS=$as_save_IFS
  2126 fi
  2127 fi
  2128 STRIP=$ac_cv_prog_STRIP
  2129 if test -n "$STRIP"; then
  2130   { echo "$as_me:$LINENO: result: $STRIP" >&5
  2131 echo "${ECHO_T}$STRIP" >&6; }
  2132 else
  2133   { echo "$as_me:$LINENO: result: no" >&5
  2134 echo "${ECHO_T}no" >&6; }
  2135 fi
  2138 fi
  2139 if test -z "$ac_cv_prog_STRIP"; then
  2140   ac_ct_STRIP=$STRIP
  2141   # Extract the first word of "strip", so it can be a program name with args.
  2142 set dummy strip; ac_word=$2
  2143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2145 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2146   echo $ECHO_N "(cached) $ECHO_C" >&6
  2147 else
  2148   if test -n "$ac_ct_STRIP"; then
  2149   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2150 else
  2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2152 for as_dir in $PATH
  2153 do
  2154   IFS=$as_save_IFS
  2155   test -z "$as_dir" && as_dir=.
  2156   for ac_exec_ext in '' $ac_executable_extensions; do
  2157   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2158     ac_cv_prog_ac_ct_STRIP="strip"
  2159     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2160     break 2
  2161   fi
  2162 done
  2163 done
  2164 IFS=$as_save_IFS
  2166 fi
  2167 fi
  2168 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2169 if test -n "$ac_ct_STRIP"; then
  2170   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2171 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  2172 else
  2173   { echo "$as_me:$LINENO: result: no" >&5
  2174 echo "${ECHO_T}no" >&6; }
  2175 fi
  2177   if test "x$ac_ct_STRIP" = x; then
  2178     STRIP=":"
  2179   else
  2180     case $cross_compiling:$ac_tool_warned in
  2181 yes:)
  2182 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2183 whose name does not start with the host triplet.  If you think this
  2184 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2185 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2186 whose name does not start with the host triplet.  If you think this
  2187 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2188 ac_tool_warned=yes ;;
  2189 esac
  2190     STRIP=$ac_ct_STRIP
  2191   fi
  2192 else
  2193   STRIP="$ac_cv_prog_STRIP"
  2194 fi
  2196 fi
  2197 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2199 # We need awk for the "check" target.  The system "awk" is bad on
  2200 # some platforms.
  2204 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2205 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
  2206     # Check whether --enable-maintainer-mode was given.
  2207 if test "${enable_maintainer_mode+set}" = set; then
  2208   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2209 else
  2210   USE_MAINTAINER_MODE=no
  2211 fi
  2213   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2214 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
  2217 if test $USE_MAINTAINER_MODE = yes; then
  2218   MAINTAINER_MODE_TRUE=
  2219   MAINTAINER_MODE_FALSE='#'
  2220 else
  2221   MAINTAINER_MODE_TRUE='#'
  2222   MAINTAINER_MODE_FALSE=
  2223 fi
  2225   MAINT=$MAINTAINER_MODE_TRUE
  2228 ac_config_headers="$ac_config_headers config.h"
  2231 DEPDIR="${am__leading_dot}deps"
  2233 ac_config_commands="$ac_config_commands depfiles"
  2236 am_make=${MAKE-make}
  2237 cat > confinc << 'END'
  2238 am__doit:
  2239 	@echo done
  2240 .PHONY: am__doit
  2241 END
  2242 # If we don't find an include directive, just comment out the code.
  2243 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2244 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  2245 am__include="#"
  2246 am__quote=
  2247 _am_result=none
  2248 # First try GNU make style include.
  2249 echo "include confinc" > confmf
  2250 # We grep out `Entering directory' and `Leaving directory'
  2251 # messages which can occur if `w' ends up in MAKEFLAGS.
  2252 # In particular we don't look at `^make:' because GNU make might
  2253 # be invoked under some other name (usually "gmake"), in which
  2254 # case it prints its new name instead of `make'.
  2255 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2256    am__include=include
  2257    am__quote=
  2258    _am_result=GNU
  2259 fi
  2260 # Now try BSD make style include.
  2261 if test "$am__include" = "#"; then
  2262    echo '.include "confinc"' > confmf
  2263    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2264       am__include=.include
  2265       am__quote="\""
  2266       _am_result=BSD
  2267    fi
  2268 fi
  2271 { echo "$as_me:$LINENO: result: $_am_result" >&5
  2272 echo "${ECHO_T}$_am_result" >&6; }
  2273 rm -f confinc confmf
  2275 # Check whether --enable-dependency-tracking was given.
  2276 if test "${enable_dependency_tracking+set}" = set; then
  2277   enableval=$enable_dependency_tracking;
  2278 fi
  2280 if test "x$enable_dependency_tracking" != xno; then
  2281   am_depcomp="$ac_aux_dir/depcomp"
  2282   AMDEPBACKSLASH='\'
  2283 fi
  2286 if test "x$enable_dependency_tracking" != xno; then
  2287   AMDEP_TRUE=
  2288   AMDEP_FALSE='#'
  2289 else
  2290   AMDEP_TRUE='#'
  2291   AMDEP_FALSE=
  2292 fi
  2296 ac_ext=c
  2297 ac_cpp='$CPP $CPPFLAGS'
  2298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2301 if test -n "$ac_tool_prefix"; then
  2302   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2303 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2306 if test "${ac_cv_prog_CC+set}" = set; then
  2307   echo $ECHO_N "(cached) $ECHO_C" >&6
  2308 else
  2309   if test -n "$CC"; then
  2310   ac_cv_prog_CC="$CC" # Let the user override the test.
  2311 else
  2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2313 for as_dir in $PATH
  2314 do
  2315   IFS=$as_save_IFS
  2316   test -z "$as_dir" && as_dir=.
  2317   for ac_exec_ext in '' $ac_executable_extensions; do
  2318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2319     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2320     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2321     break 2
  2322   fi
  2323 done
  2324 done
  2325 IFS=$as_save_IFS
  2327 fi
  2328 fi
  2329 CC=$ac_cv_prog_CC
  2330 if test -n "$CC"; then
  2331   { echo "$as_me:$LINENO: result: $CC" >&5
  2332 echo "${ECHO_T}$CC" >&6; }
  2333 else
  2334   { echo "$as_me:$LINENO: result: no" >&5
  2335 echo "${ECHO_T}no" >&6; }
  2336 fi
  2339 fi
  2340 if test -z "$ac_cv_prog_CC"; then
  2341   ac_ct_CC=$CC
  2342   # Extract the first word of "gcc", so it can be a program name with args.
  2343 set dummy gcc; ac_word=$2
  2344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2346 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2347   echo $ECHO_N "(cached) $ECHO_C" >&6
  2348 else
  2349   if test -n "$ac_ct_CC"; then
  2350   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2351 else
  2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2353 for as_dir in $PATH
  2354 do
  2355   IFS=$as_save_IFS
  2356   test -z "$as_dir" && as_dir=.
  2357   for ac_exec_ext in '' $ac_executable_extensions; do
  2358   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2359     ac_cv_prog_ac_ct_CC="gcc"
  2360     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2361     break 2
  2362   fi
  2363 done
  2364 done
  2365 IFS=$as_save_IFS
  2367 fi
  2368 fi
  2369 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2370 if test -n "$ac_ct_CC"; then
  2371   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2372 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2373 else
  2374   { echo "$as_me:$LINENO: result: no" >&5
  2375 echo "${ECHO_T}no" >&6; }
  2376 fi
  2378   if test "x$ac_ct_CC" = x; then
  2379     CC=""
  2380   else
  2381     case $cross_compiling:$ac_tool_warned in
  2382 yes:)
  2383 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2384 whose name does not start with the host triplet.  If you think this
  2385 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2386 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2387 whose name does not start with the host triplet.  If you think this
  2388 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2389 ac_tool_warned=yes ;;
  2390 esac
  2391     CC=$ac_ct_CC
  2392   fi
  2393 else
  2394   CC="$ac_cv_prog_CC"
  2395 fi
  2397 if test -z "$CC"; then
  2398           if test -n "$ac_tool_prefix"; then
  2399     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2400 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2401 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2403 if test "${ac_cv_prog_CC+set}" = set; then
  2404   echo $ECHO_N "(cached) $ECHO_C" >&6
  2405 else
  2406   if test -n "$CC"; then
  2407   ac_cv_prog_CC="$CC" # Let the user override the test.
  2408 else
  2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2410 for as_dir in $PATH
  2411 do
  2412   IFS=$as_save_IFS
  2413   test -z "$as_dir" && as_dir=.
  2414   for ac_exec_ext in '' $ac_executable_extensions; do
  2415   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2416     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2417     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2418     break 2
  2419   fi
  2420 done
  2421 done
  2422 IFS=$as_save_IFS
  2424 fi
  2425 fi
  2426 CC=$ac_cv_prog_CC
  2427 if test -n "$CC"; then
  2428   { echo "$as_me:$LINENO: result: $CC" >&5
  2429 echo "${ECHO_T}$CC" >&6; }
  2430 else
  2431   { echo "$as_me:$LINENO: result: no" >&5
  2432 echo "${ECHO_T}no" >&6; }
  2433 fi
  2436   fi
  2437 fi
  2438 if test -z "$CC"; then
  2439   # Extract the first word of "cc", so it can be a program name with args.
  2440 set dummy cc; ac_word=$2
  2441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2443 if test "${ac_cv_prog_CC+set}" = set; then
  2444   echo $ECHO_N "(cached) $ECHO_C" >&6
  2445 else
  2446   if test -n "$CC"; then
  2447   ac_cv_prog_CC="$CC" # Let the user override the test.
  2448 else
  2449   ac_prog_rejected=no
  2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2451 for as_dir in $PATH
  2452 do
  2453   IFS=$as_save_IFS
  2454   test -z "$as_dir" && as_dir=.
  2455   for ac_exec_ext in '' $ac_executable_extensions; do
  2456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2457     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2458        ac_prog_rejected=yes
  2459        continue
  2460      fi
  2461     ac_cv_prog_CC="cc"
  2462     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2463     break 2
  2464   fi
  2465 done
  2466 done
  2467 IFS=$as_save_IFS
  2469 if test $ac_prog_rejected = yes; then
  2470   # We found a bogon in the path, so make sure we never use it.
  2471   set dummy $ac_cv_prog_CC
  2472   shift
  2473   if test $# != 0; then
  2474     # We chose a different compiler from the bogus one.
  2475     # However, it has the same basename, so the bogon will be chosen
  2476     # first if we set CC to just the basename; use the full file name.
  2477     shift
  2478     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2479   fi
  2480 fi
  2481 fi
  2482 fi
  2483 CC=$ac_cv_prog_CC
  2484 if test -n "$CC"; then
  2485   { echo "$as_me:$LINENO: result: $CC" >&5
  2486 echo "${ECHO_T}$CC" >&6; }
  2487 else
  2488   { echo "$as_me:$LINENO: result: no" >&5
  2489 echo "${ECHO_T}no" >&6; }
  2490 fi
  2493 fi
  2494 if test -z "$CC"; then
  2495   if test -n "$ac_tool_prefix"; then
  2496   for ac_prog in cl.exe
  2497   do
  2498     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2502 if test "${ac_cv_prog_CC+set}" = set; then
  2503   echo $ECHO_N "(cached) $ECHO_C" >&6
  2504 else
  2505   if test -n "$CC"; then
  2506   ac_cv_prog_CC="$CC" # Let the user override the test.
  2507 else
  2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2509 for as_dir in $PATH
  2510 do
  2511   IFS=$as_save_IFS
  2512   test -z "$as_dir" && as_dir=.
  2513   for ac_exec_ext in '' $ac_executable_extensions; do
  2514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2515     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2516     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2517     break 2
  2518   fi
  2519 done
  2520 done
  2521 IFS=$as_save_IFS
  2523 fi
  2524 fi
  2525 CC=$ac_cv_prog_CC
  2526 if test -n "$CC"; then
  2527   { echo "$as_me:$LINENO: result: $CC" >&5
  2528 echo "${ECHO_T}$CC" >&6; }
  2529 else
  2530   { echo "$as_me:$LINENO: result: no" >&5
  2531 echo "${ECHO_T}no" >&6; }
  2532 fi
  2535     test -n "$CC" && break
  2536   done
  2537 fi
  2538 if test -z "$CC"; then
  2539   ac_ct_CC=$CC
  2540   for ac_prog in cl.exe
  2541 do
  2542   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2543 set dummy $ac_prog; ac_word=$2
  2544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2546 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2547   echo $ECHO_N "(cached) $ECHO_C" >&6
  2548 else
  2549   if test -n "$ac_ct_CC"; then
  2550   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2551 else
  2552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2553 for as_dir in $PATH
  2554 do
  2555   IFS=$as_save_IFS
  2556   test -z "$as_dir" && as_dir=.
  2557   for ac_exec_ext in '' $ac_executable_extensions; do
  2558   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2559     ac_cv_prog_ac_ct_CC="$ac_prog"
  2560     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2561     break 2
  2562   fi
  2563 done
  2564 done
  2565 IFS=$as_save_IFS
  2567 fi
  2568 fi
  2569 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2570 if test -n "$ac_ct_CC"; then
  2571   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2572 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2573 else
  2574   { echo "$as_me:$LINENO: result: no" >&5
  2575 echo "${ECHO_T}no" >&6; }
  2576 fi
  2579   test -n "$ac_ct_CC" && break
  2580 done
  2582   if test "x$ac_ct_CC" = x; then
  2583     CC=""
  2584   else
  2585     case $cross_compiling:$ac_tool_warned in
  2586 yes:)
  2587 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2588 whose name does not start with the host triplet.  If you think this
  2589 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2590 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2591 whose name does not start with the host triplet.  If you think this
  2592 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2593 ac_tool_warned=yes ;;
  2594 esac
  2595     CC=$ac_ct_CC
  2596   fi
  2597 fi
  2599 fi
  2602 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2603 See \`config.log' for more details." >&5
  2604 echo "$as_me: error: no acceptable C compiler found in \$PATH
  2605 See \`config.log' for more details." >&2;}
  2606    { (exit 1); exit 1; }; }
  2608 # Provide some information about the compiler.
  2609 echo "$as_me:$LINENO: checking for C compiler version" >&5
  2610 ac_compiler=`set X $ac_compile; echo $2`
  2611 { (ac_try="$ac_compiler --version >&5"
  2612 case "(($ac_try" in
  2613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2614   *) ac_try_echo=$ac_try;;
  2615 esac
  2616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2617   (eval "$ac_compiler --version >&5") 2>&5
  2618   ac_status=$?
  2619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2620   (exit $ac_status); }
  2621 { (ac_try="$ac_compiler -v >&5"
  2622 case "(($ac_try" in
  2623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2624   *) ac_try_echo=$ac_try;;
  2625 esac
  2626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2627   (eval "$ac_compiler -v >&5") 2>&5
  2628   ac_status=$?
  2629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2630   (exit $ac_status); }
  2631 { (ac_try="$ac_compiler -V >&5"
  2632 case "(($ac_try" in
  2633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2634   *) ac_try_echo=$ac_try;;
  2635 esac
  2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2637   (eval "$ac_compiler -V >&5") 2>&5
  2638   ac_status=$?
  2639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2640   (exit $ac_status); }
  2642 cat >conftest.$ac_ext <<_ACEOF
  2643 /* confdefs.h.  */
  2644 _ACEOF
  2645 cat confdefs.h >>conftest.$ac_ext
  2646 cat >>conftest.$ac_ext <<_ACEOF
  2647 /* end confdefs.h.  */
  2649 int
  2650 main ()
  2654   return 0;
  2656 _ACEOF
  2657 ac_clean_files_save=$ac_clean_files
  2658 ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2659 # Try to create an executable without -o first, disregard a.out.
  2660 # It will help us diagnose broken compilers, and finding out an intuition
  2661 # of exeext.
  2662 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2663 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2664 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2666 # List of possible output files, starting from the most likely.
  2667 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2668 # only as a last resort.  b.out is created by i960 compilers.
  2669 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2671 # The IRIX 6 linker writes into existing files which may not be
  2672 # executable, retaining their permissions.  Remove them first so a
  2673 # subsequent execution test works.
  2674 ac_rmfiles=
  2675 for ac_file in $ac_files
  2676 do
  2677   case $ac_file in
  2678     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2679     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2680   esac
  2681 done
  2682 rm -f $ac_rmfiles
  2684 if { (ac_try="$ac_link_default"
  2685 case "(($ac_try" in
  2686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2687   *) ac_try_echo=$ac_try;;
  2688 esac
  2689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2690   (eval "$ac_link_default") 2>&5
  2691   ac_status=$?
  2692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2693   (exit $ac_status); }; then
  2694   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2695 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2696 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2697 # so that the user can short-circuit this test for compilers unknown to
  2698 # Autoconf.
  2699 for ac_file in $ac_files ''
  2700 do
  2701   test -f "$ac_file" || continue
  2702   case $ac_file in
  2703     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2704 	;;
  2705     [ab].out )
  2706 	# We found the default executable, but exeext='' is most
  2707 	# certainly right.
  2708 	break;;
  2709     *.* )
  2710         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2711 	then :; else
  2712 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2713 	fi
  2714 	# We set ac_cv_exeext here because the later test for it is not
  2715 	# safe: cross compilers may not add the suffix if given an `-o'
  2716 	# argument, so we may need to know it at that point already.
  2717 	# Even if this section looks crufty: it has the advantage of
  2718 	# actually working.
  2719 	break;;
  2720     * )
  2721 	break;;
  2722   esac
  2723 done
  2724 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2726 else
  2727   ac_file=''
  2728 fi
  2730 { echo "$as_me:$LINENO: result: $ac_file" >&5
  2731 echo "${ECHO_T}$ac_file" >&6; }
  2732 if test -z "$ac_file"; then
  2733   echo "$as_me: failed program was:" >&5
  2734 sed 's/^/| /' conftest.$ac_ext >&5
  2736 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2737 See \`config.log' for more details." >&5
  2738 echo "$as_me: error: C compiler cannot create executables
  2739 See \`config.log' for more details." >&2;}
  2740    { (exit 77); exit 77; }; }
  2741 fi
  2743 ac_exeext=$ac_cv_exeext
  2745 # Check that the compiler produces executables we can run.  If not, either
  2746 # the compiler is broken, or we cross compile.
  2747 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2748 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  2749 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2750 # If not cross compiling, check that we can run a simple program.
  2751 if test "$cross_compiling" != yes; then
  2752   if { ac_try='./$ac_file'
  2753   { (case "(($ac_try" in
  2754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2755   *) ac_try_echo=$ac_try;;
  2756 esac
  2757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2758   (eval "$ac_try") 2>&5
  2759   ac_status=$?
  2760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2761   (exit $ac_status); }; }; then
  2762     cross_compiling=no
  2763   else
  2764     if test "$cross_compiling" = maybe; then
  2765 	cross_compiling=yes
  2766     else
  2767 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2768 If you meant to cross compile, use \`--host'.
  2769 See \`config.log' for more details." >&5
  2770 echo "$as_me: error: cannot run C compiled programs.
  2771 If you meant to cross compile, use \`--host'.
  2772 See \`config.log' for more details." >&2;}
  2773    { (exit 1); exit 1; }; }
  2774     fi
  2775   fi
  2776 fi
  2777 { echo "$as_me:$LINENO: result: yes" >&5
  2778 echo "${ECHO_T}yes" >&6; }
  2780 rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2781 ac_clean_files=$ac_clean_files_save
  2782 # Check that the compiler produces executables we can run.  If not, either
  2783 # the compiler is broken, or we cross compile.
  2784 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2785 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  2786 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2787 echo "${ECHO_T}$cross_compiling" >&6; }
  2789 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2790 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  2791 if { (ac_try="$ac_link"
  2792 case "(($ac_try" in
  2793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2794   *) ac_try_echo=$ac_try;;
  2795 esac
  2796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2797   (eval "$ac_link") 2>&5
  2798   ac_status=$?
  2799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2800   (exit $ac_status); }; then
  2801   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2802 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2803 # work properly (i.e., refer to `conftest.exe'), while it won't with
  2804 # `rm'.
  2805 for ac_file in conftest.exe conftest conftest.*; do
  2806   test -f "$ac_file" || continue
  2807   case $ac_file in
  2808     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2809     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2810 	  break;;
  2811     * ) break;;
  2812   esac
  2813 done
  2814 else
  2815   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2816 See \`config.log' for more details." >&5
  2817 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2818 See \`config.log' for more details." >&2;}
  2819    { (exit 1); exit 1; }; }
  2820 fi
  2822 rm -f conftest$ac_cv_exeext
  2823 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2824 echo "${ECHO_T}$ac_cv_exeext" >&6; }
  2826 rm -f conftest.$ac_ext
  2827 EXEEXT=$ac_cv_exeext
  2828 ac_exeext=$EXEEXT
  2829 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2830 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  2831 if test "${ac_cv_objext+set}" = set; then
  2832   echo $ECHO_N "(cached) $ECHO_C" >&6
  2833 else
  2834   cat >conftest.$ac_ext <<_ACEOF
  2835 /* confdefs.h.  */
  2836 _ACEOF
  2837 cat confdefs.h >>conftest.$ac_ext
  2838 cat >>conftest.$ac_ext <<_ACEOF
  2839 /* end confdefs.h.  */
  2841 int
  2842 main ()
  2846   return 0;
  2848 _ACEOF
  2849 rm -f conftest.o conftest.obj
  2850 if { (ac_try="$ac_compile"
  2851 case "(($ac_try" in
  2852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2853   *) ac_try_echo=$ac_try;;
  2854 esac
  2855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2856   (eval "$ac_compile") 2>&5
  2857   ac_status=$?
  2858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2859   (exit $ac_status); }; then
  2860   for ac_file in conftest.o conftest.obj conftest.*; do
  2861   test -f "$ac_file" || continue;
  2862   case $ac_file in
  2863     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  2864     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2865        break;;
  2866   esac
  2867 done
  2868 else
  2869   echo "$as_me: failed program was:" >&5
  2870 sed 's/^/| /' conftest.$ac_ext >&5
  2872 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2873 See \`config.log' for more details." >&5
  2874 echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2875 See \`config.log' for more details." >&2;}
  2876    { (exit 1); exit 1; }; }
  2877 fi
  2879 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2880 fi
  2881 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2882 echo "${ECHO_T}$ac_cv_objext" >&6; }
  2883 OBJEXT=$ac_cv_objext
  2884 ac_objext=$OBJEXT
  2885 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2886 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  2887 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2888   echo $ECHO_N "(cached) $ECHO_C" >&6
  2889 else
  2890   cat >conftest.$ac_ext <<_ACEOF
  2891 /* confdefs.h.  */
  2892 _ACEOF
  2893 cat confdefs.h >>conftest.$ac_ext
  2894 cat >>conftest.$ac_ext <<_ACEOF
  2895 /* end confdefs.h.  */
  2897 int
  2898 main ()
  2900 #ifndef __GNUC__
  2901        choke me
  2902 #endif
  2905   return 0;
  2907 _ACEOF
  2908 rm -f conftest.$ac_objext
  2909 if { (ac_try="$ac_compile"
  2910 case "(($ac_try" in
  2911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2912   *) ac_try_echo=$ac_try;;
  2913 esac
  2914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2915   (eval "$ac_compile") 2>conftest.er1
  2916   ac_status=$?
  2917   grep -v '^ *+' conftest.er1 >conftest.err
  2918   rm -f conftest.er1
  2919   cat conftest.err >&5
  2920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2921   (exit $ac_status); } && {
  2922 	 test -z "$ac_c_werror_flag" ||
  2923 	 test ! -s conftest.err
  2924        } && test -s conftest.$ac_objext; then
  2925   ac_compiler_gnu=yes
  2926 else
  2927   echo "$as_me: failed program was:" >&5
  2928 sed 's/^/| /' conftest.$ac_ext >&5
  2930 	ac_compiler_gnu=no
  2931 fi
  2933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2934 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2936 fi
  2937 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2938 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  2939 GCC=`test $ac_compiler_gnu = yes && echo yes`
  2940 ac_test_CFLAGS=${CFLAGS+set}
  2941 ac_save_CFLAGS=$CFLAGS
  2942 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2943 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  2944 if test "${ac_cv_prog_cc_g+set}" = set; then
  2945   echo $ECHO_N "(cached) $ECHO_C" >&6
  2946 else
  2947   ac_save_c_werror_flag=$ac_c_werror_flag
  2948    ac_c_werror_flag=yes
  2949    ac_cv_prog_cc_g=no
  2950    CFLAGS="-g"
  2951    cat >conftest.$ac_ext <<_ACEOF
  2952 /* confdefs.h.  */
  2953 _ACEOF
  2954 cat confdefs.h >>conftest.$ac_ext
  2955 cat >>conftest.$ac_ext <<_ACEOF
  2956 /* end confdefs.h.  */
  2958 int
  2959 main ()
  2963   return 0;
  2965 _ACEOF
  2966 rm -f conftest.$ac_objext
  2967 if { (ac_try="$ac_compile"
  2968 case "(($ac_try" in
  2969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2970   *) ac_try_echo=$ac_try;;
  2971 esac
  2972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2973   (eval "$ac_compile") 2>conftest.er1
  2974   ac_status=$?
  2975   grep -v '^ *+' conftest.er1 >conftest.err
  2976   rm -f conftest.er1
  2977   cat conftest.err >&5
  2978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2979   (exit $ac_status); } && {
  2980 	 test -z "$ac_c_werror_flag" ||
  2981 	 test ! -s conftest.err
  2982        } && test -s conftest.$ac_objext; then
  2983   ac_cv_prog_cc_g=yes
  2984 else
  2985   echo "$as_me: failed program was:" >&5
  2986 sed 's/^/| /' conftest.$ac_ext >&5
  2988 	CFLAGS=""
  2989       cat >conftest.$ac_ext <<_ACEOF
  2990 /* confdefs.h.  */
  2991 _ACEOF
  2992 cat confdefs.h >>conftest.$ac_ext
  2993 cat >>conftest.$ac_ext <<_ACEOF
  2994 /* end confdefs.h.  */
  2996 int
  2997 main ()
  3001   return 0;
  3003 _ACEOF
  3004 rm -f conftest.$ac_objext
  3005 if { (ac_try="$ac_compile"
  3006 case "(($ac_try" in
  3007   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3008   *) ac_try_echo=$ac_try;;
  3009 esac
  3010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3011   (eval "$ac_compile") 2>conftest.er1
  3012   ac_status=$?
  3013   grep -v '^ *+' conftest.er1 >conftest.err
  3014   rm -f conftest.er1
  3015   cat conftest.err >&5
  3016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3017   (exit $ac_status); } && {
  3018 	 test -z "$ac_c_werror_flag" ||
  3019 	 test ! -s conftest.err
  3020        } && test -s conftest.$ac_objext; then
  3022 else
  3023   echo "$as_me: failed program was:" >&5
  3024 sed 's/^/| /' conftest.$ac_ext >&5
  3026 	ac_c_werror_flag=$ac_save_c_werror_flag
  3027 	 CFLAGS="-g"
  3028 	 cat >conftest.$ac_ext <<_ACEOF
  3029 /* confdefs.h.  */
  3030 _ACEOF
  3031 cat confdefs.h >>conftest.$ac_ext
  3032 cat >>conftest.$ac_ext <<_ACEOF
  3033 /* end confdefs.h.  */
  3035 int
  3036 main ()
  3040   return 0;
  3042 _ACEOF
  3043 rm -f conftest.$ac_objext
  3044 if { (ac_try="$ac_compile"
  3045 case "(($ac_try" in
  3046   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3047   *) ac_try_echo=$ac_try;;
  3048 esac
  3049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3050   (eval "$ac_compile") 2>conftest.er1
  3051   ac_status=$?
  3052   grep -v '^ *+' conftest.er1 >conftest.err
  3053   rm -f conftest.er1
  3054   cat conftest.err >&5
  3055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3056   (exit $ac_status); } && {
  3057 	 test -z "$ac_c_werror_flag" ||
  3058 	 test ! -s conftest.err
  3059        } && test -s conftest.$ac_objext; then
  3060   ac_cv_prog_cc_g=yes
  3061 else
  3062   echo "$as_me: failed program was:" >&5
  3063 sed 's/^/| /' conftest.$ac_ext >&5
  3066 fi
  3068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3069 fi
  3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3072 fi
  3074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3075    ac_c_werror_flag=$ac_save_c_werror_flag
  3076 fi
  3077 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3078 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  3079 if test "$ac_test_CFLAGS" = set; then
  3080   CFLAGS=$ac_save_CFLAGS
  3081 elif test $ac_cv_prog_cc_g = yes; then
  3082   if test "$GCC" = yes; then
  3083     CFLAGS="-g -O2"
  3084   else
  3085     CFLAGS="-g"
  3086   fi
  3087 else
  3088   if test "$GCC" = yes; then
  3089     CFLAGS="-O2"
  3090   else
  3091     CFLAGS=
  3092   fi
  3093 fi
  3094 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3095 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3096 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3097   echo $ECHO_N "(cached) $ECHO_C" >&6
  3098 else
  3099   ac_cv_prog_cc_c89=no
  3100 ac_save_CC=$CC
  3101 cat >conftest.$ac_ext <<_ACEOF
  3102 /* confdefs.h.  */
  3103 _ACEOF
  3104 cat confdefs.h >>conftest.$ac_ext
  3105 cat >>conftest.$ac_ext <<_ACEOF
  3106 /* end confdefs.h.  */
  3107 #include <stdarg.h>
  3108 #include <stdio.h>
  3109 #include <sys/types.h>
  3110 #include <sys/stat.h>
  3111 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3112 struct buf { int x; };
  3113 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3114 static char *e (p, i)
  3115      char **p;
  3116      int i;
  3118   return p[i];
  3120 static char *f (char * (*g) (char **, int), char **p, ...)
  3122   char *s;
  3123   va_list v;
  3124   va_start (v,p);
  3125   s = g (p, va_arg (v,int));
  3126   va_end (v);
  3127   return s;
  3130 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3131    function prototypes and stuff, but not '\xHH' hex character constants.
  3132    These don't provoke an error unfortunately, instead are silently treated
  3133    as 'x'.  The following induces an error, until -std is added to get
  3134    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3135    array size at least.  It's necessary to write '\x00'==0 to get something
  3136    that's true only with -std.  */
  3137 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3139 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3140    inside strings and character constants.  */
  3141 #define FOO(x) 'x'
  3142 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3144 int test (int i, double x);
  3145 struct s1 {int (*f) (int a);};
  3146 struct s2 {int (*f) (double a);};
  3147 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3148 int argc;
  3149 char **argv;
  3150 int
  3151 main ()
  3153 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3155   return 0;
  3157 _ACEOF
  3158 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3159 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3160 do
  3161   CC="$ac_save_CC $ac_arg"
  3162   rm -f conftest.$ac_objext
  3163 if { (ac_try="$ac_compile"
  3164 case "(($ac_try" in
  3165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3166   *) ac_try_echo=$ac_try;;
  3167 esac
  3168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3169   (eval "$ac_compile") 2>conftest.er1
  3170   ac_status=$?
  3171   grep -v '^ *+' conftest.er1 >conftest.err
  3172   rm -f conftest.er1
  3173   cat conftest.err >&5
  3174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3175   (exit $ac_status); } && {
  3176 	 test -z "$ac_c_werror_flag" ||
  3177 	 test ! -s conftest.err
  3178        } && test -s conftest.$ac_objext; then
  3179   ac_cv_prog_cc_c89=$ac_arg
  3180 else
  3181   echo "$as_me: failed program was:" >&5
  3182 sed 's/^/| /' conftest.$ac_ext >&5
  3185 fi
  3187 rm -f core conftest.err conftest.$ac_objext
  3188   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3189 done
  3190 rm -f conftest.$ac_ext
  3191 CC=$ac_save_CC
  3193 fi
  3194 # AC_CACHE_VAL
  3195 case "x$ac_cv_prog_cc_c89" in
  3196   x)
  3197     { echo "$as_me:$LINENO: result: none needed" >&5
  3198 echo "${ECHO_T}none needed" >&6; } ;;
  3199   xno)
  3200     { echo "$as_me:$LINENO: result: unsupported" >&5
  3201 echo "${ECHO_T}unsupported" >&6; } ;;
  3202   *)
  3203     CC="$CC $ac_cv_prog_cc_c89"
  3204     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3205 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  3206 esac
  3209 ac_ext=c
  3210 ac_cpp='$CPP $CPPFLAGS'
  3211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3215 depcc="$CC"   am_compiler_list=
  3217 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3218 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  3219 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3220   echo $ECHO_N "(cached) $ECHO_C" >&6
  3221 else
  3222   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3223   # We make a subdir and do the tests there.  Otherwise we can end up
  3224   # making bogus files that we don't know about and never remove.  For
  3225   # instance it was reported that on HP-UX the gcc test will end up
  3226   # making a dummy file named `D' -- because `-MD' means `put the output
  3227   # in D'.
  3228   mkdir conftest.dir
  3229   # Copy depcomp to subdir because otherwise we won't find it if we're
  3230   # using a relative directory.
  3231   cp "$am_depcomp" conftest.dir
  3232   cd conftest.dir
  3233   # We will build objects and dependencies in a subdirectory because
  3234   # it helps to detect inapplicable dependency modes.  For instance
  3235   # both Tru64's cc and ICC support -MD to output dependencies as a
  3236   # side effect of compilation, but ICC will put the dependencies in
  3237   # the current directory while Tru64 will put them in the object
  3238   # directory.
  3239   mkdir sub
  3241   am_cv_CC_dependencies_compiler_type=none
  3242   if test "$am_compiler_list" = ""; then
  3243      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3244   fi
  3245   for depmode in $am_compiler_list; do
  3246     # Setup a source with many dependencies, because some compilers
  3247     # like to wrap large dependency lists on column 80 (with \), and
  3248     # we should not choose a depcomp mode which is confused by this.
  3250     # We need to recreate these files for each test, as the compiler may
  3251     # overwrite some of them when testing with obscure command lines.
  3252     # This happens at least with the AIX C compiler.
  3253     : > sub/conftest.c
  3254     for i in 1 2 3 4 5 6; do
  3255       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3256       : > sub/conftst$i.h
  3257     done
  3258     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3260     case $depmode in
  3261     nosideeffect)
  3262       # after this tag, mechanisms are not by side-effect, so they'll
  3263       # only be used when explicitly requested
  3264       if test "x$enable_dependency_tracking" = xyes; then
  3265 	continue
  3266       else
  3267 	break
  3268       fi
  3269       ;;
  3270     none) break ;;
  3271     esac
  3272     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3273     # mode.  It turns out that the SunPro C++ compiler does not properly
  3274     # handle `-M -o', and we need to detect this.
  3275     if depmode=$depmode \
  3276        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3277        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3278        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3279          >/dev/null 2>conftest.err &&
  3280        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3281        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3282        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3283       # icc doesn't choke on unknown options, it will just issue warnings
  3284       # (even with -Werror).  So we grep stderr for any message
  3285       # that says an option was ignored.
  3286       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
  3287         am_cv_CC_dependencies_compiler_type=$depmode
  3288         break
  3289       fi
  3290     fi
  3291   done
  3293   cd ..
  3294   rm -rf conftest.dir
  3295 else
  3296   am_cv_CC_dependencies_compiler_type=none
  3297 fi
  3299 fi
  3300 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3301 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  3302 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3306 if
  3307   test "x$enable_dependency_tracking" != xno \
  3308   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3309   am__fastdepCC_TRUE=
  3310   am__fastdepCC_FALSE='#'
  3311 else
  3312   am__fastdepCC_TRUE='#'
  3313   am__fastdepCC_FALSE=
  3314 fi
  3318 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
  3319 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
  3320 if test "${ac_cv_search_strerror+set}" = set; then
  3321   echo $ECHO_N "(cached) $ECHO_C" >&6
  3322 else
  3323   ac_func_search_save_LIBS=$LIBS
  3324 cat >conftest.$ac_ext <<_ACEOF
  3325 /* confdefs.h.  */
  3326 _ACEOF
  3327 cat confdefs.h >>conftest.$ac_ext
  3328 cat >>conftest.$ac_ext <<_ACEOF
  3329 /* end confdefs.h.  */
  3331 /* Override any GCC internal prototype to avoid an error.
  3332    Use char because int might match the return type of a GCC
  3333    builtin and then its argument prototype would still apply.  */
  3334 #ifdef __cplusplus
  3335 extern "C"
  3336 #endif
  3337 char strerror ();
  3338 int
  3339 main ()
  3341 return strerror ();
  3343   return 0;
  3345 _ACEOF
  3346 for ac_lib in '' cposix; do
  3347   if test -z "$ac_lib"; then
  3348     ac_res="none required"
  3349   else
  3350     ac_res=-l$ac_lib
  3351     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
  3352   fi
  3353   rm -f conftest.$ac_objext conftest$ac_exeext
  3354 if { (ac_try="$ac_link"
  3355 case "(($ac_try" in
  3356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3357   *) ac_try_echo=$ac_try;;
  3358 esac
  3359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3360   (eval "$ac_link") 2>conftest.er1
  3361   ac_status=$?
  3362   grep -v '^ *+' conftest.er1 >conftest.err
  3363   rm -f conftest.er1
  3364   cat conftest.err >&5
  3365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3366   (exit $ac_status); } && {
  3367 	 test -z "$ac_c_werror_flag" ||
  3368 	 test ! -s conftest.err
  3369        } && test -s conftest$ac_exeext &&
  3370        $as_test_x conftest$ac_exeext; then
  3371   ac_cv_search_strerror=$ac_res
  3372 else
  3373   echo "$as_me: failed program was:" >&5
  3374 sed 's/^/| /' conftest.$ac_ext >&5
  3377 fi
  3379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3380       conftest$ac_exeext
  3381   if test "${ac_cv_search_strerror+set}" = set; then
  3382   break
  3383 fi
  3384 done
  3385 if test "${ac_cv_search_strerror+set}" = set; then
  3387 else
  3388   ac_cv_search_strerror=no
  3389 fi
  3390 rm conftest.$ac_ext
  3391 LIBS=$ac_func_search_save_LIBS
  3392 fi
  3393 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
  3394 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
  3395 ac_res=$ac_cv_search_strerror
  3396 if test "$ac_res" != no; then
  3397   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  3399 fi
  3401 ac_ext=c
  3402 ac_cpp='$CPP $CPPFLAGS'
  3403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3406 if test -n "$ac_tool_prefix"; then
  3407   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3408 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3411 if test "${ac_cv_prog_CC+set}" = set; then
  3412   echo $ECHO_N "(cached) $ECHO_C" >&6
  3413 else
  3414   if test -n "$CC"; then
  3415   ac_cv_prog_CC="$CC" # Let the user override the test.
  3416 else
  3417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3418 for as_dir in $PATH
  3419 do
  3420   IFS=$as_save_IFS
  3421   test -z "$as_dir" && as_dir=.
  3422   for ac_exec_ext in '' $ac_executable_extensions; do
  3423   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3424     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3425     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3426     break 2
  3427   fi
  3428 done
  3429 done
  3430 IFS=$as_save_IFS
  3432 fi
  3433 fi
  3434 CC=$ac_cv_prog_CC
  3435 if test -n "$CC"; then
  3436   { echo "$as_me:$LINENO: result: $CC" >&5
  3437 echo "${ECHO_T}$CC" >&6; }
  3438 else
  3439   { echo "$as_me:$LINENO: result: no" >&5
  3440 echo "${ECHO_T}no" >&6; }
  3441 fi
  3444 fi
  3445 if test -z "$ac_cv_prog_CC"; then
  3446   ac_ct_CC=$CC
  3447   # Extract the first word of "gcc", so it can be a program name with args.
  3448 set dummy gcc; ac_word=$2
  3449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3451 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3452   echo $ECHO_N "(cached) $ECHO_C" >&6
  3453 else
  3454   if test -n "$ac_ct_CC"; then
  3455   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3456 else
  3457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3458 for as_dir in $PATH
  3459 do
  3460   IFS=$as_save_IFS
  3461   test -z "$as_dir" && as_dir=.
  3462   for ac_exec_ext in '' $ac_executable_extensions; do
  3463   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3464     ac_cv_prog_ac_ct_CC="gcc"
  3465     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3466     break 2
  3467   fi
  3468 done
  3469 done
  3470 IFS=$as_save_IFS
  3472 fi
  3473 fi
  3474 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3475 if test -n "$ac_ct_CC"; then
  3476   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3477 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3478 else
  3479   { echo "$as_me:$LINENO: result: no" >&5
  3480 echo "${ECHO_T}no" >&6; }
  3481 fi
  3483   if test "x$ac_ct_CC" = x; then
  3484     CC=""
  3485   else
  3486     case $cross_compiling:$ac_tool_warned in
  3487 yes:)
  3488 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3489 whose name does not start with the host triplet.  If you think this
  3490 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3491 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3492 whose name does not start with the host triplet.  If you think this
  3493 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3494 ac_tool_warned=yes ;;
  3495 esac
  3496     CC=$ac_ct_CC
  3497   fi
  3498 else
  3499   CC="$ac_cv_prog_CC"
  3500 fi
  3502 if test -z "$CC"; then
  3503           if test -n "$ac_tool_prefix"; then
  3504     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3505 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3508 if test "${ac_cv_prog_CC+set}" = set; then
  3509   echo $ECHO_N "(cached) $ECHO_C" >&6
  3510 else
  3511   if test -n "$CC"; then
  3512   ac_cv_prog_CC="$CC" # Let the user override the test.
  3513 else
  3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3515 for as_dir in $PATH
  3516 do
  3517   IFS=$as_save_IFS
  3518   test -z "$as_dir" && as_dir=.
  3519   for ac_exec_ext in '' $ac_executable_extensions; do
  3520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3521     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3522     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3523     break 2
  3524   fi
  3525 done
  3526 done
  3527 IFS=$as_save_IFS
  3529 fi
  3530 fi
  3531 CC=$ac_cv_prog_CC
  3532 if test -n "$CC"; then
  3533   { echo "$as_me:$LINENO: result: $CC" >&5
  3534 echo "${ECHO_T}$CC" >&6; }
  3535 else
  3536   { echo "$as_me:$LINENO: result: no" >&5
  3537 echo "${ECHO_T}no" >&6; }
  3538 fi
  3541   fi
  3542 fi
  3543 if test -z "$CC"; then
  3544   # Extract the first word of "cc", so it can be a program name with args.
  3545 set dummy cc; ac_word=$2
  3546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3548 if test "${ac_cv_prog_CC+set}" = set; then
  3549   echo $ECHO_N "(cached) $ECHO_C" >&6
  3550 else
  3551   if test -n "$CC"; then
  3552   ac_cv_prog_CC="$CC" # Let the user override the test.
  3553 else
  3554   ac_prog_rejected=no
  3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3556 for as_dir in $PATH
  3557 do
  3558   IFS=$as_save_IFS
  3559   test -z "$as_dir" && as_dir=.
  3560   for ac_exec_ext in '' $ac_executable_extensions; do
  3561   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3562     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3563        ac_prog_rejected=yes
  3564        continue
  3565      fi
  3566     ac_cv_prog_CC="cc"
  3567     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3568     break 2
  3569   fi
  3570 done
  3571 done
  3572 IFS=$as_save_IFS
  3574 if test $ac_prog_rejected = yes; then
  3575   # We found a bogon in the path, so make sure we never use it.
  3576   set dummy $ac_cv_prog_CC
  3577   shift
  3578   if test $# != 0; then
  3579     # We chose a different compiler from the bogus one.
  3580     # However, it has the same basename, so the bogon will be chosen
  3581     # first if we set CC to just the basename; use the full file name.
  3582     shift
  3583     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3584   fi
  3585 fi
  3586 fi
  3587 fi
  3588 CC=$ac_cv_prog_CC
  3589 if test -n "$CC"; then
  3590   { echo "$as_me:$LINENO: result: $CC" >&5
  3591 echo "${ECHO_T}$CC" >&6; }
  3592 else
  3593   { echo "$as_me:$LINENO: result: no" >&5
  3594 echo "${ECHO_T}no" >&6; }
  3595 fi
  3598 fi
  3599 if test -z "$CC"; then
  3600   if test -n "$ac_tool_prefix"; then
  3601   for ac_prog in cl.exe
  3602   do
  3603     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3604 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3607 if test "${ac_cv_prog_CC+set}" = set; then
  3608   echo $ECHO_N "(cached) $ECHO_C" >&6
  3609 else
  3610   if test -n "$CC"; then
  3611   ac_cv_prog_CC="$CC" # Let the user override the test.
  3612 else
  3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3614 for as_dir in $PATH
  3615 do
  3616   IFS=$as_save_IFS
  3617   test -z "$as_dir" && as_dir=.
  3618   for ac_exec_ext in '' $ac_executable_extensions; do
  3619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3620     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3621     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3622     break 2
  3623   fi
  3624 done
  3625 done
  3626 IFS=$as_save_IFS
  3628 fi
  3629 fi
  3630 CC=$ac_cv_prog_CC
  3631 if test -n "$CC"; then
  3632   { echo "$as_me:$LINENO: result: $CC" >&5
  3633 echo "${ECHO_T}$CC" >&6; }
  3634 else
  3635   { echo "$as_me:$LINENO: result: no" >&5
  3636 echo "${ECHO_T}no" >&6; }
  3637 fi
  3640     test -n "$CC" && break
  3641   done
  3642 fi
  3643 if test -z "$CC"; then
  3644   ac_ct_CC=$CC
  3645   for ac_prog in cl.exe
  3646 do
  3647   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3648 set dummy $ac_prog; ac_word=$2
  3649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3652   echo $ECHO_N "(cached) $ECHO_C" >&6
  3653 else
  3654   if test -n "$ac_ct_CC"; then
  3655   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3656 else
  3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3658 for as_dir in $PATH
  3659 do
  3660   IFS=$as_save_IFS
  3661   test -z "$as_dir" && as_dir=.
  3662   for ac_exec_ext in '' $ac_executable_extensions; do
  3663   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3664     ac_cv_prog_ac_ct_CC="$ac_prog"
  3665     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3666     break 2
  3667   fi
  3668 done
  3669 done
  3670 IFS=$as_save_IFS
  3672 fi
  3673 fi
  3674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3675 if test -n "$ac_ct_CC"; then
  3676   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3677 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3678 else
  3679   { echo "$as_me:$LINENO: result: no" >&5
  3680 echo "${ECHO_T}no" >&6; }
  3681 fi
  3684   test -n "$ac_ct_CC" && break
  3685 done
  3687   if test "x$ac_ct_CC" = x; then
  3688     CC=""
  3689   else
  3690     case $cross_compiling:$ac_tool_warned in
  3691 yes:)
  3692 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3693 whose name does not start with the host triplet.  If you think this
  3694 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3695 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3696 whose name does not start with the host triplet.  If you think this
  3697 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3698 ac_tool_warned=yes ;;
  3699 esac
  3700     CC=$ac_ct_CC
  3701   fi
  3702 fi
  3704 fi
  3707 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3708 See \`config.log' for more details." >&5
  3709 echo "$as_me: error: no acceptable C compiler found in \$PATH
  3710 See \`config.log' for more details." >&2;}
  3711    { (exit 1); exit 1; }; }
  3713 # Provide some information about the compiler.
  3714 echo "$as_me:$LINENO: checking for C compiler version" >&5
  3715 ac_compiler=`set X $ac_compile; echo $2`
  3716 { (ac_try="$ac_compiler --version >&5"
  3717 case "(($ac_try" in
  3718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3719   *) ac_try_echo=$ac_try;;
  3720 esac
  3721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3722   (eval "$ac_compiler --version >&5") 2>&5
  3723   ac_status=$?
  3724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3725   (exit $ac_status); }
  3726 { (ac_try="$ac_compiler -v >&5"
  3727 case "(($ac_try" in
  3728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3729   *) ac_try_echo=$ac_try;;
  3730 esac
  3731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3732   (eval "$ac_compiler -v >&5") 2>&5
  3733   ac_status=$?
  3734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3735   (exit $ac_status); }
  3736 { (ac_try="$ac_compiler -V >&5"
  3737 case "(($ac_try" in
  3738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3739   *) ac_try_echo=$ac_try;;
  3740 esac
  3741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3742   (eval "$ac_compiler -V >&5") 2>&5
  3743   ac_status=$?
  3744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3745   (exit $ac_status); }
  3747 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3748 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  3749 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3750   echo $ECHO_N "(cached) $ECHO_C" >&6
  3751 else
  3752   cat >conftest.$ac_ext <<_ACEOF
  3753 /* confdefs.h.  */
  3754 _ACEOF
  3755 cat confdefs.h >>conftest.$ac_ext
  3756 cat >>conftest.$ac_ext <<_ACEOF
  3757 /* end confdefs.h.  */
  3759 int
  3760 main ()
  3762 #ifndef __GNUC__
  3763        choke me
  3764 #endif
  3767   return 0;
  3769 _ACEOF
  3770 rm -f conftest.$ac_objext
  3771 if { (ac_try="$ac_compile"
  3772 case "(($ac_try" in
  3773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3774   *) ac_try_echo=$ac_try;;
  3775 esac
  3776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3777   (eval "$ac_compile") 2>conftest.er1
  3778   ac_status=$?
  3779   grep -v '^ *+' conftest.er1 >conftest.err
  3780   rm -f conftest.er1
  3781   cat conftest.err >&5
  3782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3783   (exit $ac_status); } && {
  3784 	 test -z "$ac_c_werror_flag" ||
  3785 	 test ! -s conftest.err
  3786        } && test -s conftest.$ac_objext; then
  3787   ac_compiler_gnu=yes
  3788 else
  3789   echo "$as_me: failed program was:" >&5
  3790 sed 's/^/| /' conftest.$ac_ext >&5
  3792 	ac_compiler_gnu=no
  3793 fi
  3795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3796 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3798 fi
  3799 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3800 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  3801 GCC=`test $ac_compiler_gnu = yes && echo yes`
  3802 ac_test_CFLAGS=${CFLAGS+set}
  3803 ac_save_CFLAGS=$CFLAGS
  3804 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3805 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  3806 if test "${ac_cv_prog_cc_g+set}" = set; then
  3807   echo $ECHO_N "(cached) $ECHO_C" >&6
  3808 else
  3809   ac_save_c_werror_flag=$ac_c_werror_flag
  3810    ac_c_werror_flag=yes
  3811    ac_cv_prog_cc_g=no
  3812    CFLAGS="-g"
  3813    cat >conftest.$ac_ext <<_ACEOF
  3814 /* confdefs.h.  */
  3815 _ACEOF
  3816 cat confdefs.h >>conftest.$ac_ext
  3817 cat >>conftest.$ac_ext <<_ACEOF
  3818 /* end confdefs.h.  */
  3820 int
  3821 main ()
  3825   return 0;
  3827 _ACEOF
  3828 rm -f conftest.$ac_objext
  3829 if { (ac_try="$ac_compile"
  3830 case "(($ac_try" in
  3831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3832   *) ac_try_echo=$ac_try;;
  3833 esac
  3834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3835   (eval "$ac_compile") 2>conftest.er1
  3836   ac_status=$?
  3837   grep -v '^ *+' conftest.er1 >conftest.err
  3838   rm -f conftest.er1
  3839   cat conftest.err >&5
  3840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3841   (exit $ac_status); } && {
  3842 	 test -z "$ac_c_werror_flag" ||
  3843 	 test ! -s conftest.err
  3844        } && test -s conftest.$ac_objext; then
  3845   ac_cv_prog_cc_g=yes
  3846 else
  3847   echo "$as_me: failed program was:" >&5
  3848 sed 's/^/| /' conftest.$ac_ext >&5
  3850 	CFLAGS=""
  3851       cat >conftest.$ac_ext <<_ACEOF
  3852 /* confdefs.h.  */
  3853 _ACEOF
  3854 cat confdefs.h >>conftest.$ac_ext
  3855 cat >>conftest.$ac_ext <<_ACEOF
  3856 /* end confdefs.h.  */
  3858 int
  3859 main ()
  3863   return 0;
  3865 _ACEOF
  3866 rm -f conftest.$ac_objext
  3867 if { (ac_try="$ac_compile"
  3868 case "(($ac_try" in
  3869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3870   *) ac_try_echo=$ac_try;;
  3871 esac
  3872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3873   (eval "$ac_compile") 2>conftest.er1
  3874   ac_status=$?
  3875   grep -v '^ *+' conftest.er1 >conftest.err
  3876   rm -f conftest.er1
  3877   cat conftest.err >&5
  3878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3879   (exit $ac_status); } && {
  3880 	 test -z "$ac_c_werror_flag" ||
  3881 	 test ! -s conftest.err
  3882        } && test -s conftest.$ac_objext; then
  3884 else
  3885   echo "$as_me: failed program was:" >&5
  3886 sed 's/^/| /' conftest.$ac_ext >&5
  3888 	ac_c_werror_flag=$ac_save_c_werror_flag
  3889 	 CFLAGS="-g"
  3890 	 cat >conftest.$ac_ext <<_ACEOF
  3891 /* confdefs.h.  */
  3892 _ACEOF
  3893 cat confdefs.h >>conftest.$ac_ext
  3894 cat >>conftest.$ac_ext <<_ACEOF
  3895 /* end confdefs.h.  */
  3897 int
  3898 main ()
  3902   return 0;
  3904 _ACEOF
  3905 rm -f conftest.$ac_objext
  3906 if { (ac_try="$ac_compile"
  3907 case "(($ac_try" in
  3908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3909   *) ac_try_echo=$ac_try;;
  3910 esac
  3911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3912   (eval "$ac_compile") 2>conftest.er1
  3913   ac_status=$?
  3914   grep -v '^ *+' conftest.er1 >conftest.err
  3915   rm -f conftest.er1
  3916   cat conftest.err >&5
  3917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3918   (exit $ac_status); } && {
  3919 	 test -z "$ac_c_werror_flag" ||
  3920 	 test ! -s conftest.err
  3921        } && test -s conftest.$ac_objext; then
  3922   ac_cv_prog_cc_g=yes
  3923 else
  3924   echo "$as_me: failed program was:" >&5
  3925 sed 's/^/| /' conftest.$ac_ext >&5
  3928 fi
  3930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3931 fi
  3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3934 fi
  3936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3937    ac_c_werror_flag=$ac_save_c_werror_flag
  3938 fi
  3939 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3940 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  3941 if test "$ac_test_CFLAGS" = set; then
  3942   CFLAGS=$ac_save_CFLAGS
  3943 elif test $ac_cv_prog_cc_g = yes; then
  3944   if test "$GCC" = yes; then
  3945     CFLAGS="-g -O2"
  3946   else
  3947     CFLAGS="-g"
  3948   fi
  3949 else
  3950   if test "$GCC" = yes; then
  3951     CFLAGS="-O2"
  3952   else
  3953     CFLAGS=
  3954   fi
  3955 fi
  3956 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3957 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3958 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3959   echo $ECHO_N "(cached) $ECHO_C" >&6
  3960 else
  3961   ac_cv_prog_cc_c89=no
  3962 ac_save_CC=$CC
  3963 cat >conftest.$ac_ext <<_ACEOF
  3964 /* confdefs.h.  */
  3965 _ACEOF
  3966 cat confdefs.h >>conftest.$ac_ext
  3967 cat >>conftest.$ac_ext <<_ACEOF
  3968 /* end confdefs.h.  */
  3969 #include <stdarg.h>
  3970 #include <stdio.h>
  3971 #include <sys/types.h>
  3972 #include <sys/stat.h>
  3973 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3974 struct buf { int x; };
  3975 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3976 static char *e (p, i)
  3977      char **p;
  3978      int i;
  3980   return p[i];
  3982 static char *f (char * (*g) (char **, int), char **p, ...)
  3984   char *s;
  3985   va_list v;
  3986   va_start (v,p);
  3987   s = g (p, va_arg (v,int));
  3988   va_end (v);
  3989   return s;
  3992 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3993    function prototypes and stuff, but not '\xHH' hex character constants.
  3994    These don't provoke an error unfortunately, instead are silently treated
  3995    as 'x'.  The following induces an error, until -std is added to get
  3996    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3997    array size at least.  It's necessary to write '\x00'==0 to get something
  3998    that's true only with -std.  */
  3999 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4001 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4002    inside strings and character constants.  */
  4003 #define FOO(x) 'x'
  4004 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4006 int test (int i, double x);
  4007 struct s1 {int (*f) (int a);};
  4008 struct s2 {int (*f) (double a);};
  4009 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4010 int argc;
  4011 char **argv;
  4012 int
  4013 main ()
  4015 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4017   return 0;
  4019 _ACEOF
  4020 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4021 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4022 do
  4023   CC="$ac_save_CC $ac_arg"
  4024   rm -f conftest.$ac_objext
  4025 if { (ac_try="$ac_compile"
  4026 case "(($ac_try" in
  4027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4028   *) ac_try_echo=$ac_try;;
  4029 esac
  4030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4031   (eval "$ac_compile") 2>conftest.er1
  4032   ac_status=$?
  4033   grep -v '^ *+' conftest.er1 >conftest.err
  4034   rm -f conftest.er1
  4035   cat conftest.err >&5
  4036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4037   (exit $ac_status); } && {
  4038 	 test -z "$ac_c_werror_flag" ||
  4039 	 test ! -s conftest.err
  4040        } && test -s conftest.$ac_objext; then
  4041   ac_cv_prog_cc_c89=$ac_arg
  4042 else
  4043   echo "$as_me: failed program was:" >&5
  4044 sed 's/^/| /' conftest.$ac_ext >&5
  4047 fi
  4049 rm -f core conftest.err conftest.$ac_objext
  4050   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4051 done
  4052 rm -f conftest.$ac_ext
  4053 CC=$ac_save_CC
  4055 fi
  4056 # AC_CACHE_VAL
  4057 case "x$ac_cv_prog_cc_c89" in
  4058   x)
  4059     { echo "$as_me:$LINENO: result: none needed" >&5
  4060 echo "${ECHO_T}none needed" >&6; } ;;
  4061   xno)
  4062     { echo "$as_me:$LINENO: result: unsupported" >&5
  4063 echo "${ECHO_T}unsupported" >&6; } ;;
  4064   *)
  4065     CC="$CC $ac_cv_prog_cc_c89"
  4066     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4067 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  4068 esac
  4071 ac_ext=c
  4072 ac_cpp='$CPP $CPPFLAGS'
  4073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4077 depcc="$CC"   am_compiler_list=
  4079 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4080 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  4081 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4082   echo $ECHO_N "(cached) $ECHO_C" >&6
  4083 else
  4084   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4085   # We make a subdir and do the tests there.  Otherwise we can end up
  4086   # making bogus files that we don't know about and never remove.  For
  4087   # instance it was reported that on HP-UX the gcc test will end up
  4088   # making a dummy file named `D' -- because `-MD' means `put the output
  4089   # in D'.
  4090   mkdir conftest.dir
  4091   # Copy depcomp to subdir because otherwise we won't find it if we're
  4092   # using a relative directory.
  4093   cp "$am_depcomp" conftest.dir
  4094   cd conftest.dir
  4095   # We will build objects and dependencies in a subdirectory because
  4096   # it helps to detect inapplicable dependency modes.  For instance
  4097   # both Tru64's cc and ICC support -MD to output dependencies as a
  4098   # side effect of compilation, but ICC will put the dependencies in
  4099   # the current directory while Tru64 will put them in the object
  4100   # directory.
  4101   mkdir sub
  4103   am_cv_CC_dependencies_compiler_type=none
  4104   if test "$am_compiler_list" = ""; then
  4105      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4106   fi
  4107   for depmode in $am_compiler_list; do
  4108     # Setup a source with many dependencies, because some compilers
  4109     # like to wrap large dependency lists on column 80 (with \), and
  4110     # we should not choose a depcomp mode which is confused by this.
  4112     # We need to recreate these files for each test, as the compiler may
  4113     # overwrite some of them when testing with obscure command lines.
  4114     # This happens at least with the AIX C compiler.
  4115     : > sub/conftest.c
  4116     for i in 1 2 3 4 5 6; do
  4117       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4118       : > sub/conftst$i.h
  4119     done
  4120     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4122     case $depmode in
  4123     nosideeffect)
  4124       # after this tag, mechanisms are not by side-effect, so they'll
  4125       # only be used when explicitly requested
  4126       if test "x$enable_dependency_tracking" = xyes; then
  4127 	continue
  4128       else
  4129 	break
  4130       fi
  4131       ;;
  4132     none) break ;;
  4133     esac
  4134     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4135     # mode.  It turns out that the SunPro C++ compiler does not properly
  4136     # handle `-M -o', and we need to detect this.
  4137     if depmode=$depmode \
  4138        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4139        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4140        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4141          >/dev/null 2>conftest.err &&
  4142        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4143        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4144        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4145       # icc doesn't choke on unknown options, it will just issue warnings
  4146       # (even with -Werror).  So we grep stderr for any message
  4147       # that says an option was ignored.
  4148       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
  4149         am_cv_CC_dependencies_compiler_type=$depmode
  4150         break
  4151       fi
  4152     fi
  4153   done
  4155   cd ..
  4156   rm -rf conftest.dir
  4157 else
  4158   am_cv_CC_dependencies_compiler_type=none
  4159 fi
  4161 fi
  4162 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4163 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  4164 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4168 if
  4169   test "x$enable_dependency_tracking" != xno \
  4170   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4171   am__fastdepCC_TRUE=
  4172   am__fastdepCC_FALSE='#'
  4173 else
  4174   am__fastdepCC_TRUE='#'
  4175   am__fastdepCC_FALSE=
  4176 fi
  4182 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
  4183 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
  4184 if test "${am_cv_prog_cc_stdc+set}" = set; then
  4185   echo $ECHO_N "(cached) $ECHO_C" >&6
  4186 else
  4187   am_cv_prog_cc_stdc=no
  4188 ac_save_CC="$CC"
  4189 # Don't try gcc -ansi; that turns off useful extensions and
  4190 # breaks some systems' header files.
  4191 # AIX			-qlanglvl=ansi
  4192 # Ultrix and OSF/1	-std1
  4193 # HP-UX 10.20 and later	-Ae
  4194 # HP-UX older versions	-Aa -D_HPUX_SOURCE
  4195 # SVR4			-Xc -D__EXTENSIONS__
  4196 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4197 do
  4198   CC="$ac_save_CC $ac_arg"
  4199   cat >conftest.$ac_ext <<_ACEOF
  4200 /* confdefs.h.  */
  4201 _ACEOF
  4202 cat confdefs.h >>conftest.$ac_ext
  4203 cat >>conftest.$ac_ext <<_ACEOF
  4204 /* end confdefs.h.  */
  4205 #include <stdarg.h>
  4206 #include <stdio.h>
  4207 #include <sys/types.h>
  4208 #include <sys/stat.h>
  4209 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4210 struct buf { int x; };
  4211 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4212 static char *e (p, i)
  4213      char **p;
  4214      int i;
  4216   return p[i];
  4218 static char *f (char * (*g) (char **, int), char **p, ...)
  4220   char *s;
  4221   va_list v;
  4222   va_start (v,p);
  4223   s = g (p, va_arg (v,int));
  4224   va_end (v);
  4225   return s;
  4227 int test (int i, double x);
  4228 struct s1 {int (*f) (int a);};
  4229 struct s2 {int (*f) (double a);};
  4230 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4231 int argc;
  4232 char **argv;
  4234 int
  4235 main ()
  4238 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4241   return 0;
  4243 _ACEOF
  4244 rm -f conftest.$ac_objext
  4245 if { (ac_try="$ac_compile"
  4246 case "(($ac_try" in
  4247   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4248   *) ac_try_echo=$ac_try;;
  4249 esac
  4250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4251   (eval "$ac_compile") 2>conftest.er1
  4252   ac_status=$?
  4253   grep -v '^ *+' conftest.er1 >conftest.err
  4254   rm -f conftest.er1
  4255   cat conftest.err >&5
  4256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4257   (exit $ac_status); } && {
  4258 	 test -z "$ac_c_werror_flag" ||
  4259 	 test ! -s conftest.err
  4260        } && test -s conftest.$ac_objext; then
  4261   am_cv_prog_cc_stdc="$ac_arg"; break
  4262 else
  4263   echo "$as_me: failed program was:" >&5
  4264 sed 's/^/| /' conftest.$ac_ext >&5
  4267 fi
  4269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4270 done
  4271 CC="$ac_save_CC"
  4273 fi
  4275 if test -z "$am_cv_prog_cc_stdc"; then
  4276   { echo "$as_me:$LINENO: result: none needed" >&5
  4277 echo "${ECHO_T}none needed" >&6; }
  4278 else
  4279   { echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
  4280 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6; }
  4281 fi
  4282 case "x$am_cv_prog_cc_stdc" in
  4283   x|xno) ;;
  4284   *) CC="$CC $am_cv_prog_cc_stdc" ;;
  4285 esac
  4287 ac_ext=c
  4288 ac_cpp='$CPP $CPPFLAGS'
  4289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4292 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  4293 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  4294 # On Suns, sometimes $CPP names a directory.
  4295 if test -n "$CPP" && test -d "$CPP"; then
  4296   CPP=
  4297 fi
  4298 if test -z "$CPP"; then
  4299   if test "${ac_cv_prog_CPP+set}" = set; then
  4300   echo $ECHO_N "(cached) $ECHO_C" >&6
  4301 else
  4302       # Double quotes because CPP needs to be expanded
  4303     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  4304     do
  4305       ac_preproc_ok=false
  4306 for ac_c_preproc_warn_flag in '' yes
  4307 do
  4308   # Use a header file that comes with gcc, so configuring glibc
  4309   # with a fresh cross-compiler works.
  4310   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4311   # <limits.h> exists even on freestanding compilers.
  4312   # On the NeXT, cc -E runs the code through the compiler's parser,
  4313   # not just through cpp. "Syntax error" is here to catch this case.
  4314   cat >conftest.$ac_ext <<_ACEOF
  4315 /* confdefs.h.  */
  4316 _ACEOF
  4317 cat confdefs.h >>conftest.$ac_ext
  4318 cat >>conftest.$ac_ext <<_ACEOF
  4319 /* end confdefs.h.  */
  4320 #ifdef __STDC__
  4321 # include <limits.h>
  4322 #else
  4323 # include <assert.h>
  4324 #endif
  4325 		     Syntax error
  4326 _ACEOF
  4327 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4328 case "(($ac_try" in
  4329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4330   *) ac_try_echo=$ac_try;;
  4331 esac
  4332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4333   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4334   ac_status=$?
  4335   grep -v '^ *+' conftest.er1 >conftest.err
  4336   rm -f conftest.er1
  4337   cat conftest.err >&5
  4338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4339   (exit $ac_status); } >/dev/null && {
  4340 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4341 	 test ! -s conftest.err
  4342        }; then
  4344 else
  4345   echo "$as_me: failed program was:" >&5
  4346 sed 's/^/| /' conftest.$ac_ext >&5
  4348   # Broken: fails on valid input.
  4349 continue
  4350 fi
  4352 rm -f conftest.err conftest.$ac_ext
  4354   # OK, works on sane cases.  Now check whether nonexistent headers
  4355   # can be detected and how.
  4356   cat >conftest.$ac_ext <<_ACEOF
  4357 /* confdefs.h.  */
  4358 _ACEOF
  4359 cat confdefs.h >>conftest.$ac_ext
  4360 cat >>conftest.$ac_ext <<_ACEOF
  4361 /* end confdefs.h.  */
  4362 #include <ac_nonexistent.h>
  4363 _ACEOF
  4364 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4365 case "(($ac_try" in
  4366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4367   *) ac_try_echo=$ac_try;;
  4368 esac
  4369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4370   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4371   ac_status=$?
  4372   grep -v '^ *+' conftest.er1 >conftest.err
  4373   rm -f conftest.er1
  4374   cat conftest.err >&5
  4375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4376   (exit $ac_status); } >/dev/null && {
  4377 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4378 	 test ! -s conftest.err
  4379        }; then
  4380   # Broken: success on invalid input.
  4381 continue
  4382 else
  4383   echo "$as_me: failed program was:" >&5
  4384 sed 's/^/| /' conftest.$ac_ext >&5
  4386   # Passes both tests.
  4387 ac_preproc_ok=:
  4388 break
  4389 fi
  4391 rm -f conftest.err conftest.$ac_ext
  4393 done
  4394 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4395 rm -f conftest.err conftest.$ac_ext
  4396 if $ac_preproc_ok; then
  4397   break
  4398 fi
  4400     done
  4401     ac_cv_prog_CPP=$CPP
  4403 fi
  4404   CPP=$ac_cv_prog_CPP
  4405 else
  4406   ac_cv_prog_CPP=$CPP
  4407 fi
  4408 { echo "$as_me:$LINENO: result: $CPP" >&5
  4409 echo "${ECHO_T}$CPP" >&6; }
  4410 ac_preproc_ok=false
  4411 for ac_c_preproc_warn_flag in '' yes
  4412 do
  4413   # Use a header file that comes with gcc, so configuring glibc
  4414   # with a fresh cross-compiler works.
  4415   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4416   # <limits.h> exists even on freestanding compilers.
  4417   # On the NeXT, cc -E runs the code through the compiler's parser,
  4418   # not just through cpp. "Syntax error" is here to catch this case.
  4419   cat >conftest.$ac_ext <<_ACEOF
  4420 /* confdefs.h.  */
  4421 _ACEOF
  4422 cat confdefs.h >>conftest.$ac_ext
  4423 cat >>conftest.$ac_ext <<_ACEOF
  4424 /* end confdefs.h.  */
  4425 #ifdef __STDC__
  4426 # include <limits.h>
  4427 #else
  4428 # include <assert.h>
  4429 #endif
  4430 		     Syntax error
  4431 _ACEOF
  4432 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4433 case "(($ac_try" in
  4434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4435   *) ac_try_echo=$ac_try;;
  4436 esac
  4437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4438   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4439   ac_status=$?
  4440   grep -v '^ *+' conftest.er1 >conftest.err
  4441   rm -f conftest.er1
  4442   cat conftest.err >&5
  4443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4444   (exit $ac_status); } >/dev/null && {
  4445 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4446 	 test ! -s conftest.err
  4447        }; then
  4449 else
  4450   echo "$as_me: failed program was:" >&5
  4451 sed 's/^/| /' conftest.$ac_ext >&5
  4453   # Broken: fails on valid input.
  4454 continue
  4455 fi
  4457 rm -f conftest.err conftest.$ac_ext
  4459   # OK, works on sane cases.  Now check whether nonexistent headers
  4460   # can be detected and how.
  4461   cat >conftest.$ac_ext <<_ACEOF
  4462 /* confdefs.h.  */
  4463 _ACEOF
  4464 cat confdefs.h >>conftest.$ac_ext
  4465 cat >>conftest.$ac_ext <<_ACEOF
  4466 /* end confdefs.h.  */
  4467 #include <ac_nonexistent.h>
  4468 _ACEOF
  4469 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4470 case "(($ac_try" in
  4471   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4472   *) ac_try_echo=$ac_try;;
  4473 esac
  4474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4475   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4476   ac_status=$?
  4477   grep -v '^ *+' conftest.er1 >conftest.err
  4478   rm -f conftest.er1
  4479   cat conftest.err >&5
  4480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4481   (exit $ac_status); } >/dev/null && {
  4482 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4483 	 test ! -s conftest.err
  4484        }; then
  4485   # Broken: success on invalid input.
  4486 continue
  4487 else
  4488   echo "$as_me: failed program was:" >&5
  4489 sed 's/^/| /' conftest.$ac_ext >&5
  4491   # Passes both tests.
  4492 ac_preproc_ok=:
  4493 break
  4494 fi
  4496 rm -f conftest.err conftest.$ac_ext
  4498 done
  4499 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4500 rm -f conftest.err conftest.$ac_ext
  4501 if $ac_preproc_ok; then
  4503 else
  4504   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  4505 See \`config.log' for more details." >&5
  4506 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  4507 See \`config.log' for more details." >&2;}
  4508    { (exit 1); exit 1; }; }
  4509 fi
  4511 ac_ext=c
  4512 ac_cpp='$CPP $CPPFLAGS'
  4513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4518 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  4519 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  4520 if test "${ac_cv_path_GREP+set}" = set; then
  4521   echo $ECHO_N "(cached) $ECHO_C" >&6
  4522 else
  4523   # Extract the first word of "grep ggrep" to use in msg output
  4524 if test -z "$GREP"; then
  4525 set dummy grep ggrep; ac_prog_name=$2
  4526 if test "${ac_cv_path_GREP+set}" = set; then
  4527   echo $ECHO_N "(cached) $ECHO_C" >&6
  4528 else
  4529   ac_path_GREP_found=false
  4530 # Loop through the user's path and test for each of PROGNAME-LIST
  4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4532 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4533 do
  4534   IFS=$as_save_IFS
  4535   test -z "$as_dir" && as_dir=.
  4536   for ac_prog in grep ggrep; do
  4537   for ac_exec_ext in '' $ac_executable_extensions; do
  4538     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4539     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  4540     # Check for GNU ac_path_GREP and select it if it is found.
  4541   # Check for GNU $ac_path_GREP
  4542 case `"$ac_path_GREP" --version 2>&1` in
  4543 *GNU*)
  4544   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4545 *)
  4546   ac_count=0
  4547   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  4548   while :
  4549   do
  4550     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4551     mv "conftest.tmp" "conftest.in"
  4552     cp "conftest.in" "conftest.nl"
  4553     echo 'GREP' >> "conftest.nl"
  4554     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4555     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4556     ac_count=`expr $ac_count + 1`
  4557     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4558       # Best one so far, save it but keep looking for a better one
  4559       ac_cv_path_GREP="$ac_path_GREP"
  4560       ac_path_GREP_max=$ac_count
  4561     fi
  4562     # 10*(2^10) chars as input seems more than enough
  4563     test $ac_count -gt 10 && break
  4564   done
  4565   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4566 esac
  4569     $ac_path_GREP_found && break 3
  4570   done
  4571 done
  4573 done
  4574 IFS=$as_save_IFS
  4577 fi
  4579 GREP="$ac_cv_path_GREP"
  4580 if test -z "$GREP"; then
  4581   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4582 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4583    { (exit 1); exit 1; }; }
  4584 fi
  4586 else
  4587   ac_cv_path_GREP=$GREP
  4588 fi
  4591 fi
  4592 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  4593 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  4594  GREP="$ac_cv_path_GREP"
  4597 { echo "$as_me:$LINENO: checking for egrep" >&5
  4598 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  4599 if test "${ac_cv_path_EGREP+set}" = set; then
  4600   echo $ECHO_N "(cached) $ECHO_C" >&6
  4601 else
  4602   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4603    then ac_cv_path_EGREP="$GREP -E"
  4604    else
  4605      # Extract the first word of "egrep" to use in msg output
  4606 if test -z "$EGREP"; then
  4607 set dummy egrep; ac_prog_name=$2
  4608 if test "${ac_cv_path_EGREP+set}" = set; then
  4609   echo $ECHO_N "(cached) $ECHO_C" >&6
  4610 else
  4611   ac_path_EGREP_found=false
  4612 # Loop through the user's path and test for each of PROGNAME-LIST
  4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4614 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4615 do
  4616   IFS=$as_save_IFS
  4617   test -z "$as_dir" && as_dir=.
  4618   for ac_prog in egrep; do
  4619   for ac_exec_ext in '' $ac_executable_extensions; do
  4620     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4621     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  4622     # Check for GNU ac_path_EGREP and select it if it is found.
  4623   # Check for GNU $ac_path_EGREP
  4624 case `"$ac_path_EGREP" --version 2>&1` in
  4625 *GNU*)
  4626   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4627 *)
  4628   ac_count=0
  4629   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  4630   while :
  4631   do
  4632     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4633     mv "conftest.tmp" "conftest.in"
  4634     cp "conftest.in" "conftest.nl"
  4635     echo 'EGREP' >> "conftest.nl"
  4636     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4637     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4638     ac_count=`expr $ac_count + 1`
  4639     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4640       # Best one so far, save it but keep looking for a better one
  4641       ac_cv_path_EGREP="$ac_path_EGREP"
  4642       ac_path_EGREP_max=$ac_count
  4643     fi
  4644     # 10*(2^10) chars as input seems more than enough
  4645     test $ac_count -gt 10 && break
  4646   done
  4647   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4648 esac
  4651     $ac_path_EGREP_found && break 3
  4652   done
  4653 done
  4655 done
  4656 IFS=$as_save_IFS
  4659 fi
  4661 EGREP="$ac_cv_path_EGREP"
  4662 if test -z "$EGREP"; then
  4663   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4664 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4665    { (exit 1); exit 1; }; }
  4666 fi
  4668 else
  4669   ac_cv_path_EGREP=$EGREP
  4670 fi
  4673    fi
  4674 fi
  4675 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  4676 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  4677  EGREP="$ac_cv_path_EGREP"
  4680 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  4681 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  4682 if test "${ac_cv_header_stdc+set}" = set; then
  4683   echo $ECHO_N "(cached) $ECHO_C" >&6
  4684 else
  4685   cat >conftest.$ac_ext <<_ACEOF
  4686 /* confdefs.h.  */
  4687 _ACEOF
  4688 cat confdefs.h >>conftest.$ac_ext
  4689 cat >>conftest.$ac_ext <<_ACEOF
  4690 /* end confdefs.h.  */
  4691 #include <stdlib.h>
  4692 #include <stdarg.h>
  4693 #include <string.h>
  4694 #include <float.h>
  4696 int
  4697 main ()
  4701   return 0;
  4703 _ACEOF
  4704 rm -f conftest.$ac_objext
  4705 if { (ac_try="$ac_compile"
  4706 case "(($ac_try" in
  4707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4708   *) ac_try_echo=$ac_try;;
  4709 esac
  4710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4711   (eval "$ac_compile") 2>conftest.er1
  4712   ac_status=$?
  4713   grep -v '^ *+' conftest.er1 >conftest.err
  4714   rm -f conftest.er1
  4715   cat conftest.err >&5
  4716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4717   (exit $ac_status); } && {
  4718 	 test -z "$ac_c_werror_flag" ||
  4719 	 test ! -s conftest.err
  4720        } && test -s conftest.$ac_objext; then
  4721   ac_cv_header_stdc=yes
  4722 else
  4723   echo "$as_me: failed program was:" >&5
  4724 sed 's/^/| /' conftest.$ac_ext >&5
  4726 	ac_cv_header_stdc=no
  4727 fi
  4729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4731 if test $ac_cv_header_stdc = yes; then
  4732   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4733   cat >conftest.$ac_ext <<_ACEOF
  4734 /* confdefs.h.  */
  4735 _ACEOF
  4736 cat confdefs.h >>conftest.$ac_ext
  4737 cat >>conftest.$ac_ext <<_ACEOF
  4738 /* end confdefs.h.  */
  4739 #include <string.h>
  4741 _ACEOF
  4742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4743   $EGREP "memchr" >/dev/null 2>&1; then
  4745 else
  4746   ac_cv_header_stdc=no
  4747 fi
  4748 rm -f conftest*
  4750 fi
  4752 if test $ac_cv_header_stdc = yes; then
  4753   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4754   cat >conftest.$ac_ext <<_ACEOF
  4755 /* confdefs.h.  */
  4756 _ACEOF
  4757 cat confdefs.h >>conftest.$ac_ext
  4758 cat >>conftest.$ac_ext <<_ACEOF
  4759 /* end confdefs.h.  */
  4760 #include <stdlib.h>
  4762 _ACEOF
  4763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4764   $EGREP "free" >/dev/null 2>&1; then
  4766 else
  4767   ac_cv_header_stdc=no
  4768 fi
  4769 rm -f conftest*
  4771 fi
  4773 if test $ac_cv_header_stdc = yes; then
  4774   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4775   if test "$cross_compiling" = yes; then
  4777 else
  4778   cat >conftest.$ac_ext <<_ACEOF
  4779 /* confdefs.h.  */
  4780 _ACEOF
  4781 cat confdefs.h >>conftest.$ac_ext
  4782 cat >>conftest.$ac_ext <<_ACEOF
  4783 /* end confdefs.h.  */
  4784 #include <ctype.h>
  4785 #include <stdlib.h>
  4786 #if ((' ' & 0x0FF) == 0x020)
  4787 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4788 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4789 #else
  4790 # define ISLOWER(c) \
  4791 		   (('a' <= (c) && (c) <= 'i') \
  4792 		     || ('j' <= (c) && (c) <= 'r') \
  4793 		     || ('s' <= (c) && (c) <= 'z'))
  4794 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4795 #endif
  4797 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4798 int
  4799 main ()
  4801   int i;
  4802   for (i = 0; i < 256; i++)
  4803     if (XOR (islower (i), ISLOWER (i))
  4804 	|| toupper (i) != TOUPPER (i))
  4805       return 2;
  4806   return 0;
  4808 _ACEOF
  4809 rm -f conftest$ac_exeext
  4810 if { (ac_try="$ac_link"
  4811 case "(($ac_try" in
  4812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4813   *) ac_try_echo=$ac_try;;
  4814 esac
  4815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4816   (eval "$ac_link") 2>&5
  4817   ac_status=$?
  4818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4819   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  4820   { (case "(($ac_try" in
  4821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4822   *) ac_try_echo=$ac_try;;
  4823 esac
  4824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4825   (eval "$ac_try") 2>&5
  4826   ac_status=$?
  4827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4828   (exit $ac_status); }; }; then
  4830 else
  4831   echo "$as_me: program exited with status $ac_status" >&5
  4832 echo "$as_me: failed program was:" >&5
  4833 sed 's/^/| /' conftest.$ac_ext >&5
  4835 ( exit $ac_status )
  4836 ac_cv_header_stdc=no
  4837 fi
  4838 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  4839 fi
  4842 fi
  4843 fi
  4844 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  4845 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  4846 if test $ac_cv_header_stdc = yes; then
  4848 cat >>confdefs.h <<\_ACEOF
  4849 #define STDC_HEADERS 1
  4850 _ACEOF
  4852 fi
  4854 # Make sure we can run config.sub.
  4855 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  4856   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  4857 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  4858    { (exit 1); exit 1; }; }
  4860 { echo "$as_me:$LINENO: checking build system type" >&5
  4861 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  4862 if test "${ac_cv_build+set}" = set; then
  4863   echo $ECHO_N "(cached) $ECHO_C" >&6
  4864 else
  4865   ac_build_alias=$build_alias
  4866 test "x$ac_build_alias" = x &&
  4867   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  4868 test "x$ac_build_alias" = x &&
  4869   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  4870 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  4871    { (exit 1); exit 1; }; }
  4872 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  4873   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  4874 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  4875    { (exit 1); exit 1; }; }
  4877 fi
  4878 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  4879 echo "${ECHO_T}$ac_cv_build" >&6; }
  4880 case $ac_cv_build in
  4881 *-*-*) ;;
  4882 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  4883 echo "$as_me: error: invalid value of canonical build" >&2;}
  4884    { (exit 1); exit 1; }; };;
  4885 esac
  4886 build=$ac_cv_build
  4887 ac_save_IFS=$IFS; IFS='-'
  4888 set x $ac_cv_build
  4889 shift
  4890 build_cpu=$1
  4891 build_vendor=$2
  4892 shift; shift
  4893 # Remember, the first character of IFS is used to create $*,
  4894 # except with old shells:
  4895 build_os=$*
  4896 IFS=$ac_save_IFS
  4897 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4900 { echo "$as_me:$LINENO: checking host system type" >&5
  4901 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  4902 if test "${ac_cv_host+set}" = set; then
  4903   echo $ECHO_N "(cached) $ECHO_C" >&6
  4904 else
  4905   if test "x$host_alias" = x; then
  4906   ac_cv_host=$ac_cv_build
  4907 else
  4908   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  4909     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  4910 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  4911    { (exit 1); exit 1; }; }
  4912 fi
  4914 fi
  4915 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  4916 echo "${ECHO_T}$ac_cv_host" >&6; }
  4917 case $ac_cv_host in
  4918 *-*-*) ;;
  4919 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  4920 echo "$as_me: error: invalid value of canonical host" >&2;}
  4921    { (exit 1); exit 1; }; };;
  4922 esac
  4923 host=$ac_cv_host
  4924 ac_save_IFS=$IFS; IFS='-'
  4925 set x $ac_cv_host
  4926 shift
  4927 host_cpu=$1
  4928 host_vendor=$2
  4929 shift; shift
  4930 # Remember, the first character of IFS is used to create $*,
  4931 # except with old shells:
  4932 host_os=$*
  4933 IFS=$ac_save_IFS
  4934 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4940 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  4941 	if test -n "$ac_tool_prefix"; then
  4942   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  4943 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  4944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4946 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  4947   echo $ECHO_N "(cached) $ECHO_C" >&6
  4948 else
  4949   case $PKG_CONFIG in
  4950   [\\/]* | ?:[\\/]*)
  4951   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  4952   ;;
  4953   *)
  4954   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4955 for as_dir in $PATH
  4956 do
  4957   IFS=$as_save_IFS
  4958   test -z "$as_dir" && as_dir=.
  4959   for ac_exec_ext in '' $ac_executable_extensions; do
  4960   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4961     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  4962     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4963     break 2
  4964   fi
  4965 done
  4966 done
  4967 IFS=$as_save_IFS
  4969   ;;
  4970 esac
  4971 fi
  4972 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  4973 if test -n "$PKG_CONFIG"; then
  4974   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  4975 echo "${ECHO_T}$PKG_CONFIG" >&6; }
  4976 else
  4977   { echo "$as_me:$LINENO: result: no" >&5
  4978 echo "${ECHO_T}no" >&6; }
  4979 fi
  4982 fi
  4983 if test -z "$ac_cv_path_PKG_CONFIG"; then
  4984   ac_pt_PKG_CONFIG=$PKG_CONFIG
  4985   # Extract the first word of "pkg-config", so it can be a program name with args.
  4986 set dummy pkg-config; ac_word=$2
  4987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4989 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  4990   echo $ECHO_N "(cached) $ECHO_C" >&6
  4991 else
  4992   case $ac_pt_PKG_CONFIG in
  4993   [\\/]* | ?:[\\/]*)
  4994   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  4995   ;;
  4996   *)
  4997   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4998 for as_dir in $PATH
  4999 do
  5000   IFS=$as_save_IFS
  5001   test -z "$as_dir" && as_dir=.
  5002   for ac_exec_ext in '' $ac_executable_extensions; do
  5003   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5004     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  5005     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5006     break 2
  5007   fi
  5008 done
  5009 done
  5010 IFS=$as_save_IFS
  5012   ;;
  5013 esac
  5014 fi
  5015 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  5016 if test -n "$ac_pt_PKG_CONFIG"; then
  5017   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
  5018 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
  5019 else
  5020   { echo "$as_me:$LINENO: result: no" >&5
  5021 echo "${ECHO_T}no" >&6; }
  5022 fi
  5024   if test "x$ac_pt_PKG_CONFIG" = x; then
  5025     PKG_CONFIG=""
  5026   else
  5027     case $cross_compiling:$ac_tool_warned in
  5028 yes:)
  5029 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5030 whose name does not start with the host triplet.  If you think this
  5031 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5032 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5033 whose name does not start with the host triplet.  If you think this
  5034 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5035 ac_tool_warned=yes ;;
  5036 esac
  5037     PKG_CONFIG=$ac_pt_PKG_CONFIG
  5038   fi
  5039 else
  5040   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  5041 fi
  5043 fi
  5044 if test -n "$PKG_CONFIG"; then
  5045 	_pkg_min_version=0.9.0
  5046 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
  5047 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
  5048 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  5049 		{ echo "$as_me:$LINENO: result: yes" >&5
  5050 echo "${ECHO_T}yes" >&6; }
  5051 	else
  5052 		{ echo "$as_me:$LINENO: result: no" >&5
  5053 echo "${ECHO_T}no" >&6; }
  5054 		PKG_CONFIG=""
  5055 	fi
  5057 fi
  5059 pkg_failed=no
  5060 { echo "$as_me:$LINENO: checking for PACKAGE" >&5
  5061 echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6; }
  5063 if test -n "$PKG_CONFIG"; then
  5064     if test -n "$PACKAGE_CFLAGS"; then
  5065         pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
  5066     else
  5067         if test -n "$PKG_CONFIG" && \
  5068     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" gtk+-2.0      libpng \"") >&5
  5069   ($PKG_CONFIG --exists --print-errors " gtk+-2.0      libpng ") 2>&5
  5070   ac_status=$?
  5071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5072   (exit $ac_status); }; then
  5073   pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags " gtk+-2.0      libpng " 2>/dev/null`
  5074 else
  5075   pkg_failed=yes
  5076 fi
  5077     fi
  5078 else
  5079 	pkg_failed=untried
  5080 fi
  5081 if test -n "$PKG_CONFIG"; then
  5082     if test -n "$PACKAGE_LIBS"; then
  5083         pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
  5084     else
  5085         if test -n "$PKG_CONFIG" && \
  5086     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" gtk+-2.0      libpng \"") >&5
  5087   ($PKG_CONFIG --exists --print-errors " gtk+-2.0      libpng ") 2>&5
  5088   ac_status=$?
  5089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5090   (exit $ac_status); }; then
  5091   pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs " gtk+-2.0      libpng " 2>/dev/null`
  5092 else
  5093   pkg_failed=yes
  5094 fi
  5095     fi
  5096 else
  5097 	pkg_failed=untried
  5098 fi
  5102 if test $pkg_failed = yes; then
  5104 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  5105         _pkg_short_errors_supported=yes
  5106 else
  5107         _pkg_short_errors_supported=no
  5108 fi
  5109         if test $_pkg_short_errors_supported = yes; then
  5110 	        PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gtk+-2.0      libpng "`
  5111         else
  5112 	        PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gtk+-2.0      libpng "`
  5113         fi
  5114 	# Put the nasty error message in config.log where it belongs
  5115 	echo "$PACKAGE_PKG_ERRORS" >&5
  5117 	{ { echo "$as_me:$LINENO: error: Package requirements ( gtk+-2.0      libpng ) were not met:
  5119 $PACKAGE_PKG_ERRORS
  5121 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5122 installed software in a non-standard prefix.
  5124 Alternatively, you may set the environment variables PACKAGE_CFLAGS
  5125 and PACKAGE_LIBS to avoid the need to call pkg-config.
  5126 See the pkg-config man page for more details.
  5127 " >&5
  5128 echo "$as_me: error: Package requirements ( gtk+-2.0      libpng ) were not met:
  5130 $PACKAGE_PKG_ERRORS
  5132 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5133 installed software in a non-standard prefix.
  5135 Alternatively, you may set the environment variables PACKAGE_CFLAGS
  5136 and PACKAGE_LIBS to avoid the need to call pkg-config.
  5137 See the pkg-config man page for more details.
  5138 " >&2;}
  5139    { (exit 1); exit 1; }; }
  5140 elif test $pkg_failed = untried; then
  5141 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  5142 is in your PATH or set the PKG_CONFIG environment variable to the full
  5143 path to pkg-config.
  5145 Alternatively, you may set the environment variables PACKAGE_CFLAGS
  5146 and PACKAGE_LIBS to avoid the need to call pkg-config.
  5147 See the pkg-config man page for more details.
  5149 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5150 See \`config.log' for more details." >&5
  5151 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  5152 is in your PATH or set the PKG_CONFIG environment variable to the full
  5153 path to pkg-config.
  5155 Alternatively, you may set the environment variables PACKAGE_CFLAGS
  5156 and PACKAGE_LIBS to avoid the need to call pkg-config.
  5157 See the pkg-config man page for more details.
  5159 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5160 See \`config.log' for more details." >&2;}
  5161    { (exit 1); exit 1; }; }
  5162 else
  5163 	PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
  5164 	PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
  5165         { echo "$as_me:$LINENO: result: yes" >&5
  5166 echo "${ECHO_T}yes" >&6; }
  5168 fi
  5170 pkg_failed=no
  5171 { echo "$as_me:$LINENO: checking for ESOUND" >&5
  5172 echo $ECHO_N "checking for ESOUND... $ECHO_C" >&6; }
  5174 if test -n "$PKG_CONFIG"; then
  5175     if test -n "$ESOUND_CFLAGS"; then
  5176         pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
  5177     else
  5178         if test -n "$PKG_CONFIG" && \
  5179     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
  5180   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
  5181   ac_status=$?
  5182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5183   (exit $ac_status); }; then
  5184   pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
  5185 else
  5186   pkg_failed=yes
  5187 fi
  5188     fi
  5189 else
  5190 	pkg_failed=untried
  5191 fi
  5192 if test -n "$PKG_CONFIG"; then
  5193     if test -n "$ESOUND_LIBS"; then
  5194         pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
  5195     else
  5196         if test -n "$PKG_CONFIG" && \
  5197     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
  5198   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
  5199   ac_status=$?
  5200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5201   (exit $ac_status); }; then
  5202   pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
  5203 else
  5204   pkg_failed=yes
  5205 fi
  5206     fi
  5207 else
  5208 	pkg_failed=untried
  5209 fi
  5213 if test $pkg_failed = yes; then
  5215 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  5216         _pkg_short_errors_supported=yes
  5217 else
  5218         _pkg_short_errors_supported=no
  5219 fi
  5220         if test $_pkg_short_errors_supported = yes; then
  5221 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "esound"`
  5222         else
  5223 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "esound"`
  5224         fi
  5225 	# Put the nasty error message in config.log where it belongs
  5226 	echo "$ESOUND_PKG_ERRORS" >&5
  5228 	 echo "Warning: esound not found - building without audio support"
  5229 elif test $pkg_failed = untried; then
  5230 	 echo "Warning: esound not found - building without audio support"
  5231 else
  5232 	ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
  5233 	ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
  5234         { echo "$as_me:$LINENO: result: yes" >&5
  5235 echo "${ECHO_T}yes" >&6; }
  5237      HAVE_ESOUND='yes'
  5239 cat >>confdefs.h <<\_ACEOF
  5240 #define HAVE_ESOUND 1
  5241 _ACEOF
  5243 fi
  5246 if test "$HAVE_ESOUND" = 'yes' ; then
  5247   AUDIO_ESOUND_TRUE=
  5248   AUDIO_ESOUND_FALSE='#'
  5249 else
  5250   AUDIO_ESOUND_TRUE='#'
  5251   AUDIO_ESOUND_FALSE=
  5252 fi
  5256 { echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
  5257 echo $ECHO_N "checking for uncompress in -lz... $ECHO_C" >&6; }
  5258 if test "${ac_cv_lib_z_uncompress+set}" = set; then
  5259   echo $ECHO_N "(cached) $ECHO_C" >&6
  5260 else
  5261   ac_check_lib_save_LIBS=$LIBS
  5262 LIBS="-lz  $LIBS"
  5263 cat >conftest.$ac_ext <<_ACEOF
  5264 /* confdefs.h.  */
  5265 _ACEOF
  5266 cat confdefs.h >>conftest.$ac_ext
  5267 cat >>conftest.$ac_ext <<_ACEOF
  5268 /* end confdefs.h.  */
  5270 /* Override any GCC internal prototype to avoid an error.
  5271    Use char because int might match the return type of a GCC
  5272    builtin and then its argument prototype would still apply.  */
  5273 #ifdef __cplusplus
  5274 extern "C"
  5275 #endif
  5276 char uncompress ();
  5277 int
  5278 main ()
  5280 return uncompress ();
  5282   return 0;
  5284 _ACEOF
  5285 rm -f conftest.$ac_objext conftest$ac_exeext
  5286 if { (ac_try="$ac_link"
  5287 case "(($ac_try" in
  5288   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5289   *) ac_try_echo=$ac_try;;
  5290 esac
  5291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5292   (eval "$ac_link") 2>conftest.er1
  5293   ac_status=$?
  5294   grep -v '^ *+' conftest.er1 >conftest.err
  5295   rm -f conftest.er1
  5296   cat conftest.err >&5
  5297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5298   (exit $ac_status); } && {
  5299 	 test -z "$ac_c_werror_flag" ||
  5300 	 test ! -s conftest.err
  5301        } && test -s conftest$ac_exeext &&
  5302        $as_test_x conftest$ac_exeext; then
  5303   ac_cv_lib_z_uncompress=yes
  5304 else
  5305   echo "$as_me: failed program was:" >&5
  5306 sed 's/^/| /' conftest.$ac_ext >&5
  5308 	ac_cv_lib_z_uncompress=no
  5309 fi
  5311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5312       conftest$ac_exeext conftest.$ac_ext
  5313 LIBS=$ac_check_lib_save_LIBS
  5314 fi
  5315 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
  5316 echo "${ECHO_T}$ac_cv_lib_z_uncompress" >&6; }
  5317 if test $ac_cv_lib_z_uncompress = yes; then
  5318   cat >>confdefs.h <<_ACEOF
  5319 #define HAVE_LIBZ 1
  5320 _ACEOF
  5322   LIBS="-lz $LIBS"
  5324 else
  5326     echo "Zlib (libz.so) could not be found, but is required."
  5327     exit 1
  5328 fi
  5331 { echo "$as_me:$LINENO: checking for glXQueryVersion in -lGL" >&5
  5332 echo $ECHO_N "checking for glXQueryVersion in -lGL... $ECHO_C" >&6; }
  5333 if test "${ac_cv_lib_GL_glXQueryVersion+set}" = set; then
  5334   echo $ECHO_N "(cached) $ECHO_C" >&6
  5335 else
  5336   ac_check_lib_save_LIBS=$LIBS
  5337 LIBS="-lGL  $LIBS"
  5338 cat >conftest.$ac_ext <<_ACEOF
  5339 /* confdefs.h.  */
  5340 _ACEOF
  5341 cat confdefs.h >>conftest.$ac_ext
  5342 cat >>conftest.$ac_ext <<_ACEOF
  5343 /* end confdefs.h.  */
  5345 /* Override any GCC internal prototype to avoid an error.
  5346    Use char because int might match the return type of a GCC
  5347    builtin and then its argument prototype would still apply.  */
  5348 #ifdef __cplusplus
  5349 extern "C"
  5350 #endif
  5351 char glXQueryVersion ();
  5352 int
  5353 main ()
  5355 return glXQueryVersion ();
  5357   return 0;
  5359 _ACEOF
  5360 rm -f conftest.$ac_objext conftest$ac_exeext
  5361 if { (ac_try="$ac_link"
  5362 case "(($ac_try" in
  5363   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5364   *) ac_try_echo=$ac_try;;
  5365 esac
  5366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5367   (eval "$ac_link") 2>conftest.er1
  5368   ac_status=$?
  5369   grep -v '^ *+' conftest.er1 >conftest.err
  5370   rm -f conftest.er1
  5371   cat conftest.err >&5
  5372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5373   (exit $ac_status); } && {
  5374 	 test -z "$ac_c_werror_flag" ||
  5375 	 test ! -s conftest.err
  5376        } && test -s conftest$ac_exeext &&
  5377        $as_test_x conftest$ac_exeext; then
  5378   ac_cv_lib_GL_glXQueryVersion=yes
  5379 else
  5380   echo "$as_me: failed program was:" >&5
  5381 sed 's/^/| /' conftest.$ac_ext >&5
  5383 	ac_cv_lib_GL_glXQueryVersion=no
  5384 fi
  5386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5387       conftest$ac_exeext conftest.$ac_ext
  5388 LIBS=$ac_check_lib_save_LIBS
  5389 fi
  5390 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXQueryVersion" >&5
  5391 echo "${ECHO_T}$ac_cv_lib_GL_glXQueryVersion" >&6; }
  5392 if test $ac_cv_lib_GL_glXQueryVersion = yes; then
  5393   cat >>confdefs.h <<_ACEOF
  5394 #define HAVE_LIBGL 1
  5395 _ACEOF
  5397   LIBS="-lGL $LIBS"
  5399 else
  5401     echo "The OpenGL library (libGL.so) could not be found, but is required."
  5402     exit 1
  5403 fi
  5405 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  5415 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  5416 		  inttypes.h stdint.h unistd.h
  5417 do
  5418 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5419 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  5420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5421 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5422   echo $ECHO_N "(cached) $ECHO_C" >&6
  5423 else
  5424   cat >conftest.$ac_ext <<_ACEOF
  5425 /* confdefs.h.  */
  5426 _ACEOF
  5427 cat confdefs.h >>conftest.$ac_ext
  5428 cat >>conftest.$ac_ext <<_ACEOF
  5429 /* end confdefs.h.  */
  5430 $ac_includes_default
  5432 #include <$ac_header>
  5433 _ACEOF
  5434 rm -f conftest.$ac_objext
  5435 if { (ac_try="$ac_compile"
  5436 case "(($ac_try" in
  5437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5438   *) ac_try_echo=$ac_try;;
  5439 esac
  5440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5441   (eval "$ac_compile") 2>conftest.er1
  5442   ac_status=$?
  5443   grep -v '^ *+' conftest.er1 >conftest.err
  5444   rm -f conftest.er1
  5445   cat conftest.err >&5
  5446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5447   (exit $ac_status); } && {
  5448 	 test -z "$ac_c_werror_flag" ||
  5449 	 test ! -s conftest.err
  5450        } && test -s conftest.$ac_objext; then
  5451   eval "$as_ac_Header=yes"
  5452 else
  5453   echo "$as_me: failed program was:" >&5
  5454 sed 's/^/| /' conftest.$ac_ext >&5
  5456 	eval "$as_ac_Header=no"
  5457 fi
  5459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5460 fi
  5461 ac_res=`eval echo '${'$as_ac_Header'}'`
  5462 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  5463 echo "${ECHO_T}$ac_res" >&6; }
  5464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  5465   cat >>confdefs.h <<_ACEOF
  5466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5467 _ACEOF
  5469 fi
  5471 done
  5474 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  5475   { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  5476 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
  5477 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  5478   echo $ECHO_N "(cached) $ECHO_C" >&6
  5479 fi
  5480 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  5481 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
  5482 else
  5483   # Is the header compilable?
  5484 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
  5485 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
  5486 cat >conftest.$ac_ext <<_ACEOF
  5487 /* confdefs.h.  */
  5488 _ACEOF
  5489 cat confdefs.h >>conftest.$ac_ext
  5490 cat >>conftest.$ac_ext <<_ACEOF
  5491 /* end confdefs.h.  */
  5492 $ac_includes_default
  5493 #include <GL/gl.h>
  5494 _ACEOF
  5495 rm -f conftest.$ac_objext
  5496 if { (ac_try="$ac_compile"
  5497 case "(($ac_try" in
  5498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5499   *) ac_try_echo=$ac_try;;
  5500 esac
  5501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5502   (eval "$ac_compile") 2>conftest.er1
  5503   ac_status=$?
  5504   grep -v '^ *+' conftest.er1 >conftest.err
  5505   rm -f conftest.er1
  5506   cat conftest.err >&5
  5507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5508   (exit $ac_status); } && {
  5509 	 test -z "$ac_c_werror_flag" ||
  5510 	 test ! -s conftest.err
  5511        } && test -s conftest.$ac_objext; then
  5512   ac_header_compiler=yes
  5513 else
  5514   echo "$as_me: failed program was:" >&5
  5515 sed 's/^/| /' conftest.$ac_ext >&5
  5517 	ac_header_compiler=no
  5518 fi
  5520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5521 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5522 echo "${ECHO_T}$ac_header_compiler" >&6; }
  5524 # Is the header present?
  5525 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
  5526 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
  5527 cat >conftest.$ac_ext <<_ACEOF
  5528 /* confdefs.h.  */
  5529 _ACEOF
  5530 cat confdefs.h >>conftest.$ac_ext
  5531 cat >>conftest.$ac_ext <<_ACEOF
  5532 /* end confdefs.h.  */
  5533 #include <GL/gl.h>
  5534 _ACEOF
  5535 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5536 case "(($ac_try" in
  5537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5538   *) ac_try_echo=$ac_try;;
  5539 esac
  5540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5541   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5542   ac_status=$?
  5543   grep -v '^ *+' conftest.er1 >conftest.err
  5544   rm -f conftest.er1
  5545   cat conftest.err >&5
  5546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5547   (exit $ac_status); } >/dev/null && {
  5548 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5549 	 test ! -s conftest.err
  5550        }; then
  5551   ac_header_preproc=yes
  5552 else
  5553   echo "$as_me: failed program was:" >&5
  5554 sed 's/^/| /' conftest.$ac_ext >&5
  5556   ac_header_preproc=no
  5557 fi
  5559 rm -f conftest.err conftest.$ac_ext
  5560 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5561 echo "${ECHO_T}$ac_header_preproc" >&6; }
  5563 # So?  What about this header?
  5564 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5565   yes:no: )
  5566     { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  5567 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  5568     { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
  5569 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
  5570     ac_header_preproc=yes
  5571     ;;
  5572   no:yes:* )
  5573     { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
  5574 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
  5575     { echo "$as_me:$LINENO: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&5
  5576 echo "$as_me: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&2;}
  5577     { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
  5578 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
  5579     { echo "$as_me:$LINENO: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&5
  5580 echo "$as_me: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  5581     { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
  5582 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
  5583     { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
  5584 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
  5586     ;;
  5587 esac
  5588 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  5589 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
  5590 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  5591   echo $ECHO_N "(cached) $ECHO_C" >&6
  5592 else
  5593   ac_cv_header_GL_gl_h=$ac_header_preproc
  5594 fi
  5595 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  5596 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
  5598 fi
  5599 if test $ac_cv_header_GL_gl_h = yes; then
  5601 else
  5603     echo "The OpenGL header files (eg GL/gl.h) could not be found, but are required."
  5604     exit 1
  5605 fi
  5609 case $host_cpu in
  5610     i386|i486|i586|i686)
  5611 	SH4_TRANSLATOR="x86"
  5613 cat >>confdefs.h <<_ACEOF
  5614 #define SH4_TRANSLATOR TARGET_X86
  5615 _ACEOF
  5616 ;;
  5617     x86_64)
  5618 	SH4_TRANSLATOR="x86_64"
  5620 cat >>confdefs.h <<_ACEOF
  5621 #define SH4_TRANSLATOR TARGET_X86_64
  5622 _ACEOF
  5623 ;;
  5624     *)
  5625 	echo "Warning: No translator available for $host. Building emulation core only";;
  5626 esac
  5629 if test "$SH4_TRANSLATOR" = "x86" -o "$SH4_TRANSLATOR" = "x86_64"; then
  5630   BUILD_SH4X86_TRUE=
  5631   BUILD_SH4X86_FALSE='#'
  5632 else
  5633   BUILD_SH4X86_TRUE='#'
  5634   BUILD_SH4X86_FALSE=
  5635 fi
  5638 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  5639   { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
  5640 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
  5641 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  5642   echo $ECHO_N "(cached) $ECHO_C" >&6
  5643 fi
  5644 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
  5645 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
  5646 else
  5647   # Is the header compilable?
  5648 { echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
  5649 echo $ECHO_N "checking linux/cdrom.h usability... $ECHO_C" >&6; }
  5650 cat >conftest.$ac_ext <<_ACEOF
  5651 /* confdefs.h.  */
  5652 _ACEOF
  5653 cat confdefs.h >>conftest.$ac_ext
  5654 cat >>conftest.$ac_ext <<_ACEOF
  5655 /* end confdefs.h.  */
  5656 $ac_includes_default
  5657 #include <linux/cdrom.h>
  5658 _ACEOF
  5659 rm -f conftest.$ac_objext
  5660 if { (ac_try="$ac_compile"
  5661 case "(($ac_try" in
  5662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5663   *) ac_try_echo=$ac_try;;
  5664 esac
  5665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5666   (eval "$ac_compile") 2>conftest.er1
  5667   ac_status=$?
  5668   grep -v '^ *+' conftest.er1 >conftest.err
  5669   rm -f conftest.er1
  5670   cat conftest.err >&5
  5671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5672   (exit $ac_status); } && {
  5673 	 test -z "$ac_c_werror_flag" ||
  5674 	 test ! -s conftest.err
  5675        } && test -s conftest.$ac_objext; then
  5676   ac_header_compiler=yes
  5677 else
  5678   echo "$as_me: failed program was:" >&5
  5679 sed 's/^/| /' conftest.$ac_ext >&5
  5681 	ac_header_compiler=no
  5682 fi
  5684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5685 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5686 echo "${ECHO_T}$ac_header_compiler" >&6; }
  5688 # Is the header present?
  5689 { echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
  5690 echo $ECHO_N "checking linux/cdrom.h presence... $ECHO_C" >&6; }
  5691 cat >conftest.$ac_ext <<_ACEOF
  5692 /* confdefs.h.  */
  5693 _ACEOF
  5694 cat confdefs.h >>conftest.$ac_ext
  5695 cat >>conftest.$ac_ext <<_ACEOF
  5696 /* end confdefs.h.  */
  5697 #include <linux/cdrom.h>
  5698 _ACEOF
  5699 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5700 case "(($ac_try" in
  5701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5702   *) ac_try_echo=$ac_try;;
  5703 esac
  5704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5705   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5706   ac_status=$?
  5707   grep -v '^ *+' conftest.er1 >conftest.err
  5708   rm -f conftest.er1
  5709   cat conftest.err >&5
  5710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5711   (exit $ac_status); } >/dev/null && {
  5712 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5713 	 test ! -s conftest.err
  5714        }; then
  5715   ac_header_preproc=yes
  5716 else
  5717   echo "$as_me: failed program was:" >&5
  5718 sed 's/^/| /' conftest.$ac_ext >&5
  5720   ac_header_preproc=no
  5721 fi
  5723 rm -f conftest.err conftest.$ac_ext
  5724 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5725 echo "${ECHO_T}$ac_header_preproc" >&6; }
  5727 # So?  What about this header?
  5728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5729   yes:no: )
  5730     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
  5731 echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  5732     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
  5733 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
  5734     ac_header_preproc=yes
  5735     ;;
  5736   no:yes:* )
  5737     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
  5738 echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
  5739     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&5
  5740 echo "$as_me: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&2;}
  5741     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
  5742 echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
  5743     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&5
  5744 echo "$as_me: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  5745     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
  5746 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
  5747     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
  5748 echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
  5750     ;;
  5751 esac
  5752 { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
  5753 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
  5754 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  5755   echo $ECHO_N "(cached) $ECHO_C" >&6
  5756 else
  5757   ac_cv_header_linux_cdrom_h=$ac_header_preproc
  5758 fi
  5759 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
  5760 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
  5762 fi
  5763 if test $ac_cv_header_linux_cdrom_h = yes; then
  5764   HAVE_LINUX_CDROM_H=yes
  5765 else
  5767     echo "Linux CDROM support not found, building without it."
  5768 fi
  5773 if test "$HAVE_LINUX_CDROM_H" = "yes"; then
  5774   CDROM_LINUX_TRUE=
  5775   CDROM_LINUX_FALSE='#'
  5776 else
  5777   CDROM_LINUX_TRUE='#'
  5778   CDROM_LINUX_FALSE=
  5779 fi
  5782 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
  5783 set dummy sh-elf-gcc; ac_word=$2
  5784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5786 if test "${ac_cv_path_SHCC+set}" = set; then
  5787   echo $ECHO_N "(cached) $ECHO_C" >&6
  5788 else
  5789   case $SHCC in
  5790   [\\/]* | ?:[\\/]*)
  5791   ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
  5792   ;;
  5793   *)
  5794   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5795 for as_dir in $PATH
  5796 do
  5797   IFS=$as_save_IFS
  5798   test -z "$as_dir" && as_dir=.
  5799   for ac_exec_ext in '' $ac_executable_extensions; do
  5800   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5801     ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
  5802     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5803     break 2
  5804   fi
  5805 done
  5806 done
  5807 IFS=$as_save_IFS
  5809   ;;
  5810 esac
  5811 fi
  5812 SHCC=$ac_cv_path_SHCC
  5813 if test -n "$SHCC"; then
  5814   { echo "$as_me:$LINENO: result: $SHCC" >&5
  5815 echo "${ECHO_T}$SHCC" >&6; }
  5816 else
  5817   { echo "$as_me:$LINENO: result: no" >&5
  5818 echo "${ECHO_T}no" >&6; }
  5819 fi
  5822 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
  5823 set dummy sh-elf-ld; ac_word=$2
  5824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5826 if test "${ac_cv_path_SHLD+set}" = set; then
  5827   echo $ECHO_N "(cached) $ECHO_C" >&6
  5828 else
  5829   case $SHLD in
  5830   [\\/]* | ?:[\\/]*)
  5831   ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
  5832   ;;
  5833   *)
  5834   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5835 for as_dir in $PATH
  5836 do
  5837   IFS=$as_save_IFS
  5838   test -z "$as_dir" && as_dir=.
  5839   for ac_exec_ext in '' $ac_executable_extensions; do
  5840   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5841     ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
  5842     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5843     break 2
  5844   fi
  5845 done
  5846 done
  5847 IFS=$as_save_IFS
  5849   ;;
  5850 esac
  5851 fi
  5852 SHLD=$ac_cv_path_SHLD
  5853 if test -n "$SHLD"; then
  5854   { echo "$as_me:$LINENO: result: $SHLD" >&5
  5855 echo "${ECHO_T}$SHLD" >&6; }
  5856 else
  5857   { echo "$as_me:$LINENO: result: no" >&5
  5858 echo "${ECHO_T}no" >&6; }
  5859 fi
  5862 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
  5863 set dummy sh-elf-objcopy; ac_word=$2
  5864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5866 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
  5867   echo $ECHO_N "(cached) $ECHO_C" >&6
  5868 else
  5869   case $SHOBJCOPY in
  5870   [\\/]* | ?:[\\/]*)
  5871   ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
  5872   ;;
  5873   *)
  5874   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5875 for as_dir in $PATH
  5876 do
  5877   IFS=$as_save_IFS
  5878   test -z "$as_dir" && as_dir=.
  5879   for ac_exec_ext in '' $ac_executable_extensions; do
  5880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5881     ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
  5882     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5883     break 2
  5884   fi
  5885 done
  5886 done
  5887 IFS=$as_save_IFS
  5889   ;;
  5890 esac
  5891 fi
  5892 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
  5893 if test -n "$SHOBJCOPY"; then
  5894   { echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
  5895 echo "${ECHO_T}$SHOBJCOPY" >&6; }
  5896 else
  5897   { echo "$as_me:$LINENO: result: no" >&5
  5898 echo "${ECHO_T}no" >&6; }
  5899 fi
  5902 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
  5903 set dummy arm-elf-gcc; ac_word=$2
  5904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5906 if test "${ac_cv_path_ARMCC+set}" = set; then
  5907   echo $ECHO_N "(cached) $ECHO_C" >&6
  5908 else
  5909   case $ARMCC in
  5910   [\\/]* | ?:[\\/]*)
  5911   ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
  5912   ;;
  5913   *)
  5914   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5915 for as_dir in $PATH
  5916 do
  5917   IFS=$as_save_IFS
  5918   test -z "$as_dir" && as_dir=.
  5919   for ac_exec_ext in '' $ac_executable_extensions; do
  5920   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5921     ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
  5922     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5923     break 2
  5924   fi
  5925 done
  5926 done
  5927 IFS=$as_save_IFS
  5929   ;;
  5930 esac
  5931 fi
  5932 ARMCC=$ac_cv_path_ARMCC
  5933 if test -n "$ARMCC"; then
  5934   { echo "$as_me:$LINENO: result: $ARMCC" >&5
  5935 echo "${ECHO_T}$ARMCC" >&6; }
  5936 else
  5937   { echo "$as_me:$LINENO: result: no" >&5
  5938 echo "${ECHO_T}no" >&6; }
  5939 fi
  5942 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
  5943 set dummy arm-elf-ld; ac_word=$2
  5944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5946 if test "${ac_cv_path_ARMLD+set}" = set; then
  5947   echo $ECHO_N "(cached) $ECHO_C" >&6
  5948 else
  5949   case $ARMLD in
  5950   [\\/]* | ?:[\\/]*)
  5951   ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
  5952   ;;
  5953   *)
  5954   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5955 for as_dir in $PATH
  5956 do
  5957   IFS=$as_save_IFS
  5958   test -z "$as_dir" && as_dir=.
  5959   for ac_exec_ext in '' $ac_executable_extensions; do
  5960   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5961     ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
  5962     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5963     break 2
  5964   fi
  5965 done
  5966 done
  5967 IFS=$as_save_IFS
  5969   ;;
  5970 esac
  5971 fi
  5972 ARMLD=$ac_cv_path_ARMLD
  5973 if test -n "$ARMLD"; then
  5974   { echo "$as_me:$LINENO: result: $ARMLD" >&5
  5975 echo "${ECHO_T}$ARMLD" >&6; }
  5976 else
  5977   { echo "$as_me:$LINENO: result: no" >&5
  5978 echo "${ECHO_T}no" >&6; }
  5979 fi
  5982 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
  5983 set dummy arm-elf-objcopy; ac_word=$2
  5984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5986 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
  5987   echo $ECHO_N "(cached) $ECHO_C" >&6
  5988 else
  5989   case $ARMOBJCOPY in
  5990   [\\/]* | ?:[\\/]*)
  5991   ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
  5992   ;;
  5993   *)
  5994   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5995 for as_dir in $PATH
  5996 do
  5997   IFS=$as_save_IFS
  5998   test -z "$as_dir" && as_dir=.
  5999   for ac_exec_ext in '' $ac_executable_extensions; do
  6000   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6001     ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
  6002     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6003     break 2
  6004   fi
  6005 done
  6006 done
  6007 IFS=$as_save_IFS
  6009   ;;
  6010 esac
  6011 fi
  6012 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
  6013 if test -n "$ARMOBJCOPY"; then
  6014   { echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
  6015 echo "${ECHO_T}$ARMOBJCOPY" >&6; }
  6016 else
  6017   { echo "$as_me:$LINENO: result: no" >&5
  6018 echo "${ECHO_T}no" >&6; }
  6019 fi
  6023 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
  6024   BUILD_SH="no"
  6025   echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
  6026 else
  6027   BUILD_SH="yes"
  6028 fi
  6029 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
  6030   BUILD_ARM="no"
  6031   echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
  6032 else
  6033   BUILD_ARM="yes"
  6034 fi
  6037 if test "$BUILD_SH" = "yes"; then
  6038   BUILD_SYSTEST_TRUE=
  6039   BUILD_SYSTEST_FALSE='#'
  6040 else
  6041   BUILD_SYSTEST_TRUE='#'
  6042   BUILD_SYSTEST_FALSE=
  6043 fi
  6047 if test "$BUILD_ARM" = "yes"; then
  6048   BUILD_ARMTEST_TRUE=
  6049   BUILD_ARMTEST_FALSE='#'
  6050 else
  6051   BUILD_ARMTEST_TRUE='#'
  6052   BUILD_ARMTEST_FALSE=
  6053 fi
  6056 GETTEXT_PACKAGE=lxdream
  6059 cat >>confdefs.h <<_ACEOF
  6060 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
  6061 _ACEOF
  6067 ALL_LINGUAS="de pt_BR"
  6070 for ac_header in locale.h
  6071 do
  6072 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6073 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6074   { echo "$as_me:$LINENO: checking for $ac_header" >&5
  6075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6076 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6077   echo $ECHO_N "(cached) $ECHO_C" >&6
  6078 fi
  6079 ac_res=`eval echo '${'$as_ac_Header'}'`
  6080 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  6081 echo "${ECHO_T}$ac_res" >&6; }
  6082 else
  6083   # Is the header compilable?
  6084 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
  6085 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  6086 cat >conftest.$ac_ext <<_ACEOF
  6087 /* confdefs.h.  */
  6088 _ACEOF
  6089 cat confdefs.h >>conftest.$ac_ext
  6090 cat >>conftest.$ac_ext <<_ACEOF
  6091 /* end confdefs.h.  */
  6092 $ac_includes_default
  6093 #include <$ac_header>
  6094 _ACEOF
  6095 rm -f conftest.$ac_objext
  6096 if { (ac_try="$ac_compile"
  6097 case "(($ac_try" in
  6098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6099   *) ac_try_echo=$ac_try;;
  6100 esac
  6101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6102   (eval "$ac_compile") 2>conftest.er1
  6103   ac_status=$?
  6104   grep -v '^ *+' conftest.er1 >conftest.err
  6105   rm -f conftest.er1
  6106   cat conftest.err >&5
  6107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6108   (exit $ac_status); } && {
  6109 	 test -z "$ac_c_werror_flag" ||
  6110 	 test ! -s conftest.err
  6111        } && test -s conftest.$ac_objext; then
  6112   ac_header_compiler=yes
  6113 else
  6114   echo "$as_me: failed program was:" >&5
  6115 sed 's/^/| /' conftest.$ac_ext >&5
  6117 	ac_header_compiler=no
  6118 fi
  6120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6121 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6122 echo "${ECHO_T}$ac_header_compiler" >&6; }
  6124 # Is the header present?
  6125 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
  6126 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  6127 cat >conftest.$ac_ext <<_ACEOF
  6128 /* confdefs.h.  */
  6129 _ACEOF
  6130 cat confdefs.h >>conftest.$ac_ext
  6131 cat >>conftest.$ac_ext <<_ACEOF
  6132 /* end confdefs.h.  */
  6133 #include <$ac_header>
  6134 _ACEOF
  6135 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6136 case "(($ac_try" in
  6137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6138   *) ac_try_echo=$ac_try;;
  6139 esac
  6140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6141   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6142   ac_status=$?
  6143   grep -v '^ *+' conftest.er1 >conftest.err
  6144   rm -f conftest.er1
  6145   cat conftest.err >&5
  6146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6147   (exit $ac_status); } >/dev/null && {
  6148 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6149 	 test ! -s conftest.err
  6150        }; then
  6151   ac_header_preproc=yes
  6152 else
  6153   echo "$as_me: failed program was:" >&5
  6154 sed 's/^/| /' conftest.$ac_ext >&5
  6156   ac_header_preproc=no
  6157 fi
  6159 rm -f conftest.err conftest.$ac_ext
  6160 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6161 echo "${ECHO_T}$ac_header_preproc" >&6; }
  6163 # So?  What about this header?
  6164 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6165   yes:no: )
  6166     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  6167 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6168     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  6169 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  6170     ac_header_preproc=yes
  6171     ;;
  6172   no:yes:* )
  6173     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  6174 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  6175     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
  6176 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
  6177     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  6178 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  6179     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
  6180 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
  6181     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  6182 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  6183     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  6184 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  6186     ;;
  6187 esac
  6188 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  6189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6191   echo $ECHO_N "(cached) $ECHO_C" >&6
  6192 else
  6193   eval "$as_ac_Header=\$ac_header_preproc"
  6194 fi
  6195 ac_res=`eval echo '${'$as_ac_Header'}'`
  6196 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  6197 echo "${ECHO_T}$ac_res" >&6; }
  6199 fi
  6200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  6201   cat >>confdefs.h <<_ACEOF
  6202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6203 _ACEOF
  6205 fi
  6207 done
  6209     if test $ac_cv_header_locale_h = yes; then
  6210     { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
  6211 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
  6212 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
  6213   echo $ECHO_N "(cached) $ECHO_C" >&6
  6214 else
  6215   cat >conftest.$ac_ext <<_ACEOF
  6216 /* confdefs.h.  */
  6217 _ACEOF
  6218 cat confdefs.h >>conftest.$ac_ext
  6219 cat >>conftest.$ac_ext <<_ACEOF
  6220 /* end confdefs.h.  */
  6221 #include <locale.h>
  6222 int
  6223 main ()
  6225 return LC_MESSAGES
  6227   return 0;
  6229 _ACEOF
  6230 rm -f conftest.$ac_objext conftest$ac_exeext
  6231 if { (ac_try="$ac_link"
  6232 case "(($ac_try" in
  6233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6234   *) ac_try_echo=$ac_try;;
  6235 esac
  6236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6237   (eval "$ac_link") 2>conftest.er1
  6238   ac_status=$?
  6239   grep -v '^ *+' conftest.er1 >conftest.err
  6240   rm -f conftest.er1
  6241   cat conftest.err >&5
  6242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6243   (exit $ac_status); } && {
  6244 	 test -z "$ac_c_werror_flag" ||
  6245 	 test ! -s conftest.err
  6246        } && test -s conftest$ac_exeext &&
  6247        $as_test_x conftest$ac_exeext; then
  6248   am_cv_val_LC_MESSAGES=yes
  6249 else
  6250   echo "$as_me: failed program was:" >&5
  6251 sed 's/^/| /' conftest.$ac_ext >&5
  6253 	am_cv_val_LC_MESSAGES=no
  6254 fi
  6256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6257       conftest$ac_exeext conftest.$ac_ext
  6258 fi
  6259 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
  6260 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
  6261     if test $am_cv_val_LC_MESSAGES = yes; then
  6263 cat >>confdefs.h <<\_ACEOF
  6264 #define HAVE_LC_MESSAGES 1
  6265 _ACEOF
  6267     fi
  6268   fi
  6269      USE_NLS=yes
  6272     gt_cv_have_gettext=no
  6274     CATOBJEXT=NONE
  6275     XGETTEXT=:
  6276     INTLLIBS=
  6278     if test "${ac_cv_header_libintl_h+set}" = set; then
  6279   { echo "$as_me:$LINENO: checking for libintl.h" >&5
  6280 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
  6281 if test "${ac_cv_header_libintl_h+set}" = set; then
  6282   echo $ECHO_N "(cached) $ECHO_C" >&6
  6283 fi
  6284 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
  6285 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
  6286 else
  6287   # Is the header compilable?
  6288 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
  6289 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
  6290 cat >conftest.$ac_ext <<_ACEOF
  6291 /* confdefs.h.  */
  6292 _ACEOF
  6293 cat confdefs.h >>conftest.$ac_ext
  6294 cat >>conftest.$ac_ext <<_ACEOF
  6295 /* end confdefs.h.  */
  6296 $ac_includes_default
  6297 #include <libintl.h>
  6298 _ACEOF
  6299 rm -f conftest.$ac_objext
  6300 if { (ac_try="$ac_compile"
  6301 case "(($ac_try" in
  6302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6303   *) ac_try_echo=$ac_try;;
  6304 esac
  6305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6306   (eval "$ac_compile") 2>conftest.er1
  6307   ac_status=$?
  6308   grep -v '^ *+' conftest.er1 >conftest.err
  6309   rm -f conftest.er1
  6310   cat conftest.err >&5
  6311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6312   (exit $ac_status); } && {
  6313 	 test -z "$ac_c_werror_flag" ||
  6314 	 test ! -s conftest.err
  6315        } && test -s conftest.$ac_objext; then
  6316   ac_header_compiler=yes
  6317 else
  6318   echo "$as_me: failed program was:" >&5
  6319 sed 's/^/| /' conftest.$ac_ext >&5
  6321 	ac_header_compiler=no
  6322 fi
  6324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6325 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6326 echo "${ECHO_T}$ac_header_compiler" >&6; }
  6328 # Is the header present?
  6329 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
  6330 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
  6331 cat >conftest.$ac_ext <<_ACEOF
  6332 /* confdefs.h.  */
  6333 _ACEOF
  6334 cat confdefs.h >>conftest.$ac_ext
  6335 cat >>conftest.$ac_ext <<_ACEOF
  6336 /* end confdefs.h.  */
  6337 #include <libintl.h>
  6338 _ACEOF
  6339 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6340 case "(($ac_try" in
  6341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6342   *) ac_try_echo=$ac_try;;
  6343 esac
  6344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6345   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6346   ac_status=$?
  6347   grep -v '^ *+' conftest.er1 >conftest.err
  6348   rm -f conftest.er1
  6349   cat conftest.err >&5
  6350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6351   (exit $ac_status); } >/dev/null && {
  6352 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6353 	 test ! -s conftest.err
  6354        }; then
  6355   ac_header_preproc=yes
  6356 else
  6357   echo "$as_me: failed program was:" >&5
  6358 sed 's/^/| /' conftest.$ac_ext >&5
  6360   ac_header_preproc=no
  6361 fi
  6363 rm -f conftest.err conftest.$ac_ext
  6364 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6365 echo "${ECHO_T}$ac_header_preproc" >&6; }
  6367 # So?  What about this header?
  6368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6369   yes:no: )
  6370     { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  6371 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6372     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
  6373 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
  6374     ac_header_preproc=yes
  6375     ;;
  6376   no:yes:* )
  6377     { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
  6378 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
  6379     { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
  6380 echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
  6381     { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
  6382 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
  6383     { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
  6384 echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  6385     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
  6386 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
  6387     { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
  6388 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
  6390     ;;
  6391 esac
  6392 { echo "$as_me:$LINENO: checking for libintl.h" >&5
  6393 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
  6394 if test "${ac_cv_header_libintl_h+set}" = set; then
  6395   echo $ECHO_N "(cached) $ECHO_C" >&6
  6396 else
  6397   ac_cv_header_libintl_h=$ac_header_preproc
  6398 fi
  6399 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
  6400 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
  6402 fi
  6403 if test $ac_cv_header_libintl_h = yes; then
  6404   gt_cv_func_dgettext_libintl="no"
  6405       libintl_extra_libs=""
  6408       # First check in libc
  6410       { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
  6411 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
  6412 if test "${gt_cv_func_ngettext_libc+set}" = set; then
  6413   echo $ECHO_N "(cached) $ECHO_C" >&6
  6414 else
  6415   cat >conftest.$ac_ext <<_ACEOF
  6416 /* confdefs.h.  */
  6417 _ACEOF
  6418 cat confdefs.h >>conftest.$ac_ext
  6419 cat >>conftest.$ac_ext <<_ACEOF
  6420 /* end confdefs.h.  */
  6422 #include <libintl.h>
  6424 int
  6425 main ()
  6427 return !ngettext ("","", 1)
  6429   return 0;
  6431 _ACEOF
  6432 rm -f conftest.$ac_objext conftest$ac_exeext
  6433 if { (ac_try="$ac_link"
  6434 case "(($ac_try" in
  6435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6436   *) ac_try_echo=$ac_try;;
  6437 esac
  6438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6439   (eval "$ac_link") 2>conftest.er1
  6440   ac_status=$?
  6441   grep -v '^ *+' conftest.er1 >conftest.err
  6442   rm -f conftest.er1
  6443   cat conftest.err >&5
  6444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6445   (exit $ac_status); } && {
  6446 	 test -z "$ac_c_werror_flag" ||
  6447 	 test ! -s conftest.err
  6448        } && test -s conftest$ac_exeext &&
  6449        $as_test_x conftest$ac_exeext; then
  6450   gt_cv_func_ngettext_libc=yes
  6451 else
  6452   echo "$as_me: failed program was:" >&5
  6453 sed 's/^/| /' conftest.$ac_ext >&5
  6455 	gt_cv_func_ngettext_libc=no
  6456 fi
  6458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6459       conftest$ac_exeext conftest.$ac_ext
  6461 fi
  6462 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
  6463 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
  6465       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
  6466 	      { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
  6467 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
  6468 if test "${gt_cv_func_dgettext_libc+set}" = set; then
  6469   echo $ECHO_N "(cached) $ECHO_C" >&6
  6470 else
  6471   cat >conftest.$ac_ext <<_ACEOF
  6472 /* confdefs.h.  */
  6473 _ACEOF
  6474 cat confdefs.h >>conftest.$ac_ext
  6475 cat >>conftest.$ac_ext <<_ACEOF
  6476 /* end confdefs.h.  */
  6478 #include <libintl.h>
  6480 int
  6481 main ()
  6483 return !dgettext ("","")
  6485   return 0;
  6487 _ACEOF
  6488 rm -f conftest.$ac_objext conftest$ac_exeext
  6489 if { (ac_try="$ac_link"
  6490 case "(($ac_try" in
  6491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6492   *) ac_try_echo=$ac_try;;
  6493 esac
  6494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6495   (eval "$ac_link") 2>conftest.er1
  6496   ac_status=$?
  6497   grep -v '^ *+' conftest.er1 >conftest.err
  6498   rm -f conftest.er1
  6499   cat conftest.err >&5
  6500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6501   (exit $ac_status); } && {
  6502 	 test -z "$ac_c_werror_flag" ||
  6503 	 test ! -s conftest.err
  6504        } && test -s conftest$ac_exeext &&
  6505        $as_test_x conftest$ac_exeext; then
  6506   gt_cv_func_dgettext_libc=yes
  6507 else
  6508   echo "$as_me: failed program was:" >&5
  6509 sed 's/^/| /' conftest.$ac_ext >&5
  6511 	gt_cv_func_dgettext_libc=no
  6512 fi
  6514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6515       conftest$ac_exeext conftest.$ac_ext
  6517 fi
  6518 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
  6519 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
  6520       fi
  6522       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
  6524 for ac_func in bind_textdomain_codeset
  6525 do
  6526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  6527 { echo "$as_me:$LINENO: checking for $ac_func" >&5
  6528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  6529 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  6530   echo $ECHO_N "(cached) $ECHO_C" >&6
  6531 else
  6532   cat >conftest.$ac_ext <<_ACEOF
  6533 /* confdefs.h.  */
  6534 _ACEOF
  6535 cat confdefs.h >>conftest.$ac_ext
  6536 cat >>conftest.$ac_ext <<_ACEOF
  6537 /* end confdefs.h.  */
  6538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6539    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  6540 #define $ac_func innocuous_$ac_func
  6542 /* System header to define __stub macros and hopefully few prototypes,
  6543     which can conflict with char $ac_func (); below.
  6544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6545     <limits.h> exists even on freestanding compilers.  */
  6547 #ifdef __STDC__
  6548 # include <limits.h>
  6549 #else
  6550 # include <assert.h>
  6551 #endif
  6553 #undef $ac_func
  6555 /* Override any GCC internal prototype to avoid an error.
  6556    Use char because int might match the return type of a GCC
  6557    builtin and then its argument prototype would still apply.  */
  6558 #ifdef __cplusplus
  6559 extern "C"
  6560 #endif
  6561 char $ac_func ();
  6562 /* The GNU C library defines this for functions which it implements
  6563     to always fail with ENOSYS.  Some functions are actually named
  6564     something starting with __ and the normal name is an alias.  */
  6565 #if defined __stub_$ac_func || defined __stub___$ac_func
  6566 choke me
  6567 #endif
  6569 int
  6570 main ()
  6572 return $ac_func ();
  6574   return 0;
  6576 _ACEOF
  6577 rm -f conftest.$ac_objext conftest$ac_exeext
  6578 if { (ac_try="$ac_link"
  6579 case "(($ac_try" in
  6580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6581   *) ac_try_echo=$ac_try;;
  6582 esac
  6583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6584   (eval "$ac_link") 2>conftest.er1
  6585   ac_status=$?
  6586   grep -v '^ *+' conftest.er1 >conftest.err
  6587   rm -f conftest.er1
  6588   cat conftest.err >&5
  6589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6590   (exit $ac_status); } && {
  6591 	 test -z "$ac_c_werror_flag" ||
  6592 	 test ! -s conftest.err
  6593        } && test -s conftest$ac_exeext &&
  6594        $as_test_x conftest$ac_exeext; then
  6595   eval "$as_ac_var=yes"
  6596 else
  6597   echo "$as_me: failed program was:" >&5
  6598 sed 's/^/| /' conftest.$ac_ext >&5
  6600 	eval "$as_ac_var=no"
  6601 fi
  6603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6604       conftest$ac_exeext conftest.$ac_ext
  6605 fi
  6606 ac_res=`eval echo '${'$as_ac_var'}'`
  6607 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  6608 echo "${ECHO_T}$ac_res" >&6; }
  6609 if test `eval echo '${'$as_ac_var'}'` = yes; then
  6610   cat >>confdefs.h <<_ACEOF
  6611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  6612 _ACEOF
  6614 fi
  6615 done
  6617       fi
  6620       # If we don't have everything we want, check in libintl
  6622       if test "$gt_cv_func_dgettext_libc" != "yes" \
  6623 	 || test "$gt_cv_func_ngettext_libc" != "yes" \
  6624          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
  6626         { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
  6627 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
  6628 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
  6629   echo $ECHO_N "(cached) $ECHO_C" >&6
  6630 else
  6631   ac_check_lib_save_LIBS=$LIBS
  6632 LIBS="-lintl  $LIBS"
  6633 cat >conftest.$ac_ext <<_ACEOF
  6634 /* confdefs.h.  */
  6635 _ACEOF
  6636 cat confdefs.h >>conftest.$ac_ext
  6637 cat >>conftest.$ac_ext <<_ACEOF
  6638 /* end confdefs.h.  */
  6640 /* Override any GCC internal prototype to avoid an error.
  6641    Use char because int might match the return type of a GCC
  6642    builtin and then its argument prototype would still apply.  */
  6643 #ifdef __cplusplus
  6644 extern "C"
  6645 #endif
  6646 char bindtextdomain ();
  6647 int
  6648 main ()
  6650 return bindtextdomain ();
  6652   return 0;
  6654 _ACEOF
  6655 rm -f conftest.$ac_objext conftest$ac_exeext
  6656 if { (ac_try="$ac_link"
  6657 case "(($ac_try" in
  6658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6659   *) ac_try_echo=$ac_try;;
  6660 esac
  6661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6662   (eval "$ac_link") 2>conftest.er1
  6663   ac_status=$?
  6664   grep -v '^ *+' conftest.er1 >conftest.err
  6665   rm -f conftest.er1
  6666   cat conftest.err >&5
  6667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6668   (exit $ac_status); } && {
  6669 	 test -z "$ac_c_werror_flag" ||
  6670 	 test ! -s conftest.err
  6671        } && test -s conftest$ac_exeext &&
  6672        $as_test_x conftest$ac_exeext; then
  6673   ac_cv_lib_intl_bindtextdomain=yes
  6674 else
  6675   echo "$as_me: failed program was:" >&5
  6676 sed 's/^/| /' conftest.$ac_ext >&5
  6678 	ac_cv_lib_intl_bindtextdomain=no
  6679 fi
  6681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6682       conftest$ac_exeext conftest.$ac_ext
  6683 LIBS=$ac_check_lib_save_LIBS
  6684 fi
  6685 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
  6686 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
  6687 if test $ac_cv_lib_intl_bindtextdomain = yes; then
  6688   { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
  6689 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
  6690 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
  6691   echo $ECHO_N "(cached) $ECHO_C" >&6
  6692 else
  6693   ac_check_lib_save_LIBS=$LIBS
  6694 LIBS="-lintl  $LIBS"
  6695 cat >conftest.$ac_ext <<_ACEOF
  6696 /* confdefs.h.  */
  6697 _ACEOF
  6698 cat confdefs.h >>conftest.$ac_ext
  6699 cat >>conftest.$ac_ext <<_ACEOF
  6700 /* end confdefs.h.  */
  6702 /* Override any GCC internal prototype to avoid an error.
  6703    Use char because int might match the return type of a GCC
  6704    builtin and then its argument prototype would still apply.  */
  6705 #ifdef __cplusplus
  6706 extern "C"
  6707 #endif
  6708 char ngettext ();
  6709 int
  6710 main ()
  6712 return ngettext ();
  6714   return 0;
  6716 _ACEOF
  6717 rm -f conftest.$ac_objext conftest$ac_exeext
  6718 if { (ac_try="$ac_link"
  6719 case "(($ac_try" in
  6720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6721   *) ac_try_echo=$ac_try;;
  6722 esac
  6723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6724   (eval "$ac_link") 2>conftest.er1
  6725   ac_status=$?
  6726   grep -v '^ *+' conftest.er1 >conftest.err
  6727   rm -f conftest.er1
  6728   cat conftest.err >&5
  6729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6730   (exit $ac_status); } && {
  6731 	 test -z "$ac_c_werror_flag" ||
  6732 	 test ! -s conftest.err
  6733        } && test -s conftest$ac_exeext &&
  6734        $as_test_x conftest$ac_exeext; then
  6735   ac_cv_lib_intl_ngettext=yes
  6736 else
  6737   echo "$as_me: failed program was:" >&5
  6738 sed 's/^/| /' conftest.$ac_ext >&5
  6740 	ac_cv_lib_intl_ngettext=no
  6741 fi
  6743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6744       conftest$ac_exeext conftest.$ac_ext
  6745 LIBS=$ac_check_lib_save_LIBS
  6746 fi
  6747 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
  6748 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
  6749 if test $ac_cv_lib_intl_ngettext = yes; then
  6750   { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
  6751 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
  6752 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
  6753   echo $ECHO_N "(cached) $ECHO_C" >&6
  6754 else
  6755   ac_check_lib_save_LIBS=$LIBS
  6756 LIBS="-lintl  $LIBS"
  6757 cat >conftest.$ac_ext <<_ACEOF
  6758 /* confdefs.h.  */
  6759 _ACEOF
  6760 cat confdefs.h >>conftest.$ac_ext
  6761 cat >>conftest.$ac_ext <<_ACEOF
  6762 /* end confdefs.h.  */
  6764 /* Override any GCC internal prototype to avoid an error.
  6765    Use char because int might match the return type of a GCC
  6766    builtin and then its argument prototype would still apply.  */
  6767 #ifdef __cplusplus
  6768 extern "C"
  6769 #endif
  6770 char dgettext ();
  6771 int
  6772 main ()
  6774 return dgettext ();
  6776   return 0;
  6778 _ACEOF
  6779 rm -f conftest.$ac_objext conftest$ac_exeext
  6780 if { (ac_try="$ac_link"
  6781 case "(($ac_try" in
  6782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6783   *) ac_try_echo=$ac_try;;
  6784 esac
  6785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6786   (eval "$ac_link") 2>conftest.er1
  6787   ac_status=$?
  6788   grep -v '^ *+' conftest.er1 >conftest.err
  6789   rm -f conftest.er1
  6790   cat conftest.err >&5
  6791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6792   (exit $ac_status); } && {
  6793 	 test -z "$ac_c_werror_flag" ||
  6794 	 test ! -s conftest.err
  6795        } && test -s conftest$ac_exeext &&
  6796        $as_test_x conftest$ac_exeext; then
  6797   ac_cv_lib_intl_dgettext=yes
  6798 else
  6799   echo "$as_me: failed program was:" >&5
  6800 sed 's/^/| /' conftest.$ac_ext >&5
  6802 	ac_cv_lib_intl_dgettext=no
  6803 fi
  6805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6806       conftest$ac_exeext conftest.$ac_ext
  6807 LIBS=$ac_check_lib_save_LIBS
  6808 fi
  6809 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
  6810 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
  6811 if test $ac_cv_lib_intl_dgettext = yes; then
  6812   gt_cv_func_dgettext_libintl=yes
  6813 fi
  6815 fi
  6817 fi
  6820 	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
  6821 	  { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
  6822 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
  6823 	  { echo "$as_me:$LINENO: result: " >&5
  6824 echo "${ECHO_T}" >&6; }
  6825   	  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
  6826 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
  6827 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
  6828   echo $ECHO_N "(cached) $ECHO_C" >&6
  6829 else
  6830   ac_check_lib_save_LIBS=$LIBS
  6831 LIBS="-lintl -liconv $LIBS"
  6832 cat >conftest.$ac_ext <<_ACEOF
  6833 /* confdefs.h.  */
  6834 _ACEOF
  6835 cat confdefs.h >>conftest.$ac_ext
  6836 cat >>conftest.$ac_ext <<_ACEOF
  6837 /* end confdefs.h.  */
  6839 /* Override any GCC internal prototype to avoid an error.
  6840    Use char because int might match the return type of a GCC
  6841    builtin and then its argument prototype would still apply.  */
  6842 #ifdef __cplusplus
  6843 extern "C"
  6844 #endif
  6845 char ngettext ();
  6846 int
  6847 main ()
  6849 return ngettext ();
  6851   return 0;
  6853 _ACEOF
  6854 rm -f conftest.$ac_objext conftest$ac_exeext
  6855 if { (ac_try="$ac_link"
  6856 case "(($ac_try" in
  6857   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6858   *) ac_try_echo=$ac_try;;
  6859 esac
  6860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6861   (eval "$ac_link") 2>conftest.er1
  6862   ac_status=$?
  6863   grep -v '^ *+' conftest.er1 >conftest.err
  6864   rm -f conftest.er1
  6865   cat conftest.err >&5
  6866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6867   (exit $ac_status); } && {
  6868 	 test -z "$ac_c_werror_flag" ||
  6869 	 test ! -s conftest.err
  6870        } && test -s conftest$ac_exeext &&
  6871        $as_test_x conftest$ac_exeext; then
  6872   ac_cv_lib_intl_ngettext=yes
  6873 else
  6874   echo "$as_me: failed program was:" >&5
  6875 sed 's/^/| /' conftest.$ac_ext >&5
  6877 	ac_cv_lib_intl_ngettext=no
  6878 fi
  6880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6881       conftest$ac_exeext conftest.$ac_ext
  6882 LIBS=$ac_check_lib_save_LIBS
  6883 fi
  6884 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
  6885 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
  6886 if test $ac_cv_lib_intl_ngettext = yes; then
  6887   { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
  6888 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
  6889 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
  6890   echo $ECHO_N "(cached) $ECHO_C" >&6
  6891 else
  6892   ac_check_lib_save_LIBS=$LIBS
  6893 LIBS="-lintl -liconv $LIBS"
  6894 cat >conftest.$ac_ext <<_ACEOF
  6895 /* confdefs.h.  */
  6896 _ACEOF
  6897 cat confdefs.h >>conftest.$ac_ext
  6898 cat >>conftest.$ac_ext <<_ACEOF
  6899 /* end confdefs.h.  */
  6901 /* Override any GCC internal prototype to avoid an error.
  6902    Use char because int might match the return type of a GCC
  6903    builtin and then its argument prototype would still apply.  */
  6904 #ifdef __cplusplus
  6905 extern "C"
  6906 #endif
  6907 char dcgettext ();
  6908 int
  6909 main ()
  6911 return dcgettext ();
  6913   return 0;
  6915 _ACEOF
  6916 rm -f conftest.$ac_objext conftest$ac_exeext
  6917 if { (ac_try="$ac_link"
  6918 case "(($ac_try" in
  6919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6920   *) ac_try_echo=$ac_try;;
  6921 esac
  6922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6923   (eval "$ac_link") 2>conftest.er1
  6924   ac_status=$?
  6925   grep -v '^ *+' conftest.er1 >conftest.err
  6926   rm -f conftest.er1
  6927   cat conftest.err >&5
  6928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6929   (exit $ac_status); } && {
  6930 	 test -z "$ac_c_werror_flag" ||
  6931 	 test ! -s conftest.err
  6932        } && test -s conftest$ac_exeext &&
  6933        $as_test_x conftest$ac_exeext; then
  6934   ac_cv_lib_intl_dcgettext=yes
  6935 else
  6936   echo "$as_me: failed program was:" >&5
  6937 sed 's/^/| /' conftest.$ac_ext >&5
  6939 	ac_cv_lib_intl_dcgettext=no
  6940 fi
  6942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6943       conftest$ac_exeext conftest.$ac_ext
  6944 LIBS=$ac_check_lib_save_LIBS
  6945 fi
  6946 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
  6947 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
  6948 if test $ac_cv_lib_intl_dcgettext = yes; then
  6949   gt_cv_func_dgettext_libintl=yes
  6950 			libintl_extra_libs=-liconv
  6951 else
  6953 fi
  6955 else
  6957 fi
  6959         fi
  6962         # If we found libintl, then check in it for bind_textdomain_codeset();
  6963         # we'll prefer libc if neither have bind_textdomain_codeset(),
  6964         # and both have dgettext and ngettext
  6966         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
  6967           glib_save_LIBS="$LIBS"
  6968           LIBS="$LIBS -lintl $libintl_extra_libs"
  6969           unset ac_cv_func_bind_textdomain_codeset
  6971 for ac_func in bind_textdomain_codeset
  6972 do
  6973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  6974 { echo "$as_me:$LINENO: checking for $ac_func" >&5
  6975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  6976 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  6977   echo $ECHO_N "(cached) $ECHO_C" >&6
  6978 else
  6979   cat >conftest.$ac_ext <<_ACEOF
  6980 /* confdefs.h.  */
  6981 _ACEOF
  6982 cat confdefs.h >>conftest.$ac_ext
  6983 cat >>conftest.$ac_ext <<_ACEOF
  6984 /* end confdefs.h.  */
  6985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6986    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  6987 #define $ac_func innocuous_$ac_func
  6989 /* System header to define __stub macros and hopefully few prototypes,
  6990     which can conflict with char $ac_func (); below.
  6991     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6992     <limits.h> exists even on freestanding compilers.  */
  6994 #ifdef __STDC__
  6995 # include <limits.h>
  6996 #else
  6997 # include <assert.h>
  6998 #endif
  7000 #undef $ac_func
  7002 /* Override any GCC internal prototype to avoid an error.
  7003    Use char because int might match the return type of a GCC
  7004    builtin and then its argument prototype would still apply.  */
  7005 #ifdef __cplusplus
  7006 extern "C"
  7007 #endif
  7008 char $ac_func ();
  7009 /* The GNU C library defines this for functions which it implements
  7010     to always fail with ENOSYS.  Some functions are actually named
  7011     something starting with __ and the normal name is an alias.  */
  7012 #if defined __stub_$ac_func || defined __stub___$ac_func
  7013 choke me
  7014 #endif
  7016 int
  7017 main ()
  7019 return $ac_func ();
  7021   return 0;
  7023 _ACEOF
  7024 rm -f conftest.$ac_objext conftest$ac_exeext
  7025 if { (ac_try="$ac_link"
  7026 case "(($ac_try" in
  7027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7028   *) ac_try_echo=$ac_try;;
  7029 esac
  7030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7031   (eval "$ac_link") 2>conftest.er1
  7032   ac_status=$?
  7033   grep -v '^ *+' conftest.er1 >conftest.err
  7034   rm -f conftest.er1
  7035   cat conftest.err >&5
  7036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7037   (exit $ac_status); } && {
  7038 	 test -z "$ac_c_werror_flag" ||
  7039 	 test ! -s conftest.err
  7040        } && test -s conftest$ac_exeext &&
  7041        $as_test_x conftest$ac_exeext; then
  7042   eval "$as_ac_var=yes"
  7043 else
  7044   echo "$as_me: failed program was:" >&5
  7045 sed 's/^/| /' conftest.$ac_ext >&5
  7047 	eval "$as_ac_var=no"
  7048 fi
  7050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7051       conftest$ac_exeext conftest.$ac_ext
  7052 fi
  7053 ac_res=`eval echo '${'$as_ac_var'}'`
  7054 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  7055 echo "${ECHO_T}$ac_res" >&6; }
  7056 if test `eval echo '${'$as_ac_var'}'` = yes; then
  7057   cat >>confdefs.h <<_ACEOF
  7058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  7059 _ACEOF
  7061 fi
  7062 done
  7064           LIBS="$glib_save_LIBS"
  7066           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
  7067             gt_cv_func_dgettext_libc=no
  7068           else
  7069             if test "$gt_cv_func_dgettext_libc" = "yes" \
  7070 		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
  7071               gt_cv_func_dgettext_libintl=no
  7072             fi
  7073           fi
  7074         fi
  7075       fi
  7077       if test "$gt_cv_func_dgettext_libc" = "yes" \
  7078 	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
  7079         gt_cv_have_gettext=yes
  7080       fi
  7082       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
  7083         INTLLIBS="-lintl $libintl_extra_libs"
  7084       fi
  7086       if test "$gt_cv_have_gettext" = "yes"; then
  7088 cat >>confdefs.h <<\_ACEOF
  7089 #define HAVE_GETTEXT 1
  7090 _ACEOF
  7092 	# Extract the first word of "msgfmt", so it can be a program name with args.
  7093 set dummy msgfmt; ac_word=$2
  7094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  7095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  7096 if test "${ac_cv_path_MSGFMT+set}" = set; then
  7097   echo $ECHO_N "(cached) $ECHO_C" >&6
  7098 else
  7099   case "$MSGFMT" in
  7100   /*)
  7101   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
  7102   ;;
  7103   *)
  7104   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  7105   for ac_dir in $PATH; do
  7106     test -z "$ac_dir" && ac_dir=.
  7107     if test -f $ac_dir/$ac_word; then
  7108       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
  7109 	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
  7110 	break
  7111       fi
  7112     fi
  7113   done
  7114   IFS="$ac_save_ifs"
  7115   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
  7116   ;;
  7117 esac
  7118 fi
  7119 MSGFMT="$ac_cv_path_MSGFMT"
  7120 if test "$MSGFMT" != "no"; then
  7121   { echo "$as_me:$LINENO: result: $MSGFMT" >&5
  7122 echo "${ECHO_T}$MSGFMT" >&6; }
  7123 else
  7124   { echo "$as_me:$LINENO: result: no" >&5
  7125 echo "${ECHO_T}no" >&6; }
  7126 fi
  7127 	if test "$MSGFMT" != "no"; then
  7128           glib_save_LIBS="$LIBS"
  7129           LIBS="$LIBS $INTLLIBS"
  7131 for ac_func in dcgettext
  7132 do
  7133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  7134 { echo "$as_me:$LINENO: checking for $ac_func" >&5
  7135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  7136 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  7137   echo $ECHO_N "(cached) $ECHO_C" >&6
  7138 else
  7139   cat >conftest.$ac_ext <<_ACEOF
  7140 /* confdefs.h.  */
  7141 _ACEOF
  7142 cat confdefs.h >>conftest.$ac_ext
  7143 cat >>conftest.$ac_ext <<_ACEOF
  7144 /* end confdefs.h.  */
  7145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  7146    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  7147 #define $ac_func innocuous_$ac_func
  7149 /* System header to define __stub macros and hopefully few prototypes,
  7150     which can conflict with char $ac_func (); below.
  7151     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7152     <limits.h> exists even on freestanding compilers.  */
  7154 #ifdef __STDC__
  7155 # include <limits.h>
  7156 #else
  7157 # include <assert.h>
  7158 #endif
  7160 #undef $ac_func
  7162 /* Override any GCC internal prototype to avoid an error.
  7163    Use char because int might match the return type of a GCC
  7164    builtin and then its argument prototype would still apply.  */
  7165 #ifdef __cplusplus
  7166 extern "C"
  7167 #endif
  7168 char $ac_func ();
  7169 /* The GNU C library defines this for functions which it implements
  7170     to always fail with ENOSYS.  Some functions are actually named
  7171     something starting with __ and the normal name is an alias.  */
  7172 #if defined __stub_$ac_func || defined __stub___$ac_func
  7173 choke me
  7174 #endif
  7176 int
  7177 main ()
  7179 return $ac_func ();
  7181   return 0;
  7183 _ACEOF
  7184 rm -f conftest.$ac_objext conftest$ac_exeext
  7185 if { (ac_try="$ac_link"
  7186 case "(($ac_try" in
  7187   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7188   *) ac_try_echo=$ac_try;;
  7189 esac
  7190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7191   (eval "$ac_link") 2>conftest.er1
  7192   ac_status=$?
  7193   grep -v '^ *+' conftest.er1 >conftest.err
  7194   rm -f conftest.er1
  7195   cat conftest.err >&5
  7196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7197   (exit $ac_status); } && {
  7198 	 test -z "$ac_c_werror_flag" ||
  7199 	 test ! -s conftest.err
  7200        } && test -s conftest$ac_exeext &&
  7201        $as_test_x conftest$ac_exeext; then
  7202   eval "$as_ac_var=yes"
  7203 else
  7204   echo "$as_me: failed program was:" >&5
  7205 sed 's/^/| /' conftest.$ac_ext >&5
  7207 	eval "$as_ac_var=no"
  7208 fi
  7210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7211       conftest$ac_exeext conftest.$ac_ext
  7212 fi
  7213 ac_res=`eval echo '${'$as_ac_var'}'`
  7214 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  7215 echo "${ECHO_T}$ac_res" >&6; }
  7216 if test `eval echo '${'$as_ac_var'}'` = yes; then
  7217   cat >>confdefs.h <<_ACEOF
  7218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  7219 _ACEOF
  7221 fi
  7222 done
  7224 	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
  7225 set dummy gmsgfmt; ac_word=$2
  7226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  7227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  7228 if test "${ac_cv_path_GMSGFMT+set}" = set; then
  7229   echo $ECHO_N "(cached) $ECHO_C" >&6
  7230 else
  7231   case $GMSGFMT in
  7232   [\\/]* | ?:[\\/]*)
  7233   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
  7234   ;;
  7235   *)
  7236   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7237 for as_dir in $PATH
  7238 do
  7239   IFS=$as_save_IFS
  7240   test -z "$as_dir" && as_dir=.
  7241   for ac_exec_ext in '' $ac_executable_extensions; do
  7242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7243     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
  7244     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7245     break 2
  7246   fi
  7247 done
  7248 done
  7249 IFS=$as_save_IFS
  7251   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  7252   ;;
  7253 esac
  7254 fi
  7255 GMSGFMT=$ac_cv_path_GMSGFMT
  7256 if test -n "$GMSGFMT"; then
  7257   { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
  7258 echo "${ECHO_T}$GMSGFMT" >&6; }
  7259 else
  7260   { echo "$as_me:$LINENO: result: no" >&5
  7261 echo "${ECHO_T}no" >&6; }
  7262 fi
  7265 	  # Extract the first word of "xgettext", so it can be a program name with args.
  7266 set dummy xgettext; ac_word=$2
  7267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  7268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  7269 if test "${ac_cv_path_XGETTEXT+set}" = set; then
  7270   echo $ECHO_N "(cached) $ECHO_C" >&6
  7271 else
  7272   case "$XGETTEXT" in
  7273   /*)
  7274   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
  7275   ;;
  7276   *)
  7277   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  7278   for ac_dir in $PATH; do
  7279     test -z "$ac_dir" && ac_dir=.
  7280     if test -f $ac_dir/$ac_word; then
  7281       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
  7282 	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
  7283 	break
  7284       fi
  7285     fi
  7286   done
  7287   IFS="$ac_save_ifs"
  7288   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
  7289   ;;
  7290 esac
  7291 fi
  7292 XGETTEXT="$ac_cv_path_XGETTEXT"
  7293 if test "$XGETTEXT" != ":"; then
  7294   { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
  7295 echo "${ECHO_T}$XGETTEXT" >&6; }
  7296 else
  7297   { echo "$as_me:$LINENO: result: no" >&5
  7298 echo "${ECHO_T}no" >&6; }
  7299 fi
  7301 	  cat >conftest.$ac_ext <<_ACEOF
  7302 /* confdefs.h.  */
  7303 _ACEOF
  7304 cat confdefs.h >>conftest.$ac_ext
  7305 cat >>conftest.$ac_ext <<_ACEOF
  7306 /* end confdefs.h.  */
  7308 int
  7309 main ()
  7311 extern int _nl_msg_cat_cntr;
  7312 			 return _nl_msg_cat_cntr
  7314   return 0;
  7316 _ACEOF
  7317 rm -f conftest.$ac_objext conftest$ac_exeext
  7318 if { (ac_try="$ac_link"
  7319 case "(($ac_try" in
  7320   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7321   *) ac_try_echo=$ac_try;;
  7322 esac
  7323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7324   (eval "$ac_link") 2>conftest.er1
  7325   ac_status=$?
  7326   grep -v '^ *+' conftest.er1 >conftest.err
  7327   rm -f conftest.er1
  7328   cat conftest.err >&5
  7329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7330   (exit $ac_status); } && {
  7331 	 test -z "$ac_c_werror_flag" ||
  7332 	 test ! -s conftest.err
  7333        } && test -s conftest$ac_exeext &&
  7334        $as_test_x conftest$ac_exeext; then
  7335   CATOBJEXT=.gmo
  7336              DATADIRNAME=share
  7337 else
  7338   echo "$as_me: failed program was:" >&5
  7339 sed 's/^/| /' conftest.$ac_ext >&5
  7341 	case $host in
  7342 	    *-*-solaris*)
  7343 	    	                	    	                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
  7344 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
  7345 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
  7346   echo $ECHO_N "(cached) $ECHO_C" >&6
  7347 else
  7348   cat >conftest.$ac_ext <<_ACEOF
  7349 /* confdefs.h.  */
  7350 _ACEOF
  7351 cat confdefs.h >>conftest.$ac_ext
  7352 cat >>conftest.$ac_ext <<_ACEOF
  7353 /* end confdefs.h.  */
  7354 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
  7355    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  7356 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
  7358 /* System header to define __stub macros and hopefully few prototypes,
  7359     which can conflict with char bind_textdomain_codeset (); below.
  7360     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7361     <limits.h> exists even on freestanding compilers.  */
  7363 #ifdef __STDC__
  7364 # include <limits.h>
  7365 #else
  7366 # include <assert.h>
  7367 #endif
  7369 #undef bind_textdomain_codeset
  7371 /* Override any GCC internal prototype to avoid an error.
  7372    Use char because int might match the return type of a GCC
  7373    builtin and then its argument prototype would still apply.  */
  7374 #ifdef __cplusplus
  7375 extern "C"
  7376 #endif
  7377 char bind_textdomain_codeset ();
  7378 /* The GNU C library defines this for functions which it implements
  7379     to always fail with ENOSYS.  Some functions are actually named
  7380     something starting with __ and the normal name is an alias.  */
  7381 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
  7382 choke me
  7383 #endif
  7385 int
  7386 main ()
  7388 return bind_textdomain_codeset ();
  7390   return 0;
  7392 _ACEOF
  7393 rm -f conftest.$ac_objext conftest$ac_exeext
  7394 if { (ac_try="$ac_link"
  7395 case "(($ac_try" in
  7396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7397   *) ac_try_echo=$ac_try;;
  7398 esac
  7399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7400   (eval "$ac_link") 2>conftest.er1
  7401   ac_status=$?
  7402   grep -v '^ *+' conftest.er1 >conftest.err
  7403   rm -f conftest.er1
  7404   cat conftest.err >&5
  7405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7406   (exit $ac_status); } && {
  7407 	 test -z "$ac_c_werror_flag" ||
  7408 	 test ! -s conftest.err
  7409        } && test -s conftest$ac_exeext &&
  7410        $as_test_x conftest$ac_exeext; then
  7411   ac_cv_func_bind_textdomain_codeset=yes
  7412 else
  7413   echo "$as_me: failed program was:" >&5
  7414 sed 's/^/| /' conftest.$ac_ext >&5
  7416 	ac_cv_func_bind_textdomain_codeset=no
  7417 fi
  7419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7420       conftest$ac_exeext conftest.$ac_ext
  7421 fi
  7422 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
  7423 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
  7424 if test $ac_cv_func_bind_textdomain_codeset = yes; then
  7425   CATOBJEXT=.gmo
  7426                DATADIRNAME=share
  7427 else
  7428   CATOBJEXT=.mo
  7429                DATADIRNAME=lib
  7430 fi
  7432 	    ;;
  7433 	    *)
  7434 	    CATOBJEXT=.mo
  7435             DATADIRNAME=lib
  7436 	    ;;
  7437 	    esac
  7438 fi
  7440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7441       conftest$ac_exeext conftest.$ac_ext
  7442           LIBS="$glib_save_LIBS"
  7443 	  INSTOBJEXT=.mo
  7444 	else
  7445 	  gt_cv_have_gettext=no
  7446 	fi
  7447       fi
  7449 fi
  7453     if test "$gt_cv_have_gettext" = "yes" ; then
  7455 cat >>confdefs.h <<\_ACEOF
  7456 #define ENABLE_NLS 1
  7457 _ACEOF
  7459     fi
  7461         if test "$XGETTEXT" != ":"; then
  7462                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
  7463         : ;
  7464       else
  7465         { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
  7466 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
  7467         XGETTEXT=":"
  7468       fi
  7469     fi
  7471     # We need to process the po/ directory.
  7472     POSUB=po
  7474     ac_config_commands="$ac_config_commands default-1"
  7477                 for lang in $ALL_LINGUAS; do
  7478       GMOFILES="$GMOFILES $lang.gmo"
  7479       POFILES="$POFILES $lang.po"
  7480     done
  7494    if test "$gt_cv_have_gettext" = "yes"; then
  7495      if test "x$ALL_LINGUAS" = "x"; then
  7496        LINGUAS=
  7497      else
  7498        { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
  7499 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
  7500        NEW_LINGUAS=
  7501        for presentlang in $ALL_LINGUAS; do
  7502          useit=no
  7503          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
  7504            desiredlanguages="$LINGUAS"
  7505          else
  7506            desiredlanguages="$ALL_LINGUAS"
  7507          fi
  7508          for desiredlang in $desiredlanguages; do
  7509  	   # Use the presentlang catalog if desiredlang is
  7510            #   a. equal to presentlang, or
  7511            #   b. a variant of presentlang (because in this case,
  7512            #      presentlang can be used as a fallback for messages
  7513            #      which are not translated in the desiredlang catalog).
  7514            case "$desiredlang" in
  7515              "$presentlang"*) useit=yes;;
  7516            esac
  7517          done
  7518          if test $useit = yes; then
  7519            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
  7520          fi
  7521        done
  7522        LINGUAS=$NEW_LINGUAS
  7523        { echo "$as_me:$LINENO: result: $LINGUAS" >&5
  7524 echo "${ECHO_T}$LINGUAS" >&6; }
  7525      fi
  7527           if test -n "$LINGUAS"; then
  7528        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
  7529      fi
  7530    fi
  7532             MKINSTALLDIRS=
  7533    if test -n "$ac_aux_dir"; then
  7534      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
  7535    fi
  7536    if test -z "$MKINSTALLDIRS"; then
  7537      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
  7538    fi
  7541          test -d po || mkdir po
  7542    if test "x$srcdir" != "x."; then
  7543      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
  7544        posrcprefix="$srcdir/"
  7545      else
  7546        posrcprefix="../$srcdir/"
  7547      fi
  7548    else
  7549      posrcprefix="../"
  7550    fi
  7551    rm -f po/POTFILES
  7552    sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
  7553 	< $srcdir/po/POTFILES.in > po/POTFILES
  7556 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in test/Makefile"
  7558 cat >confcache <<\_ACEOF
  7559 # This file is a shell script that caches the results of configure
  7560 # tests run on this system so they can be shared between configure
  7561 # scripts and configure runs, see configure's option --config-cache.
  7562 # It is not useful on other systems.  If it contains results you don't
  7563 # want to keep, you may remove or edit it.
  7565 # config.status only pays attention to the cache file if you give it
  7566 # the --recheck option to rerun configure.
  7568 # `ac_cv_env_foo' variables (set or unset) will be overridden when
  7569 # loading this file, other *unset* `ac_cv_foo' will be assigned the
  7570 # following values.
  7572 _ACEOF
  7574 # The following way of writing the cache mishandles newlines in values,
  7575 # but we know of no workaround that is simple, portable, and efficient.
  7576 # So, we kill variables containing newlines.
  7577 # Ultrix sh set writes to stderr and can't be redirected directly,
  7578 # and sets the high bit in the cache file unless we assign to the vars.
  7580   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  7581     eval ac_val=\$$ac_var
  7582     case $ac_val in #(
  7583     *${as_nl}*)
  7584       case $ac_var in #(
  7585       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  7586 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  7587       esac
  7588       case $ac_var in #(
  7589       _ | IFS | as_nl) ;; #(
  7590       *) $as_unset $ac_var ;;
  7591       esac ;;
  7592     esac
  7593   done
  7595   (set) 2>&1 |
  7596     case $as_nl`(ac_space=' '; set) 2>&1` in #(
  7597     *${as_nl}ac_space=\ *)
  7598       # `set' does not quote correctly, so add quotes (double-quote
  7599       # substitution turns \\\\ into \\, and sed turns \\ into \).
  7600       sed -n \
  7601 	"s/'/'\\\\''/g;
  7602 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  7603       ;; #(
  7604     *)
  7605       # `set' quotes correctly as required by POSIX, so do not add quotes.
  7606       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  7607       ;;
  7608     esac |
  7609     sort
  7610 ) |
  7611   sed '
  7612      /^ac_cv_env_/b end
  7613      t clear
  7614      :clear
  7615      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  7616      t end
  7617      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  7618      :end' >>confcache
  7619 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  7620   if test -w "$cache_file"; then
  7621     test "x$cache_file" != "x/dev/null" &&
  7622       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  7623 echo "$as_me: updating cache $cache_file" >&6;}
  7624     cat confcache >$cache_file
  7625   else
  7626     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  7627 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  7628   fi
  7629 fi
  7630 rm -f confcache
  7632 test "x$prefix" = xNONE && prefix=$ac_default_prefix
  7633 # Let make expand exec_prefix.
  7634 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  7636 DEFS=-DHAVE_CONFIG_H
  7638 ac_libobjs=
  7639 ac_ltlibobjs=
  7640 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  7641   # 1. Remove the extension, and $U if already installed.
  7642   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  7643   ac_i=`echo "$ac_i" | sed "$ac_script"`
  7644   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  7645   #    will be set to the directory where LIBOBJS objects are built.
  7646   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  7647   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  7648 done
  7649 LIBOBJS=$ac_libobjs
  7651 LTLIBOBJS=$ac_ltlibobjs
  7654 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  7655   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
  7656 Usually this means the macro was only invoked conditionally." >&5
  7657 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
  7658 Usually this means the macro was only invoked conditionally." >&2;}
  7659    { (exit 1); exit 1; }; }
  7660 fi
  7661 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  7662   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  7663 Usually this means the macro was only invoked conditionally." >&5
  7664 echo "$as_me: error: conditional \"AMDEP\" was never defined.
  7665 Usually this means the macro was only invoked conditionally." >&2;}
  7666    { (exit 1); exit 1; }; }
  7667 fi
  7668 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  7669   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  7670 Usually this means the macro was only invoked conditionally." >&5
  7671 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  7672 Usually this means the macro was only invoked conditionally." >&2;}
  7673    { (exit 1); exit 1; }; }
  7674 fi
  7675 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  7676   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  7677 Usually this means the macro was only invoked conditionally." >&5
  7678 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  7679 Usually this means the macro was only invoked conditionally." >&2;}
  7680    { (exit 1); exit 1; }; }
  7681 fi
  7682 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
  7683   { { echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
  7684 Usually this means the macro was only invoked conditionally." >&5
  7685 echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
  7686 Usually this means the macro was only invoked conditionally." >&2;}
  7687    { (exit 1); exit 1; }; }
  7688 fi
  7689 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
  7690   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
  7691 Usually this means the macro was only invoked conditionally." >&5
  7692 echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
  7693 Usually this means the macro was only invoked conditionally." >&2;}
  7694    { (exit 1); exit 1; }; }
  7695 fi
  7696 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
  7697   { { echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
  7698 Usually this means the macro was only invoked conditionally." >&5
  7699 echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
  7700 Usually this means the macro was only invoked conditionally." >&2;}
  7701    { (exit 1); exit 1; }; }
  7702 fi
  7703 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
  7704   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
  7705 Usually this means the macro was only invoked conditionally." >&5
  7706 echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
  7707 Usually this means the macro was only invoked conditionally." >&2;}
  7708    { (exit 1); exit 1; }; }
  7709 fi
  7710 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
  7711   { { echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
  7712 Usually this means the macro was only invoked conditionally." >&5
  7713 echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
  7714 Usually this means the macro was only invoked conditionally." >&2;}
  7715    { (exit 1); exit 1; }; }
  7716 fi
  7718 : ${CONFIG_STATUS=./config.status}
  7719 ac_clean_files_save=$ac_clean_files
  7720 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  7721 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  7722 echo "$as_me: creating $CONFIG_STATUS" >&6;}
  7723 cat >$CONFIG_STATUS <<_ACEOF
  7724 #! $SHELL
  7725 # Generated by $as_me.
  7726 # Run this file to recreate the current configuration.
  7727 # Compiler output produced by configure, useful for debugging
  7728 # configure, is in config.log if it exists.
  7730 debug=false
  7731 ac_cs_recheck=false
  7732 ac_cs_silent=false
  7733 SHELL=\${CONFIG_SHELL-$SHELL}
  7734 _ACEOF
  7736 cat >>$CONFIG_STATUS <<\_ACEOF
  7737 ## --------------------- ##
  7738 ## M4sh Initialization.  ##
  7739 ## --------------------- ##
  7741 # Be more Bourne compatible
  7742 DUALCASE=1; export DUALCASE # for MKS sh
  7743 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  7744   emulate sh
  7745   NULLCMD=:
  7746   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  7747   # is contrary to our usage.  Disable this feature.
  7748   alias -g '${1+"$@"}'='"$@"'
  7749   setopt NO_GLOB_SUBST
  7750 else
  7751   case `(set -o) 2>/dev/null` in
  7752   *posix*) set -o posix ;;
  7753 esac
  7755 fi
  7760 # PATH needs CR
  7761 # Avoid depending upon Character Ranges.
  7762 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  7763 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  7764 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  7765 as_cr_digits='0123456789'
  7766 as_cr_alnum=$as_cr_Letters$as_cr_digits
  7768 # The user is always right.
  7769 if test "${PATH_SEPARATOR+set}" != set; then
  7770   echo "#! /bin/sh" >conf$$.sh
  7771   echo  "exit 0"   >>conf$$.sh
  7772   chmod +x conf$$.sh
  7773   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  7774     PATH_SEPARATOR=';'
  7775   else
  7776     PATH_SEPARATOR=:
  7777   fi
  7778   rm -f conf$$.sh
  7779 fi
  7781 # Support unset when possible.
  7782 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  7783   as_unset=unset
  7784 else
  7785   as_unset=false
  7786 fi
  7789 # IFS
  7790 # We need space, tab and new line, in precisely that order.  Quoting is
  7791 # there to prevent editors from complaining about space-tab.
  7792 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  7793 # splitting by setting IFS to empty value.)
  7794 as_nl='
  7796 IFS=" ""	$as_nl"
  7798 # Find who we are.  Look in the path if we contain no directory separator.
  7799 case $0 in
  7800   *[\\/]* ) as_myself=$0 ;;
  7801   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7802 for as_dir in $PATH
  7803 do
  7804   IFS=$as_save_IFS
  7805   test -z "$as_dir" && as_dir=.
  7806   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  7807 done
  7808 IFS=$as_save_IFS
  7810      ;;
  7811 esac
  7812 # We did not find ourselves, most probably we were run as `sh COMMAND'
  7813 # in which case we are not to be found in the path.
  7814 if test "x$as_myself" = x; then
  7815   as_myself=$0
  7816 fi
  7817 if test ! -f "$as_myself"; then
  7818   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  7819   { (exit 1); exit 1; }
  7820 fi
  7822 # Work around bugs in pre-3.0 UWIN ksh.
  7823 for as_var in ENV MAIL MAILPATH
  7824 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  7825 done
  7826 PS1='$ '
  7827 PS2='> '
  7828 PS4='+ '
  7830 # NLS nuisances.
  7831 for as_var in \
  7832   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  7833   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  7834   LC_TELEPHONE LC_TIME
  7835 do
  7836   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  7837     eval $as_var=C; export $as_var
  7838   else
  7839     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  7840   fi
  7841 done
  7843 # Required to use basename.
  7844 if expr a : '\(a\)' >/dev/null 2>&1 &&
  7845    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  7846   as_expr=expr
  7847 else
  7848   as_expr=false
  7849 fi
  7851 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  7852   as_basename=basename
  7853 else
  7854   as_basename=false
  7855 fi
  7858 # Name of the executable.
  7859 as_me=`$as_basename -- "$0" ||
  7860 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  7861 	 X"$0" : 'X\(//\)$' \| \
  7862 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  7863 echo X/"$0" |
  7864     sed '/^.*\/\([^/][^/]*\)\/*$/{
  7865 	    s//\1/
  7868 	  /^X\/\(\/\/\)$/{
  7869 	    s//\1/
  7872 	  /^X\/\(\/\).*/{
  7873 	    s//\1/
  7876 	  s/.*/./; q'`
  7878 # CDPATH.
  7879 $as_unset CDPATH
  7883   as_lineno_1=$LINENO
  7884   as_lineno_2=$LINENO
  7885   test "x$as_lineno_1" != "x$as_lineno_2" &&
  7886   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  7888   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  7889   # uniformly replaced by the line number.  The first 'sed' inserts a
  7890   # line-number line after each line using $LINENO; the second 'sed'
  7891   # does the real work.  The second script uses 'N' to pair each
  7892   # line-number line with the line containing $LINENO, and appends
  7893   # trailing '-' during substitution so that $LINENO is not a special
  7894   # case at line end.
  7895   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  7896   # scripts with optimization help from Paolo Bonzini.  Blame Lee
  7897   # E. McMahon (1931-1989) for sed's syntax.  :-)
  7898   sed -n '
  7900     /[$]LINENO/=
  7901   ' <$as_myself |
  7902     sed '
  7903       s/[$]LINENO.*/&-/
  7904       t lineno
  7906       :lineno
  7908       :loop
  7909       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  7910       t loop
  7911       s/-\n.*//
  7912     ' >$as_me.lineno &&
  7913   chmod +x "$as_me.lineno" ||
  7914     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  7915    { (exit 1); exit 1; }; }
  7917   # Don't try to exec as it changes $[0], causing all sort of problems
  7918   # (the dirname of $[0] is not the place where we might find the
  7919   # original and so on.  Autoconf is especially sensitive to this).
  7920   . "./$as_me.lineno"
  7921   # Exit status is that of the last command.
  7922   exit
  7926 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  7927   as_dirname=dirname
  7928 else
  7929   as_dirname=false
  7930 fi
  7932 ECHO_C= ECHO_N= ECHO_T=
  7933 case `echo -n x` in
  7934 -n*)
  7935   case `echo 'x\c'` in
  7936   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  7937   *)   ECHO_C='\c';;
  7938   esac;;
  7939 *)
  7940   ECHO_N='-n';;
  7941 esac
  7943 if expr a : '\(a\)' >/dev/null 2>&1 &&
  7944    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  7945   as_expr=expr
  7946 else
  7947   as_expr=false
  7948 fi
  7950 rm -f conf$$ conf$$.exe conf$$.file
  7951 if test -d conf$$.dir; then
  7952   rm -f conf$$.dir/conf$$.file
  7953 else
  7954   rm -f conf$$.dir
  7955   mkdir conf$$.dir
  7956 fi
  7957 echo >conf$$.file
  7958 if ln -s conf$$.file conf$$ 2>/dev/null; then
  7959   as_ln_s='ln -s'
  7960   # ... but there are two gotchas:
  7961   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  7962   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  7963   # In both cases, we have to default to `cp -p'.
  7964   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  7965     as_ln_s='cp -p'
  7966 elif ln conf$$.file conf$$ 2>/dev/null; then
  7967   as_ln_s=ln
  7968 else
  7969   as_ln_s='cp -p'
  7970 fi
  7971 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  7972 rmdir conf$$.dir 2>/dev/null
  7974 if mkdir -p . 2>/dev/null; then
  7975   as_mkdir_p=:
  7976 else
  7977   test -d ./-p && rmdir ./-p
  7978   as_mkdir_p=false
  7979 fi
  7981 if test -x / >/dev/null 2>&1; then
  7982   as_test_x='test -x'
  7983 else
  7984   if ls -dL / >/dev/null 2>&1; then
  7985     as_ls_L_option=L
  7986   else
  7987     as_ls_L_option=
  7988   fi
  7989   as_test_x='
  7990     eval sh -c '\''
  7991       if test -d "$1"; then
  7992         test -d "$1/.";
  7993       else
  7994 	case $1 in
  7995         -*)set "./$1";;
  7996 	esac;
  7997 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  7998 	???[sx]*):;;*)false;;esac;fi
  7999     '\'' sh
  8001 fi
  8002 as_executable_p=$as_test_x
  8004 # Sed expression to map a string onto a valid CPP name.
  8005 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  8007 # Sed expression to map a string onto a valid variable name.
  8008 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  8011 exec 6>&1
  8013 # Save the log message, to keep $[0] and so on meaningful, and to
  8014 # report actual input values of CONFIG_FILES etc. instead of their
  8015 # values after options handling.
  8016 ac_log="
  8017 This file was extended by $as_me, which was
  8018 generated by GNU Autoconf 2.61.  Invocation command line was
  8020   CONFIG_FILES    = $CONFIG_FILES
  8021   CONFIG_HEADERS  = $CONFIG_HEADERS
  8022   CONFIG_LINKS    = $CONFIG_LINKS
  8023   CONFIG_COMMANDS = $CONFIG_COMMANDS
  8024   $ $0 $@
  8026 on `(hostname || uname -n) 2>/dev/null | sed 1q`
  8029 _ACEOF
  8031 cat >>$CONFIG_STATUS <<_ACEOF
  8032 # Files that config.status was made for.
  8033 config_files="$ac_config_files"
  8034 config_headers="$ac_config_headers"
  8035 config_commands="$ac_config_commands"
  8037 _ACEOF
  8039 cat >>$CONFIG_STATUS <<\_ACEOF
  8040 ac_cs_usage="\
  8041 \`$as_me' instantiates files from templates according to the
  8042 current configuration.
  8044 Usage: $0 [OPTIONS] [FILE]...
  8046   -h, --help       print this help, then exit
  8047   -V, --version    print version number and configuration settings, then exit
  8048   -q, --quiet      do not print progress messages
  8049   -d, --debug      don't remove temporary files
  8050       --recheck    update $as_me by reconfiguring in the same conditions
  8051   --file=FILE[:TEMPLATE]
  8052 		   instantiate the configuration file FILE
  8053   --header=FILE[:TEMPLATE]
  8054 		   instantiate the configuration header FILE
  8056 Configuration files:
  8057 $config_files
  8059 Configuration headers:
  8060 $config_headers
  8062 Configuration commands:
  8063 $config_commands
  8065 Report bugs to <bug-autoconf@gnu.org>."
  8067 _ACEOF
  8068 cat >>$CONFIG_STATUS <<_ACEOF
  8069 ac_cs_version="\\
  8070 config.status
  8071 configured by $0, generated by GNU Autoconf 2.61,
  8072   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  8074 Copyright (C) 2006 Free Software Foundation, Inc.
  8075 This config.status script is free software; the Free Software Foundation
  8076 gives unlimited permission to copy, distribute and modify it."
  8078 ac_pwd='$ac_pwd'
  8079 srcdir='$srcdir'
  8080 INSTALL='$INSTALL'
  8081 _ACEOF
  8083 cat >>$CONFIG_STATUS <<\_ACEOF
  8084 # If no file are specified by the user, then we need to provide default
  8085 # value.  By we need to know if files were specified by the user.
  8086 ac_need_defaults=:
  8087 while test $# != 0
  8088 do
  8089   case $1 in
  8090   --*=*)
  8091     ac_option=`expr "X$1" : 'X\([^=]*\)='`
  8092     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  8093     ac_shift=:
  8094     ;;
  8095   *)
  8096     ac_option=$1
  8097     ac_optarg=$2
  8098     ac_shift=shift
  8099     ;;
  8100   esac
  8102   case $ac_option in
  8103   # Handling of the options.
  8104   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  8105     ac_cs_recheck=: ;;
  8106   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  8107     echo "$ac_cs_version"; exit ;;
  8108   --debug | --debu | --deb | --de | --d | -d )
  8109     debug=: ;;
  8110   --file | --fil | --fi | --f )
  8111     $ac_shift
  8112     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  8113     ac_need_defaults=false;;
  8114   --header | --heade | --head | --hea )
  8115     $ac_shift
  8116     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  8117     ac_need_defaults=false;;
  8118   --he | --h)
  8119     # Conflict between --help and --header
  8120     { echo "$as_me: error: ambiguous option: $1
  8121 Try \`$0 --help' for more information." >&2
  8122    { (exit 1); exit 1; }; };;
  8123   --help | --hel | -h )
  8124     echo "$ac_cs_usage"; exit ;;
  8125   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  8126   | -silent | --silent | --silen | --sile | --sil | --si | --s)
  8127     ac_cs_silent=: ;;
  8129   # This is an error.
  8130   -*) { echo "$as_me: error: unrecognized option: $1
  8131 Try \`$0 --help' for more information." >&2
  8132    { (exit 1); exit 1; }; } ;;
  8134   *) ac_config_targets="$ac_config_targets $1"
  8135      ac_need_defaults=false ;;
  8137   esac
  8138   shift
  8139 done
  8141 ac_configure_extra_args=
  8143 if $ac_cs_silent; then
  8144   exec 6>/dev/null
  8145   ac_configure_extra_args="$ac_configure_extra_args --silent"
  8146 fi
  8148 _ACEOF
  8149 cat >>$CONFIG_STATUS <<_ACEOF
  8150 if \$ac_cs_recheck; then
  8151   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  8152   CONFIG_SHELL=$SHELL
  8153   export CONFIG_SHELL
  8154   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  8155 fi
  8157 _ACEOF
  8158 cat >>$CONFIG_STATUS <<\_ACEOF
  8159 exec 5>>config.log
  8161   echo
  8162   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  8163 ## Running $as_me. ##
  8164 _ASBOX
  8165   echo "$ac_log"
  8166 } >&5
  8168 _ACEOF
  8169 cat >>$CONFIG_STATUS <<_ACEOF
  8171 # INIT-COMMANDS
  8173 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  8176 _ACEOF
  8178 cat >>$CONFIG_STATUS <<\_ACEOF
  8180 # Handling of arguments.
  8181 for ac_config_target in $ac_config_targets
  8182 do
  8183   case $ac_config_target in
  8184     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  8185     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  8186     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  8187     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  8188     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  8189     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
  8190     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
  8192   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  8193 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  8194    { (exit 1); exit 1; }; };;
  8195   esac
  8196 done
  8199 # If the user did not use the arguments to specify the items to instantiate,
  8200 # then the envvar interface is used.  Set only those that are not.
  8201 # We use the long form for the default assignment because of an extremely
  8202 # bizarre bug on SunOS 4.1.3.
  8203 if $ac_need_defaults; then
  8204   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  8205   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  8206   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  8207 fi
  8209 # Have a temporary directory for convenience.  Make it in the build tree
  8210 # simply because there is no reason against having it here, and in addition,
  8211 # creating and moving files from /tmp can sometimes cause problems.
  8212 # Hook for its removal unless debugging.
  8213 # Note that there is a small window in which the directory will not be cleaned:
  8214 # after its creation but before its name has been assigned to `$tmp'.
  8215 $debug ||
  8217   tmp=
  8218   trap 'exit_status=$?
  8219   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  8220 ' 0
  8221   trap '{ (exit 1); exit 1; }' 1 2 13 15
  8223 # Create a (secure) tmp directory for tmp files.
  8226   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  8227   test -n "$tmp" && test -d "$tmp"
  8228 }  ||
  8230   tmp=./conf$$-$RANDOM
  8231   (umask 077 && mkdir "$tmp")
  8232 } ||
  8234    echo "$me: cannot create a temporary directory in ." >&2
  8235    { (exit 1); exit 1; }
  8239 # Set up the sed scripts for CONFIG_FILES section.
  8242 # No need to generate the scripts if there are no CONFIG_FILES.
  8243 # This happens for instance when ./config.status config.h
  8244 if test -n "$CONFIG_FILES"; then
  8246 _ACEOF
  8250 ac_delim='%!_!# '
  8251 for ac_last_try in false false false false false :; do
  8252   cat >conf$$subs.sed <<_ACEOF
  8253 SHELL!$SHELL$ac_delim
  8254 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  8255 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  8256 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  8257 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  8258 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  8259 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  8260 exec_prefix!$exec_prefix$ac_delim
  8261 prefix!$prefix$ac_delim
  8262 program_transform_name!$program_transform_name$ac_delim
  8263 bindir!$bindir$ac_delim
  8264 sbindir!$sbindir$ac_delim
  8265 libexecdir!$libexecdir$ac_delim
  8266 datarootdir!$datarootdir$ac_delim
  8267 datadir!$datadir$ac_delim
  8268 sysconfdir!$sysconfdir$ac_delim
  8269 sharedstatedir!$sharedstatedir$ac_delim
  8270 localstatedir!$localstatedir$ac_delim
  8271 includedir!$includedir$ac_delim
  8272 oldincludedir!$oldincludedir$ac_delim
  8273 docdir!$docdir$ac_delim
  8274 infodir!$infodir$ac_delim
  8275 htmldir!$htmldir$ac_delim
  8276 dvidir!$dvidir$ac_delim
  8277 pdfdir!$pdfdir$ac_delim
  8278 psdir!$psdir$ac_delim
  8279 libdir!$libdir$ac_delim
  8280 localedir!$localedir$ac_delim
  8281 mandir!$mandir$ac_delim
  8282 DEFS!$DEFS$ac_delim
  8283 ECHO_C!$ECHO_C$ac_delim
  8284 ECHO_N!$ECHO_N$ac_delim
  8285 ECHO_T!$ECHO_T$ac_delim
  8286 LIBS!$LIBS$ac_delim
  8287 build_alias!$build_alias$ac_delim
  8288 host_alias!$host_alias$ac_delim
  8289 target_alias!$target_alias$ac_delim
  8290 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
  8291 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
  8292 INSTALL_DATA!$INSTALL_DATA$ac_delim
  8293 CYGPATH_W!$CYGPATH_W$ac_delim
  8294 PACKAGE!$PACKAGE$ac_delim
  8295 VERSION!$VERSION$ac_delim
  8296 ACLOCAL!$ACLOCAL$ac_delim
  8297 AUTOCONF!$AUTOCONF$ac_delim
  8298 AUTOMAKE!$AUTOMAKE$ac_delim
  8299 AUTOHEADER!$AUTOHEADER$ac_delim
  8300 MAKEINFO!$MAKEINFO$ac_delim
  8301 AMTAR!$AMTAR$ac_delim
  8302 install_sh!$install_sh$ac_delim
  8303 STRIP!$STRIP$ac_delim
  8304 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
  8305 AWK!$AWK$ac_delim
  8306 SET_MAKE!$SET_MAKE$ac_delim
  8307 am__leading_dot!$am__leading_dot$ac_delim
  8308 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
  8309 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
  8310 MAINT!$MAINT$ac_delim
  8311 CC!$CC$ac_delim
  8312 CFLAGS!$CFLAGS$ac_delim
  8313 LDFLAGS!$LDFLAGS$ac_delim
  8314 CPPFLAGS!$CPPFLAGS$ac_delim
  8315 ac_ct_CC!$ac_ct_CC$ac_delim
  8316 EXEEXT!$EXEEXT$ac_delim
  8317 OBJEXT!$OBJEXT$ac_delim
  8318 DEPDIR!$DEPDIR$ac_delim
  8319 am__include!$am__include$ac_delim
  8320 am__quote!$am__quote$ac_delim
  8321 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
  8322 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
  8323 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
  8324 CCDEPMODE!$CCDEPMODE$ac_delim
  8325 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
  8326 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
  8327 CPP!$CPP$ac_delim
  8328 GREP!$GREP$ac_delim
  8329 EGREP!$EGREP$ac_delim
  8330 build!$build$ac_delim
  8331 build_cpu!$build_cpu$ac_delim
  8332 build_vendor!$build_vendor$ac_delim
  8333 build_os!$build_os$ac_delim
  8334 host!$host$ac_delim
  8335 host_cpu!$host_cpu$ac_delim
  8336 host_vendor!$host_vendor$ac_delim
  8337 host_os!$host_os$ac_delim
  8338 PKG_CONFIG!$PKG_CONFIG$ac_delim
  8339 PACKAGE_CFLAGS!$PACKAGE_CFLAGS$ac_delim
  8340 PACKAGE_LIBS!$PACKAGE_LIBS$ac_delim
  8341 ESOUND_CFLAGS!$ESOUND_CFLAGS$ac_delim
  8342 ESOUND_LIBS!$ESOUND_LIBS$ac_delim
  8343 AUDIO_ESOUND_TRUE!$AUDIO_ESOUND_TRUE$ac_delim
  8344 AUDIO_ESOUND_FALSE!$AUDIO_ESOUND_FALSE$ac_delim
  8345 BUILD_SH4X86_TRUE!$BUILD_SH4X86_TRUE$ac_delim
  8346 BUILD_SH4X86_FALSE!$BUILD_SH4X86_FALSE$ac_delim
  8347 CDROM_LINUX_TRUE!$CDROM_LINUX_TRUE$ac_delim
  8348 CDROM_LINUX_FALSE!$CDROM_LINUX_FALSE$ac_delim
  8349 SHCC!$SHCC$ac_delim
  8350 _ACEOF
  8352   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
  8353     break
  8354   elif $ac_last_try; then
  8355     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  8356 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  8357    { (exit 1); exit 1; }; }
  8358   else
  8359     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  8360   fi
  8361 done
  8363 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  8364 if test -n "$ac_eof"; then
  8365   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  8366   ac_eof=`expr $ac_eof + 1`
  8367 fi
  8369 cat >>$CONFIG_STATUS <<_ACEOF
  8370 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  8371 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  8372 _ACEOF
  8373 sed '
  8374 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  8375 s/^/s,@/; s/!/@,|#_!!_#|/
  8376 :n
  8377 t n
  8378 s/'"$ac_delim"'$/,g/; t
  8379 s/$/\\/; p
  8380 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  8381 ' >>$CONFIG_STATUS <conf$$subs.sed
  8382 rm -f conf$$subs.sed
  8383 cat >>$CONFIG_STATUS <<_ACEOF
  8384 CEOF$ac_eof
  8385 _ACEOF
  8388 ac_delim='%!_!# '
  8389 for ac_last_try in false false false false false :; do
  8390   cat >conf$$subs.sed <<_ACEOF
  8391 SHLD!$SHLD$ac_delim
  8392 SHOBJCOPY!$SHOBJCOPY$ac_delim
  8393 ARMCC!$ARMCC$ac_delim
  8394 ARMLD!$ARMLD$ac_delim
  8395 ARMOBJCOPY!$ARMOBJCOPY$ac_delim
  8396 BUILD_SYSTEST_TRUE!$BUILD_SYSTEST_TRUE$ac_delim
  8397 BUILD_SYSTEST_FALSE!$BUILD_SYSTEST_FALSE$ac_delim
  8398 BUILD_ARMTEST_TRUE!$BUILD_ARMTEST_TRUE$ac_delim
  8399 BUILD_ARMTEST_FALSE!$BUILD_ARMTEST_FALSE$ac_delim
  8400 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
  8401 USE_NLS!$USE_NLS$ac_delim
  8402 MSGFMT!$MSGFMT$ac_delim
  8403 GMSGFMT!$GMSGFMT$ac_delim
  8404 XGETTEXT!$XGETTEXT$ac_delim
  8405 CATALOGS!$CATALOGS$ac_delim
  8406 CATOBJEXT!$CATOBJEXT$ac_delim
  8407 DATADIRNAME!$DATADIRNAME$ac_delim
  8408 GMOFILES!$GMOFILES$ac_delim
  8409 INSTOBJEXT!$INSTOBJEXT$ac_delim
  8410 INTLLIBS!$INTLLIBS$ac_delim
  8411 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
  8412 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
  8413 POFILES!$POFILES$ac_delim
  8414 POSUB!$POSUB$ac_delim
  8415 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
  8416 LIBOBJS!$LIBOBJS$ac_delim
  8417 LTLIBOBJS!$LTLIBOBJS$ac_delim
  8418 _ACEOF
  8420   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 27; then
  8421     break
  8422   elif $ac_last_try; then
  8423     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  8424 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  8425    { (exit 1); exit 1; }; }
  8426   else
  8427     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  8428   fi
  8429 done
  8431 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  8432 if test -n "$ac_eof"; then
  8433   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  8434   ac_eof=`expr $ac_eof + 1`
  8435 fi
  8437 cat >>$CONFIG_STATUS <<_ACEOF
  8438 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
  8439 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
  8440 _ACEOF
  8441 sed '
  8442 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  8443 s/^/s,@/; s/!/@,|#_!!_#|/
  8444 :n
  8445 t n
  8446 s/'"$ac_delim"'$/,g/; t
  8447 s/$/\\/; p
  8448 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  8449 ' >>$CONFIG_STATUS <conf$$subs.sed
  8450 rm -f conf$$subs.sed
  8451 cat >>$CONFIG_STATUS <<_ACEOF
  8452 :end
  8453 s/|#_!!_#|//g
  8454 CEOF$ac_eof
  8455 _ACEOF
  8458 # VPATH may cause trouble with some makes, so we remove $(srcdir),
  8459 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  8460 # trailing colons and then remove the whole line if VPATH becomes empty
  8461 # (actually we leave an empty line to preserve line numbers).
  8462 if test "x$srcdir" = x.; then
  8463   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
  8464 s/:*\$(srcdir):*/:/
  8465 s/:*\${srcdir}:*/:/
  8466 s/:*@srcdir@:*/:/
  8467 s/^\([^=]*=[	 ]*\):*/\1/
  8468 s/:*$//
  8469 s/^[^=]*=[	 ]*$//
  8470 }'
  8471 fi
  8473 cat >>$CONFIG_STATUS <<\_ACEOF
  8474 fi # test -n "$CONFIG_FILES"
  8477 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
  8478 do
  8479   case $ac_tag in
  8480   :[FHLC]) ac_mode=$ac_tag; continue;;
  8481   esac
  8482   case $ac_mode$ac_tag in
  8483   :[FHL]*:*);;
  8484   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  8485 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  8486    { (exit 1); exit 1; }; };;
  8487   :[FH]-) ac_tag=-:-;;
  8488   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  8489   esac
  8490   ac_save_IFS=$IFS
  8491   IFS=:
  8492   set x $ac_tag
  8493   IFS=$ac_save_IFS
  8494   shift
  8495   ac_file=$1
  8496   shift
  8498   case $ac_mode in
  8499   :L) ac_source=$1;;
  8500   :[FH])
  8501     ac_file_inputs=
  8502     for ac_f
  8503     do
  8504       case $ac_f in
  8505       -) ac_f="$tmp/stdin";;
  8506       *) # Look for the file first in the build tree, then in the source tree
  8507 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
  8508 	 # because $ac_f cannot contain `:'.
  8509 	 test -f "$ac_f" ||
  8510 	   case $ac_f in
  8511 	   [\\/$]*) false;;
  8512 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  8513 	   esac ||
  8514 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  8515 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  8516    { (exit 1); exit 1; }; };;
  8517       esac
  8518       ac_file_inputs="$ac_file_inputs $ac_f"
  8519     done
  8521     # Let's still pretend it is `configure' which instantiates (i.e., don't
  8522     # use $as_me), people would be surprised to read:
  8523     #    /* config.h.  Generated by config.status.  */
  8524     configure_input="Generated from "`IFS=:
  8525 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  8526     if test x"$ac_file" != x-; then
  8527       configure_input="$ac_file.  $configure_input"
  8528       { echo "$as_me:$LINENO: creating $ac_file" >&5
  8529 echo "$as_me: creating $ac_file" >&6;}
  8530     fi
  8532     case $ac_tag in
  8533     *:-:* | *:-) cat >"$tmp/stdin";;
  8534     esac
  8535     ;;
  8536   esac
  8538   ac_dir=`$as_dirname -- "$ac_file" ||
  8539 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8540 	 X"$ac_file" : 'X\(//\)[^/]' \| \
  8541 	 X"$ac_file" : 'X\(//\)$' \| \
  8542 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  8543 echo X"$ac_file" |
  8544     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8545 	    s//\1/
  8548 	  /^X\(\/\/\)[^/].*/{
  8549 	    s//\1/
  8552 	  /^X\(\/\/\)$/{
  8553 	    s//\1/
  8556 	  /^X\(\/\).*/{
  8557 	    s//\1/
  8560 	  s/.*/./; q'`
  8561   { as_dir="$ac_dir"
  8562   case $as_dir in #(
  8563   -*) as_dir=./$as_dir;;
  8564   esac
  8565   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  8566     as_dirs=
  8567     while :; do
  8568       case $as_dir in #(
  8569       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  8570       *) as_qdir=$as_dir;;
  8571       esac
  8572       as_dirs="'$as_qdir' $as_dirs"
  8573       as_dir=`$as_dirname -- "$as_dir" ||
  8574 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8575 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  8576 	 X"$as_dir" : 'X\(//\)$' \| \
  8577 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  8578 echo X"$as_dir" |
  8579     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8580 	    s//\1/
  8583 	  /^X\(\/\/\)[^/].*/{
  8584 	    s//\1/
  8587 	  /^X\(\/\/\)$/{
  8588 	    s//\1/
  8591 	  /^X\(\/\).*/{
  8592 	    s//\1/
  8595 	  s/.*/./; q'`
  8596       test -d "$as_dir" && break
  8597     done
  8598     test -z "$as_dirs" || eval "mkdir $as_dirs"
  8599   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  8600 echo "$as_me: error: cannot create directory $as_dir" >&2;}
  8601    { (exit 1); exit 1; }; }; }
  8602   ac_builddir=.
  8604 case "$ac_dir" in
  8605 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  8606 *)
  8607   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  8608   # A ".." for each directory in $ac_dir_suffix.
  8609   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  8610   case $ac_top_builddir_sub in
  8611   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  8612   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  8613   esac ;;
  8614 esac
  8615 ac_abs_top_builddir=$ac_pwd
  8616 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  8617 # for backward compatibility:
  8618 ac_top_builddir=$ac_top_build_prefix
  8620 case $srcdir in
  8621   .)  # We are building in place.
  8622     ac_srcdir=.
  8623     ac_top_srcdir=$ac_top_builddir_sub
  8624     ac_abs_top_srcdir=$ac_pwd ;;
  8625   [\\/]* | ?:[\\/]* )  # Absolute name.
  8626     ac_srcdir=$srcdir$ac_dir_suffix;
  8627     ac_top_srcdir=$srcdir
  8628     ac_abs_top_srcdir=$srcdir ;;
  8629   *) # Relative name.
  8630     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  8631     ac_top_srcdir=$ac_top_build_prefix$srcdir
  8632     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  8633 esac
  8634 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  8637   case $ac_mode in
  8638   :F)
  8640   # CONFIG_FILE
  8643   case $INSTALL in
  8644   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  8645   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  8646   esac
  8647 _ACEOF
  8649 cat >>$CONFIG_STATUS <<\_ACEOF
  8650 # If the template does not know about datarootdir, expand it.
  8651 # FIXME: This hack should be removed a few years after 2.60.
  8652 ac_datarootdir_hack=; ac_datarootdir_seen=
  8654 case `sed -n '/datarootdir/ {
  8658 /@datadir@/p
  8659 /@docdir@/p
  8660 /@infodir@/p
  8661 /@localedir@/p
  8662 /@mandir@/p
  8663 ' $ac_file_inputs` in
  8664 *datarootdir*) ac_datarootdir_seen=yes;;
  8665 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  8666   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  8667 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  8668 _ACEOF
  8669 cat >>$CONFIG_STATUS <<_ACEOF
  8670   ac_datarootdir_hack='
  8671   s&@datadir@&$datadir&g
  8672   s&@docdir@&$docdir&g
  8673   s&@infodir@&$infodir&g
  8674   s&@localedir@&$localedir&g
  8675   s&@mandir@&$mandir&g
  8676     s&\\\${datarootdir}&$datarootdir&g' ;;
  8677 esac
  8678 _ACEOF
  8680 # Neutralize VPATH when `$srcdir' = `.'.
  8681 # Shell code in configure.ac might set extrasub.
  8682 # FIXME: do we really want to maintain this feature?
  8683 cat >>$CONFIG_STATUS <<_ACEOF
  8684   sed "$ac_vpsub
  8685 $extrasub
  8686 _ACEOF
  8687 cat >>$CONFIG_STATUS <<\_ACEOF
  8688 :t
  8689 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  8690 s&@configure_input@&$configure_input&;t t
  8691 s&@top_builddir@&$ac_top_builddir_sub&;t t
  8692 s&@srcdir@&$ac_srcdir&;t t
  8693 s&@abs_srcdir@&$ac_abs_srcdir&;t t
  8694 s&@top_srcdir@&$ac_top_srcdir&;t t
  8695 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  8696 s&@builddir@&$ac_builddir&;t t
  8697 s&@abs_builddir@&$ac_abs_builddir&;t t
  8698 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  8699 s&@INSTALL@&$ac_INSTALL&;t t
  8700 $ac_datarootdir_hack
  8701 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
  8703 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  8704   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  8705   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  8706   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  8707 which seems to be undefined.  Please make sure it is defined." >&5
  8708 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  8709 which seems to be undefined.  Please make sure it is defined." >&2;}
  8711   rm -f "$tmp/stdin"
  8712   case $ac_file in
  8713   -) cat "$tmp/out"; rm -f "$tmp/out";;
  8714   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  8715   esac
  8716  ;;
  8717   :H)
  8719   # CONFIG_HEADER
  8721 _ACEOF
  8723 # Transform confdefs.h into a sed script `conftest.defines', that
  8724 # substitutes the proper values into config.h.in to produce config.h.
  8725 rm -f conftest.defines conftest.tail
  8726 # First, append a space to every undef/define line, to ease matching.
  8727 echo 's/$/ /' >conftest.defines
  8728 # Then, protect against being on the right side of a sed subst, or in
  8729 # an unquoted here document, in config.status.  If some macros were
  8730 # called several times there might be several #defines for the same
  8731 # symbol, which is useless.  But do not sort them, since the last
  8732 # AC_DEFINE must be honored.
  8733 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  8734 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
  8735 # NAME is the cpp macro being defined, VALUE is the value it is being given.
  8736 # PARAMS is the parameter list in the macro definition--in most cases, it's
  8737 # just an empty string.
  8738 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
  8739 ac_dB='\\)[	 (].*,\\1define\\2'
  8740 ac_dC=' '
  8741 ac_dD=' ,'
  8743 uniq confdefs.h |
  8744   sed -n '
  8745 	t rset
  8746 	:rset
  8747 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
  8748 	t ok
  8750 	:ok
  8751 	s/[\\&,]/\\&/g
  8752 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
  8753 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
  8754   ' >>conftest.defines
  8756 # Remove the space that was appended to ease matching.
  8757 # Then replace #undef with comments.  This is necessary, for
  8758 # example, in the case of _POSIX_SOURCE, which is predefined and required
  8759 # on some systems where configure will not decide to define it.
  8760 # (The regexp can be short, since the line contains either #define or #undef.)
  8761 echo 's/ $//
  8762 s,^[	 #]*u.*,/* & */,' >>conftest.defines
  8764 # Break up conftest.defines:
  8765 ac_max_sed_lines=50
  8767 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
  8768 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
  8769 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
  8770 # et cetera.
  8771 ac_in='$ac_file_inputs'
  8772 ac_out='"$tmp/out1"'
  8773 ac_nxt='"$tmp/out2"'
  8775 while :
  8776 do
  8777   # Write a here document:
  8778     cat >>$CONFIG_STATUS <<_ACEOF
  8779     # First, check the format of the line:
  8780     cat >"\$tmp/defines.sed" <<\\CEOF
  8781 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
  8782 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
  8784 :def
  8785 _ACEOF
  8786   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
  8787   echo 'CEOF
  8788     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
  8789   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
  8790   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
  8791   grep . conftest.tail >/dev/null || break
  8792   rm -f conftest.defines
  8793   mv conftest.tail conftest.defines
  8794 done
  8795 rm -f conftest.defines conftest.tail
  8797 echo "ac_result=$ac_in" >>$CONFIG_STATUS
  8798 cat >>$CONFIG_STATUS <<\_ACEOF
  8799   if test x"$ac_file" != x-; then
  8800     echo "/* $configure_input  */" >"$tmp/config.h"
  8801     cat "$ac_result" >>"$tmp/config.h"
  8802     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
  8803       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  8804 echo "$as_me: $ac_file is unchanged" >&6;}
  8805     else
  8806       rm -f $ac_file
  8807       mv "$tmp/config.h" $ac_file
  8808     fi
  8809   else
  8810     echo "/* $configure_input  */"
  8811     cat "$ac_result"
  8812   fi
  8813   rm -f "$tmp/out12"
  8814 # Compute $ac_file's index in $config_headers.
  8815 _am_stamp_count=1
  8816 for _am_header in $config_headers :; do
  8817   case $_am_header in
  8818     $ac_file | $ac_file:* )
  8819       break ;;
  8820     * )
  8821       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  8822   esac
  8823 done
  8824 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
  8825 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8826 	 X$ac_file : 'X\(//\)[^/]' \| \
  8827 	 X$ac_file : 'X\(//\)$' \| \
  8828 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
  8829 echo X$ac_file |
  8830     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8831 	    s//\1/
  8834 	  /^X\(\/\/\)[^/].*/{
  8835 	    s//\1/
  8838 	  /^X\(\/\/\)$/{
  8839 	    s//\1/
  8842 	  /^X\(\/\).*/{
  8843 	    s//\1/
  8846 	  s/.*/./; q'`/stamp-h$_am_stamp_count
  8847  ;;
  8849   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
  8850 echo "$as_me: executing $ac_file commands" >&6;}
  8851  ;;
  8852   esac
  8855   case $ac_file$ac_mode in
  8856     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  8857   # Strip MF so we end up with the name of the file.
  8858   mf=`echo "$mf" | sed -e 's/:.*$//'`
  8859   # Check whether this is an Automake generated Makefile or not.
  8860   # We used to match only the files named `Makefile.in', but
  8861   # some people rename them; so instead we look at the file content.
  8862   # Grep'ing the first line is not enough: some people post-process
  8863   # each Makefile.in and add a new line on top of each file to say so.
  8864   # So let's grep whole file.
  8865   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
  8866     dirpart=`$as_dirname -- "$mf" ||
  8867 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8868 	 X"$mf" : 'X\(//\)[^/]' \| \
  8869 	 X"$mf" : 'X\(//\)$' \| \
  8870 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  8871 echo X"$mf" |
  8872     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8873 	    s//\1/
  8876 	  /^X\(\/\/\)[^/].*/{
  8877 	    s//\1/
  8880 	  /^X\(\/\/\)$/{
  8881 	    s//\1/
  8884 	  /^X\(\/\).*/{
  8885 	    s//\1/
  8888 	  s/.*/./; q'`
  8889   else
  8890     continue
  8891   fi
  8892   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
  8893   # Extract the definition of DEP_FILES from the Makefile without
  8894   # running `make'.
  8895   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
  8896   test -z "$DEPDIR" && continue
  8897   # When using ansi2knr, U may be empty or an underscore; expand it
  8898   U=`sed -n -e '/^U = / s///p' < "$mf"`
  8899   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
  8900   # We invoke sed twice because it is the simplest approach to
  8901   # changing $(DEPDIR) to its actual value in the expansion.
  8902   for file in `sed -n -e '
  8903     /^DEP_FILES = .*\\\\$/ {
  8904       s/^DEP_FILES = //
  8905       :loop
  8906 	s/\\\\$//
  8909 	/\\\\$/ b loop
  8912     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
  8913        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  8914     # Make sure the directory exists.
  8915     test -f "$dirpart/$file" && continue
  8916     fdir=`$as_dirname -- "$file" ||
  8917 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8918 	 X"$file" : 'X\(//\)[^/]' \| \
  8919 	 X"$file" : 'X\(//\)$' \| \
  8920 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  8921 echo X"$file" |
  8922     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8923 	    s//\1/
  8926 	  /^X\(\/\/\)[^/].*/{
  8927 	    s//\1/
  8930 	  /^X\(\/\/\)$/{
  8931 	    s//\1/
  8934 	  /^X\(\/\).*/{
  8935 	    s//\1/
  8938 	  s/.*/./; q'`
  8939     { as_dir=$dirpart/$fdir
  8940   case $as_dir in #(
  8941   -*) as_dir=./$as_dir;;
  8942   esac
  8943   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  8944     as_dirs=
  8945     while :; do
  8946       case $as_dir in #(
  8947       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  8948       *) as_qdir=$as_dir;;
  8949       esac
  8950       as_dirs="'$as_qdir' $as_dirs"
  8951       as_dir=`$as_dirname -- "$as_dir" ||
  8952 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8953 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  8954 	 X"$as_dir" : 'X\(//\)$' \| \
  8955 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  8956 echo X"$as_dir" |
  8957     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8958 	    s//\1/
  8961 	  /^X\(\/\/\)[^/].*/{
  8962 	    s//\1/
  8965 	  /^X\(\/\/\)$/{
  8966 	    s//\1/
  8969 	  /^X\(\/\).*/{
  8970 	    s//\1/
  8973 	  s/.*/./; q'`
  8974       test -d "$as_dir" && break
  8975     done
  8976     test -z "$as_dirs" || eval "mkdir $as_dirs"
  8977   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  8978 echo "$as_me: error: cannot create directory $as_dir" >&2;}
  8979    { (exit 1); exit 1; }; }; }
  8980     # echo "creating $dirpart/$file"
  8981     echo '# dummy' > "$dirpart/$file"
  8982   done
  8983 done
  8984  ;;
  8985     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
  8986         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
  8987       esac ;;
  8989   esac
  8990 done # for ac_tag
  8993 { (exit 0); exit 0; }
  8994 _ACEOF
  8995 chmod +x $CONFIG_STATUS
  8996 ac_clean_files=$ac_clean_files_save
  8999 # configure is writing to config.log, and then calls config.status.
  9000 # config.status does its own redirection, appending to config.log.
  9001 # Unfortunately, on DOS this fails, as config.log is still kept open
  9002 # by configure, so config.status won't be able to write to it; its
  9003 # output is simply discarded.  So we exec the FD to /dev/null,
  9004 # effectively closing config.log, so it can be properly (re)opened and
  9005 # appended to by config.status.  When coming back to configure, we
  9006 # need to make the FD available again.
  9007 if test "$no_create" != yes; then
  9008   ac_cs_success=:
  9009   ac_config_status_args=
  9010   test "$silent" = yes &&
  9011     ac_config_status_args="$ac_config_status_args --quiet"
  9012   exec 5>/dev/null
  9013   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  9014   exec 5>>config.log
  9015   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  9016   # would make configure fail if this is the last instruction.
  9017   $ac_cs_success || { (exit 1); exit 1; }
  9018 fi
.