Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 360:dff4a3bbac0c
prev180:e6dcf9b65658
next426:8a7a752f1174
author nkeynes
date Wed Sep 19 12:09:33 2007 +0000 (16 years ago)
permissions -rwxr-xr-x
last change Add a 'translate and run' method for running uncached code
view annotate diff log raw
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.60.
     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 Bourne compatible
    14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    15   emulate sh
    16   NULLCMD=:
    17   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    18   # is contrary to our usage.  Disable this feature.
    19   alias -g '${1+"$@"}'='"$@"'
    20   setopt NO_GLOB_SUBST
    21 else
    22   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
    23 fi
    24 BIN_SH=xpg4; export BIN_SH # for Tru64
    25 DUALCASE=1; export DUALCASE # for MKS sh
    28 # PATH needs CR
    29 # Avoid depending upon Character Ranges.
    30 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    33 as_cr_digits='0123456789'
    34 as_cr_alnum=$as_cr_Letters$as_cr_digits
    36 # The user is always right.
    37 if test "${PATH_SEPARATOR+set}" != set; then
    38   echo "#! /bin/sh" >conf$$.sh
    39   echo  "exit 0"   >>conf$$.sh
    40   chmod +x conf$$.sh
    41   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    42     PATH_SEPARATOR=';'
    43   else
    44     PATH_SEPARATOR=:
    45   fi
    46   rm -f conf$$.sh
    47 fi
    49 # Support unset when possible.
    50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    51   as_unset=unset
    52 else
    53   as_unset=false
    54 fi
    57 # IFS
    58 # We need space, tab and new line, in precisely that order.  Quoting is
    59 # there to prevent editors from complaining about space-tab.
    60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    61 # splitting by setting IFS to empty value.)
    62 as_nl='
    63 '
    64 IFS=" ""	$as_nl"
    66 # Find who we are.  Look in the path if we contain no directory separator.
    67 case $0 in
    68   *[\\/]* ) as_myself=$0 ;;
    69   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    70 for as_dir in $PATH
    71 do
    72   IFS=$as_save_IFS
    73   test -z "$as_dir" && as_dir=.
    74   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    75 done
    76 IFS=$as_save_IFS
    78      ;;
    79 esac
    80 # We did not find ourselves, most probably we were run as `sh COMMAND'
    81 # in which case we are not to be found in the path.
    82 if test "x$as_myself" = x; then
    83   as_myself=$0
    84 fi
    85 if test ! -f "$as_myself"; then
    86   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    87   { (exit 1); exit 1; }
    88 fi
    90 # Work around bugs in pre-3.0 UWIN ksh.
    91 for as_var in ENV MAIL MAILPATH
    92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    93 done
    94 PS1='$ '
    95 PS2='> '
    96 PS4='+ '
    98 # NLS nuisances.
    99 for as_var in \
   100   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   101   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   102   LC_TELEPHONE LC_TIME
   103 do
   104   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   105     eval $as_var=C; export $as_var
   106   else
   107     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   108   fi
   109 done
   111 # Required to use basename.
   112 if expr a : '\(a\)' >/dev/null 2>&1 &&
   113    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   114   as_expr=expr
   115 else
   116   as_expr=false
   117 fi
   119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   120   as_basename=basename
   121 else
   122   as_basename=false
   123 fi
   126 # Name of the executable.
   127 as_me=`$as_basename -- "$0" ||
   128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   129 	 X"$0" : 'X\(//\)$' \| \
   130 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   131 echo X/"$0" |
   132     sed '/^.*\/\([^/][^/]*\)\/*$/{
   133 	    s//\1/
   134 	    q
   135 	  }
   136 	  /^X\/\(\/\/\)$/{
   137 	    s//\1/
   138 	    q
   139 	  }
   140 	  /^X\/\(\/\).*/{
   141 	    s//\1/
   142 	    q
   143 	  }
   144 	  s/.*/./; q'`
   146 # CDPATH.
   147 $as_unset CDPATH
   150 if test "x$CONFIG_SHELL" = x; then
   151   if (eval ":") 2>/dev/null; then
   152   as_have_required=yes
   153 else
   154   as_have_required=no
   155 fi
   157   if test $as_have_required = yes && 	 (eval ":
   158 (as_func_return () {
   159   (exit \$1)
   160 }
   161 as_func_success () {
   162   as_func_return 0
   163 }
   164 as_func_failure () {
   165   as_func_return 1
   166 }
   167 as_func_ret_success () {
   168   return 0
   169 }
   170 as_func_ret_failure () {
   171   return 1
   172 }
   174 exitcode=0
   175 if as_func_success; then
   176   :
   177 else
   178   exitcode=1
   179   echo as_func_success failed.
   180 fi
   182 if as_func_failure; then
   183   exitcode=1
   184   echo as_func_failure succeeded.
   185 fi
   187 if as_func_ret_success; then
   188   :
   189 else
   190   exitcode=1
   191   echo as_func_ret_success failed.
   192 fi
   194 if as_func_ret_failure; then
   195   exitcode=1
   196   echo as_func_ret_failure succeeded.
   197 fi
   199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   200   :
   201 else
   202   exitcode=1
   203   echo positional parameters were not saved.
   204 fi
   206 test \$exitcode = 0) || { (exit 1); exit 1; }
   208 (
   209   as_lineno_1=\$LINENO
   210   as_lineno_2=\$LINENO
   211   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   212   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   213 ") 2> /dev/null; then
   214   :
   215 else
   216   as_candidate_shells=
   217     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   219 do
   220   IFS=$as_save_IFS
   221   test -z "$as_dir" && as_dir=.
   222   case $as_dir in
   223 	 /*)
   224 	   for as_base in sh bash ksh sh5; do
   225 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   226 	   done;;
   227        esac
   228 done
   229 IFS=$as_save_IFS
   232       for as_shell in $as_candidate_shells $SHELL; do
   233 	 # Try only shells that exist, to save several forks.
   234 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   235 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   236 # Be Bourne compatible
   237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   238   emulate sh
   239   NULLCMD=:
   240   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   241   # is contrary to our usage.  Disable this feature.
   242   alias -g '${1+"$@"}'='"$@"'
   243   setopt NO_GLOB_SUBST
   244 else
   245   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
   246 fi
   247 BIN_SH=xpg4; export BIN_SH # for Tru64
   248 DUALCASE=1; export DUALCASE # for MKS sh
   250 :
   251 _ASEOF
   252 }; then
   253   CONFIG_SHELL=$as_shell
   254 	       as_have_required=yes
   255 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   256 # Be Bourne compatible
   257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   258   emulate sh
   259   NULLCMD=:
   260   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   261   # is contrary to our usage.  Disable this feature.
   262   alias -g '${1+"$@"}'='"$@"'
   263   setopt NO_GLOB_SUBST
   264 else
   265   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
   266 fi
   267 BIN_SH=xpg4; export BIN_SH # for Tru64
   268 DUALCASE=1; export DUALCASE # for MKS sh
   270 :
   271 (as_func_return () {
   272   (exit $1)
   273 }
   274 as_func_success () {
   275   as_func_return 0
   276 }
   277 as_func_failure () {
   278   as_func_return 1
   279 }
   280 as_func_ret_success () {
   281   return 0
   282 }
   283 as_func_ret_failure () {
   284   return 1
   285 }
   287 exitcode=0
   288 if as_func_success; then
   289   :
   290 else
   291   exitcode=1
   292   echo as_func_success failed.
   293 fi
   295 if as_func_failure; then
   296   exitcode=1
   297   echo as_func_failure succeeded.
   298 fi
   300 if as_func_ret_success; then
   301   :
   302 else
   303   exitcode=1
   304   echo as_func_ret_success failed.
   305 fi
   307 if as_func_ret_failure; then
   308   exitcode=1
   309   echo as_func_ret_failure succeeded.
   310 fi
   312 if ( set x; as_func_ret_success y && test x = "$1" ); then
   313   :
   314 else
   315   exitcode=1
   316   echo positional parameters were not saved.
   317 fi
   319 test $exitcode = 0) || { (exit 1); exit 1; }
   321 (
   322   as_lineno_1=$LINENO
   323   as_lineno_2=$LINENO
   324   test "x$as_lineno_1" != "x$as_lineno_2" &&
   325   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   327 _ASEOF
   328 }; then
   329   break
   330 fi
   332 fi
   334       done
   336       if test "x$CONFIG_SHELL" != x; then
   337   for as_var in BASH_ENV ENV
   338         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   339         done
   340         export CONFIG_SHELL
   341         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   342 fi
   345     if test $as_have_required = no; then
   346   echo This script requires a shell more modern than all the
   347       echo shells that I found on your system.  Please install a
   348       echo modern shell, or manually run the script under such a
   349       echo shell if you do have one.
   350       { (exit 1); exit 1; }
   351 fi
   354 fi
   356 fi
   360 (eval "as_func_return () {
   361   (exit \$1)
   362 }
   363 as_func_success () {
   364   as_func_return 0
   365 }
   366 as_func_failure () {
   367   as_func_return 1
   368 }
   369 as_func_ret_success () {
   370   return 0
   371 }
   372 as_func_ret_failure () {
   373   return 1
   374 }
   376 exitcode=0
   377 if as_func_success; then
   378   :
   379 else
   380   exitcode=1
   381   echo as_func_success failed.
   382 fi
   384 if as_func_failure; then
   385   exitcode=1
   386   echo as_func_failure succeeded.
   387 fi
   389 if as_func_ret_success; then
   390   :
   391 else
   392   exitcode=1
   393   echo as_func_ret_success failed.
   394 fi
   396 if as_func_ret_failure; then
   397   exitcode=1
   398   echo as_func_ret_failure succeeded.
   399 fi
   401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   402   :
   403 else
   404   exitcode=1
   405   echo positional parameters were not saved.
   406 fi
   408 test \$exitcode = 0") || {
   409   echo No shell found that supports shell functions.
   410   echo Please tell autoconf@gnu.org about your system,
   411   echo including any error possibly output before this
   412   echo message
   413 }
   417   as_lineno_1=$LINENO
   418   as_lineno_2=$LINENO
   419   test "x$as_lineno_1" != "x$as_lineno_2" &&
   420   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   422   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   423   # uniformly replaced by the line number.  The first 'sed' inserts a
   424   # line-number line after each line using $LINENO; the second 'sed'
   425   # does the real work.  The second script uses 'N' to pair each
   426   # line-number line with the line containing $LINENO, and appends
   427   # trailing '-' during substitution so that $LINENO is not a special
   428   # case at line end.
   429   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   430   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   431   # E. McMahon (1931-1989) for sed's syntax.  :-)
   432   sed -n '
   433     p
   434     /[$]LINENO/=
   435   ' <$as_myself |
   436     sed '
   437       s/[$]LINENO.*/&-/
   438       t lineno
   439       b
   440       :lineno
   441       N
   442       :loop
   443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   444       t loop
   445       s/-\n.*//
   446     ' >$as_me.lineno &&
   447   chmod +x "$as_me.lineno" ||
   448     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   449    { (exit 1); exit 1; }; }
   451   # Don't try to exec as it changes $[0], causing all sort of problems
   452   # (the dirname of $[0] is not the place where we might find the
   453   # original and so on.  Autoconf is especially sensitive to this).
   454   . "./$as_me.lineno"
   455   # Exit status is that of the last command.
   456   exit
   457 }
   460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   461   as_dirname=dirname
   462 else
   463   as_dirname=false
   464 fi
   466 ECHO_C= ECHO_N= ECHO_T=
   467 case `echo -n x` in
   468 -n*)
   469   case `echo 'x\c'` in
   470   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   471   *)   ECHO_C='\c';;
   472   esac;;
   473 *)
   474   ECHO_N='-n';;
   475 esac
   477 if expr a : '\(a\)' >/dev/null 2>&1 &&
   478    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   479   as_expr=expr
   480 else
   481   as_expr=false
   482 fi
   484 rm -f conf$$ conf$$.exe conf$$.file
   485 if test -d conf$$.dir; then
   486   rm -f conf$$.dir/conf$$.file
   487 else
   488   rm -f conf$$.dir
   489   mkdir conf$$.dir
   490 fi
   491 echo >conf$$.file
   492 if ln -s conf$$.file conf$$ 2>/dev/null; then
   493   as_ln_s='ln -s'
   494   # ... but there are two gotchas:
   495   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   496   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   497   # In both cases, we have to default to `cp -p'.
   498   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   499     as_ln_s='cp -p'
   500 elif ln conf$$.file conf$$ 2>/dev/null; then
   501   as_ln_s=ln
   502 else
   503   as_ln_s='cp -p'
   504 fi
   505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   506 rmdir conf$$.dir 2>/dev/null
   508 if mkdir -p . 2>/dev/null; then
   509   as_mkdir_p=:
   510 else
   511   test -d ./-p && rmdir ./-p
   512   as_mkdir_p=false
   513 fi
   515 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
   516 # systems may use methods other than mode bits to determine executability.
   517 cat >conf$$.file <<_ASEOF
   518 #! /bin/sh
   519 exit 0
   520 _ASEOF
   521 chmod +x conf$$.file
   522 if test -x conf$$.file >/dev/null 2>&1; then
   523   as_executable_p="test -x"
   524 else
   525   as_executable_p=:
   526 fi
   527 rm -f conf$$.file
   529 # Sed expression to map a string onto a valid CPP name.
   530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   532 # Sed expression to map a string onto a valid variable name.
   533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   537 exec 7<&0 </dev/null 6>&1
   539 # Name of the host.
   540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   541 # so uname gets run too.
   542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   544 #
   545 # Initializations.
   546 #
   547 ac_default_prefix=/usr/local
   548 ac_clean_files=
   549 ac_config_libobj_dir=.
   550 LIBOBJS=
   551 cross_compiling=no
   552 subdirs=
   553 MFLAGS=
   554 MAKEFLAGS=
   555 SHELL=${CONFIG_SHELL-/bin/sh}
   557 # Identity of this package.
   558 PACKAGE_NAME=
   559 PACKAGE_TARNAME=
   560 PACKAGE_VERSION=
   561 PACKAGE_STRING=
   562 PACKAGE_BUGREPORT=
   564 ac_unique_file="configure.in"
   565 # Factoring default headers for most tests.
   566 ac_includes_default="\
   567 #include <stdio.h>
   568 #if HAVE_SYS_TYPES_H
   569 # include <sys/types.h>
   570 #endif
   571 #if HAVE_SYS_STAT_H
   572 # include <sys/stat.h>
   573 #endif
   574 #if STDC_HEADERS
   575 # include <stdlib.h>
   576 # include <stddef.h>
   577 #else
   578 # if HAVE_STDLIB_H
   579 #  include <stdlib.h>
   580 # endif
   581 #endif
   582 #if HAVE_STRING_H
   583 # if !STDC_HEADERS && HAVE_MEMORY_H
   584 #  include <memory.h>
   585 # endif
   586 # include <string.h>
   587 #endif
   588 #if HAVE_STRINGS_H
   589 # include <strings.h>
   590 #endif
   591 #if HAVE_INTTYPES_H
   592 # include <inttypes.h>
   593 #endif
   594 #if HAVE_STDINT_H
   595 # include <stdint.h>
   596 #endif
   597 #if HAVE_UNISTD_H
   598 # include <unistd.h>
   599 #endif"
   601 ac_subst_vars='SHELL
   602 PATH_SEPARATOR
   603 PACKAGE_NAME
   604 PACKAGE_TARNAME
   605 PACKAGE_VERSION
   606 PACKAGE_STRING
   607 PACKAGE_BUGREPORT
   608 exec_prefix
   609 prefix
   610 program_transform_name
   611 bindir
   612 sbindir
   613 libexecdir
   614 datarootdir
   615 datadir
   616 sysconfdir
   617 sharedstatedir
   618 localstatedir
   619 includedir
   620 oldincludedir
   621 docdir
   622 infodir
   623 htmldir
   624 dvidir
   625 pdfdir
   626 psdir
   627 libdir
   628 localedir
   629 mandir
   630 DEFS
   631 ECHO_C
   632 ECHO_N
   633 ECHO_T
   634 LIBS
   635 build_alias
   636 host_alias
   637 target_alias
   638 INSTALL_PROGRAM
   639 INSTALL_SCRIPT
   640 INSTALL_DATA
   641 CYGPATH_W
   642 PACKAGE
   643 VERSION
   644 ACLOCAL
   645 AUTOCONF
   646 AUTOMAKE
   647 AUTOHEADER
   648 MAKEINFO
   649 AMTAR
   650 install_sh
   651 STRIP
   652 INSTALL_STRIP_PROGRAM
   653 AWK
   654 SET_MAKE
   655 am__leading_dot
   656 MAINTAINER_MODE_TRUE
   657 MAINTAINER_MODE_FALSE
   658 MAINT
   659 CC
   660 CFLAGS
   661 LDFLAGS
   662 CPPFLAGS
   663 ac_ct_CC
   664 EXEEXT
   665 OBJEXT
   666 DEPDIR
   667 am__include
   668 am__quote
   669 AMDEP_TRUE
   670 AMDEP_FALSE
   671 AMDEPBACKSLASH
   672 CCDEPMODE
   673 am__fastdepCC_TRUE
   674 am__fastdepCC_FALSE
   675 CPP
   676 GREP
   677 EGREP
   678 PKG_CONFIG
   679 PACKAGE_CFLAGS
   680 PACKAGE_LIBS
   681 GETTEXT_PACKAGE
   682 USE_NLS
   683 MSGFMT
   684 GMSGFMT
   685 XGETTEXT
   686 CATALOGS
   687 CATOBJEXT
   688 DATADIRNAME
   689 GMOFILES
   690 INSTOBJEXT
   691 INTLLIBS
   692 PO_IN_DATADIR_TRUE
   693 PO_IN_DATADIR_FALSE
   694 POFILES
   695 POSUB
   696 MKINSTALLDIRS
   697 LIBOBJS
   698 LTLIBOBJS'
   699 ac_subst_files=''
   700       ac_precious_vars='build_alias
   701 host_alias
   702 target_alias
   703 CC
   704 CFLAGS
   705 LDFLAGS
   706 CPPFLAGS
   707 CPP
   708 PKG_CONFIG
   709 PACKAGE_CFLAGS
   710 PACKAGE_LIBS'
   713 # Initialize some variables set by options.
   714 ac_init_help=
   715 ac_init_version=false
   716 # The variables have the same names as the options, with
   717 # dashes changed to underlines.
   718 cache_file=/dev/null
   719 exec_prefix=NONE
   720 no_create=
   721 no_recursion=
   722 prefix=NONE
   723 program_prefix=NONE
   724 program_suffix=NONE
   725 program_transform_name=s,x,x,
   726 silent=
   727 site=
   728 srcdir=
   729 verbose=
   730 x_includes=NONE
   731 x_libraries=NONE
   733 # Installation directory options.
   734 # These are left unexpanded so users can "make install exec_prefix=/foo"
   735 # and all the variables that are supposed to be based on exec_prefix
   736 # by default will actually change.
   737 # Use braces instead of parens because sh, perl, etc. also accept them.
   738 # (The list follows the same order as the GNU Coding Standards.)
   739 bindir='${exec_prefix}/bin'
   740 sbindir='${exec_prefix}/sbin'
   741 libexecdir='${exec_prefix}/libexec'
   742 datarootdir='${prefix}/share'
   743 datadir='${datarootdir}'
   744 sysconfdir='${prefix}/etc'
   745 sharedstatedir='${prefix}/com'
   746 localstatedir='${prefix}/var'
   747 includedir='${prefix}/include'
   748 oldincludedir='/usr/include'
   749 docdir='${datarootdir}/doc/${PACKAGE}'
   750 infodir='${datarootdir}/info'
   751 htmldir='${docdir}'
   752 dvidir='${docdir}'
   753 pdfdir='${docdir}'
   754 psdir='${docdir}'
   755 libdir='${exec_prefix}/lib'
   756 localedir='${datarootdir}/locale'
   757 mandir='${datarootdir}/man'
   759 ac_prev=
   760 ac_dashdash=
   761 for ac_option
   762 do
   763   # If the previous option needs an argument, assign it.
   764   if test -n "$ac_prev"; then
   765     eval $ac_prev=\$ac_option
   766     ac_prev=
   767     continue
   768   fi
   770   case $ac_option in
   771   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   772   *)	ac_optarg=yes ;;
   773   esac
   775   # Accept the important Cygnus configure options, so we can diagnose typos.
   777   case $ac_dashdash$ac_option in
   778   --)
   779     ac_dashdash=yes ;;
   781   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   782     ac_prev=bindir ;;
   783   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   784     bindir=$ac_optarg ;;
   786   -build | --build | --buil | --bui | --bu)
   787     ac_prev=build_alias ;;
   788   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   789     build_alias=$ac_optarg ;;
   791   -cache-file | --cache-file | --cache-fil | --cache-fi \
   792   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   793     ac_prev=cache_file ;;
   794   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   795   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   796     cache_file=$ac_optarg ;;
   798   --config-cache | -C)
   799     cache_file=config.cache ;;
   801   -datadir | --datadir | --datadi | --datad)
   802     ac_prev=datadir ;;
   803   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   804     datadir=$ac_optarg ;;
   806   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   807   | --dataroo | --dataro | --datar)
   808     ac_prev=datarootdir ;;
   809   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   810   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   811     datarootdir=$ac_optarg ;;
   813   -disable-* | --disable-*)
   814     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   815     # Reject names that are not valid shell variable names.
   816     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   817       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   818    { (exit 1); exit 1; }; }
   819     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
   820     eval enable_$ac_feature=no ;;
   822   -docdir | --docdir | --docdi | --doc | --do)
   823     ac_prev=docdir ;;
   824   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   825     docdir=$ac_optarg ;;
   827   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   828     ac_prev=dvidir ;;
   829   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   830     dvidir=$ac_optarg ;;
   832   -enable-* | --enable-*)
   833     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   834     # Reject names that are not valid shell variable names.
   835     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   836       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   837    { (exit 1); exit 1; }; }
   838     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
   839     eval enable_$ac_feature=\$ac_optarg ;;
   841   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   842   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   843   | --exec | --exe | --ex)
   844     ac_prev=exec_prefix ;;
   845   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   846   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   847   | --exec=* | --exe=* | --ex=*)
   848     exec_prefix=$ac_optarg ;;
   850   -gas | --gas | --ga | --g)
   851     # Obsolete; use --with-gas.
   852     with_gas=yes ;;
   854   -help | --help | --hel | --he | -h)
   855     ac_init_help=long ;;
   856   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   857     ac_init_help=recursive ;;
   858   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   859     ac_init_help=short ;;
   861   -host | --host | --hos | --ho)
   862     ac_prev=host_alias ;;
   863   -host=* | --host=* | --hos=* | --ho=*)
   864     host_alias=$ac_optarg ;;
   866   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   867     ac_prev=htmldir ;;
   868   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   869   | --ht=*)
   870     htmldir=$ac_optarg ;;
   872   -includedir | --includedir | --includedi | --included | --include \
   873   | --includ | --inclu | --incl | --inc)
   874     ac_prev=includedir ;;
   875   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   876   | --includ=* | --inclu=* | --incl=* | --inc=*)
   877     includedir=$ac_optarg ;;
   879   -infodir | --infodir | --infodi | --infod | --info | --inf)
   880     ac_prev=infodir ;;
   881   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   882     infodir=$ac_optarg ;;
   884   -libdir | --libdir | --libdi | --libd)
   885     ac_prev=libdir ;;
   886   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   887     libdir=$ac_optarg ;;
   889   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   890   | --libexe | --libex | --libe)
   891     ac_prev=libexecdir ;;
   892   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   893   | --libexe=* | --libex=* | --libe=*)
   894     libexecdir=$ac_optarg ;;
   896   -localedir | --localedir | --localedi | --localed | --locale)
   897     ac_prev=localedir ;;
   898   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   899     localedir=$ac_optarg ;;
   901   -localstatedir | --localstatedir | --localstatedi | --localstated \
   902   | --localstate | --localstat | --localsta | --localst | --locals)
   903     ac_prev=localstatedir ;;
   904   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   905   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   906     localstatedir=$ac_optarg ;;
   908   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   909     ac_prev=mandir ;;
   910   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   911     mandir=$ac_optarg ;;
   913   -nfp | --nfp | --nf)
   914     # Obsolete; use --without-fp.
   915     with_fp=no ;;
   917   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   918   | --no-cr | --no-c | -n)
   919     no_create=yes ;;
   921   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   922   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   923     no_recursion=yes ;;
   925   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   926   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   927   | --oldin | --oldi | --old | --ol | --o)
   928     ac_prev=oldincludedir ;;
   929   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   930   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   931   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   932     oldincludedir=$ac_optarg ;;
   934   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   935     ac_prev=prefix ;;
   936   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   937     prefix=$ac_optarg ;;
   939   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   940   | --program-pre | --program-pr | --program-p)
   941     ac_prev=program_prefix ;;
   942   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   943   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   944     program_prefix=$ac_optarg ;;
   946   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   947   | --program-suf | --program-su | --program-s)
   948     ac_prev=program_suffix ;;
   949   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   950   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   951     program_suffix=$ac_optarg ;;
   953   -program-transform-name | --program-transform-name \
   954   | --program-transform-nam | --program-transform-na \
   955   | --program-transform-n | --program-transform- \
   956   | --program-transform | --program-transfor \
   957   | --program-transfo | --program-transf \
   958   | --program-trans | --program-tran \
   959   | --progr-tra | --program-tr | --program-t)
   960     ac_prev=program_transform_name ;;
   961   -program-transform-name=* | --program-transform-name=* \
   962   | --program-transform-nam=* | --program-transform-na=* \
   963   | --program-transform-n=* | --program-transform-=* \
   964   | --program-transform=* | --program-transfor=* \
   965   | --program-transfo=* | --program-transf=* \
   966   | --program-trans=* | --program-tran=* \
   967   | --progr-tra=* | --program-tr=* | --program-t=*)
   968     program_transform_name=$ac_optarg ;;
   970   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   971     ac_prev=pdfdir ;;
   972   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   973     pdfdir=$ac_optarg ;;
   975   -psdir | --psdir | --psdi | --psd | --ps)
   976     ac_prev=psdir ;;
   977   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   978     psdir=$ac_optarg ;;
   980   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   981   | -silent | --silent | --silen | --sile | --sil)
   982     silent=yes ;;
   984   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   985     ac_prev=sbindir ;;
   986   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   987   | --sbi=* | --sb=*)
   988     sbindir=$ac_optarg ;;
   990   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   991   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   992   | --sharedst | --shareds | --shared | --share | --shar \
   993   | --sha | --sh)
   994     ac_prev=sharedstatedir ;;
   995   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   996   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   997   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   998   | --sha=* | --sh=*)
   999     sharedstatedir=$ac_optarg ;;
  1001   -site | --site | --sit)
  1002     ac_prev=site ;;
  1003   -site=* | --site=* | --sit=*)
  1004     site=$ac_optarg ;;
  1006   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1007     ac_prev=srcdir ;;
  1008   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1009     srcdir=$ac_optarg ;;
  1011   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1012   | --syscon | --sysco | --sysc | --sys | --sy)
  1013     ac_prev=sysconfdir ;;
  1014   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1015   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1016     sysconfdir=$ac_optarg ;;
  1018   -target | --target | --targe | --targ | --tar | --ta | --t)
  1019     ac_prev=target_alias ;;
  1020   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1021     target_alias=$ac_optarg ;;
  1023   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1024     verbose=yes ;;
  1026   -version | --version | --versio | --versi | --vers | -V)
  1027     ac_init_version=: ;;
  1029   -with-* | --with-*)
  1030     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1031     # Reject names that are not valid shell variable names.
  1032     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  1033       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1034    { (exit 1); exit 1; }; }
  1035     ac_package=`echo $ac_package| sed 's/-/_/g'`
  1036     eval with_$ac_package=\$ac_optarg ;;
  1038   -without-* | --without-*)
  1039     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1040     # Reject names that are not valid shell variable names.
  1041     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  1042       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1043    { (exit 1); exit 1; }; }
  1044     ac_package=`echo $ac_package | sed 's/-/_/g'`
  1045     eval with_$ac_package=no ;;
  1047   --x)
  1048     # Obsolete; use --with-x.
  1049     with_x=yes ;;
  1051   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1052   | --x-incl | --x-inc | --x-in | --x-i)
  1053     ac_prev=x_includes ;;
  1054   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1055   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1056     x_includes=$ac_optarg ;;
  1058   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1059   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1060     ac_prev=x_libraries ;;
  1061   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1062   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1063     x_libraries=$ac_optarg ;;
  1065   -*) { echo "$as_me: error: unrecognized option: $ac_option
  1066 Try \`$0 --help' for more information." >&2
  1067    { (exit 1); exit 1; }; }
  1068     ;;
  1070   *=*)
  1071     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1072     # Reject names that are not valid shell variable names.
  1073     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1074       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1075    { (exit 1); exit 1; }; }
  1076     eval $ac_envvar=\$ac_optarg
  1077     export $ac_envvar ;;
  1079   *)
  1080     # FIXME: should be removed in autoconf 3.0.
  1081     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1082     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1083       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1084     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1085     ;;
  1087   esac
  1088 done
  1090 if test -n "$ac_prev"; then
  1091   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1092   { echo "$as_me: error: missing argument to $ac_option" >&2
  1093    { (exit 1); exit 1; }; }
  1094 fi
  1096 # Be sure to have absolute directory names.
  1097 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1098 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1099 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1100 		libdir localedir mandir
  1101 do
  1102   eval ac_val=\$$ac_var
  1103   case $ac_val in
  1104     [\\/$]* | ?:[\\/]* )  continue;;
  1105     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1106   esac
  1107   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1108    { (exit 1); exit 1; }; }
  1109 done
  1111 # There might be people who depend on the old broken behavior: `$host'
  1112 # used to hold the argument of --host etc.
  1113 # FIXME: To remove some day.
  1114 build=$build_alias
  1115 host=$host_alias
  1116 target=$target_alias
  1118 # FIXME: To remove some day.
  1119 if test "x$host_alias" != x; then
  1120   if test "x$build_alias" = x; then
  1121     cross_compiling=maybe
  1122     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1123     If a cross compiler is detected then cross compile mode will be used." >&2
  1124   elif test "x$build_alias" != "x$host_alias"; then
  1125     cross_compiling=yes
  1126   fi
  1127 fi
  1129 ac_tool_prefix=
  1130 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1132 test "$silent" = yes && exec 6>/dev/null
  1135 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1136 ac_ls_di=`ls -di .` &&
  1137 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1138   { echo "$as_me: error: Working directory cannot be determined" >&2
  1139    { (exit 1); exit 1; }; }
  1140 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1141   { echo "$as_me: error: pwd does not report name of working directory" >&2
  1142    { (exit 1); exit 1; }; }
  1145 # Find the source files, if location was not specified.
  1146 if test -z "$srcdir"; then
  1147   ac_srcdir_defaulted=yes
  1148   # Try the directory containing this script, then the parent directory.
  1149   ac_confdir=`$as_dirname -- "$0" ||
  1150 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1151 	 X"$0" : 'X\(//\)[^/]' \| \
  1152 	 X"$0" : 'X\(//\)$' \| \
  1153 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1154 echo X"$0" |
  1155     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1156 	    s//\1/
  1159 	  /^X\(\/\/\)[^/].*/{
  1160 	    s//\1/
  1163 	  /^X\(\/\/\)$/{
  1164 	    s//\1/
  1167 	  /^X\(\/\).*/{
  1168 	    s//\1/
  1171 	  s/.*/./; q'`
  1172   srcdir=$ac_confdir
  1173   if test ! -r "$srcdir/$ac_unique_file"; then
  1174     srcdir=..
  1175   fi
  1176 else
  1177   ac_srcdir_defaulted=no
  1178 fi
  1179 if test ! -r "$srcdir/$ac_unique_file"; then
  1180   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1181   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1182    { (exit 1); exit 1; }; }
  1183 fi
  1184 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1185 ac_abs_confdir=`(
  1186 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1187    { (exit 1); exit 1; }; }
  1188 	pwd)`
  1189 # When building in place, set srcdir=.
  1190 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1191   srcdir=.
  1192 fi
  1193 # Remove unnecessary trailing slashes from srcdir.
  1194 # Double slashes in file names in object file debugging info
  1195 # mess up M-x gdb in Emacs.
  1196 case $srcdir in
  1197 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1198 esac
  1199 for ac_var in $ac_precious_vars; do
  1200   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1201   eval ac_env_${ac_var}_value=\$${ac_var}
  1202   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1203   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1204 done
  1207 # Report the --help message.
  1209 if test "$ac_init_help" = "long"; then
  1210   # Omit some internal or obsolete options to make the list less imposing.
  1211   # This message is too long to be a string in the A/UX 3.1 sh.
  1212   cat <<_ACEOF
  1213 \`configure' configures this package to adapt to many kinds of systems.
  1215 Usage: $0 [OPTION]... [VAR=VALUE]...
  1217 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1218 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1220 Defaults for the options are specified in brackets.
  1222 Configuration:
  1223   -h, --help              display this help and exit
  1224       --help=short        display options specific to this package
  1225       --help=recursive    display the short help of all the included packages
  1226   -V, --version           display version information and exit
  1227   -q, --quiet, --silent   do not print \`checking...' messages
  1228       --cache-file=FILE   cache test results in FILE [disabled]
  1229   -C, --config-cache      alias for \`--cache-file=config.cache'
  1230   -n, --no-create         do not create output files
  1231       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1233 Installation directories:
  1234   --prefix=PREFIX         install architecture-independent files in PREFIX
  1235 			  [$ac_default_prefix]
  1236   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1237 			  [PREFIX]
  1239 By default, \`make install' will install all the files in
  1240 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1241 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1242 for instance \`--prefix=\$HOME'.
  1244 For better control, use the options below.
  1246 Fine tuning of the installation directories:
  1247   --bindir=DIR           user executables [EPREFIX/bin]
  1248   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  1249   --libexecdir=DIR       program executables [EPREFIX/libexec]
  1250   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  1251   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  1252   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  1253   --libdir=DIR           object code libraries [EPREFIX/lib]
  1254   --includedir=DIR       C header files [PREFIX/include]
  1255   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1256   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  1257   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  1258   --infodir=DIR          info documentation [DATAROOTDIR/info]
  1259   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  1260   --mandir=DIR           man documentation [DATAROOTDIR/man]
  1261   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  1262   --htmldir=DIR          html documentation [DOCDIR]
  1263   --dvidir=DIR           dvi documentation [DOCDIR]
  1264   --pdfdir=DIR           pdf documentation [DOCDIR]
  1265   --psdir=DIR            ps documentation [DOCDIR]
  1266 _ACEOF
  1268   cat <<\_ACEOF
  1270 Program names:
  1271   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1272   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1273   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1274 _ACEOF
  1275 fi
  1277 if test -n "$ac_init_help"; then
  1279   cat <<\_ACEOF
  1281 Optional Features:
  1282   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1283   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1284   --enable-maintainer-mode enable make rules and dependencies not useful
  1285                           (and sometimes confusing) to the casual installer
  1286   --disable-dependency-tracking Speeds up one-time builds
  1287   --enable-dependency-tracking  Do not reject slow dependency extractors
  1289 Some influential environment variables:
  1290   CC          C compiler command
  1291   CFLAGS      C compiler flags
  1292   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1293               nonstandard directory <lib dir>
  1294   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1295               you have headers in a nonstandard directory <include dir>
  1296   CPP         C preprocessor
  1297   PKG_CONFIG  path to pkg-config utility
  1298   PACKAGE_CFLAGS
  1299               C compiler flags for PACKAGE, overriding pkg-config
  1300   PACKAGE_LIBS
  1301               linker flags for PACKAGE, overriding pkg-config
  1303 Use these variables to override the choices made by `configure' or to help
  1304 it to find libraries and programs with nonstandard names/locations.
  1306 _ACEOF
  1307 ac_status=$?
  1308 fi
  1310 if test "$ac_init_help" = "recursive"; then
  1311   # If there are subdirs, report their specific --help.
  1312   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1313     test -d "$ac_dir" || continue
  1314     ac_builddir=.
  1316 case "$ac_dir" in
  1317 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1318 *)
  1319   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1320   # A ".." for each directory in $ac_dir_suffix.
  1321   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1322   case $ac_top_builddir_sub in
  1323   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1324   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1325   esac ;;
  1326 esac
  1327 ac_abs_top_builddir=$ac_pwd
  1328 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1329 # for backward compatibility:
  1330 ac_top_builddir=$ac_top_build_prefix
  1332 case $srcdir in
  1333   .)  # We are building in place.
  1334     ac_srcdir=.
  1335     ac_top_srcdir=$ac_top_builddir_sub
  1336     ac_abs_top_srcdir=$ac_pwd ;;
  1337   [\\/]* | ?:[\\/]* )  # Absolute name.
  1338     ac_srcdir=$srcdir$ac_dir_suffix;
  1339     ac_top_srcdir=$srcdir
  1340     ac_abs_top_srcdir=$srcdir ;;
  1341   *) # Relative name.
  1342     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1343     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1344     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1345 esac
  1346 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1348     cd "$ac_dir" || { ac_status=$?; continue; }
  1349     # Check for guested configure.
  1350     if test -f "$ac_srcdir/configure.gnu"; then
  1351       echo &&
  1352       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1353     elif test -f "$ac_srcdir/configure"; then
  1354       echo &&
  1355       $SHELL "$ac_srcdir/configure" --help=recursive
  1356     else
  1357       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1358     fi || ac_status=$?
  1359     cd "$ac_pwd" || { ac_status=$?; break; }
  1360   done
  1361 fi
  1363 test -n "$ac_init_help" && exit $ac_status
  1364 if $ac_init_version; then
  1365   cat <<\_ACEOF
  1366 configure
  1367 generated by GNU Autoconf 2.60
  1369 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1370 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1371 This configure script is free software; the Free Software Foundation
  1372 gives unlimited permission to copy, distribute and modify it.
  1373 _ACEOF
  1374   exit
  1375 fi
  1376 cat >config.log <<_ACEOF
  1377 This file contains any messages produced by compilers while
  1378 running configure, to aid debugging if configure makes a mistake.
  1380 It was created by $as_me, which was
  1381 generated by GNU Autoconf 2.60.  Invocation command line was
  1383   $ $0 $@
  1385 _ACEOF
  1386 exec 5>>config.log
  1388 cat <<_ASUNAME
  1389 ## --------- ##
  1390 ## Platform. ##
  1391 ## --------- ##
  1393 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1394 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1395 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1396 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1397 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1399 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1400 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1402 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1403 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1404 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1405 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1406 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1407 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1408 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1410 _ASUNAME
  1412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1413 for as_dir in $PATH
  1414 do
  1415   IFS=$as_save_IFS
  1416   test -z "$as_dir" && as_dir=.
  1417   echo "PATH: $as_dir"
  1418 done
  1419 IFS=$as_save_IFS
  1421 } >&5
  1423 cat >&5 <<_ACEOF
  1426 ## ----------- ##
  1427 ## Core tests. ##
  1428 ## ----------- ##
  1430 _ACEOF
  1433 # Keep a trace of the command line.
  1434 # Strip out --no-create and --no-recursion so they do not pile up.
  1435 # Strip out --silent because we don't want to record it for future runs.
  1436 # Also quote any args containing shell meta-characters.
  1437 # Make two passes to allow for proper duplicate-argument suppression.
  1438 ac_configure_args=
  1439 ac_configure_args0=
  1440 ac_configure_args1=
  1441 ac_must_keep_next=false
  1442 for ac_pass in 1 2
  1443 do
  1444   for ac_arg
  1445   do
  1446     case $ac_arg in
  1447     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1448     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1449     | -silent | --silent | --silen | --sile | --sil)
  1450       continue ;;
  1451     *\'*)
  1452       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1453     esac
  1454     case $ac_pass in
  1455     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1456     2)
  1457       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1458       if test $ac_must_keep_next = true; then
  1459 	ac_must_keep_next=false # Got value, back to normal.
  1460       else
  1461 	case $ac_arg in
  1462 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1463 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1464 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1465 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1466 	    case "$ac_configure_args0 " in
  1467 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1468 	    esac
  1469 	    ;;
  1470 	  -* ) ac_must_keep_next=true ;;
  1471 	esac
  1472       fi
  1473       ac_configure_args="$ac_configure_args '$ac_arg'"
  1474       ;;
  1475     esac
  1476   done
  1477 done
  1478 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1479 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1481 # When interrupted or exit'd, cleanup temporary files, and complete
  1482 # config.log.  We remove comments because anyway the quotes in there
  1483 # would cause problems or look ugly.
  1484 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1485 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1486 trap 'exit_status=$?
  1487   # Save into config.log some information that might help in debugging.
  1489     echo
  1491     cat <<\_ASBOX
  1492 ## ---------------- ##
  1493 ## Cache variables. ##
  1494 ## ---------------- ##
  1495 _ASBOX
  1496     echo
  1497     # The following way of writing the cache mishandles newlines in values,
  1499   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1500     eval ac_val=\$$ac_var
  1501     case $ac_val in #(
  1502     *${as_nl}*)
  1503       case $ac_var in #(
  1504       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1505 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1506       esac
  1507       case $ac_var in #(
  1508       _ | IFS | as_nl) ;; #(
  1509       *) $as_unset $ac_var ;;
  1510       esac ;;
  1511     esac
  1512   done
  1513   (set) 2>&1 |
  1514     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1515     *${as_nl}ac_space=\ *)
  1516       sed -n \
  1517 	"s/'\''/'\''\\\\'\'''\''/g;
  1518 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1519       ;; #(
  1520     *)
  1521       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1522       ;;
  1523     esac |
  1524     sort
  1526     echo
  1528     cat <<\_ASBOX
  1529 ## ----------------- ##
  1530 ## Output variables. ##
  1531 ## ----------------- ##
  1532 _ASBOX
  1533     echo
  1534     for ac_var in $ac_subst_vars
  1535     do
  1536       eval ac_val=\$$ac_var
  1537       case $ac_val in
  1538       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1539       esac
  1540       echo "$ac_var='\''$ac_val'\''"
  1541     done | sort
  1542     echo
  1544     if test -n "$ac_subst_files"; then
  1545       cat <<\_ASBOX
  1546 ## ------------------- ##
  1547 ## File substitutions. ##
  1548 ## ------------------- ##
  1549 _ASBOX
  1550       echo
  1551       for ac_var in $ac_subst_files
  1552       do
  1553 	eval ac_val=\$$ac_var
  1554 	case $ac_val in
  1555 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1556 	esac
  1557 	echo "$ac_var='\''$ac_val'\''"
  1558       done | sort
  1559       echo
  1560     fi
  1562     if test -s confdefs.h; then
  1563       cat <<\_ASBOX
  1564 ## ----------- ##
  1565 ## confdefs.h. ##
  1566 ## ----------- ##
  1567 _ASBOX
  1568       echo
  1569       cat confdefs.h
  1570       echo
  1571     fi
  1572     test "$ac_signal" != 0 &&
  1573       echo "$as_me: caught signal $ac_signal"
  1574     echo "$as_me: exit $exit_status"
  1575   } >&5
  1576   rm -f core *.core core.conftest.* &&
  1577     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1578     exit $exit_status
  1579 ' 0
  1580 for ac_signal in 1 2 13 15; do
  1581   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1582 done
  1583 ac_signal=0
  1585 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1586 rm -f -r conftest* confdefs.h
  1588 # Predefined preprocessor variables.
  1590 cat >>confdefs.h <<_ACEOF
  1591 #define PACKAGE_NAME "$PACKAGE_NAME"
  1592 _ACEOF
  1595 cat >>confdefs.h <<_ACEOF
  1596 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1597 _ACEOF
  1600 cat >>confdefs.h <<_ACEOF
  1601 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1602 _ACEOF
  1605 cat >>confdefs.h <<_ACEOF
  1606 #define PACKAGE_STRING "$PACKAGE_STRING"
  1607 _ACEOF
  1610 cat >>confdefs.h <<_ACEOF
  1611 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1612 _ACEOF
  1615 # Let the site file select an alternate cache file if it wants to.
  1616 # Prefer explicitly selected file to automatically selected ones.
  1617 if test -n "$CONFIG_SITE"; then
  1618   set x "$CONFIG_SITE"
  1619 elif test "x$prefix" != xNONE; then
  1620   set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1621 else
  1622   set x "$ac_default_prefix/share/config.site" \
  1623 	"$ac_default_prefix/etc/config.site"
  1624 fi
  1625 shift
  1626 for ac_site_file
  1627 do
  1628   if test -r "$ac_site_file"; then
  1629     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1630 echo "$as_me: loading site script $ac_site_file" >&6;}
  1631     sed 's/^/| /' "$ac_site_file" >&5
  1632     . "$ac_site_file"
  1633   fi
  1634 done
  1636 if test -r "$cache_file"; then
  1637   # Some versions of bash will fail to source /dev/null (special
  1638   # files actually), so we avoid doing that.
  1639   if test -f "$cache_file"; then
  1640     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1641 echo "$as_me: loading cache $cache_file" >&6;}
  1642     case $cache_file in
  1643       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1644       *)                      . "./$cache_file";;
  1645     esac
  1646   fi
  1647 else
  1648   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1649 echo "$as_me: creating cache $cache_file" >&6;}
  1650   >$cache_file
  1651 fi
  1653 # Check that the precious variables saved in the cache have kept the same
  1654 # value.
  1655 ac_cache_corrupted=false
  1656 for ac_var in $ac_precious_vars; do
  1657   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1658   eval ac_new_set=\$ac_env_${ac_var}_set
  1659   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1660   eval ac_new_val=\$ac_env_${ac_var}_value
  1661   case $ac_old_set,$ac_new_set in
  1662     set,)
  1663       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1664 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1665       ac_cache_corrupted=: ;;
  1666     ,set)
  1667       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1668 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1669       ac_cache_corrupted=: ;;
  1670     ,);;
  1671     *)
  1672       if test "x$ac_old_val" != "x$ac_new_val"; then
  1673 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1674 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1675 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1676 echo "$as_me:   former value:  $ac_old_val" >&2;}
  1677 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1678 echo "$as_me:   current value: $ac_new_val" >&2;}
  1679 	ac_cache_corrupted=:
  1680       fi;;
  1681   esac
  1682   # Pass precious variables to config.status.
  1683   if test "$ac_new_set" = set; then
  1684     case $ac_new_val in
  1685     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1686     *) ac_arg=$ac_var=$ac_new_val ;;
  1687     esac
  1688     case " $ac_configure_args " in
  1689       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1690       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1691     esac
  1692   fi
  1693 done
  1694 if $ac_cache_corrupted; then
  1695   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1696 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1697   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1698 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1699    { (exit 1); exit 1; }; }
  1700 fi
  1718 ac_ext=c
  1719 ac_cpp='$CPP $CPPFLAGS'
  1720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1725 am__api_version="1.7"
  1726 ac_aux_dir=
  1727 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1728   if test -f "$ac_dir/install-sh"; then
  1729     ac_aux_dir=$ac_dir
  1730     ac_install_sh="$ac_aux_dir/install-sh -c"
  1731     break
  1732   elif test -f "$ac_dir/install.sh"; then
  1733     ac_aux_dir=$ac_dir
  1734     ac_install_sh="$ac_aux_dir/install.sh -c"
  1735     break
  1736   elif test -f "$ac_dir/shtool"; then
  1737     ac_aux_dir=$ac_dir
  1738     ac_install_sh="$ac_aux_dir/shtool install -c"
  1739     break
  1740   fi
  1741 done
  1742 if test -z "$ac_aux_dir"; then
  1743   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1744 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1745    { (exit 1); exit 1; }; }
  1746 fi
  1748 # These three variables are undocumented and unsupported,
  1749 # and are intended to be withdrawn in a future Autoconf release.
  1750 # They can cause serious problems if a builder's source tree is in a directory
  1751 # whose full name contains unusual characters.
  1752 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1753 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1754 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1757 # Find a good install program.  We prefer a C program (faster),
  1758 # so one script is as good as another.  But avoid the broken or
  1759 # incompatible versions:
  1760 # SysV /etc/install, /usr/sbin/install
  1761 # SunOS /usr/etc/install
  1762 # IRIX /sbin/install
  1763 # AIX /bin/install
  1764 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1765 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1766 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1767 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1768 # OS/2's system install, which has a completely different semantic
  1769 # ./install, which can be erroneously created by make from ./install.sh.
  1770 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1771 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  1772 if test -z "$INSTALL"; then
  1773 if test "${ac_cv_path_install+set}" = set; then
  1774   echo $ECHO_N "(cached) $ECHO_C" >&6
  1775 else
  1776   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1777 for as_dir in $PATH
  1778 do
  1779   IFS=$as_save_IFS
  1780   test -z "$as_dir" && as_dir=.
  1781   # Account for people who put trailing slashes in PATH elements.
  1782 case $as_dir/ in
  1783   ./ | .// | /cC/* | \
  1784   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1785   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  1786   /usr/ucb/* ) ;;
  1787   *)
  1788     # OSF1 and SCO ODT 3.0 have their own names for install.
  1789     # Don't use installbsd from OSF since it installs stuff as root
  1790     # by default.
  1791     for ac_prog in ginstall scoinst install; do
  1792       for ac_exec_ext in '' $ac_executable_extensions; do
  1793 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1794 	  if test $ac_prog = install &&
  1795 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1796 	    # AIX install.  It has an incompatible calling convention.
  1798 	  elif test $ac_prog = install &&
  1799 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1800 	    # program-specific install script used by HP pwplus--don't use.
  1802 	  else
  1803 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1804 	    break 3
  1805 	  fi
  1806 	fi
  1807       done
  1808     done
  1809     ;;
  1810 esac
  1811 done
  1812 IFS=$as_save_IFS
  1815 fi
  1816   if test "${ac_cv_path_install+set}" = set; then
  1817     INSTALL=$ac_cv_path_install
  1818   else
  1819     # As a last resort, use the slow shell script.  Don't cache a
  1820     # value for INSTALL within a source directory, because that will
  1821     # break other packages using the cache if that directory is
  1822     # removed, or if the value is a relative name.
  1823     INSTALL=$ac_install_sh
  1824   fi
  1825 fi
  1826 { echo "$as_me:$LINENO: result: $INSTALL" >&5
  1827 echo "${ECHO_T}$INSTALL" >&6; }
  1829 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1830 # It thinks the first close brace ends the variable substitution.
  1831 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1833 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1835 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1837 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1838 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  1839 # Just in case
  1840 sleep 1
  1841 echo timestamp > conftest.file
  1842 # Do `set' in a subshell so we don't clobber the current shell's
  1843 # arguments.  Must try -L first in case configure is actually a
  1844 # symlink; some systems play weird games with the mod time of symlinks
  1845 # (eg FreeBSD returns the mod time of the symlink's containing
  1846 # directory).
  1847 if (
  1848    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1849    if test "$*" = "X"; then
  1850       # -L didn't work.
  1851       set X `ls -t $srcdir/configure conftest.file`
  1852    fi
  1853    rm -f conftest.file
  1854    if test "$*" != "X $srcdir/configure conftest.file" \
  1855       && test "$*" != "X conftest.file $srcdir/configure"; then
  1857       # If neither matched, then we have a broken ls.  This can happen
  1858       # if, for instance, CONFIG_SHELL is bash and it inherits a
  1859       # broken ls alias from the environment.  This has actually
  1860       # happened.  Such a system could not be considered "sane".
  1861       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  1862 alias in your environment" >&5
  1863 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  1864 alias in your environment" >&2;}
  1865    { (exit 1); exit 1; }; }
  1866    fi
  1868    test "$2" = conftest.file
  1870 then
  1871    # Ok.
  1873 else
  1874    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1875 Check your system clock" >&5
  1876 echo "$as_me: error: newly created file is older than distributed files!
  1877 Check your system clock" >&2;}
  1878    { (exit 1); exit 1; }; }
  1879 fi
  1880 { echo "$as_me:$LINENO: result: yes" >&5
  1881 echo "${ECHO_T}yes" >&6; }
  1882 test "$program_prefix" != NONE &&
  1883   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1884 # Use a double $ so make ignores it.
  1885 test "$program_suffix" != NONE &&
  1886   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1887 # Double any \ or $.  echo might interpret backslashes.
  1888 # By default was `s,x,x', remove it if useless.
  1889 cat <<\_ACEOF >conftest.sed
  1890 s/[\\$]/&&/g;s/;s,x,x,$//
  1891 _ACEOF
  1892 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1893 rm -f conftest.sed
  1896 # expand $ac_aux_dir to an absolute path
  1897 am_aux_dir=`cd $ac_aux_dir && pwd`
  1899 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  1900 # Use eval to expand $SHELL
  1901 if eval "$MISSING --run true"; then
  1902   am_missing_run="$MISSING --run "
  1903 else
  1904   am_missing_run=
  1905   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  1906 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1907 fi
  1909 for ac_prog in gawk mawk nawk awk
  1910 do
  1911   # Extract the first word of "$ac_prog", so it can be a program name with args.
  1912 set dummy $ac_prog; ac_word=$2
  1913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1915 if test "${ac_cv_prog_AWK+set}" = set; then
  1916   echo $ECHO_N "(cached) $ECHO_C" >&6
  1917 else
  1918   if test -n "$AWK"; then
  1919   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1920 else
  1921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1922 for as_dir in $PATH
  1923 do
  1924   IFS=$as_save_IFS
  1925   test -z "$as_dir" && as_dir=.
  1926   for ac_exec_ext in '' $ac_executable_extensions; do
  1927   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1928     ac_cv_prog_AWK="$ac_prog"
  1929     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1930     break 2
  1931   fi
  1932 done
  1933 done
  1934 IFS=$as_save_IFS
  1936 fi
  1937 fi
  1938 AWK=$ac_cv_prog_AWK
  1939 if test -n "$AWK"; then
  1940   { echo "$as_me:$LINENO: result: $AWK" >&5
  1941 echo "${ECHO_T}$AWK" >&6; }
  1942 else
  1943   { echo "$as_me:$LINENO: result: no" >&5
  1944 echo "${ECHO_T}no" >&6; }
  1945 fi
  1948   test -n "$AWK" && break
  1949 done
  1951 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  1952 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  1953 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  1954 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  1955   echo $ECHO_N "(cached) $ECHO_C" >&6
  1956 else
  1957   cat >conftest.make <<\_ACEOF
  1958 SHELL = /bin/sh
  1959 all:
  1960 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  1961 _ACEOF
  1962 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1963 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  1964   *@@@%%%=?*=@@@%%%*)
  1965     eval ac_cv_prog_make_${ac_make}_set=yes;;
  1966   *)
  1967     eval ac_cv_prog_make_${ac_make}_set=no;;
  1968 esac
  1969 rm -f conftest.make
  1970 fi
  1971 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  1972   { echo "$as_me:$LINENO: result: yes" >&5
  1973 echo "${ECHO_T}yes" >&6; }
  1974   SET_MAKE=
  1975 else
  1976   { echo "$as_me:$LINENO: result: no" >&5
  1977 echo "${ECHO_T}no" >&6; }
  1978   SET_MAKE="MAKE=${MAKE-make}"
  1979 fi
  1981 rm -rf .tst 2>/dev/null
  1982 mkdir .tst 2>/dev/null
  1983 if test -d .tst; then
  1984   am__leading_dot=.
  1985 else
  1986   am__leading_dot=_
  1987 fi
  1988 rmdir .tst 2>/dev/null
  1990  # test to see if srcdir already configured
  1991 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  1992    test -f $srcdir/config.status; then
  1993   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  1994 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  1995    { (exit 1); exit 1; }; }
  1996 fi
  1998 # test whether we have cygpath
  1999 if test -z "$CYGPATH_W"; then
  2000   if (cygpath --version) >/dev/null 2>/dev/null; then
  2001     CYGPATH_W='cygpath -w'
  2002   else
  2003     CYGPATH_W=echo
  2004   fi
  2005 fi
  2008 # Define the identity of the package.
  2009  PACKAGE=dream
  2010  VERSION=0.1
  2013 cat >>confdefs.h <<_ACEOF
  2014 #define PACKAGE "$PACKAGE"
  2015 _ACEOF
  2018 cat >>confdefs.h <<_ACEOF
  2019 #define VERSION "$VERSION"
  2020 _ACEOF
  2022 # Some tools Automake needs.
  2024 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2027 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2030 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2033 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2036 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2039 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2041 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2043 # Installed binaries are usually stripped using `strip' when the user
  2044 # run `make install-strip'.  However `strip' might not be the right
  2045 # tool to use in cross-compilation environments, therefore Automake
  2046 # will honor the `STRIP' environment variable to overrule this program.
  2047 if test "$cross_compiling" != no; then
  2048   if test -n "$ac_tool_prefix"; then
  2049   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2050 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2053 if test "${ac_cv_prog_STRIP+set}" = set; then
  2054   echo $ECHO_N "(cached) $ECHO_C" >&6
  2055 else
  2056   if test -n "$STRIP"; then
  2057   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2058 else
  2059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2060 for as_dir in $PATH
  2061 do
  2062   IFS=$as_save_IFS
  2063   test -z "$as_dir" && as_dir=.
  2064   for ac_exec_ext in '' $ac_executable_extensions; do
  2065   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  2066     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2067     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2068     break 2
  2069   fi
  2070 done
  2071 done
  2072 IFS=$as_save_IFS
  2074 fi
  2075 fi
  2076 STRIP=$ac_cv_prog_STRIP
  2077 if test -n "$STRIP"; then
  2078   { echo "$as_me:$LINENO: result: $STRIP" >&5
  2079 echo "${ECHO_T}$STRIP" >&6; }
  2080 else
  2081   { echo "$as_me:$LINENO: result: no" >&5
  2082 echo "${ECHO_T}no" >&6; }
  2083 fi
  2086 fi
  2087 if test -z "$ac_cv_prog_STRIP"; then
  2088   ac_ct_STRIP=$STRIP
  2089   # Extract the first word of "strip", so it can be a program name with args.
  2090 set dummy strip; ac_word=$2
  2091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2093 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2094   echo $ECHO_N "(cached) $ECHO_C" >&6
  2095 else
  2096   if test -n "$ac_ct_STRIP"; then
  2097   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2098 else
  2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2100 for as_dir in $PATH
  2101 do
  2102   IFS=$as_save_IFS
  2103   test -z "$as_dir" && as_dir=.
  2104   for ac_exec_ext in '' $ac_executable_extensions; do
  2105   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  2106     ac_cv_prog_ac_ct_STRIP="strip"
  2107     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2108     break 2
  2109   fi
  2110 done
  2111 done
  2112 IFS=$as_save_IFS
  2114 fi
  2115 fi
  2116 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2117 if test -n "$ac_ct_STRIP"; then
  2118   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2119 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  2120 else
  2121   { echo "$as_me:$LINENO: result: no" >&5
  2122 echo "${ECHO_T}no" >&6; }
  2123 fi
  2125   if test "x$ac_ct_STRIP" = x; then
  2126     STRIP=":"
  2127   else
  2128     case $cross_compiling:$ac_tool_warned in
  2129 yes:)
  2130 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2131 whose name does not start with the host triplet.  If you think this
  2132 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2133 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2134 whose name does not start with the host triplet.  If you think this
  2135 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2136 ac_tool_warned=yes ;;
  2137 esac
  2138     STRIP=$ac_ct_STRIP
  2139   fi
  2140 else
  2141   STRIP="$ac_cv_prog_STRIP"
  2142 fi
  2144 fi
  2145 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2147 # We need awk for the "check" target.  The system "awk" is bad on
  2148 # some platforms.
  2152 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2153 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
  2154     # Check whether --enable-maintainer-mode was given.
  2155 if test "${enable_maintainer_mode+set}" = set; then
  2156   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2157 else
  2158   USE_MAINTAINER_MODE=no
  2159 fi
  2161   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2162 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
  2165 if test $USE_MAINTAINER_MODE = yes; then
  2166   MAINTAINER_MODE_TRUE=
  2167   MAINTAINER_MODE_FALSE='#'
  2168 else
  2169   MAINTAINER_MODE_TRUE='#'
  2170   MAINTAINER_MODE_FALSE=
  2171 fi
  2173   MAINT=$MAINTAINER_MODE_TRUE
  2176 ac_config_headers="$ac_config_headers config.h"
  2179 DEPDIR="${am__leading_dot}deps"
  2181 ac_config_commands="$ac_config_commands depfiles"
  2184 am_make=${MAKE-make}
  2185 cat > confinc << 'END'
  2186 am__doit:
  2187 	@echo done
  2188 .PHONY: am__doit
  2189 END
  2190 # If we don't find an include directive, just comment out the code.
  2191 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2192 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  2193 am__include="#"
  2194 am__quote=
  2195 _am_result=none
  2196 # First try GNU make style include.
  2197 echo "include confinc" > confmf
  2198 # We grep out `Entering directory' and `Leaving directory'
  2199 # messages which can occur if `w' ends up in MAKEFLAGS.
  2200 # In particular we don't look at `^make:' because GNU make might
  2201 # be invoked under some other name (usually "gmake"), in which
  2202 # case it prints its new name instead of `make'.
  2203 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2204    am__include=include
  2205    am__quote=
  2206    _am_result=GNU
  2207 fi
  2208 # Now try BSD make style include.
  2209 if test "$am__include" = "#"; then
  2210    echo '.include "confinc"' > confmf
  2211    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2212       am__include=.include
  2213       am__quote="\""
  2214       _am_result=BSD
  2215    fi
  2216 fi
  2219 { echo "$as_me:$LINENO: result: $_am_result" >&5
  2220 echo "${ECHO_T}$_am_result" >&6; }
  2221 rm -f confinc confmf
  2223 # Check whether --enable-dependency-tracking was given.
  2224 if test "${enable_dependency_tracking+set}" = set; then
  2225   enableval=$enable_dependency_tracking;
  2226 fi
  2228 if test "x$enable_dependency_tracking" != xno; then
  2229   am_depcomp="$ac_aux_dir/depcomp"
  2230   AMDEPBACKSLASH='\'
  2231 fi
  2234 if test "x$enable_dependency_tracking" != xno; then
  2235   AMDEP_TRUE=
  2236   AMDEP_FALSE='#'
  2237 else
  2238   AMDEP_TRUE='#'
  2239   AMDEP_FALSE=
  2240 fi
  2244 ac_ext=c
  2245 ac_cpp='$CPP $CPPFLAGS'
  2246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2249 if test -n "$ac_tool_prefix"; then
  2250   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2251 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2254 if test "${ac_cv_prog_CC+set}" = set; then
  2255   echo $ECHO_N "(cached) $ECHO_C" >&6
  2256 else
  2257   if test -n "$CC"; then
  2258   ac_cv_prog_CC="$CC" # Let the user override the test.
  2259 else
  2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2261 for as_dir in $PATH
  2262 do
  2263   IFS=$as_save_IFS
  2264   test -z "$as_dir" && as_dir=.
  2265   for ac_exec_ext in '' $ac_executable_extensions; do
  2266   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  2267     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2268     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2269     break 2
  2270   fi
  2271 done
  2272 done
  2273 IFS=$as_save_IFS
  2275 fi
  2276 fi
  2277 CC=$ac_cv_prog_CC
  2278 if test -n "$CC"; then
  2279   { echo "$as_me:$LINENO: result: $CC" >&5
  2280 echo "${ECHO_T}$CC" >&6; }
  2281 else
  2282   { echo "$as_me:$LINENO: result: no" >&5
  2283 echo "${ECHO_T}no" >&6; }
  2284 fi
  2287 fi
  2288 if test -z "$ac_cv_prog_CC"; then
  2289   ac_ct_CC=$CC
  2290   # Extract the first word of "gcc", so it can be a program name with args.
  2291 set dummy gcc; ac_word=$2
  2292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2294 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2295   echo $ECHO_N "(cached) $ECHO_C" >&6
  2296 else
  2297   if test -n "$ac_ct_CC"; then
  2298   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2299 else
  2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2301 for as_dir in $PATH
  2302 do
  2303   IFS=$as_save_IFS
  2304   test -z "$as_dir" && as_dir=.
  2305   for ac_exec_ext in '' $ac_executable_extensions; do
  2306   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  2307     ac_cv_prog_ac_ct_CC="gcc"
  2308     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2309     break 2
  2310   fi
  2311 done
  2312 done
  2313 IFS=$as_save_IFS
  2315 fi
  2316 fi
  2317 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2318 if test -n "$ac_ct_CC"; then
  2319   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2320 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2321 else
  2322   { echo "$as_me:$LINENO: result: no" >&5
  2323 echo "${ECHO_T}no" >&6; }
  2324 fi
  2326   if test "x$ac_ct_CC" = x; then
  2327     CC=""
  2328   else
  2329     case $cross_compiling:$ac_tool_warned in
  2330 yes:)
  2331 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2332 whose name does not start with the host triplet.  If you think this
  2333 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2335 whose name does not start with the host triplet.  If you think this
  2336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2337 ac_tool_warned=yes ;;
  2338 esac
  2339     CC=$ac_ct_CC
  2340   fi
  2341 else
  2342   CC="$ac_cv_prog_CC"
  2343 fi
  2345 if test -z "$CC"; then
  2346           if test -n "$ac_tool_prefix"; then
  2347     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2348 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2351 if test "${ac_cv_prog_CC+set}" = set; then
  2352   echo $ECHO_N "(cached) $ECHO_C" >&6
  2353 else
  2354   if test -n "$CC"; then
  2355   ac_cv_prog_CC="$CC" # Let the user override the test.
  2356 else
  2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2358 for as_dir in $PATH
  2359 do
  2360   IFS=$as_save_IFS
  2361   test -z "$as_dir" && as_dir=.
  2362   for ac_exec_ext in '' $ac_executable_extensions; do
  2363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  2364     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2365     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2366     break 2
  2367   fi
  2368 done
  2369 done
  2370 IFS=$as_save_IFS
  2372 fi
  2373 fi
  2374 CC=$ac_cv_prog_CC
  2375 if test -n "$CC"; then
  2376   { echo "$as_me:$LINENO: result: $CC" >&5
  2377 echo "${ECHO_T}$CC" >&6; }
  2378 else
  2379   { echo "$as_me:$LINENO: result: no" >&5
  2380 echo "${ECHO_T}no" >&6; }
  2381 fi
  2384   fi
  2385 fi
  2386 if test -z "$CC"; then
  2387   # Extract the first word of "cc", so it can be a program name with args.
  2388 set dummy cc; ac_word=$2
  2389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2391 if test "${ac_cv_prog_CC+set}" = set; then
  2392   echo $ECHO_N "(cached) $ECHO_C" >&6
  2393 else
  2394   if test -n "$CC"; then
  2395   ac_cv_prog_CC="$CC" # Let the user override the test.
  2396 else
  2397   ac_prog_rejected=no
  2398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2399 for as_dir in $PATH
  2400 do
  2401   IFS=$as_save_IFS
  2402   test -z "$as_dir" && as_dir=.
  2403   for ac_exec_ext in '' $ac_executable_extensions; do
  2404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  2405     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2406        ac_prog_rejected=yes
  2407        continue
  2408      fi
  2409     ac_cv_prog_CC="cc"
  2410     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2411     break 2
  2412   fi
  2413 done
  2414 done
  2415 IFS=$as_save_IFS
  2417 if test $ac_prog_rejected = yes; then
  2418   # We found a bogon in the path, so make sure we never use it.
  2419   set dummy $ac_cv_prog_CC
  2420   shift
  2421   if test $# != 0; then
  2422     # We chose a different compiler from the bogus one.
  2423     # However, it has the same basename, so the bogon will be chosen
  2424     # first if we set CC to just the basename; use the full file name.
  2425     shift
  2426     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2427   fi
  2428 fi
  2429 fi
  2430 fi
  2431 CC=$ac_cv_prog_CC
  2432 if test -n "$CC"; then
  2433   { echo "$as_me:$LINENO: result: $CC" >&5
  2434 echo "${ECHO_T}$CC" >&6; }
  2435 else
  2436   { echo "$as_me:$LINENO: result: no" >&5
  2437 echo "${ECHO_T}no" >&6; }
  2438 fi
  2441 fi
  2442 if test -z "$CC"; then
  2443   if test -n "$ac_tool_prefix"; then
  2444   for ac_prog in cl.exe
  2445   do
  2446     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2447 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2450 if test "${ac_cv_prog_CC+set}" = set; then
  2451   echo $ECHO_N "(cached) $ECHO_C" >&6
  2452 else
  2453   if test -n "$CC"; then
  2454   ac_cv_prog_CC="$CC" # Let the user override the test.
  2455 else
  2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2457 for as_dir in $PATH
  2458 do
  2459   IFS=$as_save_IFS
  2460   test -z "$as_dir" && as_dir=.
  2461   for ac_exec_ext in '' $ac_executable_extensions; do
  2462   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  2463     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2464     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2465     break 2
  2466   fi
  2467 done
  2468 done
  2469 IFS=$as_save_IFS
  2471 fi
  2472 fi
  2473 CC=$ac_cv_prog_CC
  2474 if test -n "$CC"; then
  2475   { echo "$as_me:$LINENO: result: $CC" >&5
  2476 echo "${ECHO_T}$CC" >&6; }
  2477 else
  2478   { echo "$as_me:$LINENO: result: no" >&5
  2479 echo "${ECHO_T}no" >&6; }
  2480 fi
  2483     test -n "$CC" && break
  2484   done
  2485 fi
  2486 if test -z "$CC"; then
  2487   ac_ct_CC=$CC
  2488   for ac_prog in cl.exe
  2489 do
  2490   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2491 set dummy $ac_prog; ac_word=$2
  2492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2494 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2495   echo $ECHO_N "(cached) $ECHO_C" >&6
  2496 else
  2497   if test -n "$ac_ct_CC"; then
  2498   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2499 else
  2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2501 for as_dir in $PATH
  2502 do
  2503   IFS=$as_save_IFS
  2504   test -z "$as_dir" && as_dir=.
  2505   for ac_exec_ext in '' $ac_executable_extensions; do
  2506   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  2507     ac_cv_prog_ac_ct_CC="$ac_prog"
  2508     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2509     break 2
  2510   fi
  2511 done
  2512 done
  2513 IFS=$as_save_IFS
  2515 fi
  2516 fi
  2517 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2518 if test -n "$ac_ct_CC"; then
  2519   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2520 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2521 else
  2522   { echo "$as_me:$LINENO: result: no" >&5
  2523 echo "${ECHO_T}no" >&6; }
  2524 fi
  2527   test -n "$ac_ct_CC" && break
  2528 done
  2530   if test "x$ac_ct_CC" = x; then
  2531     CC=""
  2532   else
  2533     case $cross_compiling:$ac_tool_warned in
  2534 yes:)
  2535 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2536 whose name does not start with the host triplet.  If you think this
  2537 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2538 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2539 whose name does not start with the host triplet.  If you think this
  2540 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2541 ac_tool_warned=yes ;;
  2542 esac
  2543     CC=$ac_ct_CC
  2544   fi
  2545 fi
  2547 fi
  2550 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2551 See \`config.log' for more details." >&5
  2552 echo "$as_me: error: no acceptable C compiler found in \$PATH
  2553 See \`config.log' for more details." >&2;}
  2554    { (exit 1); exit 1; }; }
  2556 # Provide some information about the compiler.
  2557 echo "$as_me:$LINENO: checking for C compiler version" >&5
  2558 ac_compiler=`set X $ac_compile; echo $2`
  2559 { (ac_try="$ac_compiler --version >&5"
  2560 case "(($ac_try" in
  2561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2562   *) ac_try_echo=$ac_try;;
  2563 esac
  2564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2565   (eval "$ac_compiler --version >&5") 2>&5
  2566   ac_status=$?
  2567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2568   (exit $ac_status); }
  2569 { (ac_try="$ac_compiler -v >&5"
  2570 case "(($ac_try" in
  2571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2572   *) ac_try_echo=$ac_try;;
  2573 esac
  2574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2575   (eval "$ac_compiler -v >&5") 2>&5
  2576   ac_status=$?
  2577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2578   (exit $ac_status); }
  2579 { (ac_try="$ac_compiler -V >&5"
  2580 case "(($ac_try" in
  2581   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2582   *) ac_try_echo=$ac_try;;
  2583 esac
  2584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2585   (eval "$ac_compiler -V >&5") 2>&5
  2586   ac_status=$?
  2587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2588   (exit $ac_status); }
  2590 cat >conftest.$ac_ext <<_ACEOF
  2591 /* confdefs.h.  */
  2592 _ACEOF
  2593 cat confdefs.h >>conftest.$ac_ext
  2594 cat >>conftest.$ac_ext <<_ACEOF
  2595 /* end confdefs.h.  */
  2597 int
  2598 main ()
  2602   return 0;
  2604 _ACEOF
  2605 ac_clean_files_save=$ac_clean_files
  2606 ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2607 # Try to create an executable without -o first, disregard a.out.
  2608 # It will help us diagnose broken compilers, and finding out an intuition
  2609 # of exeext.
  2610 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2611 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2612 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2614 # List of possible output files, starting from the most likely.
  2615 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2616 # only as a last resort.  b.out is created by i960 compilers.
  2617 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2619 # The IRIX 6 linker writes into existing files which may not be
  2620 # executable, retaining their permissions.  Remove them first so a
  2621 # subsequent execution test works.
  2622 ac_rmfiles=
  2623 for ac_file in $ac_files
  2624 do
  2625   case $ac_file in
  2626     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2627     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2628   esac
  2629 done
  2630 rm -f $ac_rmfiles
  2632 if { (ac_try="$ac_link_default"
  2633 case "(($ac_try" in
  2634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2635   *) ac_try_echo=$ac_try;;
  2636 esac
  2637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2638   (eval "$ac_link_default") 2>&5
  2639   ac_status=$?
  2640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2641   (exit $ac_status); }; then
  2642   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2643 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2644 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2645 # so that the user can short-circuit this test for compilers unknown to
  2646 # Autoconf.
  2647 for ac_file in $ac_files
  2648 do
  2649   test -f "$ac_file" || continue
  2650   case $ac_file in
  2651     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2652 	;;
  2653     [ab].out )
  2654 	# We found the default executable, but exeext='' is most
  2655 	# certainly right.
  2656 	break;;
  2657     *.* )
  2658         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2659 	then :; else
  2660 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2661 	fi
  2662 	# We set ac_cv_exeext here because the later test for it is not
  2663 	# safe: cross compilers may not add the suffix if given an `-o'
  2664 	# argument, so we may need to know it at that point already.
  2665 	# Even if this section looks crufty: it has the advantage of
  2666 	# actually working.
  2667 	break;;
  2668     * )
  2669 	break;;
  2670   esac
  2671 done
  2672 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2674 else
  2675   echo "$as_me: failed program was:" >&5
  2676 sed 's/^/| /' conftest.$ac_ext >&5
  2678 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2679 See \`config.log' for more details." >&5
  2680 echo "$as_me: error: C compiler cannot create executables
  2681 See \`config.log' for more details." >&2;}
  2682    { (exit 77); exit 77; }; }
  2683 fi
  2685 ac_exeext=$ac_cv_exeext
  2686 { echo "$as_me:$LINENO: result: $ac_file" >&5
  2687 echo "${ECHO_T}$ac_file" >&6; }
  2689 # Check that the compiler produces executables we can run.  If not, either
  2690 # the compiler is broken, or we cross compile.
  2691 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2692 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  2693 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2694 # If not cross compiling, check that we can run a simple program.
  2695 if test "$cross_compiling" != yes; then
  2696   if { ac_try='./$ac_file'
  2697   { (case "(($ac_try" in
  2698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2699   *) ac_try_echo=$ac_try;;
  2700 esac
  2701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2702   (eval "$ac_try") 2>&5
  2703   ac_status=$?
  2704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2705   (exit $ac_status); }; }; then
  2706     cross_compiling=no
  2707   else
  2708     if test "$cross_compiling" = maybe; then
  2709 	cross_compiling=yes
  2710     else
  2711 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2712 If you meant to cross compile, use \`--host'.
  2713 See \`config.log' for more details." >&5
  2714 echo "$as_me: error: cannot run C compiled programs.
  2715 If you meant to cross compile, use \`--host'.
  2716 See \`config.log' for more details." >&2;}
  2717    { (exit 1); exit 1; }; }
  2718     fi
  2719   fi
  2720 fi
  2721 { echo "$as_me:$LINENO: result: yes" >&5
  2722 echo "${ECHO_T}yes" >&6; }
  2724 rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2725 ac_clean_files=$ac_clean_files_save
  2726 # Check that the compiler produces executables we can run.  If not, either
  2727 # the compiler is broken, or we cross compile.
  2728 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2729 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  2730 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2731 echo "${ECHO_T}$cross_compiling" >&6; }
  2733 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2734 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  2735 if { (ac_try="$ac_link"
  2736 case "(($ac_try" in
  2737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2738   *) ac_try_echo=$ac_try;;
  2739 esac
  2740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2741   (eval "$ac_link") 2>&5
  2742   ac_status=$?
  2743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2744   (exit $ac_status); }; then
  2745   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2746 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2747 # work properly (i.e., refer to `conftest.exe'), while it won't with
  2748 # `rm'.
  2749 for ac_file in conftest.exe conftest conftest.*; do
  2750   test -f "$ac_file" || continue
  2751   case $ac_file in
  2752     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2753     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2754 	  break;;
  2755     * ) break;;
  2756   esac
  2757 done
  2758 else
  2759   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2760 See \`config.log' for more details." >&5
  2761 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2762 See \`config.log' for more details." >&2;}
  2763    { (exit 1); exit 1; }; }
  2764 fi
  2766 rm -f conftest$ac_cv_exeext
  2767 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2768 echo "${ECHO_T}$ac_cv_exeext" >&6; }
  2770 rm -f conftest.$ac_ext
  2771 EXEEXT=$ac_cv_exeext
  2772 ac_exeext=$EXEEXT
  2773 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2774 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  2775 if test "${ac_cv_objext+set}" = set; then
  2776   echo $ECHO_N "(cached) $ECHO_C" >&6
  2777 else
  2778   cat >conftest.$ac_ext <<_ACEOF
  2779 /* confdefs.h.  */
  2780 _ACEOF
  2781 cat confdefs.h >>conftest.$ac_ext
  2782 cat >>conftest.$ac_ext <<_ACEOF
  2783 /* end confdefs.h.  */
  2785 int
  2786 main ()
  2790   return 0;
  2792 _ACEOF
  2793 rm -f conftest.o conftest.obj
  2794 if { (ac_try="$ac_compile"
  2795 case "(($ac_try" in
  2796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2797   *) ac_try_echo=$ac_try;;
  2798 esac
  2799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2800   (eval "$ac_compile") 2>&5
  2801   ac_status=$?
  2802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2803   (exit $ac_status); }; then
  2804   for ac_file in conftest.o conftest.obj conftest.*; do
  2805   test -f "$ac_file" || continue;
  2806   case $ac_file in
  2807     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  2808     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2809        break;;
  2810   esac
  2811 done
  2812 else
  2813   echo "$as_me: failed program was:" >&5
  2814 sed 's/^/| /' conftest.$ac_ext >&5
  2816 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2817 See \`config.log' for more details." >&5
  2818 echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2819 See \`config.log' for more details." >&2;}
  2820    { (exit 1); exit 1; }; }
  2821 fi
  2823 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2824 fi
  2825 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2826 echo "${ECHO_T}$ac_cv_objext" >&6; }
  2827 OBJEXT=$ac_cv_objext
  2828 ac_objext=$OBJEXT
  2829 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2830 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  2831 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2832   echo $ECHO_N "(cached) $ECHO_C" >&6
  2833 else
  2834   cat >conftest.$ac_ext <<_ACEOF
  2835 /* confdefs.h.  */
  2836 _ACEOF
  2837 cat confdefs.h >>conftest.$ac_ext
  2838 cat >>conftest.$ac_ext <<_ACEOF
  2839 /* end confdefs.h.  */
  2841 int
  2842 main ()
  2844 #ifndef __GNUC__
  2845        choke me
  2846 #endif
  2849   return 0;
  2851 _ACEOF
  2852 rm -f conftest.$ac_objext
  2853 if { (ac_try="$ac_compile"
  2854 case "(($ac_try" in
  2855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2856   *) ac_try_echo=$ac_try;;
  2857 esac
  2858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2859   (eval "$ac_compile") 2>conftest.er1
  2860   ac_status=$?
  2861   grep -v '^ *+' conftest.er1 >conftest.err
  2862   rm -f conftest.er1
  2863   cat conftest.err >&5
  2864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2865   (exit $ac_status); } &&
  2866 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2867   { (case "(($ac_try" in
  2868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2869   *) ac_try_echo=$ac_try;;
  2870 esac
  2871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2872   (eval "$ac_try") 2>&5
  2873   ac_status=$?
  2874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2875   (exit $ac_status); }; } &&
  2876 	 { ac_try='test -s conftest.$ac_objext'
  2877   { (case "(($ac_try" in
  2878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2879   *) ac_try_echo=$ac_try;;
  2880 esac
  2881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2882   (eval "$ac_try") 2>&5
  2883   ac_status=$?
  2884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2885   (exit $ac_status); }; }; then
  2886   ac_compiler_gnu=yes
  2887 else
  2888   echo "$as_me: failed program was:" >&5
  2889 sed 's/^/| /' conftest.$ac_ext >&5
  2891 	ac_compiler_gnu=no
  2892 fi
  2894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2895 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2897 fi
  2898 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2899 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  2900 GCC=`test $ac_compiler_gnu = yes && echo yes`
  2901 ac_test_CFLAGS=${CFLAGS+set}
  2902 ac_save_CFLAGS=$CFLAGS
  2903 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2904 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  2905 if test "${ac_cv_prog_cc_g+set}" = set; then
  2906   echo $ECHO_N "(cached) $ECHO_C" >&6
  2907 else
  2908   ac_save_c_werror_flag=$ac_c_werror_flag
  2909    ac_c_werror_flag=yes
  2910    ac_cv_prog_cc_g=no
  2911    CFLAGS="-g"
  2912    cat >conftest.$ac_ext <<_ACEOF
  2913 /* confdefs.h.  */
  2914 _ACEOF
  2915 cat confdefs.h >>conftest.$ac_ext
  2916 cat >>conftest.$ac_ext <<_ACEOF
  2917 /* end confdefs.h.  */
  2919 int
  2920 main ()
  2924   return 0;
  2926 _ACEOF
  2927 rm -f conftest.$ac_objext
  2928 if { (ac_try="$ac_compile"
  2929 case "(($ac_try" in
  2930   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2931   *) ac_try_echo=$ac_try;;
  2932 esac
  2933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2934   (eval "$ac_compile") 2>conftest.er1
  2935   ac_status=$?
  2936   grep -v '^ *+' conftest.er1 >conftest.err
  2937   rm -f conftest.er1
  2938   cat conftest.err >&5
  2939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2940   (exit $ac_status); } &&
  2941 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2942   { (case "(($ac_try" in
  2943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2944   *) ac_try_echo=$ac_try;;
  2945 esac
  2946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2947   (eval "$ac_try") 2>&5
  2948   ac_status=$?
  2949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2950   (exit $ac_status); }; } &&
  2951 	 { ac_try='test -s conftest.$ac_objext'
  2952   { (case "(($ac_try" in
  2953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2954   *) ac_try_echo=$ac_try;;
  2955 esac
  2956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2957   (eval "$ac_try") 2>&5
  2958   ac_status=$?
  2959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2960   (exit $ac_status); }; }; then
  2961   ac_cv_prog_cc_g=yes
  2962 else
  2963   echo "$as_me: failed program was:" >&5
  2964 sed 's/^/| /' conftest.$ac_ext >&5
  2966 	CFLAGS=""
  2967       cat >conftest.$ac_ext <<_ACEOF
  2968 /* confdefs.h.  */
  2969 _ACEOF
  2970 cat confdefs.h >>conftest.$ac_ext
  2971 cat >>conftest.$ac_ext <<_ACEOF
  2972 /* end confdefs.h.  */
  2974 int
  2975 main ()
  2979   return 0;
  2981 _ACEOF
  2982 rm -f conftest.$ac_objext
  2983 if { (ac_try="$ac_compile"
  2984 case "(($ac_try" in
  2985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2986   *) ac_try_echo=$ac_try;;
  2987 esac
  2988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2989   (eval "$ac_compile") 2>conftest.er1
  2990   ac_status=$?
  2991   grep -v '^ *+' conftest.er1 >conftest.err
  2992   rm -f conftest.er1
  2993   cat conftest.err >&5
  2994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2995   (exit $ac_status); } &&
  2996 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2997   { (case "(($ac_try" in
  2998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2999   *) ac_try_echo=$ac_try;;
  3000 esac
  3001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3002   (eval "$ac_try") 2>&5
  3003   ac_status=$?
  3004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3005   (exit $ac_status); }; } &&
  3006 	 { ac_try='test -s conftest.$ac_objext'
  3007   { (case "(($ac_try" in
  3008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3009   *) ac_try_echo=$ac_try;;
  3010 esac
  3011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3012   (eval "$ac_try") 2>&5
  3013   ac_status=$?
  3014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3015   (exit $ac_status); }; }; then
  3017 else
  3018   echo "$as_me: failed program was:" >&5
  3019 sed 's/^/| /' conftest.$ac_ext >&5
  3021 	ac_c_werror_flag=$ac_save_c_werror_flag
  3022 	 CFLAGS="-g"
  3023 	 cat >conftest.$ac_ext <<_ACEOF
  3024 /* confdefs.h.  */
  3025 _ACEOF
  3026 cat confdefs.h >>conftest.$ac_ext
  3027 cat >>conftest.$ac_ext <<_ACEOF
  3028 /* end confdefs.h.  */
  3030 int
  3031 main ()
  3035   return 0;
  3037 _ACEOF
  3038 rm -f conftest.$ac_objext
  3039 if { (ac_try="$ac_compile"
  3040 case "(($ac_try" in
  3041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3042   *) ac_try_echo=$ac_try;;
  3043 esac
  3044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3045   (eval "$ac_compile") 2>conftest.er1
  3046   ac_status=$?
  3047   grep -v '^ *+' conftest.er1 >conftest.err
  3048   rm -f conftest.er1
  3049   cat conftest.err >&5
  3050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3051   (exit $ac_status); } &&
  3052 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3053   { (case "(($ac_try" in
  3054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3055   *) ac_try_echo=$ac_try;;
  3056 esac
  3057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3058   (eval "$ac_try") 2>&5
  3059   ac_status=$?
  3060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3061   (exit $ac_status); }; } &&
  3062 	 { ac_try='test -s conftest.$ac_objext'
  3063   { (case "(($ac_try" in
  3064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3065   *) ac_try_echo=$ac_try;;
  3066 esac
  3067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3068   (eval "$ac_try") 2>&5
  3069   ac_status=$?
  3070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3071   (exit $ac_status); }; }; then
  3072   ac_cv_prog_cc_g=yes
  3073 else
  3074   echo "$as_me: failed program was:" >&5
  3075 sed 's/^/| /' conftest.$ac_ext >&5
  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 fi
  3086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3087    ac_c_werror_flag=$ac_save_c_werror_flag
  3088 fi
  3089 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3090 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  3091 if test "$ac_test_CFLAGS" = set; then
  3092   CFLAGS=$ac_save_CFLAGS
  3093 elif test $ac_cv_prog_cc_g = yes; then
  3094   if test "$GCC" = yes; then
  3095     CFLAGS="-g -O2"
  3096   else
  3097     CFLAGS="-g"
  3098   fi
  3099 else
  3100   if test "$GCC" = yes; then
  3101     CFLAGS="-O2"
  3102   else
  3103     CFLAGS=
  3104   fi
  3105 fi
  3106 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3107 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3108 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3109   echo $ECHO_N "(cached) $ECHO_C" >&6
  3110 else
  3111   ac_cv_prog_cc_c89=no
  3112 ac_save_CC=$CC
  3113 cat >conftest.$ac_ext <<_ACEOF
  3114 /* confdefs.h.  */
  3115 _ACEOF
  3116 cat confdefs.h >>conftest.$ac_ext
  3117 cat >>conftest.$ac_ext <<_ACEOF
  3118 /* end confdefs.h.  */
  3119 #include <stdarg.h>
  3120 #include <stdio.h>
  3121 #include <sys/types.h>
  3122 #include <sys/stat.h>
  3123 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3124 struct buf { int x; };
  3125 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3126 static char *e (p, i)
  3127      char **p;
  3128      int i;
  3130   return p[i];
  3132 static char *f (char * (*g) (char **, int), char **p, ...)
  3134   char *s;
  3135   va_list v;
  3136   va_start (v,p);
  3137   s = g (p, va_arg (v,int));
  3138   va_end (v);
  3139   return s;
  3142 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3143    function prototypes and stuff, but not '\xHH' hex character constants.
  3144    These don't provoke an error unfortunately, instead are silently treated
  3145    as 'x'.  The following induces an error, until -std is added to get
  3146    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3147    array size at least.  It's necessary to write '\x00'==0 to get something
  3148    that's true only with -std.  */
  3149 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3151 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3152    inside strings and character constants.  */
  3153 #define FOO(x) 'x'
  3154 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3156 int test (int i, double x);
  3157 struct s1 {int (*f) (int a);};
  3158 struct s2 {int (*f) (double a);};
  3159 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3160 int argc;
  3161 char **argv;
  3162 int
  3163 main ()
  3165 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3167   return 0;
  3169 _ACEOF
  3170 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3171 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3172 do
  3173   CC="$ac_save_CC $ac_arg"
  3174   rm -f conftest.$ac_objext
  3175 if { (ac_try="$ac_compile"
  3176 case "(($ac_try" in
  3177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3178   *) ac_try_echo=$ac_try;;
  3179 esac
  3180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3181   (eval "$ac_compile") 2>conftest.er1
  3182   ac_status=$?
  3183   grep -v '^ *+' conftest.er1 >conftest.err
  3184   rm -f conftest.er1
  3185   cat conftest.err >&5
  3186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3187   (exit $ac_status); } &&
  3188 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3189   { (case "(($ac_try" in
  3190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3191   *) ac_try_echo=$ac_try;;
  3192 esac
  3193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3194   (eval "$ac_try") 2>&5
  3195   ac_status=$?
  3196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3197   (exit $ac_status); }; } &&
  3198 	 { ac_try='test -s conftest.$ac_objext'
  3199   { (case "(($ac_try" in
  3200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3201   *) ac_try_echo=$ac_try;;
  3202 esac
  3203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3204   (eval "$ac_try") 2>&5
  3205   ac_status=$?
  3206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3207   (exit $ac_status); }; }; then
  3208   ac_cv_prog_cc_c89=$ac_arg
  3209 else
  3210   echo "$as_me: failed program was:" >&5
  3211 sed 's/^/| /' conftest.$ac_ext >&5
  3214 fi
  3216 rm -f core conftest.err conftest.$ac_objext
  3217   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3218 done
  3219 rm -f conftest.$ac_ext
  3220 CC=$ac_save_CC
  3222 fi
  3223 # AC_CACHE_VAL
  3224 case "x$ac_cv_prog_cc_c89" in
  3225   x)
  3226     { echo "$as_me:$LINENO: result: none needed" >&5
  3227 echo "${ECHO_T}none needed" >&6; } ;;
  3228   xno)
  3229     { echo "$as_me:$LINENO: result: unsupported" >&5
  3230 echo "${ECHO_T}unsupported" >&6; } ;;
  3231   *)
  3232     CC="$CC $ac_cv_prog_cc_c89"
  3233     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3234 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  3235 esac
  3238 ac_ext=c
  3239 ac_cpp='$CPP $CPPFLAGS'
  3240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3244 depcc="$CC"   am_compiler_list=
  3246 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3247 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  3248 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3249   echo $ECHO_N "(cached) $ECHO_C" >&6
  3250 else
  3251   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3252   # We make a subdir and do the tests there.  Otherwise we can end up
  3253   # making bogus files that we don't know about and never remove.  For
  3254   # instance it was reported that on HP-UX the gcc test will end up
  3255   # making a dummy file named `D' -- because `-MD' means `put the output
  3256   # in D'.
  3257   mkdir conftest.dir
  3258   # Copy depcomp to subdir because otherwise we won't find it if we're
  3259   # using a relative directory.
  3260   cp "$am_depcomp" conftest.dir
  3261   cd conftest.dir
  3262   # We will build objects and dependencies in a subdirectory because
  3263   # it helps to detect inapplicable dependency modes.  For instance
  3264   # both Tru64's cc and ICC support -MD to output dependencies as a
  3265   # side effect of compilation, but ICC will put the dependencies in
  3266   # the current directory while Tru64 will put them in the object
  3267   # directory.
  3268   mkdir sub
  3270   am_cv_CC_dependencies_compiler_type=none
  3271   if test "$am_compiler_list" = ""; then
  3272      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3273   fi
  3274   for depmode in $am_compiler_list; do
  3275     # Setup a source with many dependencies, because some compilers
  3276     # like to wrap large dependency lists on column 80 (with \), and
  3277     # we should not choose a depcomp mode which is confused by this.
  3279     # We need to recreate these files for each test, as the compiler may
  3280     # overwrite some of them when testing with obscure command lines.
  3281     # This happens at least with the AIX C compiler.
  3282     : > sub/conftest.c
  3283     for i in 1 2 3 4 5 6; do
  3284       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3285       : > sub/conftst$i.h
  3286     done
  3287     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3289     case $depmode in
  3290     nosideeffect)
  3291       # after this tag, mechanisms are not by side-effect, so they'll
  3292       # only be used when explicitly requested
  3293       if test "x$enable_dependency_tracking" = xyes; then
  3294 	continue
  3295       else
  3296 	break
  3297       fi
  3298       ;;
  3299     none) break ;;
  3300     esac
  3301     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3302     # mode.  It turns out that the SunPro C++ compiler does not properly
  3303     # handle `-M -o', and we need to detect this.
  3304     if depmode=$depmode \
  3305        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3306        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3307        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3308          >/dev/null 2>conftest.err &&
  3309        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3310        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3311        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3312       # icc doesn't choke on unknown options, it will just issue warnings
  3313       # (even with -Werror).  So we grep stderr for any message
  3314       # that says an option was ignored.
  3315       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
  3316         am_cv_CC_dependencies_compiler_type=$depmode
  3317         break
  3318       fi
  3319     fi
  3320   done
  3322   cd ..
  3323   rm -rf conftest.dir
  3324 else
  3325   am_cv_CC_dependencies_compiler_type=none
  3326 fi
  3328 fi
  3329 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3330 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  3331 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3335 if
  3336   test "x$enable_dependency_tracking" != xno \
  3337   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3338   am__fastdepCC_TRUE=
  3339   am__fastdepCC_FALSE='#'
  3340 else
  3341   am__fastdepCC_TRUE='#'
  3342   am__fastdepCC_FALSE=
  3343 fi
  3347 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
  3348 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
  3349 if test "${ac_cv_search_strerror+set}" = set; then
  3350   echo $ECHO_N "(cached) $ECHO_C" >&6
  3351 else
  3352   ac_func_search_save_LIBS=$LIBS
  3353 cat >conftest.$ac_ext <<_ACEOF
  3354 /* confdefs.h.  */
  3355 _ACEOF
  3356 cat confdefs.h >>conftest.$ac_ext
  3357 cat >>conftest.$ac_ext <<_ACEOF
  3358 /* end confdefs.h.  */
  3360 /* Override any GCC internal prototype to avoid an error.
  3361    Use char because int might match the return type of a GCC
  3362    builtin and then its argument prototype would still apply.  */
  3363 #ifdef __cplusplus
  3364 extern "C"
  3365 #endif
  3366 char strerror ();
  3367 int
  3368 main ()
  3370 return strerror ();
  3372   return 0;
  3374 _ACEOF
  3375 for ac_lib in '' cposix; do
  3376   if test -z "$ac_lib"; then
  3377     ac_res="none required"
  3378   else
  3379     ac_res=-l$ac_lib
  3380     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
  3381   fi
  3382   rm -f conftest.$ac_objext conftest$ac_exeext
  3383 if { (ac_try="$ac_link"
  3384 case "(($ac_try" in
  3385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3386   *) ac_try_echo=$ac_try;;
  3387 esac
  3388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3389   (eval "$ac_link") 2>conftest.er1
  3390   ac_status=$?
  3391   grep -v '^ *+' conftest.er1 >conftest.err
  3392   rm -f conftest.er1
  3393   cat conftest.err >&5
  3394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3395   (exit $ac_status); } &&
  3396 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3397   { (case "(($ac_try" in
  3398   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3399   *) ac_try_echo=$ac_try;;
  3400 esac
  3401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3402   (eval "$ac_try") 2>&5
  3403   ac_status=$?
  3404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3405   (exit $ac_status); }; } &&
  3406 	 { ac_try='test -s conftest$ac_exeext'
  3407   { (case "(($ac_try" in
  3408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3409   *) ac_try_echo=$ac_try;;
  3410 esac
  3411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3412   (eval "$ac_try") 2>&5
  3413   ac_status=$?
  3414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3415   (exit $ac_status); }; }; then
  3416   ac_cv_search_strerror=$ac_res
  3417 else
  3418   echo "$as_me: failed program was:" >&5
  3419 sed 's/^/| /' conftest.$ac_ext >&5
  3422 fi
  3424 rm -f core conftest.err conftest.$ac_objext \
  3425       conftest$ac_exeext
  3426   if test "${ac_cv_search_strerror+set}" = set; then
  3427   break
  3428 fi
  3429 done
  3430 if test "${ac_cv_search_strerror+set}" = set; then
  3432 else
  3433   ac_cv_search_strerror=no
  3434 fi
  3435 rm conftest.$ac_ext
  3436 LIBS=$ac_func_search_save_LIBS
  3437 fi
  3438 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
  3439 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
  3440 ac_res=$ac_cv_search_strerror
  3441 if test "$ac_res" != no; then
  3442   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  3444 fi
  3446 ac_ext=c
  3447 ac_cpp='$CPP $CPPFLAGS'
  3448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3451 if test -n "$ac_tool_prefix"; then
  3452   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3453 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3456 if test "${ac_cv_prog_CC+set}" = set; then
  3457   echo $ECHO_N "(cached) $ECHO_C" >&6
  3458 else
  3459   if test -n "$CC"; then
  3460   ac_cv_prog_CC="$CC" # Let the user override the test.
  3461 else
  3462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3463 for as_dir in $PATH
  3464 do
  3465   IFS=$as_save_IFS
  3466   test -z "$as_dir" && as_dir=.
  3467   for ac_exec_ext in '' $ac_executable_extensions; do
  3468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  3469     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3470     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3471     break 2
  3472   fi
  3473 done
  3474 done
  3475 IFS=$as_save_IFS
  3477 fi
  3478 fi
  3479 CC=$ac_cv_prog_CC
  3480 if test -n "$CC"; then
  3481   { echo "$as_me:$LINENO: result: $CC" >&5
  3482 echo "${ECHO_T}$CC" >&6; }
  3483 else
  3484   { echo "$as_me:$LINENO: result: no" >&5
  3485 echo "${ECHO_T}no" >&6; }
  3486 fi
  3489 fi
  3490 if test -z "$ac_cv_prog_CC"; then
  3491   ac_ct_CC=$CC
  3492   # Extract the first word of "gcc", so it can be a program name with args.
  3493 set dummy gcc; ac_word=$2
  3494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3496 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3497   echo $ECHO_N "(cached) $ECHO_C" >&6
  3498 else
  3499   if test -n "$ac_ct_CC"; then
  3500   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3501 else
  3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3503 for as_dir in $PATH
  3504 do
  3505   IFS=$as_save_IFS
  3506   test -z "$as_dir" && as_dir=.
  3507   for ac_exec_ext in '' $ac_executable_extensions; do
  3508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  3509     ac_cv_prog_ac_ct_CC="gcc"
  3510     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3511     break 2
  3512   fi
  3513 done
  3514 done
  3515 IFS=$as_save_IFS
  3517 fi
  3518 fi
  3519 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3520 if test -n "$ac_ct_CC"; then
  3521   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3522 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3523 else
  3524   { echo "$as_me:$LINENO: result: no" >&5
  3525 echo "${ECHO_T}no" >&6; }
  3526 fi
  3528   if test "x$ac_ct_CC" = x; then
  3529     CC=""
  3530   else
  3531     case $cross_compiling:$ac_tool_warned in
  3532 yes:)
  3533 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3534 whose name does not start with the host triplet.  If you think this
  3535 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3536 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3537 whose name does not start with the host triplet.  If you think this
  3538 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3539 ac_tool_warned=yes ;;
  3540 esac
  3541     CC=$ac_ct_CC
  3542   fi
  3543 else
  3544   CC="$ac_cv_prog_CC"
  3545 fi
  3547 if test -z "$CC"; then
  3548           if test -n "$ac_tool_prefix"; then
  3549     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3550 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3553 if test "${ac_cv_prog_CC+set}" = set; then
  3554   echo $ECHO_N "(cached) $ECHO_C" >&6
  3555 else
  3556   if test -n "$CC"; then
  3557   ac_cv_prog_CC="$CC" # Let the user override the test.
  3558 else
  3559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3560 for as_dir in $PATH
  3561 do
  3562   IFS=$as_save_IFS
  3563   test -z "$as_dir" && as_dir=.
  3564   for ac_exec_ext in '' $ac_executable_extensions; do
  3565   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  3566     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3567     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3568     break 2
  3569   fi
  3570 done
  3571 done
  3572 IFS=$as_save_IFS
  3574 fi
  3575 fi
  3576 CC=$ac_cv_prog_CC
  3577 if test -n "$CC"; then
  3578   { echo "$as_me:$LINENO: result: $CC" >&5
  3579 echo "${ECHO_T}$CC" >&6; }
  3580 else
  3581   { echo "$as_me:$LINENO: result: no" >&5
  3582 echo "${ECHO_T}no" >&6; }
  3583 fi
  3586   fi
  3587 fi
  3588 if test -z "$CC"; then
  3589   # Extract the first word of "cc", so it can be a program name with args.
  3590 set dummy cc; ac_word=$2
  3591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3593 if test "${ac_cv_prog_CC+set}" = set; then
  3594   echo $ECHO_N "(cached) $ECHO_C" >&6
  3595 else
  3596   if test -n "$CC"; then
  3597   ac_cv_prog_CC="$CC" # Let the user override the test.
  3598 else
  3599   ac_prog_rejected=no
  3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3601 for as_dir in $PATH
  3602 do
  3603   IFS=$as_save_IFS
  3604   test -z "$as_dir" && as_dir=.
  3605   for ac_exec_ext in '' $ac_executable_extensions; do
  3606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  3607     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3608        ac_prog_rejected=yes
  3609        continue
  3610      fi
  3611     ac_cv_prog_CC="cc"
  3612     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3613     break 2
  3614   fi
  3615 done
  3616 done
  3617 IFS=$as_save_IFS
  3619 if test $ac_prog_rejected = yes; then
  3620   # We found a bogon in the path, so make sure we never use it.
  3621   set dummy $ac_cv_prog_CC
  3622   shift
  3623   if test $# != 0; then
  3624     # We chose a different compiler from the bogus one.
  3625     # However, it has the same basename, so the bogon will be chosen
  3626     # first if we set CC to just the basename; use the full file name.
  3627     shift
  3628     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3629   fi
  3630 fi
  3631 fi
  3632 fi
  3633 CC=$ac_cv_prog_CC
  3634 if test -n "$CC"; then
  3635   { echo "$as_me:$LINENO: result: $CC" >&5
  3636 echo "${ECHO_T}$CC" >&6; }
  3637 else
  3638   { echo "$as_me:$LINENO: result: no" >&5
  3639 echo "${ECHO_T}no" >&6; }
  3640 fi
  3643 fi
  3644 if test -z "$CC"; then
  3645   if test -n "$ac_tool_prefix"; then
  3646   for ac_prog in cl.exe
  3647   do
  3648     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3649 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3652 if test "${ac_cv_prog_CC+set}" = set; then
  3653   echo $ECHO_N "(cached) $ECHO_C" >&6
  3654 else
  3655   if test -n "$CC"; then
  3656   ac_cv_prog_CC="$CC" # Let the user override the test.
  3657 else
  3658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3659 for as_dir in $PATH
  3660 do
  3661   IFS=$as_save_IFS
  3662   test -z "$as_dir" && as_dir=.
  3663   for ac_exec_ext in '' $ac_executable_extensions; do
  3664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  3665     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3666     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3667     break 2
  3668   fi
  3669 done
  3670 done
  3671 IFS=$as_save_IFS
  3673 fi
  3674 fi
  3675 CC=$ac_cv_prog_CC
  3676 if test -n "$CC"; then
  3677   { echo "$as_me:$LINENO: result: $CC" >&5
  3678 echo "${ECHO_T}$CC" >&6; }
  3679 else
  3680   { echo "$as_me:$LINENO: result: no" >&5
  3681 echo "${ECHO_T}no" >&6; }
  3682 fi
  3685     test -n "$CC" && break
  3686   done
  3687 fi
  3688 if test -z "$CC"; then
  3689   ac_ct_CC=$CC
  3690   for ac_prog in cl.exe
  3691 do
  3692   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3693 set dummy $ac_prog; ac_word=$2
  3694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3696 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3697   echo $ECHO_N "(cached) $ECHO_C" >&6
  3698 else
  3699   if test -n "$ac_ct_CC"; then
  3700   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3701 else
  3702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3703 for as_dir in $PATH
  3704 do
  3705   IFS=$as_save_IFS
  3706   test -z "$as_dir" && as_dir=.
  3707   for ac_exec_ext in '' $ac_executable_extensions; do
  3708   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  3709     ac_cv_prog_ac_ct_CC="$ac_prog"
  3710     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3711     break 2
  3712   fi
  3713 done
  3714 done
  3715 IFS=$as_save_IFS
  3717 fi
  3718 fi
  3719 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3720 if test -n "$ac_ct_CC"; then
  3721   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3722 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3723 else
  3724   { echo "$as_me:$LINENO: result: no" >&5
  3725 echo "${ECHO_T}no" >&6; }
  3726 fi
  3729   test -n "$ac_ct_CC" && break
  3730 done
  3732   if test "x$ac_ct_CC" = x; then
  3733     CC=""
  3734   else
  3735     case $cross_compiling:$ac_tool_warned in
  3736 yes:)
  3737 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3738 whose name does not start with the host triplet.  If you think this
  3739 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3740 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3741 whose name does not start with the host triplet.  If you think this
  3742 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3743 ac_tool_warned=yes ;;
  3744 esac
  3745     CC=$ac_ct_CC
  3746   fi
  3747 fi
  3749 fi
  3752 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3753 See \`config.log' for more details." >&5
  3754 echo "$as_me: error: no acceptable C compiler found in \$PATH
  3755 See \`config.log' for more details." >&2;}
  3756    { (exit 1); exit 1; }; }
  3758 # Provide some information about the compiler.
  3759 echo "$as_me:$LINENO: checking for C compiler version" >&5
  3760 ac_compiler=`set X $ac_compile; echo $2`
  3761 { (ac_try="$ac_compiler --version >&5"
  3762 case "(($ac_try" in
  3763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3764   *) ac_try_echo=$ac_try;;
  3765 esac
  3766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3767   (eval "$ac_compiler --version >&5") 2>&5
  3768   ac_status=$?
  3769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3770   (exit $ac_status); }
  3771 { (ac_try="$ac_compiler -v >&5"
  3772 case "(($ac_try" in
  3773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3774   *) ac_try_echo=$ac_try;;
  3775 esac
  3776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3777   (eval "$ac_compiler -v >&5") 2>&5
  3778   ac_status=$?
  3779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3780   (exit $ac_status); }
  3781 { (ac_try="$ac_compiler -V >&5"
  3782 case "(($ac_try" in
  3783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3784   *) ac_try_echo=$ac_try;;
  3785 esac
  3786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3787   (eval "$ac_compiler -V >&5") 2>&5
  3788   ac_status=$?
  3789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3790   (exit $ac_status); }
  3792 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3793 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  3794 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3795   echo $ECHO_N "(cached) $ECHO_C" >&6
  3796 else
  3797   cat >conftest.$ac_ext <<_ACEOF
  3798 /* confdefs.h.  */
  3799 _ACEOF
  3800 cat confdefs.h >>conftest.$ac_ext
  3801 cat >>conftest.$ac_ext <<_ACEOF
  3802 /* end confdefs.h.  */
  3804 int
  3805 main ()
  3807 #ifndef __GNUC__
  3808        choke me
  3809 #endif
  3812   return 0;
  3814 _ACEOF
  3815 rm -f conftest.$ac_objext
  3816 if { (ac_try="$ac_compile"
  3817 case "(($ac_try" in
  3818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3819   *) ac_try_echo=$ac_try;;
  3820 esac
  3821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3822   (eval "$ac_compile") 2>conftest.er1
  3823   ac_status=$?
  3824   grep -v '^ *+' conftest.er1 >conftest.err
  3825   rm -f conftest.er1
  3826   cat conftest.err >&5
  3827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3828   (exit $ac_status); } &&
  3829 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3830   { (case "(($ac_try" in
  3831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3832   *) ac_try_echo=$ac_try;;
  3833 esac
  3834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3835   (eval "$ac_try") 2>&5
  3836   ac_status=$?
  3837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3838   (exit $ac_status); }; } &&
  3839 	 { ac_try='test -s conftest.$ac_objext'
  3840   { (case "(($ac_try" in
  3841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3842   *) ac_try_echo=$ac_try;;
  3843 esac
  3844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3845   (eval "$ac_try") 2>&5
  3846   ac_status=$?
  3847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3848   (exit $ac_status); }; }; then
  3849   ac_compiler_gnu=yes
  3850 else
  3851   echo "$as_me: failed program was:" >&5
  3852 sed 's/^/| /' conftest.$ac_ext >&5
  3854 	ac_compiler_gnu=no
  3855 fi
  3857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3858 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3860 fi
  3861 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3862 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  3863 GCC=`test $ac_compiler_gnu = yes && echo yes`
  3864 ac_test_CFLAGS=${CFLAGS+set}
  3865 ac_save_CFLAGS=$CFLAGS
  3866 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3867 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  3868 if test "${ac_cv_prog_cc_g+set}" = set; then
  3869   echo $ECHO_N "(cached) $ECHO_C" >&6
  3870 else
  3871   ac_save_c_werror_flag=$ac_c_werror_flag
  3872    ac_c_werror_flag=yes
  3873    ac_cv_prog_cc_g=no
  3874    CFLAGS="-g"
  3875    cat >conftest.$ac_ext <<_ACEOF
  3876 /* confdefs.h.  */
  3877 _ACEOF
  3878 cat confdefs.h >>conftest.$ac_ext
  3879 cat >>conftest.$ac_ext <<_ACEOF
  3880 /* end confdefs.h.  */
  3882 int
  3883 main ()
  3887   return 0;
  3889 _ACEOF
  3890 rm -f conftest.$ac_objext
  3891 if { (ac_try="$ac_compile"
  3892 case "(($ac_try" in
  3893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3894   *) ac_try_echo=$ac_try;;
  3895 esac
  3896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3897   (eval "$ac_compile") 2>conftest.er1
  3898   ac_status=$?
  3899   grep -v '^ *+' conftest.er1 >conftest.err
  3900   rm -f conftest.er1
  3901   cat conftest.err >&5
  3902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3903   (exit $ac_status); } &&
  3904 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3905   { (case "(($ac_try" in
  3906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3907   *) ac_try_echo=$ac_try;;
  3908 esac
  3909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3910   (eval "$ac_try") 2>&5
  3911   ac_status=$?
  3912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3913   (exit $ac_status); }; } &&
  3914 	 { ac_try='test -s conftest.$ac_objext'
  3915   { (case "(($ac_try" in
  3916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3917   *) ac_try_echo=$ac_try;;
  3918 esac
  3919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3920   (eval "$ac_try") 2>&5
  3921   ac_status=$?
  3922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3923   (exit $ac_status); }; }; then
  3924   ac_cv_prog_cc_g=yes
  3925 else
  3926   echo "$as_me: failed program was:" >&5
  3927 sed 's/^/| /' conftest.$ac_ext >&5
  3929 	CFLAGS=""
  3930       cat >conftest.$ac_ext <<_ACEOF
  3931 /* confdefs.h.  */
  3932 _ACEOF
  3933 cat confdefs.h >>conftest.$ac_ext
  3934 cat >>conftest.$ac_ext <<_ACEOF
  3935 /* end confdefs.h.  */
  3937 int
  3938 main ()
  3942   return 0;
  3944 _ACEOF
  3945 rm -f conftest.$ac_objext
  3946 if { (ac_try="$ac_compile"
  3947 case "(($ac_try" in
  3948   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3949   *) ac_try_echo=$ac_try;;
  3950 esac
  3951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3952   (eval "$ac_compile") 2>conftest.er1
  3953   ac_status=$?
  3954   grep -v '^ *+' conftest.er1 >conftest.err
  3955   rm -f conftest.er1
  3956   cat conftest.err >&5
  3957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3958   (exit $ac_status); } &&
  3959 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3960   { (case "(($ac_try" in
  3961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3962   *) ac_try_echo=$ac_try;;
  3963 esac
  3964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3965   (eval "$ac_try") 2>&5
  3966   ac_status=$?
  3967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3968   (exit $ac_status); }; } &&
  3969 	 { ac_try='test -s conftest.$ac_objext'
  3970   { (case "(($ac_try" in
  3971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3972   *) ac_try_echo=$ac_try;;
  3973 esac
  3974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3975   (eval "$ac_try") 2>&5
  3976   ac_status=$?
  3977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3978   (exit $ac_status); }; }; then
  3980 else
  3981   echo "$as_me: failed program was:" >&5
  3982 sed 's/^/| /' conftest.$ac_ext >&5
  3984 	ac_c_werror_flag=$ac_save_c_werror_flag
  3985 	 CFLAGS="-g"
  3986 	 cat >conftest.$ac_ext <<_ACEOF
  3987 /* confdefs.h.  */
  3988 _ACEOF
  3989 cat confdefs.h >>conftest.$ac_ext
  3990 cat >>conftest.$ac_ext <<_ACEOF
  3991 /* end confdefs.h.  */
  3993 int
  3994 main ()
  3998   return 0;
  4000 _ACEOF
  4001 rm -f conftest.$ac_objext
  4002 if { (ac_try="$ac_compile"
  4003 case "(($ac_try" in
  4004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4005   *) ac_try_echo=$ac_try;;
  4006 esac
  4007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4008   (eval "$ac_compile") 2>conftest.er1
  4009   ac_status=$?
  4010   grep -v '^ *+' conftest.er1 >conftest.err
  4011   rm -f conftest.er1
  4012   cat conftest.err >&5
  4013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4014   (exit $ac_status); } &&
  4015 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4016   { (case "(($ac_try" in
  4017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4018   *) ac_try_echo=$ac_try;;
  4019 esac
  4020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4021   (eval "$ac_try") 2>&5
  4022   ac_status=$?
  4023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4024   (exit $ac_status); }; } &&
  4025 	 { ac_try='test -s conftest.$ac_objext'
  4026   { (case "(($ac_try" in
  4027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4028   *) ac_try_echo=$ac_try;;
  4029 esac
  4030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4031   (eval "$ac_try") 2>&5
  4032   ac_status=$?
  4033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4034   (exit $ac_status); }; }; then
  4035   ac_cv_prog_cc_g=yes
  4036 else
  4037   echo "$as_me: failed program was:" >&5
  4038 sed 's/^/| /' conftest.$ac_ext >&5
  4041 fi
  4043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4044 fi
  4046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4047 fi
  4049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4050    ac_c_werror_flag=$ac_save_c_werror_flag
  4051 fi
  4052 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4053 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  4054 if test "$ac_test_CFLAGS" = set; then
  4055   CFLAGS=$ac_save_CFLAGS
  4056 elif test $ac_cv_prog_cc_g = yes; then
  4057   if test "$GCC" = yes; then
  4058     CFLAGS="-g -O2"
  4059   else
  4060     CFLAGS="-g"
  4061   fi
  4062 else
  4063   if test "$GCC" = yes; then
  4064     CFLAGS="-O2"
  4065   else
  4066     CFLAGS=
  4067   fi
  4068 fi
  4069 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4070 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  4071 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4072   echo $ECHO_N "(cached) $ECHO_C" >&6
  4073 else
  4074   ac_cv_prog_cc_c89=no
  4075 ac_save_CC=$CC
  4076 cat >conftest.$ac_ext <<_ACEOF
  4077 /* confdefs.h.  */
  4078 _ACEOF
  4079 cat confdefs.h >>conftest.$ac_ext
  4080 cat >>conftest.$ac_ext <<_ACEOF
  4081 /* end confdefs.h.  */
  4082 #include <stdarg.h>
  4083 #include <stdio.h>
  4084 #include <sys/types.h>
  4085 #include <sys/stat.h>
  4086 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4087 struct buf { int x; };
  4088 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4089 static char *e (p, i)
  4090      char **p;
  4091      int i;
  4093   return p[i];
  4095 static char *f (char * (*g) (char **, int), char **p, ...)
  4097   char *s;
  4098   va_list v;
  4099   va_start (v,p);
  4100   s = g (p, va_arg (v,int));
  4101   va_end (v);
  4102   return s;
  4105 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4106    function prototypes and stuff, but not '\xHH' hex character constants.
  4107    These don't provoke an error unfortunately, instead are silently treated
  4108    as 'x'.  The following induces an error, until -std is added to get
  4109    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4110    array size at least.  It's necessary to write '\x00'==0 to get something
  4111    that's true only with -std.  */
  4112 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4114 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4115    inside strings and character constants.  */
  4116 #define FOO(x) 'x'
  4117 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4119 int test (int i, double x);
  4120 struct s1 {int (*f) (int a);};
  4121 struct s2 {int (*f) (double a);};
  4122 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4123 int argc;
  4124 char **argv;
  4125 int
  4126 main ()
  4128 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4130   return 0;
  4132 _ACEOF
  4133 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4134 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4135 do
  4136   CC="$ac_save_CC $ac_arg"
  4137   rm -f conftest.$ac_objext
  4138 if { (ac_try="$ac_compile"
  4139 case "(($ac_try" in
  4140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4141   *) ac_try_echo=$ac_try;;
  4142 esac
  4143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4144   (eval "$ac_compile") 2>conftest.er1
  4145   ac_status=$?
  4146   grep -v '^ *+' conftest.er1 >conftest.err
  4147   rm -f conftest.er1
  4148   cat conftest.err >&5
  4149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4150   (exit $ac_status); } &&
  4151 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4152   { (case "(($ac_try" in
  4153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4154   *) ac_try_echo=$ac_try;;
  4155 esac
  4156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4157   (eval "$ac_try") 2>&5
  4158   ac_status=$?
  4159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4160   (exit $ac_status); }; } &&
  4161 	 { ac_try='test -s conftest.$ac_objext'
  4162   { (case "(($ac_try" in
  4163   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4164   *) ac_try_echo=$ac_try;;
  4165 esac
  4166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4167   (eval "$ac_try") 2>&5
  4168   ac_status=$?
  4169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4170   (exit $ac_status); }; }; then
  4171   ac_cv_prog_cc_c89=$ac_arg
  4172 else
  4173   echo "$as_me: failed program was:" >&5
  4174 sed 's/^/| /' conftest.$ac_ext >&5
  4177 fi
  4179 rm -f core conftest.err conftest.$ac_objext
  4180   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4181 done
  4182 rm -f conftest.$ac_ext
  4183 CC=$ac_save_CC
  4185 fi
  4186 # AC_CACHE_VAL
  4187 case "x$ac_cv_prog_cc_c89" in
  4188   x)
  4189     { echo "$as_me:$LINENO: result: none needed" >&5
  4190 echo "${ECHO_T}none needed" >&6; } ;;
  4191   xno)
  4192     { echo "$as_me:$LINENO: result: unsupported" >&5
  4193 echo "${ECHO_T}unsupported" >&6; } ;;
  4194   *)
  4195     CC="$CC $ac_cv_prog_cc_c89"
  4196     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4197 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  4198 esac
  4201 ac_ext=c
  4202 ac_cpp='$CPP $CPPFLAGS'
  4203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4207 depcc="$CC"   am_compiler_list=
  4209 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4210 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  4211 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4212   echo $ECHO_N "(cached) $ECHO_C" >&6
  4213 else
  4214   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4215   # We make a subdir and do the tests there.  Otherwise we can end up
  4216   # making bogus files that we don't know about and never remove.  For
  4217   # instance it was reported that on HP-UX the gcc test will end up
  4218   # making a dummy file named `D' -- because `-MD' means `put the output
  4219   # in D'.
  4220   mkdir conftest.dir
  4221   # Copy depcomp to subdir because otherwise we won't find it if we're
  4222   # using a relative directory.
  4223   cp "$am_depcomp" conftest.dir
  4224   cd conftest.dir
  4225   # We will build objects and dependencies in a subdirectory because
  4226   # it helps to detect inapplicable dependency modes.  For instance
  4227   # both Tru64's cc and ICC support -MD to output dependencies as a
  4228   # side effect of compilation, but ICC will put the dependencies in
  4229   # the current directory while Tru64 will put them in the object
  4230   # directory.
  4231   mkdir sub
  4233   am_cv_CC_dependencies_compiler_type=none
  4234   if test "$am_compiler_list" = ""; then
  4235      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4236   fi
  4237   for depmode in $am_compiler_list; do
  4238     # Setup a source with many dependencies, because some compilers
  4239     # like to wrap large dependency lists on column 80 (with \), and
  4240     # we should not choose a depcomp mode which is confused by this.
  4242     # We need to recreate these files for each test, as the compiler may
  4243     # overwrite some of them when testing with obscure command lines.
  4244     # This happens at least with the AIX C compiler.
  4245     : > sub/conftest.c
  4246     for i in 1 2 3 4 5 6; do
  4247       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4248       : > sub/conftst$i.h
  4249     done
  4250     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4252     case $depmode in
  4253     nosideeffect)
  4254       # after this tag, mechanisms are not by side-effect, so they'll
  4255       # only be used when explicitly requested
  4256       if test "x$enable_dependency_tracking" = xyes; then
  4257 	continue
  4258       else
  4259 	break
  4260       fi
  4261       ;;
  4262     none) break ;;
  4263     esac
  4264     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4265     # mode.  It turns out that the SunPro C++ compiler does not properly
  4266     # handle `-M -o', and we need to detect this.
  4267     if depmode=$depmode \
  4268        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4269        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4270        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4271          >/dev/null 2>conftest.err &&
  4272        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4273        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4274        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4275       # icc doesn't choke on unknown options, it will just issue warnings
  4276       # (even with -Werror).  So we grep stderr for any message
  4277       # that says an option was ignored.
  4278       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
  4279         am_cv_CC_dependencies_compiler_type=$depmode
  4280         break
  4281       fi
  4282     fi
  4283   done
  4285   cd ..
  4286   rm -rf conftest.dir
  4287 else
  4288   am_cv_CC_dependencies_compiler_type=none
  4289 fi
  4291 fi
  4292 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4293 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  4294 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4298 if
  4299   test "x$enable_dependency_tracking" != xno \
  4300   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4301   am__fastdepCC_TRUE=
  4302   am__fastdepCC_FALSE='#'
  4303 else
  4304   am__fastdepCC_TRUE='#'
  4305   am__fastdepCC_FALSE=
  4306 fi
  4312 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
  4313 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
  4314 if test "${am_cv_prog_cc_stdc+set}" = set; then
  4315   echo $ECHO_N "(cached) $ECHO_C" >&6
  4316 else
  4317   am_cv_prog_cc_stdc=no
  4318 ac_save_CC="$CC"
  4319 # Don't try gcc -ansi; that turns off useful extensions and
  4320 # breaks some systems' header files.
  4321 # AIX			-qlanglvl=ansi
  4322 # Ultrix and OSF/1	-std1
  4323 # HP-UX 10.20 and later	-Ae
  4324 # HP-UX older versions	-Aa -D_HPUX_SOURCE
  4325 # SVR4			-Xc -D__EXTENSIONS__
  4326 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4327 do
  4328   CC="$ac_save_CC $ac_arg"
  4329   cat >conftest.$ac_ext <<_ACEOF
  4330 /* confdefs.h.  */
  4331 _ACEOF
  4332 cat confdefs.h >>conftest.$ac_ext
  4333 cat >>conftest.$ac_ext <<_ACEOF
  4334 /* end confdefs.h.  */
  4335 #include <stdarg.h>
  4336 #include <stdio.h>
  4337 #include <sys/types.h>
  4338 #include <sys/stat.h>
  4339 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4340 struct buf { int x; };
  4341 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4342 static char *e (p, i)
  4343      char **p;
  4344      int i;
  4346   return p[i];
  4348 static char *f (char * (*g) (char **, int), char **p, ...)
  4350   char *s;
  4351   va_list v;
  4352   va_start (v,p);
  4353   s = g (p, va_arg (v,int));
  4354   va_end (v);
  4355   return s;
  4357 int test (int i, double x);
  4358 struct s1 {int (*f) (int a);};
  4359 struct s2 {int (*f) (double a);};
  4360 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4361 int argc;
  4362 char **argv;
  4364 int
  4365 main ()
  4368 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4371   return 0;
  4373 _ACEOF
  4374 rm -f conftest.$ac_objext
  4375 if { (ac_try="$ac_compile"
  4376 case "(($ac_try" in
  4377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4378   *) ac_try_echo=$ac_try;;
  4379 esac
  4380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4381   (eval "$ac_compile") 2>conftest.er1
  4382   ac_status=$?
  4383   grep -v '^ *+' conftest.er1 >conftest.err
  4384   rm -f conftest.er1
  4385   cat conftest.err >&5
  4386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4387   (exit $ac_status); } &&
  4388 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4389   { (case "(($ac_try" in
  4390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4391   *) ac_try_echo=$ac_try;;
  4392 esac
  4393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4394   (eval "$ac_try") 2>&5
  4395   ac_status=$?
  4396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4397   (exit $ac_status); }; } &&
  4398 	 { ac_try='test -s conftest.$ac_objext'
  4399   { (case "(($ac_try" in
  4400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4401   *) ac_try_echo=$ac_try;;
  4402 esac
  4403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4404   (eval "$ac_try") 2>&5
  4405   ac_status=$?
  4406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4407   (exit $ac_status); }; }; then
  4408   am_cv_prog_cc_stdc="$ac_arg"; break
  4409 else
  4410   echo "$as_me: failed program was:" >&5
  4411 sed 's/^/| /' conftest.$ac_ext >&5
  4414 fi
  4416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4417 done
  4418 CC="$ac_save_CC"
  4420 fi
  4422 if test -z "$am_cv_prog_cc_stdc"; then
  4423   { echo "$as_me:$LINENO: result: none needed" >&5
  4424 echo "${ECHO_T}none needed" >&6; }
  4425 else
  4426   { echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
  4427 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6; }
  4428 fi
  4429 case "x$am_cv_prog_cc_stdc" in
  4430   x|xno) ;;
  4431   *) CC="$CC $am_cv_prog_cc_stdc" ;;
  4432 esac
  4434 ac_ext=c
  4435 ac_cpp='$CPP $CPPFLAGS'
  4436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4439 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  4440 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  4441 # On Suns, sometimes $CPP names a directory.
  4442 if test -n "$CPP" && test -d "$CPP"; then
  4443   CPP=
  4444 fi
  4445 if test -z "$CPP"; then
  4446   if test "${ac_cv_prog_CPP+set}" = set; then
  4447   echo $ECHO_N "(cached) $ECHO_C" >&6
  4448 else
  4449       # Double quotes because CPP needs to be expanded
  4450     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  4451     do
  4452       ac_preproc_ok=false
  4453 for ac_c_preproc_warn_flag in '' yes
  4454 do
  4455   # Use a header file that comes with gcc, so configuring glibc
  4456   # with a fresh cross-compiler works.
  4457   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4458   # <limits.h> exists even on freestanding compilers.
  4459   # On the NeXT, cc -E runs the code through the compiler's parser,
  4460   # not just through cpp. "Syntax error" is here to catch this case.
  4461   cat >conftest.$ac_ext <<_ACEOF
  4462 /* confdefs.h.  */
  4463 _ACEOF
  4464 cat confdefs.h >>conftest.$ac_ext
  4465 cat >>conftest.$ac_ext <<_ACEOF
  4466 /* end confdefs.h.  */
  4467 #ifdef __STDC__
  4468 # include <limits.h>
  4469 #else
  4470 # include <assert.h>
  4471 #endif
  4472 		     Syntax error
  4473 _ACEOF
  4474 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4475 case "(($ac_try" in
  4476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4477   *) ac_try_echo=$ac_try;;
  4478 esac
  4479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4480   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4481   ac_status=$?
  4482   grep -v '^ *+' conftest.er1 >conftest.err
  4483   rm -f conftest.er1
  4484   cat conftest.err >&5
  4485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4486   (exit $ac_status); } >/dev/null; then
  4487   if test -s conftest.err; then
  4488     ac_cpp_err=$ac_c_preproc_warn_flag
  4489     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4490   else
  4491     ac_cpp_err=
  4492   fi
  4493 else
  4494   ac_cpp_err=yes
  4495 fi
  4496 if test -z "$ac_cpp_err"; then
  4498 else
  4499   echo "$as_me: failed program was:" >&5
  4500 sed 's/^/| /' conftest.$ac_ext >&5
  4502   # Broken: fails on valid input.
  4503 continue
  4504 fi
  4506 rm -f conftest.err conftest.$ac_ext
  4508   # OK, works on sane cases.  Now check whether nonexistent headers
  4509   # can be detected and how.
  4510   cat >conftest.$ac_ext <<_ACEOF
  4511 /* confdefs.h.  */
  4512 _ACEOF
  4513 cat confdefs.h >>conftest.$ac_ext
  4514 cat >>conftest.$ac_ext <<_ACEOF
  4515 /* end confdefs.h.  */
  4516 #include <ac_nonexistent.h>
  4517 _ACEOF
  4518 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4519 case "(($ac_try" in
  4520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4521   *) ac_try_echo=$ac_try;;
  4522 esac
  4523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4524   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4525   ac_status=$?
  4526   grep -v '^ *+' conftest.er1 >conftest.err
  4527   rm -f conftest.er1
  4528   cat conftest.err >&5
  4529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4530   (exit $ac_status); } >/dev/null; then
  4531   if test -s conftest.err; then
  4532     ac_cpp_err=$ac_c_preproc_warn_flag
  4533     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4534   else
  4535     ac_cpp_err=
  4536   fi
  4537 else
  4538   ac_cpp_err=yes
  4539 fi
  4540 if test -z "$ac_cpp_err"; then
  4541   # Broken: success on invalid input.
  4542 continue
  4543 else
  4544   echo "$as_me: failed program was:" >&5
  4545 sed 's/^/| /' conftest.$ac_ext >&5
  4547   # Passes both tests.
  4548 ac_preproc_ok=:
  4549 break
  4550 fi
  4552 rm -f conftest.err conftest.$ac_ext
  4554 done
  4555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4556 rm -f conftest.err conftest.$ac_ext
  4557 if $ac_preproc_ok; then
  4558   break
  4559 fi
  4561     done
  4562     ac_cv_prog_CPP=$CPP
  4564 fi
  4565   CPP=$ac_cv_prog_CPP
  4566 else
  4567   ac_cv_prog_CPP=$CPP
  4568 fi
  4569 { echo "$as_me:$LINENO: result: $CPP" >&5
  4570 echo "${ECHO_T}$CPP" >&6; }
  4571 ac_preproc_ok=false
  4572 for ac_c_preproc_warn_flag in '' yes
  4573 do
  4574   # Use a header file that comes with gcc, so configuring glibc
  4575   # with a fresh cross-compiler works.
  4576   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4577   # <limits.h> exists even on freestanding compilers.
  4578   # On the NeXT, cc -E runs the code through the compiler's parser,
  4579   # not just through cpp. "Syntax error" is here to catch this case.
  4580   cat >conftest.$ac_ext <<_ACEOF
  4581 /* confdefs.h.  */
  4582 _ACEOF
  4583 cat confdefs.h >>conftest.$ac_ext
  4584 cat >>conftest.$ac_ext <<_ACEOF
  4585 /* end confdefs.h.  */
  4586 #ifdef __STDC__
  4587 # include <limits.h>
  4588 #else
  4589 # include <assert.h>
  4590 #endif
  4591 		     Syntax error
  4592 _ACEOF
  4593 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4594 case "(($ac_try" in
  4595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4596   *) ac_try_echo=$ac_try;;
  4597 esac
  4598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4599   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4600   ac_status=$?
  4601   grep -v '^ *+' conftest.er1 >conftest.err
  4602   rm -f conftest.er1
  4603   cat conftest.err >&5
  4604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4605   (exit $ac_status); } >/dev/null; then
  4606   if test -s conftest.err; then
  4607     ac_cpp_err=$ac_c_preproc_warn_flag
  4608     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4609   else
  4610     ac_cpp_err=
  4611   fi
  4612 else
  4613   ac_cpp_err=yes
  4614 fi
  4615 if test -z "$ac_cpp_err"; then
  4617 else
  4618   echo "$as_me: failed program was:" >&5
  4619 sed 's/^/| /' conftest.$ac_ext >&5
  4621   # Broken: fails on valid input.
  4622 continue
  4623 fi
  4625 rm -f conftest.err conftest.$ac_ext
  4627   # OK, works on sane cases.  Now check whether nonexistent headers
  4628   # can be detected and how.
  4629   cat >conftest.$ac_ext <<_ACEOF
  4630 /* confdefs.h.  */
  4631 _ACEOF
  4632 cat confdefs.h >>conftest.$ac_ext
  4633 cat >>conftest.$ac_ext <<_ACEOF
  4634 /* end confdefs.h.  */
  4635 #include <ac_nonexistent.h>
  4636 _ACEOF
  4637 if { (ac_try="$ac_cpp conftest.$ac_ext"
  4638 case "(($ac_try" in
  4639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4640   *) ac_try_echo=$ac_try;;
  4641 esac
  4642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4643   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4644   ac_status=$?
  4645   grep -v '^ *+' conftest.er1 >conftest.err
  4646   rm -f conftest.er1
  4647   cat conftest.err >&5
  4648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4649   (exit $ac_status); } >/dev/null; then
  4650   if test -s conftest.err; then
  4651     ac_cpp_err=$ac_c_preproc_warn_flag
  4652     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4653   else
  4654     ac_cpp_err=
  4655   fi
  4656 else
  4657   ac_cpp_err=yes
  4658 fi
  4659 if test -z "$ac_cpp_err"; then
  4660   # Broken: success on invalid input.
  4661 continue
  4662 else
  4663   echo "$as_me: failed program was:" >&5
  4664 sed 's/^/| /' conftest.$ac_ext >&5
  4666   # Passes both tests.
  4667 ac_preproc_ok=:
  4668 break
  4669 fi
  4671 rm -f conftest.err conftest.$ac_ext
  4673 done
  4674 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4675 rm -f conftest.err conftest.$ac_ext
  4676 if $ac_preproc_ok; then
  4678 else
  4679   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  4680 See \`config.log' for more details." >&5
  4681 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  4682 See \`config.log' for more details." >&2;}
  4683    { (exit 1); exit 1; }; }
  4684 fi
  4686 ac_ext=c
  4687 ac_cpp='$CPP $CPPFLAGS'
  4688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4693 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  4694 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  4695 if test "${ac_cv_path_GREP+set}" = set; then
  4696   echo $ECHO_N "(cached) $ECHO_C" >&6
  4697 else
  4698   # Extract the first word of "grep ggrep" to use in msg output
  4699 if test -z "$GREP"; then
  4700 set dummy grep ggrep; ac_prog_name=$2
  4701 if test "${ac_cv_path_GREP+set}" = set; then
  4702   echo $ECHO_N "(cached) $ECHO_C" >&6
  4703 else
  4704   ac_path_GREP_found=false
  4705 # Loop through the user's path and test for each of PROGNAME-LIST
  4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4707 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4708 do
  4709   IFS=$as_save_IFS
  4710   test -z "$as_dir" && as_dir=.
  4711   for ac_prog in grep ggrep; do
  4712   for ac_exec_ext in '' $ac_executable_extensions; do
  4713     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4714     { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
  4715     # Check for GNU ac_path_GREP and select it if it is found.
  4716   # Check for GNU $ac_path_GREP
  4717 case `"$ac_path_GREP" --version 2>&1` in
  4718 *GNU*)
  4719   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4720 *)
  4721   ac_count=0
  4722   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  4723   while :
  4724   do
  4725     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4726     mv "conftest.tmp" "conftest.in"
  4727     cp "conftest.in" "conftest.nl"
  4728     echo 'GREP' >> "conftest.nl"
  4729     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4730     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4731     ac_count=`expr $ac_count + 1`
  4732     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4733       # Best one so far, save it but keep looking for a better one
  4734       ac_cv_path_GREP="$ac_path_GREP"
  4735       ac_path_GREP_max=$ac_count
  4736     fi
  4737     # 10*(2^10) chars as input seems more than enough
  4738     test $ac_count -gt 10 && break
  4739   done
  4740   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4741 esac
  4744     $ac_path_GREP_found && break 3
  4745   done
  4746 done
  4748 done
  4749 IFS=$as_save_IFS
  4752 fi
  4754 GREP="$ac_cv_path_GREP"
  4755 if test -z "$GREP"; then
  4756   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4757 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4758    { (exit 1); exit 1; }; }
  4759 fi
  4761 else
  4762   ac_cv_path_GREP=$GREP
  4763 fi
  4766 fi
  4767 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  4768 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  4769  GREP="$ac_cv_path_GREP"
  4772 { echo "$as_me:$LINENO: checking for egrep" >&5
  4773 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  4774 if test "${ac_cv_path_EGREP+set}" = set; then
  4775   echo $ECHO_N "(cached) $ECHO_C" >&6
  4776 else
  4777   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4778    then ac_cv_path_EGREP="$GREP -E"
  4779    else
  4780      # Extract the first word of "egrep" to use in msg output
  4781 if test -z "$EGREP"; then
  4782 set dummy egrep; ac_prog_name=$2
  4783 if test "${ac_cv_path_EGREP+set}" = set; then
  4784   echo $ECHO_N "(cached) $ECHO_C" >&6
  4785 else
  4786   ac_path_EGREP_found=false
  4787 # Loop through the user's path and test for each of PROGNAME-LIST
  4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4789 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4790 do
  4791   IFS=$as_save_IFS
  4792   test -z "$as_dir" && as_dir=.
  4793   for ac_prog in egrep; do
  4794   for ac_exec_ext in '' $ac_executable_extensions; do
  4795     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4796     { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
  4797     # Check for GNU ac_path_EGREP and select it if it is found.
  4798   # Check for GNU $ac_path_EGREP
  4799 case `"$ac_path_EGREP" --version 2>&1` in
  4800 *GNU*)
  4801   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4802 *)
  4803   ac_count=0
  4804   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  4805   while :
  4806   do
  4807     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4808     mv "conftest.tmp" "conftest.in"
  4809     cp "conftest.in" "conftest.nl"
  4810     echo 'EGREP' >> "conftest.nl"
  4811     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4812     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4813     ac_count=`expr $ac_count + 1`
  4814     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4815       # Best one so far, save it but keep looking for a better one
  4816       ac_cv_path_EGREP="$ac_path_EGREP"
  4817       ac_path_EGREP_max=$ac_count
  4818     fi
  4819     # 10*(2^10) chars as input seems more than enough
  4820     test $ac_count -gt 10 && break
  4821   done
  4822   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4823 esac
  4826     $ac_path_EGREP_found && break 3
  4827   done
  4828 done
  4830 done
  4831 IFS=$as_save_IFS
  4834 fi
  4836 EGREP="$ac_cv_path_EGREP"
  4837 if test -z "$EGREP"; then
  4838   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4839 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4840    { (exit 1); exit 1; }; }
  4841 fi
  4843 else
  4844   ac_cv_path_EGREP=$EGREP
  4845 fi
  4848    fi
  4849 fi
  4850 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  4851 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  4852  EGREP="$ac_cv_path_EGREP"
  4855 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  4856 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  4857 if test "${ac_cv_header_stdc+set}" = set; then
  4858   echo $ECHO_N "(cached) $ECHO_C" >&6
  4859 else
  4860   cat >conftest.$ac_ext <<_ACEOF
  4861 /* confdefs.h.  */
  4862 _ACEOF
  4863 cat confdefs.h >>conftest.$ac_ext
  4864 cat >>conftest.$ac_ext <<_ACEOF
  4865 /* end confdefs.h.  */
  4866 #include <stdlib.h>
  4867 #include <stdarg.h>
  4868 #include <string.h>
  4869 #include <float.h>
  4871 int
  4872 main ()
  4876   return 0;
  4878 _ACEOF
  4879 rm -f conftest.$ac_objext
  4880 if { (ac_try="$ac_compile"
  4881 case "(($ac_try" in
  4882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4883   *) ac_try_echo=$ac_try;;
  4884 esac
  4885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4886   (eval "$ac_compile") 2>conftest.er1
  4887   ac_status=$?
  4888   grep -v '^ *+' conftest.er1 >conftest.err
  4889   rm -f conftest.er1
  4890   cat conftest.err >&5
  4891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4892   (exit $ac_status); } &&
  4893 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4894   { (case "(($ac_try" in
  4895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4896   *) ac_try_echo=$ac_try;;
  4897 esac
  4898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4899   (eval "$ac_try") 2>&5
  4900   ac_status=$?
  4901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4902   (exit $ac_status); }; } &&
  4903 	 { ac_try='test -s conftest.$ac_objext'
  4904   { (case "(($ac_try" in
  4905   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4906   *) ac_try_echo=$ac_try;;
  4907 esac
  4908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4909   (eval "$ac_try") 2>&5
  4910   ac_status=$?
  4911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4912   (exit $ac_status); }; }; then
  4913   ac_cv_header_stdc=yes
  4914 else
  4915   echo "$as_me: failed program was:" >&5
  4916 sed 's/^/| /' conftest.$ac_ext >&5
  4918 	ac_cv_header_stdc=no
  4919 fi
  4921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4923 if test $ac_cv_header_stdc = yes; then
  4924   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4925   cat >conftest.$ac_ext <<_ACEOF
  4926 /* confdefs.h.  */
  4927 _ACEOF
  4928 cat confdefs.h >>conftest.$ac_ext
  4929 cat >>conftest.$ac_ext <<_ACEOF
  4930 /* end confdefs.h.  */
  4931 #include <string.h>
  4933 _ACEOF
  4934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4935   $EGREP "memchr" >/dev/null 2>&1; then
  4937 else
  4938   ac_cv_header_stdc=no
  4939 fi
  4940 rm -f conftest*
  4942 fi
  4944 if test $ac_cv_header_stdc = yes; then
  4945   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4946   cat >conftest.$ac_ext <<_ACEOF
  4947 /* confdefs.h.  */
  4948 _ACEOF
  4949 cat confdefs.h >>conftest.$ac_ext
  4950 cat >>conftest.$ac_ext <<_ACEOF
  4951 /* end confdefs.h.  */
  4952 #include <stdlib.h>
  4954 _ACEOF
  4955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4956   $EGREP "free" >/dev/null 2>&1; then
  4958 else
  4959   ac_cv_header_stdc=no
  4960 fi
  4961 rm -f conftest*
  4963 fi
  4965 if test $ac_cv_header_stdc = yes; then
  4966   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4967   if test "$cross_compiling" = yes; then
  4969 else
  4970   cat >conftest.$ac_ext <<_ACEOF
  4971 /* confdefs.h.  */
  4972 _ACEOF
  4973 cat confdefs.h >>conftest.$ac_ext
  4974 cat >>conftest.$ac_ext <<_ACEOF
  4975 /* end confdefs.h.  */
  4976 #include <ctype.h>
  4977 #include <stdlib.h>
  4978 #if ((' ' & 0x0FF) == 0x020)
  4979 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4980 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4981 #else
  4982 # define ISLOWER(c) \
  4983 		   (('a' <= (c) && (c) <= 'i') \
  4984 		     || ('j' <= (c) && (c) <= 'r') \
  4985 		     || ('s' <= (c) && (c) <= 'z'))
  4986 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4987 #endif
  4989 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4990 int
  4991 main ()
  4993   int i;
  4994   for (i = 0; i < 256; i++)
  4995     if (XOR (islower (i), ISLOWER (i))
  4996 	|| toupper (i) != TOUPPER (i))
  4997       return 2;
  4998   return 0;
  5000 _ACEOF
  5001 rm -f conftest$ac_exeext
  5002 if { (ac_try="$ac_link"
  5003 case "(($ac_try" in
  5004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5005   *) ac_try_echo=$ac_try;;
  5006 esac
  5007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5008   (eval "$ac_link") 2>&5
  5009   ac_status=$?
  5010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5011   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5012   { (case "(($ac_try" in
  5013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5014   *) ac_try_echo=$ac_try;;
  5015 esac
  5016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5017   (eval "$ac_try") 2>&5
  5018   ac_status=$?
  5019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5020   (exit $ac_status); }; }; then
  5022 else
  5023   echo "$as_me: program exited with status $ac_status" >&5
  5024 echo "$as_me: failed program was:" >&5
  5025 sed 's/^/| /' conftest.$ac_ext >&5
  5027 ( exit $ac_status )
  5028 ac_cv_header_stdc=no
  5029 fi
  5030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5031 fi
  5034 fi
  5035 fi
  5036 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  5037 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  5038 if test $ac_cv_header_stdc = yes; then
  5040 cat >>confdefs.h <<\_ACEOF
  5041 #define STDC_HEADERS 1
  5042 _ACEOF
  5044 fi
  5049 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  5050 	if test -n "$ac_tool_prefix"; then
  5051   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  5052 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  5053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5055 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  5056   echo $ECHO_N "(cached) $ECHO_C" >&6
  5057 else
  5058   case $PKG_CONFIG in
  5059   [\\/]* | ?:[\\/]*)
  5060   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  5061   ;;
  5062   *)
  5063   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5064 for as_dir in $PATH
  5065 do
  5066   IFS=$as_save_IFS
  5067   test -z "$as_dir" && as_dir=.
  5068   for ac_exec_ext in '' $ac_executable_extensions; do
  5069   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  5070     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  5071     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5072     break 2
  5073   fi
  5074 done
  5075 done
  5076 IFS=$as_save_IFS
  5078   ;;
  5079 esac
  5080 fi
  5081 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  5082 if test -n "$PKG_CONFIG"; then
  5083   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  5084 echo "${ECHO_T}$PKG_CONFIG" >&6; }
  5085 else
  5086   { echo "$as_me:$LINENO: result: no" >&5
  5087 echo "${ECHO_T}no" >&6; }
  5088 fi
  5091 fi
  5092 if test -z "$ac_cv_path_PKG_CONFIG"; then
  5093   ac_pt_PKG_CONFIG=$PKG_CONFIG
  5094   # Extract the first word of "pkg-config", so it can be a program name with args.
  5095 set dummy pkg-config; ac_word=$2
  5096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5098 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  5099   echo $ECHO_N "(cached) $ECHO_C" >&6
  5100 else
  5101   case $ac_pt_PKG_CONFIG in
  5102   [\\/]* | ?:[\\/]*)
  5103   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  5104   ;;
  5105   *)
  5106   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5107 for as_dir in $PATH
  5108 do
  5109   IFS=$as_save_IFS
  5110   test -z "$as_dir" && as_dir=.
  5111   for ac_exec_ext in '' $ac_executable_extensions; do
  5112   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  5113     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  5114     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5115     break 2
  5116   fi
  5117 done
  5118 done
  5119 IFS=$as_save_IFS
  5121   ;;
  5122 esac
  5123 fi
  5124 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  5125 if test -n "$ac_pt_PKG_CONFIG"; then
  5126   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
  5127 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
  5128 else
  5129   { echo "$as_me:$LINENO: result: no" >&5
  5130 echo "${ECHO_T}no" >&6; }
  5131 fi
  5133   if test "x$ac_pt_PKG_CONFIG" = x; then
  5134     PKG_CONFIG=""
  5135   else
  5136     case $cross_compiling:$ac_tool_warned in
  5137 yes:)
  5138 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5139 whose name does not start with the host triplet.  If you think this
  5140 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5141 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5142 whose name does not start with the host triplet.  If you think this
  5143 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5144 ac_tool_warned=yes ;;
  5145 esac
  5146     PKG_CONFIG=$ac_pt_PKG_CONFIG
  5147   fi
  5148 else
  5149   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  5150 fi
  5152 fi
  5153 if test -n "$PKG_CONFIG"; then
  5154 	_pkg_min_version=0.9.0
  5155 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
  5156 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
  5157 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  5158 		{ echo "$as_me:$LINENO: result: yes" >&5
  5159 echo "${ECHO_T}yes" >&6; }
  5160 	else
  5161 		{ echo "$as_me:$LINENO: result: no" >&5
  5162 echo "${ECHO_T}no" >&6; }
  5163 		PKG_CONFIG=""
  5164 	fi
  5166 fi
  5168 pkg_failed=no
  5169 { echo "$as_me:$LINENO: checking for PACKAGE" >&5
  5170 echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6; }
  5172 if test -n "$PKG_CONFIG"; then
  5173     if test -n "$PACKAGE_CFLAGS"; then
  5174         pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
  5175     else
  5176         if test -n "$PKG_CONFIG" && \
  5177     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" libgnomeui-2.0      esound \"") >&5
  5178   ($PKG_CONFIG --exists --print-errors " libgnomeui-2.0      esound ") 2>&5
  5179   ac_status=$?
  5180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5181   (exit $ac_status); }; then
  5182   pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags " libgnomeui-2.0      esound " 2>/dev/null`
  5183 else
  5184   pkg_failed=yes
  5185 fi
  5186     fi
  5187 else
  5188 	pkg_failed=untried
  5189 fi
  5190 if test -n "$PKG_CONFIG"; then
  5191     if test -n "$PACKAGE_LIBS"; then
  5192         pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
  5193     else
  5194         if test -n "$PKG_CONFIG" && \
  5195     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" libgnomeui-2.0      esound \"") >&5
  5196   ($PKG_CONFIG --exists --print-errors " libgnomeui-2.0      esound ") 2>&5
  5197   ac_status=$?
  5198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5199   (exit $ac_status); }; then
  5200   pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs " libgnomeui-2.0      esound " 2>/dev/null`
  5201 else
  5202   pkg_failed=yes
  5203 fi
  5204     fi
  5205 else
  5206 	pkg_failed=untried
  5207 fi
  5211 if test $pkg_failed = yes; then
  5213 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  5214         _pkg_short_errors_supported=yes
  5215 else
  5216         _pkg_short_errors_supported=no
  5217 fi
  5218         if test $_pkg_short_errors_supported = yes; then
  5219 	        PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " libgnomeui-2.0      esound "`
  5220         else
  5221 	        PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " libgnomeui-2.0      esound "`
  5222         fi
  5223 	# Put the nasty error message in config.log where it belongs
  5224 	echo "$PACKAGE_PKG_ERRORS" >&5
  5226 	{ { echo "$as_me:$LINENO: error: Package requirements ( libgnomeui-2.0      esound ) were not met:
  5228 $PACKAGE_PKG_ERRORS
  5230 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5231 installed software in a non-standard prefix.
  5233 Alternatively, you may set the environment variables PACKAGE_CFLAGS
  5234 and PACKAGE_LIBS to avoid the need to call pkg-config.
  5235 See the pkg-config man page for more details.
  5236 " >&5
  5237 echo "$as_me: error: Package requirements ( libgnomeui-2.0      esound ) were not met:
  5239 $PACKAGE_PKG_ERRORS
  5241 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5242 installed software in a non-standard prefix.
  5244 Alternatively, you may set the environment variables PACKAGE_CFLAGS
  5245 and PACKAGE_LIBS to avoid the need to call pkg-config.
  5246 See the pkg-config man page for more details.
  5247 " >&2;}
  5248    { (exit 1); exit 1; }; }
  5249 elif test $pkg_failed = untried; then
  5250 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  5251 is in your PATH or set the PKG_CONFIG environment variable to the full
  5252 path to pkg-config.
  5254 Alternatively, you may set the environment variables PACKAGE_CFLAGS
  5255 and PACKAGE_LIBS to avoid the need to call pkg-config.
  5256 See the pkg-config man page for more details.
  5258 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5259 See \`config.log' for more details." >&5
  5260 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  5261 is in your PATH or set the PKG_CONFIG environment variable to the full
  5262 path to pkg-config.
  5264 Alternatively, you may set the environment variables PACKAGE_CFLAGS
  5265 and PACKAGE_LIBS to avoid the need to call pkg-config.
  5266 See the pkg-config man page for more details.
  5268 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
  5269 See \`config.log' for more details." >&2;}
  5270    { (exit 1); exit 1; }; }
  5271 else
  5272 	PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
  5273 	PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
  5274         { echo "$as_me:$LINENO: result: yes" >&5
  5275 echo "${ECHO_T}yes" >&6; }
  5277 fi
  5282 { echo "$as_me:$LINENO: checking for glXQueryVersion in -lGL" >&5
  5283 echo $ECHO_N "checking for glXQueryVersion in -lGL... $ECHO_C" >&6; }
  5284 if test "${ac_cv_lib_GL_glXQueryVersion+set}" = set; then
  5285   echo $ECHO_N "(cached) $ECHO_C" >&6
  5286 else
  5287   ac_check_lib_save_LIBS=$LIBS
  5288 LIBS="-lGL  $LIBS"
  5289 cat >conftest.$ac_ext <<_ACEOF
  5290 /* confdefs.h.  */
  5291 _ACEOF
  5292 cat confdefs.h >>conftest.$ac_ext
  5293 cat >>conftest.$ac_ext <<_ACEOF
  5294 /* end confdefs.h.  */
  5296 /* Override any GCC internal prototype to avoid an error.
  5297    Use char because int might match the return type of a GCC
  5298    builtin and then its argument prototype would still apply.  */
  5299 #ifdef __cplusplus
  5300 extern "C"
  5301 #endif
  5302 char glXQueryVersion ();
  5303 int
  5304 main ()
  5306 return glXQueryVersion ();
  5308   return 0;
  5310 _ACEOF
  5311 rm -f conftest.$ac_objext conftest$ac_exeext
  5312 if { (ac_try="$ac_link"
  5313 case "(($ac_try" in
  5314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5315   *) ac_try_echo=$ac_try;;
  5316 esac
  5317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5318   (eval "$ac_link") 2>conftest.er1
  5319   ac_status=$?
  5320   grep -v '^ *+' conftest.er1 >conftest.err
  5321   rm -f conftest.er1
  5322   cat conftest.err >&5
  5323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5324   (exit $ac_status); } &&
  5325 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5326   { (case "(($ac_try" in
  5327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5328   *) ac_try_echo=$ac_try;;
  5329 esac
  5330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5331   (eval "$ac_try") 2>&5
  5332   ac_status=$?
  5333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5334   (exit $ac_status); }; } &&
  5335 	 { ac_try='test -s conftest$ac_exeext'
  5336   { (case "(($ac_try" in
  5337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5338   *) ac_try_echo=$ac_try;;
  5339 esac
  5340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5341   (eval "$ac_try") 2>&5
  5342   ac_status=$?
  5343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5344   (exit $ac_status); }; }; then
  5345   ac_cv_lib_GL_glXQueryVersion=yes
  5346 else
  5347   echo "$as_me: failed program was:" >&5
  5348 sed 's/^/| /' conftest.$ac_ext >&5
  5350 	ac_cv_lib_GL_glXQueryVersion=no
  5351 fi
  5353 rm -f core conftest.err conftest.$ac_objext \
  5354       conftest$ac_exeext conftest.$ac_ext
  5355 LIBS=$ac_check_lib_save_LIBS
  5356 fi
  5357 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXQueryVersion" >&5
  5358 echo "${ECHO_T}$ac_cv_lib_GL_glXQueryVersion" >&6; }
  5359 if test $ac_cv_lib_GL_glXQueryVersion = yes; then
  5360   cat >>confdefs.h <<_ACEOF
  5361 #define HAVE_LIBGL 1
  5362 _ACEOF
  5364   LIBS="-lGL $LIBS"
  5366 fi
  5369 GETTEXT_PACKAGE=dream
  5371 cat >>confdefs.h <<_ACEOF
  5372 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
  5373 _ACEOF
  5376 ALL_LINGUAS=""
  5377 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  5387 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  5388 		  inttypes.h stdint.h unistd.h
  5389 do
  5390 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5391 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  5392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5394   echo $ECHO_N "(cached) $ECHO_C" >&6
  5395 else
  5396   cat >conftest.$ac_ext <<_ACEOF
  5397 /* confdefs.h.  */
  5398 _ACEOF
  5399 cat confdefs.h >>conftest.$ac_ext
  5400 cat >>conftest.$ac_ext <<_ACEOF
  5401 /* end confdefs.h.  */
  5402 $ac_includes_default
  5404 #include <$ac_header>
  5405 _ACEOF
  5406 rm -f conftest.$ac_objext
  5407 if { (ac_try="$ac_compile"
  5408 case "(($ac_try" in
  5409   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5410   *) ac_try_echo=$ac_try;;
  5411 esac
  5412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5413   (eval "$ac_compile") 2>conftest.er1
  5414   ac_status=$?
  5415   grep -v '^ *+' conftest.er1 >conftest.err
  5416   rm -f conftest.er1
  5417   cat conftest.err >&5
  5418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5419   (exit $ac_status); } &&
  5420 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5421   { (case "(($ac_try" in
  5422   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5423   *) ac_try_echo=$ac_try;;
  5424 esac
  5425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5426   (eval "$ac_try") 2>&5
  5427   ac_status=$?
  5428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5429   (exit $ac_status); }; } &&
  5430 	 { ac_try='test -s conftest.$ac_objext'
  5431   { (case "(($ac_try" in
  5432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5433   *) ac_try_echo=$ac_try;;
  5434 esac
  5435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5436   (eval "$ac_try") 2>&5
  5437   ac_status=$?
  5438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5439   (exit $ac_status); }; }; then
  5440   eval "$as_ac_Header=yes"
  5441 else
  5442   echo "$as_me: failed program was:" >&5
  5443 sed 's/^/| /' conftest.$ac_ext >&5
  5445 	eval "$as_ac_Header=no"
  5446 fi
  5448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5449 fi
  5450 ac_res=`eval echo '${'$as_ac_Header'}'`
  5451 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  5452 echo "${ECHO_T}$ac_res" >&6; }
  5453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  5454   cat >>confdefs.h <<_ACEOF
  5455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5456 _ACEOF
  5458 fi
  5460 done
  5465 for ac_header in locale.h
  5466 do
  5467 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5469   { echo "$as_me:$LINENO: checking for $ac_header" >&5
  5470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5472   echo $ECHO_N "(cached) $ECHO_C" >&6
  5473 fi
  5474 ac_res=`eval echo '${'$as_ac_Header'}'`
  5475 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  5476 echo "${ECHO_T}$ac_res" >&6; }
  5477 else
  5478   # Is the header compilable?
  5479 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5480 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  5481 cat >conftest.$ac_ext <<_ACEOF
  5482 /* confdefs.h.  */
  5483 _ACEOF
  5484 cat confdefs.h >>conftest.$ac_ext
  5485 cat >>conftest.$ac_ext <<_ACEOF
  5486 /* end confdefs.h.  */
  5487 $ac_includes_default
  5488 #include <$ac_header>
  5489 _ACEOF
  5490 rm -f conftest.$ac_objext
  5491 if { (ac_try="$ac_compile"
  5492 case "(($ac_try" in
  5493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5494   *) ac_try_echo=$ac_try;;
  5495 esac
  5496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5497   (eval "$ac_compile") 2>conftest.er1
  5498   ac_status=$?
  5499   grep -v '^ *+' conftest.er1 >conftest.err
  5500   rm -f conftest.er1
  5501   cat conftest.err >&5
  5502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5503   (exit $ac_status); } &&
  5504 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5505   { (case "(($ac_try" in
  5506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5507   *) ac_try_echo=$ac_try;;
  5508 esac
  5509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5510   (eval "$ac_try") 2>&5
  5511   ac_status=$?
  5512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5513   (exit $ac_status); }; } &&
  5514 	 { ac_try='test -s conftest.$ac_objext'
  5515   { (case "(($ac_try" in
  5516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5517   *) ac_try_echo=$ac_try;;
  5518 esac
  5519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5520   (eval "$ac_try") 2>&5
  5521   ac_status=$?
  5522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5523   (exit $ac_status); }; }; then
  5524   ac_header_compiler=yes
  5525 else
  5526   echo "$as_me: failed program was:" >&5
  5527 sed 's/^/| /' conftest.$ac_ext >&5
  5529 	ac_header_compiler=no
  5530 fi
  5532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5533 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5534 echo "${ECHO_T}$ac_header_compiler" >&6; }
  5536 # Is the header present?
  5537 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
  5538 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  5539 cat >conftest.$ac_ext <<_ACEOF
  5540 /* confdefs.h.  */
  5541 _ACEOF
  5542 cat confdefs.h >>conftest.$ac_ext
  5543 cat >>conftest.$ac_ext <<_ACEOF
  5544 /* end confdefs.h.  */
  5545 #include <$ac_header>
  5546 _ACEOF
  5547 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5548 case "(($ac_try" in
  5549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5550   *) ac_try_echo=$ac_try;;
  5551 esac
  5552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5553   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5554   ac_status=$?
  5555   grep -v '^ *+' conftest.er1 >conftest.err
  5556   rm -f conftest.er1
  5557   cat conftest.err >&5
  5558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5559   (exit $ac_status); } >/dev/null; then
  5560   if test -s conftest.err; then
  5561     ac_cpp_err=$ac_c_preproc_warn_flag
  5562     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  5563   else
  5564     ac_cpp_err=
  5565   fi
  5566 else
  5567   ac_cpp_err=yes
  5568 fi
  5569 if test -z "$ac_cpp_err"; then
  5570   ac_header_preproc=yes
  5571 else
  5572   echo "$as_me: failed program was:" >&5
  5573 sed 's/^/| /' conftest.$ac_ext >&5
  5575   ac_header_preproc=no
  5576 fi
  5578 rm -f conftest.err conftest.$ac_ext
  5579 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5580 echo "${ECHO_T}$ac_header_preproc" >&6; }
  5582 # So?  What about this header?
  5583 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5584   yes:no: )
  5585     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  5586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  5587     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  5588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  5589     ac_header_preproc=yes
  5590     ;;
  5591   no:yes:* )
  5592     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  5593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  5594     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
  5595 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
  5596     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  5597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  5598     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
  5599 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
  5600     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  5601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  5602     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  5603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  5605     ;;
  5606 esac
  5607 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  5608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5610   echo $ECHO_N "(cached) $ECHO_C" >&6
  5611 else
  5612   eval "$as_ac_Header=\$ac_header_preproc"
  5613 fi
  5614 ac_res=`eval echo '${'$as_ac_Header'}'`
  5615 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  5616 echo "${ECHO_T}$ac_res" >&6; }
  5618 fi
  5619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  5620   cat >>confdefs.h <<_ACEOF
  5621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5622 _ACEOF
  5624 fi
  5626 done
  5628     if test $ac_cv_header_locale_h = yes; then
  5629     { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
  5630 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
  5631 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
  5632   echo $ECHO_N "(cached) $ECHO_C" >&6
  5633 else
  5634   cat >conftest.$ac_ext <<_ACEOF
  5635 /* confdefs.h.  */
  5636 _ACEOF
  5637 cat confdefs.h >>conftest.$ac_ext
  5638 cat >>conftest.$ac_ext <<_ACEOF
  5639 /* end confdefs.h.  */
  5640 #include <locale.h>
  5641 int
  5642 main ()
  5644 return LC_MESSAGES
  5646   return 0;
  5648 _ACEOF
  5649 rm -f conftest.$ac_objext conftest$ac_exeext
  5650 if { (ac_try="$ac_link"
  5651 case "(($ac_try" in
  5652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5653   *) ac_try_echo=$ac_try;;
  5654 esac
  5655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5656   (eval "$ac_link") 2>conftest.er1
  5657   ac_status=$?
  5658   grep -v '^ *+' conftest.er1 >conftest.err
  5659   rm -f conftest.er1
  5660   cat conftest.err >&5
  5661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5662   (exit $ac_status); } &&
  5663 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5664   { (case "(($ac_try" in
  5665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5666   *) ac_try_echo=$ac_try;;
  5667 esac
  5668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5669   (eval "$ac_try") 2>&5
  5670   ac_status=$?
  5671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5672   (exit $ac_status); }; } &&
  5673 	 { ac_try='test -s conftest$ac_exeext'
  5674   { (case "(($ac_try" in
  5675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5676   *) ac_try_echo=$ac_try;;
  5677 esac
  5678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5679   (eval "$ac_try") 2>&5
  5680   ac_status=$?
  5681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5682   (exit $ac_status); }; }; then
  5683   am_cv_val_LC_MESSAGES=yes
  5684 else
  5685   echo "$as_me: failed program was:" >&5
  5686 sed 's/^/| /' conftest.$ac_ext >&5
  5688 	am_cv_val_LC_MESSAGES=no
  5689 fi
  5691 rm -f core conftest.err conftest.$ac_objext \
  5692       conftest$ac_exeext conftest.$ac_ext
  5693 fi
  5694 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
  5695 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
  5696     if test $am_cv_val_LC_MESSAGES = yes; then
  5698 cat >>confdefs.h <<\_ACEOF
  5699 #define HAVE_LC_MESSAGES 1
  5700 _ACEOF
  5702     fi
  5703   fi
  5704      USE_NLS=yes
  5707     gt_cv_have_gettext=no
  5709     CATOBJEXT=NONE
  5710     XGETTEXT=:
  5711     INTLLIBS=
  5713     if test "${ac_cv_header_libintl_h+set}" = set; then
  5714   { echo "$as_me:$LINENO: checking for libintl.h" >&5
  5715 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
  5716 if test "${ac_cv_header_libintl_h+set}" = set; then
  5717   echo $ECHO_N "(cached) $ECHO_C" >&6
  5718 fi
  5719 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
  5720 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
  5721 else
  5722   # Is the header compilable?
  5723 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
  5724 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
  5725 cat >conftest.$ac_ext <<_ACEOF
  5726 /* confdefs.h.  */
  5727 _ACEOF
  5728 cat confdefs.h >>conftest.$ac_ext
  5729 cat >>conftest.$ac_ext <<_ACEOF
  5730 /* end confdefs.h.  */
  5731 $ac_includes_default
  5732 #include <libintl.h>
  5733 _ACEOF
  5734 rm -f conftest.$ac_objext
  5735 if { (ac_try="$ac_compile"
  5736 case "(($ac_try" in
  5737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5738   *) ac_try_echo=$ac_try;;
  5739 esac
  5740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5741   (eval "$ac_compile") 2>conftest.er1
  5742   ac_status=$?
  5743   grep -v '^ *+' conftest.er1 >conftest.err
  5744   rm -f conftest.er1
  5745   cat conftest.err >&5
  5746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5747   (exit $ac_status); } &&
  5748 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5749   { (case "(($ac_try" in
  5750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5751   *) ac_try_echo=$ac_try;;
  5752 esac
  5753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5754   (eval "$ac_try") 2>&5
  5755   ac_status=$?
  5756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5757   (exit $ac_status); }; } &&
  5758 	 { ac_try='test -s conftest.$ac_objext'
  5759   { (case "(($ac_try" in
  5760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5761   *) ac_try_echo=$ac_try;;
  5762 esac
  5763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5764   (eval "$ac_try") 2>&5
  5765   ac_status=$?
  5766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5767   (exit $ac_status); }; }; then
  5768   ac_header_compiler=yes
  5769 else
  5770   echo "$as_me: failed program was:" >&5
  5771 sed 's/^/| /' conftest.$ac_ext >&5
  5773 	ac_header_compiler=no
  5774 fi
  5776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5777 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5778 echo "${ECHO_T}$ac_header_compiler" >&6; }
  5780 # Is the header present?
  5781 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
  5782 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
  5783 cat >conftest.$ac_ext <<_ACEOF
  5784 /* confdefs.h.  */
  5785 _ACEOF
  5786 cat confdefs.h >>conftest.$ac_ext
  5787 cat >>conftest.$ac_ext <<_ACEOF
  5788 /* end confdefs.h.  */
  5789 #include <libintl.h>
  5790 _ACEOF
  5791 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5792 case "(($ac_try" in
  5793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5794   *) ac_try_echo=$ac_try;;
  5795 esac
  5796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5797   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5798   ac_status=$?
  5799   grep -v '^ *+' conftest.er1 >conftest.err
  5800   rm -f conftest.er1
  5801   cat conftest.err >&5
  5802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5803   (exit $ac_status); } >/dev/null; then
  5804   if test -s conftest.err; then
  5805     ac_cpp_err=$ac_c_preproc_warn_flag
  5806     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  5807   else
  5808     ac_cpp_err=
  5809   fi
  5810 else
  5811   ac_cpp_err=yes
  5812 fi
  5813 if test -z "$ac_cpp_err"; then
  5814   ac_header_preproc=yes
  5815 else
  5816   echo "$as_me: failed program was:" >&5
  5817 sed 's/^/| /' conftest.$ac_ext >&5
  5819   ac_header_preproc=no
  5820 fi
  5822 rm -f conftest.err conftest.$ac_ext
  5823 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5824 echo "${ECHO_T}$ac_header_preproc" >&6; }
  5826 # So?  What about this header?
  5827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5828   yes:no: )
  5829     { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  5830 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  5831     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
  5832 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
  5833     ac_header_preproc=yes
  5834     ;;
  5835   no:yes:* )
  5836     { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
  5837 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
  5838     { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
  5839 echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
  5840     { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
  5841 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
  5842     { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
  5843 echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  5844     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
  5845 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
  5846     { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
  5847 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
  5849     ;;
  5850 esac
  5851 { echo "$as_me:$LINENO: checking for libintl.h" >&5
  5852 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
  5853 if test "${ac_cv_header_libintl_h+set}" = set; then
  5854   echo $ECHO_N "(cached) $ECHO_C" >&6
  5855 else
  5856   ac_cv_header_libintl_h=$ac_header_preproc
  5857 fi
  5858 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
  5859 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
  5861 fi
  5862 if test $ac_cv_header_libintl_h = yes; then
  5863   gt_cv_func_dgettext_libintl="no"
  5864       libintl_extra_libs=""
  5867       # First check in libc
  5869       { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
  5870 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
  5871 if test "${gt_cv_func_ngettext_libc+set}" = set; then
  5872   echo $ECHO_N "(cached) $ECHO_C" >&6
  5873 else
  5874   cat >conftest.$ac_ext <<_ACEOF
  5875 /* confdefs.h.  */
  5876 _ACEOF
  5877 cat confdefs.h >>conftest.$ac_ext
  5878 cat >>conftest.$ac_ext <<_ACEOF
  5879 /* end confdefs.h.  */
  5881 #include <libintl.h>
  5883 int
  5884 main ()
  5886 return !ngettext ("","", 1)
  5888   return 0;
  5890 _ACEOF
  5891 rm -f conftest.$ac_objext conftest$ac_exeext
  5892 if { (ac_try="$ac_link"
  5893 case "(($ac_try" in
  5894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5895   *) ac_try_echo=$ac_try;;
  5896 esac
  5897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5898   (eval "$ac_link") 2>conftest.er1
  5899   ac_status=$?
  5900   grep -v '^ *+' conftest.er1 >conftest.err
  5901   rm -f conftest.er1
  5902   cat conftest.err >&5
  5903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5904   (exit $ac_status); } &&
  5905 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5906   { (case "(($ac_try" in
  5907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5908   *) ac_try_echo=$ac_try;;
  5909 esac
  5910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5911   (eval "$ac_try") 2>&5
  5912   ac_status=$?
  5913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5914   (exit $ac_status); }; } &&
  5915 	 { ac_try='test -s conftest$ac_exeext'
  5916   { (case "(($ac_try" in
  5917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5918   *) ac_try_echo=$ac_try;;
  5919 esac
  5920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5921   (eval "$ac_try") 2>&5
  5922   ac_status=$?
  5923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5924   (exit $ac_status); }; }; then
  5925   gt_cv_func_ngettext_libc=yes
  5926 else
  5927   echo "$as_me: failed program was:" >&5
  5928 sed 's/^/| /' conftest.$ac_ext >&5
  5930 	gt_cv_func_ngettext_libc=no
  5931 fi
  5933 rm -f core conftest.err conftest.$ac_objext \
  5934       conftest$ac_exeext conftest.$ac_ext
  5936 fi
  5937 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
  5938 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
  5940       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
  5941 	      { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
  5942 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
  5943 if test "${gt_cv_func_dgettext_libc+set}" = set; then
  5944   echo $ECHO_N "(cached) $ECHO_C" >&6
  5945 else
  5946   cat >conftest.$ac_ext <<_ACEOF
  5947 /* confdefs.h.  */
  5948 _ACEOF
  5949 cat confdefs.h >>conftest.$ac_ext
  5950 cat >>conftest.$ac_ext <<_ACEOF
  5951 /* end confdefs.h.  */
  5953 #include <libintl.h>
  5955 int
  5956 main ()
  5958 return !dgettext ("","")
  5960   return 0;
  5962 _ACEOF
  5963 rm -f conftest.$ac_objext conftest$ac_exeext
  5964 if { (ac_try="$ac_link"
  5965 case "(($ac_try" in
  5966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5967   *) ac_try_echo=$ac_try;;
  5968 esac
  5969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5970   (eval "$ac_link") 2>conftest.er1
  5971   ac_status=$?
  5972   grep -v '^ *+' conftest.er1 >conftest.err
  5973   rm -f conftest.er1
  5974   cat conftest.err >&5
  5975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5976   (exit $ac_status); } &&
  5977 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5978   { (case "(($ac_try" in
  5979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5980   *) ac_try_echo=$ac_try;;
  5981 esac
  5982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5983   (eval "$ac_try") 2>&5
  5984   ac_status=$?
  5985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5986   (exit $ac_status); }; } &&
  5987 	 { ac_try='test -s conftest$ac_exeext'
  5988   { (case "(($ac_try" in
  5989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5990   *) ac_try_echo=$ac_try;;
  5991 esac
  5992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5993   (eval "$ac_try") 2>&5
  5994   ac_status=$?
  5995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5996   (exit $ac_status); }; }; then
  5997   gt_cv_func_dgettext_libc=yes
  5998 else
  5999   echo "$as_me: failed program was:" >&5
  6000 sed 's/^/| /' conftest.$ac_ext >&5
  6002 	gt_cv_func_dgettext_libc=no
  6003 fi
  6005 rm -f core conftest.err conftest.$ac_objext \
  6006       conftest$ac_exeext conftest.$ac_ext
  6008 fi
  6009 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
  6010 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
  6011       fi
  6013       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
  6015 for ac_func in bind_textdomain_codeset
  6016 do
  6017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  6018 { echo "$as_me:$LINENO: checking for $ac_func" >&5
  6019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  6020 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  6021   echo $ECHO_N "(cached) $ECHO_C" >&6
  6022 else
  6023   cat >conftest.$ac_ext <<_ACEOF
  6024 /* confdefs.h.  */
  6025 _ACEOF
  6026 cat confdefs.h >>conftest.$ac_ext
  6027 cat >>conftest.$ac_ext <<_ACEOF
  6028 /* end confdefs.h.  */
  6029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6030    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  6031 #define $ac_func innocuous_$ac_func
  6033 /* System header to define __stub macros and hopefully few prototypes,
  6034     which can conflict with char $ac_func (); below.
  6035     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6036     <limits.h> exists even on freestanding compilers.  */
  6038 #ifdef __STDC__
  6039 # include <limits.h>
  6040 #else
  6041 # include <assert.h>
  6042 #endif
  6044 #undef $ac_func
  6046 /* Override any GCC internal prototype to avoid an error.
  6047    Use char because int might match the return type of a GCC
  6048    builtin and then its argument prototype would still apply.  */
  6049 #ifdef __cplusplus
  6050 extern "C"
  6051 #endif
  6052 char $ac_func ();
  6053 /* The GNU C library defines this for functions which it implements
  6054     to always fail with ENOSYS.  Some functions are actually named
  6055     something starting with __ and the normal name is an alias.  */
  6056 #if defined __stub_$ac_func || defined __stub___$ac_func
  6057 choke me
  6058 #endif
  6060 int
  6061 main ()
  6063 return $ac_func ();
  6065   return 0;
  6067 _ACEOF
  6068 rm -f conftest.$ac_objext conftest$ac_exeext
  6069 if { (ac_try="$ac_link"
  6070 case "(($ac_try" in
  6071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6072   *) ac_try_echo=$ac_try;;
  6073 esac
  6074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6075   (eval "$ac_link") 2>conftest.er1
  6076   ac_status=$?
  6077   grep -v '^ *+' conftest.er1 >conftest.err
  6078   rm -f conftest.er1
  6079   cat conftest.err >&5
  6080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6081   (exit $ac_status); } &&
  6082 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6083   { (case "(($ac_try" in
  6084   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6085   *) ac_try_echo=$ac_try;;
  6086 esac
  6087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6088   (eval "$ac_try") 2>&5
  6089   ac_status=$?
  6090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6091   (exit $ac_status); }; } &&
  6092 	 { ac_try='test -s conftest$ac_exeext'
  6093   { (case "(($ac_try" in
  6094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6095   *) ac_try_echo=$ac_try;;
  6096 esac
  6097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6098   (eval "$ac_try") 2>&5
  6099   ac_status=$?
  6100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6101   (exit $ac_status); }; }; then
  6102   eval "$as_ac_var=yes"
  6103 else
  6104   echo "$as_me: failed program was:" >&5
  6105 sed 's/^/| /' conftest.$ac_ext >&5
  6107 	eval "$as_ac_var=no"
  6108 fi
  6110 rm -f core conftest.err conftest.$ac_objext \
  6111       conftest$ac_exeext conftest.$ac_ext
  6112 fi
  6113 ac_res=`eval echo '${'$as_ac_var'}'`
  6114 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  6115 echo "${ECHO_T}$ac_res" >&6; }
  6116 if test `eval echo '${'$as_ac_var'}'` = yes; then
  6117   cat >>confdefs.h <<_ACEOF
  6118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  6119 _ACEOF
  6121 fi
  6122 done
  6124       fi
  6127       # If we don't have everything we want, check in libintl
  6129       if test "$gt_cv_func_dgettext_libc" != "yes" \
  6130 	 || test "$gt_cv_func_ngettext_libc" != "yes" \
  6131          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
  6133         { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
  6134 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
  6135 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
  6136   echo $ECHO_N "(cached) $ECHO_C" >&6
  6137 else
  6138   ac_check_lib_save_LIBS=$LIBS
  6139 LIBS="-lintl  $LIBS"
  6140 cat >conftest.$ac_ext <<_ACEOF
  6141 /* confdefs.h.  */
  6142 _ACEOF
  6143 cat confdefs.h >>conftest.$ac_ext
  6144 cat >>conftest.$ac_ext <<_ACEOF
  6145 /* end confdefs.h.  */
  6147 /* Override any GCC internal prototype to avoid an error.
  6148    Use char because int might match the return type of a GCC
  6149    builtin and then its argument prototype would still apply.  */
  6150 #ifdef __cplusplus
  6151 extern "C"
  6152 #endif
  6153 char bindtextdomain ();
  6154 int
  6155 main ()
  6157 return bindtextdomain ();
  6159   return 0;
  6161 _ACEOF
  6162 rm -f conftest.$ac_objext conftest$ac_exeext
  6163 if { (ac_try="$ac_link"
  6164 case "(($ac_try" in
  6165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6166   *) ac_try_echo=$ac_try;;
  6167 esac
  6168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6169   (eval "$ac_link") 2>conftest.er1
  6170   ac_status=$?
  6171   grep -v '^ *+' conftest.er1 >conftest.err
  6172   rm -f conftest.er1
  6173   cat conftest.err >&5
  6174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6175   (exit $ac_status); } &&
  6176 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6177   { (case "(($ac_try" in
  6178   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6179   *) ac_try_echo=$ac_try;;
  6180 esac
  6181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6182   (eval "$ac_try") 2>&5
  6183   ac_status=$?
  6184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6185   (exit $ac_status); }; } &&
  6186 	 { ac_try='test -s conftest$ac_exeext'
  6187   { (case "(($ac_try" in
  6188   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6189   *) ac_try_echo=$ac_try;;
  6190 esac
  6191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6192   (eval "$ac_try") 2>&5
  6193   ac_status=$?
  6194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6195   (exit $ac_status); }; }; then
  6196   ac_cv_lib_intl_bindtextdomain=yes
  6197 else
  6198   echo "$as_me: failed program was:" >&5
  6199 sed 's/^/| /' conftest.$ac_ext >&5
  6201 	ac_cv_lib_intl_bindtextdomain=no
  6202 fi
  6204 rm -f core conftest.err conftest.$ac_objext \
  6205       conftest$ac_exeext conftest.$ac_ext
  6206 LIBS=$ac_check_lib_save_LIBS
  6207 fi
  6208 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
  6209 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
  6210 if test $ac_cv_lib_intl_bindtextdomain = yes; then
  6211   { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
  6212 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
  6213 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
  6214   echo $ECHO_N "(cached) $ECHO_C" >&6
  6215 else
  6216   ac_check_lib_save_LIBS=$LIBS
  6217 LIBS="-lintl  $LIBS"
  6218 cat >conftest.$ac_ext <<_ACEOF
  6219 /* confdefs.h.  */
  6220 _ACEOF
  6221 cat confdefs.h >>conftest.$ac_ext
  6222 cat >>conftest.$ac_ext <<_ACEOF
  6223 /* end confdefs.h.  */
  6225 /* Override any GCC internal prototype to avoid an error.
  6226    Use char because int might match the return type of a GCC
  6227    builtin and then its argument prototype would still apply.  */
  6228 #ifdef __cplusplus
  6229 extern "C"
  6230 #endif
  6231 char ngettext ();
  6232 int
  6233 main ()
  6235 return ngettext ();
  6237   return 0;
  6239 _ACEOF
  6240 rm -f conftest.$ac_objext conftest$ac_exeext
  6241 if { (ac_try="$ac_link"
  6242 case "(($ac_try" in
  6243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6244   *) ac_try_echo=$ac_try;;
  6245 esac
  6246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6247   (eval "$ac_link") 2>conftest.er1
  6248   ac_status=$?
  6249   grep -v '^ *+' conftest.er1 >conftest.err
  6250   rm -f conftest.er1
  6251   cat conftest.err >&5
  6252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6253   (exit $ac_status); } &&
  6254 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6255   { (case "(($ac_try" in
  6256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6257   *) ac_try_echo=$ac_try;;
  6258 esac
  6259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6260   (eval "$ac_try") 2>&5
  6261   ac_status=$?
  6262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6263   (exit $ac_status); }; } &&
  6264 	 { ac_try='test -s conftest$ac_exeext'
  6265   { (case "(($ac_try" in
  6266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6267   *) ac_try_echo=$ac_try;;
  6268 esac
  6269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6270   (eval "$ac_try") 2>&5
  6271   ac_status=$?
  6272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6273   (exit $ac_status); }; }; then
  6274   ac_cv_lib_intl_ngettext=yes
  6275 else
  6276   echo "$as_me: failed program was:" >&5
  6277 sed 's/^/| /' conftest.$ac_ext >&5
  6279 	ac_cv_lib_intl_ngettext=no
  6280 fi
  6282 rm -f core conftest.err conftest.$ac_objext \
  6283       conftest$ac_exeext conftest.$ac_ext
  6284 LIBS=$ac_check_lib_save_LIBS
  6285 fi
  6286 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
  6287 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
  6288 if test $ac_cv_lib_intl_ngettext = yes; then
  6289   { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
  6290 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
  6291 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
  6292   echo $ECHO_N "(cached) $ECHO_C" >&6
  6293 else
  6294   ac_check_lib_save_LIBS=$LIBS
  6295 LIBS="-lintl  $LIBS"
  6296 cat >conftest.$ac_ext <<_ACEOF
  6297 /* confdefs.h.  */
  6298 _ACEOF
  6299 cat confdefs.h >>conftest.$ac_ext
  6300 cat >>conftest.$ac_ext <<_ACEOF
  6301 /* end confdefs.h.  */
  6303 /* Override any GCC internal prototype to avoid an error.
  6304    Use char because int might match the return type of a GCC
  6305    builtin and then its argument prototype would still apply.  */
  6306 #ifdef __cplusplus
  6307 extern "C"
  6308 #endif
  6309 char dgettext ();
  6310 int
  6311 main ()
  6313 return dgettext ();
  6315   return 0;
  6317 _ACEOF
  6318 rm -f conftest.$ac_objext conftest$ac_exeext
  6319 if { (ac_try="$ac_link"
  6320 case "(($ac_try" in
  6321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6322   *) ac_try_echo=$ac_try;;
  6323 esac
  6324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6325   (eval "$ac_link") 2>conftest.er1
  6326   ac_status=$?
  6327   grep -v '^ *+' conftest.er1 >conftest.err
  6328   rm -f conftest.er1
  6329   cat conftest.err >&5
  6330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6331   (exit $ac_status); } &&
  6332 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6333   { (case "(($ac_try" in
  6334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6335   *) ac_try_echo=$ac_try;;
  6336 esac
  6337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6338   (eval "$ac_try") 2>&5
  6339   ac_status=$?
  6340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6341   (exit $ac_status); }; } &&
  6342 	 { ac_try='test -s conftest$ac_exeext'
  6343   { (case "(($ac_try" in
  6344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6345   *) ac_try_echo=$ac_try;;
  6346 esac
  6347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6348   (eval "$ac_try") 2>&5
  6349   ac_status=$?
  6350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6351   (exit $ac_status); }; }; then
  6352   ac_cv_lib_intl_dgettext=yes
  6353 else
  6354   echo "$as_me: failed program was:" >&5
  6355 sed 's/^/| /' conftest.$ac_ext >&5
  6357 	ac_cv_lib_intl_dgettext=no
  6358 fi
  6360 rm -f core conftest.err conftest.$ac_objext \
  6361       conftest$ac_exeext conftest.$ac_ext
  6362 LIBS=$ac_check_lib_save_LIBS
  6363 fi
  6364 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
  6365 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
  6366 if test $ac_cv_lib_intl_dgettext = yes; then
  6367   gt_cv_func_dgettext_libintl=yes
  6368 fi
  6370 fi
  6372 fi
  6375 	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
  6376 	  { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
  6377 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
  6378 	  { echo "$as_me:$LINENO: result: " >&5
  6379 echo "${ECHO_T}" >&6; }
  6380   	  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
  6381 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
  6382 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
  6383   echo $ECHO_N "(cached) $ECHO_C" >&6
  6384 else
  6385   ac_check_lib_save_LIBS=$LIBS
  6386 LIBS="-lintl -liconv $LIBS"
  6387 cat >conftest.$ac_ext <<_ACEOF
  6388 /* confdefs.h.  */
  6389 _ACEOF
  6390 cat confdefs.h >>conftest.$ac_ext
  6391 cat >>conftest.$ac_ext <<_ACEOF
  6392 /* end confdefs.h.  */
  6394 /* Override any GCC internal prototype to avoid an error.
  6395    Use char because int might match the return type of a GCC
  6396    builtin and then its argument prototype would still apply.  */
  6397 #ifdef __cplusplus
  6398 extern "C"
  6399 #endif
  6400 char ngettext ();
  6401 int
  6402 main ()
  6404 return ngettext ();
  6406   return 0;
  6408 _ACEOF
  6409 rm -f conftest.$ac_objext conftest$ac_exeext
  6410 if { (ac_try="$ac_link"
  6411 case "(($ac_try" in
  6412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6413   *) ac_try_echo=$ac_try;;
  6414 esac
  6415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6416   (eval "$ac_link") 2>conftest.er1
  6417   ac_status=$?
  6418   grep -v '^ *+' conftest.er1 >conftest.err
  6419   rm -f conftest.er1
  6420   cat conftest.err >&5
  6421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6422   (exit $ac_status); } &&
  6423 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6424   { (case "(($ac_try" in
  6425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6426   *) ac_try_echo=$ac_try;;
  6427 esac
  6428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6429   (eval "$ac_try") 2>&5
  6430   ac_status=$?
  6431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6432   (exit $ac_status); }; } &&
  6433 	 { ac_try='test -s conftest$ac_exeext'
  6434   { (case "(($ac_try" in
  6435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6436   *) ac_try_echo=$ac_try;;
  6437 esac
  6438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6439   (eval "$ac_try") 2>&5
  6440   ac_status=$?
  6441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6442   (exit $ac_status); }; }; then
  6443   ac_cv_lib_intl_ngettext=yes
  6444 else
  6445   echo "$as_me: failed program was:" >&5
  6446 sed 's/^/| /' conftest.$ac_ext >&5
  6448 	ac_cv_lib_intl_ngettext=no
  6449 fi
  6451 rm -f core conftest.err conftest.$ac_objext \
  6452       conftest$ac_exeext conftest.$ac_ext
  6453 LIBS=$ac_check_lib_save_LIBS
  6454 fi
  6455 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
  6456 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
  6457 if test $ac_cv_lib_intl_ngettext = yes; then
  6458   { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
  6459 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
  6460 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
  6461   echo $ECHO_N "(cached) $ECHO_C" >&6
  6462 else
  6463   ac_check_lib_save_LIBS=$LIBS
  6464 LIBS="-lintl -liconv $LIBS"
  6465 cat >conftest.$ac_ext <<_ACEOF
  6466 /* confdefs.h.  */
  6467 _ACEOF
  6468 cat confdefs.h >>conftest.$ac_ext
  6469 cat >>conftest.$ac_ext <<_ACEOF
  6470 /* end confdefs.h.  */
  6472 /* Override any GCC internal prototype to avoid an error.
  6473    Use char because int might match the return type of a GCC
  6474    builtin and then its argument prototype would still apply.  */
  6475 #ifdef __cplusplus
  6476 extern "C"
  6477 #endif
  6478 char dcgettext ();
  6479 int
  6480 main ()
  6482 return dcgettext ();
  6484   return 0;
  6486 _ACEOF
  6487 rm -f conftest.$ac_objext conftest$ac_exeext
  6488 if { (ac_try="$ac_link"
  6489 case "(($ac_try" in
  6490   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6491   *) ac_try_echo=$ac_try;;
  6492 esac
  6493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6494   (eval "$ac_link") 2>conftest.er1
  6495   ac_status=$?
  6496   grep -v '^ *+' conftest.er1 >conftest.err
  6497   rm -f conftest.er1
  6498   cat conftest.err >&5
  6499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6500   (exit $ac_status); } &&
  6501 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6502   { (case "(($ac_try" in
  6503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6504   *) ac_try_echo=$ac_try;;
  6505 esac
  6506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6507   (eval "$ac_try") 2>&5
  6508   ac_status=$?
  6509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6510   (exit $ac_status); }; } &&
  6511 	 { ac_try='test -s conftest$ac_exeext'
  6512   { (case "(($ac_try" in
  6513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6514   *) ac_try_echo=$ac_try;;
  6515 esac
  6516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6517   (eval "$ac_try") 2>&5
  6518   ac_status=$?
  6519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6520   (exit $ac_status); }; }; then
  6521   ac_cv_lib_intl_dcgettext=yes
  6522 else
  6523   echo "$as_me: failed program was:" >&5
  6524 sed 's/^/| /' conftest.$ac_ext >&5
  6526 	ac_cv_lib_intl_dcgettext=no
  6527 fi
  6529 rm -f core conftest.err conftest.$ac_objext \
  6530       conftest$ac_exeext conftest.$ac_ext
  6531 LIBS=$ac_check_lib_save_LIBS
  6532 fi
  6533 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
  6534 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
  6535 if test $ac_cv_lib_intl_dcgettext = yes; then
  6536   gt_cv_func_dgettext_libintl=yes
  6537 			libintl_extra_libs=-liconv
  6538 else
  6540 fi
  6542 else
  6544 fi
  6546         fi
  6549         # If we found libintl, then check in it for bind_textdomain_codeset();
  6550         # we'll prefer libc if neither have bind_textdomain_codeset(),
  6551         # and both have dgettext and ngettext
  6553         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
  6554           glib_save_LIBS="$LIBS"
  6555           LIBS="$LIBS -lintl $libintl_extra_libs"
  6556           unset ac_cv_func_bind_textdomain_codeset
  6558 for ac_func in bind_textdomain_codeset
  6559 do
  6560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  6561 { echo "$as_me:$LINENO: checking for $ac_func" >&5
  6562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  6563 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  6564   echo $ECHO_N "(cached) $ECHO_C" >&6
  6565 else
  6566   cat >conftest.$ac_ext <<_ACEOF
  6567 /* confdefs.h.  */
  6568 _ACEOF
  6569 cat confdefs.h >>conftest.$ac_ext
  6570 cat >>conftest.$ac_ext <<_ACEOF
  6571 /* end confdefs.h.  */
  6572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6573    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  6574 #define $ac_func innocuous_$ac_func
  6576 /* System header to define __stub macros and hopefully few prototypes,
  6577     which can conflict with char $ac_func (); below.
  6578     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6579     <limits.h> exists even on freestanding compilers.  */
  6581 #ifdef __STDC__
  6582 # include <limits.h>
  6583 #else
  6584 # include <assert.h>
  6585 #endif
  6587 #undef $ac_func
  6589 /* Override any GCC internal prototype to avoid an error.
  6590    Use char because int might match the return type of a GCC
  6591    builtin and then its argument prototype would still apply.  */
  6592 #ifdef __cplusplus
  6593 extern "C"
  6594 #endif
  6595 char $ac_func ();
  6596 /* The GNU C library defines this for functions which it implements
  6597     to always fail with ENOSYS.  Some functions are actually named
  6598     something starting with __ and the normal name is an alias.  */
  6599 #if defined __stub_$ac_func || defined __stub___$ac_func
  6600 choke me
  6601 #endif
  6603 int
  6604 main ()
  6606 return $ac_func ();
  6608   return 0;
  6610 _ACEOF
  6611 rm -f conftest.$ac_objext conftest$ac_exeext
  6612 if { (ac_try="$ac_link"
  6613 case "(($ac_try" in
  6614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6615   *) ac_try_echo=$ac_try;;
  6616 esac
  6617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6618   (eval "$ac_link") 2>conftest.er1
  6619   ac_status=$?
  6620   grep -v '^ *+' conftest.er1 >conftest.err
  6621   rm -f conftest.er1
  6622   cat conftest.err >&5
  6623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6624   (exit $ac_status); } &&
  6625 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6626   { (case "(($ac_try" in
  6627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6628   *) ac_try_echo=$ac_try;;
  6629 esac
  6630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6631   (eval "$ac_try") 2>&5
  6632   ac_status=$?
  6633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6634   (exit $ac_status); }; } &&
  6635 	 { ac_try='test -s conftest$ac_exeext'
  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_try") 2>&5
  6642   ac_status=$?
  6643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6644   (exit $ac_status); }; }; then
  6645   eval "$as_ac_var=yes"
  6646 else
  6647   echo "$as_me: failed program was:" >&5
  6648 sed 's/^/| /' conftest.$ac_ext >&5
  6650 	eval "$as_ac_var=no"
  6651 fi
  6653 rm -f core conftest.err conftest.$ac_objext \
  6654       conftest$ac_exeext conftest.$ac_ext
  6655 fi
  6656 ac_res=`eval echo '${'$as_ac_var'}'`
  6657 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  6658 echo "${ECHO_T}$ac_res" >&6; }
  6659 if test `eval echo '${'$as_ac_var'}'` = yes; then
  6660   cat >>confdefs.h <<_ACEOF
  6661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  6662 _ACEOF
  6664 fi
  6665 done
  6667           LIBS="$glib_save_LIBS"
  6669           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
  6670             gt_cv_func_dgettext_libc=no
  6671           else
  6672             if test "$gt_cv_func_dgettext_libc" = "yes" \
  6673 		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
  6674               gt_cv_func_dgettext_libintl=no
  6675             fi
  6676           fi
  6677         fi
  6678       fi
  6680       if test "$gt_cv_func_dgettext_libc" = "yes" \
  6681 	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
  6682         gt_cv_have_gettext=yes
  6683       fi
  6685       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
  6686         INTLLIBS="-lintl $libintl_extra_libs"
  6687       fi
  6689       if test "$gt_cv_have_gettext" = "yes"; then
  6691 cat >>confdefs.h <<\_ACEOF
  6692 #define HAVE_GETTEXT 1
  6693 _ACEOF
  6695 	# Extract the first word of "msgfmt", so it can be a program name with args.
  6696 set dummy msgfmt; ac_word=$2
  6697 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6699 if test "${ac_cv_path_MSGFMT+set}" = set; then
  6700   echo $ECHO_N "(cached) $ECHO_C" >&6
  6701 else
  6702   case "$MSGFMT" in
  6703   /*)
  6704   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
  6705   ;;
  6706   *)
  6707   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  6708   for ac_dir in $PATH; do
  6709     test -z "$ac_dir" && ac_dir=.
  6710     if test -f $ac_dir/$ac_word; then
  6711       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
  6712 	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
  6713 	break
  6714       fi
  6715     fi
  6716   done
  6717   IFS="$ac_save_ifs"
  6718   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
  6719   ;;
  6720 esac
  6721 fi
  6722 MSGFMT="$ac_cv_path_MSGFMT"
  6723 if test "$MSGFMT" != "no"; then
  6724   { echo "$as_me:$LINENO: result: $MSGFMT" >&5
  6725 echo "${ECHO_T}$MSGFMT" >&6; }
  6726 else
  6727   { echo "$as_me:$LINENO: result: no" >&5
  6728 echo "${ECHO_T}no" >&6; }
  6729 fi
  6730 	if test "$MSGFMT" != "no"; then
  6731           glib_save_LIBS="$LIBS"
  6732           LIBS="$LIBS $INTLLIBS"
  6734 for ac_func in dcgettext
  6735 do
  6736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  6737 { echo "$as_me:$LINENO: checking for $ac_func" >&5
  6738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  6739 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  6740   echo $ECHO_N "(cached) $ECHO_C" >&6
  6741 else
  6742   cat >conftest.$ac_ext <<_ACEOF
  6743 /* confdefs.h.  */
  6744 _ACEOF
  6745 cat confdefs.h >>conftest.$ac_ext
  6746 cat >>conftest.$ac_ext <<_ACEOF
  6747 /* end confdefs.h.  */
  6748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6749    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  6750 #define $ac_func innocuous_$ac_func
  6752 /* System header to define __stub macros and hopefully few prototypes,
  6753     which can conflict with char $ac_func (); below.
  6754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6755     <limits.h> exists even on freestanding compilers.  */
  6757 #ifdef __STDC__
  6758 # include <limits.h>
  6759 #else
  6760 # include <assert.h>
  6761 #endif
  6763 #undef $ac_func
  6765 /* Override any GCC internal prototype to avoid an error.
  6766    Use char because int might match the return type of a GCC
  6767    builtin and then its argument prototype would still apply.  */
  6768 #ifdef __cplusplus
  6769 extern "C"
  6770 #endif
  6771 char $ac_func ();
  6772 /* The GNU C library defines this for functions which it implements
  6773     to always fail with ENOSYS.  Some functions are actually named
  6774     something starting with __ and the normal name is an alias.  */
  6775 #if defined __stub_$ac_func || defined __stub___$ac_func
  6776 choke me
  6777 #endif
  6779 int
  6780 main ()
  6782 return $ac_func ();
  6784   return 0;
  6786 _ACEOF
  6787 rm -f conftest.$ac_objext conftest$ac_exeext
  6788 if { (ac_try="$ac_link"
  6789 case "(($ac_try" in
  6790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6791   *) ac_try_echo=$ac_try;;
  6792 esac
  6793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6794   (eval "$ac_link") 2>conftest.er1
  6795   ac_status=$?
  6796   grep -v '^ *+' conftest.er1 >conftest.err
  6797   rm -f conftest.er1
  6798   cat conftest.err >&5
  6799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6800   (exit $ac_status); } &&
  6801 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6802   { (case "(($ac_try" in
  6803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6804   *) ac_try_echo=$ac_try;;
  6805 esac
  6806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6807   (eval "$ac_try") 2>&5
  6808   ac_status=$?
  6809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6810   (exit $ac_status); }; } &&
  6811 	 { ac_try='test -s conftest$ac_exeext'
  6812   { (case "(($ac_try" in
  6813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6814   *) ac_try_echo=$ac_try;;
  6815 esac
  6816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6817   (eval "$ac_try") 2>&5
  6818   ac_status=$?
  6819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6820   (exit $ac_status); }; }; then
  6821   eval "$as_ac_var=yes"
  6822 else
  6823   echo "$as_me: failed program was:" >&5
  6824 sed 's/^/| /' conftest.$ac_ext >&5
  6826 	eval "$as_ac_var=no"
  6827 fi
  6829 rm -f core conftest.err conftest.$ac_objext \
  6830       conftest$ac_exeext conftest.$ac_ext
  6831 fi
  6832 ac_res=`eval echo '${'$as_ac_var'}'`
  6833 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  6834 echo "${ECHO_T}$ac_res" >&6; }
  6835 if test `eval echo '${'$as_ac_var'}'` = yes; then
  6836   cat >>confdefs.h <<_ACEOF
  6837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  6838 _ACEOF
  6840 fi
  6841 done
  6843 	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
  6844 set dummy gmsgfmt; ac_word=$2
  6845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6847 if test "${ac_cv_path_GMSGFMT+set}" = set; then
  6848   echo $ECHO_N "(cached) $ECHO_C" >&6
  6849 else
  6850   case $GMSGFMT in
  6851   [\\/]* | ?:[\\/]*)
  6852   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
  6853   ;;
  6854   *)
  6855   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6856 for as_dir in $PATH
  6857 do
  6858   IFS=$as_save_IFS
  6859   test -z "$as_dir" && as_dir=.
  6860   for ac_exec_ext in '' $ac_executable_extensions; do
  6861   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  6862     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
  6863     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6864     break 2
  6865   fi
  6866 done
  6867 done
  6868 IFS=$as_save_IFS
  6870   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  6871   ;;
  6872 esac
  6873 fi
  6874 GMSGFMT=$ac_cv_path_GMSGFMT
  6875 if test -n "$GMSGFMT"; then
  6876   { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
  6877 echo "${ECHO_T}$GMSGFMT" >&6; }
  6878 else
  6879   { echo "$as_me:$LINENO: result: no" >&5
  6880 echo "${ECHO_T}no" >&6; }
  6881 fi
  6884 	  # Extract the first word of "xgettext", so it can be a program name with args.
  6885 set dummy xgettext; ac_word=$2
  6886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6888 if test "${ac_cv_path_XGETTEXT+set}" = set; then
  6889   echo $ECHO_N "(cached) $ECHO_C" >&6
  6890 else
  6891   case "$XGETTEXT" in
  6892   /*)
  6893   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
  6894   ;;
  6895   *)
  6896   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  6897   for ac_dir in $PATH; do
  6898     test -z "$ac_dir" && ac_dir=.
  6899     if test -f $ac_dir/$ac_word; then
  6900       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
  6901 	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
  6902 	break
  6903       fi
  6904     fi
  6905   done
  6906   IFS="$ac_save_ifs"
  6907   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
  6908   ;;
  6909 esac
  6910 fi
  6911 XGETTEXT="$ac_cv_path_XGETTEXT"
  6912 if test "$XGETTEXT" != ":"; then
  6913   { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
  6914 echo "${ECHO_T}$XGETTEXT" >&6; }
  6915 else
  6916   { echo "$as_me:$LINENO: result: no" >&5
  6917 echo "${ECHO_T}no" >&6; }
  6918 fi
  6920 	  cat >conftest.$ac_ext <<_ACEOF
  6921 /* confdefs.h.  */
  6922 _ACEOF
  6923 cat confdefs.h >>conftest.$ac_ext
  6924 cat >>conftest.$ac_ext <<_ACEOF
  6925 /* end confdefs.h.  */
  6927 int
  6928 main ()
  6930 extern int _nl_msg_cat_cntr;
  6931 			 return _nl_msg_cat_cntr
  6933   return 0;
  6935 _ACEOF
  6936 rm -f conftest.$ac_objext conftest$ac_exeext
  6937 if { (ac_try="$ac_link"
  6938 case "(($ac_try" in
  6939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6940   *) ac_try_echo=$ac_try;;
  6941 esac
  6942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6943   (eval "$ac_link") 2>conftest.er1
  6944   ac_status=$?
  6945   grep -v '^ *+' conftest.er1 >conftest.err
  6946   rm -f conftest.er1
  6947   cat conftest.err >&5
  6948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6949   (exit $ac_status); } &&
  6950 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6951   { (case "(($ac_try" in
  6952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6953   *) ac_try_echo=$ac_try;;
  6954 esac
  6955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6956   (eval "$ac_try") 2>&5
  6957   ac_status=$?
  6958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6959   (exit $ac_status); }; } &&
  6960 	 { ac_try='test -s conftest$ac_exeext'
  6961   { (case "(($ac_try" in
  6962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6963   *) ac_try_echo=$ac_try;;
  6964 esac
  6965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6966   (eval "$ac_try") 2>&5
  6967   ac_status=$?
  6968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6969   (exit $ac_status); }; }; then
  6970   CATOBJEXT=.gmo
  6971              DATADIRNAME=share
  6972 else
  6973   echo "$as_me: failed program was:" >&5
  6974 sed 's/^/| /' conftest.$ac_ext >&5
  6976 	case $host in
  6977 	    *-*-solaris*)
  6978 	    	                	    	                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
  6979 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
  6980 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
  6981   echo $ECHO_N "(cached) $ECHO_C" >&6
  6982 else
  6983   cat >conftest.$ac_ext <<_ACEOF
  6984 /* confdefs.h.  */
  6985 _ACEOF
  6986 cat confdefs.h >>conftest.$ac_ext
  6987 cat >>conftest.$ac_ext <<_ACEOF
  6988 /* end confdefs.h.  */
  6989 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
  6990    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  6991 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
  6993 /* System header to define __stub macros and hopefully few prototypes,
  6994     which can conflict with char bind_textdomain_codeset (); below.
  6995     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6996     <limits.h> exists even on freestanding compilers.  */
  6998 #ifdef __STDC__
  6999 # include <limits.h>
  7000 #else
  7001 # include <assert.h>
  7002 #endif
  7004 #undef bind_textdomain_codeset
  7006 /* Override any GCC internal prototype to avoid an error.
  7007    Use char because int might match the return type of a GCC
  7008    builtin and then its argument prototype would still apply.  */
  7009 #ifdef __cplusplus
  7010 extern "C"
  7011 #endif
  7012 char bind_textdomain_codeset ();
  7013 /* The GNU C library defines this for functions which it implements
  7014     to always fail with ENOSYS.  Some functions are actually named
  7015     something starting with __ and the normal name is an alias.  */
  7016 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
  7017 choke me
  7018 #endif
  7020 int
  7021 main ()
  7023 return bind_textdomain_codeset ();
  7025   return 0;
  7027 _ACEOF
  7028 rm -f conftest.$ac_objext conftest$ac_exeext
  7029 if { (ac_try="$ac_link"
  7030 case "(($ac_try" in
  7031   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7032   *) ac_try_echo=$ac_try;;
  7033 esac
  7034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7035   (eval "$ac_link") 2>conftest.er1
  7036   ac_status=$?
  7037   grep -v '^ *+' conftest.er1 >conftest.err
  7038   rm -f conftest.er1
  7039   cat conftest.err >&5
  7040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7041   (exit $ac_status); } &&
  7042 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7043   { (case "(($ac_try" in
  7044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7045   *) ac_try_echo=$ac_try;;
  7046 esac
  7047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7048   (eval "$ac_try") 2>&5
  7049   ac_status=$?
  7050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7051   (exit $ac_status); }; } &&
  7052 	 { ac_try='test -s conftest$ac_exeext'
  7053   { (case "(($ac_try" in
  7054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7055   *) ac_try_echo=$ac_try;;
  7056 esac
  7057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7058   (eval "$ac_try") 2>&5
  7059   ac_status=$?
  7060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7061   (exit $ac_status); }; }; then
  7062   ac_cv_func_bind_textdomain_codeset=yes
  7063 else
  7064   echo "$as_me: failed program was:" >&5
  7065 sed 's/^/| /' conftest.$ac_ext >&5
  7067 	ac_cv_func_bind_textdomain_codeset=no
  7068 fi
  7070 rm -f core conftest.err conftest.$ac_objext \
  7071       conftest$ac_exeext conftest.$ac_ext
  7072 fi
  7073 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
  7074 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
  7075 if test $ac_cv_func_bind_textdomain_codeset = yes; then
  7076   CATOBJEXT=.gmo
  7077                DATADIRNAME=share
  7078 else
  7079   CATOBJEXT=.mo
  7080                DATADIRNAME=lib
  7081 fi
  7083 	    ;;
  7084 	    *)
  7085 	    CATOBJEXT=.mo
  7086             DATADIRNAME=lib
  7087 	    ;;
  7088 	    esac
  7089 fi
  7091 rm -f core conftest.err conftest.$ac_objext \
  7092       conftest$ac_exeext conftest.$ac_ext
  7093           LIBS="$glib_save_LIBS"
  7094 	  INSTOBJEXT=.mo
  7095 	else
  7096 	  gt_cv_have_gettext=no
  7097 	fi
  7098       fi
  7100 fi
  7104     if test "$gt_cv_have_gettext" = "yes" ; then
  7106 cat >>confdefs.h <<\_ACEOF
  7107 #define ENABLE_NLS 1
  7108 _ACEOF
  7110     fi
  7112         if test "$XGETTEXT" != ":"; then
  7113                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
  7114         : ;
  7115       else
  7116         { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
  7117 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
  7118         XGETTEXT=":"
  7119       fi
  7120     fi
  7122     # We need to process the po/ directory.
  7123     POSUB=po
  7125     ac_config_commands="$ac_config_commands default-1"
  7128                 for lang in $ALL_LINGUAS; do
  7129       GMOFILES="$GMOFILES $lang.gmo"
  7130       POFILES="$POFILES $lang.po"
  7131     done
  7145    if test "$gt_cv_have_gettext" = "yes"; then
  7146      if test "x$ALL_LINGUAS" = "x"; then
  7147        LINGUAS=
  7148      else
  7149        { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
  7150 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
  7151        NEW_LINGUAS=
  7152        for presentlang in $ALL_LINGUAS; do
  7153          useit=no
  7154          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
  7155            desiredlanguages="$LINGUAS"
  7156          else
  7157            desiredlanguages="$ALL_LINGUAS"
  7158          fi
  7159          for desiredlang in $desiredlanguages; do
  7160  	   # Use the presentlang catalog if desiredlang is
  7161            #   a. equal to presentlang, or
  7162            #   b. a variant of presentlang (because in this case,
  7163            #      presentlang can be used as a fallback for messages
  7164            #      which are not translated in the desiredlang catalog).
  7165            case "$desiredlang" in
  7166              "$presentlang"*) useit=yes;;
  7167            esac
  7168          done
  7169          if test $useit = yes; then
  7170            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
  7171          fi
  7172        done
  7173        LINGUAS=$NEW_LINGUAS
  7174        { echo "$as_me:$LINENO: result: $LINGUAS" >&5
  7175 echo "${ECHO_T}$LINGUAS" >&6; }
  7176      fi
  7178           if test -n "$LINGUAS"; then
  7179        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
  7180      fi
  7181    fi
  7183             MKINSTALLDIRS=
  7184    if test -n "$ac_aux_dir"; then
  7185      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
  7186    fi
  7187    if test -z "$MKINSTALLDIRS"; then
  7188      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
  7189    fi
  7192          test -d po || mkdir po
  7193    if test "x$srcdir" != "x."; then
  7194      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
  7195        posrcprefix="$srcdir/"
  7196      else
  7197        posrcprefix="../$srcdir/"
  7198      fi
  7199    else
  7200      posrcprefix="../"
  7201    fi
  7202    rm -f po/POTFILES
  7203    sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
  7204 	< $srcdir/po/POTFILES.in > po/POTFILES
  7207 CFLAGS='-g3'
  7210 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
  7212 cat >confcache <<\_ACEOF
  7213 # This file is a shell script that caches the results of configure
  7214 # tests run on this system so they can be shared between configure
  7215 # scripts and configure runs, see configure's option --config-cache.
  7216 # It is not useful on other systems.  If it contains results you don't
  7217 # want to keep, you may remove or edit it.
  7219 # config.status only pays attention to the cache file if you give it
  7220 # the --recheck option to rerun configure.
  7222 # `ac_cv_env_foo' variables (set or unset) will be overridden when
  7223 # loading this file, other *unset* `ac_cv_foo' will be assigned the
  7224 # following values.
  7226 _ACEOF
  7228 # The following way of writing the cache mishandles newlines in values,
  7229 # but we know of no workaround that is simple, portable, and efficient.
  7230 # So, we kill variables containing newlines.
  7231 # Ultrix sh set writes to stderr and can't be redirected directly,
  7232 # and sets the high bit in the cache file unless we assign to the vars.
  7234   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  7235     eval ac_val=\$$ac_var
  7236     case $ac_val in #(
  7237     *${as_nl}*)
  7238       case $ac_var in #(
  7239       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  7240 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  7241       esac
  7242       case $ac_var in #(
  7243       _ | IFS | as_nl) ;; #(
  7244       *) $as_unset $ac_var ;;
  7245       esac ;;
  7246     esac
  7247   done
  7249   (set) 2>&1 |
  7250     case $as_nl`(ac_space=' '; set) 2>&1` in #(
  7251     *${as_nl}ac_space=\ *)
  7252       # `set' does not quote correctly, so add quotes (double-quote
  7253       # substitution turns \\\\ into \\, and sed turns \\ into \).
  7254       sed -n \
  7255 	"s/'/'\\\\''/g;
  7256 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  7257       ;; #(
  7258     *)
  7259       # `set' quotes correctly as required by POSIX, so do not add quotes.
  7260       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  7261       ;;
  7262     esac |
  7263     sort
  7264 ) |
  7265   sed '
  7266      /^ac_cv_env_/b end
  7267      t clear
  7268      :clear
  7269      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  7270      t end
  7271      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  7272      :end' >>confcache
  7273 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  7274   if test -w "$cache_file"; then
  7275     test "x$cache_file" != "x/dev/null" &&
  7276       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  7277 echo "$as_me: updating cache $cache_file" >&6;}
  7278     cat confcache >$cache_file
  7279   else
  7280     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  7281 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  7282   fi
  7283 fi
  7284 rm -f confcache
  7286 test "x$prefix" = xNONE && prefix=$ac_default_prefix
  7287 # Let make expand exec_prefix.
  7288 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  7290 DEFS=-DHAVE_CONFIG_H
  7292 ac_libobjs=
  7293 ac_ltlibobjs=
  7294 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  7295   # 1. Remove the extension, and $U if already installed.
  7296   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  7297   ac_i=`echo "$ac_i" | sed "$ac_script"`
  7298   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  7299   #    will be set to the directory where LIBOBJS objects are built.
  7300   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  7301   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  7302 done
  7303 LIBOBJS=$ac_libobjs
  7305 LTLIBOBJS=$ac_ltlibobjs
  7308 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  7309   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
  7310 Usually this means the macro was only invoked conditionally." >&5
  7311 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
  7312 Usually this means the macro was only invoked conditionally." >&2;}
  7313    { (exit 1); exit 1; }; }
  7314 fi
  7315 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  7316   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  7317 Usually this means the macro was only invoked conditionally." >&5
  7318 echo "$as_me: error: conditional \"AMDEP\" was never defined.
  7319 Usually this means the macro was only invoked conditionally." >&2;}
  7320    { (exit 1); exit 1; }; }
  7321 fi
  7322 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  7323   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  7324 Usually this means the macro was only invoked conditionally." >&5
  7325 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  7326 Usually this means the macro was only invoked conditionally." >&2;}
  7327    { (exit 1); exit 1; }; }
  7328 fi
  7329 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  7330   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  7331 Usually this means the macro was only invoked conditionally." >&5
  7332 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  7333 Usually this means the macro was only invoked conditionally." >&2;}
  7334    { (exit 1); exit 1; }; }
  7335 fi
  7337 : ${CONFIG_STATUS=./config.status}
  7338 ac_clean_files_save=$ac_clean_files
  7339 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  7340 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  7341 echo "$as_me: creating $CONFIG_STATUS" >&6;}
  7342 cat >$CONFIG_STATUS <<_ACEOF
  7343 #! $SHELL
  7344 # Generated by $as_me.
  7345 # Run this file to recreate the current configuration.
  7346 # Compiler output produced by configure, useful for debugging
  7347 # configure, is in config.log if it exists.
  7349 debug=false
  7350 ac_cs_recheck=false
  7351 ac_cs_silent=false
  7352 SHELL=\${CONFIG_SHELL-$SHELL}
  7353 _ACEOF
  7355 cat >>$CONFIG_STATUS <<\_ACEOF
  7356 ## --------------------- ##
  7357 ## M4sh Initialization.  ##
  7358 ## --------------------- ##
  7360 # Be Bourne compatible
  7361 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  7362   emulate sh
  7363   NULLCMD=:
  7364   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  7365   # is contrary to our usage.  Disable this feature.
  7366   alias -g '${1+"$@"}'='"$@"'
  7367   setopt NO_GLOB_SUBST
  7368 else
  7369   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
  7370 fi
  7371 BIN_SH=xpg4; export BIN_SH # for Tru64
  7372 DUALCASE=1; export DUALCASE # for MKS sh
  7375 # PATH needs CR
  7376 # Avoid depending upon Character Ranges.
  7377 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  7378 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  7379 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  7380 as_cr_digits='0123456789'
  7381 as_cr_alnum=$as_cr_Letters$as_cr_digits
  7383 # The user is always right.
  7384 if test "${PATH_SEPARATOR+set}" != set; then
  7385   echo "#! /bin/sh" >conf$$.sh
  7386   echo  "exit 0"   >>conf$$.sh
  7387   chmod +x conf$$.sh
  7388   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  7389     PATH_SEPARATOR=';'
  7390   else
  7391     PATH_SEPARATOR=:
  7392   fi
  7393   rm -f conf$$.sh
  7394 fi
  7396 # Support unset when possible.
  7397 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  7398   as_unset=unset
  7399 else
  7400   as_unset=false
  7401 fi
  7404 # IFS
  7405 # We need space, tab and new line, in precisely that order.  Quoting is
  7406 # there to prevent editors from complaining about space-tab.
  7407 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  7408 # splitting by setting IFS to empty value.)
  7409 as_nl='
  7411 IFS=" ""	$as_nl"
  7413 # Find who we are.  Look in the path if we contain no directory separator.
  7414 case $0 in
  7415   *[\\/]* ) as_myself=$0 ;;
  7416   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7417 for as_dir in $PATH
  7418 do
  7419   IFS=$as_save_IFS
  7420   test -z "$as_dir" && as_dir=.
  7421   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  7422 done
  7423 IFS=$as_save_IFS
  7425      ;;
  7426 esac
  7427 # We did not find ourselves, most probably we were run as `sh COMMAND'
  7428 # in which case we are not to be found in the path.
  7429 if test "x$as_myself" = x; then
  7430   as_myself=$0
  7431 fi
  7432 if test ! -f "$as_myself"; then
  7433   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  7434   { (exit 1); exit 1; }
  7435 fi
  7437 # Work around bugs in pre-3.0 UWIN ksh.
  7438 for as_var in ENV MAIL MAILPATH
  7439 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  7440 done
  7441 PS1='$ '
  7442 PS2='> '
  7443 PS4='+ '
  7445 # NLS nuisances.
  7446 for as_var in \
  7447   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  7448   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  7449   LC_TELEPHONE LC_TIME
  7450 do
  7451   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  7452     eval $as_var=C; export $as_var
  7453   else
  7454     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  7455   fi
  7456 done
  7458 # Required to use basename.
  7459 if expr a : '\(a\)' >/dev/null 2>&1 &&
  7460    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  7461   as_expr=expr
  7462 else
  7463   as_expr=false
  7464 fi
  7466 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  7467   as_basename=basename
  7468 else
  7469   as_basename=false
  7470 fi
  7473 # Name of the executable.
  7474 as_me=`$as_basename -- "$0" ||
  7475 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  7476 	 X"$0" : 'X\(//\)$' \| \
  7477 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  7478 echo X/"$0" |
  7479     sed '/^.*\/\([^/][^/]*\)\/*$/{
  7480 	    s//\1/
  7483 	  /^X\/\(\/\/\)$/{
  7484 	    s//\1/
  7487 	  /^X\/\(\/\).*/{
  7488 	    s//\1/
  7491 	  s/.*/./; q'`
  7493 # CDPATH.
  7494 $as_unset CDPATH
  7498   as_lineno_1=$LINENO
  7499   as_lineno_2=$LINENO
  7500   test "x$as_lineno_1" != "x$as_lineno_2" &&
  7501   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  7503   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  7504   # uniformly replaced by the line number.  The first 'sed' inserts a
  7505   # line-number line after each line using $LINENO; the second 'sed'
  7506   # does the real work.  The second script uses 'N' to pair each
  7507   # line-number line with the line containing $LINENO, and appends
  7508   # trailing '-' during substitution so that $LINENO is not a special
  7509   # case at line end.
  7510   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  7511   # scripts with optimization help from Paolo Bonzini.  Blame Lee
  7512   # E. McMahon (1931-1989) for sed's syntax.  :-)
  7513   sed -n '
  7515     /[$]LINENO/=
  7516   ' <$as_myself |
  7517     sed '
  7518       s/[$]LINENO.*/&-/
  7519       t lineno
  7521       :lineno
  7523       :loop
  7524       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  7525       t loop
  7526       s/-\n.*//
  7527     ' >$as_me.lineno &&
  7528   chmod +x "$as_me.lineno" ||
  7529     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  7530    { (exit 1); exit 1; }; }
  7532   # Don't try to exec as it changes $[0], causing all sort of problems
  7533   # (the dirname of $[0] is not the place where we might find the
  7534   # original and so on.  Autoconf is especially sensitive to this).
  7535   . "./$as_me.lineno"
  7536   # Exit status is that of the last command.
  7537   exit
  7541 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  7542   as_dirname=dirname
  7543 else
  7544   as_dirname=false
  7545 fi
  7547 ECHO_C= ECHO_N= ECHO_T=
  7548 case `echo -n x` in
  7549 -n*)
  7550   case `echo 'x\c'` in
  7551   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  7552   *)   ECHO_C='\c';;
  7553   esac;;
  7554 *)
  7555   ECHO_N='-n';;
  7556 esac
  7558 if expr a : '\(a\)' >/dev/null 2>&1 &&
  7559    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  7560   as_expr=expr
  7561 else
  7562   as_expr=false
  7563 fi
  7565 rm -f conf$$ conf$$.exe conf$$.file
  7566 if test -d conf$$.dir; then
  7567   rm -f conf$$.dir/conf$$.file
  7568 else
  7569   rm -f conf$$.dir
  7570   mkdir conf$$.dir
  7571 fi
  7572 echo >conf$$.file
  7573 if ln -s conf$$.file conf$$ 2>/dev/null; then
  7574   as_ln_s='ln -s'
  7575   # ... but there are two gotchas:
  7576   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  7577   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  7578   # In both cases, we have to default to `cp -p'.
  7579   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  7580     as_ln_s='cp -p'
  7581 elif ln conf$$.file conf$$ 2>/dev/null; then
  7582   as_ln_s=ln
  7583 else
  7584   as_ln_s='cp -p'
  7585 fi
  7586 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  7587 rmdir conf$$.dir 2>/dev/null
  7589 if mkdir -p . 2>/dev/null; then
  7590   as_mkdir_p=:
  7591 else
  7592   test -d ./-p && rmdir ./-p
  7593   as_mkdir_p=false
  7594 fi
  7596 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
  7597 # systems may use methods other than mode bits to determine executability.
  7598 cat >conf$$.file <<_ASEOF
  7599 #! /bin/sh
  7600 exit 0
  7601 _ASEOF
  7602 chmod +x conf$$.file
  7603 if test -x conf$$.file >/dev/null 2>&1; then
  7604   as_executable_p="test -x"
  7605 else
  7606   as_executable_p=:
  7607 fi
  7608 rm -f conf$$.file
  7610 # Sed expression to map a string onto a valid CPP name.
  7611 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  7613 # Sed expression to map a string onto a valid variable name.
  7614 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  7617 exec 6>&1
  7619 # Save the log message, to keep $[0] and so on meaningful, and to
  7620 # report actual input values of CONFIG_FILES etc. instead of their
  7621 # values after options handling.
  7622 ac_log="
  7623 This file was extended by $as_me, which was
  7624 generated by GNU Autoconf 2.60.  Invocation command line was
  7626   CONFIG_FILES    = $CONFIG_FILES
  7627   CONFIG_HEADERS  = $CONFIG_HEADERS
  7628   CONFIG_LINKS    = $CONFIG_LINKS
  7629   CONFIG_COMMANDS = $CONFIG_COMMANDS
  7630   $ $0 $@
  7632 on `(hostname || uname -n) 2>/dev/null | sed 1q`
  7635 _ACEOF
  7637 cat >>$CONFIG_STATUS <<_ACEOF
  7638 # Files that config.status was made for.
  7639 config_files="$ac_config_files"
  7640 config_headers="$ac_config_headers"
  7641 config_commands="$ac_config_commands"
  7643 _ACEOF
  7645 cat >>$CONFIG_STATUS <<\_ACEOF
  7646 ac_cs_usage="\
  7647 \`$as_me' instantiates files from templates according to the
  7648 current configuration.
  7650 Usage: $0 [OPTIONS] [FILE]...
  7652   -h, --help       print this help, then exit
  7653   -V, --version    print version number, then exit
  7654   -q, --quiet      do not print progress messages
  7655   -d, --debug      don't remove temporary files
  7656       --recheck    update $as_me by reconfiguring in the same conditions
  7657   --file=FILE[:TEMPLATE]
  7658 		   instantiate the configuration file FILE
  7659   --header=FILE[:TEMPLATE]
  7660 		   instantiate the configuration header FILE
  7662 Configuration files:
  7663 $config_files
  7665 Configuration headers:
  7666 $config_headers
  7668 Configuration commands:
  7669 $config_commands
  7671 Report bugs to <bug-autoconf@gnu.org>."
  7673 _ACEOF
  7674 cat >>$CONFIG_STATUS <<_ACEOF
  7675 ac_cs_version="\\
  7676 config.status
  7677 configured by $0, generated by GNU Autoconf 2.60,
  7678   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  7680 Copyright (C) 2006 Free Software Foundation, Inc.
  7681 This config.status script is free software; the Free Software Foundation
  7682 gives unlimited permission to copy, distribute and modify it."
  7684 ac_pwd='$ac_pwd'
  7685 srcdir='$srcdir'
  7686 INSTALL='$INSTALL'
  7687 _ACEOF
  7689 cat >>$CONFIG_STATUS <<\_ACEOF
  7690 # If no file are specified by the user, then we need to provide default
  7691 # value.  By we need to know if files were specified by the user.
  7692 ac_need_defaults=:
  7693 while test $# != 0
  7694 do
  7695   case $1 in
  7696   --*=*)
  7697     ac_option=`expr "X$1" : 'X\([^=]*\)='`
  7698     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  7699     ac_shift=:
  7700     ;;
  7701   *)
  7702     ac_option=$1
  7703     ac_optarg=$2
  7704     ac_shift=shift
  7705     ;;
  7706   esac
  7708   case $ac_option in
  7709   # Handling of the options.
  7710   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  7711     ac_cs_recheck=: ;;
  7712   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  7713     echo "$ac_cs_version"; exit ;;
  7714   --debug | --debu | --deb | --de | --d | -d )
  7715     debug=: ;;
  7716   --file | --fil | --fi | --f )
  7717     $ac_shift
  7718     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  7719     ac_need_defaults=false;;
  7720   --header | --heade | --head | --hea )
  7721     $ac_shift
  7722     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  7723     ac_need_defaults=false;;
  7724   --he | --h)
  7725     # Conflict between --help and --header
  7726     { echo "$as_me: error: ambiguous option: $1
  7727 Try \`$0 --help' for more information." >&2
  7728    { (exit 1); exit 1; }; };;
  7729   --help | --hel | -h )
  7730     echo "$ac_cs_usage"; exit ;;
  7731   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  7732   | -silent | --silent | --silen | --sile | --sil | --si | --s)
  7733     ac_cs_silent=: ;;
  7735   # This is an error.
  7736   -*) { echo "$as_me: error: unrecognized option: $1
  7737 Try \`$0 --help' for more information." >&2
  7738    { (exit 1); exit 1; }; } ;;
  7740   *) ac_config_targets="$ac_config_targets $1"
  7741      ac_need_defaults=false ;;
  7743   esac
  7744   shift
  7745 done
  7747 ac_configure_extra_args=
  7749 if $ac_cs_silent; then
  7750   exec 6>/dev/null
  7751   ac_configure_extra_args="$ac_configure_extra_args --silent"
  7752 fi
  7754 _ACEOF
  7755 cat >>$CONFIG_STATUS <<_ACEOF
  7756 if \$ac_cs_recheck; then
  7757   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  7758   CONFIG_SHELL=$SHELL
  7759   export CONFIG_SHELL
  7760   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  7761 fi
  7763 _ACEOF
  7764 cat >>$CONFIG_STATUS <<\_ACEOF
  7765 exec 5>>config.log
  7767   echo
  7768   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  7769 ## Running $as_me. ##
  7770 _ASBOX
  7771   echo "$ac_log"
  7772 } >&5
  7774 _ACEOF
  7775 cat >>$CONFIG_STATUS <<_ACEOF
  7777 # INIT-COMMANDS
  7779 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  7782 _ACEOF
  7784 cat >>$CONFIG_STATUS <<\_ACEOF
  7786 # Handling of arguments.
  7787 for ac_config_target in $ac_config_targets
  7788 do
  7789   case $ac_config_target in
  7790     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  7791     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  7792     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  7793     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  7794     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  7795     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
  7797   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  7798 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  7799    { (exit 1); exit 1; }; };;
  7800   esac
  7801 done
  7804 # If the user did not use the arguments to specify the items to instantiate,
  7805 # then the envvar interface is used.  Set only those that are not.
  7806 # We use the long form for the default assignment because of an extremely
  7807 # bizarre bug on SunOS 4.1.3.
  7808 if $ac_need_defaults; then
  7809   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  7810   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  7811   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  7812 fi
  7814 # Have a temporary directory for convenience.  Make it in the build tree
  7815 # simply because there is no reason against having it here, and in addition,
  7816 # creating and moving files from /tmp can sometimes cause problems.
  7817 # Hook for its removal unless debugging.
  7818 # Note that there is a small window in which the directory will not be cleaned:
  7819 # after its creation but before its name has been assigned to `$tmp'.
  7820 $debug ||
  7822   tmp=
  7823   trap 'exit_status=$?
  7824   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  7825 ' 0
  7826   trap '{ (exit 1); exit 1; }' 1 2 13 15
  7828 # Create a (secure) tmp directory for tmp files.
  7831   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  7832   test -n "$tmp" && test -d "$tmp"
  7833 }  ||
  7835   tmp=./conf$$-$RANDOM
  7836   (umask 077 && mkdir "$tmp")
  7837 } ||
  7839    echo "$me: cannot create a temporary directory in ." >&2
  7840    { (exit 1); exit 1; }
  7844 # Set up the sed scripts for CONFIG_FILES section.
  7847 # No need to generate the scripts if there are no CONFIG_FILES.
  7848 # This happens for instance when ./config.status config.h
  7849 if test -n "$CONFIG_FILES"; then
  7851 _ACEOF
  7855 ac_delim='%!_!# '
  7856 for ac_last_try in false false false false false :; do
  7857   cat >conf$$subs.sed <<_ACEOF
  7858 SHELL!$SHELL$ac_delim
  7859 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  7860 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  7861 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  7862 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  7863 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  7864 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  7865 exec_prefix!$exec_prefix$ac_delim
  7866 prefix!$prefix$ac_delim
  7867 program_transform_name!$program_transform_name$ac_delim
  7868 bindir!$bindir$ac_delim
  7869 sbindir!$sbindir$ac_delim
  7870 libexecdir!$libexecdir$ac_delim
  7871 datarootdir!$datarootdir$ac_delim
  7872 datadir!$datadir$ac_delim
  7873 sysconfdir!$sysconfdir$ac_delim
  7874 sharedstatedir!$sharedstatedir$ac_delim
  7875 localstatedir!$localstatedir$ac_delim
  7876 includedir!$includedir$ac_delim
  7877 oldincludedir!$oldincludedir$ac_delim
  7878 docdir!$docdir$ac_delim
  7879 infodir!$infodir$ac_delim
  7880 htmldir!$htmldir$ac_delim
  7881 dvidir!$dvidir$ac_delim
  7882 pdfdir!$pdfdir$ac_delim
  7883 psdir!$psdir$ac_delim
  7884 libdir!$libdir$ac_delim
  7885 localedir!$localedir$ac_delim
  7886 mandir!$mandir$ac_delim
  7887 DEFS!$DEFS$ac_delim
  7888 ECHO_C!$ECHO_C$ac_delim
  7889 ECHO_N!$ECHO_N$ac_delim
  7890 ECHO_T!$ECHO_T$ac_delim
  7891 LIBS!$LIBS$ac_delim
  7892 build_alias!$build_alias$ac_delim
  7893 host_alias!$host_alias$ac_delim
  7894 target_alias!$target_alias$ac_delim
  7895 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
  7896 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
  7897 INSTALL_DATA!$INSTALL_DATA$ac_delim
  7898 CYGPATH_W!$CYGPATH_W$ac_delim
  7899 PACKAGE!$PACKAGE$ac_delim
  7900 VERSION!$VERSION$ac_delim
  7901 ACLOCAL!$ACLOCAL$ac_delim
  7902 AUTOCONF!$AUTOCONF$ac_delim
  7903 AUTOMAKE!$AUTOMAKE$ac_delim
  7904 AUTOHEADER!$AUTOHEADER$ac_delim
  7905 MAKEINFO!$MAKEINFO$ac_delim
  7906 AMTAR!$AMTAR$ac_delim
  7907 install_sh!$install_sh$ac_delim
  7908 STRIP!$STRIP$ac_delim
  7909 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
  7910 AWK!$AWK$ac_delim
  7911 SET_MAKE!$SET_MAKE$ac_delim
  7912 am__leading_dot!$am__leading_dot$ac_delim
  7913 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
  7914 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
  7915 MAINT!$MAINT$ac_delim
  7916 CC!$CC$ac_delim
  7917 CFLAGS!$CFLAGS$ac_delim
  7918 LDFLAGS!$LDFLAGS$ac_delim
  7919 CPPFLAGS!$CPPFLAGS$ac_delim
  7920 ac_ct_CC!$ac_ct_CC$ac_delim
  7921 EXEEXT!$EXEEXT$ac_delim
  7922 OBJEXT!$OBJEXT$ac_delim
  7923 DEPDIR!$DEPDIR$ac_delim
  7924 am__include!$am__include$ac_delim
  7925 am__quote!$am__quote$ac_delim
  7926 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
  7927 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
  7928 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
  7929 CCDEPMODE!$CCDEPMODE$ac_delim
  7930 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
  7931 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
  7932 CPP!$CPP$ac_delim
  7933 GREP!$GREP$ac_delim
  7934 EGREP!$EGREP$ac_delim
  7935 PKG_CONFIG!$PKG_CONFIG$ac_delim
  7936 PACKAGE_CFLAGS!$PACKAGE_CFLAGS$ac_delim
  7937 PACKAGE_LIBS!$PACKAGE_LIBS$ac_delim
  7938 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
  7939 USE_NLS!$USE_NLS$ac_delim
  7940 MSGFMT!$MSGFMT$ac_delim
  7941 GMSGFMT!$GMSGFMT$ac_delim
  7942 XGETTEXT!$XGETTEXT$ac_delim
  7943 CATALOGS!$CATALOGS$ac_delim
  7944 CATOBJEXT!$CATOBJEXT$ac_delim
  7945 DATADIRNAME!$DATADIRNAME$ac_delim
  7946 GMOFILES!$GMOFILES$ac_delim
  7947 INSTOBJEXT!$INSTOBJEXT$ac_delim
  7948 INTLLIBS!$INTLLIBS$ac_delim
  7949 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
  7950 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
  7951 POFILES!$POFILES$ac_delim
  7952 POSUB!$POSUB$ac_delim
  7953 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
  7954 LIBOBJS!$LIBOBJS$ac_delim
  7955 _ACEOF
  7957   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
  7958     break
  7959   elif $ac_last_try; then
  7960     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  7961 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  7962    { (exit 1); exit 1; }; }
  7963   else
  7964     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  7965   fi
  7966 done
  7968 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  7969 if test -n "$ac_eof"; then
  7970   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  7971   ac_eof=`expr $ac_eof + 1`
  7972 fi
  7974 cat >>$CONFIG_STATUS <<_ACEOF
  7975 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  7976 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  7977 _ACEOF
  7978 sed '
  7979 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  7980 s/^/s,@/; s/!/@,|#_!!_#|/
  7981 :n
  7982 t n
  7983 s/'"$ac_delim"'$/,g/; t
  7984 s/$/\\/; p
  7985 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  7986 ' >>$CONFIG_STATUS <conf$$subs.sed
  7987 rm -f conf$$subs.sed
  7988 cat >>$CONFIG_STATUS <<_ACEOF
  7989 CEOF$ac_eof
  7990 _ACEOF
  7993 ac_delim='%!_!# '
  7994 for ac_last_try in false false false false false :; do
  7995   cat >conf$$subs.sed <<_ACEOF
  7996 LTLIBOBJS!$LTLIBOBJS$ac_delim
  7997 _ACEOF
  7999   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 1; then
  8000     break
  8001   elif $ac_last_try; then
  8002     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  8003 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  8004    { (exit 1); exit 1; }; }
  8005   else
  8006     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  8007   fi
  8008 done
  8010 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  8011 if test -n "$ac_eof"; then
  8012   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  8013   ac_eof=`expr $ac_eof + 1`
  8014 fi
  8016 cat >>$CONFIG_STATUS <<_ACEOF
  8017 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
  8018 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
  8019 _ACEOF
  8020 sed '
  8021 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  8022 s/^/s,@/; s/!/@,|#_!!_#|/
  8023 :n
  8024 t n
  8025 s/'"$ac_delim"'$/,g/; t
  8026 s/$/\\/; p
  8027 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  8028 ' >>$CONFIG_STATUS <conf$$subs.sed
  8029 rm -f conf$$subs.sed
  8030 cat >>$CONFIG_STATUS <<_ACEOF
  8031 :end
  8032 s/|#_!!_#|//g
  8033 CEOF$ac_eof
  8034 _ACEOF
  8037 # VPATH may cause trouble with some makes, so we remove $(srcdir),
  8038 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  8039 # trailing colons and then remove the whole line if VPATH becomes empty
  8040 # (actually we leave an empty line to preserve line numbers).
  8041 if test "x$srcdir" = x.; then
  8042   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
  8043 s/:*\$(srcdir):*/:/
  8044 s/:*\${srcdir}:*/:/
  8045 s/:*@srcdir@:*/:/
  8046 s/^\([^=]*=[	 ]*\):*/\1/
  8047 s/:*$//
  8048 s/^[^=]*=[	 ]*$//
  8049 }'
  8050 fi
  8052 cat >>$CONFIG_STATUS <<\_ACEOF
  8053 fi # test -n "$CONFIG_FILES"
  8056 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
  8057 do
  8058   case $ac_tag in
  8059   :[FHLC]) ac_mode=$ac_tag; continue;;
  8060   esac
  8061   case $ac_mode$ac_tag in
  8062   :[FHL]*:*);;
  8063   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  8064 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  8065    { (exit 1); exit 1; }; };;
  8066   :[FH]-) ac_tag=-:-;;
  8067   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  8068   esac
  8069   ac_save_IFS=$IFS
  8070   IFS=:
  8071   set x $ac_tag
  8072   IFS=$ac_save_IFS
  8073   shift
  8074   ac_file=$1
  8075   shift
  8077   case $ac_mode in
  8078   :L) ac_source=$1;;
  8079   :[FH])
  8080     ac_file_inputs=
  8081     for ac_f
  8082     do
  8083       case $ac_f in
  8084       -) ac_f="$tmp/stdin";;
  8085       *) # Look for the file first in the build tree, then in the source tree
  8086 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
  8087 	 # because $ac_f cannot contain `:'.
  8088 	 test -f "$ac_f" ||
  8089 	   case $ac_f in
  8090 	   [\\/$]*) false;;
  8091 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  8092 	   esac ||
  8093 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  8094 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  8095    { (exit 1); exit 1; }; };;
  8096       esac
  8097       ac_file_inputs="$ac_file_inputs $ac_f"
  8098     done
  8100     # Let's still pretend it is `configure' which instantiates (i.e., don't
  8101     # use $as_me), people would be surprised to read:
  8102     #    /* config.h.  Generated by config.status.  */
  8103     configure_input="Generated from "`IFS=:
  8104 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  8105     if test x"$ac_file" != x-; then
  8106       configure_input="$ac_file.  $configure_input"
  8107       { echo "$as_me:$LINENO: creating $ac_file" >&5
  8108 echo "$as_me: creating $ac_file" >&6;}
  8109     fi
  8111     case $ac_tag in
  8112     *:-:* | *:-) cat >"$tmp/stdin";;
  8113     esac
  8114     ;;
  8115   esac
  8117   ac_dir=`$as_dirname -- "$ac_file" ||
  8118 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8119 	 X"$ac_file" : 'X\(//\)[^/]' \| \
  8120 	 X"$ac_file" : 'X\(//\)$' \| \
  8121 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  8122 echo X"$ac_file" |
  8123     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8124 	    s//\1/
  8127 	  /^X\(\/\/\)[^/].*/{
  8128 	    s//\1/
  8131 	  /^X\(\/\/\)$/{
  8132 	    s//\1/
  8135 	  /^X\(\/\).*/{
  8136 	    s//\1/
  8139 	  s/.*/./; q'`
  8140   { as_dir="$ac_dir"
  8141   case $as_dir in #(
  8142   -*) as_dir=./$as_dir;;
  8143   esac
  8144   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  8145     as_dirs=
  8146     while :; do
  8147       case $as_dir in #(
  8148       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  8149       *) as_qdir=$as_dir;;
  8150       esac
  8151       as_dirs="'$as_qdir' $as_dirs"
  8152       as_dir=`$as_dirname -- "$as_dir" ||
  8153 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8154 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  8155 	 X"$as_dir" : 'X\(//\)$' \| \
  8156 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  8157 echo X"$as_dir" |
  8158     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8159 	    s//\1/
  8162 	  /^X\(\/\/\)[^/].*/{
  8163 	    s//\1/
  8166 	  /^X\(\/\/\)$/{
  8167 	    s//\1/
  8170 	  /^X\(\/\).*/{
  8171 	    s//\1/
  8174 	  s/.*/./; q'`
  8175       test -d "$as_dir" && break
  8176     done
  8177     test -z "$as_dirs" || eval "mkdir $as_dirs"
  8178   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  8179 echo "$as_me: error: cannot create directory $as_dir" >&2;}
  8180    { (exit 1); exit 1; }; }; }
  8181   ac_builddir=.
  8183 case "$ac_dir" in
  8184 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  8185 *)
  8186   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  8187   # A ".." for each directory in $ac_dir_suffix.
  8188   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  8189   case $ac_top_builddir_sub in
  8190   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  8191   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  8192   esac ;;
  8193 esac
  8194 ac_abs_top_builddir=$ac_pwd
  8195 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  8196 # for backward compatibility:
  8197 ac_top_builddir=$ac_top_build_prefix
  8199 case $srcdir in
  8200   .)  # We are building in place.
  8201     ac_srcdir=.
  8202     ac_top_srcdir=$ac_top_builddir_sub
  8203     ac_abs_top_srcdir=$ac_pwd ;;
  8204   [\\/]* | ?:[\\/]* )  # Absolute name.
  8205     ac_srcdir=$srcdir$ac_dir_suffix;
  8206     ac_top_srcdir=$srcdir
  8207     ac_abs_top_srcdir=$srcdir ;;
  8208   *) # Relative name.
  8209     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  8210     ac_top_srcdir=$ac_top_build_prefix$srcdir
  8211     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  8212 esac
  8213 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  8216   case $ac_mode in
  8217   :F)
  8219   # CONFIG_FILE
  8222   case $INSTALL in
  8223   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  8224   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  8225   esac
  8226 _ACEOF
  8228 cat >>$CONFIG_STATUS <<\_ACEOF
  8229 # If the template does not know about datarootdir, expand it.
  8230 # FIXME: This hack should be removed a few years after 2.60.
  8231 ac_datarootdir_hack=; ac_datarootdir_seen=
  8233 case `sed -n '/datarootdir/ {
  8237 /@datadir@/p
  8238 /@docdir@/p
  8239 /@infodir@/p
  8240 /@localedir@/p
  8241 /@mandir@/p
  8242 ' $ac_file_inputs` in
  8243 *datarootdir*) ac_datarootdir_seen=yes;;
  8244 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  8245   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  8246 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  8247 _ACEOF
  8248 cat >>$CONFIG_STATUS <<_ACEOF
  8249   ac_datarootdir_hack='
  8250   s&@datadir@&$datadir&g
  8251   s&@docdir@&$docdir&g
  8252   s&@infodir@&$infodir&g
  8253   s&@localedir@&$localedir&g
  8254   s&@mandir@&$mandir&g
  8255     s&\\\${datarootdir}&$datarootdir&g' ;;
  8256 esac
  8257 _ACEOF
  8259 # Neutralize VPATH when `$srcdir' = `.'.
  8260 # Shell code in configure.ac might set extrasub.
  8261 # FIXME: do we really want to maintain this feature?
  8262 cat >>$CONFIG_STATUS <<_ACEOF
  8263   sed "$ac_vpsub
  8264 $extrasub
  8265 _ACEOF
  8266 cat >>$CONFIG_STATUS <<\_ACEOF
  8267 :t
  8268 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  8269 s&@configure_input@&$configure_input&;t t
  8270 s&@top_builddir@&$ac_top_builddir_sub&;t t
  8271 s&@srcdir@&$ac_srcdir&;t t
  8272 s&@abs_srcdir@&$ac_abs_srcdir&;t t
  8273 s&@top_srcdir@&$ac_top_srcdir&;t t
  8274 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  8275 s&@builddir@&$ac_builddir&;t t
  8276 s&@abs_builddir@&$ac_abs_builddir&;t t
  8277 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  8278 s&@INSTALL@&$ac_INSTALL&;t t
  8279 $ac_datarootdir_hack
  8280 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
  8282 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  8283   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  8284   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  8285   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  8286 which seems to be undefined.  Please make sure it is defined." >&5
  8287 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  8288 which seems to be undefined.  Please make sure it is defined." >&2;}
  8290   rm -f "$tmp/stdin"
  8291   case $ac_file in
  8292   -) cat "$tmp/out"; rm -f "$tmp/out";;
  8293   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  8294   esac
  8295  ;;
  8296   :H)
  8298   # CONFIG_HEADER
  8300 _ACEOF
  8302 # Transform confdefs.h into a sed script `conftest.defines', that
  8303 # substitutes the proper values into config.h.in to produce config.h.
  8304 rm -f conftest.defines conftest.tail
  8305 # First, append a space to every undef/define line, to ease matching.
  8306 echo 's/$/ /' >conftest.defines
  8307 # Then, protect against being on the right side of a sed subst, or in
  8308 # an unquoted here document, in config.status.  If some macros were
  8309 # called several times there might be several #defines for the same
  8310 # symbol, which is useless.  But do not sort them, since the last
  8311 # AC_DEFINE must be honored.
  8312 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  8313 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
  8314 # NAME is the cpp macro being defined, VALUE is the value it is being given.
  8315 # PARAMS is the parameter list in the macro definition--in most cases, it's
  8316 # just an empty string.
  8317 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
  8318 ac_dB='\\)[	 (].*,\\1define\\2'
  8319 ac_dC=' '
  8320 ac_dD=' ,'
  8322 uniq confdefs.h |
  8323   sed -n '
  8324 	t rset
  8325 	:rset
  8326 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
  8327 	t ok
  8329 	:ok
  8330 	s/[\\&,]/\\&/g
  8331 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
  8332 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
  8333   ' >>conftest.defines
  8335 # Remove the space that was appended to ease matching.
  8336 # Then replace #undef with comments.  This is necessary, for
  8337 # example, in the case of _POSIX_SOURCE, which is predefined and required
  8338 # on some systems where configure will not decide to define it.
  8339 # (The regexp can be short, since the line contains either #define or #undef.)
  8340 echo 's/ $//
  8341 s,^[	 #]*u.*,/* & */,' >>conftest.defines
  8343 # Break up conftest.defines:
  8344 ac_max_sed_lines=50
  8346 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
  8347 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
  8348 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
  8349 # et cetera.
  8350 ac_in='$ac_file_inputs'
  8351 ac_out='"$tmp/out1"'
  8352 ac_nxt='"$tmp/out2"'
  8354 while :
  8355 do
  8356   # Write a here document:
  8357     cat >>$CONFIG_STATUS <<_ACEOF
  8358     # First, check the format of the line:
  8359     cat >"\$tmp/defines.sed" <<\\CEOF
  8360 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
  8361 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
  8363 :def
  8364 _ACEOF
  8365   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
  8366   echo 'CEOF
  8367     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
  8368   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
  8369   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
  8370   grep . conftest.tail >/dev/null || break
  8371   rm -f conftest.defines
  8372   mv conftest.tail conftest.defines
  8373 done
  8374 rm -f conftest.defines conftest.tail
  8376 echo "ac_result=$ac_in" >>$CONFIG_STATUS
  8377 cat >>$CONFIG_STATUS <<\_ACEOF
  8378   if test x"$ac_file" != x-; then
  8379     echo "/* $configure_input  */" >"$tmp/config.h"
  8380     cat "$ac_result" >>"$tmp/config.h"
  8381     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
  8382       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  8383 echo "$as_me: $ac_file is unchanged" >&6;}
  8384     else
  8385       rm -f $ac_file
  8386       mv "$tmp/config.h" $ac_file
  8387     fi
  8388   else
  8389     echo "/* $configure_input  */"
  8390     cat "$ac_result"
  8391   fi
  8392   rm -f "$tmp/out12"
  8393 # Compute $ac_file's index in $config_headers.
  8394 _am_stamp_count=1
  8395 for _am_header in $config_headers :; do
  8396   case $_am_header in
  8397     $ac_file | $ac_file:* )
  8398       break ;;
  8399     * )
  8400       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  8401   esac
  8402 done
  8403 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
  8404 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8405 	 X$ac_file : 'X\(//\)[^/]' \| \
  8406 	 X$ac_file : 'X\(//\)$' \| \
  8407 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
  8408 echo X$ac_file |
  8409     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8410 	    s//\1/
  8413 	  /^X\(\/\/\)[^/].*/{
  8414 	    s//\1/
  8417 	  /^X\(\/\/\)$/{
  8418 	    s//\1/
  8421 	  /^X\(\/\).*/{
  8422 	    s//\1/
  8425 	  s/.*/./; q'`/stamp-h$_am_stamp_count
  8426  ;;
  8428   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
  8429 echo "$as_me: executing $ac_file commands" >&6;}
  8430  ;;
  8431   esac
  8434   case $ac_file$ac_mode in
  8435     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  8436   # Strip MF so we end up with the name of the file.
  8437   mf=`echo "$mf" | sed -e 's/:.*$//'`
  8438   # Check whether this is an Automake generated Makefile or not.
  8439   # We used to match only the files named `Makefile.in', but
  8440   # some people rename them; so instead we look at the file content.
  8441   # Grep'ing the first line is not enough: some people post-process
  8442   # each Makefile.in and add a new line on top of each file to say so.
  8443   # So let's grep whole file.
  8444   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
  8445     dirpart=`$as_dirname -- "$mf" ||
  8446 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8447 	 X"$mf" : 'X\(//\)[^/]' \| \
  8448 	 X"$mf" : 'X\(//\)$' \| \
  8449 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  8450 echo X"$mf" |
  8451     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8452 	    s//\1/
  8455 	  /^X\(\/\/\)[^/].*/{
  8456 	    s//\1/
  8459 	  /^X\(\/\/\)$/{
  8460 	    s//\1/
  8463 	  /^X\(\/\).*/{
  8464 	    s//\1/
  8467 	  s/.*/./; q'`
  8468   else
  8469     continue
  8470   fi
  8471   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
  8472   # Extract the definition of DEP_FILES from the Makefile without
  8473   # running `make'.
  8474   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
  8475   test -z "$DEPDIR" && continue
  8476   # When using ansi2knr, U may be empty or an underscore; expand it
  8477   U=`sed -n -e '/^U = / s///p' < "$mf"`
  8478   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
  8479   # We invoke sed twice because it is the simplest approach to
  8480   # changing $(DEPDIR) to its actual value in the expansion.
  8481   for file in `sed -n -e '
  8482     /^DEP_FILES = .*\\\\$/ {
  8483       s/^DEP_FILES = //
  8484       :loop
  8485 	s/\\\\$//
  8488 	/\\\\$/ b loop
  8491     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
  8492        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  8493     # Make sure the directory exists.
  8494     test -f "$dirpart/$file" && continue
  8495     fdir=`$as_dirname -- "$file" ||
  8496 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8497 	 X"$file" : 'X\(//\)[^/]' \| \
  8498 	 X"$file" : 'X\(//\)$' \| \
  8499 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  8500 echo X"$file" |
  8501     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8502 	    s//\1/
  8505 	  /^X\(\/\/\)[^/].*/{
  8506 	    s//\1/
  8509 	  /^X\(\/\/\)$/{
  8510 	    s//\1/
  8513 	  /^X\(\/\).*/{
  8514 	    s//\1/
  8517 	  s/.*/./; q'`
  8518     { as_dir=$dirpart/$fdir
  8519   case $as_dir in #(
  8520   -*) as_dir=./$as_dir;;
  8521   esac
  8522   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  8523     as_dirs=
  8524     while :; do
  8525       case $as_dir in #(
  8526       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  8527       *) as_qdir=$as_dir;;
  8528       esac
  8529       as_dirs="'$as_qdir' $as_dirs"
  8530       as_dir=`$as_dirname -- "$as_dir" ||
  8531 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8532 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  8533 	 X"$as_dir" : 'X\(//\)$' \| \
  8534 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  8535 echo X"$as_dir" |
  8536     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8537 	    s//\1/
  8540 	  /^X\(\/\/\)[^/].*/{
  8541 	    s//\1/
  8544 	  /^X\(\/\/\)$/{
  8545 	    s//\1/
  8548 	  /^X\(\/\).*/{
  8549 	    s//\1/
  8552 	  s/.*/./; q'`
  8553       test -d "$as_dir" && break
  8554     done
  8555     test -z "$as_dirs" || eval "mkdir $as_dirs"
  8556   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  8557 echo "$as_me: error: cannot create directory $as_dir" >&2;}
  8558    { (exit 1); exit 1; }; }; }
  8559     # echo "creating $dirpart/$file"
  8560     echo '# dummy' > "$dirpart/$file"
  8561   done
  8562 done
  8563  ;;
  8564     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
  8565         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
  8566       esac ;;
  8568   esac
  8569 done # for ac_tag
  8572 { (exit 0); exit 0; }
  8573 _ACEOF
  8574 chmod +x $CONFIG_STATUS
  8575 ac_clean_files=$ac_clean_files_save
  8578 # configure is writing to config.log, and then calls config.status.
  8579 # config.status does its own redirection, appending to config.log.
  8580 # Unfortunately, on DOS this fails, as config.log is still kept open
  8581 # by configure, so config.status won't be able to write to it; its
  8582 # output is simply discarded.  So we exec the FD to /dev/null,
  8583 # effectively closing config.log, so it can be properly (re)opened and
  8584 # appended to by config.status.  When coming back to configure, we
  8585 # need to make the FD available again.
  8586 if test "$no_create" != yes; then
  8587   ac_cs_success=:
  8588   ac_config_status_args=
  8589   test "$silent" = yes &&
  8590     ac_config_status_args="$ac_config_status_args --quiet"
  8591   exec 5>/dev/null
  8592   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  8593   exec 5>>config.log
  8594   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  8595   # would make configure fail if this is the last instruction.
  8596   $ac_cs_success || { (exit 1); exit 1; }
  8597 fi
.