Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 542:96c5494e02fd
prev539:75f3e594d4a7
next562:e598411b640b
next586:2a3ba82cf243
author nkeynes
date Tue Jan 01 04:58:57 2008 +0000 (16 years ago)
branchlxdream-mmu
permissions -rwxr-xr-x
last change Commit first pass at full TLB support - still needs a lot more work
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
  1345 Some influential environment variables:
  1346   CC          C compiler command
  1347   CFLAGS      C compiler flags
  1348   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1349               nonstandard directory <lib dir>
  1350   LIBS        libraries to pass to the linker, e.g. -l<library>
  1351   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1352               you have headers in a nonstandard directory <include dir>
  1353   CPP         C preprocessor
  1354   PKG_CONFIG  path to pkg-config utility
  1355   LIBPNG_CFLAGS
  1356               C compiler flags for LIBPNG, overriding pkg-config
  1357   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1358   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1359   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1360   ESOUND_CFLAGS
  1361               C compiler flags for ESOUND, overriding pkg-config
  1362   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1364 Use these variables to override the choices made by `configure' or to help
  1365 it to find libraries and programs with nonstandard names/locations.
  1367 _ACEOF
  1368 ac_status=$?
  1369 fi
  1371 if test "$ac_init_help" = "recursive"; then
  1372   # If there are subdirs, report their specific --help.
  1373   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1374     test -d "$ac_dir" || continue
  1375     ac_builddir=.
  1377 case "$ac_dir" in
  1378 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1379 *)
  1380   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1381   # A ".." for each directory in $ac_dir_suffix.
  1382   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1383   case $ac_top_builddir_sub in
  1384   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1385   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1386   esac ;;
  1387 esac
  1388 ac_abs_top_builddir=$ac_pwd
  1389 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1390 # for backward compatibility:
  1391 ac_top_builddir=$ac_top_build_prefix
  1393 case $srcdir in
  1394   .)  # We are building in place.
  1395     ac_srcdir=.
  1396     ac_top_srcdir=$ac_top_builddir_sub
  1397     ac_abs_top_srcdir=$ac_pwd ;;
  1398   [\\/]* | ?:[\\/]* )  # Absolute name.
  1399     ac_srcdir=$srcdir$ac_dir_suffix;
  1400     ac_top_srcdir=$srcdir
  1401     ac_abs_top_srcdir=$srcdir ;;
  1402   *) # Relative name.
  1403     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1404     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1405     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1406 esac
  1407 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1409     cd "$ac_dir" || { ac_status=$?; continue; }
  1410     # Check for guested configure.
  1411     if test -f "$ac_srcdir/configure.gnu"; then
  1412       echo &&
  1413       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1414     elif test -f "$ac_srcdir/configure"; then
  1415       echo &&
  1416       $SHELL "$ac_srcdir/configure" --help=recursive
  1417     else
  1418       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1419     fi || ac_status=$?
  1420     cd "$ac_pwd" || { ac_status=$?; break; }
  1421   done
  1422 fi
  1424 test -n "$ac_init_help" && exit $ac_status
  1425 if $ac_init_version; then
  1426   cat <<\_ACEOF
  1427 configure
  1428 generated by GNU Autoconf 2.61
  1430 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1431 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1432 This configure script is free software; the Free Software Foundation
  1433 gives unlimited permission to copy, distribute and modify it.
  1434 _ACEOF
  1435   exit
  1436 fi
  1437 cat >config.log <<_ACEOF
  1438 This file contains any messages produced by compilers while
  1439 running configure, to aid debugging if configure makes a mistake.
  1441 It was created by $as_me, which was
  1442 generated by GNU Autoconf 2.61.  Invocation command line was
  1444   $ $0 $@
  1446 _ACEOF
  1447 exec 5>>config.log
  1449 cat <<_ASUNAME
  1450 ## --------- ##
  1451 ## Platform. ##
  1452 ## --------- ##
  1454 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1455 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1456 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1457 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1458 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1460 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1461 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1463 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1464 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1465 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1466 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1467 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1468 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1469 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1471 _ASUNAME
  1473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1474 for as_dir in $PATH
  1475 do
  1476   IFS=$as_save_IFS
  1477   test -z "$as_dir" && as_dir=.
  1478   echo "PATH: $as_dir"
  1479 done
  1480 IFS=$as_save_IFS
  1482 } >&5
  1484 cat >&5 <<_ACEOF
  1487 ## ----------- ##
  1488 ## Core tests. ##
  1489 ## ----------- ##
  1491 _ACEOF
  1494 # Keep a trace of the command line.
  1495 # Strip out --no-create and --no-recursion so they do not pile up.
  1496 # Strip out --silent because we don't want to record it for future runs.
  1497 # Also quote any args containing shell meta-characters.
  1498 # Make two passes to allow for proper duplicate-argument suppression.
  1499 ac_configure_args=
  1500 ac_configure_args0=
  1501 ac_configure_args1=
  1502 ac_must_keep_next=false
  1503 for ac_pass in 1 2
  1504 do
  1505   for ac_arg
  1506   do
  1507     case $ac_arg in
  1508     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1509     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1510     | -silent | --silent | --silen | --sile | --sil)
  1511       continue ;;
  1512     *\'*)
  1513       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1514     esac
  1515     case $ac_pass in
  1516     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1517     2)
  1518       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1519       if test $ac_must_keep_next = true; then
  1520 	ac_must_keep_next=false # Got value, back to normal.
  1521       else
  1522 	case $ac_arg in
  1523 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1524 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1525 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1526 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1527 	    case "$ac_configure_args0 " in
  1528 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1529 	    esac
  1530 	    ;;
  1531 	  -* ) ac_must_keep_next=true ;;
  1532 	esac
  1533       fi
  1534       ac_configure_args="$ac_configure_args '$ac_arg'"
  1535       ;;
  1536     esac
  1537   done
  1538 done
  1539 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1540 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1542 # When interrupted or exit'd, cleanup temporary files, and complete
  1543 # config.log.  We remove comments because anyway the quotes in there
  1544 # would cause problems or look ugly.
  1545 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1546 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1547 trap 'exit_status=$?
  1548   # Save into config.log some information that might help in debugging.
  1550     echo
  1552     cat <<\_ASBOX
  1553 ## ---------------- ##
  1554 ## Cache variables. ##
  1555 ## ---------------- ##
  1556 _ASBOX
  1557     echo
  1558     # The following way of writing the cache mishandles newlines in values,
  1560   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1561     eval ac_val=\$$ac_var
  1562     case $ac_val in #(
  1563     *${as_nl}*)
  1564       case $ac_var in #(
  1565       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1566 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1567       esac
  1568       case $ac_var in #(
  1569       _ | IFS | as_nl) ;; #(
  1570       *) $as_unset $ac_var ;;
  1571       esac ;;
  1572     esac
  1573   done
  1574   (set) 2>&1 |
  1575     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1576     *${as_nl}ac_space=\ *)
  1577       sed -n \
  1578 	"s/'\''/'\''\\\\'\'''\''/g;
  1579 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1580       ;; #(
  1581     *)
  1582       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1583       ;;
  1584     esac |
  1585     sort
  1587     echo
  1589     cat <<\_ASBOX
  1590 ## ----------------- ##
  1591 ## Output variables. ##
  1592 ## ----------------- ##
  1593 _ASBOX
  1594     echo
  1595     for ac_var in $ac_subst_vars
  1596     do
  1597       eval ac_val=\$$ac_var
  1598       case $ac_val in
  1599       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1600       esac
  1601       echo "$ac_var='\''$ac_val'\''"
  1602     done | sort
  1603     echo
  1605     if test -n "$ac_subst_files"; then
  1606       cat <<\_ASBOX
  1607 ## ------------------- ##
  1608 ## File substitutions. ##
  1609 ## ------------------- ##
  1610 _ASBOX
  1611       echo
  1612       for ac_var in $ac_subst_files
  1613       do
  1614 	eval ac_val=\$$ac_var
  1615 	case $ac_val in
  1616 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1617 	esac
  1618 	echo "$ac_var='\''$ac_val'\''"
  1619       done | sort
  1620       echo
  1621     fi
  1623     if test -s confdefs.h; then
  1624       cat <<\_ASBOX
  1625 ## ----------- ##
  1626 ## confdefs.h. ##
  1627 ## ----------- ##
  1628 _ASBOX
  1629       echo
  1630       cat confdefs.h
  1631       echo
  1632     fi
  1633     test "$ac_signal" != 0 &&
  1634       echo "$as_me: caught signal $ac_signal"
  1635     echo "$as_me: exit $exit_status"
  1636   } >&5
  1637   rm -f core *.core core.conftest.* &&
  1638     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1639     exit $exit_status
  1640 ' 0
  1641 for ac_signal in 1 2 13 15; do
  1642   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1643 done
  1644 ac_signal=0
  1646 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1647 rm -f -r conftest* confdefs.h
  1649 # Predefined preprocessor variables.
  1651 cat >>confdefs.h <<_ACEOF
  1652 #define PACKAGE_NAME "$PACKAGE_NAME"
  1653 _ACEOF
  1656 cat >>confdefs.h <<_ACEOF
  1657 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1658 _ACEOF
  1661 cat >>confdefs.h <<_ACEOF
  1662 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1663 _ACEOF
  1666 cat >>confdefs.h <<_ACEOF
  1667 #define PACKAGE_STRING "$PACKAGE_STRING"
  1668 _ACEOF
  1671 cat >>confdefs.h <<_ACEOF
  1672 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1673 _ACEOF
  1676 # Let the site file select an alternate cache file if it wants to.
  1677 # Prefer explicitly selected file to automatically selected ones.
  1678 if test -n "$CONFIG_SITE"; then
  1679   set x "$CONFIG_SITE"
  1680 elif test "x$prefix" != xNONE; then
  1681   set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1682 else
  1683   set x "$ac_default_prefix/share/config.site" \
  1684 	"$ac_default_prefix/etc/config.site"
  1685 fi
  1686 shift
  1687 for ac_site_file
  1688 do
  1689   if test -r "$ac_site_file"; then
  1690     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1691 echo "$as_me: loading site script $ac_site_file" >&6;}
  1692     sed 's/^/| /' "$ac_site_file" >&5
  1693     . "$ac_site_file"
  1694   fi
  1695 done
  1697 if test -r "$cache_file"; then
  1698   # Some versions of bash will fail to source /dev/null (special
  1699   # files actually), so we avoid doing that.
  1700   if test -f "$cache_file"; then
  1701     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1702 echo "$as_me: loading cache $cache_file" >&6;}
  1703     case $cache_file in
  1704       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1705       *)                      . "./$cache_file";;
  1706     esac
  1707   fi
  1708 else
  1709   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1710 echo "$as_me: creating cache $cache_file" >&6;}
  1711   >$cache_file
  1712 fi
  1714 # Check that the precious variables saved in the cache have kept the same
  1715 # value.
  1716 ac_cache_corrupted=false
  1717 for ac_var in $ac_precious_vars; do
  1718   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1719   eval ac_new_set=\$ac_env_${ac_var}_set
  1720   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1721   eval ac_new_val=\$ac_env_${ac_var}_value
  1722   case $ac_old_set,$ac_new_set in
  1723     set,)
  1724       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1725 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1726       ac_cache_corrupted=: ;;
  1727     ,set)
  1728       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1729 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1730       ac_cache_corrupted=: ;;
  1731     ,);;
  1732     *)
  1733       if test "x$ac_old_val" != "x$ac_new_val"; then
  1734 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1735 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1736 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1737 echo "$as_me:   former value:  $ac_old_val" >&2;}
  1738 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1739 echo "$as_me:   current value: $ac_new_val" >&2;}
  1740 	ac_cache_corrupted=:
  1741       fi;;
  1742   esac
  1743   # Pass precious variables to config.status.
  1744   if test "$ac_new_set" = set; then
  1745     case $ac_new_val in
  1746     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1747     *) ac_arg=$ac_var=$ac_new_val ;;
  1748     esac
  1749     case " $ac_configure_args " in
  1750       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1751       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1752     esac
  1753   fi
  1754 done
  1755 if $ac_cache_corrupted; then
  1756   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1757 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1758   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1759 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1760    { (exit 1); exit 1; }; }
  1761 fi
  1779 ac_ext=c
  1780 ac_cpp='$CPP $CPPFLAGS'
  1781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1786 am__api_version="1.7"
  1787 ac_aux_dir=
  1788 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1789   if test -f "$ac_dir/install-sh"; then
  1790     ac_aux_dir=$ac_dir
  1791     ac_install_sh="$ac_aux_dir/install-sh -c"
  1792     break
  1793   elif 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/shtool"; then
  1798     ac_aux_dir=$ac_dir
  1799     ac_install_sh="$ac_aux_dir/shtool install -c"
  1800     break
  1801   fi
  1802 done
  1803 if test -z "$ac_aux_dir"; then
  1804   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1805 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1806    { (exit 1); exit 1; }; }
  1807 fi
  1809 # These three variables are undocumented and unsupported,
  1810 # and are intended to be withdrawn in a future Autoconf release.
  1811 # They can cause serious problems if a builder's source tree is in a directory
  1812 # whose full name contains unusual characters.
  1813 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1814 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1815 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1818 # Find a good install program.  We prefer a C program (faster),
  1819 # so one script is as good as another.  But avoid the broken or
  1820 # incompatible versions:
  1821 # SysV /etc/install, /usr/sbin/install
  1822 # SunOS /usr/etc/install
  1823 # IRIX /sbin/install
  1824 # AIX /bin/install
  1825 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1826 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1827 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1828 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1829 # OS/2's system install, which has a completely different semantic
  1830 # ./install, which can be erroneously created by make from ./install.sh.
  1831 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1832 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  1833 if test -z "$INSTALL"; then
  1834 if test "${ac_cv_path_install+set}" = set; then
  1835   echo $ECHO_N "(cached) $ECHO_C" >&6
  1836 else
  1837   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1838 for as_dir in $PATH
  1839 do
  1840   IFS=$as_save_IFS
  1841   test -z "$as_dir" && as_dir=.
  1842   # Account for people who put trailing slashes in PATH elements.
  1843 case $as_dir/ in
  1844   ./ | .// | /cC/* | \
  1845   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1846   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  1847   /usr/ucb/* ) ;;
  1848   *)
  1849     # OSF1 and SCO ODT 3.0 have their own names for install.
  1850     # Don't use installbsd from OSF since it installs stuff as root
  1851     # by default.
  1852     for ac_prog in ginstall scoinst install; do
  1853       for ac_exec_ext in '' $ac_executable_extensions; do
  1854 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1855 	  if test $ac_prog = install &&
  1856 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1857 	    # AIX install.  It has an incompatible calling convention.
  1859 	  elif test $ac_prog = install &&
  1860 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1861 	    # program-specific install script used by HP pwplus--don't use.
  1863 	  else
  1864 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1865 	    break 3
  1866 	  fi
  1867 	fi
  1868       done
  1869     done
  1870     ;;
  1871 esac
  1872 done
  1873 IFS=$as_save_IFS
  1876 fi
  1877   if test "${ac_cv_path_install+set}" = set; then
  1878     INSTALL=$ac_cv_path_install
  1879   else
  1880     # As a last resort, use the slow shell script.  Don't cache a
  1881     # value for INSTALL within a source directory, because that will
  1882     # break other packages using the cache if that directory is
  1883     # removed, or if the value is a relative name.
  1884     INSTALL=$ac_install_sh
  1885   fi
  1886 fi
  1887 { echo "$as_me:$LINENO: result: $INSTALL" >&5
  1888 echo "${ECHO_T}$INSTALL" >&6; }
  1890 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1891 # It thinks the first close brace ends the variable substitution.
  1892 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1894 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1896 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1898 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1899 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  1900 # Just in case
  1901 sleep 1
  1902 echo timestamp > conftest.file
  1903 # Do `set' in a subshell so we don't clobber the current shell's
  1904 # arguments.  Must try -L first in case configure is actually a
  1905 # symlink; some systems play weird games with the mod time of symlinks
  1906 # (eg FreeBSD returns the mod time of the symlink's containing
  1907 # directory).
  1908 if (
  1909    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1910    if test "$*" = "X"; then
  1911       # -L didn't work.
  1912       set X `ls -t $srcdir/configure conftest.file`
  1913    fi
  1914    rm -f conftest.file
  1915    if test "$*" != "X $srcdir/configure conftest.file" \
  1916       && test "$*" != "X conftest.file $srcdir/configure"; then
  1918       # If neither matched, then we have a broken ls.  This can happen
  1919       # if, for instance, CONFIG_SHELL is bash and it inherits a
  1920       # broken ls alias from the environment.  This has actually
  1921       # happened.  Such a system could not be considered "sane".
  1922       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  1923 alias in your environment" >&5
  1924 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  1925 alias in your environment" >&2;}
  1926    { (exit 1); exit 1; }; }
  1927    fi
  1929    test "$2" = conftest.file
  1931 then
  1932    # Ok.
  1934 else
  1935    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1936 Check your system clock" >&5
  1937 echo "$as_me: error: newly created file is older than distributed files!
  1938 Check your system clock" >&2;}
  1939    { (exit 1); exit 1; }; }
  1940 fi
  1941 { echo "$as_me:$LINENO: result: yes" >&5
  1942 echo "${ECHO_T}yes" >&6; }
  1943 test "$program_prefix" != NONE &&
  1944   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1945 # Use a double $ so make ignores it.
  1946 test "$program_suffix" != NONE &&
  1947   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1948 # Double any \ or $.  echo might interpret backslashes.
  1949 # By default was `s,x,x', remove it if useless.
  1950 cat <<\_ACEOF >conftest.sed
  1951 s/[\\$]/&&/g;s/;s,x,x,$//
  1952 _ACEOF
  1953 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1954 rm -f conftest.sed
  1957 # expand $ac_aux_dir to an absolute path
  1958 am_aux_dir=`cd $ac_aux_dir && pwd`
  1960 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  1961 # Use eval to expand $SHELL
  1962 if eval "$MISSING --run true"; then
  1963   am_missing_run="$MISSING --run "
  1964 else
  1965   am_missing_run=
  1966   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  1967 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1968 fi
  1970 for ac_prog in gawk mawk nawk awk
  1971 do
  1972   # Extract the first word of "$ac_prog", so it can be a program name with args.
  1973 set dummy $ac_prog; ac_word=$2
  1974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1976 if test "${ac_cv_prog_AWK+set}" = set; then
  1977   echo $ECHO_N "(cached) $ECHO_C" >&6
  1978 else
  1979   if test -n "$AWK"; then
  1980   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1981 else
  1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1983 for as_dir in $PATH
  1984 do
  1985   IFS=$as_save_IFS
  1986   test -z "$as_dir" && as_dir=.
  1987   for ac_exec_ext in '' $ac_executable_extensions; do
  1988   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1989     ac_cv_prog_AWK="$ac_prog"
  1990     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1991     break 2
  1992   fi
  1993 done
  1994 done
  1995 IFS=$as_save_IFS
  1997 fi
  1998 fi
  1999 AWK=$ac_cv_prog_AWK
  2000 if test -n "$AWK"; then
  2001   { echo "$as_me:$LINENO: result: $AWK" >&5
  2002 echo "${ECHO_T}$AWK" >&6; }
  2003 else
  2004   { echo "$as_me:$LINENO: result: no" >&5
  2005 echo "${ECHO_T}no" >&6; }
  2006 fi
  2009   test -n "$AWK" && break
  2010 done
  2012 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  2014 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2015 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2016   echo $ECHO_N "(cached) $ECHO_C" >&6
  2017 else
  2018   cat >conftest.make <<\_ACEOF
  2019 SHELL = /bin/sh
  2020 all:
  2021 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2022 _ACEOF
  2023 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2024 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2025   *@@@%%%=?*=@@@%%%*)
  2026     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2027   *)
  2028     eval ac_cv_prog_make_${ac_make}_set=no;;
  2029 esac
  2030 rm -f conftest.make
  2031 fi
  2032 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2033   { echo "$as_me:$LINENO: result: yes" >&5
  2034 echo "${ECHO_T}yes" >&6; }
  2035   SET_MAKE=
  2036 else
  2037   { echo "$as_me:$LINENO: result: no" >&5
  2038 echo "${ECHO_T}no" >&6; }
  2039   SET_MAKE="MAKE=${MAKE-make}"
  2040 fi
  2042 rm -rf .tst 2>/dev/null
  2043 mkdir .tst 2>/dev/null
  2044 if test -d .tst; then
  2045   am__leading_dot=.
  2046 else
  2047   am__leading_dot=_
  2048 fi
  2049 rmdir .tst 2>/dev/null
  2051  # test to see if srcdir already configured
  2052 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2053    test -f $srcdir/config.status; then
  2054   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2055 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2056    { (exit 1); exit 1; }; }
  2057 fi
  2059 # test whether we have cygpath
  2060 if test -z "$CYGPATH_W"; then
  2061   if (cygpath --version) >/dev/null 2>/dev/null; then
  2062     CYGPATH_W='cygpath -w'
  2063   else
  2064     CYGPATH_W=echo
  2065   fi
  2066 fi
  2069 # Define the identity of the package.
  2070  PACKAGE=lxdream
  2071  VERSION=0.8.1
  2074 cat >>confdefs.h <<_ACEOF
  2075 #define PACKAGE "$PACKAGE"
  2076 _ACEOF
  2079 cat >>confdefs.h <<_ACEOF
  2080 #define VERSION "$VERSION"
  2081 _ACEOF
  2083 # Some tools Automake needs.
  2085 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2088 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2091 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2094 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2097 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2100 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2102 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2104 # Installed binaries are usually stripped using `strip' when the user
  2105 # run `make install-strip'.  However `strip' might not be the right
  2106 # tool to use in cross-compilation environments, therefore Automake
  2107 # will honor the `STRIP' environment variable to overrule this program.
  2108 if test "$cross_compiling" != no; then
  2109   if test -n "$ac_tool_prefix"; then
  2110   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2111 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2114 if test "${ac_cv_prog_STRIP+set}" = set; then
  2115   echo $ECHO_N "(cached) $ECHO_C" >&6
  2116 else
  2117   if test -n "$STRIP"; then
  2118   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2119 else
  2120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2121 for as_dir in $PATH
  2122 do
  2123   IFS=$as_save_IFS
  2124   test -z "$as_dir" && as_dir=.
  2125   for ac_exec_ext in '' $ac_executable_extensions; do
  2126   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2127     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2128     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2129     break 2
  2130   fi
  2131 done
  2132 done
  2133 IFS=$as_save_IFS
  2135 fi
  2136 fi
  2137 STRIP=$ac_cv_prog_STRIP
  2138 if test -n "$STRIP"; then
  2139   { echo "$as_me:$LINENO: result: $STRIP" >&5
  2140 echo "${ECHO_T}$STRIP" >&6; }
  2141 else
  2142   { echo "$as_me:$LINENO: result: no" >&5
  2143 echo "${ECHO_T}no" >&6; }
  2144 fi
  2147 fi
  2148 if test -z "$ac_cv_prog_STRIP"; then
  2149   ac_ct_STRIP=$STRIP
  2150   # Extract the first word of "strip", so it can be a program name with args.
  2151 set dummy strip; ac_word=$2
  2152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2154 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2155   echo $ECHO_N "(cached) $ECHO_C" >&6
  2156 else
  2157   if test -n "$ac_ct_STRIP"; then
  2158   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2159 else
  2160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2161 for as_dir in $PATH
  2162 do
  2163   IFS=$as_save_IFS
  2164   test -z "$as_dir" && as_dir=.
  2165   for ac_exec_ext in '' $ac_executable_extensions; do
  2166   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2167     ac_cv_prog_ac_ct_STRIP="strip"
  2168     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2169     break 2
  2170   fi
  2171 done
  2172 done
  2173 IFS=$as_save_IFS
  2175 fi
  2176 fi
  2177 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2178 if test -n "$ac_ct_STRIP"; then
  2179   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2180 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  2181 else
  2182   { echo "$as_me:$LINENO: result: no" >&5
  2183 echo "${ECHO_T}no" >&6; }
  2184 fi
  2186   if test "x$ac_ct_STRIP" = x; then
  2187     STRIP=":"
  2188   else
  2189     case $cross_compiling:$ac_tool_warned in
  2190 yes:)
  2191 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2192 whose name does not start with the host triplet.  If you think this
  2193 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2194 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2195 whose name does not start with the host triplet.  If you think this
  2196 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2197 ac_tool_warned=yes ;;
  2198 esac
  2199     STRIP=$ac_ct_STRIP
  2200   fi
  2201 else
  2202   STRIP="$ac_cv_prog_STRIP"
  2203 fi
  2205 fi
  2206 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2208 # We need awk for the "check" target.  The system "awk" is bad on
  2209 # some platforms.
  2213 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2214 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
  2215     # Check whether --enable-maintainer-mode was given.
  2216 if test "${enable_maintainer_mode+set}" = set; then
  2217   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2218 else
  2219   USE_MAINTAINER_MODE=no
  2220 fi
  2222   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2223 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
  2226 if test $USE_MAINTAINER_MODE = yes; then
  2227   MAINTAINER_MODE_TRUE=
  2228   MAINTAINER_MODE_FALSE='#'
  2229 else
  2230   MAINTAINER_MODE_TRUE='#'
  2231   MAINTAINER_MODE_FALSE=
  2232 fi
  2234   MAINT=$MAINTAINER_MODE_TRUE
  2237 ac_config_headers="$ac_config_headers config.h"
  2240 DEPDIR="${am__leading_dot}deps"
  2242 ac_config_commands="$ac_config_commands depfiles"
  2245 am_make=${MAKE-make}
  2246 cat > confinc << 'END'
  2247 am__doit:
  2248 	@echo done
  2249 .PHONY: am__doit
  2250 END
  2251 # If we don't find an include directive, just comment out the code.
  2252 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2253 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  2254 am__include="#"
  2255 am__quote=
  2256 _am_result=none
  2257 # First try GNU make style include.
  2258 echo "include confinc" > confmf
  2259 # We grep out `Entering directory' and `Leaving directory'
  2260 # messages which can occur if `w' ends up in MAKEFLAGS.
  2261 # In particular we don't look at `^make:' because GNU make might
  2262 # be invoked under some other name (usually "gmake"), in which
  2263 # case it prints its new name instead of `make'.
  2264 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2265    am__include=include
  2266    am__quote=
  2267    _am_result=GNU
  2268 fi
  2269 # Now try BSD make style include.
  2270 if test "$am__include" = "#"; then
  2271    echo '.include "confinc"' > confmf
  2272    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2273       am__include=.include
  2274       am__quote="\""
  2275       _am_result=BSD
  2276    fi
  2277 fi
  2280 { echo "$as_me:$LINENO: result: $_am_result" >&5
  2281 echo "${ECHO_T}$_am_result" >&6; }
  2282 rm -f confinc confmf
  2284 # Check whether --enable-dependency-tracking was given.
  2285 if test "${enable_dependency_tracking+set}" = set; then
  2286   enableval=$enable_dependency_tracking;
  2287 fi
  2289 if test "x$enable_dependency_tracking" != xno; then
  2290   am_depcomp="$ac_aux_dir/depcomp"
  2291   AMDEPBACKSLASH='\'
  2292 fi
  2295 if test "x$enable_dependency_tracking" != xno; then
  2296   AMDEP_TRUE=
  2297   AMDEP_FALSE='#'
  2298 else
  2299   AMDEP_TRUE='#'
  2300   AMDEP_FALSE=
  2301 fi
  2305 ac_ext=c
  2306 ac_cpp='$CPP $CPPFLAGS'
  2307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2310 if test -n "$ac_tool_prefix"; then
  2311   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2312 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2315 if test "${ac_cv_prog_CC+set}" = set; then
  2316   echo $ECHO_N "(cached) $ECHO_C" >&6
  2317 else
  2318   if test -n "$CC"; then
  2319   ac_cv_prog_CC="$CC" # Let the user override the test.
  2320 else
  2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2322 for as_dir in $PATH
  2323 do
  2324   IFS=$as_save_IFS
  2325   test -z "$as_dir" && as_dir=.
  2326   for ac_exec_ext in '' $ac_executable_extensions; do
  2327   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2328     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2329     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2330     break 2
  2331   fi
  2332 done
  2333 done
  2334 IFS=$as_save_IFS
  2336 fi
  2337 fi
  2338 CC=$ac_cv_prog_CC
  2339 if test -n "$CC"; then
  2340   { echo "$as_me:$LINENO: result: $CC" >&5
  2341 echo "${ECHO_T}$CC" >&6; }
  2342 else
  2343   { echo "$as_me:$LINENO: result: no" >&5
  2344 echo "${ECHO_T}no" >&6; }
  2345 fi
  2348 fi
  2349 if test -z "$ac_cv_prog_CC"; then
  2350   ac_ct_CC=$CC
  2351   # Extract the first word of "gcc", so it can be a program name with args.
  2352 set dummy gcc; ac_word=$2
  2353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2355 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2356   echo $ECHO_N "(cached) $ECHO_C" >&6
  2357 else
  2358   if test -n "$ac_ct_CC"; then
  2359   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2360 else
  2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2362 for as_dir in $PATH
  2363 do
  2364   IFS=$as_save_IFS
  2365   test -z "$as_dir" && as_dir=.
  2366   for ac_exec_ext in '' $ac_executable_extensions; do
  2367   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2368     ac_cv_prog_ac_ct_CC="gcc"
  2369     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2370     break 2
  2371   fi
  2372 done
  2373 done
  2374 IFS=$as_save_IFS
  2376 fi
  2377 fi
  2378 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2379 if test -n "$ac_ct_CC"; then
  2380   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2381 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2382 else
  2383   { echo "$as_me:$LINENO: result: no" >&5
  2384 echo "${ECHO_T}no" >&6; }
  2385 fi
  2387   if test "x$ac_ct_CC" = x; then
  2388     CC=""
  2389   else
  2390     case $cross_compiling:$ac_tool_warned in
  2391 yes:)
  2392 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2393 whose name does not start with the host triplet.  If you think this
  2394 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2395 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2396 whose name does not start with the host triplet.  If you think this
  2397 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2398 ac_tool_warned=yes ;;
  2399 esac
  2400     CC=$ac_ct_CC
  2401   fi
  2402 else
  2403   CC="$ac_cv_prog_CC"
  2404 fi
  2406 if test -z "$CC"; then
  2407           if test -n "$ac_tool_prefix"; then
  2408     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2409 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2412 if test "${ac_cv_prog_CC+set}" = set; then
  2413   echo $ECHO_N "(cached) $ECHO_C" >&6
  2414 else
  2415   if test -n "$CC"; then
  2416   ac_cv_prog_CC="$CC" # Let the user override the test.
  2417 else
  2418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2419 for as_dir in $PATH
  2420 do
  2421   IFS=$as_save_IFS
  2422   test -z "$as_dir" && as_dir=.
  2423   for ac_exec_ext in '' $ac_executable_extensions; do
  2424   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2425     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2426     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2427     break 2
  2428   fi
  2429 done
  2430 done
  2431 IFS=$as_save_IFS
  2433 fi
  2434 fi
  2435 CC=$ac_cv_prog_CC
  2436 if test -n "$CC"; then
  2437   { echo "$as_me:$LINENO: result: $CC" >&5
  2438 echo "${ECHO_T}$CC" >&6; }
  2439 else
  2440   { echo "$as_me:$LINENO: result: no" >&5
  2441 echo "${ECHO_T}no" >&6; }
  2442 fi
  2445   fi
  2446 fi
  2447 if test -z "$CC"; then
  2448   # Extract the first word of "cc", so it can be a program name with args.
  2449 set dummy cc; ac_word=$2
  2450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2452 if test "${ac_cv_prog_CC+set}" = set; then
  2453   echo $ECHO_N "(cached) $ECHO_C" >&6
  2454 else
  2455   if test -n "$CC"; then
  2456   ac_cv_prog_CC="$CC" # Let the user override the test.
  2457 else
  2458   ac_prog_rejected=no
  2459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2460 for as_dir in $PATH
  2461 do
  2462   IFS=$as_save_IFS
  2463   test -z "$as_dir" && as_dir=.
  2464   for ac_exec_ext in '' $ac_executable_extensions; do
  2465   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2466     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2467        ac_prog_rejected=yes
  2468        continue
  2469      fi
  2470     ac_cv_prog_CC="cc"
  2471     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2472     break 2
  2473   fi
  2474 done
  2475 done
  2476 IFS=$as_save_IFS
  2478 if test $ac_prog_rejected = yes; then
  2479   # We found a bogon in the path, so make sure we never use it.
  2480   set dummy $ac_cv_prog_CC
  2481   shift
  2482   if test $# != 0; then
  2483     # We chose a different compiler from the bogus one.
  2484     # However, it has the same basename, so the bogon will be chosen
  2485     # first if we set CC to just the basename; use the full file name.
  2486     shift
  2487     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2488   fi
  2489 fi
  2490 fi
  2491 fi
  2492 CC=$ac_cv_prog_CC
  2493 if test -n "$CC"; then
  2494   { echo "$as_me:$LINENO: result: $CC" >&5
  2495 echo "${ECHO_T}$CC" >&6; }
  2496 else
  2497   { echo "$as_me:$LINENO: result: no" >&5
  2498 echo "${ECHO_T}no" >&6; }
  2499 fi
  2502 fi
  2503 if test -z "$CC"; then
  2504   if test -n "$ac_tool_prefix"; then
  2505   for ac_prog in cl.exe
  2506   do
  2507     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2508 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2511 if test "${ac_cv_prog_CC+set}" = set; then
  2512   echo $ECHO_N "(cached) $ECHO_C" >&6
  2513 else
  2514   if test -n "$CC"; then
  2515   ac_cv_prog_CC="$CC" # Let the user override the test.
  2516 else
  2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2518 for as_dir in $PATH
  2519 do
  2520   IFS=$as_save_IFS
  2521   test -z "$as_dir" && as_dir=.
  2522   for ac_exec_ext in '' $ac_executable_extensions; do
  2523   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2524     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2525     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2526     break 2
  2527   fi
  2528 done
  2529 done
  2530 IFS=$as_save_IFS
  2532 fi
  2533 fi
  2534 CC=$ac_cv_prog_CC
  2535 if test -n "$CC"; then
  2536   { echo "$as_me:$LINENO: result: $CC" >&5
  2537 echo "${ECHO_T}$CC" >&6; }
  2538 else
  2539   { echo "$as_me:$LINENO: result: no" >&5
  2540 echo "${ECHO_T}no" >&6; }
  2541 fi
  2544     test -n "$CC" && break
  2545   done
  2546 fi
  2547 if test -z "$CC"; then
  2548   ac_ct_CC=$CC
  2549   for ac_prog in cl.exe
  2550 do
  2551   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2552 set dummy $ac_prog; ac_word=$2
  2553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2555 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2556   echo $ECHO_N "(cached) $ECHO_C" >&6
  2557 else
  2558   if test -n "$ac_ct_CC"; then
  2559   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2560 else
  2561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2562 for as_dir in $PATH
  2563 do
  2564   IFS=$as_save_IFS
  2565   test -z "$as_dir" && as_dir=.
  2566   for ac_exec_ext in '' $ac_executable_extensions; do
  2567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2568     ac_cv_prog_ac_ct_CC="$ac_prog"
  2569     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2570     break 2
  2571   fi
  2572 done
  2573 done
  2574 IFS=$as_save_IFS
  2576 fi
  2577 fi
  2578 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2579 if test -n "$ac_ct_CC"; then
  2580   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2581 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2582 else
  2583   { echo "$as_me:$LINENO: result: no" >&5
  2584 echo "${ECHO_T}no" >&6; }
  2585 fi
  2588   test -n "$ac_ct_CC" && break
  2589 done
  2591   if test "x$ac_ct_CC" = x; then
  2592     CC=""
  2593   else
  2594     case $cross_compiling:$ac_tool_warned in
  2595 yes:)
  2596 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2597 whose name does not start with the host triplet.  If you think this
  2598 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2599 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2600 whose name does not start with the host triplet.  If you think this
  2601 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2602 ac_tool_warned=yes ;;
  2603 esac
  2604     CC=$ac_ct_CC
  2605   fi
  2606 fi
  2608 fi
  2611 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2612 See \`config.log' for more details." >&5
  2613 echo "$as_me: error: no acceptable C compiler found in \$PATH
  2614 See \`config.log' for more details." >&2;}
  2615    { (exit 1); exit 1; }; }
  2617 # Provide some information about the compiler.
  2618 echo "$as_me:$LINENO: checking for C compiler version" >&5
  2619 ac_compiler=`set X $ac_compile; echo $2`
  2620 { (ac_try="$ac_compiler --version >&5"
  2621 case "(($ac_try" in
  2622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2623   *) ac_try_echo=$ac_try;;
  2624 esac
  2625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2626   (eval "$ac_compiler --version >&5") 2>&5
  2627   ac_status=$?
  2628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2629   (exit $ac_status); }
  2630 { (ac_try="$ac_compiler -v >&5"
  2631 case "(($ac_try" in
  2632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2633   *) ac_try_echo=$ac_try;;
  2634 esac
  2635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2636   (eval "$ac_compiler -v >&5") 2>&5
  2637   ac_status=$?
  2638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2639   (exit $ac_status); }
  2640 { (ac_try="$ac_compiler -V >&5"
  2641 case "(($ac_try" in
  2642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2643   *) ac_try_echo=$ac_try;;
  2644 esac
  2645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2646   (eval "$ac_compiler -V >&5") 2>&5
  2647   ac_status=$?
  2648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2649   (exit $ac_status); }
  2651 cat >conftest.$ac_ext <<_ACEOF
  2652 /* confdefs.h.  */
  2653 _ACEOF
  2654 cat confdefs.h >>conftest.$ac_ext
  2655 cat >>conftest.$ac_ext <<_ACEOF
  2656 /* end confdefs.h.  */
  2658 int
  2659 main ()
  2663   return 0;
  2665 _ACEOF
  2666 ac_clean_files_save=$ac_clean_files
  2667 ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2668 # Try to create an executable without -o first, disregard a.out.
  2669 # It will help us diagnose broken compilers, and finding out an intuition
  2670 # of exeext.
  2671 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2672 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2673 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2675 # List of possible output files, starting from the most likely.
  2676 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2677 # only as a last resort.  b.out is created by i960 compilers.
  2678 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2680 # The IRIX 6 linker writes into existing files which may not be
  2681 # executable, retaining their permissions.  Remove them first so a
  2682 # subsequent execution test works.
  2683 ac_rmfiles=
  2684 for ac_file in $ac_files
  2685 do
  2686   case $ac_file in
  2687     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2688     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2689   esac
  2690 done
  2691 rm -f $ac_rmfiles
  2693 if { (ac_try="$ac_link_default"
  2694 case "(($ac_try" in
  2695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2696   *) ac_try_echo=$ac_try;;
  2697 esac
  2698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2699   (eval "$ac_link_default") 2>&5
  2700   ac_status=$?
  2701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2702   (exit $ac_status); }; then
  2703   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2704 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2705 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2706 # so that the user can short-circuit this test for compilers unknown to
  2707 # Autoconf.
  2708 for ac_file in $ac_files ''
  2709 do
  2710   test -f "$ac_file" || continue
  2711   case $ac_file in
  2712     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2713 	;;
  2714     [ab].out )
  2715 	# We found the default executable, but exeext='' is most
  2716 	# certainly right.
  2717 	break;;
  2718     *.* )
  2719         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2720 	then :; else
  2721 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2722 	fi
  2723 	# We set ac_cv_exeext here because the later test for it is not
  2724 	# safe: cross compilers may not add the suffix if given an `-o'
  2725 	# argument, so we may need to know it at that point already.
  2726 	# Even if this section looks crufty: it has the advantage of
  2727 	# actually working.
  2728 	break;;
  2729     * )
  2730 	break;;
  2731   esac
  2732 done
  2733 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2735 else
  2736   ac_file=''
  2737 fi
  2739 { echo "$as_me:$LINENO: result: $ac_file" >&5
  2740 echo "${ECHO_T}$ac_file" >&6; }
  2741 if test -z "$ac_file"; then
  2742   echo "$as_me: failed program was:" >&5
  2743 sed 's/^/| /' conftest.$ac_ext >&5
  2745 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2746 See \`config.log' for more details." >&5
  2747 echo "$as_me: error: C compiler cannot create executables
  2748 See \`config.log' for more details." >&2;}
  2749    { (exit 77); exit 77; }; }
  2750 fi
  2752 ac_exeext=$ac_cv_exeext
  2754 # Check that the compiler produces executables we can run.  If not, either
  2755 # the compiler is broken, or we cross compile.
  2756 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2757 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  2758 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2759 # If not cross compiling, check that we can run a simple program.
  2760 if test "$cross_compiling" != yes; then
  2761   if { ac_try='./$ac_file'
  2762   { (case "(($ac_try" in
  2763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2764   *) ac_try_echo=$ac_try;;
  2765 esac
  2766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2767   (eval "$ac_try") 2>&5
  2768   ac_status=$?
  2769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2770   (exit $ac_status); }; }; then
  2771     cross_compiling=no
  2772   else
  2773     if test "$cross_compiling" = maybe; then
  2774 	cross_compiling=yes
  2775     else
  2776 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2777 If you meant to cross compile, use \`--host'.
  2778 See \`config.log' for more details." >&5
  2779 echo "$as_me: error: cannot run C compiled programs.
  2780 If you meant to cross compile, use \`--host'.
  2781 See \`config.log' for more details." >&2;}
  2782    { (exit 1); exit 1; }; }
  2783     fi
  2784   fi
  2785 fi
  2786 { echo "$as_me:$LINENO: result: yes" >&5
  2787 echo "${ECHO_T}yes" >&6; }
  2789 rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2790 ac_clean_files=$ac_clean_files_save
  2791 # Check that the compiler produces executables we can run.  If not, either
  2792 # the compiler is broken, or we cross compile.
  2793 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2794 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  2795 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2796 echo "${ECHO_T}$cross_compiling" >&6; }
  2798 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2799 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  2800 if { (ac_try="$ac_link"
  2801 case "(($ac_try" in
  2802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2803   *) ac_try_echo=$ac_try;;
  2804 esac
  2805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2806   (eval "$ac_link") 2>&5
  2807   ac_status=$?
  2808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2809   (exit $ac_status); }; then
  2810   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2811 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2812 # work properly (i.e., refer to `conftest.exe'), while it won't with
  2813 # `rm'.
  2814 for ac_file in conftest.exe conftest conftest.*; do
  2815   test -f "$ac_file" || continue
  2816   case $ac_file in
  2817     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2818     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2819 	  break;;
  2820     * ) break;;
  2821   esac
  2822 done
  2823 else
  2824   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2825 See \`config.log' for more details." >&5
  2826 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2827 See \`config.log' for more details." >&2;}
  2828    { (exit 1); exit 1; }; }
  2829 fi
  2831 rm -f conftest$ac_cv_exeext
  2832 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2833 echo "${ECHO_T}$ac_cv_exeext" >&6; }
  2835 rm -f conftest.$ac_ext
  2836 EXEEXT=$ac_cv_exeext
  2837 ac_exeext=$EXEEXT
  2838 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2839 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  2840 if test "${ac_cv_objext+set}" = set; then
  2841   echo $ECHO_N "(cached) $ECHO_C" >&6
  2842 else
  2843   cat >conftest.$ac_ext <<_ACEOF
  2844 /* confdefs.h.  */
  2845 _ACEOF
  2846 cat confdefs.h >>conftest.$ac_ext
  2847 cat >>conftest.$ac_ext <<_ACEOF
  2848 /* end confdefs.h.  */
  2850 int
  2851 main ()
  2855   return 0;
  2857 _ACEOF
  2858 rm -f conftest.o conftest.obj
  2859 if { (ac_try="$ac_compile"
  2860 case "(($ac_try" in
  2861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2862   *) ac_try_echo=$ac_try;;
  2863 esac
  2864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2865   (eval "$ac_compile") 2>&5
  2866   ac_status=$?
  2867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2868   (exit $ac_status); }; then
  2869   for ac_file in conftest.o conftest.obj conftest.*; do
  2870   test -f "$ac_file" || continue;
  2871   case $ac_file in
  2872     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  2873     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2874        break;;
  2875   esac
  2876 done
  2877 else
  2878   echo "$as_me: failed program was:" >&5
  2879 sed 's/^/| /' conftest.$ac_ext >&5
  2881 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2882 See \`config.log' for more details." >&5
  2883 echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2884 See \`config.log' for more details." >&2;}
  2885    { (exit 1); exit 1; }; }
  2886 fi
  2888 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2889 fi
  2890 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2891 echo "${ECHO_T}$ac_cv_objext" >&6; }
  2892 OBJEXT=$ac_cv_objext
  2893 ac_objext=$OBJEXT
  2894 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2895 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  2896 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2897   echo $ECHO_N "(cached) $ECHO_C" >&6
  2898 else
  2899   cat >conftest.$ac_ext <<_ACEOF
  2900 /* confdefs.h.  */
  2901 _ACEOF
  2902 cat confdefs.h >>conftest.$ac_ext
  2903 cat >>conftest.$ac_ext <<_ACEOF
  2904 /* end confdefs.h.  */
  2906 int
  2907 main ()
  2909 #ifndef __GNUC__
  2910        choke me
  2911 #endif
  2914   return 0;
  2916 _ACEOF
  2917 rm -f conftest.$ac_objext
  2918 if { (ac_try="$ac_compile"
  2919 case "(($ac_try" in
  2920   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2921   *) ac_try_echo=$ac_try;;
  2922 esac
  2923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2924   (eval "$ac_compile") 2>conftest.er1
  2925   ac_status=$?
  2926   grep -v '^ *+' conftest.er1 >conftest.err
  2927   rm -f conftest.er1
  2928   cat conftest.err >&5
  2929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2930   (exit $ac_status); } && {
  2931 	 test -z "$ac_c_werror_flag" ||
  2932 	 test ! -s conftest.err
  2933        } && test -s conftest.$ac_objext; then
  2934   ac_compiler_gnu=yes
  2935 else
  2936   echo "$as_me: failed program was:" >&5
  2937 sed 's/^/| /' conftest.$ac_ext >&5
  2939 	ac_compiler_gnu=no
  2940 fi
  2942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2943 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2945 fi
  2946 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2947 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  2948 GCC=`test $ac_compiler_gnu = yes && echo yes`
  2949 ac_test_CFLAGS=${CFLAGS+set}
  2950 ac_save_CFLAGS=$CFLAGS
  2951 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2952 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  2953 if test "${ac_cv_prog_cc_g+set}" = set; then
  2954   echo $ECHO_N "(cached) $ECHO_C" >&6
  2955 else
  2956   ac_save_c_werror_flag=$ac_c_werror_flag
  2957    ac_c_werror_flag=yes
  2958    ac_cv_prog_cc_g=no
  2959    CFLAGS="-g"
  2960    cat >conftest.$ac_ext <<_ACEOF
  2961 /* confdefs.h.  */
  2962 _ACEOF
  2963 cat confdefs.h >>conftest.$ac_ext
  2964 cat >>conftest.$ac_ext <<_ACEOF
  2965 /* end confdefs.h.  */
  2967 int
  2968 main ()
  2972   return 0;
  2974 _ACEOF
  2975 rm -f conftest.$ac_objext
  2976 if { (ac_try="$ac_compile"
  2977 case "(($ac_try" in
  2978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2979   *) ac_try_echo=$ac_try;;
  2980 esac
  2981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2982   (eval "$ac_compile") 2>conftest.er1
  2983   ac_status=$?
  2984   grep -v '^ *+' conftest.er1 >conftest.err
  2985   rm -f conftest.er1
  2986   cat conftest.err >&5
  2987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2988   (exit $ac_status); } && {
  2989 	 test -z "$ac_c_werror_flag" ||
  2990 	 test ! -s conftest.err
  2991        } && test -s conftest.$ac_objext; then
  2992   ac_cv_prog_cc_g=yes
  2993 else
  2994   echo "$as_me: failed program was:" >&5
  2995 sed 's/^/| /' conftest.$ac_ext >&5
  2997 	CFLAGS=""
  2998       cat >conftest.$ac_ext <<_ACEOF
  2999 /* confdefs.h.  */
  3000 _ACEOF
  3001 cat confdefs.h >>conftest.$ac_ext
  3002 cat >>conftest.$ac_ext <<_ACEOF
  3003 /* end confdefs.h.  */
  3005 int
  3006 main ()
  3010   return 0;
  3012 _ACEOF
  3013 rm -f conftest.$ac_objext
  3014 if { (ac_try="$ac_compile"
  3015 case "(($ac_try" in
  3016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3017   *) ac_try_echo=$ac_try;;
  3018 esac
  3019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3020   (eval "$ac_compile") 2>conftest.er1
  3021   ac_status=$?
  3022   grep -v '^ *+' conftest.er1 >conftest.err
  3023   rm -f conftest.er1
  3024   cat conftest.err >&5
  3025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3026   (exit $ac_status); } && {
  3027 	 test -z "$ac_c_werror_flag" ||
  3028 	 test ! -s conftest.err
  3029        } && test -s conftest.$ac_objext; then
  3031 else
  3032   echo "$as_me: failed program was:" >&5
  3033 sed 's/^/| /' conftest.$ac_ext >&5
  3035 	ac_c_werror_flag=$ac_save_c_werror_flag
  3036 	 CFLAGS="-g"
  3037 	 cat >conftest.$ac_ext <<_ACEOF
  3038 /* confdefs.h.  */
  3039 _ACEOF
  3040 cat confdefs.h >>conftest.$ac_ext
  3041 cat >>conftest.$ac_ext <<_ACEOF
  3042 /* end confdefs.h.  */
  3044 int
  3045 main ()
  3049   return 0;
  3051 _ACEOF
  3052 rm -f conftest.$ac_objext
  3053 if { (ac_try="$ac_compile"
  3054 case "(($ac_try" in
  3055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3056   *) ac_try_echo=$ac_try;;
  3057 esac
  3058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3059   (eval "$ac_compile") 2>conftest.er1
  3060   ac_status=$?
  3061   grep -v '^ *+' conftest.er1 >conftest.err
  3062   rm -f conftest.er1
  3063   cat conftest.err >&5
  3064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3065   (exit $ac_status); } && {
  3066 	 test -z "$ac_c_werror_flag" ||
  3067 	 test ! -s conftest.err
  3068        } && test -s conftest.$ac_objext; then
  3069   ac_cv_prog_cc_g=yes
  3070 else
  3071   echo "$as_me: failed program was:" >&5
  3072 sed 's/^/| /' conftest.$ac_ext >&5
  3075 fi
  3077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3078 fi
  3080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3081 fi
  3083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3084    ac_c_werror_flag=$ac_save_c_werror_flag
  3085 fi
  3086 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3087 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  3088 if test "$ac_test_CFLAGS" = set; then
  3089   CFLAGS=$ac_save_CFLAGS
  3090 elif test $ac_cv_prog_cc_g = yes; then
  3091   if test "$GCC" = yes; then
  3092     CFLAGS="-g -O2"
  3093   else
  3094     CFLAGS="-g"
  3095   fi
  3096 else
  3097   if test "$GCC" = yes; then
  3098     CFLAGS="-O2"
  3099   else
  3100     CFLAGS=
  3101   fi
  3102 fi
  3103 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3104 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3105 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3106   echo $ECHO_N "(cached) $ECHO_C" >&6
  3107 else
  3108   ac_cv_prog_cc_c89=no
  3109 ac_save_CC=$CC
  3110 cat >conftest.$ac_ext <<_ACEOF
  3111 /* confdefs.h.  */
  3112 _ACEOF
  3113 cat confdefs.h >>conftest.$ac_ext
  3114 cat >>conftest.$ac_ext <<_ACEOF
  3115 /* end confdefs.h.  */
  3116 #include <stdarg.h>
  3117 #include <stdio.h>
  3118 #include <sys/types.h>
  3119 #include <sys/stat.h>
  3120 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3121 struct buf { int x; };
  3122 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3123 static char *e (p, i)
  3124      char **p;
  3125      int i;
  3127   return p[i];
  3129 static char *f (char * (*g) (char **, int), char **p, ...)
  3131   char *s;
  3132   va_list v;
  3133   va_start (v,p);
  3134   s = g (p, va_arg (v,int));
  3135   va_end (v);
  3136   return s;
  3139 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3140    function prototypes and stuff, but not '\xHH' hex character constants.
  3141    These don't provoke an error unfortunately, instead are silently treated
  3142    as 'x'.  The following induces an error, until -std is added to get
  3143    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3144    array size at least.  It's necessary to write '\x00'==0 to get something
  3145    that's true only with -std.  */
  3146 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3148 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3149    inside strings and character constants.  */
  3150 #define FOO(x) 'x'
  3151 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3153 int test (int i, double x);
  3154 struct s1 {int (*f) (int a);};
  3155 struct s2 {int (*f) (double a);};
  3156 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3157 int argc;
  3158 char **argv;
  3159 int
  3160 main ()
  3162 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3164   return 0;
  3166 _ACEOF
  3167 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3168 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3169 do
  3170   CC="$ac_save_CC $ac_arg"
  3171   rm -f conftest.$ac_objext
  3172 if { (ac_try="$ac_compile"
  3173 case "(($ac_try" in
  3174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3175   *) ac_try_echo=$ac_try;;
  3176 esac
  3177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3178   (eval "$ac_compile") 2>conftest.er1
  3179   ac_status=$?
  3180   grep -v '^ *+' conftest.er1 >conftest.err
  3181   rm -f conftest.er1
  3182   cat conftest.err >&5
  3183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3184   (exit $ac_status); } && {
  3185 	 test -z "$ac_c_werror_flag" ||
  3186 	 test ! -s conftest.err
  3187        } && test -s conftest.$ac_objext; then
  3188   ac_cv_prog_cc_c89=$ac_arg
  3189 else
  3190   echo "$as_me: failed program was:" >&5
  3191 sed 's/^/| /' conftest.$ac_ext >&5
  3194 fi
  3196 rm -f core conftest.err conftest.$ac_objext
  3197   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3198 done
  3199 rm -f conftest.$ac_ext
  3200 CC=$ac_save_CC
  3202 fi
  3203 # AC_CACHE_VAL
  3204 case "x$ac_cv_prog_cc_c89" in
  3205   x)
  3206     { echo "$as_me:$LINENO: result: none needed" >&5
  3207 echo "${ECHO_T}none needed" >&6; } ;;
  3208   xno)
  3209     { echo "$as_me:$LINENO: result: unsupported" >&5
  3210 echo "${ECHO_T}unsupported" >&6; } ;;
  3211   *)
  3212     CC="$CC $ac_cv_prog_cc_c89"
  3213     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3214 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  3215 esac
  3218 ac_ext=c
  3219 ac_cpp='$CPP $CPPFLAGS'
  3220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3224 depcc="$CC"   am_compiler_list=
  3226 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3227 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  3228 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3229   echo $ECHO_N "(cached) $ECHO_C" >&6
  3230 else
  3231   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3232   # We make a subdir and do the tests there.  Otherwise we can end up
  3233   # making bogus files that we don't know about and never remove.  For
  3234   # instance it was reported that on HP-UX the gcc test will end up
  3235   # making a dummy file named `D' -- because `-MD' means `put the output
  3236   # in D'.
  3237   mkdir conftest.dir
  3238   # Copy depcomp to subdir because otherwise we won't find it if we're
  3239   # using a relative directory.
  3240   cp "$am_depcomp" conftest.dir
  3241   cd conftest.dir
  3242   # We will build objects and dependencies in a subdirectory because
  3243   # it helps to detect inapplicable dependency modes.  For instance
  3244   # both Tru64's cc and ICC support -MD to output dependencies as a
  3245   # side effect of compilation, but ICC will put the dependencies in
  3246   # the current directory while Tru64 will put them in the object
  3247   # directory.
  3248   mkdir sub
  3250   am_cv_CC_dependencies_compiler_type=none
  3251   if test "$am_compiler_list" = ""; then
  3252      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3253   fi
  3254   for depmode in $am_compiler_list; do
  3255     # Setup a source with many dependencies, because some compilers
  3256     # like to wrap large dependency lists on column 80 (with \), and
  3257     # we should not choose a depcomp mode which is confused by this.
  3259     # We need to recreate these files for each test, as the compiler may
  3260     # overwrite some of them when testing with obscure command lines.
  3261     # This happens at least with the AIX C compiler.
  3262     : > sub/conftest.c
  3263     for i in 1 2 3 4 5 6; do
  3264       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3265       : > sub/conftst$i.h
  3266     done
  3267     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3269     case $depmode in
  3270     nosideeffect)
  3271       # after this tag, mechanisms are not by side-effect, so they'll
  3272       # only be used when explicitly requested
  3273       if test "x$enable_dependency_tracking" = xyes; then
  3274 	continue
  3275       else
  3276 	break
  3277       fi
  3278       ;;
  3279     none) break ;;
  3280     esac
  3281     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3282     # mode.  It turns out that the SunPro C++ compiler does not properly
  3283     # handle `-M -o', and we need to detect this.
  3284     if depmode=$depmode \
  3285        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3286        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3287        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3288          >/dev/null 2>conftest.err &&
  3289        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3290        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3291        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3292       # icc doesn't choke on unknown options, it will just issue warnings
  3293       # (even with -Werror).  So we grep stderr for any message
  3294       # that says an option was ignored.
  3295       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
  3296         am_cv_CC_dependencies_compiler_type=$depmode
  3297         break
  3298       fi
  3299     fi
  3300   done
  3302   cd ..
  3303   rm -rf conftest.dir
  3304 else
  3305   am_cv_CC_dependencies_compiler_type=none
  3306 fi
  3308 fi
  3309 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3310 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  3311 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3315 if
  3316   test "x$enable_dependency_tracking" != xno \
  3317   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3318   am__fastdepCC_TRUE=
  3319   am__fastdepCC_FALSE='#'
  3320 else
  3321   am__fastdepCC_TRUE='#'
  3322   am__fastdepCC_FALSE=
  3323 fi
  3327 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
  3328 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
  3329 if test "${ac_cv_search_strerror+set}" = set; then
  3330   echo $ECHO_N "(cached) $ECHO_C" >&6
  3331 else
  3332   ac_func_search_save_LIBS=$LIBS
  3333 cat >conftest.$ac_ext <<_ACEOF
  3334 /* confdefs.h.  */
  3335 _ACEOF
  3336 cat confdefs.h >>conftest.$ac_ext
  3337 cat >>conftest.$ac_ext <<_ACEOF
  3338 /* end confdefs.h.  */
  3340 /* Override any GCC internal prototype to avoid an error.
  3341    Use char because int might match the return type of a GCC
  3342    builtin and then its argument prototype would still apply.  */
  3343 #ifdef __cplusplus
  3344 extern "C"
  3345 #endif
  3346 char strerror ();
  3347 int
  3348 main ()
  3350 return strerror ();
  3352   return 0;
  3354 _ACEOF
  3355 for ac_lib in '' cposix; do
  3356   if test -z "$ac_lib"; then
  3357     ac_res="none required"
  3358   else
  3359     ac_res=-l$ac_lib
  3360     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
  3361   fi
  3362   rm -f conftest.$ac_objext conftest$ac_exeext
  3363 if { (ac_try="$ac_link"
  3364 case "(($ac_try" in
  3365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3366   *) ac_try_echo=$ac_try;;
  3367 esac
  3368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3369   (eval "$ac_link") 2>conftest.er1
  3370   ac_status=$?
  3371   grep -v '^ *+' conftest.er1 >conftest.err
  3372   rm -f conftest.er1
  3373   cat conftest.err >&5
  3374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3375   (exit $ac_status); } && {
  3376 	 test -z "$ac_c_werror_flag" ||
  3377 	 test ! -s conftest.err
  3378        } && test -s conftest$ac_exeext &&
  3379        $as_test_x conftest$ac_exeext; then
  3380   ac_cv_search_strerror=$ac_res
  3381 else
  3382   echo "$as_me: failed program was:" >&5
  3383 sed 's/^/| /' conftest.$ac_ext >&5
  3386 fi
  3388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3389       conftest$ac_exeext
  3390   if test "${ac_cv_search_strerror+set}" = set; then
  3391   break
  3392 fi
  3393 done
  3394 if test "${ac_cv_search_strerror+set}" = set; then
  3396 else
  3397   ac_cv_search_strerror=no
  3398 fi
  3399 rm conftest.$ac_ext
  3400 LIBS=$ac_func_search_save_LIBS
  3401 fi
  3402 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
  3403 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
  3404 ac_res=$ac_cv_search_strerror
  3405 if test "$ac_res" != no; then
  3406   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  3408 fi
  3410 ac_ext=c
  3411 ac_cpp='$CPP $CPPFLAGS'
  3412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3415 if test -n "$ac_tool_prefix"; then
  3416   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3417 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3420 if test "${ac_cv_prog_CC+set}" = set; then
  3421   echo $ECHO_N "(cached) $ECHO_C" >&6
  3422 else
  3423   if test -n "$CC"; then
  3424   ac_cv_prog_CC="$CC" # Let the user override the test.
  3425 else
  3426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3427 for as_dir in $PATH
  3428 do
  3429   IFS=$as_save_IFS
  3430   test -z "$as_dir" && as_dir=.
  3431   for ac_exec_ext in '' $ac_executable_extensions; do
  3432   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3433     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3434     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3435     break 2
  3436   fi
  3437 done
  3438 done
  3439 IFS=$as_save_IFS
  3441 fi
  3442 fi
  3443 CC=$ac_cv_prog_CC
  3444 if test -n "$CC"; then
  3445   { echo "$as_me:$LINENO: result: $CC" >&5
  3446 echo "${ECHO_T}$CC" >&6; }
  3447 else
  3448   { echo "$as_me:$LINENO: result: no" >&5
  3449 echo "${ECHO_T}no" >&6; }
  3450 fi
  3453 fi
  3454 if test -z "$ac_cv_prog_CC"; then
  3455   ac_ct_CC=$CC
  3456   # Extract the first word of "gcc", so it can be a program name with args.
  3457 set dummy gcc; ac_word=$2
  3458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3460 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3461   echo $ECHO_N "(cached) $ECHO_C" >&6
  3462 else
  3463   if test -n "$ac_ct_CC"; then
  3464   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3465 else
  3466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3467 for as_dir in $PATH
  3468 do
  3469   IFS=$as_save_IFS
  3470   test -z "$as_dir" && as_dir=.
  3471   for ac_exec_ext in '' $ac_executable_extensions; do
  3472   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3473     ac_cv_prog_ac_ct_CC="gcc"
  3474     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3475     break 2
  3476   fi
  3477 done
  3478 done
  3479 IFS=$as_save_IFS
  3481 fi
  3482 fi
  3483 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3484 if test -n "$ac_ct_CC"; then
  3485   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3486 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3487 else
  3488   { echo "$as_me:$LINENO: result: no" >&5
  3489 echo "${ECHO_T}no" >&6; }
  3490 fi
  3492   if test "x$ac_ct_CC" = x; then
  3493     CC=""
  3494   else
  3495     case $cross_compiling:$ac_tool_warned in
  3496 yes:)
  3497 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3498 whose name does not start with the host triplet.  If you think this
  3499 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3500 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3501 whose name does not start with the host triplet.  If you think this
  3502 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3503 ac_tool_warned=yes ;;
  3504 esac
  3505     CC=$ac_ct_CC
  3506   fi
  3507 else
  3508   CC="$ac_cv_prog_CC"
  3509 fi
  3511 if test -z "$CC"; then
  3512           if test -n "$ac_tool_prefix"; then
  3513     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3514 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3517 if test "${ac_cv_prog_CC+set}" = set; then
  3518   echo $ECHO_N "(cached) $ECHO_C" >&6
  3519 else
  3520   if test -n "$CC"; then
  3521   ac_cv_prog_CC="$CC" # Let the user override the test.
  3522 else
  3523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3524 for as_dir in $PATH
  3525 do
  3526   IFS=$as_save_IFS
  3527   test -z "$as_dir" && as_dir=.
  3528   for ac_exec_ext in '' $ac_executable_extensions; do
  3529   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3530     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3531     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3532     break 2
  3533   fi
  3534 done
  3535 done
  3536 IFS=$as_save_IFS
  3538 fi
  3539 fi
  3540 CC=$ac_cv_prog_CC
  3541 if test -n "$CC"; then
  3542   { echo "$as_me:$LINENO: result: $CC" >&5
  3543 echo "${ECHO_T}$CC" >&6; }
  3544 else
  3545   { echo "$as_me:$LINENO: result: no" >&5
  3546 echo "${ECHO_T}no" >&6; }
  3547 fi
  3550   fi
  3551 fi
  3552 if test -z "$CC"; then
  3553   # Extract the first word of "cc", so it can be a program name with args.
  3554 set dummy cc; ac_word=$2
  3555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3557 if test "${ac_cv_prog_CC+set}" = set; then
  3558   echo $ECHO_N "(cached) $ECHO_C" >&6
  3559 else
  3560   if test -n "$CC"; then
  3561   ac_cv_prog_CC="$CC" # Let the user override the test.
  3562 else
  3563   ac_prog_rejected=no
  3564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3565 for as_dir in $PATH
  3566 do
  3567   IFS=$as_save_IFS
  3568   test -z "$as_dir" && as_dir=.
  3569   for ac_exec_ext in '' $ac_executable_extensions; do
  3570   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3571     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3572        ac_prog_rejected=yes
  3573        continue
  3574      fi
  3575     ac_cv_prog_CC="cc"
  3576     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3577     break 2
  3578   fi
  3579 done
  3580 done
  3581 IFS=$as_save_IFS
  3583 if test $ac_prog_rejected = yes; then
  3584   # We found a bogon in the path, so make sure we never use it.
  3585   set dummy $ac_cv_prog_CC
  3586   shift
  3587   if test $# != 0; then
  3588     # We chose a different compiler from the bogus one.
  3589     # However, it has the same basename, so the bogon will be chosen
  3590     # first if we set CC to just the basename; use the full file name.
  3591     shift
  3592     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3593   fi
  3594 fi
  3595 fi
  3596 fi
  3597 CC=$ac_cv_prog_CC
  3598 if test -n "$CC"; then
  3599   { echo "$as_me:$LINENO: result: $CC" >&5
  3600 echo "${ECHO_T}$CC" >&6; }
  3601 else
  3602   { echo "$as_me:$LINENO: result: no" >&5
  3603 echo "${ECHO_T}no" >&6; }
  3604 fi
  3607 fi
  3608 if test -z "$CC"; then
  3609   if test -n "$ac_tool_prefix"; then
  3610   for ac_prog in cl.exe
  3611   do
  3612     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3613 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3616 if test "${ac_cv_prog_CC+set}" = set; then
  3617   echo $ECHO_N "(cached) $ECHO_C" >&6
  3618 else
  3619   if test -n "$CC"; then
  3620   ac_cv_prog_CC="$CC" # Let the user override the test.
  3621 else
  3622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3623 for as_dir in $PATH
  3624 do
  3625   IFS=$as_save_IFS
  3626   test -z "$as_dir" && as_dir=.
  3627   for ac_exec_ext in '' $ac_executable_extensions; do
  3628   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3629     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3630     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3631     break 2
  3632   fi
  3633 done
  3634 done
  3635 IFS=$as_save_IFS
  3637 fi
  3638 fi
  3639 CC=$ac_cv_prog_CC
  3640 if test -n "$CC"; then
  3641   { echo "$as_me:$LINENO: result: $CC" >&5
  3642 echo "${ECHO_T}$CC" >&6; }
  3643 else
  3644   { echo "$as_me:$LINENO: result: no" >&5
  3645 echo "${ECHO_T}no" >&6; }
  3646 fi
  3649     test -n "$CC" && break
  3650   done
  3651 fi
  3652 if test -z "$CC"; then
  3653   ac_ct_CC=$CC
  3654   for ac_prog in cl.exe
  3655 do
  3656   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3657 set dummy $ac_prog; ac_word=$2
  3658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3660 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3661   echo $ECHO_N "(cached) $ECHO_C" >&6
  3662 else
  3663   if test -n "$ac_ct_CC"; then
  3664   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3665 else
  3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3667 for as_dir in $PATH
  3668 do
  3669   IFS=$as_save_IFS
  3670   test -z "$as_dir" && as_dir=.
  3671   for ac_exec_ext in '' $ac_executable_extensions; do
  3672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3673     ac_cv_prog_ac_ct_CC="$ac_prog"
  3674     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3675     break 2
  3676   fi
  3677 done
  3678 done
  3679 IFS=$as_save_IFS
  3681 fi
  3682 fi
  3683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3684 if test -n "$ac_ct_CC"; then
  3685   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3686 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3687 else
  3688   { echo "$as_me:$LINENO: result: no" >&5
  3689 echo "${ECHO_T}no" >&6; }
  3690 fi
  3693   test -n "$ac_ct_CC" && break
  3694 done
  3696   if test "x$ac_ct_CC" = x; then
  3697     CC=""
  3698   else
  3699     case $cross_compiling:$ac_tool_warned in
  3700 yes:)
  3701 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3702 whose name does not start with the host triplet.  If you think this
  3703 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3704 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3705 whose name does not start with the host triplet.  If you think this
  3706 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3707 ac_tool_warned=yes ;;
  3708 esac
  3709     CC=$ac_ct_CC
  3710   fi
  3711 fi
  3713 fi
  3716 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3717 See \`config.log' for more details." >&5
  3718 echo "$as_me: error: no acceptable C compiler found in \$PATH
  3719 See \`config.log' for more details." >&2;}
  3720    { (exit 1); exit 1; }; }
  3722 # Provide some information about the compiler.
  3723 echo "$as_me:$LINENO: checking for C compiler version" >&5
  3724 ac_compiler=`set X $ac_compile; echo $2`
  3725 { (ac_try="$ac_compiler --version >&5"
  3726 case "(($ac_try" in
  3727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3728   *) ac_try_echo=$ac_try;;
  3729 esac
  3730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3731   (eval "$ac_compiler --version >&5") 2>&5
  3732   ac_status=$?
  3733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3734   (exit $ac_status); }
  3735 { (ac_try="$ac_compiler -v >&5"
  3736 case "(($ac_try" in
  3737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3738   *) ac_try_echo=$ac_try;;
  3739 esac
  3740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3741   (eval "$ac_compiler -v >&5") 2>&5
  3742   ac_status=$?
  3743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3744   (exit $ac_status); }
  3745 { (ac_try="$ac_compiler -V >&5"
  3746 case "(($ac_try" in
  3747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3748   *) ac_try_echo=$ac_try;;
  3749 esac
  3750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3751   (eval "$ac_compiler -V >&5") 2>&5
  3752   ac_status=$?
  3753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3754   (exit $ac_status); }
  3756 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3757 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  3758 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3759   echo $ECHO_N "(cached) $ECHO_C" >&6
  3760 else
  3761   cat >conftest.$ac_ext <<_ACEOF
  3762 /* confdefs.h.  */
  3763 _ACEOF
  3764 cat confdefs.h >>conftest.$ac_ext
  3765 cat >>conftest.$ac_ext <<_ACEOF
  3766 /* end confdefs.h.  */
  3768 int
  3769 main ()
  3771 #ifndef __GNUC__
  3772        choke me
  3773 #endif
  3776   return 0;
  3778 _ACEOF
  3779 rm -f conftest.$ac_objext
  3780 if { (ac_try="$ac_compile"
  3781 case "(($ac_try" in
  3782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3783   *) ac_try_echo=$ac_try;;
  3784 esac
  3785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3786   (eval "$ac_compile") 2>conftest.er1
  3787   ac_status=$?
  3788   grep -v '^ *+' conftest.er1 >conftest.err
  3789   rm -f conftest.er1
  3790   cat conftest.err >&5
  3791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3792   (exit $ac_status); } && {
  3793 	 test -z "$ac_c_werror_flag" ||
  3794 	 test ! -s conftest.err
  3795        } && test -s conftest.$ac_objext; then
  3796   ac_compiler_gnu=yes
  3797 else
  3798   echo "$as_me: failed program was:" >&5
  3799 sed 's/^/| /' conftest.$ac_ext >&5
  3801 	ac_compiler_gnu=no
  3802 fi
  3804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3805 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3807 fi
  3808 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3809 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  3810 GCC=`test $ac_compiler_gnu = yes && echo yes`
  3811 ac_test_CFLAGS=${CFLAGS+set}
  3812 ac_save_CFLAGS=$CFLAGS
  3813 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3814 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  3815 if test "${ac_cv_prog_cc_g+set}" = set; then
  3816   echo $ECHO_N "(cached) $ECHO_C" >&6
  3817 else
  3818   ac_save_c_werror_flag=$ac_c_werror_flag
  3819    ac_c_werror_flag=yes
  3820    ac_cv_prog_cc_g=no
  3821    CFLAGS="-g"
  3822    cat >conftest.$ac_ext <<_ACEOF
  3823 /* confdefs.h.  */
  3824 _ACEOF
  3825 cat confdefs.h >>conftest.$ac_ext
  3826 cat >>conftest.$ac_ext <<_ACEOF
  3827 /* end confdefs.h.  */
  3829 int
  3830 main ()
  3834   return 0;
  3836 _ACEOF
  3837 rm -f conftest.$ac_objext
  3838 if { (ac_try="$ac_compile"
  3839 case "(($ac_try" in
  3840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3841   *) ac_try_echo=$ac_try;;
  3842 esac
  3843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3844   (eval "$ac_compile") 2>conftest.er1
  3845   ac_status=$?
  3846   grep -v '^ *+' conftest.er1 >conftest.err
  3847   rm -f conftest.er1
  3848   cat conftest.err >&5
  3849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3850   (exit $ac_status); } && {
  3851 	 test -z "$ac_c_werror_flag" ||
  3852 	 test ! -s conftest.err
  3853        } && test -s conftest.$ac_objext; then
  3854   ac_cv_prog_cc_g=yes
  3855 else
  3856   echo "$as_me: failed program was:" >&5
  3857 sed 's/^/| /' conftest.$ac_ext >&5
  3859 	CFLAGS=""
  3860       cat >conftest.$ac_ext <<_ACEOF
  3861 /* confdefs.h.  */
  3862 _ACEOF
  3863 cat confdefs.h >>conftest.$ac_ext
  3864 cat >>conftest.$ac_ext <<_ACEOF
  3865 /* end confdefs.h.  */
  3867 int
  3868 main ()
  3872   return 0;
  3874 _ACEOF
  3875 rm -f conftest.$ac_objext
  3876 if { (ac_try="$ac_compile"
  3877 case "(($ac_try" in
  3878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3879   *) ac_try_echo=$ac_try;;
  3880 esac
  3881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3882   (eval "$ac_compile") 2>conftest.er1
  3883   ac_status=$?
  3884   grep -v '^ *+' conftest.er1 >conftest.err
  3885   rm -f conftest.er1
  3886   cat conftest.err >&5
  3887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3888   (exit $ac_status); } && {
  3889 	 test -z "$ac_c_werror_flag" ||
  3890 	 test ! -s conftest.err
  3891        } && test -s conftest.$ac_objext; then
  3893 else
  3894   echo "$as_me: failed program was:" >&5
  3895 sed 's/^/| /' conftest.$ac_ext >&5
  3897 	ac_c_werror_flag=$ac_save_c_werror_flag
  3898 	 CFLAGS="-g"
  3899 	 cat >conftest.$ac_ext <<_ACEOF
  3900 /* confdefs.h.  */
  3901 _ACEOF
  3902 cat confdefs.h >>conftest.$ac_ext
  3903 cat >>conftest.$ac_ext <<_ACEOF
  3904 /* end confdefs.h.  */
  3906 int
  3907 main ()
  3911   return 0;
  3913 _ACEOF
  3914 rm -f conftest.$ac_objext
  3915 if { (ac_try="$ac_compile"
  3916 case "(($ac_try" in
  3917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3918   *) ac_try_echo=$ac_try;;
  3919 esac
  3920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3921   (eval "$ac_compile") 2>conftest.er1
  3922   ac_status=$?
  3923   grep -v '^ *+' conftest.er1 >conftest.err
  3924   rm -f conftest.er1
  3925   cat conftest.err >&5
  3926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3927   (exit $ac_status); } && {
  3928 	 test -z "$ac_c_werror_flag" ||
  3929 	 test ! -s conftest.err
  3930        } && test -s conftest.$ac_objext; then
  3931   ac_cv_prog_cc_g=yes
  3932 else
  3933   echo "$as_me: failed program was:" >&5
  3934 sed 's/^/| /' conftest.$ac_ext >&5
  3937 fi
  3939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3940 fi
  3942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3943 fi
  3945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3946    ac_c_werror_flag=$ac_save_c_werror_flag
  3947 fi
  3948 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3949 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  3950 if test "$ac_test_CFLAGS" = set; then
  3951   CFLAGS=$ac_save_CFLAGS
  3952 elif test $ac_cv_prog_cc_g = yes; then
  3953   if test "$GCC" = yes; then
  3954     CFLAGS="-g -O2"
  3955   else
  3956     CFLAGS="-g"
  3957   fi
  3958 else
  3959   if test "$GCC" = yes; then
  3960     CFLAGS="-O2"
  3961   else
  3962     CFLAGS=
  3963   fi
  3964 fi
  3965 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3966 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3967 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3968   echo $ECHO_N "(cached) $ECHO_C" >&6
  3969 else
  3970   ac_cv_prog_cc_c89=no
  3971 ac_save_CC=$CC
  3972 cat >conftest.$ac_ext <<_ACEOF
  3973 /* confdefs.h.  */
  3974 _ACEOF
  3975 cat confdefs.h >>conftest.$ac_ext
  3976 cat >>conftest.$ac_ext <<_ACEOF
  3977 /* end confdefs.h.  */
  3978 #include <stdarg.h>
  3979 #include <stdio.h>
  3980 #include <sys/types.h>
  3981 #include <sys/stat.h>
  3982 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3983 struct buf { int x; };
  3984 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3985 static char *e (p, i)
  3986      char **p;
  3987      int i;
  3989   return p[i];
  3991 static char *f (char * (*g) (char **, int), char **p, ...)
  3993   char *s;
  3994   va_list v;
  3995   va_start (v,p);
  3996   s = g (p, va_arg (v,int));
  3997   va_end (v);
  3998   return s;
  4001 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4002    function prototypes and stuff, but not '\xHH' hex character constants.
  4003    These don't provoke an error unfortunately, instead are silently treated
  4004    as 'x'.  The following induces an error, until -std is added to get
  4005    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4006    array size at least.  It's necessary to write '\x00'==0 to get something
  4007    that's true only with -std.  */
  4008 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4010 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4011    inside strings and character constants.  */
  4012 #define FOO(x) 'x'
  4013 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4015 int test (int i, double x);
  4016 struct s1 {int (*f) (int a);};
  4017 struct s2 {int (*f) (double a);};
  4018 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4019 int argc;
  4020 char **argv;
  4021 int
  4022 main ()
  4024 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4026   return 0;
  4028 _ACEOF
  4029 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4030 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4031 do
  4032   CC="$ac_save_CC $ac_arg"
  4033   rm -f conftest.$ac_objext
  4034 if { (ac_try="$ac_compile"
  4035 case "(($ac_try" in
  4036   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4037   *) ac_try_echo=$ac_try;;
  4038 esac
  4039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4040   (eval "$ac_compile") 2>conftest.er1
  4041   ac_status=$?
  4042   grep -v '^ *+' conftest.er1 >conftest.err
  4043   rm -f conftest.er1
  4044   cat conftest.err >&5
  4045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4046   (exit $ac_status); } && {
  4047 	 test -z "$ac_c_werror_flag" ||
  4048 	 test ! -s conftest.err
  4049        } && test -s conftest.$ac_objext; then
  4050   ac_cv_prog_cc_c89=$ac_arg
  4051 else
  4052   echo "$as_me: failed program was:" >&5
  4053 sed 's/^/| /' conftest.$ac_ext >&5
  4056 fi
  4058 rm -f core conftest.err conftest.$ac_objext
  4059   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4060 done
  4061 rm -f conftest.$ac_ext
  4062 CC=$ac_save_CC
  4064 fi
  4065 # AC_CACHE_VAL
  4066 case "x$ac_cv_prog_cc_c89" in
  4067   x)
  4068     { echo "$as_me:$LINENO: result: none needed" >&5
  4069 echo "${ECHO_T}none needed" >&6; } ;;
  4070   xno)
  4071     { echo "$as_me:$LINENO: result: unsupported" >&5
  4072 echo "${ECHO_T}unsupported" >&6; } ;;
  4073   *)
  4074     CC="$CC $ac_cv_prog_cc_c89"
  4075     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4076 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  4077 esac
  4080 ac_ext=c
  4081 ac_cpp='$CPP $CPPFLAGS'
  4082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4086 depcc="$CC"   am_compiler_list=
  4088 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4089 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  4090 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4091   echo $ECHO_N "(cached) $ECHO_C" >&6
  4092 else
  4093   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4094   # We make a subdir and do the tests there.  Otherwise we can end up
  4095   # making bogus files that we don't know about and never remove.  For
  4096   # instance it was reported that on HP-UX the gcc test will end up
  4097   # making a dummy file named `D' -- because `-MD' means `put the output
  4098   # in D'.
  4099   mkdir conftest.dir
  4100   # Copy depcomp to subdir because otherwise we won't find it if we're
  4101   # using a relative directory.
  4102   cp "$am_depcomp" conftest.dir
  4103   cd conftest.dir
  4104   # We will build objects and dependencies in a subdirectory because
  4105   # it helps to detect inapplicable dependency modes.  For instance
  4106   # both Tru64's cc and ICC support -MD to output dependencies as a
  4107   # side effect of compilation, but ICC will put the dependencies in
  4108   # the current directory while Tru64 will put them in the object
  4109   # directory.
  4110   mkdir sub
  4112   am_cv_CC_dependencies_compiler_type=none
  4113   if test "$am_compiler_list" = ""; then
  4114      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4115   fi
  4116   for depmode in $am_compiler_list; do
  4117     # Setup a source with many dependencies, because some compilers
  4118     # like to wrap large dependency lists on column 80 (with \), and
  4119     # we should not choose a depcomp mode which is confused by this.
  4121     # We need to recreate these files for each test, as the compiler may
  4122     # overwrite some of them when testing with obscure command lines.
  4123     # This happens at least with the AIX C compiler.
  4124     : > sub/conftest.c
  4125     for i in 1 2 3 4 5 6; do
  4126       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4127       : > sub/conftst$i.h
  4128     done
  4129     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4131     case $depmode in
  4132     nosideeffect)
  4133       # after this tag, mechanisms are not by side-effect, so they'll
  4134       # only be used when explicitly requested
  4135       if test "x$enable_dependency_tracking" = xyes; then
  4136 	continue
  4137       else
  4138 	break
  4139       fi
  4140       ;;
  4141     none) break ;;
  4142     esac
  4143     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4144     # mode.  It turns out that the SunPro C++ compiler does not properly
  4145     # handle `-M -o', and we need to detect this.
  4146     if depmode=$depmode \
  4147        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4148        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4149        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4150          >/dev/null 2>conftest.err &&
  4151        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4152        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4153        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4154       # icc doesn't choke on unknown options, it will just issue warnings
  4155       # (even with -Werror).  So we grep stderr for any message
  4156       # that says an option was ignored.
  4157       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
  4158         am_cv_CC_dependencies_compiler_type=$depmode
  4159         break
  4160       fi
  4161     fi
  4162   done
  4164   cd ..
  4165   rm -rf conftest.dir
  4166 else
  4167   am_cv_CC_dependencies_compiler_type=none
  4168 fi
  4170 fi
  4171 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4172 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  4173 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4177 if
  4178   test "x$enable_dependency_tracking" != xno \
  4179   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4180   am__fastdepCC_TRUE=
  4181   am__fastdepCC_FALSE='#'
  4182 else
  4183   am__fastdepCC_TRUE='#'
  4184   am__fastdepCC_FALSE=
  4185 fi
  4191 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
  4192 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
  4193 if test "${am_cv_prog_cc_stdc+set}" = set; then
  4194   echo $ECHO_N "(cached) $ECHO_C" >&6
  4195 else
  4196   am_cv_prog_cc_stdc=no
  4197 ac_save_CC="$CC"
  4198 # Don't try gcc -ansi; that turns off useful extensions and
  4199 # breaks some systems' header files.
  4200 # AIX			-qlanglvl=ansi
  4201 # Ultrix and OSF/1	-std1
  4202 # HP-UX 10.20 and later	-Ae
  4203 # HP-UX older versions	-Aa -D_HPUX_SOURCE
  4204 # SVR4			-Xc -D__EXTENSIONS__
  4205 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4206 do
  4207   CC="$ac_save_CC $ac_arg"
  4208   cat >conftest.$ac_ext <<_ACEOF
  4209 /* confdefs.h.  */
  4210 _ACEOF
  4211 cat confdefs.h >>conftest.$ac_ext
  4212 cat >>conftest.$ac_ext <<_ACEOF
  4213 /* end confdefs.h.  */
  4214 #include <stdarg.h>
  4215 #include <stdio.h>
  4216 #include <sys/types.h>
  4217 #include <sys/stat.h>
  4218 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4219 struct buf { int x; };
  4220 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4221 static char *e (p, i)
  4222      char **p;
  4223      int i;
  4225   return p[i];
  4227 static char *f (char * (*g) (char **, int), char **p, ...)
  4229   char *s;
  4230   va_list v;
  4231   va_start (v,p);
  4232   s = g (p, va_arg (v,int));
  4233   va_end (v);
  4234   return s;
  4236 int test (int i, double x);
  4237 struct s1 {int (*f) (int a);};
  4238 struct s2 {int (*f) (double a);};
  4239 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4240 int argc;
  4241 char **argv;
  4243 int
  4244 main ()
  4247 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4250   return 0;
  4252 _ACEOF
  4253 rm -f conftest.$ac_objext
  4254 if { (ac_try="$ac_compile"
  4255 case "(($ac_try" in
  4256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4257   *) ac_try_echo=$ac_try;;
  4258 esac
  4259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4260   (eval "$ac_compile") 2>conftest.er1
  4261   ac_status=$?
  4262   grep -v '^ *+' conftest.er1 >conftest.err
  4263   rm -f conftest.er1
  4264   cat conftest.err >&5
  4265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4266   (exit $ac_status); } && {
  4267 	 test -z "$ac_c_werror_flag" ||
  4268 	 test ! -s conftest.err
  4269        } && test -s conftest.$ac_objext; then
  4270   am_cv_prog_cc_stdc="$ac_arg"; break
  4271 else
  4272   echo "$as_me: failed program was:" >&5
  4273 sed 's/^/| /' conftest.$ac_ext >&5
  4276 fi
  4278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4279 done
  4280 CC="$ac_save_CC"
  4282 fi
  4284 if test -z "$am_cv_prog_cc_stdc"; then
  4285   { echo "$as_me:$LINENO: result: none needed" >&5
  4286 echo "${ECHO_T}none needed" >&6; }
  4287 else
  4288   { echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
  4289 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6; }
  4290 fi
  4291 case "x$am_cv_prog_cc_stdc" in
  4292   x|xno) ;;
  4293   *) CC="$CC $am_cv_prog_cc_stdc" ;;
  4294 esac
  4296 ac_ext=c
  4297 ac_cpp='$CPP $CPPFLAGS'
  4298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4301 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  4302 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  4303 # On Suns, sometimes $CPP names a directory.
  4304 if test -n "$CPP" && test -d "$CPP"; then
  4305   CPP=
  4306 fi
  4307 if test -z "$CPP"; then
  4308   if test "${ac_cv_prog_CPP+set}" = set; then
  4309   echo $ECHO_N "(cached) $ECHO_C" >&6
  4310 else
  4311       # Double quotes because CPP needs to be expanded
  4312     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  4313     do
  4314       ac_preproc_ok=false
  4315 for ac_c_preproc_warn_flag in '' yes
  4316 do
  4317   # Use a header file that comes with gcc, so configuring glibc
  4318   # with a fresh cross-compiler works.
  4319   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4320   # <limits.h> exists even on freestanding compilers.
  4321   # On the NeXT, cc -E runs the code through the compiler's parser,
  4322   # not just through cpp. "Syntax error" is here to catch this case.
  4323   cat >conftest.$ac_ext <<_ACEOF
  4324 /* confdefs.h.  */
  4325 _ACEOF
  4326 cat confdefs.h >>conftest.$ac_ext
  4327 cat >>conftest.$ac_ext <<_ACEOF
  4328 /* end confdefs.h.  */
  4329 #ifdef __STDC__
  4330 # include <limits.h>
  4331 #else
  4332 # include <assert.h>
  4333 #endif
  4334 		     Syntax error
  4335 _ACEOF
  4336 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4337 case "(($ac_try" in
  4338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4339   *) ac_try_echo=$ac_try;;
  4340 esac
  4341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4342   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4343   ac_status=$?
  4344   grep -v '^ *+' conftest.er1 >conftest.err
  4345   rm -f conftest.er1
  4346   cat conftest.err >&5
  4347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4348   (exit $ac_status); } >/dev/null && {
  4349 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4350 	 test ! -s conftest.err
  4351        }; then
  4353 else
  4354   echo "$as_me: failed program was:" >&5
  4355 sed 's/^/| /' conftest.$ac_ext >&5
  4357   # Broken: fails on valid input.
  4358 continue
  4359 fi
  4361 rm -f conftest.err conftest.$ac_ext
  4363   # OK, works on sane cases.  Now check whether nonexistent headers
  4364   # can be detected and how.
  4365   cat >conftest.$ac_ext <<_ACEOF
  4366 /* confdefs.h.  */
  4367 _ACEOF
  4368 cat confdefs.h >>conftest.$ac_ext
  4369 cat >>conftest.$ac_ext <<_ACEOF
  4370 /* end confdefs.h.  */
  4371 #include <ac_nonexistent.h>
  4372 _ACEOF
  4373 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4374 case "(($ac_try" in
  4375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4376   *) ac_try_echo=$ac_try;;
  4377 esac
  4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4379   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4380   ac_status=$?
  4381   grep -v '^ *+' conftest.er1 >conftest.err
  4382   rm -f conftest.er1
  4383   cat conftest.err >&5
  4384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4385   (exit $ac_status); } >/dev/null && {
  4386 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4387 	 test ! -s conftest.err
  4388        }; then
  4389   # Broken: success on invalid input.
  4390 continue
  4391 else
  4392   echo "$as_me: failed program was:" >&5
  4393 sed 's/^/| /' conftest.$ac_ext >&5
  4395   # Passes both tests.
  4396 ac_preproc_ok=:
  4397 break
  4398 fi
  4400 rm -f conftest.err conftest.$ac_ext
  4402 done
  4403 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4404 rm -f conftest.err conftest.$ac_ext
  4405 if $ac_preproc_ok; then
  4406   break
  4407 fi
  4409     done
  4410     ac_cv_prog_CPP=$CPP
  4412 fi
  4413   CPP=$ac_cv_prog_CPP
  4414 else
  4415   ac_cv_prog_CPP=$CPP
  4416 fi
  4417 { echo "$as_me:$LINENO: result: $CPP" >&5
  4418 echo "${ECHO_T}$CPP" >&6; }
  4419 ac_preproc_ok=false
  4420 for ac_c_preproc_warn_flag in '' yes
  4421 do
  4422   # Use a header file that comes with gcc, so configuring glibc
  4423   # with a fresh cross-compiler works.
  4424   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4425   # <limits.h> exists even on freestanding compilers.
  4426   # On the NeXT, cc -E runs the code through the compiler's parser,
  4427   # not just through cpp. "Syntax error" is here to catch this case.
  4428   cat >conftest.$ac_ext <<_ACEOF
  4429 /* confdefs.h.  */
  4430 _ACEOF
  4431 cat confdefs.h >>conftest.$ac_ext
  4432 cat >>conftest.$ac_ext <<_ACEOF
  4433 /* end confdefs.h.  */
  4434 #ifdef __STDC__
  4435 # include <limits.h>
  4436 #else
  4437 # include <assert.h>
  4438 #endif
  4439 		     Syntax error
  4440 _ACEOF
  4441 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4442 case "(($ac_try" in
  4443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4444   *) ac_try_echo=$ac_try;;
  4445 esac
  4446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4447   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4448   ac_status=$?
  4449   grep -v '^ *+' conftest.er1 >conftest.err
  4450   rm -f conftest.er1
  4451   cat conftest.err >&5
  4452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4453   (exit $ac_status); } >/dev/null && {
  4454 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4455 	 test ! -s conftest.err
  4456        }; then
  4458 else
  4459   echo "$as_me: failed program was:" >&5
  4460 sed 's/^/| /' conftest.$ac_ext >&5
  4462   # Broken: fails on valid input.
  4463 continue
  4464 fi
  4466 rm -f conftest.err conftest.$ac_ext
  4468   # OK, works on sane cases.  Now check whether nonexistent headers
  4469   # can be detected and how.
  4470   cat >conftest.$ac_ext <<_ACEOF
  4471 /* confdefs.h.  */
  4472 _ACEOF
  4473 cat confdefs.h >>conftest.$ac_ext
  4474 cat >>conftest.$ac_ext <<_ACEOF
  4475 /* end confdefs.h.  */
  4476 #include <ac_nonexistent.h>
  4477 _ACEOF
  4478 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4479 case "(($ac_try" in
  4480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4481   *) ac_try_echo=$ac_try;;
  4482 esac
  4483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4484   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4485   ac_status=$?
  4486   grep -v '^ *+' conftest.er1 >conftest.err
  4487   rm -f conftest.er1
  4488   cat conftest.err >&5
  4489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4490   (exit $ac_status); } >/dev/null && {
  4491 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4492 	 test ! -s conftest.err
  4493        }; then
  4494   # Broken: success on invalid input.
  4495 continue
  4496 else
  4497   echo "$as_me: failed program was:" >&5
  4498 sed 's/^/| /' conftest.$ac_ext >&5
  4500   # Passes both tests.
  4501 ac_preproc_ok=:
  4502 break
  4503 fi
  4505 rm -f conftest.err conftest.$ac_ext
  4507 done
  4508 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4509 rm -f conftest.err conftest.$ac_ext
  4510 if $ac_preproc_ok; then
  4512 else
  4513   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  4514 See \`config.log' for more details." >&5
  4515 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  4516 See \`config.log' for more details." >&2;}
  4517    { (exit 1); exit 1; }; }
  4518 fi
  4520 ac_ext=c
  4521 ac_cpp='$CPP $CPPFLAGS'
  4522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4527 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  4528 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  4529 if test "${ac_cv_path_GREP+set}" = set; then
  4530   echo $ECHO_N "(cached) $ECHO_C" >&6
  4531 else
  4532   # Extract the first word of "grep ggrep" to use in msg output
  4533 if test -z "$GREP"; then
  4534 set dummy grep ggrep; ac_prog_name=$2
  4535 if test "${ac_cv_path_GREP+set}" = set; then
  4536   echo $ECHO_N "(cached) $ECHO_C" >&6
  4537 else
  4538   ac_path_GREP_found=false
  4539 # Loop through the user's path and test for each of PROGNAME-LIST
  4540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4541 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4542 do
  4543   IFS=$as_save_IFS
  4544   test -z "$as_dir" && as_dir=.
  4545   for ac_prog in grep ggrep; do
  4546   for ac_exec_ext in '' $ac_executable_extensions; do
  4547     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4548     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  4549     # Check for GNU ac_path_GREP and select it if it is found.
  4550   # Check for GNU $ac_path_GREP
  4551 case `"$ac_path_GREP" --version 2>&1` in
  4552 *GNU*)
  4553   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4554 *)
  4555   ac_count=0
  4556   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  4557   while :
  4558   do
  4559     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4560     mv "conftest.tmp" "conftest.in"
  4561     cp "conftest.in" "conftest.nl"
  4562     echo 'GREP' >> "conftest.nl"
  4563     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4564     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4565     ac_count=`expr $ac_count + 1`
  4566     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4567       # Best one so far, save it but keep looking for a better one
  4568       ac_cv_path_GREP="$ac_path_GREP"
  4569       ac_path_GREP_max=$ac_count
  4570     fi
  4571     # 10*(2^10) chars as input seems more than enough
  4572     test $ac_count -gt 10 && break
  4573   done
  4574   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4575 esac
  4578     $ac_path_GREP_found && break 3
  4579   done
  4580 done
  4582 done
  4583 IFS=$as_save_IFS
  4586 fi
  4588 GREP="$ac_cv_path_GREP"
  4589 if test -z "$GREP"; then
  4590   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4591 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4592    { (exit 1); exit 1; }; }
  4593 fi
  4595 else
  4596   ac_cv_path_GREP=$GREP
  4597 fi
  4600 fi
  4601 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  4602 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  4603  GREP="$ac_cv_path_GREP"
  4606 { echo "$as_me:$LINENO: checking for egrep" >&5
  4607 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  4608 if test "${ac_cv_path_EGREP+set}" = set; then
  4609   echo $ECHO_N "(cached) $ECHO_C" >&6
  4610 else
  4611   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4612    then ac_cv_path_EGREP="$GREP -E"
  4613    else
  4614      # Extract the first word of "egrep" to use in msg output
  4615 if test -z "$EGREP"; then
  4616 set dummy egrep; ac_prog_name=$2
  4617 if test "${ac_cv_path_EGREP+set}" = set; then
  4618   echo $ECHO_N "(cached) $ECHO_C" >&6
  4619 else
  4620   ac_path_EGREP_found=false
  4621 # Loop through the user's path and test for each of PROGNAME-LIST
  4622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4623 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4624 do
  4625   IFS=$as_save_IFS
  4626   test -z "$as_dir" && as_dir=.
  4627   for ac_prog in egrep; do
  4628   for ac_exec_ext in '' $ac_executable_extensions; do
  4629     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4630     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  4631     # Check for GNU ac_path_EGREP and select it if it is found.
  4632   # Check for GNU $ac_path_EGREP
  4633 case `"$ac_path_EGREP" --version 2>&1` in
  4634 *GNU*)
  4635   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4636 *)
  4637   ac_count=0
  4638   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  4639   while :
  4640   do
  4641     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4642     mv "conftest.tmp" "conftest.in"
  4643     cp "conftest.in" "conftest.nl"
  4644     echo 'EGREP' >> "conftest.nl"
  4645     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4646     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4647     ac_count=`expr $ac_count + 1`
  4648     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4649       # Best one so far, save it but keep looking for a better one
  4650       ac_cv_path_EGREP="$ac_path_EGREP"
  4651       ac_path_EGREP_max=$ac_count
  4652     fi
  4653     # 10*(2^10) chars as input seems more than enough
  4654     test $ac_count -gt 10 && break
  4655   done
  4656   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4657 esac
  4660     $ac_path_EGREP_found && break 3
  4661   done
  4662 done
  4664 done
  4665 IFS=$as_save_IFS
  4668 fi
  4670 EGREP="$ac_cv_path_EGREP"
  4671 if test -z "$EGREP"; then
  4672   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4673 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4674    { (exit 1); exit 1; }; }
  4675 fi
  4677 else
  4678   ac_cv_path_EGREP=$EGREP
  4679 fi
  4682    fi
  4683 fi
  4684 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  4685 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  4686  EGREP="$ac_cv_path_EGREP"
  4689 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  4690 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  4691 if test "${ac_cv_header_stdc+set}" = set; then
  4692   echo $ECHO_N "(cached) $ECHO_C" >&6
  4693 else
  4694   cat >conftest.$ac_ext <<_ACEOF
  4695 /* confdefs.h.  */
  4696 _ACEOF
  4697 cat confdefs.h >>conftest.$ac_ext
  4698 cat >>conftest.$ac_ext <<_ACEOF
  4699 /* end confdefs.h.  */
  4700 #include <stdlib.h>
  4701 #include <stdarg.h>
  4702 #include <string.h>
  4703 #include <float.h>
  4705 int
  4706 main ()
  4710   return 0;
  4712 _ACEOF
  4713 rm -f conftest.$ac_objext
  4714 if { (ac_try="$ac_compile"
  4715 case "(($ac_try" in
  4716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4717   *) ac_try_echo=$ac_try;;
  4718 esac
  4719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4720   (eval "$ac_compile") 2>conftest.er1
  4721   ac_status=$?
  4722   grep -v '^ *+' conftest.er1 >conftest.err
  4723   rm -f conftest.er1
  4724   cat conftest.err >&5
  4725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4726   (exit $ac_status); } && {
  4727 	 test -z "$ac_c_werror_flag" ||
  4728 	 test ! -s conftest.err
  4729        } && test -s conftest.$ac_objext; then
  4730   ac_cv_header_stdc=yes
  4731 else
  4732   echo "$as_me: failed program was:" >&5
  4733 sed 's/^/| /' conftest.$ac_ext >&5
  4735 	ac_cv_header_stdc=no
  4736 fi
  4738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4740 if test $ac_cv_header_stdc = yes; then
  4741   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4742   cat >conftest.$ac_ext <<_ACEOF
  4743 /* confdefs.h.  */
  4744 _ACEOF
  4745 cat confdefs.h >>conftest.$ac_ext
  4746 cat >>conftest.$ac_ext <<_ACEOF
  4747 /* end confdefs.h.  */
  4748 #include <string.h>
  4750 _ACEOF
  4751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4752   $EGREP "memchr" >/dev/null 2>&1; then
  4754 else
  4755   ac_cv_header_stdc=no
  4756 fi
  4757 rm -f conftest*
  4759 fi
  4761 if test $ac_cv_header_stdc = yes; then
  4762   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4763   cat >conftest.$ac_ext <<_ACEOF
  4764 /* confdefs.h.  */
  4765 _ACEOF
  4766 cat confdefs.h >>conftest.$ac_ext
  4767 cat >>conftest.$ac_ext <<_ACEOF
  4768 /* end confdefs.h.  */
  4769 #include <stdlib.h>
  4771 _ACEOF
  4772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4773   $EGREP "free" >/dev/null 2>&1; then
  4775 else
  4776   ac_cv_header_stdc=no
  4777 fi
  4778 rm -f conftest*
  4780 fi
  4782 if test $ac_cv_header_stdc = yes; then
  4783   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4784   if test "$cross_compiling" = yes; then
  4786 else
  4787   cat >conftest.$ac_ext <<_ACEOF
  4788 /* confdefs.h.  */
  4789 _ACEOF
  4790 cat confdefs.h >>conftest.$ac_ext
  4791 cat >>conftest.$ac_ext <<_ACEOF
  4792 /* end confdefs.h.  */
  4793 #include <ctype.h>
  4794 #include <stdlib.h>
  4795 #if ((' ' & 0x0FF) == 0x020)
  4796 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4797 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4798 #else
  4799 # define ISLOWER(c) \
  4800 		   (('a' <= (c) && (c) <= 'i') \
  4801 		     || ('j' <= (c) && (c) <= 'r') \
  4802 		     || ('s' <= (c) && (c) <= 'z'))
  4803 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4804 #endif
  4806 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4807 int
  4808 main ()
  4810   int i;
  4811   for (i = 0; i < 256; i++)
  4812     if (XOR (islower (i), ISLOWER (i))
  4813 	|| toupper (i) != TOUPPER (i))
  4814       return 2;
  4815   return 0;
  4817 _ACEOF
  4818 rm -f conftest$ac_exeext
  4819 if { (ac_try="$ac_link"
  4820 case "(($ac_try" in
  4821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4822   *) ac_try_echo=$ac_try;;
  4823 esac
  4824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4825   (eval "$ac_link") 2>&5
  4826   ac_status=$?
  4827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4828   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  4829   { (case "(($ac_try" in
  4830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4831   *) ac_try_echo=$ac_try;;
  4832 esac
  4833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4834   (eval "$ac_try") 2>&5
  4835   ac_status=$?
  4836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4837   (exit $ac_status); }; }; then
  4839 else
  4840   echo "$as_me: program exited with status $ac_status" >&5
  4841 echo "$as_me: failed program was:" >&5
  4842 sed 's/^/| /' conftest.$ac_ext >&5
  4844 ( exit $ac_status )
  4845 ac_cv_header_stdc=no
  4846 fi
  4847 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  4848 fi
  4851 fi
  4852 fi
  4853 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  4854 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  4855 if test $ac_cv_header_stdc = yes; then
  4857 cat >>confdefs.h <<\_ACEOF
  4858 #define STDC_HEADERS 1
  4859 _ACEOF
  4861 fi
  4863 # Make sure we can run config.sub.
  4864 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  4865   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  4866 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  4867    { (exit 1); exit 1; }; }
  4869 { echo "$as_me:$LINENO: checking build system type" >&5
  4870 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  4871 if test "${ac_cv_build+set}" = set; then
  4872   echo $ECHO_N "(cached) $ECHO_C" >&6
  4873 else
  4874   ac_build_alias=$build_alias
  4875 test "x$ac_build_alias" = x &&
  4876   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  4877 test "x$ac_build_alias" = x &&
  4878   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  4879 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  4880    { (exit 1); exit 1; }; }
  4881 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  4882   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  4883 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  4884    { (exit 1); exit 1; }; }
  4886 fi
  4887 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  4888 echo "${ECHO_T}$ac_cv_build" >&6; }
  4889 case $ac_cv_build in
  4890 *-*-*) ;;
  4891 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  4892 echo "$as_me: error: invalid value of canonical build" >&2;}
  4893    { (exit 1); exit 1; }; };;
  4894 esac
  4895 build=$ac_cv_build
  4896 ac_save_IFS=$IFS; IFS='-'
  4897 set x $ac_cv_build
  4898 shift
  4899 build_cpu=$1
  4900 build_vendor=$2
  4901 shift; shift
  4902 # Remember, the first character of IFS is used to create $*,
  4903 # except with old shells:
  4904 build_os=$*
  4905 IFS=$ac_save_IFS
  4906 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4909 { echo "$as_me:$LINENO: checking host system type" >&5
  4910 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  4911 if test "${ac_cv_host+set}" = set; then
  4912   echo $ECHO_N "(cached) $ECHO_C" >&6
  4913 else
  4914   if test "x$host_alias" = x; then
  4915   ac_cv_host=$ac_cv_build
  4916 else
  4917   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  4918     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  4919 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  4920    { (exit 1); exit 1; }; }
  4921 fi
  4923 fi
  4924 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  4925 echo "${ECHO_T}$ac_cv_host" >&6; }
  4926 case $ac_cv_host in
  4927 *-*-*) ;;
  4928 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  4929 echo "$as_me: error: invalid value of canonical host" >&2;}
  4930    { (exit 1); exit 1; }; };;
  4931 esac
  4932 host=$ac_cv_host
  4933 ac_save_IFS=$IFS; IFS='-'
  4934 set x $ac_cv_host
  4935 shift
  4936 host_cpu=$1
  4937 host_vendor=$2
  4938 shift; shift
  4939 # Remember, the first character of IFS is used to create $*,
  4940 # except with old shells:
  4941 host_os=$*
  4942 IFS=$ac_save_IFS
  4943 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4947 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4957 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4958 		  inttypes.h stdint.h unistd.h
  4959 do
  4960 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4961 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  4962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4963 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4964   echo $ECHO_N "(cached) $ECHO_C" >&6
  4965 else
  4966   cat >conftest.$ac_ext <<_ACEOF
  4967 /* confdefs.h.  */
  4968 _ACEOF
  4969 cat confdefs.h >>conftest.$ac_ext
  4970 cat >>conftest.$ac_ext <<_ACEOF
  4971 /* end confdefs.h.  */
  4972 $ac_includes_default
  4974 #include <$ac_header>
  4975 _ACEOF
  4976 rm -f conftest.$ac_objext
  4977 if { (ac_try="$ac_compile"
  4978 case "(($ac_try" in
  4979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4980   *) ac_try_echo=$ac_try;;
  4981 esac
  4982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4983   (eval "$ac_compile") 2>conftest.er1
  4984   ac_status=$?
  4985   grep -v '^ *+' conftest.er1 >conftest.err
  4986   rm -f conftest.er1
  4987   cat conftest.err >&5
  4988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4989   (exit $ac_status); } && {
  4990 	 test -z "$ac_c_werror_flag" ||
  4991 	 test ! -s conftest.err
  4992        } && test -s conftest.$ac_objext; then
  4993   eval "$as_ac_Header=yes"
  4994 else
  4995   echo "$as_me: failed program was:" >&5
  4996 sed 's/^/| /' conftest.$ac_ext >&5
  4998 	eval "$as_ac_Header=no"
  4999 fi
  5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5002 fi
  5003 ac_res=`eval echo '${'$as_ac_Header'}'`
  5004 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  5005 echo "${ECHO_T}$ac_res" >&6; }
  5006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  5007   cat >>confdefs.h <<_ACEOF
  5008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5009 _ACEOF
  5011 fi
  5013 done
  5016 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
  5017   { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
  5018 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
  5019 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
  5020   echo $ECHO_N "(cached) $ECHO_C" >&6
  5021 fi
  5022 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
  5023 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
  5024 else
  5025   # Is the header compilable?
  5026 { echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
  5027 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; }
  5028 cat >conftest.$ac_ext <<_ACEOF
  5029 /* confdefs.h.  */
  5030 _ACEOF
  5031 cat confdefs.h >>conftest.$ac_ext
  5032 cat >>conftest.$ac_ext <<_ACEOF
  5033 /* end confdefs.h.  */
  5034 $ac_includes_default
  5035 #include <Carbon/Carbon.h>
  5036 _ACEOF
  5037 rm -f conftest.$ac_objext
  5038 if { (ac_try="$ac_compile"
  5039 case "(($ac_try" in
  5040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5041   *) ac_try_echo=$ac_try;;
  5042 esac
  5043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5044   (eval "$ac_compile") 2>conftest.er1
  5045   ac_status=$?
  5046   grep -v '^ *+' conftest.er1 >conftest.err
  5047   rm -f conftest.er1
  5048   cat conftest.err >&5
  5049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5050   (exit $ac_status); } && {
  5051 	 test -z "$ac_c_werror_flag" ||
  5052 	 test ! -s conftest.err
  5053        } && test -s conftest.$ac_objext; then
  5054   ac_header_compiler=yes
  5055 else
  5056   echo "$as_me: failed program was:" >&5
  5057 sed 's/^/| /' conftest.$ac_ext >&5
  5059 	ac_header_compiler=no
  5060 fi
  5062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5063 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5064 echo "${ECHO_T}$ac_header_compiler" >&6; }
  5066 # Is the header present?
  5067 { echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
  5068 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; }
  5069 cat >conftest.$ac_ext <<_ACEOF
  5070 /* confdefs.h.  */
  5071 _ACEOF
  5072 cat confdefs.h >>conftest.$ac_ext
  5073 cat >>conftest.$ac_ext <<_ACEOF
  5074 /* end confdefs.h.  */
  5075 #include <Carbon/Carbon.h>
  5076 _ACEOF
  5077 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5078 case "(($ac_try" in
  5079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5080   *) ac_try_echo=$ac_try;;
  5081 esac
  5082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5083   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5084   ac_status=$?
  5085   grep -v '^ *+' conftest.er1 >conftest.err
  5086   rm -f conftest.er1
  5087   cat conftest.err >&5
  5088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5089   (exit $ac_status); } >/dev/null && {
  5090 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5091 	 test ! -s conftest.err
  5092        }; then
  5093   ac_header_preproc=yes
  5094 else
  5095   echo "$as_me: failed program was:" >&5
  5096 sed 's/^/| /' conftest.$ac_ext >&5
  5098   ac_header_preproc=no
  5099 fi
  5101 rm -f conftest.err conftest.$ac_ext
  5102 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5103 echo "${ECHO_T}$ac_header_preproc" >&6; }
  5105 # So?  What about this header?
  5106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5107   yes:no: )
  5108     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
  5109 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  5110     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
  5111 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
  5112     ac_header_preproc=yes
  5113     ;;
  5114   no:yes:* )
  5115     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
  5116 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
  5117     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h:     check for missing prerequisite headers?" >&5
  5118 echo "$as_me: WARNING: Carbon/Carbon.h:     check for missing prerequisite headers?" >&2;}
  5119     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
  5120 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
  5121     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h:     section \"Present But Cannot Be Compiled\"" >&5
  5122 echo "$as_me: WARNING: Carbon/Carbon.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  5123     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
  5124 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
  5125     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
  5126 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
  5128     ;;
  5129 esac
  5130 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
  5131 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
  5132 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
  5133   echo $ECHO_N "(cached) $ECHO_C" >&6
  5134 else
  5135   ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
  5136 fi
  5137 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
  5138 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
  5140 fi
  5141 if test $ac_cv_header_Carbon_Carbon_h = yes; then
  5143    HAVE_CARBON='yes'
  5144    APPLE_BUILD='yes'
  5145    LIBS="$LIBS -framework OpenGL -framework AGL -framework Carbon -L/usr/X11R6/lib -lGL"
  5147 cat >>confdefs.h <<\_ACEOF
  5148 #define HAVE_CARBON 1
  5149 _ACEOF
  5152 cat >>confdefs.h <<\_ACEOF
  5153 #define APPLE_BUILD 1
  5154 _ACEOF
  5157 fi
  5163 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  5164 	if test -n "$ac_tool_prefix"; then
  5165   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  5166 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  5167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5169 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  5170   echo $ECHO_N "(cached) $ECHO_C" >&6
  5171 else
  5172   case $PKG_CONFIG in
  5173   [\\/]* | ?:[\\/]*)
  5174   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  5175   ;;
  5176   *)
  5177   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5178 for as_dir in $PATH
  5179 do
  5180   IFS=$as_save_IFS
  5181   test -z "$as_dir" && as_dir=.
  5182   for ac_exec_ext in '' $ac_executable_extensions; do
  5183   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5184     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  5185     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5186     break 2
  5187   fi
  5188 done
  5189 done
  5190 IFS=$as_save_IFS
  5192   ;;
  5193 esac
  5194 fi
  5195 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  5196 if test -n "$PKG_CONFIG"; then
  5197   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  5198 echo "${ECHO_T}$PKG_CONFIG" >&6; }
  5199 else
  5200   { echo "$as_me:$LINENO: result: no" >&5
  5201 echo "${ECHO_T}no" >&6; }
  5202 fi
  5205 fi
  5206 if test -z "$ac_cv_path_PKG_CONFIG"; then
  5207   ac_pt_PKG_CONFIG=$PKG_CONFIG
  5208   # Extract the first word of "pkg-config", so it can be a program name with args.
  5209 set dummy pkg-config; ac_word=$2
  5210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5212 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  5213   echo $ECHO_N "(cached) $ECHO_C" >&6
  5214 else
  5215   case $ac_pt_PKG_CONFIG in
  5216   [\\/]* | ?:[\\/]*)
  5217   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  5218   ;;
  5219   *)
  5220   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5221 for as_dir in $PATH
  5222 do
  5223   IFS=$as_save_IFS
  5224   test -z "$as_dir" && as_dir=.
  5225   for ac_exec_ext in '' $ac_executable_extensions; do
  5226   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5227     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  5228     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5229     break 2
  5230   fi
  5231 done
  5232 done
  5233 IFS=$as_save_IFS
  5235   ;;
  5236 esac
  5237 fi
  5238 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  5239 if test -n "$ac_pt_PKG_CONFIG"; then
  5240   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
  5241 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
  5242 else
  5243   { echo "$as_me:$LINENO: result: no" >&5
  5244 echo "${ECHO_T}no" >&6; }
  5245 fi
  5247   if test "x$ac_pt_PKG_CONFIG" = x; then
  5248     PKG_CONFIG=""
  5249   else
  5250     case $cross_compiling:$ac_tool_warned in
  5251 yes:)
  5252 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5253 whose name does not start with the host triplet.  If you think this
  5254 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5255 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5256 whose name does not start with the host triplet.  If you think this
  5257 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5258 ac_tool_warned=yes ;;
  5259 esac
  5260     PKG_CONFIG=$ac_pt_PKG_CONFIG
  5261   fi
  5262 else
  5263   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  5264 fi
  5266 fi
  5267 if test -n "$PKG_CONFIG"; then
  5268 	_pkg_min_version=0.9.0
  5269 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
  5270 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
  5271 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  5272 		{ echo "$as_me:$LINENO: result: yes" >&5
  5273 echo "${ECHO_T}yes" >&6; }
  5274 	else
  5275 		{ echo "$as_me:$LINENO: result: no" >&5
  5276 echo "${ECHO_T}no" >&6; }
  5277 		PKG_CONFIG=""
  5278 	fi
  5280 fi
  5282 pkg_failed=no
  5283 { echo "$as_me:$LINENO: checking for LIBPNG" >&5
  5284 echo $ECHO_N "checking for LIBPNG... $ECHO_C" >&6; }
  5286 if test -n "$PKG_CONFIG"; then
  5287     if test -n "$LIBPNG_CFLAGS"; then
  5288         pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
  5289     else
  5290         if test -n "$PKG_CONFIG" && \
  5291     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  5292   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  5293   ac_status=$?
  5294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5295   (exit $ac_status); }; then
  5296   pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
  5297 else
  5298   pkg_failed=yes
  5299 fi
  5300     fi
  5301 else
  5302 	pkg_failed=untried
  5303 fi
  5304 if test -n "$PKG_CONFIG"; then
  5305     if test -n "$LIBPNG_LIBS"; then
  5306         pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
  5307     else
  5308         if test -n "$PKG_CONFIG" && \
  5309     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  5310   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  5311   ac_status=$?
  5312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5313   (exit $ac_status); }; then
  5314   pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
  5315 else
  5316   pkg_failed=yes
  5317 fi
  5318     fi
  5319 else
  5320 	pkg_failed=untried
  5321 fi
  5325 if test $pkg_failed = yes; then
  5327 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  5328         _pkg_short_errors_supported=yes
  5329 else
  5330         _pkg_short_errors_supported=no
  5331 fi
  5332         if test $_pkg_short_errors_supported = yes; then
  5333 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng "`
  5334         else
  5335 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng "`
  5336         fi
  5337 	# Put the nasty error message in config.log where it belongs
  5338 	echo "$LIBPNG_PKG_ERRORS" >&5
  5340 	{ { echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
  5342 $LIBPNG_PKG_ERRORS
  5344 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5345 installed software in a non-standard prefix.
  5347 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  5348 and LIBPNG_LIBS to avoid the need to call pkg-config.
  5349 See the pkg-config man page for more details.
  5350 " >&5
  5351 echo "$as_me: error: Package requirements (libpng ) were not met:
  5353 $LIBPNG_PKG_ERRORS
  5355 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5356 installed software in a non-standard prefix.
  5358 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  5359 and LIBPNG_LIBS to avoid the need to call pkg-config.
  5360 See the pkg-config man page for more details.
  5361 " >&2;}
  5362    { (exit 1); exit 1; }; }
  5363 elif test $pkg_failed = untried; then
  5364 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  5365 is in your PATH or set the PKG_CONFIG environment variable to the full
  5366 path to pkg-config.
  5368 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  5369 and LIBPNG_LIBS to avoid the need to call pkg-config.
  5370 See the pkg-config man page for more details.
  5372 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5373 See \`config.log' for more details." >&5
  5374 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  5375 is in your PATH or set the PKG_CONFIG environment variable to the full
  5376 path to pkg-config.
  5378 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  5379 and LIBPNG_LIBS to avoid the need to call pkg-config.
  5380 See the pkg-config man page for more details.
  5382 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5383 See \`config.log' for more details." >&2;}
  5384    { (exit 1); exit 1; }; }
  5385 else
  5386 	LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
  5387 	LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
  5388         { echo "$as_me:$LINENO: result: yes" >&5
  5389 echo "${ECHO_T}yes" >&6; }
  5391 fi
  5394 { echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
  5395 echo $ECHO_N "checking for uncompress in -lz... $ECHO_C" >&6; }
  5396 if test "${ac_cv_lib_z_uncompress+set}" = set; then
  5397   echo $ECHO_N "(cached) $ECHO_C" >&6
  5398 else
  5399   ac_check_lib_save_LIBS=$LIBS
  5400 LIBS="-lz  $LIBS"
  5401 cat >conftest.$ac_ext <<_ACEOF
  5402 /* confdefs.h.  */
  5403 _ACEOF
  5404 cat confdefs.h >>conftest.$ac_ext
  5405 cat >>conftest.$ac_ext <<_ACEOF
  5406 /* end confdefs.h.  */
  5408 /* Override any GCC internal prototype to avoid an error.
  5409    Use char because int might match the return type of a GCC
  5410    builtin and then its argument prototype would still apply.  */
  5411 #ifdef __cplusplus
  5412 extern "C"
  5413 #endif
  5414 char uncompress ();
  5415 int
  5416 main ()
  5418 return uncompress ();
  5420   return 0;
  5422 _ACEOF
  5423 rm -f conftest.$ac_objext conftest$ac_exeext
  5424 if { (ac_try="$ac_link"
  5425 case "(($ac_try" in
  5426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5427   *) ac_try_echo=$ac_try;;
  5428 esac
  5429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5430   (eval "$ac_link") 2>conftest.er1
  5431   ac_status=$?
  5432   grep -v '^ *+' conftest.er1 >conftest.err
  5433   rm -f conftest.er1
  5434   cat conftest.err >&5
  5435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5436   (exit $ac_status); } && {
  5437 	 test -z "$ac_c_werror_flag" ||
  5438 	 test ! -s conftest.err
  5439        } && test -s conftest$ac_exeext &&
  5440        $as_test_x conftest$ac_exeext; then
  5441   ac_cv_lib_z_uncompress=yes
  5442 else
  5443   echo "$as_me: failed program was:" >&5
  5444 sed 's/^/| /' conftest.$ac_ext >&5
  5446 	ac_cv_lib_z_uncompress=no
  5447 fi
  5449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5450       conftest$ac_exeext conftest.$ac_ext
  5451 LIBS=$ac_check_lib_save_LIBS
  5452 fi
  5453 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
  5454 echo "${ECHO_T}$ac_cv_lib_z_uncompress" >&6; }
  5455 if test $ac_cv_lib_z_uncompress = yes; then
  5456   cat >>confdefs.h <<_ACEOF
  5457 #define HAVE_LIBZ 1
  5458 _ACEOF
  5460   LIBS="-lz $LIBS"
  5462 else
  5464     echo "Zlib (libz.so) could not be found, but is required."
  5465     exit 1
  5466 fi
  5469 if test "$APPLE_BUILD" != 'yes'; then
  5471 { echo "$as_me:$LINENO: checking for glXQueryVersion in -lGL" >&5
  5472 echo $ECHO_N "checking for glXQueryVersion in -lGL... $ECHO_C" >&6; }
  5473 if test "${ac_cv_lib_GL_glXQueryVersion+set}" = set; then
  5474   echo $ECHO_N "(cached) $ECHO_C" >&6
  5475 else
  5476   ac_check_lib_save_LIBS=$LIBS
  5477 LIBS="-lGL  $LIBS"
  5478 cat >conftest.$ac_ext <<_ACEOF
  5479 /* confdefs.h.  */
  5480 _ACEOF
  5481 cat confdefs.h >>conftest.$ac_ext
  5482 cat >>conftest.$ac_ext <<_ACEOF
  5483 /* end confdefs.h.  */
  5485 /* Override any GCC internal prototype to avoid an error.
  5486    Use char because int might match the return type of a GCC
  5487    builtin and then its argument prototype would still apply.  */
  5488 #ifdef __cplusplus
  5489 extern "C"
  5490 #endif
  5491 char glXQueryVersion ();
  5492 int
  5493 main ()
  5495 return glXQueryVersion ();
  5497   return 0;
  5499 _ACEOF
  5500 rm -f conftest.$ac_objext conftest$ac_exeext
  5501 if { (ac_try="$ac_link"
  5502 case "(($ac_try" in
  5503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5504   *) ac_try_echo=$ac_try;;
  5505 esac
  5506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5507   (eval "$ac_link") 2>conftest.er1
  5508   ac_status=$?
  5509   grep -v '^ *+' conftest.er1 >conftest.err
  5510   rm -f conftest.er1
  5511   cat conftest.err >&5
  5512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5513   (exit $ac_status); } && {
  5514 	 test -z "$ac_c_werror_flag" ||
  5515 	 test ! -s conftest.err
  5516        } && test -s conftest$ac_exeext &&
  5517        $as_test_x conftest$ac_exeext; then
  5518   ac_cv_lib_GL_glXQueryVersion=yes
  5519 else
  5520   echo "$as_me: failed program was:" >&5
  5521 sed 's/^/| /' conftest.$ac_ext >&5
  5523 	ac_cv_lib_GL_glXQueryVersion=no
  5524 fi
  5526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5527       conftest$ac_exeext conftest.$ac_ext
  5528 LIBS=$ac_check_lib_save_LIBS
  5529 fi
  5530 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXQueryVersion" >&5
  5531 echo "${ECHO_T}$ac_cv_lib_GL_glXQueryVersion" >&6; }
  5532 if test $ac_cv_lib_GL_glXQueryVersion = yes; then
  5533   cat >>confdefs.h <<_ACEOF
  5534 #define HAVE_LIBGL 1
  5535 _ACEOF
  5537   LIBS="-lGL $LIBS"
  5539 else
  5541     echo "The OpenGL library (libGL.so) could not be found, but is required."
  5542     exit 1
  5543 fi
  5545 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  5546   { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  5547 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
  5548 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  5549   echo $ECHO_N "(cached) $ECHO_C" >&6
  5550 fi
  5551 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  5552 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
  5553 else
  5554   # Is the header compilable?
  5555 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
  5556 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
  5557 cat >conftest.$ac_ext <<_ACEOF
  5558 /* confdefs.h.  */
  5559 _ACEOF
  5560 cat confdefs.h >>conftest.$ac_ext
  5561 cat >>conftest.$ac_ext <<_ACEOF
  5562 /* end confdefs.h.  */
  5563 $ac_includes_default
  5564 #include <GL/gl.h>
  5565 _ACEOF
  5566 rm -f conftest.$ac_objext
  5567 if { (ac_try="$ac_compile"
  5568 case "(($ac_try" in
  5569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5570   *) ac_try_echo=$ac_try;;
  5571 esac
  5572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5573   (eval "$ac_compile") 2>conftest.er1
  5574   ac_status=$?
  5575   grep -v '^ *+' conftest.er1 >conftest.err
  5576   rm -f conftest.er1
  5577   cat conftest.err >&5
  5578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5579   (exit $ac_status); } && {
  5580 	 test -z "$ac_c_werror_flag" ||
  5581 	 test ! -s conftest.err
  5582        } && test -s conftest.$ac_objext; then
  5583   ac_header_compiler=yes
  5584 else
  5585   echo "$as_me: failed program was:" >&5
  5586 sed 's/^/| /' conftest.$ac_ext >&5
  5588 	ac_header_compiler=no
  5589 fi
  5591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5592 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5593 echo "${ECHO_T}$ac_header_compiler" >&6; }
  5595 # Is the header present?
  5596 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
  5597 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
  5598 cat >conftest.$ac_ext <<_ACEOF
  5599 /* confdefs.h.  */
  5600 _ACEOF
  5601 cat confdefs.h >>conftest.$ac_ext
  5602 cat >>conftest.$ac_ext <<_ACEOF
  5603 /* end confdefs.h.  */
  5604 #include <GL/gl.h>
  5605 _ACEOF
  5606 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5607 case "(($ac_try" in
  5608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5609   *) ac_try_echo=$ac_try;;
  5610 esac
  5611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5612   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5613   ac_status=$?
  5614   grep -v '^ *+' conftest.er1 >conftest.err
  5615   rm -f conftest.er1
  5616   cat conftest.err >&5
  5617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5618   (exit $ac_status); } >/dev/null && {
  5619 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5620 	 test ! -s conftest.err
  5621        }; then
  5622   ac_header_preproc=yes
  5623 else
  5624   echo "$as_me: failed program was:" >&5
  5625 sed 's/^/| /' conftest.$ac_ext >&5
  5627   ac_header_preproc=no
  5628 fi
  5630 rm -f conftest.err conftest.$ac_ext
  5631 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5632 echo "${ECHO_T}$ac_header_preproc" >&6; }
  5634 # So?  What about this header?
  5635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5636   yes:no: )
  5637     { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  5638 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  5639     { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
  5640 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
  5641     ac_header_preproc=yes
  5642     ;;
  5643   no:yes:* )
  5644     { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
  5645 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
  5646     { echo "$as_me:$LINENO: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&5
  5647 echo "$as_me: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&2;}
  5648     { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
  5649 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
  5650     { echo "$as_me:$LINENO: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&5
  5651 echo "$as_me: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  5652     { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
  5653 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
  5654     { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
  5655 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
  5657     ;;
  5658 esac
  5659 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  5660 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
  5661 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  5662   echo $ECHO_N "(cached) $ECHO_C" >&6
  5663 else
  5664   ac_cv_header_GL_gl_h=$ac_header_preproc
  5665 fi
  5666 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  5667 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
  5669 fi
  5670 if test $ac_cv_header_GL_gl_h = yes; then
  5672 else
  5674     echo "The OpenGL header files (eg GL/gl.h) could not be found, but are required."
  5675     exit 1
  5676 fi
  5679 fi
  5682 pkg_failed=no
  5683 { echo "$as_me:$LINENO: checking for GTK" >&5
  5684 echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
  5686 if test -n "$PKG_CONFIG"; then
  5687     if test -n "$GTK_CFLAGS"; then
  5688         pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
  5689     else
  5690         if test -n "$PKG_CONFIG" && \
  5691     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  5692   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  5693   ac_status=$?
  5694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5695   (exit $ac_status); }; then
  5696   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
  5697 else
  5698   pkg_failed=yes
  5699 fi
  5700     fi
  5701 else
  5702 	pkg_failed=untried
  5703 fi
  5704 if test -n "$PKG_CONFIG"; then
  5705     if test -n "$GTK_LIBS"; then
  5706         pkg_cv_GTK_LIBS="$GTK_LIBS"
  5707     else
  5708         if test -n "$PKG_CONFIG" && \
  5709     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  5710   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  5711   ac_status=$?
  5712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5713   (exit $ac_status); }; then
  5714   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
  5715 else
  5716   pkg_failed=yes
  5717 fi
  5718     fi
  5719 else
  5720 	pkg_failed=untried
  5721 fi
  5725 if test $pkg_failed = yes; then
  5727 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  5728         _pkg_short_errors_supported=yes
  5729 else
  5730         _pkg_short_errors_supported=no
  5731 fi
  5732         if test $_pkg_short_errors_supported = yes; then
  5733 	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
  5734         else
  5735 	        GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
  5736         fi
  5737 	# Put the nasty error message in config.log where it belongs
  5738 	echo "$GTK_PKG_ERRORS" >&5
  5740 	{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
  5742 $GTK_PKG_ERRORS
  5744 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5745 installed software in a non-standard prefix.
  5747 Alternatively, you may set the environment variables GTK_CFLAGS
  5748 and GTK_LIBS to avoid the need to call pkg-config.
  5749 See the pkg-config man page for more details.
  5750 " >&5
  5751 echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
  5753 $GTK_PKG_ERRORS
  5755 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5756 installed software in a non-standard prefix.
  5758 Alternatively, you may set the environment variables GTK_CFLAGS
  5759 and GTK_LIBS to avoid the need to call pkg-config.
  5760 See the pkg-config man page for more details.
  5761 " >&2;}
  5762    { (exit 1); exit 1; }; }
  5763 elif test $pkg_failed = untried; then
  5764 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  5765 is in your PATH or set the PKG_CONFIG environment variable to the full
  5766 path to pkg-config.
  5768 Alternatively, you may set the environment variables GTK_CFLAGS
  5769 and GTK_LIBS to avoid the need to call pkg-config.
  5770 See the pkg-config man page for more details.
  5772 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5773 See \`config.log' for more details." >&5
  5774 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  5775 is in your PATH or set the PKG_CONFIG environment variable to the full
  5776 path to pkg-config.
  5778 Alternatively, you may set the environment variables GTK_CFLAGS
  5779 and GTK_LIBS to avoid the need to call pkg-config.
  5780 See the pkg-config man page for more details.
  5782 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5783 See \`config.log' for more details." >&2;}
  5784    { (exit 1); exit 1; }; }
  5785 else
  5786 	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
  5787 	GTK_LIBS=$pkg_cv_GTK_LIBS
  5788         { echo "$as_me:$LINENO: result: yes" >&5
  5789 echo "${ECHO_T}yes" >&6; }
  5791     HAVE_GTK='yes'
  5793 cat >>confdefs.h <<\_ACEOF
  5794 #define HAVE_GTK 1
  5795 _ACEOF
  5798 fi
  5802 if test "$HAVE_CARBON" = 'yes'; then
  5803   GUI_CARBON_TRUE=
  5804   GUI_CARBON_FALSE='#'
  5805 else
  5806   GUI_CARBON_TRUE='#'
  5807   GUI_CARBON_FALSE=
  5808 fi
  5812 if test "$HAVE_GTK" = 'yes'; then
  5813   GUI_GTK_TRUE=
  5814   GUI_GTK_FALSE='#'
  5815 else
  5816   GUI_GTK_TRUE='#'
  5817   GUI_GTK_FALSE=
  5818 fi
  5821 case $host_cpu in
  5822     i386|i486|i586|i686)
  5823 	SH4_TRANSLATOR="x86"
  5825 cat >>confdefs.h <<_ACEOF
  5826 #define SH4_TRANSLATOR TARGET_X86
  5827 _ACEOF
  5828 ;;
  5829     x86_64)
  5830 	SH4_TRANSLATOR="x86_64"
  5832 cat >>confdefs.h <<_ACEOF
  5833 #define SH4_TRANSLATOR TARGET_X86_64
  5834 _ACEOF
  5835 ;;
  5836     *)
  5837 	echo "Warning: No translator available for $host. Building emulation core only";;
  5838 esac
  5841 if test "$SH4_TRANSLATOR" = "x86" -o "$SH4_TRANSLATOR" = "x86_64"; then
  5842   BUILD_SH4X86_TRUE=
  5843   BUILD_SH4X86_FALSE='#'
  5844 else
  5845   BUILD_SH4X86_TRUE='#'
  5846   BUILD_SH4X86_FALSE=
  5847 fi
  5851 pkg_failed=no
  5852 { echo "$as_me:$LINENO: checking for ESOUND" >&5
  5853 echo $ECHO_N "checking for ESOUND... $ECHO_C" >&6; }
  5855 if test -n "$PKG_CONFIG"; then
  5856     if test -n "$ESOUND_CFLAGS"; then
  5857         pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
  5858     else
  5859         if test -n "$PKG_CONFIG" && \
  5860     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
  5861   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
  5862   ac_status=$?
  5863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5864   (exit $ac_status); }; then
  5865   pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
  5866 else
  5867   pkg_failed=yes
  5868 fi
  5869     fi
  5870 else
  5871 	pkg_failed=untried
  5872 fi
  5873 if test -n "$PKG_CONFIG"; then
  5874     if test -n "$ESOUND_LIBS"; then
  5875         pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
  5876     else
  5877         if test -n "$PKG_CONFIG" && \
  5878     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
  5879   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
  5880   ac_status=$?
  5881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5882   (exit $ac_status); }; then
  5883   pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
  5884 else
  5885   pkg_failed=yes
  5886 fi
  5887     fi
  5888 else
  5889 	pkg_failed=untried
  5890 fi
  5894 if test $pkg_failed = yes; then
  5896 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  5897         _pkg_short_errors_supported=yes
  5898 else
  5899         _pkg_short_errors_supported=no
  5900 fi
  5901         if test $_pkg_short_errors_supported = yes; then
  5902 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "esound"`
  5903         else
  5904 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "esound"`
  5905         fi
  5906 	# Put the nasty error message in config.log where it belongs
  5907 	echo "$ESOUND_PKG_ERRORS" >&5
  5909 	 echo "Warning: esound not found - building without audio support"
  5910 elif test $pkg_failed = untried; then
  5911 	 echo "Warning: esound not found - building without audio support"
  5912 else
  5913 	ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
  5914 	ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
  5915         { echo "$as_me:$LINENO: result: yes" >&5
  5916 echo "${ECHO_T}yes" >&6; }
  5918      HAVE_ESOUND='yes'
  5920 cat >>confdefs.h <<\_ACEOF
  5921 #define HAVE_ESOUND 1
  5922 _ACEOF
  5924 fi
  5927 if test "$HAVE_ESOUND" = 'yes' ; then
  5928   AUDIO_ESOUND_TRUE=
  5929   AUDIO_ESOUND_FALSE='#'
  5930 else
  5931   AUDIO_ESOUND_TRUE='#'
  5932   AUDIO_ESOUND_FALSE=
  5933 fi
  5936 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  5937   { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
  5938 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
  5939 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  5940   echo $ECHO_N "(cached) $ECHO_C" >&6
  5941 fi
  5942 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
  5943 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
  5944 else
  5945   # Is the header compilable?
  5946 { echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
  5947 echo $ECHO_N "checking linux/cdrom.h usability... $ECHO_C" >&6; }
  5948 cat >conftest.$ac_ext <<_ACEOF
  5949 /* confdefs.h.  */
  5950 _ACEOF
  5951 cat confdefs.h >>conftest.$ac_ext
  5952 cat >>conftest.$ac_ext <<_ACEOF
  5953 /* end confdefs.h.  */
  5954 $ac_includes_default
  5955 #include <linux/cdrom.h>
  5956 _ACEOF
  5957 rm -f conftest.$ac_objext
  5958 if { (ac_try="$ac_compile"
  5959 case "(($ac_try" in
  5960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5961   *) ac_try_echo=$ac_try;;
  5962 esac
  5963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5964   (eval "$ac_compile") 2>conftest.er1
  5965   ac_status=$?
  5966   grep -v '^ *+' conftest.er1 >conftest.err
  5967   rm -f conftest.er1
  5968   cat conftest.err >&5
  5969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5970   (exit $ac_status); } && {
  5971 	 test -z "$ac_c_werror_flag" ||
  5972 	 test ! -s conftest.err
  5973        } && test -s conftest.$ac_objext; then
  5974   ac_header_compiler=yes
  5975 else
  5976   echo "$as_me: failed program was:" >&5
  5977 sed 's/^/| /' conftest.$ac_ext >&5
  5979 	ac_header_compiler=no
  5980 fi
  5982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5983 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5984 echo "${ECHO_T}$ac_header_compiler" >&6; }
  5986 # Is the header present?
  5987 { echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
  5988 echo $ECHO_N "checking linux/cdrom.h presence... $ECHO_C" >&6; }
  5989 cat >conftest.$ac_ext <<_ACEOF
  5990 /* confdefs.h.  */
  5991 _ACEOF
  5992 cat confdefs.h >>conftest.$ac_ext
  5993 cat >>conftest.$ac_ext <<_ACEOF
  5994 /* end confdefs.h.  */
  5995 #include <linux/cdrom.h>
  5996 _ACEOF
  5997 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5998 case "(($ac_try" in
  5999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6000   *) ac_try_echo=$ac_try;;
  6001 esac
  6002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6003   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6004   ac_status=$?
  6005   grep -v '^ *+' conftest.er1 >conftest.err
  6006   rm -f conftest.er1
  6007   cat conftest.err >&5
  6008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6009   (exit $ac_status); } >/dev/null && {
  6010 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6011 	 test ! -s conftest.err
  6012        }; then
  6013   ac_header_preproc=yes
  6014 else
  6015   echo "$as_me: failed program was:" >&5
  6016 sed 's/^/| /' conftest.$ac_ext >&5
  6018   ac_header_preproc=no
  6019 fi
  6021 rm -f conftest.err conftest.$ac_ext
  6022 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6023 echo "${ECHO_T}$ac_header_preproc" >&6; }
  6025 # So?  What about this header?
  6026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6027   yes:no: )
  6028     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
  6029 echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6030     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
  6031 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
  6032     ac_header_preproc=yes
  6033     ;;
  6034   no:yes:* )
  6035     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
  6036 echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
  6037     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&5
  6038 echo "$as_me: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&2;}
  6039     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
  6040 echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
  6041     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&5
  6042 echo "$as_me: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  6043     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
  6044 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
  6045     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
  6046 echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
  6048     ;;
  6049 esac
  6050 { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
  6051 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
  6052 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  6053   echo $ECHO_N "(cached) $ECHO_C" >&6
  6054 else
  6055   ac_cv_header_linux_cdrom_h=$ac_header_preproc
  6056 fi
  6057 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
  6058 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
  6060 fi
  6061 if test $ac_cv_header_linux_cdrom_h = yes; then
  6062   HAVE_LINUX_CDROM_H=yes
  6063 else
  6065     echo "Linux CDROM support not found, building without it."
  6066 fi
  6071 if test "$HAVE_LINUX_CDROM_H" = "yes"; then
  6072   CDROM_LINUX_TRUE=
  6073   CDROM_LINUX_FALSE='#'
  6074 else
  6075   CDROM_LINUX_TRUE='#'
  6076   CDROM_LINUX_FALSE=
  6077 fi
  6080 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
  6081 set dummy sh-elf-gcc; ac_word=$2
  6082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6084 if test "${ac_cv_path_SHCC+set}" = set; then
  6085   echo $ECHO_N "(cached) $ECHO_C" >&6
  6086 else
  6087   case $SHCC in
  6088   [\\/]* | ?:[\\/]*)
  6089   ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
  6090   ;;
  6091   *)
  6092   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6093 for as_dir in $PATH
  6094 do
  6095   IFS=$as_save_IFS
  6096   test -z "$as_dir" && as_dir=.
  6097   for ac_exec_ext in '' $ac_executable_extensions; do
  6098   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6099     ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
  6100     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6101     break 2
  6102   fi
  6103 done
  6104 done
  6105 IFS=$as_save_IFS
  6107   ;;
  6108 esac
  6109 fi
  6110 SHCC=$ac_cv_path_SHCC
  6111 if test -n "$SHCC"; then
  6112   { echo "$as_me:$LINENO: result: $SHCC" >&5
  6113 echo "${ECHO_T}$SHCC" >&6; }
  6114 else
  6115   { echo "$as_me:$LINENO: result: no" >&5
  6116 echo "${ECHO_T}no" >&6; }
  6117 fi
  6120 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
  6121 set dummy sh-elf-ld; ac_word=$2
  6122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6124 if test "${ac_cv_path_SHLD+set}" = set; then
  6125   echo $ECHO_N "(cached) $ECHO_C" >&6
  6126 else
  6127   case $SHLD in
  6128   [\\/]* | ?:[\\/]*)
  6129   ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
  6130   ;;
  6131   *)
  6132   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6133 for as_dir in $PATH
  6134 do
  6135   IFS=$as_save_IFS
  6136   test -z "$as_dir" && as_dir=.
  6137   for ac_exec_ext in '' $ac_executable_extensions; do
  6138   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6139     ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
  6140     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6141     break 2
  6142   fi
  6143 done
  6144 done
  6145 IFS=$as_save_IFS
  6147   ;;
  6148 esac
  6149 fi
  6150 SHLD=$ac_cv_path_SHLD
  6151 if test -n "$SHLD"; then
  6152   { echo "$as_me:$LINENO: result: $SHLD" >&5
  6153 echo "${ECHO_T}$SHLD" >&6; }
  6154 else
  6155   { echo "$as_me:$LINENO: result: no" >&5
  6156 echo "${ECHO_T}no" >&6; }
  6157 fi
  6160 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
  6161 set dummy sh-elf-objcopy; ac_word=$2
  6162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6164 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
  6165   echo $ECHO_N "(cached) $ECHO_C" >&6
  6166 else
  6167   case $SHOBJCOPY in
  6168   [\\/]* | ?:[\\/]*)
  6169   ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
  6170   ;;
  6171   *)
  6172   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6173 for as_dir in $PATH
  6174 do
  6175   IFS=$as_save_IFS
  6176   test -z "$as_dir" && as_dir=.
  6177   for ac_exec_ext in '' $ac_executable_extensions; do
  6178   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6179     ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
  6180     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6181     break 2
  6182   fi
  6183 done
  6184 done
  6185 IFS=$as_save_IFS
  6187   ;;
  6188 esac
  6189 fi
  6190 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
  6191 if test -n "$SHOBJCOPY"; then
  6192   { echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
  6193 echo "${ECHO_T}$SHOBJCOPY" >&6; }
  6194 else
  6195   { echo "$as_me:$LINENO: result: no" >&5
  6196 echo "${ECHO_T}no" >&6; }
  6197 fi
  6200 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
  6201 set dummy arm-elf-gcc; ac_word=$2
  6202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6204 if test "${ac_cv_path_ARMCC+set}" = set; then
  6205   echo $ECHO_N "(cached) $ECHO_C" >&6
  6206 else
  6207   case $ARMCC in
  6208   [\\/]* | ?:[\\/]*)
  6209   ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
  6210   ;;
  6211   *)
  6212   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6213 for as_dir in $PATH
  6214 do
  6215   IFS=$as_save_IFS
  6216   test -z "$as_dir" && as_dir=.
  6217   for ac_exec_ext in '' $ac_executable_extensions; do
  6218   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6219     ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
  6220     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6221     break 2
  6222   fi
  6223 done
  6224 done
  6225 IFS=$as_save_IFS
  6227   ;;
  6228 esac
  6229 fi
  6230 ARMCC=$ac_cv_path_ARMCC
  6231 if test -n "$ARMCC"; then
  6232   { echo "$as_me:$LINENO: result: $ARMCC" >&5
  6233 echo "${ECHO_T}$ARMCC" >&6; }
  6234 else
  6235   { echo "$as_me:$LINENO: result: no" >&5
  6236 echo "${ECHO_T}no" >&6; }
  6237 fi
  6240 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
  6241 set dummy arm-elf-ld; ac_word=$2
  6242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6244 if test "${ac_cv_path_ARMLD+set}" = set; then
  6245   echo $ECHO_N "(cached) $ECHO_C" >&6
  6246 else
  6247   case $ARMLD in
  6248   [\\/]* | ?:[\\/]*)
  6249   ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
  6250   ;;
  6251   *)
  6252   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6253 for as_dir in $PATH
  6254 do
  6255   IFS=$as_save_IFS
  6256   test -z "$as_dir" && as_dir=.
  6257   for ac_exec_ext in '' $ac_executable_extensions; do
  6258   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6259     ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
  6260     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6261     break 2
  6262   fi
  6263 done
  6264 done
  6265 IFS=$as_save_IFS
  6267   ;;
  6268 esac
  6269 fi
  6270 ARMLD=$ac_cv_path_ARMLD
  6271 if test -n "$ARMLD"; then
  6272   { echo "$as_me:$LINENO: result: $ARMLD" >&5
  6273 echo "${ECHO_T}$ARMLD" >&6; }
  6274 else
  6275   { echo "$as_me:$LINENO: result: no" >&5
  6276 echo "${ECHO_T}no" >&6; }
  6277 fi
  6280 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
  6281 set dummy arm-elf-objcopy; ac_word=$2
  6282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6284 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
  6285   echo $ECHO_N "(cached) $ECHO_C" >&6
  6286 else
  6287   case $ARMOBJCOPY in
  6288   [\\/]* | ?:[\\/]*)
  6289   ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
  6290   ;;
  6291   *)
  6292   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6293 for as_dir in $PATH
  6294 do
  6295   IFS=$as_save_IFS
  6296   test -z "$as_dir" && as_dir=.
  6297   for ac_exec_ext in '' $ac_executable_extensions; do
  6298   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6299     ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
  6300     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6301     break 2
  6302   fi
  6303 done
  6304 done
  6305 IFS=$as_save_IFS
  6307   ;;
  6308 esac
  6309 fi
  6310 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
  6311 if test -n "$ARMOBJCOPY"; then
  6312   { echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
  6313 echo "${ECHO_T}$ARMOBJCOPY" >&6; }
  6314 else
  6315   { echo "$as_me:$LINENO: result: no" >&5
  6316 echo "${ECHO_T}no" >&6; }
  6317 fi
  6321 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
  6322   BUILD_SH="no"
  6323   echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
  6324 else
  6325   BUILD_SH="yes"
  6326 fi
  6327 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
  6328   BUILD_ARM="no"
  6329   echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
  6330 else
  6331   BUILD_ARM="yes"
  6332 fi
  6335 if test "$BUILD_SH" = "yes"; then
  6336   BUILD_SYSTEST_TRUE=
  6337   BUILD_SYSTEST_FALSE='#'
  6338 else
  6339   BUILD_SYSTEST_TRUE='#'
  6340   BUILD_SYSTEST_FALSE=
  6341 fi
  6345 if test "$BUILD_ARM" = "yes"; then
  6346   BUILD_ARMTEST_TRUE=
  6347   BUILD_ARMTEST_FALSE='#'
  6348 else
  6349   BUILD_ARMTEST_TRUE='#'
  6350   BUILD_ARMTEST_FALSE=
  6351 fi
  6355 GETTEXT_PACKAGE=lxdream
  6358 cat >>confdefs.h <<_ACEOF
  6359 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
  6360 _ACEOF
  6363 ALL_LINGUAS="de pt_BR"
  6366 for ac_header in locale.h
  6367 do
  6368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6370   { echo "$as_me:$LINENO: checking for $ac_header" >&5
  6371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6372 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6373   echo $ECHO_N "(cached) $ECHO_C" >&6
  6374 fi
  6375 ac_res=`eval echo '${'$as_ac_Header'}'`
  6376 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  6377 echo "${ECHO_T}$ac_res" >&6; }
  6378 else
  6379   # Is the header compilable?
  6380 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
  6381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  6382 cat >conftest.$ac_ext <<_ACEOF
  6383 /* confdefs.h.  */
  6384 _ACEOF
  6385 cat confdefs.h >>conftest.$ac_ext
  6386 cat >>conftest.$ac_ext <<_ACEOF
  6387 /* end confdefs.h.  */
  6388 $ac_includes_default
  6389 #include <$ac_header>
  6390 _ACEOF
  6391 rm -f conftest.$ac_objext
  6392 if { (ac_try="$ac_compile"
  6393 case "(($ac_try" in
  6394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6395   *) ac_try_echo=$ac_try;;
  6396 esac
  6397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6398   (eval "$ac_compile") 2>conftest.er1
  6399   ac_status=$?
  6400   grep -v '^ *+' conftest.er1 >conftest.err
  6401   rm -f conftest.er1
  6402   cat conftest.err >&5
  6403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6404   (exit $ac_status); } && {
  6405 	 test -z "$ac_c_werror_flag" ||
  6406 	 test ! -s conftest.err
  6407        } && test -s conftest.$ac_objext; then
  6408   ac_header_compiler=yes
  6409 else
  6410   echo "$as_me: failed program was:" >&5
  6411 sed 's/^/| /' conftest.$ac_ext >&5
  6413 	ac_header_compiler=no
  6414 fi
  6416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6417 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6418 echo "${ECHO_T}$ac_header_compiler" >&6; }
  6420 # Is the header present?
  6421 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
  6422 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  6423 cat >conftest.$ac_ext <<_ACEOF
  6424 /* confdefs.h.  */
  6425 _ACEOF
  6426 cat confdefs.h >>conftest.$ac_ext
  6427 cat >>conftest.$ac_ext <<_ACEOF
  6428 /* end confdefs.h.  */
  6429 #include <$ac_header>
  6430 _ACEOF
  6431 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6432 case "(($ac_try" in
  6433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6434   *) ac_try_echo=$ac_try;;
  6435 esac
  6436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6437   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6438   ac_status=$?
  6439   grep -v '^ *+' conftest.er1 >conftest.err
  6440   rm -f conftest.er1
  6441   cat conftest.err >&5
  6442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6443   (exit $ac_status); } >/dev/null && {
  6444 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6445 	 test ! -s conftest.err
  6446        }; then
  6447   ac_header_preproc=yes
  6448 else
  6449   echo "$as_me: failed program was:" >&5
  6450 sed 's/^/| /' conftest.$ac_ext >&5
  6452   ac_header_preproc=no
  6453 fi
  6455 rm -f conftest.err conftest.$ac_ext
  6456 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6457 echo "${ECHO_T}$ac_header_preproc" >&6; }
  6459 # So?  What about this header?
  6460 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6461   yes:no: )
  6462     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  6463 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6464     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  6465 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  6466     ac_header_preproc=yes
  6467     ;;
  6468   no:yes:* )
  6469     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  6470 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  6471     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
  6472 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
  6473     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  6474 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  6475     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
  6476 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
  6477     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  6478 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  6479     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  6480 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  6482     ;;
  6483 esac
  6484 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  6485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6487   echo $ECHO_N "(cached) $ECHO_C" >&6
  6488 else
  6489   eval "$as_ac_Header=\$ac_header_preproc"
  6490 fi
  6491 ac_res=`eval echo '${'$as_ac_Header'}'`
  6492 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  6493 echo "${ECHO_T}$ac_res" >&6; }
  6495 fi
  6496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  6497   cat >>confdefs.h <<_ACEOF
  6498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6499 _ACEOF
  6501 fi
  6503 done
  6505     if test $ac_cv_header_locale_h = yes; then
  6506     { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
  6507 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
  6508 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
  6509   echo $ECHO_N "(cached) $ECHO_C" >&6
  6510 else
  6511   cat >conftest.$ac_ext <<_ACEOF
  6512 /* confdefs.h.  */
  6513 _ACEOF
  6514 cat confdefs.h >>conftest.$ac_ext
  6515 cat >>conftest.$ac_ext <<_ACEOF
  6516 /* end confdefs.h.  */
  6517 #include <locale.h>
  6518 int
  6519 main ()
  6521 return LC_MESSAGES
  6523   return 0;
  6525 _ACEOF
  6526 rm -f conftest.$ac_objext conftest$ac_exeext
  6527 if { (ac_try="$ac_link"
  6528 case "(($ac_try" in
  6529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6530   *) ac_try_echo=$ac_try;;
  6531 esac
  6532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6533   (eval "$ac_link") 2>conftest.er1
  6534   ac_status=$?
  6535   grep -v '^ *+' conftest.er1 >conftest.err
  6536   rm -f conftest.er1
  6537   cat conftest.err >&5
  6538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6539   (exit $ac_status); } && {
  6540 	 test -z "$ac_c_werror_flag" ||
  6541 	 test ! -s conftest.err
  6542        } && test -s conftest$ac_exeext &&
  6543        $as_test_x conftest$ac_exeext; then
  6544   am_cv_val_LC_MESSAGES=yes
  6545 else
  6546   echo "$as_me: failed program was:" >&5
  6547 sed 's/^/| /' conftest.$ac_ext >&5
  6549 	am_cv_val_LC_MESSAGES=no
  6550 fi
  6552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6553       conftest$ac_exeext conftest.$ac_ext
  6554 fi
  6555 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
  6556 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
  6557     if test $am_cv_val_LC_MESSAGES = yes; then
  6559 cat >>confdefs.h <<\_ACEOF
  6560 #define HAVE_LC_MESSAGES 1
  6561 _ACEOF
  6563     fi
  6564   fi
  6565      USE_NLS=yes
  6568     gt_cv_have_gettext=no
  6570     CATOBJEXT=NONE
  6571     XGETTEXT=:
  6572     INTLLIBS=
  6574     if test "${ac_cv_header_libintl_h+set}" = set; then
  6575   { echo "$as_me:$LINENO: checking for libintl.h" >&5
  6576 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
  6577 if test "${ac_cv_header_libintl_h+set}" = set; then
  6578   echo $ECHO_N "(cached) $ECHO_C" >&6
  6579 fi
  6580 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
  6581 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
  6582 else
  6583   # Is the header compilable?
  6584 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
  6585 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
  6586 cat >conftest.$ac_ext <<_ACEOF
  6587 /* confdefs.h.  */
  6588 _ACEOF
  6589 cat confdefs.h >>conftest.$ac_ext
  6590 cat >>conftest.$ac_ext <<_ACEOF
  6591 /* end confdefs.h.  */
  6592 $ac_includes_default
  6593 #include <libintl.h>
  6594 _ACEOF
  6595 rm -f conftest.$ac_objext
  6596 if { (ac_try="$ac_compile"
  6597 case "(($ac_try" in
  6598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6599   *) ac_try_echo=$ac_try;;
  6600 esac
  6601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6602   (eval "$ac_compile") 2>conftest.er1
  6603   ac_status=$?
  6604   grep -v '^ *+' conftest.er1 >conftest.err
  6605   rm -f conftest.er1
  6606   cat conftest.err >&5
  6607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6608   (exit $ac_status); } && {
  6609 	 test -z "$ac_c_werror_flag" ||
  6610 	 test ! -s conftest.err
  6611        } && test -s conftest.$ac_objext; then
  6612   ac_header_compiler=yes
  6613 else
  6614   echo "$as_me: failed program was:" >&5
  6615 sed 's/^/| /' conftest.$ac_ext >&5
  6617 	ac_header_compiler=no
  6618 fi
  6620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6621 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6622 echo "${ECHO_T}$ac_header_compiler" >&6; }
  6624 # Is the header present?
  6625 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
  6626 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
  6627 cat >conftest.$ac_ext <<_ACEOF
  6628 /* confdefs.h.  */
  6629 _ACEOF
  6630 cat confdefs.h >>conftest.$ac_ext
  6631 cat >>conftest.$ac_ext <<_ACEOF
  6632 /* end confdefs.h.  */
  6633 #include <libintl.h>
  6634 _ACEOF
  6635 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6636 case "(($ac_try" in
  6637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6638   *) ac_try_echo=$ac_try;;
  6639 esac
  6640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6641   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6642   ac_status=$?
  6643   grep -v '^ *+' conftest.er1 >conftest.err
  6644   rm -f conftest.er1
  6645   cat conftest.err >&5
  6646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6647   (exit $ac_status); } >/dev/null && {
  6648 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6649 	 test ! -s conftest.err
  6650        }; then
  6651   ac_header_preproc=yes
  6652 else
  6653   echo "$as_me: failed program was:" >&5
  6654 sed 's/^/| /' conftest.$ac_ext >&5
  6656   ac_header_preproc=no
  6657 fi
  6659 rm -f conftest.err conftest.$ac_ext
  6660 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6661 echo "${ECHO_T}$ac_header_preproc" >&6; }
  6663 # So?  What about this header?
  6664 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6665   yes:no: )
  6666     { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  6667 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6668     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
  6669 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
  6670     ac_header_preproc=yes
  6671     ;;
  6672   no:yes:* )
  6673     { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
  6674 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
  6675     { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
  6676 echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
  6677     { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
  6678 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
  6679     { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
  6680 echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  6681     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
  6682 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
  6683     { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
  6684 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
  6686     ;;
  6687 esac
  6688 { echo "$as_me:$LINENO: checking for libintl.h" >&5
  6689 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
  6690 if test "${ac_cv_header_libintl_h+set}" = set; then
  6691   echo $ECHO_N "(cached) $ECHO_C" >&6
  6692 else
  6693   ac_cv_header_libintl_h=$ac_header_preproc
  6694 fi
  6695 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
  6696 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
  6698 fi
  6699 if test $ac_cv_header_libintl_h = yes; then
  6700   gt_cv_func_dgettext_libintl="no"
  6701       libintl_extra_libs=""
  6704       # First check in libc
  6706       { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
  6707 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
  6708 if test "${gt_cv_func_ngettext_libc+set}" = set; then
  6709   echo $ECHO_N "(cached) $ECHO_C" >&6
  6710 else
  6711   cat >conftest.$ac_ext <<_ACEOF
  6712 /* confdefs.h.  */
  6713 _ACEOF
  6714 cat confdefs.h >>conftest.$ac_ext
  6715 cat >>conftest.$ac_ext <<_ACEOF
  6716 /* end confdefs.h.  */
  6718 #include <libintl.h>
  6720 int
  6721 main ()
  6723 return !ngettext ("","", 1)
  6725   return 0;
  6727 _ACEOF
  6728 rm -f conftest.$ac_objext conftest$ac_exeext
  6729 if { (ac_try="$ac_link"
  6730 case "(($ac_try" in
  6731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6732   *) ac_try_echo=$ac_try;;
  6733 esac
  6734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6735   (eval "$ac_link") 2>conftest.er1
  6736   ac_status=$?
  6737   grep -v '^ *+' conftest.er1 >conftest.err
  6738   rm -f conftest.er1
  6739   cat conftest.err >&5
  6740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6741   (exit $ac_status); } && {
  6742 	 test -z "$ac_c_werror_flag" ||
  6743 	 test ! -s conftest.err
  6744        } && test -s conftest$ac_exeext &&
  6745        $as_test_x conftest$ac_exeext; then
  6746   gt_cv_func_ngettext_libc=yes
  6747 else
  6748   echo "$as_me: failed program was:" >&5
  6749 sed 's/^/| /' conftest.$ac_ext >&5
  6751 	gt_cv_func_ngettext_libc=no
  6752 fi
  6754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6755       conftest$ac_exeext conftest.$ac_ext
  6757 fi
  6758 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
  6759 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
  6761       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
  6762 	      { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
  6763 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
  6764 if test "${gt_cv_func_dgettext_libc+set}" = set; then
  6765   echo $ECHO_N "(cached) $ECHO_C" >&6
  6766 else
  6767   cat >conftest.$ac_ext <<_ACEOF
  6768 /* confdefs.h.  */
  6769 _ACEOF
  6770 cat confdefs.h >>conftest.$ac_ext
  6771 cat >>conftest.$ac_ext <<_ACEOF
  6772 /* end confdefs.h.  */
  6774 #include <libintl.h>
  6776 int
  6777 main ()
  6779 return !dgettext ("","")
  6781   return 0;
  6783 _ACEOF
  6784 rm -f conftest.$ac_objext conftest$ac_exeext
  6785 if { (ac_try="$ac_link"
  6786 case "(($ac_try" in
  6787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6788   *) ac_try_echo=$ac_try;;
  6789 esac
  6790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6791   (eval "$ac_link") 2>conftest.er1
  6792   ac_status=$?
  6793   grep -v '^ *+' conftest.er1 >conftest.err
  6794   rm -f conftest.er1
  6795   cat conftest.err >&5
  6796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6797   (exit $ac_status); } && {
  6798 	 test -z "$ac_c_werror_flag" ||
  6799 	 test ! -s conftest.err
  6800        } && test -s conftest$ac_exeext &&
  6801        $as_test_x conftest$ac_exeext; then
  6802   gt_cv_func_dgettext_libc=yes
  6803 else
  6804   echo "$as_me: failed program was:" >&5
  6805 sed 's/^/| /' conftest.$ac_ext >&5
  6807 	gt_cv_func_dgettext_libc=no
  6808 fi
  6810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6811       conftest$ac_exeext conftest.$ac_ext
  6813 fi
  6814 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
  6815 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
  6816       fi
  6818       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
  6820 for ac_func in bind_textdomain_codeset
  6821 do
  6822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  6823 { echo "$as_me:$LINENO: checking for $ac_func" >&5
  6824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  6825 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  6826   echo $ECHO_N "(cached) $ECHO_C" >&6
  6827 else
  6828   cat >conftest.$ac_ext <<_ACEOF
  6829 /* confdefs.h.  */
  6830 _ACEOF
  6831 cat confdefs.h >>conftest.$ac_ext
  6832 cat >>conftest.$ac_ext <<_ACEOF
  6833 /* end confdefs.h.  */
  6834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6835    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  6836 #define $ac_func innocuous_$ac_func
  6838 /* System header to define __stub macros and hopefully few prototypes,
  6839     which can conflict with char $ac_func (); below.
  6840     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6841     <limits.h> exists even on freestanding compilers.  */
  6843 #ifdef __STDC__
  6844 # include <limits.h>
  6845 #else
  6846 # include <assert.h>
  6847 #endif
  6849 #undef $ac_func
  6851 /* Override any GCC internal prototype to avoid an error.
  6852    Use char because int might match the return type of a GCC
  6853    builtin and then its argument prototype would still apply.  */
  6854 #ifdef __cplusplus
  6855 extern "C"
  6856 #endif
  6857 char $ac_func ();
  6858 /* The GNU C library defines this for functions which it implements
  6859     to always fail with ENOSYS.  Some functions are actually named
  6860     something starting with __ and the normal name is an alias.  */
  6861 #if defined __stub_$ac_func || defined __stub___$ac_func
  6862 choke me
  6863 #endif
  6865 int
  6866 main ()
  6868 return $ac_func ();
  6870   return 0;
  6872 _ACEOF
  6873 rm -f conftest.$ac_objext conftest$ac_exeext
  6874 if { (ac_try="$ac_link"
  6875 case "(($ac_try" in
  6876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6877   *) ac_try_echo=$ac_try;;
  6878 esac
  6879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6880   (eval "$ac_link") 2>conftest.er1
  6881   ac_status=$?
  6882   grep -v '^ *+' conftest.er1 >conftest.err
  6883   rm -f conftest.er1
  6884   cat conftest.err >&5
  6885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6886   (exit $ac_status); } && {
  6887 	 test -z "$ac_c_werror_flag" ||
  6888 	 test ! -s conftest.err
  6889        } && test -s conftest$ac_exeext &&
  6890        $as_test_x conftest$ac_exeext; then
  6891   eval "$as_ac_var=yes"
  6892 else
  6893   echo "$as_me: failed program was:" >&5
  6894 sed 's/^/| /' conftest.$ac_ext >&5
  6896 	eval "$as_ac_var=no"
  6897 fi
  6899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6900       conftest$ac_exeext conftest.$ac_ext
  6901 fi
  6902 ac_res=`eval echo '${'$as_ac_var'}'`
  6903 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  6904 echo "${ECHO_T}$ac_res" >&6; }
  6905 if test `eval echo '${'$as_ac_var'}'` = yes; then
  6906   cat >>confdefs.h <<_ACEOF
  6907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  6908 _ACEOF
  6910 fi
  6911 done
  6913       fi
  6916       # If we don't have everything we want, check in libintl
  6918       if test "$gt_cv_func_dgettext_libc" != "yes" \
  6919 	 || test "$gt_cv_func_ngettext_libc" != "yes" \
  6920          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
  6922         { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
  6923 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
  6924 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
  6925   echo $ECHO_N "(cached) $ECHO_C" >&6
  6926 else
  6927   ac_check_lib_save_LIBS=$LIBS
  6928 LIBS="-lintl  $LIBS"
  6929 cat >conftest.$ac_ext <<_ACEOF
  6930 /* confdefs.h.  */
  6931 _ACEOF
  6932 cat confdefs.h >>conftest.$ac_ext
  6933 cat >>conftest.$ac_ext <<_ACEOF
  6934 /* end confdefs.h.  */
  6936 /* Override any GCC internal prototype to avoid an error.
  6937    Use char because int might match the return type of a GCC
  6938    builtin and then its argument prototype would still apply.  */
  6939 #ifdef __cplusplus
  6940 extern "C"
  6941 #endif
  6942 char bindtextdomain ();
  6943 int
  6944 main ()
  6946 return bindtextdomain ();
  6948   return 0;
  6950 _ACEOF
  6951 rm -f conftest.$ac_objext conftest$ac_exeext
  6952 if { (ac_try="$ac_link"
  6953 case "(($ac_try" in
  6954   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6955   *) ac_try_echo=$ac_try;;
  6956 esac
  6957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6958   (eval "$ac_link") 2>conftest.er1
  6959   ac_status=$?
  6960   grep -v '^ *+' conftest.er1 >conftest.err
  6961   rm -f conftest.er1
  6962   cat conftest.err >&5
  6963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6964   (exit $ac_status); } && {
  6965 	 test -z "$ac_c_werror_flag" ||
  6966 	 test ! -s conftest.err
  6967        } && test -s conftest$ac_exeext &&
  6968        $as_test_x conftest$ac_exeext; then
  6969   ac_cv_lib_intl_bindtextdomain=yes
  6970 else
  6971   echo "$as_me: failed program was:" >&5
  6972 sed 's/^/| /' conftest.$ac_ext >&5
  6974 	ac_cv_lib_intl_bindtextdomain=no
  6975 fi
  6977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6978       conftest$ac_exeext conftest.$ac_ext
  6979 LIBS=$ac_check_lib_save_LIBS
  6980 fi
  6981 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
  6982 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
  6983 if test $ac_cv_lib_intl_bindtextdomain = yes; then
  6984   { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
  6985 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
  6986 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
  6987   echo $ECHO_N "(cached) $ECHO_C" >&6
  6988 else
  6989   ac_check_lib_save_LIBS=$LIBS
  6990 LIBS="-lintl  $LIBS"
  6991 cat >conftest.$ac_ext <<_ACEOF
  6992 /* confdefs.h.  */
  6993 _ACEOF
  6994 cat confdefs.h >>conftest.$ac_ext
  6995 cat >>conftest.$ac_ext <<_ACEOF
  6996 /* end confdefs.h.  */
  6998 /* Override any GCC internal prototype to avoid an error.
  6999    Use char because int might match the return type of a GCC
  7000    builtin and then its argument prototype would still apply.  */
  7001 #ifdef __cplusplus
  7002 extern "C"
  7003 #endif
  7004 char ngettext ();
  7005 int
  7006 main ()
  7008 return ngettext ();
  7010   return 0;
  7012 _ACEOF
  7013 rm -f conftest.$ac_objext conftest$ac_exeext
  7014 if { (ac_try="$ac_link"
  7015 case "(($ac_try" in
  7016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7017   *) ac_try_echo=$ac_try;;
  7018 esac
  7019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7020   (eval "$ac_link") 2>conftest.er1
  7021   ac_status=$?
  7022   grep -v '^ *+' conftest.er1 >conftest.err
  7023   rm -f conftest.er1
  7024   cat conftest.err >&5
  7025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7026   (exit $ac_status); } && {
  7027 	 test -z "$ac_c_werror_flag" ||
  7028 	 test ! -s conftest.err
  7029        } && test -s conftest$ac_exeext &&
  7030        $as_test_x conftest$ac_exeext; then
  7031   ac_cv_lib_intl_ngettext=yes
  7032 else
  7033   echo "$as_me: failed program was:" >&5
  7034 sed 's/^/| /' conftest.$ac_ext >&5
  7036 	ac_cv_lib_intl_ngettext=no
  7037 fi
  7039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7040       conftest$ac_exeext conftest.$ac_ext
  7041 LIBS=$ac_check_lib_save_LIBS
  7042 fi
  7043 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
  7044 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
  7045 if test $ac_cv_lib_intl_ngettext = yes; then
  7046   { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
  7047 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
  7048 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
  7049   echo $ECHO_N "(cached) $ECHO_C" >&6
  7050 else
  7051   ac_check_lib_save_LIBS=$LIBS
  7052 LIBS="-lintl  $LIBS"
  7053 cat >conftest.$ac_ext <<_ACEOF
  7054 /* confdefs.h.  */
  7055 _ACEOF
  7056 cat confdefs.h >>conftest.$ac_ext
  7057 cat >>conftest.$ac_ext <<_ACEOF
  7058 /* end confdefs.h.  */
  7060 /* Override any GCC internal prototype to avoid an error.
  7061    Use char because int might match the return type of a GCC
  7062    builtin and then its argument prototype would still apply.  */
  7063 #ifdef __cplusplus
  7064 extern "C"
  7065 #endif
  7066 char dgettext ();
  7067 int
  7068 main ()
  7070 return dgettext ();
  7072   return 0;
  7074 _ACEOF
  7075 rm -f conftest.$ac_objext conftest$ac_exeext
  7076 if { (ac_try="$ac_link"
  7077 case "(($ac_try" in
  7078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7079   *) ac_try_echo=$ac_try;;
  7080 esac
  7081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7082   (eval "$ac_link") 2>conftest.er1
  7083   ac_status=$?
  7084   grep -v '^ *+' conftest.er1 >conftest.err
  7085   rm -f conftest.er1
  7086   cat conftest.err >&5
  7087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7088   (exit $ac_status); } && {
  7089 	 test -z "$ac_c_werror_flag" ||
  7090 	 test ! -s conftest.err
  7091        } && test -s conftest$ac_exeext &&
  7092        $as_test_x conftest$ac_exeext; then
  7093   ac_cv_lib_intl_dgettext=yes
  7094 else
  7095   echo "$as_me: failed program was:" >&5
  7096 sed 's/^/| /' conftest.$ac_ext >&5
  7098 	ac_cv_lib_intl_dgettext=no
  7099 fi
  7101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7102       conftest$ac_exeext conftest.$ac_ext
  7103 LIBS=$ac_check_lib_save_LIBS
  7104 fi
  7105 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
  7106 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
  7107 if test $ac_cv_lib_intl_dgettext = yes; then
  7108   gt_cv_func_dgettext_libintl=yes
  7109 fi
  7111 fi
  7113 fi
  7116 	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
  7117 	  { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
  7118 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
  7119 	  { echo "$as_me:$LINENO: result: " >&5
  7120 echo "${ECHO_T}" >&6; }
  7121   	  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
  7122 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
  7123 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
  7124   echo $ECHO_N "(cached) $ECHO_C" >&6
  7125 else
  7126   ac_check_lib_save_LIBS=$LIBS
  7127 LIBS="-lintl -liconv $LIBS"
  7128 cat >conftest.$ac_ext <<_ACEOF
  7129 /* confdefs.h.  */
  7130 _ACEOF
  7131 cat confdefs.h >>conftest.$ac_ext
  7132 cat >>conftest.$ac_ext <<_ACEOF
  7133 /* end confdefs.h.  */
  7135 /* Override any GCC internal prototype to avoid an error.
  7136    Use char because int might match the return type of a GCC
  7137    builtin and then its argument prototype would still apply.  */
  7138 #ifdef __cplusplus
  7139 extern "C"
  7140 #endif
  7141 char ngettext ();
  7142 int
  7143 main ()
  7145 return ngettext ();
  7147   return 0;
  7149 _ACEOF
  7150 rm -f conftest.$ac_objext conftest$ac_exeext
  7151 if { (ac_try="$ac_link"
  7152 case "(($ac_try" in
  7153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7154   *) ac_try_echo=$ac_try;;
  7155 esac
  7156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7157   (eval "$ac_link") 2>conftest.er1
  7158   ac_status=$?
  7159   grep -v '^ *+' conftest.er1 >conftest.err
  7160   rm -f conftest.er1
  7161   cat conftest.err >&5
  7162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7163   (exit $ac_status); } && {
  7164 	 test -z "$ac_c_werror_flag" ||
  7165 	 test ! -s conftest.err
  7166        } && test -s conftest$ac_exeext &&
  7167        $as_test_x conftest$ac_exeext; then
  7168   ac_cv_lib_intl_ngettext=yes
  7169 else
  7170   echo "$as_me: failed program was:" >&5
  7171 sed 's/^/| /' conftest.$ac_ext >&5
  7173 	ac_cv_lib_intl_ngettext=no
  7174 fi
  7176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7177       conftest$ac_exeext conftest.$ac_ext
  7178 LIBS=$ac_check_lib_save_LIBS
  7179 fi
  7180 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
  7181 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
  7182 if test $ac_cv_lib_intl_ngettext = yes; then
  7183   { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
  7184 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
  7185 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
  7186   echo $ECHO_N "(cached) $ECHO_C" >&6
  7187 else
  7188   ac_check_lib_save_LIBS=$LIBS
  7189 LIBS="-lintl -liconv $LIBS"
  7190 cat >conftest.$ac_ext <<_ACEOF
  7191 /* confdefs.h.  */
  7192 _ACEOF
  7193 cat confdefs.h >>conftest.$ac_ext
  7194 cat >>conftest.$ac_ext <<_ACEOF
  7195 /* end confdefs.h.  */
  7197 /* Override any GCC internal prototype to avoid an error.
  7198    Use char because int might match the return type of a GCC
  7199    builtin and then its argument prototype would still apply.  */
  7200 #ifdef __cplusplus
  7201 extern "C"
  7202 #endif
  7203 char dcgettext ();
  7204 int
  7205 main ()
  7207 return dcgettext ();
  7209   return 0;
  7211 _ACEOF
  7212 rm -f conftest.$ac_objext conftest$ac_exeext
  7213 if { (ac_try="$ac_link"
  7214 case "(($ac_try" in
  7215   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7216   *) ac_try_echo=$ac_try;;
  7217 esac
  7218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7219   (eval "$ac_link") 2>conftest.er1
  7220   ac_status=$?
  7221   grep -v '^ *+' conftest.er1 >conftest.err
  7222   rm -f conftest.er1
  7223   cat conftest.err >&5
  7224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7225   (exit $ac_status); } && {
  7226 	 test -z "$ac_c_werror_flag" ||
  7227 	 test ! -s conftest.err
  7228        } && test -s conftest$ac_exeext &&
  7229        $as_test_x conftest$ac_exeext; then
  7230   ac_cv_lib_intl_dcgettext=yes
  7231 else
  7232   echo "$as_me: failed program was:" >&5
  7233 sed 's/^/| /' conftest.$ac_ext >&5
  7235 	ac_cv_lib_intl_dcgettext=no
  7236 fi
  7238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7239       conftest$ac_exeext conftest.$ac_ext
  7240 LIBS=$ac_check_lib_save_LIBS
  7241 fi
  7242 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
  7243 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
  7244 if test $ac_cv_lib_intl_dcgettext = yes; then
  7245   gt_cv_func_dgettext_libintl=yes
  7246 			libintl_extra_libs=-liconv
  7247 else
  7249 fi
  7251 else
  7253 fi
  7255         fi
  7258         # If we found libintl, then check in it for bind_textdomain_codeset();
  7259         # we'll prefer libc if neither have bind_textdomain_codeset(),
  7260         # and both have dgettext and ngettext
  7262         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
  7263           glib_save_LIBS="$LIBS"
  7264           LIBS="$LIBS -lintl $libintl_extra_libs"
  7265           unset ac_cv_func_bind_textdomain_codeset
  7267 for ac_func in bind_textdomain_codeset
  7268 do
  7269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  7270 { echo "$as_me:$LINENO: checking for $ac_func" >&5
  7271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  7272 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  7273   echo $ECHO_N "(cached) $ECHO_C" >&6
  7274 else
  7275   cat >conftest.$ac_ext <<_ACEOF
  7276 /* confdefs.h.  */
  7277 _ACEOF
  7278 cat confdefs.h >>conftest.$ac_ext
  7279 cat >>conftest.$ac_ext <<_ACEOF
  7280 /* end confdefs.h.  */
  7281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  7282    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  7283 #define $ac_func innocuous_$ac_func
  7285 /* System header to define __stub macros and hopefully few prototypes,
  7286     which can conflict with char $ac_func (); below.
  7287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7288     <limits.h> exists even on freestanding compilers.  */
  7290 #ifdef __STDC__
  7291 # include <limits.h>
  7292 #else
  7293 # include <assert.h>
  7294 #endif
  7296 #undef $ac_func
  7298 /* Override any GCC internal prototype to avoid an error.
  7299    Use char because int might match the return type of a GCC
  7300    builtin and then its argument prototype would still apply.  */
  7301 #ifdef __cplusplus
  7302 extern "C"
  7303 #endif
  7304 char $ac_func ();
  7305 /* The GNU C library defines this for functions which it implements
  7306     to always fail with ENOSYS.  Some functions are actually named
  7307     something starting with __ and the normal name is an alias.  */
  7308 #if defined __stub_$ac_func || defined __stub___$ac_func
  7309 choke me
  7310 #endif
  7312 int
  7313 main ()
  7315 return $ac_func ();
  7317   return 0;
  7319 _ACEOF
  7320 rm -f conftest.$ac_objext conftest$ac_exeext
  7321 if { (ac_try="$ac_link"
  7322 case "(($ac_try" in
  7323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7324   *) ac_try_echo=$ac_try;;
  7325 esac
  7326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7327   (eval "$ac_link") 2>conftest.er1
  7328   ac_status=$?
  7329   grep -v '^ *+' conftest.er1 >conftest.err
  7330   rm -f conftest.er1
  7331   cat conftest.err >&5
  7332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7333   (exit $ac_status); } && {
  7334 	 test -z "$ac_c_werror_flag" ||
  7335 	 test ! -s conftest.err
  7336        } && test -s conftest$ac_exeext &&
  7337        $as_test_x conftest$ac_exeext; then
  7338   eval "$as_ac_var=yes"
  7339 else
  7340   echo "$as_me: failed program was:" >&5
  7341 sed 's/^/| /' conftest.$ac_ext >&5
  7343 	eval "$as_ac_var=no"
  7344 fi
  7346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7347       conftest$ac_exeext conftest.$ac_ext
  7348 fi
  7349 ac_res=`eval echo '${'$as_ac_var'}'`
  7350 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  7351 echo "${ECHO_T}$ac_res" >&6; }
  7352 if test `eval echo '${'$as_ac_var'}'` = yes; then
  7353   cat >>confdefs.h <<_ACEOF
  7354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  7355 _ACEOF
  7357 fi
  7358 done
  7360           LIBS="$glib_save_LIBS"
  7362           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
  7363             gt_cv_func_dgettext_libc=no
  7364           else
  7365             if test "$gt_cv_func_dgettext_libc" = "yes" \
  7366 		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
  7367               gt_cv_func_dgettext_libintl=no
  7368             fi
  7369           fi
  7370         fi
  7371       fi
  7373       if test "$gt_cv_func_dgettext_libc" = "yes" \
  7374 	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
  7375         gt_cv_have_gettext=yes
  7376       fi
  7378       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
  7379         INTLLIBS="-lintl $libintl_extra_libs"
  7380       fi
  7382       if test "$gt_cv_have_gettext" = "yes"; then
  7384 cat >>confdefs.h <<\_ACEOF
  7385 #define HAVE_GETTEXT 1
  7386 _ACEOF
  7388 	# Extract the first word of "msgfmt", so it can be a program name with args.
  7389 set dummy msgfmt; ac_word=$2
  7390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  7391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  7392 if test "${ac_cv_path_MSGFMT+set}" = set; then
  7393   echo $ECHO_N "(cached) $ECHO_C" >&6
  7394 else
  7395   case "$MSGFMT" in
  7396   /*)
  7397   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
  7398   ;;
  7399   *)
  7400   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  7401   for ac_dir in $PATH; do
  7402     test -z "$ac_dir" && ac_dir=.
  7403     if test -f $ac_dir/$ac_word; then
  7404       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
  7405 	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
  7406 	break
  7407       fi
  7408     fi
  7409   done
  7410   IFS="$ac_save_ifs"
  7411   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
  7412   ;;
  7413 esac
  7414 fi
  7415 MSGFMT="$ac_cv_path_MSGFMT"
  7416 if test "$MSGFMT" != "no"; then
  7417   { echo "$as_me:$LINENO: result: $MSGFMT" >&5
  7418 echo "${ECHO_T}$MSGFMT" >&6; }
  7419 else
  7420   { echo "$as_me:$LINENO: result: no" >&5
  7421 echo "${ECHO_T}no" >&6; }
  7422 fi
  7423 	if test "$MSGFMT" != "no"; then
  7424           glib_save_LIBS="$LIBS"
  7425           LIBS="$LIBS $INTLLIBS"
  7427 for ac_func in dcgettext
  7428 do
  7429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  7430 { echo "$as_me:$LINENO: checking for $ac_func" >&5
  7431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  7432 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  7433   echo $ECHO_N "(cached) $ECHO_C" >&6
  7434 else
  7435   cat >conftest.$ac_ext <<_ACEOF
  7436 /* confdefs.h.  */
  7437 _ACEOF
  7438 cat confdefs.h >>conftest.$ac_ext
  7439 cat >>conftest.$ac_ext <<_ACEOF
  7440 /* end confdefs.h.  */
  7441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  7442    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  7443 #define $ac_func innocuous_$ac_func
  7445 /* System header to define __stub macros and hopefully few prototypes,
  7446     which can conflict with char $ac_func (); below.
  7447     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7448     <limits.h> exists even on freestanding compilers.  */
  7450 #ifdef __STDC__
  7451 # include <limits.h>
  7452 #else
  7453 # include <assert.h>
  7454 #endif
  7456 #undef $ac_func
  7458 /* Override any GCC internal prototype to avoid an error.
  7459    Use char because int might match the return type of a GCC
  7460    builtin and then its argument prototype would still apply.  */
  7461 #ifdef __cplusplus
  7462 extern "C"
  7463 #endif
  7464 char $ac_func ();
  7465 /* The GNU C library defines this for functions which it implements
  7466     to always fail with ENOSYS.  Some functions are actually named
  7467     something starting with __ and the normal name is an alias.  */
  7468 #if defined __stub_$ac_func || defined __stub___$ac_func
  7469 choke me
  7470 #endif
  7472 int
  7473 main ()
  7475 return $ac_func ();
  7477   return 0;
  7479 _ACEOF
  7480 rm -f conftest.$ac_objext conftest$ac_exeext
  7481 if { (ac_try="$ac_link"
  7482 case "(($ac_try" in
  7483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7484   *) ac_try_echo=$ac_try;;
  7485 esac
  7486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7487   (eval "$ac_link") 2>conftest.er1
  7488   ac_status=$?
  7489   grep -v '^ *+' conftest.er1 >conftest.err
  7490   rm -f conftest.er1
  7491   cat conftest.err >&5
  7492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7493   (exit $ac_status); } && {
  7494 	 test -z "$ac_c_werror_flag" ||
  7495 	 test ! -s conftest.err
  7496        } && test -s conftest$ac_exeext &&
  7497        $as_test_x conftest$ac_exeext; then
  7498   eval "$as_ac_var=yes"
  7499 else
  7500   echo "$as_me: failed program was:" >&5
  7501 sed 's/^/| /' conftest.$ac_ext >&5
  7503 	eval "$as_ac_var=no"
  7504 fi
  7506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7507       conftest$ac_exeext conftest.$ac_ext
  7508 fi
  7509 ac_res=`eval echo '${'$as_ac_var'}'`
  7510 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  7511 echo "${ECHO_T}$ac_res" >&6; }
  7512 if test `eval echo '${'$as_ac_var'}'` = yes; then
  7513   cat >>confdefs.h <<_ACEOF
  7514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  7515 _ACEOF
  7517 fi
  7518 done
  7520 	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
  7521 set dummy gmsgfmt; ac_word=$2
  7522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  7523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  7524 if test "${ac_cv_path_GMSGFMT+set}" = set; then
  7525   echo $ECHO_N "(cached) $ECHO_C" >&6
  7526 else
  7527   case $GMSGFMT in
  7528   [\\/]* | ?:[\\/]*)
  7529   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
  7530   ;;
  7531   *)
  7532   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7533 for as_dir in $PATH
  7534 do
  7535   IFS=$as_save_IFS
  7536   test -z "$as_dir" && as_dir=.
  7537   for ac_exec_ext in '' $ac_executable_extensions; do
  7538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7539     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
  7540     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7541     break 2
  7542   fi
  7543 done
  7544 done
  7545 IFS=$as_save_IFS
  7547   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  7548   ;;
  7549 esac
  7550 fi
  7551 GMSGFMT=$ac_cv_path_GMSGFMT
  7552 if test -n "$GMSGFMT"; then
  7553   { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
  7554 echo "${ECHO_T}$GMSGFMT" >&6; }
  7555 else
  7556   { echo "$as_me:$LINENO: result: no" >&5
  7557 echo "${ECHO_T}no" >&6; }
  7558 fi
  7561 	  # Extract the first word of "xgettext", so it can be a program name with args.
  7562 set dummy xgettext; ac_word=$2
  7563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  7564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  7565 if test "${ac_cv_path_XGETTEXT+set}" = set; then
  7566   echo $ECHO_N "(cached) $ECHO_C" >&6
  7567 else
  7568   case "$XGETTEXT" in
  7569   /*)
  7570   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
  7571   ;;
  7572   *)
  7573   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  7574   for ac_dir in $PATH; do
  7575     test -z "$ac_dir" && ac_dir=.
  7576     if test -f $ac_dir/$ac_word; then
  7577       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
  7578 	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
  7579 	break
  7580       fi
  7581     fi
  7582   done
  7583   IFS="$ac_save_ifs"
  7584   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
  7585   ;;
  7586 esac
  7587 fi
  7588 XGETTEXT="$ac_cv_path_XGETTEXT"
  7589 if test "$XGETTEXT" != ":"; then
  7590   { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
  7591 echo "${ECHO_T}$XGETTEXT" >&6; }
  7592 else
  7593   { echo "$as_me:$LINENO: result: no" >&5
  7594 echo "${ECHO_T}no" >&6; }
  7595 fi
  7597 	  cat >conftest.$ac_ext <<_ACEOF
  7598 /* confdefs.h.  */
  7599 _ACEOF
  7600 cat confdefs.h >>conftest.$ac_ext
  7601 cat >>conftest.$ac_ext <<_ACEOF
  7602 /* end confdefs.h.  */
  7604 int
  7605 main ()
  7607 extern int _nl_msg_cat_cntr;
  7608 			 return _nl_msg_cat_cntr
  7610   return 0;
  7612 _ACEOF
  7613 rm -f conftest.$ac_objext conftest$ac_exeext
  7614 if { (ac_try="$ac_link"
  7615 case "(($ac_try" in
  7616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7617   *) ac_try_echo=$ac_try;;
  7618 esac
  7619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7620   (eval "$ac_link") 2>conftest.er1
  7621   ac_status=$?
  7622   grep -v '^ *+' conftest.er1 >conftest.err
  7623   rm -f conftest.er1
  7624   cat conftest.err >&5
  7625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7626   (exit $ac_status); } && {
  7627 	 test -z "$ac_c_werror_flag" ||
  7628 	 test ! -s conftest.err
  7629        } && test -s conftest$ac_exeext &&
  7630        $as_test_x conftest$ac_exeext; then
  7631   CATOBJEXT=.gmo
  7632              DATADIRNAME=share
  7633 else
  7634   echo "$as_me: failed program was:" >&5
  7635 sed 's/^/| /' conftest.$ac_ext >&5
  7637 	case $host in
  7638 	    *-*-solaris*)
  7639 	    	                	    	                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
  7640 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
  7641 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
  7642   echo $ECHO_N "(cached) $ECHO_C" >&6
  7643 else
  7644   cat >conftest.$ac_ext <<_ACEOF
  7645 /* confdefs.h.  */
  7646 _ACEOF
  7647 cat confdefs.h >>conftest.$ac_ext
  7648 cat >>conftest.$ac_ext <<_ACEOF
  7649 /* end confdefs.h.  */
  7650 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
  7651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  7652 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
  7654 /* System header to define __stub macros and hopefully few prototypes,
  7655     which can conflict with char bind_textdomain_codeset (); below.
  7656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7657     <limits.h> exists even on freestanding compilers.  */
  7659 #ifdef __STDC__
  7660 # include <limits.h>
  7661 #else
  7662 # include <assert.h>
  7663 #endif
  7665 #undef bind_textdomain_codeset
  7667 /* Override any GCC internal prototype to avoid an error.
  7668    Use char because int might match the return type of a GCC
  7669    builtin and then its argument prototype would still apply.  */
  7670 #ifdef __cplusplus
  7671 extern "C"
  7672 #endif
  7673 char bind_textdomain_codeset ();
  7674 /* The GNU C library defines this for functions which it implements
  7675     to always fail with ENOSYS.  Some functions are actually named
  7676     something starting with __ and the normal name is an alias.  */
  7677 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
  7678 choke me
  7679 #endif
  7681 int
  7682 main ()
  7684 return bind_textdomain_codeset ();
  7686   return 0;
  7688 _ACEOF
  7689 rm -f conftest.$ac_objext conftest$ac_exeext
  7690 if { (ac_try="$ac_link"
  7691 case "(($ac_try" in
  7692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7693   *) ac_try_echo=$ac_try;;
  7694 esac
  7695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7696   (eval "$ac_link") 2>conftest.er1
  7697   ac_status=$?
  7698   grep -v '^ *+' conftest.er1 >conftest.err
  7699   rm -f conftest.er1
  7700   cat conftest.err >&5
  7701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7702   (exit $ac_status); } && {
  7703 	 test -z "$ac_c_werror_flag" ||
  7704 	 test ! -s conftest.err
  7705        } && test -s conftest$ac_exeext &&
  7706        $as_test_x conftest$ac_exeext; then
  7707   ac_cv_func_bind_textdomain_codeset=yes
  7708 else
  7709   echo "$as_me: failed program was:" >&5
  7710 sed 's/^/| /' conftest.$ac_ext >&5
  7712 	ac_cv_func_bind_textdomain_codeset=no
  7713 fi
  7715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7716       conftest$ac_exeext conftest.$ac_ext
  7717 fi
  7718 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
  7719 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
  7720 if test $ac_cv_func_bind_textdomain_codeset = yes; then
  7721   CATOBJEXT=.gmo
  7722                DATADIRNAME=share
  7723 else
  7724   CATOBJEXT=.mo
  7725                DATADIRNAME=lib
  7726 fi
  7728 	    ;;
  7729 	    *)
  7730 	    CATOBJEXT=.mo
  7731             DATADIRNAME=lib
  7732 	    ;;
  7733 	    esac
  7734 fi
  7736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7737       conftest$ac_exeext conftest.$ac_ext
  7738           LIBS="$glib_save_LIBS"
  7739 	  INSTOBJEXT=.mo
  7740 	else
  7741 	  gt_cv_have_gettext=no
  7742 	fi
  7743       fi
  7745 fi
  7749     if test "$gt_cv_have_gettext" = "yes" ; then
  7751 cat >>confdefs.h <<\_ACEOF
  7752 #define ENABLE_NLS 1
  7753 _ACEOF
  7755     fi
  7757         if test "$XGETTEXT" != ":"; then
  7758                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
  7759         : ;
  7760       else
  7761         { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
  7762 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
  7763         XGETTEXT=":"
  7764       fi
  7765     fi
  7767     # We need to process the po/ directory.
  7768     POSUB=po
  7770     ac_config_commands="$ac_config_commands default-1"
  7773                 for lang in $ALL_LINGUAS; do
  7774       GMOFILES="$GMOFILES $lang.gmo"
  7775       POFILES="$POFILES $lang.po"
  7776     done
  7790    if test "$gt_cv_have_gettext" = "yes"; then
  7791      if test "x$ALL_LINGUAS" = "x"; then
  7792        LINGUAS=
  7793      else
  7794        { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
  7795 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
  7796        NEW_LINGUAS=
  7797        for presentlang in $ALL_LINGUAS; do
  7798          useit=no
  7799          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
  7800            desiredlanguages="$LINGUAS"
  7801          else
  7802            desiredlanguages="$ALL_LINGUAS"
  7803          fi
  7804          for desiredlang in $desiredlanguages; do
  7805  	   # Use the presentlang catalog if desiredlang is
  7806            #   a. equal to presentlang, or
  7807            #   b. a variant of presentlang (because in this case,
  7808            #      presentlang can be used as a fallback for messages
  7809            #      which are not translated in the desiredlang catalog).
  7810            case "$desiredlang" in
  7811              "$presentlang"*) useit=yes;;
  7812            esac
  7813          done
  7814          if test $useit = yes; then
  7815            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
  7816          fi
  7817        done
  7818        LINGUAS=$NEW_LINGUAS
  7819        { echo "$as_me:$LINENO: result: $LINGUAS" >&5
  7820 echo "${ECHO_T}$LINGUAS" >&6; }
  7821      fi
  7823           if test -n "$LINGUAS"; then
  7824        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
  7825      fi
  7826    fi
  7828             MKINSTALLDIRS=
  7829    if test -n "$ac_aux_dir"; then
  7830      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
  7831    fi
  7832    if test -z "$MKINSTALLDIRS"; then
  7833      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
  7834    fi
  7837          test -d po || mkdir po
  7838    if test "x$srcdir" != "x."; then
  7839      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
  7840        posrcprefix="$srcdir/"
  7841      else
  7842        posrcprefix="../$srcdir/"
  7843      fi
  7844    else
  7845      posrcprefix="../"
  7846    fi
  7847    rm -f po/POTFILES
  7848    sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
  7849 	< $srcdir/po/POTFILES.in > po/POTFILES
  7852 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in test/Makefile"
  7854 cat >confcache <<\_ACEOF
  7855 # This file is a shell script that caches the results of configure
  7856 # tests run on this system so they can be shared between configure
  7857 # scripts and configure runs, see configure's option --config-cache.
  7858 # It is not useful on other systems.  If it contains results you don't
  7859 # want to keep, you may remove or edit it.
  7861 # config.status only pays attention to the cache file if you give it
  7862 # the --recheck option to rerun configure.
  7864 # `ac_cv_env_foo' variables (set or unset) will be overridden when
  7865 # loading this file, other *unset* `ac_cv_foo' will be assigned the
  7866 # following values.
  7868 _ACEOF
  7870 # The following way of writing the cache mishandles newlines in values,
  7871 # but we know of no workaround that is simple, portable, and efficient.
  7872 # So, we kill variables containing newlines.
  7873 # Ultrix sh set writes to stderr and can't be redirected directly,
  7874 # and sets the high bit in the cache file unless we assign to the vars.
  7876   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  7877     eval ac_val=\$$ac_var
  7878     case $ac_val in #(
  7879     *${as_nl}*)
  7880       case $ac_var in #(
  7881       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  7882 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  7883       esac
  7884       case $ac_var in #(
  7885       _ | IFS | as_nl) ;; #(
  7886       *) $as_unset $ac_var ;;
  7887       esac ;;
  7888     esac
  7889   done
  7891   (set) 2>&1 |
  7892     case $as_nl`(ac_space=' '; set) 2>&1` in #(
  7893     *${as_nl}ac_space=\ *)
  7894       # `set' does not quote correctly, so add quotes (double-quote
  7895       # substitution turns \\\\ into \\, and sed turns \\ into \).
  7896       sed -n \
  7897 	"s/'/'\\\\''/g;
  7898 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  7899       ;; #(
  7900     *)
  7901       # `set' quotes correctly as required by POSIX, so do not add quotes.
  7902       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  7903       ;;
  7904     esac |
  7905     sort
  7906 ) |
  7907   sed '
  7908      /^ac_cv_env_/b end
  7909      t clear
  7910      :clear
  7911      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  7912      t end
  7913      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  7914      :end' >>confcache
  7915 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  7916   if test -w "$cache_file"; then
  7917     test "x$cache_file" != "x/dev/null" &&
  7918       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  7919 echo "$as_me: updating cache $cache_file" >&6;}
  7920     cat confcache >$cache_file
  7921   else
  7922     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  7923 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  7924   fi
  7925 fi
  7926 rm -f confcache
  7928 test "x$prefix" = xNONE && prefix=$ac_default_prefix
  7929 # Let make expand exec_prefix.
  7930 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  7932 DEFS=-DHAVE_CONFIG_H
  7934 ac_libobjs=
  7935 ac_ltlibobjs=
  7936 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  7937   # 1. Remove the extension, and $U if already installed.
  7938   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  7939   ac_i=`echo "$ac_i" | sed "$ac_script"`
  7940   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  7941   #    will be set to the directory where LIBOBJS objects are built.
  7942   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  7943   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  7944 done
  7945 LIBOBJS=$ac_libobjs
  7947 LTLIBOBJS=$ac_ltlibobjs
  7950 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  7951   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
  7952 Usually this means the macro was only invoked conditionally." >&5
  7953 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
  7954 Usually this means the macro was only invoked conditionally." >&2;}
  7955    { (exit 1); exit 1; }; }
  7956 fi
  7957 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  7958   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  7959 Usually this means the macro was only invoked conditionally." >&5
  7960 echo "$as_me: error: conditional \"AMDEP\" was never defined.
  7961 Usually this means the macro was only invoked conditionally." >&2;}
  7962    { (exit 1); exit 1; }; }
  7963 fi
  7964 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  7965   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  7966 Usually this means the macro was only invoked conditionally." >&5
  7967 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  7968 Usually this means the macro was only invoked conditionally." >&2;}
  7969    { (exit 1); exit 1; }; }
  7970 fi
  7971 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  7972   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  7973 Usually this means the macro was only invoked conditionally." >&5
  7974 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  7975 Usually this means the macro was only invoked conditionally." >&2;}
  7976    { (exit 1); exit 1; }; }
  7977 fi
  7978 if test -z "${GUI_CARBON_TRUE}" && test -z "${GUI_CARBON_FALSE}"; then
  7979   { { echo "$as_me:$LINENO: error: conditional \"GUI_CARBON\" was never defined.
  7980 Usually this means the macro was only invoked conditionally." >&5
  7981 echo "$as_me: error: conditional \"GUI_CARBON\" was never defined.
  7982 Usually this means the macro was only invoked conditionally." >&2;}
  7983    { (exit 1); exit 1; }; }
  7984 fi
  7985 if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
  7986   { { echo "$as_me:$LINENO: error: conditional \"GUI_GTK\" was never defined.
  7987 Usually this means the macro was only invoked conditionally." >&5
  7988 echo "$as_me: error: conditional \"GUI_GTK\" was never defined.
  7989 Usually this means the macro was only invoked conditionally." >&2;}
  7990    { (exit 1); exit 1; }; }
  7991 fi
  7992 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
  7993   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
  7994 Usually this means the macro was only invoked conditionally." >&5
  7995 echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
  7996 Usually this means the macro was only invoked conditionally." >&2;}
  7997    { (exit 1); exit 1; }; }
  7998 fi
  7999 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
  8000   { { echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
  8001 Usually this means the macro was only invoked conditionally." >&5
  8002 echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
  8003 Usually this means the macro was only invoked conditionally." >&2;}
  8004    { (exit 1); exit 1; }; }
  8005 fi
  8006 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
  8007   { { echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
  8008 Usually this means the macro was only invoked conditionally." >&5
  8009 echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
  8010 Usually this means the macro was only invoked conditionally." >&2;}
  8011    { (exit 1); exit 1; }; }
  8012 fi
  8013 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
  8014   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
  8015 Usually this means the macro was only invoked conditionally." >&5
  8016 echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
  8017 Usually this means the macro was only invoked conditionally." >&2;}
  8018    { (exit 1); exit 1; }; }
  8019 fi
  8020 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
  8021   { { echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
  8022 Usually this means the macro was only invoked conditionally." >&5
  8023 echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
  8024 Usually this means the macro was only invoked conditionally." >&2;}
  8025    { (exit 1); exit 1; }; }
  8026 fi
  8028 : ${CONFIG_STATUS=./config.status}
  8029 ac_clean_files_save=$ac_clean_files
  8030 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  8031 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  8032 echo "$as_me: creating $CONFIG_STATUS" >&6;}
  8033 cat >$CONFIG_STATUS <<_ACEOF
  8034 #! $SHELL
  8035 # Generated by $as_me.
  8036 # Run this file to recreate the current configuration.
  8037 # Compiler output produced by configure, useful for debugging
  8038 # configure, is in config.log if it exists.
  8040 debug=false
  8041 ac_cs_recheck=false
  8042 ac_cs_silent=false
  8043 SHELL=\${CONFIG_SHELL-$SHELL}
  8044 _ACEOF
  8046 cat >>$CONFIG_STATUS <<\_ACEOF
  8047 ## --------------------- ##
  8048 ## M4sh Initialization.  ##
  8049 ## --------------------- ##
  8051 # Be more Bourne compatible
  8052 DUALCASE=1; export DUALCASE # for MKS sh
  8053 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  8054   emulate sh
  8055   NULLCMD=:
  8056   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  8057   # is contrary to our usage.  Disable this feature.
  8058   alias -g '${1+"$@"}'='"$@"'
  8059   setopt NO_GLOB_SUBST
  8060 else
  8061   case `(set -o) 2>/dev/null` in
  8062   *posix*) set -o posix ;;
  8063 esac
  8065 fi
  8070 # PATH needs CR
  8071 # Avoid depending upon Character Ranges.
  8072 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  8073 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  8074 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  8075 as_cr_digits='0123456789'
  8076 as_cr_alnum=$as_cr_Letters$as_cr_digits
  8078 # The user is always right.
  8079 if test "${PATH_SEPARATOR+set}" != set; then
  8080   echo "#! /bin/sh" >conf$$.sh
  8081   echo  "exit 0"   >>conf$$.sh
  8082   chmod +x conf$$.sh
  8083   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  8084     PATH_SEPARATOR=';'
  8085   else
  8086     PATH_SEPARATOR=:
  8087   fi
  8088   rm -f conf$$.sh
  8089 fi
  8091 # Support unset when possible.
  8092 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  8093   as_unset=unset
  8094 else
  8095   as_unset=false
  8096 fi
  8099 # IFS
  8100 # We need space, tab and new line, in precisely that order.  Quoting is
  8101 # there to prevent editors from complaining about space-tab.
  8102 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  8103 # splitting by setting IFS to empty value.)
  8104 as_nl='
  8106 IFS=" ""	$as_nl"
  8108 # Find who we are.  Look in the path if we contain no directory separator.
  8109 case $0 in
  8110   *[\\/]* ) as_myself=$0 ;;
  8111   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8112 for as_dir in $PATH
  8113 do
  8114   IFS=$as_save_IFS
  8115   test -z "$as_dir" && as_dir=.
  8116   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  8117 done
  8118 IFS=$as_save_IFS
  8120      ;;
  8121 esac
  8122 # We did not find ourselves, most probably we were run as `sh COMMAND'
  8123 # in which case we are not to be found in the path.
  8124 if test "x$as_myself" = x; then
  8125   as_myself=$0
  8126 fi
  8127 if test ! -f "$as_myself"; then
  8128   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  8129   { (exit 1); exit 1; }
  8130 fi
  8132 # Work around bugs in pre-3.0 UWIN ksh.
  8133 for as_var in ENV MAIL MAILPATH
  8134 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  8135 done
  8136 PS1='$ '
  8137 PS2='> '
  8138 PS4='+ '
  8140 # NLS nuisances.
  8141 for as_var in \
  8142   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  8143   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  8144   LC_TELEPHONE LC_TIME
  8145 do
  8146   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  8147     eval $as_var=C; export $as_var
  8148   else
  8149     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  8150   fi
  8151 done
  8153 # Required to use basename.
  8154 if expr a : '\(a\)' >/dev/null 2>&1 &&
  8155    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  8156   as_expr=expr
  8157 else
  8158   as_expr=false
  8159 fi
  8161 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  8162   as_basename=basename
  8163 else
  8164   as_basename=false
  8165 fi
  8168 # Name of the executable.
  8169 as_me=`$as_basename -- "$0" ||
  8170 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  8171 	 X"$0" : 'X\(//\)$' \| \
  8172 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  8173 echo X/"$0" |
  8174     sed '/^.*\/\([^/][^/]*\)\/*$/{
  8175 	    s//\1/
  8178 	  /^X\/\(\/\/\)$/{
  8179 	    s//\1/
  8182 	  /^X\/\(\/\).*/{
  8183 	    s//\1/
  8186 	  s/.*/./; q'`
  8188 # CDPATH.
  8189 $as_unset CDPATH
  8193   as_lineno_1=$LINENO
  8194   as_lineno_2=$LINENO
  8195   test "x$as_lineno_1" != "x$as_lineno_2" &&
  8196   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  8198   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  8199   # uniformly replaced by the line number.  The first 'sed' inserts a
  8200   # line-number line after each line using $LINENO; the second 'sed'
  8201   # does the real work.  The second script uses 'N' to pair each
  8202   # line-number line with the line containing $LINENO, and appends
  8203   # trailing '-' during substitution so that $LINENO is not a special
  8204   # case at line end.
  8205   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  8206   # scripts with optimization help from Paolo Bonzini.  Blame Lee
  8207   # E. McMahon (1931-1989) for sed's syntax.  :-)
  8208   sed -n '
  8210     /[$]LINENO/=
  8211   ' <$as_myself |
  8212     sed '
  8213       s/[$]LINENO.*/&-/
  8214       t lineno
  8216       :lineno
  8218       :loop
  8219       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  8220       t loop
  8221       s/-\n.*//
  8222     ' >$as_me.lineno &&
  8223   chmod +x "$as_me.lineno" ||
  8224     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  8225    { (exit 1); exit 1; }; }
  8227   # Don't try to exec as it changes $[0], causing all sort of problems
  8228   # (the dirname of $[0] is not the place where we might find the
  8229   # original and so on.  Autoconf is especially sensitive to this).
  8230   . "./$as_me.lineno"
  8231   # Exit status is that of the last command.
  8232   exit
  8236 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  8237   as_dirname=dirname
  8238 else
  8239   as_dirname=false
  8240 fi
  8242 ECHO_C= ECHO_N= ECHO_T=
  8243 case `echo -n x` in
  8244 -n*)
  8245   case `echo 'x\c'` in
  8246   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  8247   *)   ECHO_C='\c';;
  8248   esac;;
  8249 *)
  8250   ECHO_N='-n';;
  8251 esac
  8253 if expr a : '\(a\)' >/dev/null 2>&1 &&
  8254    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  8255   as_expr=expr
  8256 else
  8257   as_expr=false
  8258 fi
  8260 rm -f conf$$ conf$$.exe conf$$.file
  8261 if test -d conf$$.dir; then
  8262   rm -f conf$$.dir/conf$$.file
  8263 else
  8264   rm -f conf$$.dir
  8265   mkdir conf$$.dir
  8266 fi
  8267 echo >conf$$.file
  8268 if ln -s conf$$.file conf$$ 2>/dev/null; then
  8269   as_ln_s='ln -s'
  8270   # ... but there are two gotchas:
  8271   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  8272   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  8273   # In both cases, we have to default to `cp -p'.
  8274   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  8275     as_ln_s='cp -p'
  8276 elif ln conf$$.file conf$$ 2>/dev/null; then
  8277   as_ln_s=ln
  8278 else
  8279   as_ln_s='cp -p'
  8280 fi
  8281 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  8282 rmdir conf$$.dir 2>/dev/null
  8284 if mkdir -p . 2>/dev/null; then
  8285   as_mkdir_p=:
  8286 else
  8287   test -d ./-p && rmdir ./-p
  8288   as_mkdir_p=false
  8289 fi
  8291 if test -x / >/dev/null 2>&1; then
  8292   as_test_x='test -x'
  8293 else
  8294   if ls -dL / >/dev/null 2>&1; then
  8295     as_ls_L_option=L
  8296   else
  8297     as_ls_L_option=
  8298   fi
  8299   as_test_x='
  8300     eval sh -c '\''
  8301       if test -d "$1"; then
  8302         test -d "$1/.";
  8303       else
  8304 	case $1 in
  8305         -*)set "./$1";;
  8306 	esac;
  8307 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  8308 	???[sx]*):;;*)false;;esac;fi
  8309     '\'' sh
  8311 fi
  8312 as_executable_p=$as_test_x
  8314 # Sed expression to map a string onto a valid CPP name.
  8315 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  8317 # Sed expression to map a string onto a valid variable name.
  8318 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  8321 exec 6>&1
  8323 # Save the log message, to keep $[0] and so on meaningful, and to
  8324 # report actual input values of CONFIG_FILES etc. instead of their
  8325 # values after options handling.
  8326 ac_log="
  8327 This file was extended by $as_me, which was
  8328 generated by GNU Autoconf 2.61.  Invocation command line was
  8330   CONFIG_FILES    = $CONFIG_FILES
  8331   CONFIG_HEADERS  = $CONFIG_HEADERS
  8332   CONFIG_LINKS    = $CONFIG_LINKS
  8333   CONFIG_COMMANDS = $CONFIG_COMMANDS
  8334   $ $0 $@
  8336 on `(hostname || uname -n) 2>/dev/null | sed 1q`
  8339 _ACEOF
  8341 cat >>$CONFIG_STATUS <<_ACEOF
  8342 # Files that config.status was made for.
  8343 config_files="$ac_config_files"
  8344 config_headers="$ac_config_headers"
  8345 config_commands="$ac_config_commands"
  8347 _ACEOF
  8349 cat >>$CONFIG_STATUS <<\_ACEOF
  8350 ac_cs_usage="\
  8351 \`$as_me' instantiates files from templates according to the
  8352 current configuration.
  8354 Usage: $0 [OPTIONS] [FILE]...
  8356   -h, --help       print this help, then exit
  8357   -V, --version    print version number and configuration settings, then exit
  8358   -q, --quiet      do not print progress messages
  8359   -d, --debug      don't remove temporary files
  8360       --recheck    update $as_me by reconfiguring in the same conditions
  8361   --file=FILE[:TEMPLATE]
  8362 		   instantiate the configuration file FILE
  8363   --header=FILE[:TEMPLATE]
  8364 		   instantiate the configuration header FILE
  8366 Configuration files:
  8367 $config_files
  8369 Configuration headers:
  8370 $config_headers
  8372 Configuration commands:
  8373 $config_commands
  8375 Report bugs to <bug-autoconf@gnu.org>."
  8377 _ACEOF
  8378 cat >>$CONFIG_STATUS <<_ACEOF
  8379 ac_cs_version="\\
  8380 config.status
  8381 configured by $0, generated by GNU Autoconf 2.61,
  8382   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  8384 Copyright (C) 2006 Free Software Foundation, Inc.
  8385 This config.status script is free software; the Free Software Foundation
  8386 gives unlimited permission to copy, distribute and modify it."
  8388 ac_pwd='$ac_pwd'
  8389 srcdir='$srcdir'
  8390 INSTALL='$INSTALL'
  8391 _ACEOF
  8393 cat >>$CONFIG_STATUS <<\_ACEOF
  8394 # If no file are specified by the user, then we need to provide default
  8395 # value.  By we need to know if files were specified by the user.
  8396 ac_need_defaults=:
  8397 while test $# != 0
  8398 do
  8399   case $1 in
  8400   --*=*)
  8401     ac_option=`expr "X$1" : 'X\([^=]*\)='`
  8402     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  8403     ac_shift=:
  8404     ;;
  8405   *)
  8406     ac_option=$1
  8407     ac_optarg=$2
  8408     ac_shift=shift
  8409     ;;
  8410   esac
  8412   case $ac_option in
  8413   # Handling of the options.
  8414   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  8415     ac_cs_recheck=: ;;
  8416   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  8417     echo "$ac_cs_version"; exit ;;
  8418   --debug | --debu | --deb | --de | --d | -d )
  8419     debug=: ;;
  8420   --file | --fil | --fi | --f )
  8421     $ac_shift
  8422     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  8423     ac_need_defaults=false;;
  8424   --header | --heade | --head | --hea )
  8425     $ac_shift
  8426     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  8427     ac_need_defaults=false;;
  8428   --he | --h)
  8429     # Conflict between --help and --header
  8430     { echo "$as_me: error: ambiguous option: $1
  8431 Try \`$0 --help' for more information." >&2
  8432    { (exit 1); exit 1; }; };;
  8433   --help | --hel | -h )
  8434     echo "$ac_cs_usage"; exit ;;
  8435   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  8436   | -silent | --silent | --silen | --sile | --sil | --si | --s)
  8437     ac_cs_silent=: ;;
  8439   # This is an error.
  8440   -*) { echo "$as_me: error: unrecognized option: $1
  8441 Try \`$0 --help' for more information." >&2
  8442    { (exit 1); exit 1; }; } ;;
  8444   *) ac_config_targets="$ac_config_targets $1"
  8445      ac_need_defaults=false ;;
  8447   esac
  8448   shift
  8449 done
  8451 ac_configure_extra_args=
  8453 if $ac_cs_silent; then
  8454   exec 6>/dev/null
  8455   ac_configure_extra_args="$ac_configure_extra_args --silent"
  8456 fi
  8458 _ACEOF
  8459 cat >>$CONFIG_STATUS <<_ACEOF
  8460 if \$ac_cs_recheck; then
  8461   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  8462   CONFIG_SHELL=$SHELL
  8463   export CONFIG_SHELL
  8464   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  8465 fi
  8467 _ACEOF
  8468 cat >>$CONFIG_STATUS <<\_ACEOF
  8469 exec 5>>config.log
  8471   echo
  8472   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  8473 ## Running $as_me. ##
  8474 _ASBOX
  8475   echo "$ac_log"
  8476 } >&5
  8478 _ACEOF
  8479 cat >>$CONFIG_STATUS <<_ACEOF
  8481 # INIT-COMMANDS
  8483 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  8486 _ACEOF
  8488 cat >>$CONFIG_STATUS <<\_ACEOF
  8490 # Handling of arguments.
  8491 for ac_config_target in $ac_config_targets
  8492 do
  8493   case $ac_config_target in
  8494     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  8495     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  8496     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  8497     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  8498     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  8499     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
  8500     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
  8502   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  8503 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  8504    { (exit 1); exit 1; }; };;
  8505   esac
  8506 done
  8509 # If the user did not use the arguments to specify the items to instantiate,
  8510 # then the envvar interface is used.  Set only those that are not.
  8511 # We use the long form for the default assignment because of an extremely
  8512 # bizarre bug on SunOS 4.1.3.
  8513 if $ac_need_defaults; then
  8514   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  8515   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  8516   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  8517 fi
  8519 # Have a temporary directory for convenience.  Make it in the build tree
  8520 # simply because there is no reason against having it here, and in addition,
  8521 # creating and moving files from /tmp can sometimes cause problems.
  8522 # Hook for its removal unless debugging.
  8523 # Note that there is a small window in which the directory will not be cleaned:
  8524 # after its creation but before its name has been assigned to `$tmp'.
  8525 $debug ||
  8527   tmp=
  8528   trap 'exit_status=$?
  8529   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  8530 ' 0
  8531   trap '{ (exit 1); exit 1; }' 1 2 13 15
  8533 # Create a (secure) tmp directory for tmp files.
  8536   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  8537   test -n "$tmp" && test -d "$tmp"
  8538 }  ||
  8540   tmp=./conf$$-$RANDOM
  8541   (umask 077 && mkdir "$tmp")
  8542 } ||
  8544    echo "$me: cannot create a temporary directory in ." >&2
  8545    { (exit 1); exit 1; }
  8549 # Set up the sed scripts for CONFIG_FILES section.
  8552 # No need to generate the scripts if there are no CONFIG_FILES.
  8553 # This happens for instance when ./config.status config.h
  8554 if test -n "$CONFIG_FILES"; then
  8556 _ACEOF
  8560 ac_delim='%!_!# '
  8561 for ac_last_try in false false false false false :; do
  8562   cat >conf$$subs.sed <<_ACEOF
  8563 SHELL!$SHELL$ac_delim
  8564 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  8565 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  8566 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  8567 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  8568 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  8569 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  8570 exec_prefix!$exec_prefix$ac_delim
  8571 prefix!$prefix$ac_delim
  8572 program_transform_name!$program_transform_name$ac_delim
  8573 bindir!$bindir$ac_delim
  8574 sbindir!$sbindir$ac_delim
  8575 libexecdir!$libexecdir$ac_delim
  8576 datarootdir!$datarootdir$ac_delim
  8577 datadir!$datadir$ac_delim
  8578 sysconfdir!$sysconfdir$ac_delim
  8579 sharedstatedir!$sharedstatedir$ac_delim
  8580 localstatedir!$localstatedir$ac_delim
  8581 includedir!$includedir$ac_delim
  8582 oldincludedir!$oldincludedir$ac_delim
  8583 docdir!$docdir$ac_delim
  8584 infodir!$infodir$ac_delim
  8585 htmldir!$htmldir$ac_delim
  8586 dvidir!$dvidir$ac_delim
  8587 pdfdir!$pdfdir$ac_delim
  8588 psdir!$psdir$ac_delim
  8589 libdir!$libdir$ac_delim
  8590 localedir!$localedir$ac_delim
  8591 mandir!$mandir$ac_delim
  8592 DEFS!$DEFS$ac_delim
  8593 ECHO_C!$ECHO_C$ac_delim
  8594 ECHO_N!$ECHO_N$ac_delim
  8595 ECHO_T!$ECHO_T$ac_delim
  8596 LIBS!$LIBS$ac_delim
  8597 build_alias!$build_alias$ac_delim
  8598 host_alias!$host_alias$ac_delim
  8599 target_alias!$target_alias$ac_delim
  8600 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
  8601 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
  8602 INSTALL_DATA!$INSTALL_DATA$ac_delim
  8603 CYGPATH_W!$CYGPATH_W$ac_delim
  8604 PACKAGE!$PACKAGE$ac_delim
  8605 VERSION!$VERSION$ac_delim
  8606 ACLOCAL!$ACLOCAL$ac_delim
  8607 AUTOCONF!$AUTOCONF$ac_delim
  8608 AUTOMAKE!$AUTOMAKE$ac_delim
  8609 AUTOHEADER!$AUTOHEADER$ac_delim
  8610 MAKEINFO!$MAKEINFO$ac_delim
  8611 AMTAR!$AMTAR$ac_delim
  8612 install_sh!$install_sh$ac_delim
  8613 STRIP!$STRIP$ac_delim
  8614 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
  8615 AWK!$AWK$ac_delim
  8616 SET_MAKE!$SET_MAKE$ac_delim
  8617 am__leading_dot!$am__leading_dot$ac_delim
  8618 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
  8619 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
  8620 MAINT!$MAINT$ac_delim
  8621 CC!$CC$ac_delim
  8622 CFLAGS!$CFLAGS$ac_delim
  8623 LDFLAGS!$LDFLAGS$ac_delim
  8624 CPPFLAGS!$CPPFLAGS$ac_delim
  8625 ac_ct_CC!$ac_ct_CC$ac_delim
  8626 EXEEXT!$EXEEXT$ac_delim
  8627 OBJEXT!$OBJEXT$ac_delim
  8628 DEPDIR!$DEPDIR$ac_delim
  8629 am__include!$am__include$ac_delim
  8630 am__quote!$am__quote$ac_delim
  8631 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
  8632 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
  8633 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
  8634 CCDEPMODE!$CCDEPMODE$ac_delim
  8635 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
  8636 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
  8637 CPP!$CPP$ac_delim
  8638 GREP!$GREP$ac_delim
  8639 EGREP!$EGREP$ac_delim
  8640 build!$build$ac_delim
  8641 build_cpu!$build_cpu$ac_delim
  8642 build_vendor!$build_vendor$ac_delim
  8643 build_os!$build_os$ac_delim
  8644 host!$host$ac_delim
  8645 host_cpu!$host_cpu$ac_delim
  8646 host_vendor!$host_vendor$ac_delim
  8647 host_os!$host_os$ac_delim
  8648 PKG_CONFIG!$PKG_CONFIG$ac_delim
  8649 LIBPNG_CFLAGS!$LIBPNG_CFLAGS$ac_delim
  8650 LIBPNG_LIBS!$LIBPNG_LIBS$ac_delim
  8651 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
  8652 GTK_LIBS!$GTK_LIBS$ac_delim
  8653 GUI_CARBON_TRUE!$GUI_CARBON_TRUE$ac_delim
  8654 GUI_CARBON_FALSE!$GUI_CARBON_FALSE$ac_delim
  8655 GUI_GTK_TRUE!$GUI_GTK_TRUE$ac_delim
  8656 GUI_GTK_FALSE!$GUI_GTK_FALSE$ac_delim
  8657 BUILD_SH4X86_TRUE!$BUILD_SH4X86_TRUE$ac_delim
  8658 BUILD_SH4X86_FALSE!$BUILD_SH4X86_FALSE$ac_delim
  8659 ESOUND_CFLAGS!$ESOUND_CFLAGS$ac_delim
  8660 _ACEOF
  8662   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
  8663     break
  8664   elif $ac_last_try; then
  8665     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  8666 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  8667    { (exit 1); exit 1; }; }
  8668   else
  8669     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  8670   fi
  8671 done
  8673 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  8674 if test -n "$ac_eof"; then
  8675   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  8676   ac_eof=`expr $ac_eof + 1`
  8677 fi
  8679 cat >>$CONFIG_STATUS <<_ACEOF
  8680 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  8681 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  8682 _ACEOF
  8683 sed '
  8684 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  8685 s/^/s,@/; s/!/@,|#_!!_#|/
  8686 :n
  8687 t n
  8688 s/'"$ac_delim"'$/,g/; t
  8689 s/$/\\/; p
  8690 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  8691 ' >>$CONFIG_STATUS <conf$$subs.sed
  8692 rm -f conf$$subs.sed
  8693 cat >>$CONFIG_STATUS <<_ACEOF
  8694 CEOF$ac_eof
  8695 _ACEOF
  8698 ac_delim='%!_!# '
  8699 for ac_last_try in false false false false false :; do
  8700   cat >conf$$subs.sed <<_ACEOF
  8701 ESOUND_LIBS!$ESOUND_LIBS$ac_delim
  8702 AUDIO_ESOUND_TRUE!$AUDIO_ESOUND_TRUE$ac_delim
  8703 AUDIO_ESOUND_FALSE!$AUDIO_ESOUND_FALSE$ac_delim
  8704 CDROM_LINUX_TRUE!$CDROM_LINUX_TRUE$ac_delim
  8705 CDROM_LINUX_FALSE!$CDROM_LINUX_FALSE$ac_delim
  8706 SHCC!$SHCC$ac_delim
  8707 SHLD!$SHLD$ac_delim
  8708 SHOBJCOPY!$SHOBJCOPY$ac_delim
  8709 ARMCC!$ARMCC$ac_delim
  8710 ARMLD!$ARMLD$ac_delim
  8711 ARMOBJCOPY!$ARMOBJCOPY$ac_delim
  8712 BUILD_SYSTEST_TRUE!$BUILD_SYSTEST_TRUE$ac_delim
  8713 BUILD_SYSTEST_FALSE!$BUILD_SYSTEST_FALSE$ac_delim
  8714 BUILD_ARMTEST_TRUE!$BUILD_ARMTEST_TRUE$ac_delim
  8715 BUILD_ARMTEST_FALSE!$BUILD_ARMTEST_FALSE$ac_delim
  8716 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
  8717 USE_NLS!$USE_NLS$ac_delim
  8718 MSGFMT!$MSGFMT$ac_delim
  8719 GMSGFMT!$GMSGFMT$ac_delim
  8720 XGETTEXT!$XGETTEXT$ac_delim
  8721 CATALOGS!$CATALOGS$ac_delim
  8722 CATOBJEXT!$CATOBJEXT$ac_delim
  8723 DATADIRNAME!$DATADIRNAME$ac_delim
  8724 GMOFILES!$GMOFILES$ac_delim
  8725 INSTOBJEXT!$INSTOBJEXT$ac_delim
  8726 INTLLIBS!$INTLLIBS$ac_delim
  8727 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
  8728 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
  8729 POFILES!$POFILES$ac_delim
  8730 POSUB!$POSUB$ac_delim
  8731 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
  8732 LIBOBJS!$LIBOBJS$ac_delim
  8733 LTLIBOBJS!$LTLIBOBJS$ac_delim
  8734 _ACEOF
  8736   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 33; then
  8737     break
  8738   elif $ac_last_try; then
  8739     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  8740 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  8741    { (exit 1); exit 1; }; }
  8742   else
  8743     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  8744   fi
  8745 done
  8747 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  8748 if test -n "$ac_eof"; then
  8749   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  8750   ac_eof=`expr $ac_eof + 1`
  8751 fi
  8753 cat >>$CONFIG_STATUS <<_ACEOF
  8754 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
  8755 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
  8756 _ACEOF
  8757 sed '
  8758 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  8759 s/^/s,@/; s/!/@,|#_!!_#|/
  8760 :n
  8761 t n
  8762 s/'"$ac_delim"'$/,g/; t
  8763 s/$/\\/; p
  8764 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  8765 ' >>$CONFIG_STATUS <conf$$subs.sed
  8766 rm -f conf$$subs.sed
  8767 cat >>$CONFIG_STATUS <<_ACEOF
  8768 :end
  8769 s/|#_!!_#|//g
  8770 CEOF$ac_eof
  8771 _ACEOF
  8774 # VPATH may cause trouble with some makes, so we remove $(srcdir),
  8775 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  8776 # trailing colons and then remove the whole line if VPATH becomes empty
  8777 # (actually we leave an empty line to preserve line numbers).
  8778 if test "x$srcdir" = x.; then
  8779   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
  8780 s/:*\$(srcdir):*/:/
  8781 s/:*\${srcdir}:*/:/
  8782 s/:*@srcdir@:*/:/
  8783 s/^\([^=]*=[	 ]*\):*/\1/
  8784 s/:*$//
  8785 s/^[^=]*=[	 ]*$//
  8786 }'
  8787 fi
  8789 cat >>$CONFIG_STATUS <<\_ACEOF
  8790 fi # test -n "$CONFIG_FILES"
  8793 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
  8794 do
  8795   case $ac_tag in
  8796   :[FHLC]) ac_mode=$ac_tag; continue;;
  8797   esac
  8798   case $ac_mode$ac_tag in
  8799   :[FHL]*:*);;
  8800   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  8801 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  8802    { (exit 1); exit 1; }; };;
  8803   :[FH]-) ac_tag=-:-;;
  8804   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  8805   esac
  8806   ac_save_IFS=$IFS
  8807   IFS=:
  8808   set x $ac_tag
  8809   IFS=$ac_save_IFS
  8810   shift
  8811   ac_file=$1
  8812   shift
  8814   case $ac_mode in
  8815   :L) ac_source=$1;;
  8816   :[FH])
  8817     ac_file_inputs=
  8818     for ac_f
  8819     do
  8820       case $ac_f in
  8821       -) ac_f="$tmp/stdin";;
  8822       *) # Look for the file first in the build tree, then in the source tree
  8823 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
  8824 	 # because $ac_f cannot contain `:'.
  8825 	 test -f "$ac_f" ||
  8826 	   case $ac_f in
  8827 	   [\\/$]*) false;;
  8828 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  8829 	   esac ||
  8830 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  8831 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  8832    { (exit 1); exit 1; }; };;
  8833       esac
  8834       ac_file_inputs="$ac_file_inputs $ac_f"
  8835     done
  8837     # Let's still pretend it is `configure' which instantiates (i.e., don't
  8838     # use $as_me), people would be surprised to read:
  8839     #    /* config.h.  Generated by config.status.  */
  8840     configure_input="Generated from "`IFS=:
  8841 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  8842     if test x"$ac_file" != x-; then
  8843       configure_input="$ac_file.  $configure_input"
  8844       { echo "$as_me:$LINENO: creating $ac_file" >&5
  8845 echo "$as_me: creating $ac_file" >&6;}
  8846     fi
  8848     case $ac_tag in
  8849     *:-:* | *:-) cat >"$tmp/stdin";;
  8850     esac
  8851     ;;
  8852   esac
  8854   ac_dir=`$as_dirname -- "$ac_file" ||
  8855 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8856 	 X"$ac_file" : 'X\(//\)[^/]' \| \
  8857 	 X"$ac_file" : 'X\(//\)$' \| \
  8858 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  8859 echo X"$ac_file" |
  8860     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8861 	    s//\1/
  8864 	  /^X\(\/\/\)[^/].*/{
  8865 	    s//\1/
  8868 	  /^X\(\/\/\)$/{
  8869 	    s//\1/
  8872 	  /^X\(\/\).*/{
  8873 	    s//\1/
  8876 	  s/.*/./; q'`
  8877   { as_dir="$ac_dir"
  8878   case $as_dir in #(
  8879   -*) as_dir=./$as_dir;;
  8880   esac
  8881   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  8882     as_dirs=
  8883     while :; do
  8884       case $as_dir in #(
  8885       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  8886       *) as_qdir=$as_dir;;
  8887       esac
  8888       as_dirs="'$as_qdir' $as_dirs"
  8889       as_dir=`$as_dirname -- "$as_dir" ||
  8890 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8891 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  8892 	 X"$as_dir" : 'X\(//\)$' \| \
  8893 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  8894 echo X"$as_dir" |
  8895     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8896 	    s//\1/
  8899 	  /^X\(\/\/\)[^/].*/{
  8900 	    s//\1/
  8903 	  /^X\(\/\/\)$/{
  8904 	    s//\1/
  8907 	  /^X\(\/\).*/{
  8908 	    s//\1/
  8911 	  s/.*/./; q'`
  8912       test -d "$as_dir" && break
  8913     done
  8914     test -z "$as_dirs" || eval "mkdir $as_dirs"
  8915   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  8916 echo "$as_me: error: cannot create directory $as_dir" >&2;}
  8917    { (exit 1); exit 1; }; }; }
  8918   ac_builddir=.
  8920 case "$ac_dir" in
  8921 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  8922 *)
  8923   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  8924   # A ".." for each directory in $ac_dir_suffix.
  8925   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  8926   case $ac_top_builddir_sub in
  8927   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  8928   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  8929   esac ;;
  8930 esac
  8931 ac_abs_top_builddir=$ac_pwd
  8932 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  8933 # for backward compatibility:
  8934 ac_top_builddir=$ac_top_build_prefix
  8936 case $srcdir in
  8937   .)  # We are building in place.
  8938     ac_srcdir=.
  8939     ac_top_srcdir=$ac_top_builddir_sub
  8940     ac_abs_top_srcdir=$ac_pwd ;;
  8941   [\\/]* | ?:[\\/]* )  # Absolute name.
  8942     ac_srcdir=$srcdir$ac_dir_suffix;
  8943     ac_top_srcdir=$srcdir
  8944     ac_abs_top_srcdir=$srcdir ;;
  8945   *) # Relative name.
  8946     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  8947     ac_top_srcdir=$ac_top_build_prefix$srcdir
  8948     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  8949 esac
  8950 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  8953   case $ac_mode in
  8954   :F)
  8956   # CONFIG_FILE
  8959   case $INSTALL in
  8960   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  8961   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  8962   esac
  8963 _ACEOF
  8965 cat >>$CONFIG_STATUS <<\_ACEOF
  8966 # If the template does not know about datarootdir, expand it.
  8967 # FIXME: This hack should be removed a few years after 2.60.
  8968 ac_datarootdir_hack=; ac_datarootdir_seen=
  8970 case `sed -n '/datarootdir/ {
  8974 /@datadir@/p
  8975 /@docdir@/p
  8976 /@infodir@/p
  8977 /@localedir@/p
  8978 /@mandir@/p
  8979 ' $ac_file_inputs` in
  8980 *datarootdir*) ac_datarootdir_seen=yes;;
  8981 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  8982   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  8983 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  8984 _ACEOF
  8985 cat >>$CONFIG_STATUS <<_ACEOF
  8986   ac_datarootdir_hack='
  8987   s&@datadir@&$datadir&g
  8988   s&@docdir@&$docdir&g
  8989   s&@infodir@&$infodir&g
  8990   s&@localedir@&$localedir&g
  8991   s&@mandir@&$mandir&g
  8992     s&\\\${datarootdir}&$datarootdir&g' ;;
  8993 esac
  8994 _ACEOF
  8996 # Neutralize VPATH when `$srcdir' = `.'.
  8997 # Shell code in configure.ac might set extrasub.
  8998 # FIXME: do we really want to maintain this feature?
  8999 cat >>$CONFIG_STATUS <<_ACEOF
  9000   sed "$ac_vpsub
  9001 $extrasub
  9002 _ACEOF
  9003 cat >>$CONFIG_STATUS <<\_ACEOF
  9004 :t
  9005 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  9006 s&@configure_input@&$configure_input&;t t
  9007 s&@top_builddir@&$ac_top_builddir_sub&;t t
  9008 s&@srcdir@&$ac_srcdir&;t t
  9009 s&@abs_srcdir@&$ac_abs_srcdir&;t t
  9010 s&@top_srcdir@&$ac_top_srcdir&;t t
  9011 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  9012 s&@builddir@&$ac_builddir&;t t
  9013 s&@abs_builddir@&$ac_abs_builddir&;t t
  9014 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  9015 s&@INSTALL@&$ac_INSTALL&;t t
  9016 $ac_datarootdir_hack
  9017 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
  9019 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  9020   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  9021   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  9022   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  9023 which seems to be undefined.  Please make sure it is defined." >&5
  9024 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  9025 which seems to be undefined.  Please make sure it is defined." >&2;}
  9027   rm -f "$tmp/stdin"
  9028   case $ac_file in
  9029   -) cat "$tmp/out"; rm -f "$tmp/out";;
  9030   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  9031   esac
  9032  ;;
  9033   :H)
  9035   # CONFIG_HEADER
  9037 _ACEOF
  9039 # Transform confdefs.h into a sed script `conftest.defines', that
  9040 # substitutes the proper values into config.h.in to produce config.h.
  9041 rm -f conftest.defines conftest.tail
  9042 # First, append a space to every undef/define line, to ease matching.
  9043 echo 's/$/ /' >conftest.defines
  9044 # Then, protect against being on the right side of a sed subst, or in
  9045 # an unquoted here document, in config.status.  If some macros were
  9046 # called several times there might be several #defines for the same
  9047 # symbol, which is useless.  But do not sort them, since the last
  9048 # AC_DEFINE must be honored.
  9049 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  9050 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
  9051 # NAME is the cpp macro being defined, VALUE is the value it is being given.
  9052 # PARAMS is the parameter list in the macro definition--in most cases, it's
  9053 # just an empty string.
  9054 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
  9055 ac_dB='\\)[	 (].*,\\1define\\2'
  9056 ac_dC=' '
  9057 ac_dD=' ,'
  9059 uniq confdefs.h |
  9060   sed -n '
  9061 	t rset
  9062 	:rset
  9063 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
  9064 	t ok
  9066 	:ok
  9067 	s/[\\&,]/\\&/g
  9068 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
  9069 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
  9070   ' >>conftest.defines
  9072 # Remove the space that was appended to ease matching.
  9073 # Then replace #undef with comments.  This is necessary, for
  9074 # example, in the case of _POSIX_SOURCE, which is predefined and required
  9075 # on some systems where configure will not decide to define it.
  9076 # (The regexp can be short, since the line contains either #define or #undef.)
  9077 echo 's/ $//
  9078 s,^[	 #]*u.*,/* & */,' >>conftest.defines
  9080 # Break up conftest.defines:
  9081 ac_max_sed_lines=50
  9083 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
  9084 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
  9085 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
  9086 # et cetera.
  9087 ac_in='$ac_file_inputs'
  9088 ac_out='"$tmp/out1"'
  9089 ac_nxt='"$tmp/out2"'
  9091 while :
  9092 do
  9093   # Write a here document:
  9094     cat >>$CONFIG_STATUS <<_ACEOF
  9095     # First, check the format of the line:
  9096     cat >"\$tmp/defines.sed" <<\\CEOF
  9097 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
  9098 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
  9100 :def
  9101 _ACEOF
  9102   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
  9103   echo 'CEOF
  9104     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
  9105   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
  9106   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
  9107   grep . conftest.tail >/dev/null || break
  9108   rm -f conftest.defines
  9109   mv conftest.tail conftest.defines
  9110 done
  9111 rm -f conftest.defines conftest.tail
  9113 echo "ac_result=$ac_in" >>$CONFIG_STATUS
  9114 cat >>$CONFIG_STATUS <<\_ACEOF
  9115   if test x"$ac_file" != x-; then
  9116     echo "/* $configure_input  */" >"$tmp/config.h"
  9117     cat "$ac_result" >>"$tmp/config.h"
  9118     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
  9119       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  9120 echo "$as_me: $ac_file is unchanged" >&6;}
  9121     else
  9122       rm -f $ac_file
  9123       mv "$tmp/config.h" $ac_file
  9124     fi
  9125   else
  9126     echo "/* $configure_input  */"
  9127     cat "$ac_result"
  9128   fi
  9129   rm -f "$tmp/out12"
  9130 # Compute $ac_file's index in $config_headers.
  9131 _am_stamp_count=1
  9132 for _am_header in $config_headers :; do
  9133   case $_am_header in
  9134     $ac_file | $ac_file:* )
  9135       break ;;
  9136     * )
  9137       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  9138   esac
  9139 done
  9140 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
  9141 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9142 	 X$ac_file : 'X\(//\)[^/]' \| \
  9143 	 X$ac_file : 'X\(//\)$' \| \
  9144 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
  9145 echo X$ac_file |
  9146     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  9147 	    s//\1/
  9150 	  /^X\(\/\/\)[^/].*/{
  9151 	    s//\1/
  9154 	  /^X\(\/\/\)$/{
  9155 	    s//\1/
  9158 	  /^X\(\/\).*/{
  9159 	    s//\1/
  9162 	  s/.*/./; q'`/stamp-h$_am_stamp_count
  9163  ;;
  9165   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
  9166 echo "$as_me: executing $ac_file commands" >&6;}
  9167  ;;
  9168   esac
  9171   case $ac_file$ac_mode in
  9172     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  9173   # Strip MF so we end up with the name of the file.
  9174   mf=`echo "$mf" | sed -e 's/:.*$//'`
  9175   # Check whether this is an Automake generated Makefile or not.
  9176   # We used to match only the files named `Makefile.in', but
  9177   # some people rename them; so instead we look at the file content.
  9178   # Grep'ing the first line is not enough: some people post-process
  9179   # each Makefile.in and add a new line on top of each file to say so.
  9180   # So let's grep whole file.
  9181   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
  9182     dirpart=`$as_dirname -- "$mf" ||
  9183 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9184 	 X"$mf" : 'X\(//\)[^/]' \| \
  9185 	 X"$mf" : 'X\(//\)$' \| \
  9186 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  9187 echo X"$mf" |
  9188     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  9189 	    s//\1/
  9192 	  /^X\(\/\/\)[^/].*/{
  9193 	    s//\1/
  9196 	  /^X\(\/\/\)$/{
  9197 	    s//\1/
  9200 	  /^X\(\/\).*/{
  9201 	    s//\1/
  9204 	  s/.*/./; q'`
  9205   else
  9206     continue
  9207   fi
  9208   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
  9209   # Extract the definition of DEP_FILES from the Makefile without
  9210   # running `make'.
  9211   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
  9212   test -z "$DEPDIR" && continue
  9213   # When using ansi2knr, U may be empty or an underscore; expand it
  9214   U=`sed -n -e '/^U = / s///p' < "$mf"`
  9215   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
  9216   # We invoke sed twice because it is the simplest approach to
  9217   # changing $(DEPDIR) to its actual value in the expansion.
  9218   for file in `sed -n -e '
  9219     /^DEP_FILES = .*\\\\$/ {
  9220       s/^DEP_FILES = //
  9221       :loop
  9222 	s/\\\\$//
  9225 	/\\\\$/ b loop
  9228     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
  9229        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  9230     # Make sure the directory exists.
  9231     test -f "$dirpart/$file" && continue
  9232     fdir=`$as_dirname -- "$file" ||
  9233 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9234 	 X"$file" : 'X\(//\)[^/]' \| \
  9235 	 X"$file" : 'X\(//\)$' \| \
  9236 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  9237 echo X"$file" |
  9238     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  9239 	    s//\1/
  9242 	  /^X\(\/\/\)[^/].*/{
  9243 	    s//\1/
  9246 	  /^X\(\/\/\)$/{
  9247 	    s//\1/
  9250 	  /^X\(\/\).*/{
  9251 	    s//\1/
  9254 	  s/.*/./; q'`
  9255     { as_dir=$dirpart/$fdir
  9256   case $as_dir in #(
  9257   -*) as_dir=./$as_dir;;
  9258   esac
  9259   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  9260     as_dirs=
  9261     while :; do
  9262       case $as_dir in #(
  9263       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  9264       *) as_qdir=$as_dir;;
  9265       esac
  9266       as_dirs="'$as_qdir' $as_dirs"
  9267       as_dir=`$as_dirname -- "$as_dir" ||
  9268 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9269 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  9270 	 X"$as_dir" : 'X\(//\)$' \| \
  9271 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  9272 echo X"$as_dir" |
  9273     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  9274 	    s//\1/
  9277 	  /^X\(\/\/\)[^/].*/{
  9278 	    s//\1/
  9281 	  /^X\(\/\/\)$/{
  9282 	    s//\1/
  9285 	  /^X\(\/\).*/{
  9286 	    s//\1/
  9289 	  s/.*/./; q'`
  9290       test -d "$as_dir" && break
  9291     done
  9292     test -z "$as_dirs" || eval "mkdir $as_dirs"
  9293   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  9294 echo "$as_me: error: cannot create directory $as_dir" >&2;}
  9295    { (exit 1); exit 1; }; }; }
  9296     # echo "creating $dirpart/$file"
  9297     echo '# dummy' > "$dirpart/$file"
  9298   done
  9299 done
  9300  ;;
  9301     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
  9302         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
  9303       esac ;;
  9305   esac
  9306 done # for ac_tag
  9309 { (exit 0); exit 0; }
  9310 _ACEOF
  9311 chmod +x $CONFIG_STATUS
  9312 ac_clean_files=$ac_clean_files_save
  9315 # configure is writing to config.log, and then calls config.status.
  9316 # config.status does its own redirection, appending to config.log.
  9317 # Unfortunately, on DOS this fails, as config.log is still kept open
  9318 # by configure, so config.status won't be able to write to it; its
  9319 # output is simply discarded.  So we exec the FD to /dev/null,
  9320 # effectively closing config.log, so it can be properly (re)opened and
  9321 # appended to by config.status.  When coming back to configure, we
  9322 # need to make the FD available again.
  9323 if test "$no_create" != yes; then
  9324   ac_cs_success=:
  9325   ac_config_status_args=
  9326   test "$silent" = yes &&
  9327     ac_config_status_args="$ac_config_status_args --quiet"
  9328   exec 5>/dev/null
  9329   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  9330   exec 5>>config.log
  9331   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  9332   # would make configure fail if this is the last instruction.
  9333   $ac_cs_success || { (exit 1); exit 1; }
  9334 fi
.