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