1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/configure Sat Aug 21 06:16:40 2004 +0000
1.5 +# Guess values for system-dependent variables and create Makefiles.
1.6 +# Generated by GNU Autoconf 2.59.
1.8 +# Copyright (C) 2003 Free Software Foundation, Inc.
1.9 +# This configure script is free software; the Free Software Foundation
1.10 +# gives unlimited permission to copy, distribute and modify it.
1.11 +## --------------------- ##
1.12 +## M4sh Initialization. ##
1.13 +## --------------------- ##
1.15 +# Be Bourne compatible
1.16 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1.19 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1.20 + # is contrary to our usage. Disable this feature.
1.21 + alias -g '${1+"$@"}'='"$@"'
1.22 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1.25 +DUALCASE=1; export DUALCASE # for MKS sh
1.27 +# Support unset when possible.
1.28 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.35 +# Work around bugs in pre-3.0 UWIN ksh.
1.36 +$as_unset ENV MAIL MAILPATH
1.43 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1.44 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1.45 + LC_TELEPHONE LC_TIME
1.47 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.48 + eval $as_var=C; export $as_var
1.54 +# Required to use basename.
1.55 +if expr a : '\(a\)' >/dev/null 2>&1; then
1.61 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1.62 + as_basename=basename
1.68 +# Name of the executable.
1.69 +as_me=`$as_basename "$0" ||
1.70 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1.71 + X"$0" : 'X\(//\)$' \| \
1.72 + X"$0" : 'X\(/\)$' \| \
1.73 + . : '\(.\)' 2>/dev/null ||
1.75 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1.76 + /^X\/\(\/\/\)$/{ s//\1/; q; }
1.77 + /^X\/\(\/\).*/{ s//\1/; q; }
1.81 +# PATH needs CR, and LINENO needs CR and PATH.
1.82 +# Avoid depending upon Character Ranges.
1.83 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1.84 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1.85 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1.86 +as_cr_digits='0123456789'
1.87 +as_cr_alnum=$as_cr_Letters$as_cr_digits
1.89 +# The user is always right.
1.90 +if test "${PATH_SEPARATOR+set}" != set; then
1.91 + echo "#! /bin/sh" >conf$$.sh
1.92 + echo "exit 0" >>conf$$.sh
1.93 + chmod +x conf$$.sh
1.94 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1.95 + PATH_SEPARATOR=';'
1.103 + as_lineno_1=$LINENO
1.104 + as_lineno_2=$LINENO
1.105 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1.106 + test "x$as_lineno_1" != "x$as_lineno_2" &&
1.107 + test "x$as_lineno_3" = "x$as_lineno_2" || {
1.108 + # Find who we are. Look in the path if we contain no path at all
1.109 + # relative or not.
1.111 + *[\\/]* ) as_myself=$0 ;;
1.112 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.113 +for as_dir in $PATH
1.116 + test -z "$as_dir" && as_dir=.
1.117 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1.122 + # We did not find ourselves, most probably we were run as `sh COMMAND'
1.123 + # in which case we are not to be found in the path.
1.124 + if test "x$as_myself" = x; then
1.127 + if test ! -f "$as_myself"; then
1.128 + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
1.129 + { (exit 1); exit 1; }; }
1.131 + case $CONFIG_SHELL in
1.133 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.134 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.137 + test -z "$as_dir" && as_dir=.
1.138 + for as_base in sh bash ksh sh5; do
1.141 + if ("$as_dir/$as_base" -c '
1.142 + as_lineno_1=$LINENO
1.143 + as_lineno_2=$LINENO
1.144 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1.145 + test "x$as_lineno_1" != "x$as_lineno_2" &&
1.146 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1.147 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1.148 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1.149 + CONFIG_SHELL=$as_dir/$as_base
1.150 + export CONFIG_SHELL
1.151 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1.159 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1.160 + # uniformly replaced by the line number. The first 'sed' inserts a
1.161 + # line-number line before each line; the second 'sed' does the real
1.162 + # work. The second script uses 'N' to pair each line-number line
1.163 + # with the numbered line, and appends trailing '-' during
1.164 + # substitution so that $LINENO is not a special case at line end.
1.165 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.166 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1.167 + sed '=' <$as_myself |
1.172 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1.175 + s,^['$as_cr_digits']*\n,,
1.176 + ' >$as_me.lineno &&
1.177 + chmod +x $as_me.lineno ||
1.178 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1.179 + { (exit 1); exit 1; }; }
1.181 + # Don't try to exec as it changes $[0], causing all sort of problems
1.182 + # (the dirname of $[0] is not the place where we might find the
1.183 + # original and so on. Autoconf is especially sensible to this).
1.184 + . ./$as_me.lineno
1.185 + # Exit status is that of the last command.
1.190 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1.191 + *c*,-n*) ECHO_N= ECHO_C='
1.193 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1.194 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1.197 +if expr a : '\(a\)' >/dev/null 2>&1; then
1.203 +rm -f conf$$ conf$$.exe conf$$.file
1.205 +if ln -s conf$$.file conf$$ 2>/dev/null; then
1.206 + # We could just check for DJGPP; but this test a) works b) is more generic
1.207 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1.208 + if test -f conf$$.exe; then
1.209 + # Don't use ln at all; we don't have any links
1.214 +elif ln conf$$.file conf$$ 2>/dev/null; then
1.219 +rm -f conf$$ conf$$.exe conf$$.file
1.221 +if mkdir -p . 2>/dev/null; then
1.224 + test -d ./-p && rmdir ./-p
1.228 +as_executable_p="test -f"
1.230 +# Sed expression to map a string onto a valid CPP name.
1.231 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.233 +# Sed expression to map a string onto a valid variable name.
1.234 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.238 +# We need space, tab and new line, in precisely that order.
1.247 +# Name of the host.
1.248 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
1.249 +# so uname gets run too.
1.250 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1.255 +# Initializations.
1.257 +ac_default_prefix=/usr/local
1.258 +ac_config_libobj_dir=.
1.259 +cross_compiling=no
1.263 +SHELL=${CONFIG_SHELL-/bin/sh}
1.265 +# Maximum number of lines to put in a shell here document.
1.266 +# This variable seems obsolete. It should probably be removed, and
1.267 +# only ac_max_sed_lines should be used.
1.268 +: ${ac_max_here_lines=38}
1.270 +# Identity of this package.
1.275 +PACKAGE_BUGREPORT=
1.277 +ac_unique_file="configure.in"
1.278 +# Factoring default headers for most tests.
1.279 +ac_includes_default="\
1.280 +#include <stdio.h>
1.281 +#if HAVE_SYS_TYPES_H
1.282 +# include <sys/types.h>
1.284 +#if HAVE_SYS_STAT_H
1.285 +# include <sys/stat.h>
1.288 +# include <stdlib.h>
1.289 +# include <stddef.h>
1.291 +# if HAVE_STDLIB_H
1.292 +# include <stdlib.h>
1.296 +# if !STDC_HEADERS && HAVE_MEMORY_H
1.297 +# include <memory.h>
1.299 +# include <string.h>
1.301 +#if HAVE_STRINGS_H
1.302 +# include <strings.h>
1.304 +#if HAVE_INTTYPES_H
1.305 +# include <inttypes.h>
1.307 +# if HAVE_STDINT_H
1.308 +# include <stdint.h>
1.312 +# include <unistd.h>
1.315 +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP PKG_CONFIG PACKAGE_CFLAGS PACKAGE_LIBS GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS LIBOBJS LTLIBOBJS'
1.318 +# Initialize some variables set by options.
1.320 +ac_init_version=false
1.321 +# The variables have the same names as the options, with
1.322 +# dashes changed to underlines.
1.323 +cache_file=/dev/null
1.328 +program_prefix=NONE
1.329 +program_suffix=NONE
1.330 +program_transform_name=s,x,x,
1.338 +# Installation directory options.
1.339 +# These are left unexpanded so users can "make install exec_prefix=/foo"
1.340 +# and all the variables that are supposed to be based on exec_prefix
1.341 +# by default will actually change.
1.342 +# Use braces instead of parens because sh, perl, etc. also accept them.
1.343 +bindir='${exec_prefix}/bin'
1.344 +sbindir='${exec_prefix}/sbin'
1.345 +libexecdir='${exec_prefix}/libexec'
1.346 +datadir='${prefix}/share'
1.347 +sysconfdir='${prefix}/etc'
1.348 +sharedstatedir='${prefix}/com'
1.349 +localstatedir='${prefix}/var'
1.350 +libdir='${exec_prefix}/lib'
1.351 +includedir='${prefix}/include'
1.352 +oldincludedir='/usr/include'
1.353 +infodir='${prefix}/info'
1.354 +mandir='${prefix}/man'
1.359 + # If the previous option needs an argument, assign it.
1.360 + if test -n "$ac_prev"; then
1.361 + eval "$ac_prev=\$ac_option"
1.366 + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.368 + # Accept the important Cygnus configure options, so we can diagnose typos.
1.370 + case $ac_option in
1.372 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
1.373 + ac_prev=bindir ;;
1.374 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.375 + bindir=$ac_optarg ;;
1.377 + -build | --build | --buil | --bui | --bu)
1.378 + ac_prev=build_alias ;;
1.379 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.380 + build_alias=$ac_optarg ;;
1.382 + -cache-file | --cache-file | --cache-fil | --cache-fi \
1.383 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1.384 + ac_prev=cache_file ;;
1.385 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.386 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.387 + cache_file=$ac_optarg ;;
1.389 + --config-cache | -C)
1.390 + cache_file=config.cache ;;
1.392 + -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1.393 + ac_prev=datadir ;;
1.394 + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1.396 + datadir=$ac_optarg ;;
1.398 + -disable-* | --disable-*)
1.399 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.400 + # Reject names that are not valid shell variable names.
1.401 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1.402 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1.403 + { (exit 1); exit 1; }; }
1.404 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1.405 + eval "enable_$ac_feature=no" ;;
1.407 + -enable-* | --enable-*)
1.408 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.409 + # Reject names that are not valid shell variable names.
1.410 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1.411 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1.412 + { (exit 1); exit 1; }; }
1.413 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1.414 + case $ac_option in
1.415 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.416 + *) ac_optarg=yes ;;
1.418 + eval "enable_$ac_feature='$ac_optarg'" ;;
1.420 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1.421 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1.422 + | --exec | --exe | --ex)
1.423 + ac_prev=exec_prefix ;;
1.424 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1.425 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1.426 + | --exec=* | --exe=* | --ex=*)
1.427 + exec_prefix=$ac_optarg ;;
1.429 + -gas | --gas | --ga | --g)
1.430 + # Obsolete; use --with-gas.
1.433 + -help | --help | --hel | --he | -h)
1.434 + ac_init_help=long ;;
1.435 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1.436 + ac_init_help=recursive ;;
1.437 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1.438 + ac_init_help=short ;;
1.440 + -host | --host | --hos | --ho)
1.441 + ac_prev=host_alias ;;
1.442 + -host=* | --host=* | --hos=* | --ho=*)
1.443 + host_alias=$ac_optarg ;;
1.445 + -includedir | --includedir | --includedi | --included | --include \
1.446 + | --includ | --inclu | --incl | --inc)
1.447 + ac_prev=includedir ;;
1.448 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1.449 + | --includ=* | --inclu=* | --incl=* | --inc=*)
1.450 + includedir=$ac_optarg ;;
1.452 + -infodir | --infodir | --infodi | --infod | --info | --inf)
1.453 + ac_prev=infodir ;;
1.454 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.455 + infodir=$ac_optarg ;;
1.457 + -libdir | --libdir | --libdi | --libd)
1.458 + ac_prev=libdir ;;
1.459 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.460 + libdir=$ac_optarg ;;
1.462 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1.463 + | --libexe | --libex | --libe)
1.464 + ac_prev=libexecdir ;;
1.465 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1.466 + | --libexe=* | --libex=* | --libe=*)
1.467 + libexecdir=$ac_optarg ;;
1.469 + -localstatedir | --localstatedir | --localstatedi | --localstated \
1.470 + | --localstate | --localstat | --localsta | --localst \
1.471 + | --locals | --local | --loca | --loc | --lo)
1.472 + ac_prev=localstatedir ;;
1.473 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.474 + | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1.475 + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.476 + localstatedir=$ac_optarg ;;
1.478 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1.479 + ac_prev=mandir ;;
1.480 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.481 + mandir=$ac_optarg ;;
1.483 + -nfp | --nfp | --nf)
1.484 + # Obsolete; use --without-fp.
1.487 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.488 + | --no-cr | --no-c | -n)
1.491 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1.492 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1.493 + no_recursion=yes ;;
1.495 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1.496 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1.497 + | --oldin | --oldi | --old | --ol | --o)
1.498 + ac_prev=oldincludedir ;;
1.499 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1.500 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1.501 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.502 + oldincludedir=$ac_optarg ;;
1.504 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1.505 + ac_prev=prefix ;;
1.506 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.507 + prefix=$ac_optarg ;;
1.509 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
1.510 + | --program-pre | --program-pr | --program-p)
1.511 + ac_prev=program_prefix ;;
1.512 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
1.513 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.514 + program_prefix=$ac_optarg ;;
1.516 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
1.517 + | --program-suf | --program-su | --program-s)
1.518 + ac_prev=program_suffix ;;
1.519 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
1.520 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.521 + program_suffix=$ac_optarg ;;
1.523 + -program-transform-name | --program-transform-name \
1.524 + | --program-transform-nam | --program-transform-na \
1.525 + | --program-transform-n | --program-transform- \
1.526 + | --program-transform | --program-transfor \
1.527 + | --program-transfo | --program-transf \
1.528 + | --program-trans | --program-tran \
1.529 + | --progr-tra | --program-tr | --program-t)
1.530 + ac_prev=program_transform_name ;;
1.531 + -program-transform-name=* | --program-transform-name=* \
1.532 + | --program-transform-nam=* | --program-transform-na=* \
1.533 + | --program-transform-n=* | --program-transform-=* \
1.534 + | --program-transform=* | --program-transfor=* \
1.535 + | --program-transfo=* | --program-transf=* \
1.536 + | --program-trans=* | --program-tran=* \
1.537 + | --progr-tra=* | --program-tr=* | --program-t=*)
1.538 + program_transform_name=$ac_optarg ;;
1.540 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1.541 + | -silent | --silent | --silen | --sile | --sil)
1.544 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1.545 + ac_prev=sbindir ;;
1.546 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1.547 + | --sbi=* | --sb=*)
1.548 + sbindir=$ac_optarg ;;
1.550 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
1.551 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1.552 + | --sharedst | --shareds | --shared | --share | --shar \
1.554 + ac_prev=sharedstatedir ;;
1.555 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1.556 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1.557 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1.558 + | --sha=* | --sh=*)
1.559 + sharedstatedir=$ac_optarg ;;
1.561 + -site | --site | --sit)
1.563 + -site=* | --site=* | --sit=*)
1.564 + site=$ac_optarg ;;
1.566 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1.567 + ac_prev=srcdir ;;
1.568 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.569 + srcdir=$ac_optarg ;;
1.571 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1.572 + | --syscon | --sysco | --sysc | --sys | --sy)
1.573 + ac_prev=sysconfdir ;;
1.574 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1.575 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.576 + sysconfdir=$ac_optarg ;;
1.578 + -target | --target | --targe | --targ | --tar | --ta | --t)
1.579 + ac_prev=target_alias ;;
1.580 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.581 + target_alias=$ac_optarg ;;
1.583 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
1.586 + -version | --version | --versio | --versi | --vers | -V)
1.587 + ac_init_version=: ;;
1.589 + -with-* | --with-*)
1.590 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.591 + # Reject names that are not valid shell variable names.
1.592 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1.593 + { echo "$as_me: error: invalid package name: $ac_package" >&2
1.594 + { (exit 1); exit 1; }; }
1.595 + ac_package=`echo $ac_package| sed 's/-/_/g'`
1.596 + case $ac_option in
1.597 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.598 + *) ac_optarg=yes ;;
1.600 + eval "with_$ac_package='$ac_optarg'" ;;
1.602 + -without-* | --without-*)
1.603 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.604 + # Reject names that are not valid shell variable names.
1.605 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1.606 + { echo "$as_me: error: invalid package name: $ac_package" >&2
1.607 + { (exit 1); exit 1; }; }
1.608 + ac_package=`echo $ac_package | sed 's/-/_/g'`
1.609 + eval "with_$ac_package=no" ;;
1.612 + # Obsolete; use --with-x.
1.615 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1.616 + | --x-incl | --x-inc | --x-in | --x-i)
1.617 + ac_prev=x_includes ;;
1.618 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1.619 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.620 + x_includes=$ac_optarg ;;
1.622 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
1.623 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1.624 + ac_prev=x_libraries ;;
1.625 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1.626 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.627 + x_libraries=$ac_optarg ;;
1.629 + -*) { echo "$as_me: error: unrecognized option: $ac_option
1.630 +Try \`$0 --help' for more information." >&2
1.631 + { (exit 1); exit 1; }; }
1.635 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1.636 + # Reject names that are not valid shell variable names.
1.637 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1.638 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1.639 + { (exit 1); exit 1; }; }
1.640 + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1.641 + eval "$ac_envvar='$ac_optarg'"
1.642 + export $ac_envvar ;;
1.645 + # FIXME: should be removed in autoconf 3.0.
1.646 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.647 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.648 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.649 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.655 +if test -n "$ac_prev"; then
1.656 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.657 + { echo "$as_me: error: missing argument to $ac_option" >&2
1.658 + { (exit 1); exit 1; }; }
1.661 +# Be sure to have absolute paths.
1.662 +for ac_var in exec_prefix prefix
1.664 + eval ac_val=$`echo $ac_var`
1.666 + [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1.667 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1.668 + { (exit 1); exit 1; }; };;
1.672 +# Be sure to have absolute paths.
1.673 +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1.674 + localstatedir libdir includedir oldincludedir infodir mandir
1.676 + eval ac_val=$`echo $ac_var`
1.678 + [\\/$]* | ?:[\\/]* ) ;;
1.679 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1.680 + { (exit 1); exit 1; }; };;
1.684 +# There might be people who depend on the old broken behavior: `$host'
1.685 +# used to hold the argument of --host etc.
1.686 +# FIXME: To remove some day.
1.687 +build=$build_alias
1.689 +target=$target_alias
1.691 +# FIXME: To remove some day.
1.692 +if test "x$host_alias" != x; then
1.693 + if test "x$build_alias" = x; then
1.694 + cross_compiling=maybe
1.695 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1.696 + If a cross compiler is detected then cross compile mode will be used." >&2
1.697 + elif test "x$build_alias" != "x$host_alias"; then
1.698 + cross_compiling=yes
1.703 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.705 +test "$silent" = yes && exec 6>/dev/null
1.708 +# Find the source files, if location was not specified.
1.709 +if test -z "$srcdir"; then
1.710 + ac_srcdir_defaulted=yes
1.711 + # Try the directory containing this script, then its parent.
1.712 + ac_confdir=`(dirname "$0") 2>/dev/null ||
1.713 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.714 + X"$0" : 'X\(//\)[^/]' \| \
1.715 + X"$0" : 'X\(//\)$' \| \
1.716 + X"$0" : 'X\(/\)' \| \
1.717 + . : '\(.\)' 2>/dev/null ||
1.719 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.720 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.721 + /^X\(\/\/\)$/{ s//\1/; q; }
1.722 + /^X\(\/\).*/{ s//\1/; q; }
1.724 + srcdir=$ac_confdir
1.725 + if test ! -r $srcdir/$ac_unique_file; then
1.729 + ac_srcdir_defaulted=no
1.731 +if test ! -r $srcdir/$ac_unique_file; then
1.732 + if test "$ac_srcdir_defaulted" = yes; then
1.733 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1.734 + { (exit 1); exit 1; }; }
1.736 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1.737 + { (exit 1); exit 1; }; }
1.740 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1.741 + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1.742 + { (exit 1); exit 1; }; }
1.743 +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1.744 +ac_env_build_alias_set=${build_alias+set}
1.745 +ac_env_build_alias_value=$build_alias
1.746 +ac_cv_env_build_alias_set=${build_alias+set}
1.747 +ac_cv_env_build_alias_value=$build_alias
1.748 +ac_env_host_alias_set=${host_alias+set}
1.749 +ac_env_host_alias_value=$host_alias
1.750 +ac_cv_env_host_alias_set=${host_alias+set}
1.751 +ac_cv_env_host_alias_value=$host_alias
1.752 +ac_env_target_alias_set=${target_alias+set}
1.753 +ac_env_target_alias_value=$target_alias
1.754 +ac_cv_env_target_alias_set=${target_alias+set}
1.755 +ac_cv_env_target_alias_value=$target_alias
1.756 +ac_env_CC_set=${CC+set}
1.757 +ac_env_CC_value=$CC
1.758 +ac_cv_env_CC_set=${CC+set}
1.759 +ac_cv_env_CC_value=$CC
1.760 +ac_env_CFLAGS_set=${CFLAGS+set}
1.761 +ac_env_CFLAGS_value=$CFLAGS
1.762 +ac_cv_env_CFLAGS_set=${CFLAGS+set}
1.763 +ac_cv_env_CFLAGS_value=$CFLAGS
1.764 +ac_env_LDFLAGS_set=${LDFLAGS+set}
1.765 +ac_env_LDFLAGS_value=$LDFLAGS
1.766 +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1.767 +ac_cv_env_LDFLAGS_value=$LDFLAGS
1.768 +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1.769 +ac_env_CPPFLAGS_value=$CPPFLAGS
1.770 +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1.771 +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1.772 +ac_env_CPP_set=${CPP+set}
1.773 +ac_env_CPP_value=$CPP
1.774 +ac_cv_env_CPP_set=${CPP+set}
1.775 +ac_cv_env_CPP_value=$CPP
1.778 +# Report the --help message.
1.780 +if test "$ac_init_help" = "long"; then
1.781 + # Omit some internal or obsolete options to make the list less imposing.
1.782 + # This message is too long to be a string in the A/UX 3.1 sh.
1.784 +\`configure' configures this package to adapt to many kinds of systems.
1.786 +Usage: $0 [OPTION]... [VAR=VALUE]...
1.788 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
1.789 +VAR=VALUE. See below for descriptions of some of the useful variables.
1.791 +Defaults for the options are specified in brackets.
1.794 + -h, --help display this help and exit
1.795 + --help=short display options specific to this package
1.796 + --help=recursive display the short help of all the included packages
1.797 + -V, --version display version information and exit
1.798 + -q, --quiet, --silent do not print \`checking...' messages
1.799 + --cache-file=FILE cache test results in FILE [disabled]
1.800 + -C, --config-cache alias for \`--cache-file=config.cache'
1.801 + -n, --no-create do not create output files
1.802 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
1.807 +Installation directories:
1.808 + --prefix=PREFIX install architecture-independent files in PREFIX
1.809 + [$ac_default_prefix]
1.810 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1.813 +By default, \`make install' will install all the files in
1.814 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1.815 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1.816 +for instance \`--prefix=\$HOME'.
1.818 +For better control, use the options below.
1.820 +Fine tuning of the installation directories:
1.821 + --bindir=DIR user executables [EPREFIX/bin]
1.822 + --sbindir=DIR system admin executables [EPREFIX/sbin]
1.823 + --libexecdir=DIR program executables [EPREFIX/libexec]
1.824 + --datadir=DIR read-only architecture-independent data [PREFIX/share]
1.825 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1.826 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1.827 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1.828 + --libdir=DIR object code libraries [EPREFIX/lib]
1.829 + --includedir=DIR C header files [PREFIX/include]
1.830 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
1.831 + --infodir=DIR info documentation [PREFIX/info]
1.832 + --mandir=DIR man documentation [PREFIX/man]
1.838 + --program-prefix=PREFIX prepend PREFIX to installed program names
1.839 + --program-suffix=SUFFIX append SUFFIX to installed program names
1.840 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1.844 +if test -n "$ac_init_help"; then
1.848 +Optional Features:
1.849 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1.850 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1.851 + --enable-maintainer-mode enable make rules and dependencies not useful
1.852 + (and sometimes confusing) to the casual installer
1.853 + --disable-dependency-tracking Speeds up one-time builds
1.854 + --enable-dependency-tracking Do not reject slow dependency extractors
1.856 +Some influential environment variables:
1.857 + CC C compiler command
1.858 + CFLAGS C compiler flags
1.859 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1.860 + nonstandard directory <lib dir>
1.861 + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1.862 + headers in a nonstandard directory <include dir>
1.863 + CPP C preprocessor
1.865 +Use these variables to override the choices made by `configure' or to help
1.866 +it to find libraries and programs with nonstandard names/locations.
1.871 +if test "$ac_init_help" = "recursive"; then
1.872 + # If there are subdirs, report their specific --help.
1.874 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.875 + test -d $ac_dir || continue
1.878 +if test "$ac_dir" != .; then
1.879 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.880 + # A "../" for each directory in $ac_dir_suffix.
1.881 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1.883 + ac_dir_suffix= ac_top_builddir=
1.887 + .) # No --srcdir option. We are building in place.
1.889 + if test -z "$ac_top_builddir"; then
1.892 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1.894 + [\\/]* | ?:[\\/]* ) # Absolute path.
1.895 + ac_srcdir=$srcdir$ac_dir_suffix;
1.896 + ac_top_srcdir=$srcdir ;;
1.897 + *) # Relative path.
1.898 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1.899 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
1.902 +# Do not use `cd foo && pwd` to compute absolute paths, because
1.903 +# the directories may not exist.
1.905 +.) ac_abs_builddir="$ac_dir";;
1.907 + case "$ac_dir" in
1.908 + .) ac_abs_builddir=`pwd`;;
1.909 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1.910 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
1.913 +case $ac_abs_builddir in
1.914 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
1.916 + case ${ac_top_builddir}. in
1.917 + .) ac_abs_top_builddir=$ac_abs_builddir;;
1.918 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1.919 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1.922 +case $ac_abs_builddir in
1.923 +.) ac_abs_srcdir=$ac_srcdir;;
1.925 + case $ac_srcdir in
1.926 + .) ac_abs_srcdir=$ac_abs_builddir;;
1.927 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1.928 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1.931 +case $ac_abs_builddir in
1.932 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
1.934 + case $ac_top_srcdir in
1.935 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
1.936 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1.937 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1.942 + # Check for guested configure; otherwise get Cygnus style configure.
1.943 + if test -f $ac_srcdir/configure.gnu; then
1.945 + $SHELL $ac_srcdir/configure.gnu --help=recursive
1.946 + elif test -f $ac_srcdir/configure; then
1.948 + $SHELL $ac_srcdir/configure --help=recursive
1.949 + elif test -f $ac_srcdir/configure.ac ||
1.950 + test -f $ac_srcdir/configure.in; then
1.952 + $ac_configure --help
1.954 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.960 +test -n "$ac_init_help" && exit 0
1.961 +if $ac_init_version; then
1.964 +Copyright (C) 2003 Free Software Foundation, Inc.
1.965 +This configure script is free software; the Free Software Foundation
1.966 +gives unlimited permission to copy, distribute and modify it.
1.972 +This file contains any messages produced by compilers while
1.973 +running configure, to aid debugging if configure makes a mistake.
1.975 +It was created by $as_me, which was
1.976 +generated by GNU Autoconf 2.59. Invocation command line was
1.987 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1.988 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
1.989 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
1.990 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
1.991 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
1.993 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1.994 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1.996 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1.997 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1.998 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.999 +hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1.1000 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1.1001 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1.1002 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1.1006 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1010 + test -z "$as_dir" && as_dir=.
1.1026 +# Keep a trace of the command line.
1.1027 +# Strip out --no-create and --no-recursion so they do not pile up.
1.1028 +# Strip out --silent because we don't want to record it for future runs.
1.1029 +# Also quote any args containing shell meta-characters.
1.1030 +# Make two passes to allow for proper duplicate-argument suppression.
1.1035 +ac_must_keep_next=false
1.1041 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1.1042 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1.1043 + | -silent | --silent | --silen | --sile | --sil)
1.1045 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1.1046 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1049 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1.1051 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1.1052 + if test $ac_must_keep_next = true; then
1.1053 + ac_must_keep_next=false # Got value, back to normal.
1.1056 + *=* | --config-cache | -C | -disable-* | --disable-* \
1.1057 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1.1058 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1.1059 + | -with-* | --with-* | -without-* | --without-* | --x)
1.1060 + case "$ac_configure_args0 " in
1.1061 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1.1064 + -* ) ac_must_keep_next=true ;;
1.1067 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1.1068 + # Get rid of the leading space.
1.1074 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1.1075 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1.1077 +# When interrupted or exit'd, cleanup temporary files, and complete
1.1078 +# config.log. We remove comments because anyway the quotes in there
1.1079 +# would cause problems or look ugly.
1.1080 +# WARNING: Be sure not to use single quotes in there, as some shells,
1.1081 +# such as our DU 5.0 friend, will then `close' the trap.
1.1083 + # Save into config.log some information that might help in debugging.
1.1088 +## ---------------- ##
1.1089 +## Cache variables. ##
1.1090 +## ---------------- ##
1.1093 + # The following way of writing the cache mishandles newlines in values,
1.1096 + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1.1099 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1.1100 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1.1104 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.1111 +## ----------------- ##
1.1112 +## Output variables. ##
1.1113 +## ----------------- ##
1.1116 + for ac_var in $ac_subst_vars
1.1118 + eval ac_val=$`echo $ac_var`
1.1119 + echo "$ac_var='"'"'$ac_val'"'"'"
1.1123 + if test -n "$ac_subst_files"; then
1.1130 + for ac_var in $ac_subst_files
1.1132 + eval ac_val=$`echo $ac_var`
1.1133 + echo "$ac_var='"'"'$ac_val'"'"'"
1.1138 + if test -s confdefs.h; then
1.1145 + sed "/^$/d" confdefs.h | sort
1.1148 + test "$ac_signal" != 0 &&
1.1149 + echo "$as_me: caught signal $ac_signal"
1.1150 + echo "$as_me: exit $exit_status"
1.1153 + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1.1156 +for ac_signal in 1 2 13 15; do
1.1157 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1.1161 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
1.1162 +rm -rf conftest* confdefs.h
1.1163 +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1.1166 +# Predefined preprocessor variables.
1.1168 +cat >>confdefs.h <<_ACEOF
1.1169 +#define PACKAGE_NAME "$PACKAGE_NAME"
1.1173 +cat >>confdefs.h <<_ACEOF
1.1174 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1.1178 +cat >>confdefs.h <<_ACEOF
1.1179 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
1.1183 +cat >>confdefs.h <<_ACEOF
1.1184 +#define PACKAGE_STRING "$PACKAGE_STRING"
1.1188 +cat >>confdefs.h <<_ACEOF
1.1189 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1.1193 +# Let the site file select an alternate cache file if it wants to.
1.1194 +# Prefer explicitly selected file to automatically selected ones.
1.1195 +if test -z "$CONFIG_SITE"; then
1.1196 + if test "x$prefix" != xNONE; then
1.1197 + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1.1199 + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1.1202 +for ac_site_file in $CONFIG_SITE; do
1.1203 + if test -r "$ac_site_file"; then
1.1204 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1.1205 +echo "$as_me: loading site script $ac_site_file" >&6;}
1.1206 + sed 's/^/| /' "$ac_site_file" >&5
1.1211 +if test -r "$cache_file"; then
1.1212 + # Some versions of bash will fail to source /dev/null (special
1.1213 + # files actually), so we avoid doing that.
1.1214 + if test -f "$cache_file"; then
1.1215 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1.1216 +echo "$as_me: loading cache $cache_file" >&6;}
1.1218 + [\\/]* | ?:[\\/]* ) . $cache_file;;
1.1223 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1.1224 +echo "$as_me: creating cache $cache_file" >&6;}
1.1228 +# Check that the precious variables saved in the cache have kept the same
1.1230 +ac_cache_corrupted=false
1.1231 +for ac_var in `(set) 2>&1 |
1.1232 + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1.1233 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
1.1234 + eval ac_new_set=\$ac_env_${ac_var}_set
1.1235 + eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1.1236 + eval ac_new_val="\$ac_env_${ac_var}_value"
1.1237 + case $ac_old_set,$ac_new_set in
1.1239 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1.1240 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1241 + ac_cache_corrupted=: ;;
1.1243 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1.1244 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1245 + ac_cache_corrupted=: ;;
1.1248 + if test "x$ac_old_val" != "x$ac_new_val"; then
1.1249 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.1250 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.1251 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1.1252 +echo "$as_me: former value: $ac_old_val" >&2;}
1.1253 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1.1254 +echo "$as_me: current value: $ac_new_val" >&2;}
1.1258 + # Pass precious variables to config.status.
1.1259 + if test "$ac_new_set" = set; then
1.1261 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1.1262 + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1263 + *) ac_arg=$ac_var=$ac_new_val ;;
1.1265 + case " $ac_configure_args " in
1.1266 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1.1267 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1.1271 +if $ac_cache_corrupted; then
1.1272 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1.1273 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1.1274 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1.1275 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1.1276 + { (exit 1); exit 1; }; }
1.1280 +ac_cpp='$CPP $CPPFLAGS'
1.1281 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.1282 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.1283 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1305 +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1.1306 + if test -f $ac_dir/install-sh; then
1.1308 + ac_install_sh="$ac_aux_dir/install-sh -c"
1.1310 + elif test -f $ac_dir/install.sh; then
1.1312 + ac_install_sh="$ac_aux_dir/install.sh -c"
1.1314 + elif test -f $ac_dir/shtool; then
1.1316 + ac_install_sh="$ac_aux_dir/shtool install -c"
1.1320 +if test -z "$ac_aux_dir"; then
1.1321 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1.1322 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1.1323 + { (exit 1); exit 1; }; }
1.1325 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1.1326 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1.1327 +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1329 +# Find a good install program. We prefer a C program (faster),
1.1330 +# so one script is as good as another. But avoid the broken or
1.1331 +# incompatible versions:
1.1332 +# SysV /etc/install, /usr/sbin/install
1.1333 +# SunOS /usr/etc/install
1.1336 +# AmigaOS /C/install, which installs bootblocks on floppy discs
1.1337 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1.1338 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1.1339 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.1340 +# OS/2's system install, which has a completely different semantic
1.1341 +# ./install, which can be erroneously created by make from ./install.sh.
1.1342 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1.1343 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1344 +if test -z "$INSTALL"; then
1.1345 +if test "${ac_cv_path_install+set}" = set; then
1.1346 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1348 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1352 + test -z "$as_dir" && as_dir=.
1.1353 + # Account for people who put trailing slashes in PATH elements.
1.1356 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.1357 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.1360 + # OSF1 and SCO ODT 3.0 have their own names for install.
1.1361 + # Don't use installbsd from OSF since it installs stuff as root
1.1363 + for ac_prog in ginstall scoinst install; do
1.1364 + for ac_exec_ext in '' $ac_executable_extensions; do
1.1365 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.1366 + if test $ac_prog = install &&
1.1367 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.1368 + # AIX install. It has an incompatible calling convention.
1.1370 + elif test $ac_prog = install &&
1.1371 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.1372 + # program-specific install script used by HP pwplus--don't use.
1.1375 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1.1387 + if test "${ac_cv_path_install+set}" = set; then
1.1388 + INSTALL=$ac_cv_path_install
1.1390 + # As a last resort, use the slow shell script. We don't cache a
1.1391 + # path for INSTALL within a source directory, because that will
1.1392 + # break other packages using the cache if that directory is
1.1393 + # removed, or if the path is relative.
1.1394 + INSTALL=$ac_install_sh
1.1397 +echo "$as_me:$LINENO: result: $INSTALL" >&5
1.1398 +echo "${ECHO_T}$INSTALL" >&6
1.1400 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1.1401 +# It thinks the first close brace ends the variable substitution.
1.1402 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1.1404 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1406 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1.1408 +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1.1409 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1412 +echo timestamp > conftest.file
1.1413 +# Do `set' in a subshell so we don't clobber the current shell's
1.1414 +# arguments. Must try -L first in case configure is actually a
1.1415 +# symlink; some systems play weird games with the mod time of symlinks
1.1416 +# (eg FreeBSD returns the mod time of the symlink's containing
1.1419 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1420 + if test "$*" = "X"; then
1.1422 + set X `ls -t $srcdir/configure conftest.file`
1.1425 + if test "$*" != "X $srcdir/configure conftest.file" \
1.1426 + && test "$*" != "X conftest.file $srcdir/configure"; then
1.1428 + # If neither matched, then we have a broken ls. This can happen
1.1429 + # if, for instance, CONFIG_SHELL is bash and it inherits a
1.1430 + # broken ls alias from the environment. This has actually
1.1431 + # happened. Such a system could not be considered "sane".
1.1432 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1.1433 +alias in your environment" >&5
1.1434 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1.1435 +alias in your environment" >&2;}
1.1436 + { (exit 1); exit 1; }; }
1.1439 + test "$2" = conftest.file
1.1445 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1.1446 +Check your system clock" >&5
1.1447 +echo "$as_me: error: newly created file is older than distributed files!
1.1448 +Check your system clock" >&2;}
1.1449 + { (exit 1); exit 1; }; }
1.1451 +echo "$as_me:$LINENO: result: yes" >&5
1.1452 +echo "${ECHO_T}yes" >&6
1.1453 +test "$program_prefix" != NONE &&
1.1454 + program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1455 +# Use a double $ so make ignores it.
1.1456 +test "$program_suffix" != NONE &&
1.1457 + program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1.1458 +# Double any \ or $. echo might interpret backslashes.
1.1459 +# By default was `s,x,x', remove it if useless.
1.1460 +cat <<\_ACEOF >conftest.sed
1.1461 +s/[\\$]/&&/g;s/;s,x,x,$//
1.1463 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1.1467 +# expand $ac_aux_dir to an absolute path
1.1468 +am_aux_dir=`cd $ac_aux_dir && pwd`
1.1470 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1.1471 +# Use eval to expand $SHELL
1.1472 +if eval "$MISSING --run true"; then
1.1473 + am_missing_run="$MISSING --run "
1.1476 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1.1477 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.1480 +for ac_prog in gawk mawk nawk awk
1.1482 + # Extract the first word of "$ac_prog", so it can be a program name with args.
1.1483 +set dummy $ac_prog; ac_word=$2
1.1484 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1485 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.1486 +if test "${ac_cv_prog_AWK+set}" = set; then
1.1487 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1489 + if test -n "$AWK"; then
1.1490 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
1.1492 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1496 + test -z "$as_dir" && as_dir=.
1.1497 + for ac_exec_ext in '' $ac_executable_extensions; do
1.1498 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1499 + ac_cv_prog_AWK="$ac_prog"
1.1500 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1509 +if test -n "$AWK"; then
1.1510 + echo "$as_me:$LINENO: result: $AWK" >&5
1.1511 +echo "${ECHO_T}$AWK" >&6
1.1513 + echo "$as_me:$LINENO: result: no" >&5
1.1514 +echo "${ECHO_T}no" >&6
1.1517 + test -n "$AWK" && break
1.1520 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1.1521 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.1522 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.1523 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1.1524 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1526 + cat >conftest.make <<\_ACEOF
1.1528 + @echo 'ac_maketemp="$(MAKE)"'
1.1530 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.1531 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1532 +if test -n "$ac_maketemp"; then
1.1533 + eval ac_cv_prog_make_${ac_make}_set=yes
1.1535 + eval ac_cv_prog_make_${ac_make}_set=no
1.1539 +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.1540 + echo "$as_me:$LINENO: result: yes" >&5
1.1541 +echo "${ECHO_T}yes" >&6
1.1544 + echo "$as_me:$LINENO: result: no" >&5
1.1545 +echo "${ECHO_T}no" >&6
1.1546 + SET_MAKE="MAKE=${MAKE-make}"
1.1549 +rm -rf .tst 2>/dev/null
1.1550 +mkdir .tst 2>/dev/null
1.1556 +rmdir .tst 2>/dev/null
1.1558 + # test to see if srcdir already configured
1.1559 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
1.1560 + test -f $srcdir/config.status; then
1.1561 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1.1562 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1.1563 + { (exit 1); exit 1; }; }
1.1566 +# test whether we have cygpath
1.1567 +if test -z "$CYGPATH_W"; then
1.1568 + if (cygpath --version) >/dev/null 2>/dev/null; then
1.1569 + CYGPATH_W='cygpath -w'
1.1576 +# Define the identity of the package.
1.1581 +cat >>confdefs.h <<_ACEOF
1.1582 +#define PACKAGE "$PACKAGE"
1.1586 +cat >>confdefs.h <<_ACEOF
1.1587 +#define VERSION "$VERSION"
1.1590 +# Some tools Automake needs.
1.1592 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1.1595 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1.1598 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1.1601 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1.1604 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1607 +AMTAR=${AMTAR-"${am_missing_run}tar"}
1.1609 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1611 +# Installed binaries are usually stripped using `strip' when the user
1.1612 +# run `make install-strip'. However `strip' might not be the right
1.1613 +# tool to use in cross-compilation environments, therefore Automake
1.1614 +# will honor the `STRIP' environment variable to overrule this program.
1.1615 +if test "$cross_compiling" != no; then
1.1616 + if test -n "$ac_tool_prefix"; then
1.1617 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1.1618 +set dummy ${ac_tool_prefix}strip; ac_word=$2
1.1619 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1620 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.1621 +if test "${ac_cv_prog_STRIP+set}" = set; then
1.1622 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1624 + if test -n "$STRIP"; then
1.1625 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.1627 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1631 + test -z "$as_dir" && as_dir=.
1.1632 + for ac_exec_ext in '' $ac_executable_extensions; do
1.1633 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1634 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.1635 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1643 +STRIP=$ac_cv_prog_STRIP
1.1644 +if test -n "$STRIP"; then
1.1645 + echo "$as_me:$LINENO: result: $STRIP" >&5
1.1646 +echo "${ECHO_T}$STRIP" >&6
1.1648 + echo "$as_me:$LINENO: result: no" >&5
1.1649 +echo "${ECHO_T}no" >&6
1.1653 +if test -z "$ac_cv_prog_STRIP"; then
1.1655 + # Extract the first word of "strip", so it can be a program name with args.
1.1656 +set dummy strip; ac_word=$2
1.1657 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1658 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.1659 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1.1660 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1662 + if test -n "$ac_ct_STRIP"; then
1.1663 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1665 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1669 + test -z "$as_dir" && as_dir=.
1.1670 + for ac_exec_ext in '' $ac_executable_extensions; do
1.1671 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1672 + ac_cv_prog_ac_ct_STRIP="strip"
1.1673 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1679 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1.1682 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1.1683 +if test -n "$ac_ct_STRIP"; then
1.1684 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1.1685 +echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1687 + echo "$as_me:$LINENO: result: no" >&5
1.1688 +echo "${ECHO_T}no" >&6
1.1693 + STRIP="$ac_cv_prog_STRIP"
1.1697 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1.1699 +# We need awk for the "check" target. The system "awk" is bad on
1.1704 +echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1.1705 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1.1706 + # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1.1707 +if test "${enable_maintainer_mode+set}" = set; then
1.1708 + enableval="$enable_maintainer_mode"
1.1709 + USE_MAINTAINER_MODE=$enableval
1.1711 + USE_MAINTAINER_MODE=no
1.1713 + echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1.1714 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1.1717 +if test $USE_MAINTAINER_MODE = yes; then
1.1718 + MAINTAINER_MODE_TRUE=
1.1719 + MAINTAINER_MODE_FALSE='#'
1.1721 + MAINTAINER_MODE_TRUE='#'
1.1722 + MAINTAINER_MODE_FALSE=
1.1725 + MAINT=$MAINTAINER_MODE_TRUE
1.1728 + ac_config_headers="$ac_config_headers config.h"
1.1731 +DEPDIR="${am__leading_dot}deps"
1.1733 + ac_config_commands="$ac_config_commands depfiles"
1.1737 +cat > confinc << 'END'
1.1742 +# If we don't find an include directive, just comment out the code.
1.1743 +echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1.1744 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1.1748 +# First try GNU make style include.
1.1749 +echo "include confinc" > confmf
1.1750 +# We grep out `Entering directory' and `Leaving directory'
1.1751 +# messages which can occur if `w' ends up in MAKEFLAGS.
1.1752 +# In particular we don't look at `^make:' because GNU make might
1.1753 +# be invoked under some other name (usually "gmake"), in which
1.1754 +# case it prints its new name instead of `make'.
1.1755 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1.1760 +# Now try BSD make style include.
1.1761 +if test "$am__include" = "#"; then
1.1762 + echo '.include "confinc"' > confmf
1.1763 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1.1771 +echo "$as_me:$LINENO: result: $_am_result" >&5
1.1772 +echo "${ECHO_T}$_am_result" >&6
1.1775 +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1.1776 +if test "${enable_dependency_tracking+set}" = set; then
1.1777 + enableval="$enable_dependency_tracking"
1.1780 +if test "x$enable_dependency_tracking" != xno; then
1.1781 + am_depcomp="$ac_aux_dir/depcomp"
1.1786 +if test "x$enable_dependency_tracking" != xno; then
1.1797 +ac_cpp='$CPP $CPPFLAGS'
1.1798 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.1799 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.1800 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1801 +if test -n "$ac_tool_prefix"; then
1.1802 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.1803 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.1804 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1805 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.1806 +if test "${ac_cv_prog_CC+set}" = set; then
1.1807 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1809 + if test -n "$CC"; then
1.1810 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.1812 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1816 + test -z "$as_dir" && as_dir=.
1.1817 + for ac_exec_ext in '' $ac_executable_extensions; do
1.1818 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1819 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.1820 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1829 +if test -n "$CC"; then
1.1830 + echo "$as_me:$LINENO: result: $CC" >&5
1.1831 +echo "${ECHO_T}$CC" >&6
1.1833 + echo "$as_me:$LINENO: result: no" >&5
1.1834 +echo "${ECHO_T}no" >&6
1.1838 +if test -z "$ac_cv_prog_CC"; then
1.1840 + # Extract the first word of "gcc", so it can be a program name with args.
1.1841 +set dummy gcc; ac_word=$2
1.1842 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1843 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.1844 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.1845 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1847 + if test -n "$ac_ct_CC"; then
1.1848 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1850 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1854 + test -z "$as_dir" && as_dir=.
1.1855 + for ac_exec_ext in '' $ac_executable_extensions; do
1.1856 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1857 + ac_cv_prog_ac_ct_CC="gcc"
1.1858 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1866 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.1867 +if test -n "$ac_ct_CC"; then
1.1868 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.1869 +echo "${ECHO_T}$ac_ct_CC" >&6
1.1871 + echo "$as_me:$LINENO: result: no" >&5
1.1872 +echo "${ECHO_T}no" >&6
1.1880 +if test -z "$CC"; then
1.1881 + if test -n "$ac_tool_prefix"; then
1.1882 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.1883 +set dummy ${ac_tool_prefix}cc; ac_word=$2
1.1884 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1885 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.1886 +if test "${ac_cv_prog_CC+set}" = set; then
1.1887 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1889 + if test -n "$CC"; then
1.1890 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.1892 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1896 + test -z "$as_dir" && as_dir=.
1.1897 + for ac_exec_ext in '' $ac_executable_extensions; do
1.1898 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1899 + ac_cv_prog_CC="${ac_tool_prefix}cc"
1.1900 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1909 +if test -n "$CC"; then
1.1910 + echo "$as_me:$LINENO: result: $CC" >&5
1.1911 +echo "${ECHO_T}$CC" >&6
1.1913 + echo "$as_me:$LINENO: result: no" >&5
1.1914 +echo "${ECHO_T}no" >&6
1.1918 +if test -z "$ac_cv_prog_CC"; then
1.1920 + # Extract the first word of "cc", so it can be a program name with args.
1.1921 +set dummy cc; ac_word=$2
1.1922 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1923 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.1924 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.1925 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1927 + if test -n "$ac_ct_CC"; then
1.1928 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1930 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1934 + test -z "$as_dir" && as_dir=.
1.1935 + for ac_exec_ext in '' $ac_executable_extensions; do
1.1936 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1937 + ac_cv_prog_ac_ct_CC="cc"
1.1938 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1946 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.1947 +if test -n "$ac_ct_CC"; then
1.1948 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.1949 +echo "${ECHO_T}$ac_ct_CC" >&6
1.1951 + echo "$as_me:$LINENO: result: no" >&5
1.1952 +echo "${ECHO_T}no" >&6
1.1961 +if test -z "$CC"; then
1.1962 + # Extract the first word of "cc", so it can be a program name with args.
1.1963 +set dummy cc; ac_word=$2
1.1964 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1965 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.1966 +if test "${ac_cv_prog_CC+set}" = set; then
1.1967 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1969 + if test -n "$CC"; then
1.1970 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.1973 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1977 + test -z "$as_dir" && as_dir=.
1.1978 + for ac_exec_ext in '' $ac_executable_extensions; do
1.1979 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1980 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.1985 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1991 +if test $ac_prog_rejected = yes; then
1.1992 + # We found a bogon in the path, so make sure we never use it.
1.1993 + set dummy $ac_cv_prog_CC
1.1995 + if test $# != 0; then
1.1996 + # We chose a different compiler from the bogus one.
1.1997 + # However, it has the same basename, so the bogon will be chosen
1.1998 + # first if we set CC to just the basename; use the full file name.
1.2000 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.2006 +if test -n "$CC"; then
1.2007 + echo "$as_me:$LINENO: result: $CC" >&5
1.2008 +echo "${ECHO_T}$CC" >&6
1.2010 + echo "$as_me:$LINENO: result: no" >&5
1.2011 +echo "${ECHO_T}no" >&6
1.2015 +if test -z "$CC"; then
1.2016 + if test -n "$ac_tool_prefix"; then
1.2019 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.2020 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.2021 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2022 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.2023 +if test "${ac_cv_prog_CC+set}" = set; then
1.2024 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2026 + if test -n "$CC"; then
1.2027 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.2029 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2033 + test -z "$as_dir" && as_dir=.
1.2034 + for ac_exec_ext in '' $ac_executable_extensions; do
1.2035 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2036 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.2037 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2046 +if test -n "$CC"; then
1.2047 + echo "$as_me:$LINENO: result: $CC" >&5
1.2048 +echo "${ECHO_T}$CC" >&6
1.2050 + echo "$as_me:$LINENO: result: no" >&5
1.2051 +echo "${ECHO_T}no" >&6
1.2054 + test -n "$CC" && break
1.2057 +if test -z "$CC"; then
1.2061 + # Extract the first word of "$ac_prog", so it can be a program name with args.
1.2062 +set dummy $ac_prog; ac_word=$2
1.2063 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2064 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.2065 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.2066 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2068 + if test -n "$ac_ct_CC"; then
1.2069 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.2071 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2075 + test -z "$as_dir" && as_dir=.
1.2076 + for ac_exec_ext in '' $ac_executable_extensions; do
1.2077 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2078 + ac_cv_prog_ac_ct_CC="$ac_prog"
1.2079 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2087 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.2088 +if test -n "$ac_ct_CC"; then
1.2089 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.2090 +echo "${ECHO_T}$ac_ct_CC" >&6
1.2092 + echo "$as_me:$LINENO: result: no" >&5
1.2093 +echo "${ECHO_T}no" >&6
1.2096 + test -n "$ac_ct_CC" && break
1.2105 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.2106 +See \`config.log' for more details." >&5
1.2107 +echo "$as_me: error: no acceptable C compiler found in \$PATH
1.2108 +See \`config.log' for more details." >&2;}
1.2109 + { (exit 1); exit 1; }; }
1.2111 +# Provide some information about the compiler.
1.2112 +echo "$as_me:$LINENO:" \
1.2113 + "checking for C compiler version" >&5
1.2114 +ac_compiler=`set X $ac_compile; echo $2`
1.2115 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1.2116 + (eval $ac_compiler --version </dev/null >&5) 2>&5
1.2118 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2120 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1.2121 + (eval $ac_compiler -v </dev/null >&5) 2>&5
1.2123 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2125 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1.2126 + (eval $ac_compiler -V </dev/null >&5) 2>&5
1.2128 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2131 +cat >conftest.$ac_ext <<_ACEOF
1.2134 +cat confdefs.h >>conftest.$ac_ext
1.2135 +cat >>conftest.$ac_ext <<_ACEOF
1.2146 +ac_clean_files_save=$ac_clean_files
1.2147 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
1.2148 +# Try to create an executable without -o first, disregard a.out.
1.2149 +# It will help us diagnose broken compilers, and finding out an intuition
1.2151 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1.2152 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1.2153 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.2154 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1.2155 + (eval $ac_link_default) 2>&5
1.2157 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2158 + (exit $ac_status); }; then
1.2159 + # Find the output, starting from the most likely. This scheme is
1.2160 +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1.2163 +# Be careful to initialize this variable, since it used to be cached.
1.2164 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1.2166 +# b.out is created by i960 compilers.
1.2167 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1.2169 + test -f "$ac_file" || continue
1.2171 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1.2174 + # This is the source file.
1.2177 + # We found the default executable, but exeext='' is most
1.2181 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.2182 + # FIXME: I believe we export ac_cv_exeext for Libtool,
1.2183 + # but it would be cool to find out if it's true. Does anybody
1.2184 + # maintain Libtool? --akim.
1.2192 + echo "$as_me: failed program was:" >&5
1.2193 +sed 's/^/| /' conftest.$ac_ext >&5
1.2195 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1.2196 +See \`config.log' for more details." >&5
1.2197 +echo "$as_me: error: C compiler cannot create executables
1.2198 +See \`config.log' for more details." >&2;}
1.2199 + { (exit 77); exit 77; }; }
1.2202 +ac_exeext=$ac_cv_exeext
1.2203 +echo "$as_me:$LINENO: result: $ac_file" >&5
1.2204 +echo "${ECHO_T}$ac_file" >&6
1.2206 +# Check the compiler produces executables we can run. If not, either
1.2207 +# the compiler is broken, or we cross compile.
1.2208 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1.2209 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1.2210 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1.2211 +# If not cross compiling, check that we can run a simple program.
1.2212 +if test "$cross_compiling" != yes; then
1.2213 + if { ac_try='./$ac_file'
1.2214 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2217 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2218 + (exit $ac_status); }; }; then
1.2221 + if test "$cross_compiling" = maybe; then
1.2224 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1.2225 +If you meant to cross compile, use \`--host'.
1.2226 +See \`config.log' for more details." >&5
1.2227 +echo "$as_me: error: cannot run C compiled programs.
1.2228 +If you meant to cross compile, use \`--host'.
1.2229 +See \`config.log' for more details." >&2;}
1.2230 + { (exit 1); exit 1; }; }
1.2234 +echo "$as_me:$LINENO: result: yes" >&5
1.2235 +echo "${ECHO_T}yes" >&6
1.2237 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
1.2238 +ac_clean_files=$ac_clean_files_save
1.2239 +# Check the compiler produces executables we can run. If not, either
1.2240 +# the compiler is broken, or we cross compile.
1.2241 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1.2242 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1.2243 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
1.2244 +echo "${ECHO_T}$cross_compiling" >&6
1.2246 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
1.2247 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1.2248 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.2251 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2252 + (exit $ac_status); }; then
1.2253 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
1.2254 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1.2255 +# work properly (i.e., refer to `conftest.exe'), while it won't with
1.2257 +for ac_file in conftest.exe conftest conftest.*; do
1.2258 + test -f "$ac_file" || continue
1.2260 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1.2261 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.2268 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1.2269 +See \`config.log' for more details." >&5
1.2270 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1.2271 +See \`config.log' for more details." >&2;}
1.2272 + { (exit 1); exit 1; }; }
1.2275 +rm -f conftest$ac_cv_exeext
1.2276 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1.2277 +echo "${ECHO_T}$ac_cv_exeext" >&6
1.2279 +rm -f conftest.$ac_ext
1.2282 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
1.2283 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1.2284 +if test "${ac_cv_objext+set}" = set; then
1.2285 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2287 + cat >conftest.$ac_ext <<_ACEOF
1.2290 +cat confdefs.h >>conftest.$ac_ext
1.2291 +cat >>conftest.$ac_ext <<_ACEOF
1.2302 +rm -f conftest.o conftest.obj
1.2303 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.2304 + (eval $ac_compile) 2>&5
1.2306 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2307 + (exit $ac_status); }; then
1.2308 + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1.2310 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1.2311 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1.2316 + echo "$as_me: failed program was:" >&5
1.2317 +sed 's/^/| /' conftest.$ac_ext >&5
1.2319 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1.2320 +See \`config.log' for more details." >&5
1.2321 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
1.2322 +See \`config.log' for more details." >&2;}
1.2323 + { (exit 1); exit 1; }; }
1.2326 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
1.2328 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1.2329 +echo "${ECHO_T}$ac_cv_objext" >&6
1.2332 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.2333 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1.2334 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.2335 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2337 + cat >conftest.$ac_ext <<_ACEOF
1.2340 +cat confdefs.h >>conftest.$ac_ext
1.2341 +cat >>conftest.$ac_ext <<_ACEOF
1.2355 +rm -f conftest.$ac_objext
1.2356 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.2357 + (eval $ac_compile) 2>conftest.er1
1.2359 + grep -v '^ *+' conftest.er1 >conftest.err
1.2362 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2363 + (exit $ac_status); } &&
1.2364 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.2365 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2368 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2369 + (exit $ac_status); }; } &&
1.2370 + { ac_try='test -s conftest.$ac_objext'
1.2371 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2374 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2375 + (exit $ac_status); }; }; then
1.2378 + echo "$as_me: failed program was:" >&5
1.2379 +sed 's/^/| /' conftest.$ac_ext >&5
1.2383 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.2384 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.2387 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.2388 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1.2389 +GCC=`test $ac_compiler_gnu = yes && echo yes`
1.2390 +ac_test_CFLAGS=${CFLAGS+set}
1.2391 +ac_save_CFLAGS=$CFLAGS
1.2393 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.2394 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1.2395 +if test "${ac_cv_prog_cc_g+set}" = set; then
1.2396 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2398 + cat >conftest.$ac_ext <<_ACEOF
1.2401 +cat confdefs.h >>conftest.$ac_ext
1.2402 +cat >>conftest.$ac_ext <<_ACEOF
1.2413 +rm -f conftest.$ac_objext
1.2414 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.2415 + (eval $ac_compile) 2>conftest.er1
1.2417 + grep -v '^ *+' conftest.er1 >conftest.err
1.2420 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2421 + (exit $ac_status); } &&
1.2422 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.2423 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2426 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2427 + (exit $ac_status); }; } &&
1.2428 + { ac_try='test -s conftest.$ac_objext'
1.2429 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2432 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2433 + (exit $ac_status); }; }; then
1.2436 + echo "$as_me: failed program was:" >&5
1.2437 +sed 's/^/| /' conftest.$ac_ext >&5
1.2441 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.2443 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.2444 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.2445 +if test "$ac_test_CFLAGS" = set; then
1.2446 + CFLAGS=$ac_save_CFLAGS
1.2447 +elif test $ac_cv_prog_cc_g = yes; then
1.2448 + if test "$GCC" = yes; then
1.2454 + if test "$GCC" = yes; then
1.2460 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1.2461 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1.2462 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
1.2463 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2465 + ac_cv_prog_cc_stdc=no
1.2467 +cat >conftest.$ac_ext <<_ACEOF
1.2470 +cat confdefs.h >>conftest.$ac_ext
1.2471 +cat >>conftest.$ac_ext <<_ACEOF
1.2475 +#include <sys/types.h>
1.2477 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.2478 +struct buf { int x; };
1.2479 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.2486 +static char *f (char * (*g) (char **, int), char **p, ...)
1.2491 + s = g (p, va_arg (v,int));
1.2496 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.2497 + function prototypes and stuff, but not '\xHH' hex character constants.
1.2498 + These don't provoke an error unfortunately, instead are silently treated
1.2499 + as 'x'. The following induces an error, until -std1 is added to get
1.2500 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.2501 + array size at least. It's necessary to write '\x00'==0 to get something
1.2502 + that's true only with -std1. */
1.2503 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.2505 +int test (int i, double x);
1.2506 +struct s1 {int (*f) (int a);};
1.2507 +struct s2 {int (*f) (double a);};
1.2508 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.2514 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.2519 +# Don't try gcc -ansi; that turns off useful extensions and
1.2520 +# breaks some systems' header files.
1.2522 +# Ultrix and OSF/1 -std1
1.2523 +# HP-UX 10.20 and later -Ae
1.2524 +# HP-UX older versions -Aa -D_HPUX_SOURCE
1.2525 +# SVR4 -Xc -D__EXTENSIONS__
1.2526 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.2528 + CC="$ac_save_CC $ac_arg"
1.2529 + rm -f conftest.$ac_objext
1.2530 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.2531 + (eval $ac_compile) 2>conftest.er1
1.2533 + grep -v '^ *+' conftest.er1 >conftest.err
1.2536 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2537 + (exit $ac_status); } &&
1.2538 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.2539 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2542 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2543 + (exit $ac_status); }; } &&
1.2544 + { ac_try='test -s conftest.$ac_objext'
1.2545 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2548 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2549 + (exit $ac_status); }; }; then
1.2550 + ac_cv_prog_cc_stdc=$ac_arg
1.2553 + echo "$as_me: failed program was:" >&5
1.2554 +sed 's/^/| /' conftest.$ac_ext >&5
1.2557 +rm -f conftest.err conftest.$ac_objext
1.2559 +rm -f conftest.$ac_ext conftest.$ac_objext
1.2564 +case "x$ac_cv_prog_cc_stdc" in
1.2566 + echo "$as_me:$LINENO: result: none needed" >&5
1.2567 +echo "${ECHO_T}none needed" >&6 ;;
1.2569 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
1.2570 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
1.2571 + CC="$CC $ac_cv_prog_cc_stdc" ;;
1.2574 +# Some people use a C++ compiler to compile C. Since we use `exit',
1.2575 +# in C++ we need to declare it. In case someone uses the same compiler
1.2576 +# for both compiling C and C++ we need to have the C++ compiler decide
1.2577 +# the declaration of exit, since it's the most demanding environment.
1.2578 +cat >conftest.$ac_ext <<_ACEOF
1.2583 +rm -f conftest.$ac_objext
1.2584 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.2585 + (eval $ac_compile) 2>conftest.er1
1.2587 + grep -v '^ *+' conftest.er1 >conftest.err
1.2590 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2591 + (exit $ac_status); } &&
1.2592 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.2593 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2596 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2597 + (exit $ac_status); }; } &&
1.2598 + { ac_try='test -s conftest.$ac_objext'
1.2599 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2602 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2603 + (exit $ac_status); }; }; then
1.2604 + for ac_declaration in \
1.2606 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
1.2607 + 'extern "C" void std::exit (int); using std::exit;' \
1.2608 + 'extern "C" void exit (int) throw ();' \
1.2609 + 'extern "C" void exit (int);' \
1.2612 + cat >conftest.$ac_ext <<_ACEOF
1.2615 +cat confdefs.h >>conftest.$ac_ext
1.2616 +cat >>conftest.$ac_ext <<_ACEOF
1.2628 +rm -f conftest.$ac_objext
1.2629 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.2630 + (eval $ac_compile) 2>conftest.er1
1.2632 + grep -v '^ *+' conftest.er1 >conftest.err
1.2635 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2636 + (exit $ac_status); } &&
1.2637 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.2638 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2641 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2642 + (exit $ac_status); }; } &&
1.2643 + { ac_try='test -s conftest.$ac_objext'
1.2644 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2647 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2648 + (exit $ac_status); }; }; then
1.2651 + echo "$as_me: failed program was:" >&5
1.2652 +sed 's/^/| /' conftest.$ac_ext >&5
1.2656 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.2657 + cat >conftest.$ac_ext <<_ACEOF
1.2660 +cat confdefs.h >>conftest.$ac_ext
1.2661 +cat >>conftest.$ac_ext <<_ACEOF
1.2672 +rm -f conftest.$ac_objext
1.2673 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.2674 + (eval $ac_compile) 2>conftest.er1
1.2676 + grep -v '^ *+' conftest.er1 >conftest.err
1.2679 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2680 + (exit $ac_status); } &&
1.2681 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.2682 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2685 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2686 + (exit $ac_status); }; } &&
1.2687 + { ac_try='test -s conftest.$ac_objext'
1.2688 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2691 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2692 + (exit $ac_status); }; }; then
1.2695 + echo "$as_me: failed program was:" >&5
1.2696 +sed 's/^/| /' conftest.$ac_ext >&5
1.2699 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.2702 +if test -n "$ac_declaration"; then
1.2703 + echo '#ifdef __cplusplus' >>confdefs.h
1.2704 + echo $ac_declaration >>confdefs.h
1.2705 + echo '#endif' >>confdefs.h
1.2709 + echo "$as_me: failed program was:" >&5
1.2710 +sed 's/^/| /' conftest.$ac_ext >&5
1.2713 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.2715 +ac_cpp='$CPP $CPPFLAGS'
1.2716 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.2717 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.2718 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.2720 +depcc="$CC" am_compiler_list=
1.2722 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.2723 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.2724 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.2725 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2727 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.2728 + # We make a subdir and do the tests there. Otherwise we can end up
1.2729 + # making bogus files that we don't know about and never remove. For
1.2730 + # instance it was reported that on HP-UX the gcc test will end up
1.2731 + # making a dummy file named `D' -- because `-MD' means `put the output
1.2734 + # Copy depcomp to subdir because otherwise we won't find it if we're
1.2735 + # using a relative directory.
1.2736 + cp "$am_depcomp" conftest.dir
1.2738 + # We will build objects and dependencies in a subdirectory because
1.2739 + # it helps to detect inapplicable dependency modes. For instance
1.2740 + # both Tru64's cc and ICC support -MD to output dependencies as a
1.2741 + # side effect of compilation, but ICC will put the dependencies in
1.2742 + # the current directory while Tru64 will put them in the object
1.2746 + am_cv_CC_dependencies_compiler_type=none
1.2747 + if test "$am_compiler_list" = ""; then
1.2748 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.2750 + for depmode in $am_compiler_list; do
1.2751 + # Setup a source with many dependencies, because some compilers
1.2752 + # like to wrap large dependency lists on column 80 (with \), and
1.2753 + # we should not choose a depcomp mode which is confused by this.
1.2755 + # We need to recreate these files for each test, as the compiler may
1.2756 + # overwrite some of them when testing with obscure command lines.
1.2757 + # This happens at least with the AIX C compiler.
1.2759 + for i in 1 2 3 4 5 6; do
1.2760 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.2763 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.2767 + # after this tag, mechanisms are not by side-effect, so they'll
1.2768 + # only be used when explicitly requested
1.2769 + if test "x$enable_dependency_tracking" = xyes; then
1.2777 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.2778 + # mode. It turns out that the SunPro C++ compiler does not properly
1.2779 + # handle `-M -o', and we need to detect this.
1.2780 + if depmode=$depmode \
1.2781 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.2782 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.2783 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.2784 + >/dev/null 2>conftest.err &&
1.2785 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.2786 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.2787 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.2788 + # icc doesn't choke on unknown options, it will just issue warnings
1.2789 + # (even with -Werror). So we grep stderr for any message
1.2790 + # that says an option was ignored.
1.2791 + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
1.2792 + am_cv_CC_dependencies_compiler_type=$depmode
1.2801 + am_cv_CC_dependencies_compiler_type=none
1.2805 +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1.2806 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
1.2807 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.2812 + test "x$enable_dependency_tracking" != xno \
1.2813 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.2815 + am__fastdepCC_FALSE='#'
1.2817 + am__fastdepCC_TRUE='#'
1.2824 + echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
1.2825 +echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
1.2826 +if test "${ac_cv_lib_cposix_strerror+set}" = set; then
1.2827 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2829 + ac_check_lib_save_LIBS=$LIBS
1.2831 +cat >conftest.$ac_ext <<_ACEOF
1.2834 +cat confdefs.h >>conftest.$ac_ext
1.2835 +cat >>conftest.$ac_ext <<_ACEOF
1.2838 +/* Override any gcc2 internal prototype to avoid an error. */
1.2842 +/* We use char because int might match the return type of a gcc2
1.2843 + builtin and then its argument prototype would still apply. */
1.2853 +rm -f conftest.$ac_objext conftest$ac_exeext
1.2854 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.2855 + (eval $ac_link) 2>conftest.er1
1.2857 + grep -v '^ *+' conftest.er1 >conftest.err
1.2860 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2861 + (exit $ac_status); } &&
1.2862 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.2863 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2866 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2867 + (exit $ac_status); }; } &&
1.2868 + { ac_try='test -s conftest$ac_exeext'
1.2869 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.2872 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2873 + (exit $ac_status); }; }; then
1.2874 + ac_cv_lib_cposix_strerror=yes
1.2876 + echo "$as_me: failed program was:" >&5
1.2877 +sed 's/^/| /' conftest.$ac_ext >&5
1.2879 +ac_cv_lib_cposix_strerror=no
1.2881 +rm -f conftest.err conftest.$ac_objext \
1.2882 + conftest$ac_exeext conftest.$ac_ext
1.2883 +LIBS=$ac_check_lib_save_LIBS
1.2885 +echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
1.2886 +echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
1.2887 +if test $ac_cv_lib_cposix_strerror = yes; then
1.2888 + LIBS="$LIBS -lcposix"
1.2894 +ac_cpp='$CPP $CPPFLAGS'
1.2895 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.2896 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.2897 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.2898 +if test -n "$ac_tool_prefix"; then
1.2899 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.2900 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.2901 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2902 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.2903 +if test "${ac_cv_prog_CC+set}" = set; then
1.2904 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2906 + if test -n "$CC"; then
1.2907 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.2909 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2913 + test -z "$as_dir" && as_dir=.
1.2914 + for ac_exec_ext in '' $ac_executable_extensions; do
1.2915 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2916 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.2917 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2926 +if test -n "$CC"; then
1.2927 + echo "$as_me:$LINENO: result: $CC" >&5
1.2928 +echo "${ECHO_T}$CC" >&6
1.2930 + echo "$as_me:$LINENO: result: no" >&5
1.2931 +echo "${ECHO_T}no" >&6
1.2935 +if test -z "$ac_cv_prog_CC"; then
1.2937 + # Extract the first word of "gcc", so it can be a program name with args.
1.2938 +set dummy gcc; ac_word=$2
1.2939 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2940 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.2941 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.2942 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2944 + if test -n "$ac_ct_CC"; then
1.2945 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.2947 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2951 + test -z "$as_dir" && as_dir=.
1.2952 + for ac_exec_ext in '' $ac_executable_extensions; do
1.2953 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2954 + ac_cv_prog_ac_ct_CC="gcc"
1.2955 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2963 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.2964 +if test -n "$ac_ct_CC"; then
1.2965 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.2966 +echo "${ECHO_T}$ac_ct_CC" >&6
1.2968 + echo "$as_me:$LINENO: result: no" >&5
1.2969 +echo "${ECHO_T}no" >&6
1.2977 +if test -z "$CC"; then
1.2978 + if test -n "$ac_tool_prefix"; then
1.2979 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.2980 +set dummy ${ac_tool_prefix}cc; ac_word=$2
1.2981 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2982 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.2983 +if test "${ac_cv_prog_CC+set}" = set; then
1.2984 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2986 + if test -n "$CC"; then
1.2987 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.2989 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2993 + test -z "$as_dir" && as_dir=.
1.2994 + for ac_exec_ext in '' $ac_executable_extensions; do
1.2995 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.2996 + ac_cv_prog_CC="${ac_tool_prefix}cc"
1.2997 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3006 +if test -n "$CC"; then
1.3007 + echo "$as_me:$LINENO: result: $CC" >&5
1.3008 +echo "${ECHO_T}$CC" >&6
1.3010 + echo "$as_me:$LINENO: result: no" >&5
1.3011 +echo "${ECHO_T}no" >&6
1.3015 +if test -z "$ac_cv_prog_CC"; then
1.3017 + # Extract the first word of "cc", so it can be a program name with args.
1.3018 +set dummy cc; ac_word=$2
1.3019 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.3020 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.3021 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.3022 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3024 + if test -n "$ac_ct_CC"; then
1.3025 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.3027 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3031 + test -z "$as_dir" && as_dir=.
1.3032 + for ac_exec_ext in '' $ac_executable_extensions; do
1.3033 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.3034 + ac_cv_prog_ac_ct_CC="cc"
1.3035 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3043 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.3044 +if test -n "$ac_ct_CC"; then
1.3045 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.3046 +echo "${ECHO_T}$ac_ct_CC" >&6
1.3048 + echo "$as_me:$LINENO: result: no" >&5
1.3049 +echo "${ECHO_T}no" >&6
1.3058 +if test -z "$CC"; then
1.3059 + # Extract the first word of "cc", so it can be a program name with args.
1.3060 +set dummy cc; ac_word=$2
1.3061 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.3062 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.3063 +if test "${ac_cv_prog_CC+set}" = set; then
1.3064 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3066 + if test -n "$CC"; then
1.3067 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.3070 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3074 + test -z "$as_dir" && as_dir=.
1.3075 + for ac_exec_ext in '' $ac_executable_extensions; do
1.3076 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.3077 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.3082 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3088 +if test $ac_prog_rejected = yes; then
1.3089 + # We found a bogon in the path, so make sure we never use it.
1.3090 + set dummy $ac_cv_prog_CC
1.3092 + if test $# != 0; then
1.3093 + # We chose a different compiler from the bogus one.
1.3094 + # However, it has the same basename, so the bogon will be chosen
1.3095 + # first if we set CC to just the basename; use the full file name.
1.3097 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.3103 +if test -n "$CC"; then
1.3104 + echo "$as_me:$LINENO: result: $CC" >&5
1.3105 +echo "${ECHO_T}$CC" >&6
1.3107 + echo "$as_me:$LINENO: result: no" >&5
1.3108 +echo "${ECHO_T}no" >&6
1.3112 +if test -z "$CC"; then
1.3113 + if test -n "$ac_tool_prefix"; then
1.3116 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.3117 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.3118 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.3119 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.3120 +if test "${ac_cv_prog_CC+set}" = set; then
1.3121 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3123 + if test -n "$CC"; then
1.3124 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.3126 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3130 + test -z "$as_dir" && as_dir=.
1.3131 + for ac_exec_ext in '' $ac_executable_extensions; do
1.3132 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.3133 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.3134 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3143 +if test -n "$CC"; then
1.3144 + echo "$as_me:$LINENO: result: $CC" >&5
1.3145 +echo "${ECHO_T}$CC" >&6
1.3147 + echo "$as_me:$LINENO: result: no" >&5
1.3148 +echo "${ECHO_T}no" >&6
1.3151 + test -n "$CC" && break
1.3154 +if test -z "$CC"; then
1.3158 + # Extract the first word of "$ac_prog", so it can be a program name with args.
1.3159 +set dummy $ac_prog; ac_word=$2
1.3160 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.3161 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.3162 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.3163 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3165 + if test -n "$ac_ct_CC"; then
1.3166 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.3168 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3172 + test -z "$as_dir" && as_dir=.
1.3173 + for ac_exec_ext in '' $ac_executable_extensions; do
1.3174 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.3175 + ac_cv_prog_ac_ct_CC="$ac_prog"
1.3176 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3184 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.3185 +if test -n "$ac_ct_CC"; then
1.3186 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.3187 +echo "${ECHO_T}$ac_ct_CC" >&6
1.3189 + echo "$as_me:$LINENO: result: no" >&5
1.3190 +echo "${ECHO_T}no" >&6
1.3193 + test -n "$ac_ct_CC" && break
1.3202 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.3203 +See \`config.log' for more details." >&5
1.3204 +echo "$as_me: error: no acceptable C compiler found in \$PATH
1.3205 +See \`config.log' for more details." >&2;}
1.3206 + { (exit 1); exit 1; }; }
1.3208 +# Provide some information about the compiler.
1.3209 +echo "$as_me:$LINENO:" \
1.3210 + "checking for C compiler version" >&5
1.3211 +ac_compiler=`set X $ac_compile; echo $2`
1.3212 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1.3213 + (eval $ac_compiler --version </dev/null >&5) 2>&5
1.3215 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3217 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1.3218 + (eval $ac_compiler -v </dev/null >&5) 2>&5
1.3220 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3222 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1.3223 + (eval $ac_compiler -V </dev/null >&5) 2>&5
1.3225 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3228 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.3229 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1.3230 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.3231 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3233 + cat >conftest.$ac_ext <<_ACEOF
1.3236 +cat confdefs.h >>conftest.$ac_ext
1.3237 +cat >>conftest.$ac_ext <<_ACEOF
1.3251 +rm -f conftest.$ac_objext
1.3252 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.3253 + (eval $ac_compile) 2>conftest.er1
1.3255 + grep -v '^ *+' conftest.er1 >conftest.err
1.3258 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3259 + (exit $ac_status); } &&
1.3260 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.3261 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3264 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3265 + (exit $ac_status); }; } &&
1.3266 + { ac_try='test -s conftest.$ac_objext'
1.3267 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3270 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3271 + (exit $ac_status); }; }; then
1.3274 + echo "$as_me: failed program was:" >&5
1.3275 +sed 's/^/| /' conftest.$ac_ext >&5
1.3279 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.3280 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.3283 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.3284 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1.3285 +GCC=`test $ac_compiler_gnu = yes && echo yes`
1.3286 +ac_test_CFLAGS=${CFLAGS+set}
1.3287 +ac_save_CFLAGS=$CFLAGS
1.3289 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.3290 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1.3291 +if test "${ac_cv_prog_cc_g+set}" = set; then
1.3292 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3294 + cat >conftest.$ac_ext <<_ACEOF
1.3297 +cat confdefs.h >>conftest.$ac_ext
1.3298 +cat >>conftest.$ac_ext <<_ACEOF
1.3309 +rm -f conftest.$ac_objext
1.3310 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.3311 + (eval $ac_compile) 2>conftest.er1
1.3313 + grep -v '^ *+' conftest.er1 >conftest.err
1.3316 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3317 + (exit $ac_status); } &&
1.3318 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.3319 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3322 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3323 + (exit $ac_status); }; } &&
1.3324 + { ac_try='test -s conftest.$ac_objext'
1.3325 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3328 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3329 + (exit $ac_status); }; }; then
1.3332 + echo "$as_me: failed program was:" >&5
1.3333 +sed 's/^/| /' conftest.$ac_ext >&5
1.3337 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.3339 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.3340 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.3341 +if test "$ac_test_CFLAGS" = set; then
1.3342 + CFLAGS=$ac_save_CFLAGS
1.3343 +elif test $ac_cv_prog_cc_g = yes; then
1.3344 + if test "$GCC" = yes; then
1.3350 + if test "$GCC" = yes; then
1.3356 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1.3357 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1.3358 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
1.3359 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3361 + ac_cv_prog_cc_stdc=no
1.3363 +cat >conftest.$ac_ext <<_ACEOF
1.3366 +cat confdefs.h >>conftest.$ac_ext
1.3367 +cat >>conftest.$ac_ext <<_ACEOF
1.3371 +#include <sys/types.h>
1.3373 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.3374 +struct buf { int x; };
1.3375 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.3382 +static char *f (char * (*g) (char **, int), char **p, ...)
1.3387 + s = g (p, va_arg (v,int));
1.3392 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.3393 + function prototypes and stuff, but not '\xHH' hex character constants.
1.3394 + These don't provoke an error unfortunately, instead are silently treated
1.3395 + as 'x'. The following induces an error, until -std1 is added to get
1.3396 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.3397 + array size at least. It's necessary to write '\x00'==0 to get something
1.3398 + that's true only with -std1. */
1.3399 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.3401 +int test (int i, double x);
1.3402 +struct s1 {int (*f) (int a);};
1.3403 +struct s2 {int (*f) (double a);};
1.3404 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.3410 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.3415 +# Don't try gcc -ansi; that turns off useful extensions and
1.3416 +# breaks some systems' header files.
1.3418 +# Ultrix and OSF/1 -std1
1.3419 +# HP-UX 10.20 and later -Ae
1.3420 +# HP-UX older versions -Aa -D_HPUX_SOURCE
1.3421 +# SVR4 -Xc -D__EXTENSIONS__
1.3422 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.3424 + CC="$ac_save_CC $ac_arg"
1.3425 + rm -f conftest.$ac_objext
1.3426 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.3427 + (eval $ac_compile) 2>conftest.er1
1.3429 + grep -v '^ *+' conftest.er1 >conftest.err
1.3432 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3433 + (exit $ac_status); } &&
1.3434 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.3435 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3438 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3439 + (exit $ac_status); }; } &&
1.3440 + { ac_try='test -s conftest.$ac_objext'
1.3441 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3444 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3445 + (exit $ac_status); }; }; then
1.3446 + ac_cv_prog_cc_stdc=$ac_arg
1.3449 + echo "$as_me: failed program was:" >&5
1.3450 +sed 's/^/| /' conftest.$ac_ext >&5
1.3453 +rm -f conftest.err conftest.$ac_objext
1.3455 +rm -f conftest.$ac_ext conftest.$ac_objext
1.3460 +case "x$ac_cv_prog_cc_stdc" in
1.3462 + echo "$as_me:$LINENO: result: none needed" >&5
1.3463 +echo "${ECHO_T}none needed" >&6 ;;
1.3465 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
1.3466 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
1.3467 + CC="$CC $ac_cv_prog_cc_stdc" ;;
1.3470 +# Some people use a C++ compiler to compile C. Since we use `exit',
1.3471 +# in C++ we need to declare it. In case someone uses the same compiler
1.3472 +# for both compiling C and C++ we need to have the C++ compiler decide
1.3473 +# the declaration of exit, since it's the most demanding environment.
1.3474 +cat >conftest.$ac_ext <<_ACEOF
1.3479 +rm -f conftest.$ac_objext
1.3480 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.3481 + (eval $ac_compile) 2>conftest.er1
1.3483 + grep -v '^ *+' conftest.er1 >conftest.err
1.3486 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3487 + (exit $ac_status); } &&
1.3488 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.3489 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3492 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3493 + (exit $ac_status); }; } &&
1.3494 + { ac_try='test -s conftest.$ac_objext'
1.3495 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3498 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3499 + (exit $ac_status); }; }; then
1.3500 + for ac_declaration in \
1.3502 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
1.3503 + 'extern "C" void std::exit (int); using std::exit;' \
1.3504 + 'extern "C" void exit (int) throw ();' \
1.3505 + 'extern "C" void exit (int);' \
1.3508 + cat >conftest.$ac_ext <<_ACEOF
1.3511 +cat confdefs.h >>conftest.$ac_ext
1.3512 +cat >>conftest.$ac_ext <<_ACEOF
1.3524 +rm -f conftest.$ac_objext
1.3525 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.3526 + (eval $ac_compile) 2>conftest.er1
1.3528 + grep -v '^ *+' conftest.er1 >conftest.err
1.3531 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3532 + (exit $ac_status); } &&
1.3533 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.3534 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3537 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3538 + (exit $ac_status); }; } &&
1.3539 + { ac_try='test -s conftest.$ac_objext'
1.3540 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3543 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3544 + (exit $ac_status); }; }; then
1.3547 + echo "$as_me: failed program was:" >&5
1.3548 +sed 's/^/| /' conftest.$ac_ext >&5
1.3552 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.3553 + cat >conftest.$ac_ext <<_ACEOF
1.3556 +cat confdefs.h >>conftest.$ac_ext
1.3557 +cat >>conftest.$ac_ext <<_ACEOF
1.3568 +rm -f conftest.$ac_objext
1.3569 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.3570 + (eval $ac_compile) 2>conftest.er1
1.3572 + grep -v '^ *+' conftest.er1 >conftest.err
1.3575 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3576 + (exit $ac_status); } &&
1.3577 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.3578 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3581 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3582 + (exit $ac_status); }; } &&
1.3583 + { ac_try='test -s conftest.$ac_objext'
1.3584 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3587 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3588 + (exit $ac_status); }; }; then
1.3591 + echo "$as_me: failed program was:" >&5
1.3592 +sed 's/^/| /' conftest.$ac_ext >&5
1.3595 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.3598 +if test -n "$ac_declaration"; then
1.3599 + echo '#ifdef __cplusplus' >>confdefs.h
1.3600 + echo $ac_declaration >>confdefs.h
1.3601 + echo '#endif' >>confdefs.h
1.3605 + echo "$as_me: failed program was:" >&5
1.3606 +sed 's/^/| /' conftest.$ac_ext >&5
1.3609 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.3611 +ac_cpp='$CPP $CPPFLAGS'
1.3612 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.3613 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.3614 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.3616 +depcc="$CC" am_compiler_list=
1.3618 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.3619 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.3620 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.3621 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3623 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.3624 + # We make a subdir and do the tests there. Otherwise we can end up
1.3625 + # making bogus files that we don't know about and never remove. For
1.3626 + # instance it was reported that on HP-UX the gcc test will end up
1.3627 + # making a dummy file named `D' -- because `-MD' means `put the output
1.3630 + # Copy depcomp to subdir because otherwise we won't find it if we're
1.3631 + # using a relative directory.
1.3632 + cp "$am_depcomp" conftest.dir
1.3634 + # We will build objects and dependencies in a subdirectory because
1.3635 + # it helps to detect inapplicable dependency modes. For instance
1.3636 + # both Tru64's cc and ICC support -MD to output dependencies as a
1.3637 + # side effect of compilation, but ICC will put the dependencies in
1.3638 + # the current directory while Tru64 will put them in the object
1.3642 + am_cv_CC_dependencies_compiler_type=none
1.3643 + if test "$am_compiler_list" = ""; then
1.3644 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.3646 + for depmode in $am_compiler_list; do
1.3647 + # Setup a source with many dependencies, because some compilers
1.3648 + # like to wrap large dependency lists on column 80 (with \), and
1.3649 + # we should not choose a depcomp mode which is confused by this.
1.3651 + # We need to recreate these files for each test, as the compiler may
1.3652 + # overwrite some of them when testing with obscure command lines.
1.3653 + # This happens at least with the AIX C compiler.
1.3655 + for i in 1 2 3 4 5 6; do
1.3656 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.3659 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.3663 + # after this tag, mechanisms are not by side-effect, so they'll
1.3664 + # only be used when explicitly requested
1.3665 + if test "x$enable_dependency_tracking" = xyes; then
1.3673 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.3674 + # mode. It turns out that the SunPro C++ compiler does not properly
1.3675 + # handle `-M -o', and we need to detect this.
1.3676 + if depmode=$depmode \
1.3677 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.3678 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.3679 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.3680 + >/dev/null 2>conftest.err &&
1.3681 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.3682 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.3683 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.3684 + # icc doesn't choke on unknown options, it will just issue warnings
1.3685 + # (even with -Werror). So we grep stderr for any message
1.3686 + # that says an option was ignored.
1.3687 + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
1.3688 + am_cv_CC_dependencies_compiler_type=$depmode
1.3697 + am_cv_CC_dependencies_compiler_type=none
1.3701 +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1.3702 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
1.3703 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.3708 + test "x$enable_dependency_tracking" != xno \
1.3709 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.3711 + am__fastdepCC_FALSE='#'
1.3713 + am__fastdepCC_TRUE='#'
1.3721 +echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
1.3722 +echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
1.3723 +if test "${am_cv_prog_cc_stdc+set}" = set; then
1.3724 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3726 + am_cv_prog_cc_stdc=no
1.3728 +# Don't try gcc -ansi; that turns off useful extensions and
1.3729 +# breaks some systems' header files.
1.3731 +# Ultrix and OSF/1 -std1
1.3732 +# HP-UX 10.20 and later -Ae
1.3733 +# HP-UX older versions -Aa -D_HPUX_SOURCE
1.3734 +# SVR4 -Xc -D__EXTENSIONS__
1.3735 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.3737 + CC="$ac_save_CC $ac_arg"
1.3738 + cat >conftest.$ac_ext <<_ACEOF
1.3741 +cat confdefs.h >>conftest.$ac_ext
1.3742 +cat >>conftest.$ac_ext <<_ACEOF
1.3746 +#include <sys/types.h>
1.3748 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.3749 +struct buf { int x; };
1.3750 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.3757 +static char *f (char * (*g) (char **, int), char **p, ...)
1.3762 + s = g (p, va_arg (v,int));
1.3766 +int test (int i, double x);
1.3767 +struct s1 {int (*f) (int a);};
1.3768 +struct s2 {int (*f) (double a);};
1.3769 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.3777 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.3783 +rm -f conftest.$ac_objext
1.3784 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.3785 + (eval $ac_compile) 2>conftest.er1
1.3787 + grep -v '^ *+' conftest.er1 >conftest.err
1.3790 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3791 + (exit $ac_status); } &&
1.3792 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.3793 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3796 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3797 + (exit $ac_status); }; } &&
1.3798 + { ac_try='test -s conftest.$ac_objext'
1.3799 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.3802 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3803 + (exit $ac_status); }; }; then
1.3804 + am_cv_prog_cc_stdc="$ac_arg"; break
1.3806 + echo "$as_me: failed program was:" >&5
1.3807 +sed 's/^/| /' conftest.$ac_ext >&5
1.3810 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.3816 +if test -z "$am_cv_prog_cc_stdc"; then
1.3817 + echo "$as_me:$LINENO: result: none needed" >&5
1.3818 +echo "${ECHO_T}none needed" >&6
1.3820 + echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
1.3821 +echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
1.3823 +case "x$am_cv_prog_cc_stdc" in
1.3825 + *) CC="$CC $am_cv_prog_cc_stdc" ;;
1.3829 +ac_cpp='$CPP $CPPFLAGS'
1.3830 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.3831 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.3832 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.3833 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1.3834 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1.3835 +# On Suns, sometimes $CPP names a directory.
1.3836 +if test -n "$CPP" && test -d "$CPP"; then
1.3839 +if test -z "$CPP"; then
1.3840 + if test "${ac_cv_prog_CPP+set}" = set; then
1.3841 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3843 + # Double quotes because CPP needs to be expanded
1.3844 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1.3847 +for ac_c_preproc_warn_flag in '' yes
1.3849 + # Use a header file that comes with gcc, so configuring glibc
1.3850 + # with a fresh cross-compiler works.
1.3851 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.3852 + # <limits.h> exists even on freestanding compilers.
1.3853 + # On the NeXT, cc -E runs the code through the compiler's parser,
1.3854 + # not just through cpp. "Syntax error" is here to catch this case.
1.3855 + cat >conftest.$ac_ext <<_ACEOF
1.3858 +cat confdefs.h >>conftest.$ac_ext
1.3859 +cat >>conftest.$ac_ext <<_ACEOF
1.3868 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.3869 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.3871 + grep -v '^ *+' conftest.er1 >conftest.err
1.3874 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3875 + (exit $ac_status); } >/dev/null; then
1.3876 + if test -s conftest.err; then
1.3877 + ac_cpp_err=$ac_c_preproc_warn_flag
1.3878 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.3885 +if test -z "$ac_cpp_err"; then
1.3888 + echo "$as_me: failed program was:" >&5
1.3889 +sed 's/^/| /' conftest.$ac_ext >&5
1.3891 + # Broken: fails on valid input.
1.3894 +rm -f conftest.err conftest.$ac_ext
1.3896 + # OK, works on sane cases. Now check whether non-existent headers
1.3897 + # can be detected and how.
1.3898 + cat >conftest.$ac_ext <<_ACEOF
1.3901 +cat confdefs.h >>conftest.$ac_ext
1.3902 +cat >>conftest.$ac_ext <<_ACEOF
1.3904 +#include <ac_nonexistent.h>
1.3906 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.3907 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.3909 + grep -v '^ *+' conftest.er1 >conftest.err
1.3912 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3913 + (exit $ac_status); } >/dev/null; then
1.3914 + if test -s conftest.err; then
1.3915 + ac_cpp_err=$ac_c_preproc_warn_flag
1.3916 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.3923 +if test -z "$ac_cpp_err"; then
1.3924 + # Broken: success on invalid input.
1.3927 + echo "$as_me: failed program was:" >&5
1.3928 +sed 's/^/| /' conftest.$ac_ext >&5
1.3934 +rm -f conftest.err conftest.$ac_ext
1.3937 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.3938 +rm -f conftest.err conftest.$ac_ext
1.3939 +if $ac_preproc_ok; then
1.3951 +echo "$as_me:$LINENO: result: $CPP" >&5
1.3952 +echo "${ECHO_T}$CPP" >&6
1.3954 +for ac_c_preproc_warn_flag in '' yes
1.3956 + # Use a header file that comes with gcc, so configuring glibc
1.3957 + # with a fresh cross-compiler works.
1.3958 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.3959 + # <limits.h> exists even on freestanding compilers.
1.3960 + # On the NeXT, cc -E runs the code through the compiler's parser,
1.3961 + # not just through cpp. "Syntax error" is here to catch this case.
1.3962 + cat >conftest.$ac_ext <<_ACEOF
1.3965 +cat confdefs.h >>conftest.$ac_ext
1.3966 +cat >>conftest.$ac_ext <<_ACEOF
1.3975 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.3976 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.3978 + grep -v '^ *+' conftest.er1 >conftest.err
1.3981 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3982 + (exit $ac_status); } >/dev/null; then
1.3983 + if test -s conftest.err; then
1.3984 + ac_cpp_err=$ac_c_preproc_warn_flag
1.3985 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.3992 +if test -z "$ac_cpp_err"; then
1.3995 + echo "$as_me: failed program was:" >&5
1.3996 +sed 's/^/| /' conftest.$ac_ext >&5
1.3998 + # Broken: fails on valid input.
1.4001 +rm -f conftest.err conftest.$ac_ext
1.4003 + # OK, works on sane cases. Now check whether non-existent headers
1.4004 + # can be detected and how.
1.4005 + cat >conftest.$ac_ext <<_ACEOF
1.4008 +cat confdefs.h >>conftest.$ac_ext
1.4009 +cat >>conftest.$ac_ext <<_ACEOF
1.4011 +#include <ac_nonexistent.h>
1.4013 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.4014 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.4016 + grep -v '^ *+' conftest.er1 >conftest.err
1.4019 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4020 + (exit $ac_status); } >/dev/null; then
1.4021 + if test -s conftest.err; then
1.4022 + ac_cpp_err=$ac_c_preproc_warn_flag
1.4023 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.4030 +if test -z "$ac_cpp_err"; then
1.4031 + # Broken: success on invalid input.
1.4034 + echo "$as_me: failed program was:" >&5
1.4035 +sed 's/^/| /' conftest.$ac_ext >&5
1.4041 +rm -f conftest.err conftest.$ac_ext
1.4044 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.4045 +rm -f conftest.err conftest.$ac_ext
1.4046 +if $ac_preproc_ok; then
1.4049 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
1.4050 +See \`config.log' for more details." >&5
1.4051 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
1.4052 +See \`config.log' for more details." >&2;}
1.4053 + { (exit 1); exit 1; }; }
1.4057 +ac_cpp='$CPP $CPPFLAGS'
1.4058 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.4059 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4060 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.4063 +echo "$as_me:$LINENO: checking for egrep" >&5
1.4064 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
1.4065 +if test "${ac_cv_prog_egrep+set}" = set; then
1.4066 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4068 + if echo a | (grep -E '(a|b)') >/dev/null 2>&1
1.4069 + then ac_cv_prog_egrep='grep -E'
1.4070 + else ac_cv_prog_egrep='egrep'
1.4073 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
1.4074 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
1.4075 + EGREP=$ac_cv_prog_egrep
1.4078 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
1.4079 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
1.4080 +if test "${ac_cv_header_stdc+set}" = set; then
1.4081 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4083 + cat >conftest.$ac_ext <<_ACEOF
1.4086 +cat confdefs.h >>conftest.$ac_ext
1.4087 +cat >>conftest.$ac_ext <<_ACEOF
1.4102 +rm -f conftest.$ac_objext
1.4103 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4104 + (eval $ac_compile) 2>conftest.er1
1.4106 + grep -v '^ *+' conftest.er1 >conftest.err
1.4109 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4110 + (exit $ac_status); } &&
1.4111 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.4112 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4115 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4116 + (exit $ac_status); }; } &&
1.4117 + { ac_try='test -s conftest.$ac_objext'
1.4118 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4121 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4122 + (exit $ac_status); }; }; then
1.4123 + ac_cv_header_stdc=yes
1.4125 + echo "$as_me: failed program was:" >&5
1.4126 +sed 's/^/| /' conftest.$ac_ext >&5
1.4130 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.4132 +if test $ac_cv_header_stdc = yes; then
1.4133 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.4134 + cat >conftest.$ac_ext <<_ACEOF
1.4137 +cat confdefs.h >>conftest.$ac_ext
1.4138 +cat >>conftest.$ac_ext <<_ACEOF
1.4143 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.4144 + $EGREP "memchr" >/dev/null 2>&1; then
1.4153 +if test $ac_cv_header_stdc = yes; then
1.4154 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.4155 + cat >conftest.$ac_ext <<_ACEOF
1.4158 +cat confdefs.h >>conftest.$ac_ext
1.4159 +cat >>conftest.$ac_ext <<_ACEOF
1.4164 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.4165 + $EGREP "free" >/dev/null 2>&1; then
1.4174 +if test $ac_cv_header_stdc = yes; then
1.4175 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.4176 + if test "$cross_compiling" = yes; then
1.4179 + cat >conftest.$ac_ext <<_ACEOF
1.4182 +cat confdefs.h >>conftest.$ac_ext
1.4183 +cat >>conftest.$ac_ext <<_ACEOF
1.4186 +#if ((' ' & 0x0FF) == 0x020)
1.4187 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1.4188 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.4191 + (('a' <= (c) && (c) <= 'i') \
1.4192 + || ('j' <= (c) && (c) <= 'r') \
1.4193 + || ('s' <= (c) && (c) <= 'z'))
1.4194 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.4197 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.4202 + for (i = 0; i < 256; i++)
1.4203 + if (XOR (islower (i), ISLOWER (i))
1.4204 + || toupper (i) != TOUPPER (i))
1.4209 +rm -f conftest$ac_exeext
1.4210 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.4213 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4214 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.4215 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4218 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4219 + (exit $ac_status); }; }; then
1.4222 + echo "$as_me: program exited with status $ac_status" >&5
1.4223 +echo "$as_me: failed program was:" >&5
1.4224 +sed 's/^/| /' conftest.$ac_ext >&5
1.4229 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.4233 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
1.4234 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
1.4235 +if test $ac_cv_header_stdc = yes; then
1.4237 +cat >>confdefs.h <<\_ACEOF
1.4238 +#define STDC_HEADERS 1
1.4244 +pkg_modules="libgnomeui-2.0"
1.4248 + if test -z "$PKG_CONFIG"; then
1.4249 + # Extract the first word of "pkg-config", so it can be a program name with args.
1.4250 +set dummy pkg-config; ac_word=$2
1.4251 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.4252 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.4253 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1.4254 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4258 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1.4261 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.4265 + test -z "$as_dir" && as_dir=.
1.4266 + for ac_exec_ext in '' $ac_executable_extensions; do
1.4267 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.4268 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1.4269 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.4275 + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
1.4279 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1.4281 +if test -n "$PKG_CONFIG"; then
1.4282 + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
1.4283 +echo "${ECHO_T}$PKG_CONFIG" >&6
1.4285 + echo "$as_me:$LINENO: result: no" >&5
1.4286 +echo "${ECHO_T}no" >&6
1.4291 + if test "$PKG_CONFIG" = "no" ; then
1.4292 + echo "*** The pkg-config script could not be found. Make sure it is"
1.4293 + echo "*** in your path, or set the PKG_CONFIG environment variable"
1.4294 + echo "*** to the full path to pkg-config."
1.4295 + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
1.4297 + PKG_CONFIG_MIN_VERSION=0.9.0
1.4298 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
1.4299 + echo "$as_me:$LINENO: checking for $pkg_modules" >&5
1.4300 +echo $ECHO_N "checking for $pkg_modules... $ECHO_C" >&6
1.4302 + if $PKG_CONFIG --exists "$pkg_modules" ; then
1.4303 + echo "$as_me:$LINENO: result: yes" >&5
1.4304 +echo "${ECHO_T}yes" >&6
1.4307 + echo "$as_me:$LINENO: checking PACKAGE_CFLAGS" >&5
1.4308 +echo $ECHO_N "checking PACKAGE_CFLAGS... $ECHO_C" >&6
1.4309 + PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules"`
1.4310 + echo "$as_me:$LINENO: result: $PACKAGE_CFLAGS" >&5
1.4311 +echo "${ECHO_T}$PACKAGE_CFLAGS" >&6
1.4313 + echo "$as_me:$LINENO: checking PACKAGE_LIBS" >&5
1.4314 +echo $ECHO_N "checking PACKAGE_LIBS... $ECHO_C" >&6
1.4315 + PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules"`
1.4316 + echo "$as_me:$LINENO: result: $PACKAGE_LIBS" >&5
1.4317 +echo "${ECHO_T}$PACKAGE_LIBS" >&6
1.4321 + ## If we have a custom action on failure, don't print errors, but
1.4322 + ## do set a variable so people can do so.
1.4323 + PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"`
1.4324 + echo $PACKAGE_PKG_ERRORS
1.4330 + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
1.4331 + echo "*** See http://www.freedesktop.org/software/pkgconfig"
1.4335 + if test $succeeded = yes; then
1.4338 + { { echo "$as_me:$LINENO: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
1.4339 +echo "$as_me: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
1.4340 + { (exit 1); exit 1; }; }
1.4348 +cat >>confdefs.h <<_ACEOF
1.4349 +#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
1.4354 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.4364 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
1.4365 + inttypes.h stdint.h unistd.h
1.4367 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.4368 +echo "$as_me:$LINENO: checking for $ac_header" >&5
1.4369 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
1.4370 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.4371 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4373 + cat >conftest.$ac_ext <<_ACEOF
1.4376 +cat confdefs.h >>conftest.$ac_ext
1.4377 +cat >>conftest.$ac_ext <<_ACEOF
1.4383 +rm -f conftest.$ac_objext
1.4384 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4385 + (eval $ac_compile) 2>conftest.er1
1.4387 + grep -v '^ *+' conftest.er1 >conftest.err
1.4390 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4391 + (exit $ac_status); } &&
1.4392 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.4393 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4396 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4397 + (exit $ac_status); }; } &&
1.4398 + { ac_try='test -s conftest.$ac_objext'
1.4399 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4402 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4403 + (exit $ac_status); }; }; then
1.4404 + eval "$as_ac_Header=yes"
1.4406 + echo "$as_me: failed program was:" >&5
1.4407 +sed 's/^/| /' conftest.$ac_ext >&5
1.4409 +eval "$as_ac_Header=no"
1.4411 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.4413 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1.4414 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.4415 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
1.4416 + cat >>confdefs.h <<_ACEOF
1.4417 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.4427 +for ac_header in locale.h
1.4429 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.4430 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.4431 + echo "$as_me:$LINENO: checking for $ac_header" >&5
1.4432 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
1.4433 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.4434 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4436 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1.4437 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.4439 + # Is the header compilable?
1.4440 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
1.4441 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
1.4442 +cat >conftest.$ac_ext <<_ACEOF
1.4445 +cat confdefs.h >>conftest.$ac_ext
1.4446 +cat >>conftest.$ac_ext <<_ACEOF
1.4451 +rm -f conftest.$ac_objext
1.4452 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4453 + (eval $ac_compile) 2>conftest.er1
1.4455 + grep -v '^ *+' conftest.er1 >conftest.err
1.4458 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4459 + (exit $ac_status); } &&
1.4460 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.4461 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4464 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4465 + (exit $ac_status); }; } &&
1.4466 + { ac_try='test -s conftest.$ac_objext'
1.4467 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4470 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4471 + (exit $ac_status); }; }; then
1.4472 + ac_header_compiler=yes
1.4474 + echo "$as_me: failed program was:" >&5
1.4475 +sed 's/^/| /' conftest.$ac_ext >&5
1.4479 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.4480 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
1.4481 +echo "${ECHO_T}$ac_header_compiler" >&6
1.4483 +# Is the header present?
1.4484 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
1.4485 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
1.4486 +cat >conftest.$ac_ext <<_ACEOF
1.4489 +cat confdefs.h >>conftest.$ac_ext
1.4490 +cat >>conftest.$ac_ext <<_ACEOF
1.4494 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.4495 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.4497 + grep -v '^ *+' conftest.er1 >conftest.err
1.4500 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4501 + (exit $ac_status); } >/dev/null; then
1.4502 + if test -s conftest.err; then
1.4503 + ac_cpp_err=$ac_c_preproc_warn_flag
1.4504 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.4511 +if test -z "$ac_cpp_err"; then
1.4512 + ac_header_preproc=yes
1.4514 + echo "$as_me: failed program was:" >&5
1.4515 +sed 's/^/| /' conftest.$ac_ext >&5
1.4519 +rm -f conftest.err conftest.$ac_ext
1.4520 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
1.4521 +echo "${ECHO_T}$ac_header_preproc" >&6
1.4523 +# So? What about this header?
1.4524 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
1.4526 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
1.4527 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.4528 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
1.4529 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
1.4530 + ac_header_preproc=yes
1.4533 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
1.4534 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.4535 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
1.4536 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
1.4537 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
1.4538 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
1.4539 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
1.4540 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
1.4541 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
1.4542 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.4543 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
1.4544 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.4547 +## ------------------------------------------ ##
1.4548 +## Report this to the AC_PACKAGE_NAME lists. ##
1.4549 +## ------------------------------------------ ##
1.4552 + sed "s/^/$as_me: WARNING: /" >&2
1.4555 +echo "$as_me:$LINENO: checking for $ac_header" >&5
1.4556 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
1.4557 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.4558 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4560 + eval "$as_ac_Header=\$ac_header_preproc"
1.4562 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1.4563 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.4566 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
1.4567 + cat >>confdefs.h <<_ACEOF
1.4568 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.4575 + if test $ac_cv_header_locale_h = yes; then
1.4576 + echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
1.4577 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
1.4578 +if test "${am_cv_val_LC_MESSAGES+set}" = set; then
1.4579 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4581 + cat >conftest.$ac_ext <<_ACEOF
1.4584 +cat confdefs.h >>conftest.$ac_ext
1.4585 +cat >>conftest.$ac_ext <<_ACEOF
1.4596 +rm -f conftest.$ac_objext conftest$ac_exeext
1.4597 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.4598 + (eval $ac_link) 2>conftest.er1
1.4600 + grep -v '^ *+' conftest.er1 >conftest.err
1.4603 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4604 + (exit $ac_status); } &&
1.4605 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.4606 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4609 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4610 + (exit $ac_status); }; } &&
1.4611 + { ac_try='test -s conftest$ac_exeext'
1.4612 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4615 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4616 + (exit $ac_status); }; }; then
1.4617 + am_cv_val_LC_MESSAGES=yes
1.4619 + echo "$as_me: failed program was:" >&5
1.4620 +sed 's/^/| /' conftest.$ac_ext >&5
1.4622 +am_cv_val_LC_MESSAGES=no
1.4624 +rm -f conftest.err conftest.$ac_objext \
1.4625 + conftest$ac_exeext conftest.$ac_ext
1.4627 +echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
1.4628 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
1.4629 + if test $am_cv_val_LC_MESSAGES = yes; then
1.4631 +cat >>confdefs.h <<\_ACEOF
1.4632 +#define HAVE_LC_MESSAGES 1
1.4640 + gt_cv_have_gettext=no
1.4646 + if test "${ac_cv_header_libintl_h+set}" = set; then
1.4647 + echo "$as_me:$LINENO: checking for libintl.h" >&5
1.4648 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
1.4649 +if test "${ac_cv_header_libintl_h+set}" = set; then
1.4650 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4652 +echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
1.4653 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
1.4655 + # Is the header compilable?
1.4656 +echo "$as_me:$LINENO: checking libintl.h usability" >&5
1.4657 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
1.4658 +cat >conftest.$ac_ext <<_ACEOF
1.4661 +cat confdefs.h >>conftest.$ac_ext
1.4662 +cat >>conftest.$ac_ext <<_ACEOF
1.4667 +rm -f conftest.$ac_objext
1.4668 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.4669 + (eval $ac_compile) 2>conftest.er1
1.4671 + grep -v '^ *+' conftest.er1 >conftest.err
1.4674 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4675 + (exit $ac_status); } &&
1.4676 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.4677 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4680 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4681 + (exit $ac_status); }; } &&
1.4682 + { ac_try='test -s conftest.$ac_objext'
1.4683 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4686 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4687 + (exit $ac_status); }; }; then
1.4688 + ac_header_compiler=yes
1.4690 + echo "$as_me: failed program was:" >&5
1.4691 +sed 's/^/| /' conftest.$ac_ext >&5
1.4695 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.4696 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
1.4697 +echo "${ECHO_T}$ac_header_compiler" >&6
1.4699 +# Is the header present?
1.4700 +echo "$as_me:$LINENO: checking libintl.h presence" >&5
1.4701 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
1.4702 +cat >conftest.$ac_ext <<_ACEOF
1.4705 +cat confdefs.h >>conftest.$ac_ext
1.4706 +cat >>conftest.$ac_ext <<_ACEOF
1.4710 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.4711 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.4713 + grep -v '^ *+' conftest.er1 >conftest.err
1.4716 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4717 + (exit $ac_status); } >/dev/null; then
1.4718 + if test -s conftest.err; then
1.4719 + ac_cpp_err=$ac_c_preproc_warn_flag
1.4720 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.4727 +if test -z "$ac_cpp_err"; then
1.4728 + ac_header_preproc=yes
1.4730 + echo "$as_me: failed program was:" >&5
1.4731 +sed 's/^/| /' conftest.$ac_ext >&5
1.4735 +rm -f conftest.err conftest.$ac_ext
1.4736 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
1.4737 +echo "${ECHO_T}$ac_header_preproc" >&6
1.4739 +# So? What about this header?
1.4740 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
1.4742 + { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
1.4743 +echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.4744 + { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
1.4745 +echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
1.4746 + ac_header_preproc=yes
1.4749 + { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
1.4750 +echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
1.4751 + { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
1.4752 +echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
1.4753 + { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
1.4754 +echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
1.4755 + { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
1.4756 +echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
1.4757 + { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
1.4758 +echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
1.4759 + { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
1.4760 +echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
1.4763 +## ------------------------------------------ ##
1.4764 +## Report this to the AC_PACKAGE_NAME lists. ##
1.4765 +## ------------------------------------------ ##
1.4768 + sed "s/^/$as_me: WARNING: /" >&2
1.4771 +echo "$as_me:$LINENO: checking for libintl.h" >&5
1.4772 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
1.4773 +if test "${ac_cv_header_libintl_h+set}" = set; then
1.4774 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4776 + ac_cv_header_libintl_h=$ac_header_preproc
1.4778 +echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
1.4779 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
1.4782 +if test $ac_cv_header_libintl_h = yes; then
1.4783 + gt_cv_func_dgettext_libintl="no"
1.4784 + libintl_extra_libs=""
1.4787 + # First check in libc
1.4789 + echo "$as_me:$LINENO: checking for dgettext in libc" >&5
1.4790 +echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
1.4791 +if test "${gt_cv_func_dgettext_libc+set}" = set; then
1.4792 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4794 + cat >conftest.$ac_ext <<_ACEOF
1.4797 +cat confdefs.h >>conftest.$ac_ext
1.4798 +cat >>conftest.$ac_ext <<_ACEOF
1.4806 +return (int) dgettext ("","")
1.4811 +rm -f conftest.$ac_objext conftest$ac_exeext
1.4812 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.4813 + (eval $ac_link) 2>conftest.er1
1.4815 + grep -v '^ *+' conftest.er1 >conftest.err
1.4818 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4819 + (exit $ac_status); } &&
1.4820 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.4821 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4824 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4825 + (exit $ac_status); }; } &&
1.4826 + { ac_try='test -s conftest$ac_exeext'
1.4827 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4830 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4831 + (exit $ac_status); }; }; then
1.4832 + gt_cv_func_dgettext_libc=yes
1.4834 + echo "$as_me: failed program was:" >&5
1.4835 +sed 's/^/| /' conftest.$ac_ext >&5
1.4837 +gt_cv_func_dgettext_libc=no
1.4839 +rm -f conftest.err conftest.$ac_objext \
1.4840 + conftest$ac_exeext conftest.$ac_ext
1.4843 +echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
1.4844 +echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
1.4846 + if test "$gt_cv_func_dgettext_libc" = "yes" ; then
1.4848 +for ac_func in bind_textdomain_codeset
1.4850 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
1.4851 +echo "$as_me:$LINENO: checking for $ac_func" >&5
1.4852 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
1.4853 +if eval "test \"\${$as_ac_var+set}\" = set"; then
1.4854 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4856 + cat >conftest.$ac_ext <<_ACEOF
1.4859 +cat confdefs.h >>conftest.$ac_ext
1.4860 +cat >>conftest.$ac_ext <<_ACEOF
1.4862 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
1.4863 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.4864 +#define $ac_func innocuous_$ac_func
1.4866 +/* System header to define __stub macros and hopefully few prototypes,
1.4867 + which can conflict with char $ac_func (); below.
1.4868 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.4869 + <limits.h> exists even on freestanding compilers. */
1.4879 +/* Override any gcc2 internal prototype to avoid an error. */
1.4884 +/* We use char because int might match the return type of a gcc2
1.4885 + builtin and then its argument prototype would still apply. */
1.4887 +/* The GNU C library defines this for functions which it implements
1.4888 + to always fail with ENOSYS. Some functions are actually named
1.4889 + something starting with __ and the normal name is an alias. */
1.4890 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.4893 +char (*f) () = $ac_func;
1.4907 +rm -f conftest.$ac_objext conftest$ac_exeext
1.4908 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.4909 + (eval $ac_link) 2>conftest.er1
1.4911 + grep -v '^ *+' conftest.er1 >conftest.err
1.4914 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4915 + (exit $ac_status); } &&
1.4916 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.4917 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4920 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4921 + (exit $ac_status); }; } &&
1.4922 + { ac_try='test -s conftest$ac_exeext'
1.4923 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4926 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4927 + (exit $ac_status); }; }; then
1.4928 + eval "$as_ac_var=yes"
1.4930 + echo "$as_me: failed program was:" >&5
1.4931 +sed 's/^/| /' conftest.$ac_ext >&5
1.4935 +rm -f conftest.err conftest.$ac_objext \
1.4936 + conftest$ac_exeext conftest.$ac_ext
1.4938 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
1.4939 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
1.4940 +if test `eval echo '${'$as_ac_var'}'` = yes; then
1.4941 + cat >>confdefs.h <<_ACEOF
1.4942 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.4951 + # If we don't have everything we want, check in libintl
1.4953 + if test "$gt_cv_func_dgettext_libc" != "yes" \
1.4954 + || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
1.4956 + echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
1.4957 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
1.4958 +if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
1.4959 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4961 + ac_check_lib_save_LIBS=$LIBS
1.4963 +cat >conftest.$ac_ext <<_ACEOF
1.4966 +cat confdefs.h >>conftest.$ac_ext
1.4967 +cat >>conftest.$ac_ext <<_ACEOF
1.4970 +/* Override any gcc2 internal prototype to avoid an error. */
1.4974 +/* We use char because int might match the return type of a gcc2
1.4975 + builtin and then its argument prototype would still apply. */
1.4976 +char bindtextdomain ();
1.4985 +rm -f conftest.$ac_objext conftest$ac_exeext
1.4986 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.4987 + (eval $ac_link) 2>conftest.er1
1.4989 + grep -v '^ *+' conftest.er1 >conftest.err
1.4992 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4993 + (exit $ac_status); } &&
1.4994 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.4995 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.4998 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4999 + (exit $ac_status); }; } &&
1.5000 + { ac_try='test -s conftest$ac_exeext'
1.5001 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5004 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5005 + (exit $ac_status); }; }; then
1.5006 + ac_cv_lib_intl_bindtextdomain=yes
1.5008 + echo "$as_me: failed program was:" >&5
1.5009 +sed 's/^/| /' conftest.$ac_ext >&5
1.5011 +ac_cv_lib_intl_bindtextdomain=no
1.5013 +rm -f conftest.err conftest.$ac_objext \
1.5014 + conftest$ac_exeext conftest.$ac_ext
1.5015 +LIBS=$ac_check_lib_save_LIBS
1.5017 +echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
1.5018 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
1.5019 +if test $ac_cv_lib_intl_bindtextdomain = yes; then
1.5020 + echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
1.5021 +echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
1.5022 +if test "${ac_cv_lib_intl_dgettext+set}" = set; then
1.5023 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5025 + ac_check_lib_save_LIBS=$LIBS
1.5027 +cat >conftest.$ac_ext <<_ACEOF
1.5030 +cat confdefs.h >>conftest.$ac_ext
1.5031 +cat >>conftest.$ac_ext <<_ACEOF
1.5034 +/* Override any gcc2 internal prototype to avoid an error. */
1.5038 +/* We use char because int might match the return type of a gcc2
1.5039 + builtin and then its argument prototype would still apply. */
1.5049 +rm -f conftest.$ac_objext conftest$ac_exeext
1.5050 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.5051 + (eval $ac_link) 2>conftest.er1
1.5053 + grep -v '^ *+' conftest.er1 >conftest.err
1.5056 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5057 + (exit $ac_status); } &&
1.5058 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.5059 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5062 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5063 + (exit $ac_status); }; } &&
1.5064 + { ac_try='test -s conftest$ac_exeext'
1.5065 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5068 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5069 + (exit $ac_status); }; }; then
1.5070 + ac_cv_lib_intl_dgettext=yes
1.5072 + echo "$as_me: failed program was:" >&5
1.5073 +sed 's/^/| /' conftest.$ac_ext >&5
1.5075 +ac_cv_lib_intl_dgettext=no
1.5077 +rm -f conftest.err conftest.$ac_objext \
1.5078 + conftest$ac_exeext conftest.$ac_ext
1.5079 +LIBS=$ac_check_lib_save_LIBS
1.5081 +echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
1.5082 +echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
1.5083 +if test $ac_cv_lib_intl_dgettext = yes; then
1.5084 + gt_cv_func_dgettext_libintl=yes
1.5090 + if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
1.5091 + echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
1.5092 +echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
1.5093 + echo "$as_me:$LINENO: result: " >&5
1.5095 + echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
1.5096 +echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
1.5097 +if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
1.5098 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5100 + ac_check_lib_save_LIBS=$LIBS
1.5101 +LIBS="-lintl -liconv $LIBS"
1.5102 +cat >conftest.$ac_ext <<_ACEOF
1.5105 +cat confdefs.h >>conftest.$ac_ext
1.5106 +cat >>conftest.$ac_ext <<_ACEOF
1.5109 +/* Override any gcc2 internal prototype to avoid an error. */
1.5113 +/* We use char because int might match the return type of a gcc2
1.5114 + builtin and then its argument prototype would still apply. */
1.5124 +rm -f conftest.$ac_objext conftest$ac_exeext
1.5125 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.5126 + (eval $ac_link) 2>conftest.er1
1.5128 + grep -v '^ *+' conftest.er1 >conftest.err
1.5131 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5132 + (exit $ac_status); } &&
1.5133 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.5134 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5137 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5138 + (exit $ac_status); }; } &&
1.5139 + { ac_try='test -s conftest$ac_exeext'
1.5140 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5143 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5144 + (exit $ac_status); }; }; then
1.5145 + ac_cv_lib_intl_dcgettext=yes
1.5147 + echo "$as_me: failed program was:" >&5
1.5148 +sed 's/^/| /' conftest.$ac_ext >&5
1.5150 +ac_cv_lib_intl_dcgettext=no
1.5152 +rm -f conftest.err conftest.$ac_objext \
1.5153 + conftest$ac_exeext conftest.$ac_ext
1.5154 +LIBS=$ac_check_lib_save_LIBS
1.5156 +echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
1.5157 +echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
1.5158 +if test $ac_cv_lib_intl_dcgettext = yes; then
1.5159 + gt_cv_func_dgettext_libintl=yes
1.5160 + libintl_extra_libs=-liconv
1.5168 + # If we found libintl, then check in it for bind_textdomain_codeset();
1.5169 + # we'll prefer libc if neither have bind_textdomain_codeset(),
1.5170 + # and both have dgettext
1.5172 + if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
1.5173 + glib_save_LIBS="$LIBS"
1.5174 + LIBS="$LIBS -lintl $libintl_extra_libs"
1.5175 + unset ac_cv_func_bind_textdomain_codeset
1.5177 +for ac_func in bind_textdomain_codeset
1.5179 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
1.5180 +echo "$as_me:$LINENO: checking for $ac_func" >&5
1.5181 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
1.5182 +if eval "test \"\${$as_ac_var+set}\" = set"; then
1.5183 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5185 + cat >conftest.$ac_ext <<_ACEOF
1.5188 +cat confdefs.h >>conftest.$ac_ext
1.5189 +cat >>conftest.$ac_ext <<_ACEOF
1.5191 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
1.5192 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.5193 +#define $ac_func innocuous_$ac_func
1.5195 +/* System header to define __stub macros and hopefully few prototypes,
1.5196 + which can conflict with char $ac_func (); below.
1.5197 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.5198 + <limits.h> exists even on freestanding compilers. */
1.5208 +/* Override any gcc2 internal prototype to avoid an error. */
1.5213 +/* We use char because int might match the return type of a gcc2
1.5214 + builtin and then its argument prototype would still apply. */
1.5216 +/* The GNU C library defines this for functions which it implements
1.5217 + to always fail with ENOSYS. Some functions are actually named
1.5218 + something starting with __ and the normal name is an alias. */
1.5219 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.5222 +char (*f) () = $ac_func;
1.5236 +rm -f conftest.$ac_objext conftest$ac_exeext
1.5237 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.5238 + (eval $ac_link) 2>conftest.er1
1.5240 + grep -v '^ *+' conftest.er1 >conftest.err
1.5243 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5244 + (exit $ac_status); } &&
1.5245 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.5246 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5249 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5250 + (exit $ac_status); }; } &&
1.5251 + { ac_try='test -s conftest$ac_exeext'
1.5252 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5255 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5256 + (exit $ac_status); }; }; then
1.5257 + eval "$as_ac_var=yes"
1.5259 + echo "$as_me: failed program was:" >&5
1.5260 +sed 's/^/| /' conftest.$ac_ext >&5
1.5264 +rm -f conftest.err conftest.$ac_objext \
1.5265 + conftest$ac_exeext conftest.$ac_ext
1.5267 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
1.5268 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
1.5269 +if test `eval echo '${'$as_ac_var'}'` = yes; then
1.5270 + cat >>confdefs.h <<_ACEOF
1.5271 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.5277 + LIBS="$glib_save_LIBS"
1.5279 + if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
1.5280 + gt_cv_func_dgettext_libc=no
1.5282 + if test "$gt_cv_func_dgettext_libc" = "yes"; then
1.5283 + gt_cv_func_dgettext_libintl=no
1.5289 + if test "$gt_cv_func_dgettext_libc" = "yes" \
1.5290 + || test "$gt_cv_func_dgettext_libintl" = "yes"; then
1.5291 + gt_cv_have_gettext=yes
1.5294 + if test "$gt_cv_func_dgettext_libintl" = "yes"; then
1.5295 + INTLLIBS="-lintl $libintl_extra_libs"
1.5298 + if test "$gt_cv_have_gettext" = "yes"; then
1.5300 +cat >>confdefs.h <<\_ACEOF
1.5301 +#define HAVE_GETTEXT 1
1.5304 + # Extract the first word of "msgfmt", so it can be a program name with args.
1.5305 +set dummy msgfmt; ac_word=$2
1.5306 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5307 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.5308 +if test "${ac_cv_path_MSGFMT+set}" = set; then
1.5309 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5313 + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
1.5316 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1.5317 + for ac_dir in $PATH; do
1.5318 + test -z "$ac_dir" && ac_dir=.
1.5319 + if test -f $ac_dir/$ac_word; then
1.5320 + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
1.5321 + ac_cv_path_MSGFMT="$ac_dir/$ac_word"
1.5327 + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
1.5331 +MSGFMT="$ac_cv_path_MSGFMT"
1.5332 +if test "$MSGFMT" != "no"; then
1.5333 + echo "$as_me:$LINENO: result: $MSGFMT" >&5
1.5334 +echo "${ECHO_T}$MSGFMT" >&6
1.5336 + echo "$as_me:$LINENO: result: no" >&5
1.5337 +echo "${ECHO_T}no" >&6
1.5339 + if test "$MSGFMT" != "no"; then
1.5340 + glib_save_LIBS="$LIBS"
1.5341 + LIBS="$LIBS $INTLLIBS"
1.5343 +for ac_func in dcgettext
1.5345 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
1.5346 +echo "$as_me:$LINENO: checking for $ac_func" >&5
1.5347 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
1.5348 +if eval "test \"\${$as_ac_var+set}\" = set"; then
1.5349 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5351 + cat >conftest.$ac_ext <<_ACEOF
1.5354 +cat confdefs.h >>conftest.$ac_ext
1.5355 +cat >>conftest.$ac_ext <<_ACEOF
1.5357 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
1.5358 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.5359 +#define $ac_func innocuous_$ac_func
1.5361 +/* System header to define __stub macros and hopefully few prototypes,
1.5362 + which can conflict with char $ac_func (); below.
1.5363 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.5364 + <limits.h> exists even on freestanding compilers. */
1.5374 +/* Override any gcc2 internal prototype to avoid an error. */
1.5379 +/* We use char because int might match the return type of a gcc2
1.5380 + builtin and then its argument prototype would still apply. */
1.5382 +/* The GNU C library defines this for functions which it implements
1.5383 + to always fail with ENOSYS. Some functions are actually named
1.5384 + something starting with __ and the normal name is an alias. */
1.5385 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.5388 +char (*f) () = $ac_func;
1.5402 +rm -f conftest.$ac_objext conftest$ac_exeext
1.5403 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.5404 + (eval $ac_link) 2>conftest.er1
1.5406 + grep -v '^ *+' conftest.er1 >conftest.err
1.5409 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5410 + (exit $ac_status); } &&
1.5411 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.5412 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5415 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5416 + (exit $ac_status); }; } &&
1.5417 + { ac_try='test -s conftest$ac_exeext'
1.5418 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5421 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5422 + (exit $ac_status); }; }; then
1.5423 + eval "$as_ac_var=yes"
1.5425 + echo "$as_me: failed program was:" >&5
1.5426 +sed 's/^/| /' conftest.$ac_ext >&5
1.5430 +rm -f conftest.err conftest.$ac_objext \
1.5431 + conftest$ac_exeext conftest.$ac_ext
1.5433 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
1.5434 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
1.5435 +if test `eval echo '${'$as_ac_var'}'` = yes; then
1.5436 + cat >>confdefs.h <<_ACEOF
1.5437 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.5443 + # Extract the first word of "gmsgfmt", so it can be a program name with args.
1.5444 +set dummy gmsgfmt; ac_word=$2
1.5445 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5446 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.5447 +if test "${ac_cv_path_GMSGFMT+set}" = set; then
1.5448 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5452 + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
1.5455 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5459 + test -z "$as_dir" && as_dir=.
1.5460 + for ac_exec_ext in '' $ac_executable_extensions; do
1.5461 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.5462 + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
1.5463 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5469 + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
1.5473 +GMSGFMT=$ac_cv_path_GMSGFMT
1.5475 +if test -n "$GMSGFMT"; then
1.5476 + echo "$as_me:$LINENO: result: $GMSGFMT" >&5
1.5477 +echo "${ECHO_T}$GMSGFMT" >&6
1.5479 + echo "$as_me:$LINENO: result: no" >&5
1.5480 +echo "${ECHO_T}no" >&6
1.5483 + # Extract the first word of "xgettext", so it can be a program name with args.
1.5484 +set dummy xgettext; ac_word=$2
1.5485 +echo "$as_me:$LINENO: checking for $ac_word" >&5
1.5486 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.5487 +if test "${ac_cv_path_XGETTEXT+set}" = set; then
1.5488 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5492 + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
1.5495 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1.5496 + for ac_dir in $PATH; do
1.5497 + test -z "$ac_dir" && ac_dir=.
1.5498 + if test -f $ac_dir/$ac_word; then
1.5499 + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
1.5500 + ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
1.5506 + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
1.5510 +XGETTEXT="$ac_cv_path_XGETTEXT"
1.5511 +if test "$XGETTEXT" != ":"; then
1.5512 + echo "$as_me:$LINENO: result: $XGETTEXT" >&5
1.5513 +echo "${ECHO_T}$XGETTEXT" >&6
1.5515 + echo "$as_me:$LINENO: result: no" >&5
1.5516 +echo "${ECHO_T}no" >&6
1.5519 + cat >conftest.$ac_ext <<_ACEOF
1.5522 +cat confdefs.h >>conftest.$ac_ext
1.5523 +cat >>conftest.$ac_ext <<_ACEOF
1.5529 +extern int _nl_msg_cat_cntr;
1.5530 + return _nl_msg_cat_cntr
1.5535 +rm -f conftest.$ac_objext conftest$ac_exeext
1.5536 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.5537 + (eval $ac_link) 2>conftest.er1
1.5539 + grep -v '^ *+' conftest.er1 >conftest.err
1.5542 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5543 + (exit $ac_status); } &&
1.5544 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.5545 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5548 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5549 + (exit $ac_status); }; } &&
1.5550 + { ac_try='test -s conftest$ac_exeext'
1.5551 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5554 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5555 + (exit $ac_status); }; }; then
1.5559 + echo "$as_me: failed program was:" >&5
1.5560 +sed 's/^/| /' conftest.$ac_ext >&5
1.5564 + echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
1.5565 +echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
1.5566 +if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
1.5567 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5569 + cat >conftest.$ac_ext <<_ACEOF
1.5572 +cat confdefs.h >>conftest.$ac_ext
1.5573 +cat >>conftest.$ac_ext <<_ACEOF
1.5575 +/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
1.5576 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.5577 +#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
1.5579 +/* System header to define __stub macros and hopefully few prototypes,
1.5580 + which can conflict with char bind_textdomain_codeset (); below.
1.5581 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.5582 + <limits.h> exists even on freestanding compilers. */
1.5590 +#undef bind_textdomain_codeset
1.5592 +/* Override any gcc2 internal prototype to avoid an error. */
1.5597 +/* We use char because int might match the return type of a gcc2
1.5598 + builtin and then its argument prototype would still apply. */
1.5599 +char bind_textdomain_codeset ();
1.5600 +/* The GNU C library defines this for functions which it implements
1.5601 + to always fail with ENOSYS. Some functions are actually named
1.5602 + something starting with __ and the normal name is an alias. */
1.5603 +#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
1.5606 +char (*f) () = bind_textdomain_codeset;
1.5615 +return f != bind_textdomain_codeset;
1.5620 +rm -f conftest.$ac_objext conftest$ac_exeext
1.5621 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.5622 + (eval $ac_link) 2>conftest.er1
1.5624 + grep -v '^ *+' conftest.er1 >conftest.err
1.5627 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5628 + (exit $ac_status); } &&
1.5629 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.5630 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5633 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5634 + (exit $ac_status); }; } &&
1.5635 + { ac_try='test -s conftest$ac_exeext'
1.5636 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.5639 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5640 + (exit $ac_status); }; }; then
1.5641 + ac_cv_func_bind_textdomain_codeset=yes
1.5643 + echo "$as_me: failed program was:" >&5
1.5644 +sed 's/^/| /' conftest.$ac_ext >&5
1.5646 +ac_cv_func_bind_textdomain_codeset=no
1.5648 +rm -f conftest.err conftest.$ac_objext \
1.5649 + conftest$ac_exeext conftest.$ac_ext
1.5651 +echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
1.5652 +echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
1.5653 +if test $ac_cv_func_bind_textdomain_codeset = yes; then
1.5668 +rm -f conftest.err conftest.$ac_objext \
1.5669 + conftest$ac_exeext conftest.$ac_ext
1.5670 + LIBS="$glib_save_LIBS"
1.5673 + gt_cv_have_gettext=no
1.5681 + if test "$gt_cv_have_gettext" = "yes" ; then
1.5683 +cat >>confdefs.h <<\_ACEOF
1.5689 + if test "$XGETTEXT" != ":"; then
1.5690 + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
1.5693 + echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
1.5694 +echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
1.5699 + # We need to process the po/ directory.
1.5702 + ac_config_commands="$ac_config_commands default-1"
1.5705 + for lang in $ALL_LINGUAS; do
1.5706 + GMOFILES="$GMOFILES $lang.gmo"
1.5707 + POFILES="$POFILES $lang.po"
1.5722 + if test "$gt_cv_have_gettext" = "yes"; then
1.5723 + if test "x$ALL_LINGUAS" = "x"; then
1.5726 + echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
1.5727 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
1.5729 + for presentlang in $ALL_LINGUAS; do
1.5731 + if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
1.5732 + desiredlanguages="$LINGUAS"
1.5734 + desiredlanguages="$ALL_LINGUAS"
1.5736 + for desiredlang in $desiredlanguages; do
1.5737 + # Use the presentlang catalog if desiredlang is
1.5738 + # a. equal to presentlang, or
1.5739 + # b. a variant of presentlang (because in this case,
1.5740 + # presentlang can be used as a fallback for messages
1.5741 + # which are not translated in the desiredlang catalog).
1.5742 + case "$desiredlang" in
1.5743 + "$presentlang"*) useit=yes;;
1.5746 + if test $useit = yes; then
1.5747 + NEW_LINGUAS="$NEW_LINGUAS $presentlang"
1.5751 + echo "$as_me:$LINENO: result: $LINGUAS" >&5
1.5752 +echo "${ECHO_T}$LINGUAS" >&6
1.5755 + if test -n "$LINGUAS"; then
1.5756 + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
1.5761 + if test -n "$ac_aux_dir"; then
1.5762 + MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
1.5764 + if test -z "$MKINSTALLDIRS"; then
1.5765 + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
1.5769 + test -d po || mkdir po
1.5770 + if test "x$srcdir" != "x."; then
1.5771 + if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
1.5772 + posrcprefix="$srcdir/"
1.5774 + posrcprefix="../$srcdir/"
1.5780 + sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
1.5781 + < $srcdir/po/POTFILES.in > po/POTFILES
1.5784 + ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
1.5785 +cat >confcache <<\_ACEOF
1.5786 +# This file is a shell script that caches the results of configure
1.5787 +# tests run on this system so they can be shared between configure
1.5788 +# scripts and configure runs, see configure's option --config-cache.
1.5789 +# It is not useful on other systems. If it contains results you don't
1.5790 +# want to keep, you may remove or edit it.
1.5792 +# config.status only pays attention to the cache file if you give it
1.5793 +# the --recheck option to rerun configure.
1.5795 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
1.5796 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
1.5801 +# The following way of writing the cache mishandles newlines in values,
1.5802 +# but we know of no workaround that is simple, portable, and efficient.
1.5803 +# So, don't put newlines in cache variables' values.
1.5804 +# Ultrix sh set writes to stderr and can't be redirected directly,
1.5805 +# and sets the high bit in the cache file unless we assign to the vars.
1.5808 + case `(ac_space=' '; set | grep ac_space) 2>&1` in
1.5810 + # `set' does not quote correctly, so add quotes (double-quote
1.5811 + # substitution turns \\\\ into \\, and sed turns \\ into \).
1.5814 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.5817 + # `set' quotes correctly as required by POSIX, so do not add quotes.
1.5819 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.5826 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1.5828 + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1.5830 +if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.5831 + if test -w $cache_file; then
1.5832 + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1.5833 + cat confcache >$cache_file
1.5835 + echo "not updating unwritable cache $cache_file"
1.5840 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
1.5841 +# Let make expand exec_prefix.
1.5842 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1.5844 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
1.5845 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1.5846 +# trailing colons and then remove the whole line if VPATH becomes empty
1.5847 +# (actually we leave an empty line to preserve line numbers).
1.5848 +if test "x$srcdir" = x.; then
1.5849 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
1.5853 +s/^\([^=]*=[ ]*\):*/\1/;
1.5863 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1.5864 + # 1. Remove the extension, and $U if already installed.
1.5866 + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1.5868 + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1.5869 + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1.5873 +LTLIBOBJS=$ac_ltlibobjs
1.5876 +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
1.5877 + { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
1.5878 +Usually this means the macro was only invoked conditionally." >&5
1.5879 +echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
1.5880 +Usually this means the macro was only invoked conditionally." >&2;}
1.5881 + { (exit 1); exit 1; }; }
1.5883 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.5884 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
1.5885 +Usually this means the macro was only invoked conditionally." >&5
1.5886 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
1.5887 +Usually this means the macro was only invoked conditionally." >&2;}
1.5888 + { (exit 1); exit 1; }; }
1.5890 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.5891 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.5892 +Usually this means the macro was only invoked conditionally." >&5
1.5893 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.5894 +Usually this means the macro was only invoked conditionally." >&2;}
1.5895 + { (exit 1); exit 1; }; }
1.5897 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.5898 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.5899 +Usually this means the macro was only invoked conditionally." >&5
1.5900 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.5901 +Usually this means the macro was only invoked conditionally." >&2;}
1.5902 + { (exit 1); exit 1; }; }
1.5905 +: ${CONFIG_STATUS=./config.status}
1.5906 +ac_clean_files_save=$ac_clean_files
1.5907 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.5908 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1.5909 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
1.5910 +cat >$CONFIG_STATUS <<_ACEOF
1.5912 +# Generated by $as_me.
1.5913 +# Run this file to recreate the current configuration.
1.5914 +# Compiler output produced by configure, useful for debugging
1.5915 +# configure, is in config.log if it exists.
1.5920 +SHELL=\${CONFIG_SHELL-$SHELL}
1.5923 +cat >>$CONFIG_STATUS <<\_ACEOF
1.5924 +## --------------------- ##
1.5925 +## M4sh Initialization. ##
1.5926 +## --------------------- ##
1.5928 +# Be Bourne compatible
1.5929 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1.5932 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1.5933 + # is contrary to our usage. Disable this feature.
1.5934 + alias -g '${1+"$@"}'='"$@"'
1.5935 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1.5938 +DUALCASE=1; export DUALCASE # for MKS sh
1.5940 +# Support unset when possible.
1.5941 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.5948 +# Work around bugs in pre-3.0 UWIN ksh.
1.5949 +$as_unset ENV MAIL MAILPATH
1.5956 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1.5957 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1.5960 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.5961 + eval $as_var=C; export $as_var
1.5967 +# Required to use basename.
1.5968 +if expr a : '\(a\)' >/dev/null 2>&1; then
1.5974 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1.5981 +# Name of the executable.
1.5982 +as_me=`$as_basename "$0" ||
1.5983 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1.5984 + X"$0" : 'X\(//\)$' \| \
1.5985 + X"$0" : 'X\(/\)$' \| \
1.5986 + . : '\(.\)' 2>/dev/null ||
1.5988 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1.5989 + /^X\/\(\/\/\)$/{ s//\1/; q; }
1.5990 + /^X\/\(\/\).*/{ s//\1/; q; }
1.5994 +# PATH needs CR, and LINENO needs CR and PATH.
1.5995 +# Avoid depending upon Character Ranges.
1.5996 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1.5997 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1.5998 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1.5999 +as_cr_digits='0123456789'
1.6000 +as_cr_alnum=$as_cr_Letters$as_cr_digits
1.6002 +# The user is always right.
1.6003 +if test "${PATH_SEPARATOR+set}" != set; then
1.6004 + echo "#! /bin/sh" >conf$$.sh
1.6005 + echo "exit 0" >>conf$$.sh
1.6007 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1.6018 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1.6019 + test "x$as_lineno_1" != "x$as_lineno_2" &&
1.6020 + test "x$as_lineno_3" = "x$as_lineno_2" || {
1.6021 + # Find who we are. Look in the path if we contain no path at all
1.6024 + *[\\/]* ) as_myself=$0 ;;
1.6025 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6029 + test -z "$as_dir" && as_dir=.
1.6030 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1.6035 + # We did not find ourselves, most probably we were run as `sh COMMAND'
1.6036 + # in which case we are not to be found in the path.
1.6037 + if test "x$as_myself" = x; then
1.6040 + if test ! -f "$as_myself"; then
1.6041 + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1.6042 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1.6043 + { (exit 1); exit 1; }; }
1.6045 + case $CONFIG_SHELL in
1.6047 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6048 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.6051 + test -z "$as_dir" && as_dir=.
1.6052 + for as_base in sh bash ksh sh5; do
1.6055 + if ("$as_dir/$as_base" -c '
1.6058 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1.6059 + test "x$as_lineno_1" != "x$as_lineno_2" &&
1.6060 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1.6061 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1.6062 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1.6063 + CONFIG_SHELL=$as_dir/$as_base
1.6065 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1.6073 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1.6074 + # uniformly replaced by the line number. The first 'sed' inserts a
1.6075 + # line-number line before each line; the second 'sed' does the real
1.6076 + # work. The second script uses 'N' to pair each line-number line
1.6077 + # with the numbered line, and appends trailing '-' during
1.6078 + # substitution so that $LINENO is not a special case at line end.
1.6079 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.6080 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1.6081 + sed '=' <$as_myself |
1.6086 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1.6089 + s,^['$as_cr_digits']*\n,,
1.6091 + chmod +x $as_me.lineno ||
1.6092 + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1.6093 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1.6094 + { (exit 1); exit 1; }; }
1.6096 + # Don't try to exec as it changes $[0], causing all sort of problems
1.6097 + # (the dirname of $[0] is not the place where we might find the
1.6098 + # original and so on. Autoconf is especially sensible to this).
1.6100 + # Exit status is that of the last command.
1.6105 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1.6106 + *c*,-n*) ECHO_N= ECHO_C='
1.6108 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1.6109 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1.6112 +if expr a : '\(a\)' >/dev/null 2>&1; then
1.6118 +rm -f conf$$ conf$$.exe conf$$.file
1.6120 +if ln -s conf$$.file conf$$ 2>/dev/null; then
1.6121 + # We could just check for DJGPP; but this test a) works b) is more generic
1.6122 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1.6123 + if test -f conf$$.exe; then
1.6124 + # Don't use ln at all; we don't have any links
1.6129 +elif ln conf$$.file conf$$ 2>/dev/null; then
1.6134 +rm -f conf$$ conf$$.exe conf$$.file
1.6136 +if mkdir -p . 2>/dev/null; then
1.6139 + test -d ./-p && rmdir ./-p
1.6143 +as_executable_p="test -f"
1.6145 +# Sed expression to map a string onto a valid CPP name.
1.6146 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.6148 +# Sed expression to map a string onto a valid variable name.
1.6149 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.6153 +# We need space, tab and new line, in precisely that order.
1.6163 +# Open the log real soon, to keep \$[0] and so on meaningful, and to
1.6164 +# report actual input values of CONFIG_FILES etc. instead of their
1.6165 +# values after options handling. Logging --version etc. is OK.
1.6169 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1.6175 +This file was extended by $as_me, which was
1.6176 +generated by GNU Autoconf 2.59. Invocation command line was
1.6178 + CONFIG_FILES = $CONFIG_FILES
1.6179 + CONFIG_HEADERS = $CONFIG_HEADERS
1.6180 + CONFIG_LINKS = $CONFIG_LINKS
1.6181 + CONFIG_COMMANDS = $CONFIG_COMMANDS
1.6185 +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1.6189 +# Files that config.status was made for.
1.6190 +if test -n "$ac_config_files"; then
1.6191 + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1.6194 +if test -n "$ac_config_headers"; then
1.6195 + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1.6198 +if test -n "$ac_config_links"; then
1.6199 + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1.6202 +if test -n "$ac_config_commands"; then
1.6203 + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1.6206 +cat >>$CONFIG_STATUS <<\_ACEOF
1.6209 +\`$as_me' instantiates files from templates according to the
1.6210 +current configuration.
1.6212 +Usage: $0 [OPTIONS] [FILE]...
1.6214 + -h, --help print this help, then exit
1.6215 + -V, --version print version number, then exit
1.6216 + -q, --quiet do not print progress messages
1.6217 + -d, --debug don't remove temporary files
1.6218 + --recheck update $as_me by reconfiguring in the same conditions
1.6219 + --file=FILE[:TEMPLATE]
1.6220 + instantiate the configuration file FILE
1.6221 + --header=FILE[:TEMPLATE]
1.6222 + instantiate the configuration header FILE
1.6227 +Configuration headers:
1.6230 +Configuration commands:
1.6233 +Report bugs to <bug-autoconf@gnu.org>."
1.6236 +cat >>$CONFIG_STATUS <<_ACEOF
1.6239 +configured by $0, generated by GNU Autoconf 2.59,
1.6240 + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1.6242 +Copyright (C) 2003 Free Software Foundation, Inc.
1.6243 +This config.status script is free software; the Free Software Foundation
1.6244 +gives unlimited permission to copy, distribute and modify it."
1.6249 +cat >>$CONFIG_STATUS <<\_ACEOF
1.6250 +# If no file are specified by the user, then we need to provide default
1.6251 +# value. By we need to know if files were specified by the user.
1.6257 + ac_option=`expr "x$1" : 'x\([^=]*\)='`
1.6258 + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1.6266 + *) # This is not an option, so the user has probably given explicit
1.6269 + ac_need_defaults=false;;
1.6273 + # Handling of the options.
1.6275 +cat >>$CONFIG_STATUS <<\_ACEOF
1.6276 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.6278 + --version | --vers* | -V )
1.6279 + echo "$ac_cs_version"; exit 0 ;;
1.6281 + # Conflict between --help and --header
1.6282 + { { echo "$as_me:$LINENO: error: ambiguous option: $1
1.6283 +Try \`$0 --help' for more information." >&5
1.6284 +echo "$as_me: error: ambiguous option: $1
1.6285 +Try \`$0 --help' for more information." >&2;}
1.6286 + { (exit 1); exit 1; }; };;
1.6287 + --help | --hel | -h )
1.6288 + echo "$ac_cs_usage"; exit 0 ;;
1.6289 + --debug | --d* | -d )
1.6291 + --file | --fil | --fi | --f )
1.6293 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1.6294 + ac_need_defaults=false;;
1.6295 + --header | --heade | --head | --hea )
1.6297 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1.6298 + ac_need_defaults=false;;
1.6299 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1.6300 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
1.6304 + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
1.6305 +Try \`$0 --help' for more information." >&5
1.6306 +echo "$as_me: error: unrecognized option: $1
1.6307 +Try \`$0 --help' for more information." >&2;}
1.6308 + { (exit 1); exit 1; }; } ;;
1.6310 + *) ac_config_targets="$ac_config_targets $1" ;;
1.6316 +ac_configure_extra_args=
1.6318 +if $ac_cs_silent; then
1.6320 + ac_configure_extra_args="$ac_configure_extra_args --silent"
1.6324 +cat >>$CONFIG_STATUS <<_ACEOF
1.6325 +if \$ac_cs_recheck; then
1.6326 + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
1.6327 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.6332 +cat >>$CONFIG_STATUS <<_ACEOF
1.6334 +# INIT-COMMANDS section.
1.6337 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
1.6344 +cat >>$CONFIG_STATUS <<\_ACEOF
1.6345 +for ac_config_target in $ac_config_targets
1.6347 + case "$ac_config_target" in
1.6348 + # Handling of arguments.
1.6349 + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1.6350 + "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
1.6351 + "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
1.6352 + "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
1.6353 + "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
1.6354 + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
1.6355 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1.6356 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1.6357 + { (exit 1); exit 1; }; };;
1.6361 +# If the user did not use the arguments to specify the items to instantiate,
1.6362 +# then the envvar interface is used. Set only those that are not.
1.6363 +# We use the long form for the default assignment because of an extremely
1.6364 +# bizarre bug on SunOS 4.1.3.
1.6365 +if $ac_need_defaults; then
1.6366 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1.6367 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
1.6368 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
1.6371 +# Have a temporary directory for convenience. Make it in the build tree
1.6372 +# simply because there is no reason to put it here, and in addition,
1.6373 +# creating and moving files from /tmp can sometimes cause problems.
1.6374 +# Create a temporary directory, and hook for its removal unless debugging.
1.6377 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1.6378 + trap '{ (exit 1); exit 1; }' 1 2 13 15
1.6381 +# Create a (secure) tmp directory for tmp files.
1.6384 + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
1.6385 + test -n "$tmp" && test -d "$tmp"
1.6388 + tmp=./confstat$$-$RANDOM
1.6389 + (umask 077 && mkdir $tmp)
1.6392 + echo "$me: cannot create a temporary directory in ." >&2
1.6393 + { (exit 1); exit 1; }
1.6398 +cat >>$CONFIG_STATUS <<_ACEOF
1.6401 +# CONFIG_FILES section.
1.6404 +# No need to generate the scripts if there are no CONFIG_FILES.
1.6405 +# This happens for instance when ./config.status config.h
1.6406 +if test -n "\$CONFIG_FILES"; then
1.6407 + # Protect against being on the right side of a sed subst in config.status.
1.6408 + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1.6409 + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1.6411 +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1.6412 +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1.6413 +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1.6414 +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1.6415 +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1.6416 +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1.6417 +s,@exec_prefix@,$exec_prefix,;t t
1.6418 +s,@prefix@,$prefix,;t t
1.6419 +s,@program_transform_name@,$program_transform_name,;t t
1.6420 +s,@bindir@,$bindir,;t t
1.6421 +s,@sbindir@,$sbindir,;t t
1.6422 +s,@libexecdir@,$libexecdir,;t t
1.6423 +s,@datadir@,$datadir,;t t
1.6424 +s,@sysconfdir@,$sysconfdir,;t t
1.6425 +s,@sharedstatedir@,$sharedstatedir,;t t
1.6426 +s,@localstatedir@,$localstatedir,;t t
1.6427 +s,@libdir@,$libdir,;t t
1.6428 +s,@includedir@,$includedir,;t t
1.6429 +s,@oldincludedir@,$oldincludedir,;t t
1.6430 +s,@infodir@,$infodir,;t t
1.6431 +s,@mandir@,$mandir,;t t
1.6432 +s,@build_alias@,$build_alias,;t t
1.6433 +s,@host_alias@,$host_alias,;t t
1.6434 +s,@target_alias@,$target_alias,;t t
1.6436 +s,@ECHO_C@,$ECHO_C,;t t
1.6437 +s,@ECHO_N@,$ECHO_N,;t t
1.6438 +s,@ECHO_T@,$ECHO_T,;t t
1.6440 +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
1.6441 +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
1.6442 +s,@INSTALL_DATA@,$INSTALL_DATA,;t t
1.6443 +s,@CYGPATH_W@,$CYGPATH_W,;t t
1.6444 +s,@PACKAGE@,$PACKAGE,;t t
1.6445 +s,@VERSION@,$VERSION,;t t
1.6446 +s,@ACLOCAL@,$ACLOCAL,;t t
1.6447 +s,@AUTOCONF@,$AUTOCONF,;t t
1.6448 +s,@AUTOMAKE@,$AUTOMAKE,;t t
1.6449 +s,@AUTOHEADER@,$AUTOHEADER,;t t
1.6450 +s,@MAKEINFO@,$MAKEINFO,;t t
1.6452 +s,@install_sh@,$install_sh,;t t
1.6454 +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
1.6455 +s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
1.6457 +s,@SET_MAKE@,$SET_MAKE,;t t
1.6458 +s,@am__leading_dot@,$am__leading_dot,;t t
1.6459 +s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
1.6460 +s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
1.6463 +s,@CFLAGS@,$CFLAGS,;t t
1.6464 +s,@LDFLAGS@,$LDFLAGS,;t t
1.6465 +s,@CPPFLAGS@,$CPPFLAGS,;t t
1.6466 +s,@ac_ct_CC@,$ac_ct_CC,;t t
1.6467 +s,@EXEEXT@,$EXEEXT,;t t
1.6468 +s,@OBJEXT@,$OBJEXT,;t t
1.6469 +s,@DEPDIR@,$DEPDIR,;t t
1.6470 +s,@am__include@,$am__include,;t t
1.6471 +s,@am__quote@,$am__quote,;t t
1.6472 +s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
1.6473 +s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
1.6474 +s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
1.6475 +s,@CCDEPMODE@,$CCDEPMODE,;t t
1.6476 +s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
1.6477 +s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
1.6480 +s,@PKG_CONFIG@,$PKG_CONFIG,;t t
1.6481 +s,@PACKAGE_CFLAGS@,$PACKAGE_CFLAGS,;t t
1.6482 +s,@PACKAGE_LIBS@,$PACKAGE_LIBS,;t t
1.6483 +s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
1.6484 +s,@USE_NLS@,$USE_NLS,;t t
1.6485 +s,@MSGFMT@,$MSGFMT,;t t
1.6486 +s,@GMSGFMT@,$GMSGFMT,;t t
1.6487 +s,@XGETTEXT@,$XGETTEXT,;t t
1.6488 +s,@CATALOGS@,$CATALOGS,;t t
1.6489 +s,@CATOBJEXT@,$CATOBJEXT,;t t
1.6490 +s,@DATADIRNAME@,$DATADIRNAME,;t t
1.6491 +s,@GMOFILES@,$GMOFILES,;t t
1.6492 +s,@INSTOBJEXT@,$INSTOBJEXT,;t t
1.6493 +s,@INTLLIBS@,$INTLLIBS,;t t
1.6494 +s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
1.6495 +s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
1.6496 +s,@POFILES@,$POFILES,;t t
1.6498 +s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
1.6499 +s,@LIBOBJS@,$LIBOBJS,;t t
1.6500 +s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.6505 + cat >>$CONFIG_STATUS <<\_ACEOF
1.6506 + # Split the substitutions into bite-sized pieces for seds with
1.6507 + # small command number limits, like on Digital OSF/1 and HP-UX.
1.6509 + ac_sed_frag=1 # Number of current file.
1.6510 + ac_beg=1 # First line for current file.
1.6511 + ac_end=$ac_max_sed_lines # Line after last line for current file.
1.6514 + while $ac_more_lines; do
1.6515 + if test $ac_beg -gt 1; then
1.6516 + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1.6518 + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1.6520 + if test ! -s $tmp/subs.frag; then
1.6523 + # The purpose of the label and of the branching condition is to
1.6524 + # speed up the sed processing (if there are no `@' at all, there
1.6525 + # is no need to browse any of the substitutions).
1.6526 + # These are the two extra sed commands mentioned above.
1.6528 + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
1.6529 + if test -z "$ac_sed_cmds"; then
1.6530 + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1.6532 + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1.6534 + ac_sed_frag=`expr $ac_sed_frag + 1`
1.6536 + ac_end=`expr $ac_end + $ac_max_sed_lines`
1.6539 + if test -z "$ac_sed_cmds"; then
1.6542 +fi # test -n "$CONFIG_FILES"
1.6545 +cat >>$CONFIG_STATUS <<\_ACEOF
1.6546 +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.6547 + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.6549 + - | *:- | *:-:* ) # input from stdin
1.6551 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.6552 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.6553 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.6554 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.6555 + * ) ac_file_in=$ac_file.in ;;
1.6558 + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
1.6559 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
1.6560 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.6561 + X"$ac_file" : 'X\(//\)[^/]' \| \
1.6562 + X"$ac_file" : 'X\(//\)$' \| \
1.6563 + X"$ac_file" : 'X\(/\)' \| \
1.6564 + . : '\(.\)' 2>/dev/null ||
1.6566 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.6567 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.6568 + /^X\(\/\/\)$/{ s//\1/; q; }
1.6569 + /^X\(\/\).*/{ s//\1/; q; }
1.6571 + { if $as_mkdir_p; then
1.6576 + while test ! -d "$as_dir"; do
1.6577 + as_dirs="$as_dir $as_dirs"
1.6578 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
1.6579 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.6580 + X"$as_dir" : 'X\(//\)[^/]' \| \
1.6581 + X"$as_dir" : 'X\(//\)$' \| \
1.6582 + X"$as_dir" : 'X\(/\)' \| \
1.6583 + . : '\(.\)' 2>/dev/null ||
1.6585 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.6586 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.6587 + /^X\(\/\/\)$/{ s//\1/; q; }
1.6588 + /^X\(\/\).*/{ s//\1/; q; }
1.6591 + test ! -n "$as_dirs" || mkdir $as_dirs
1.6592 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
1.6593 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
1.6594 + { (exit 1); exit 1; }; }; }
1.6598 +if test "$ac_dir" != .; then
1.6599 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.6600 + # A "../" for each directory in $ac_dir_suffix.
1.6601 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1.6603 + ac_dir_suffix= ac_top_builddir=
1.6607 + .) # No --srcdir option. We are building in place.
1.6609 + if test -z "$ac_top_builddir"; then
1.6612 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1.6614 + [\\/]* | ?:[\\/]* ) # Absolute path.
1.6615 + ac_srcdir=$srcdir$ac_dir_suffix;
1.6616 + ac_top_srcdir=$srcdir ;;
1.6618 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1.6619 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
1.6622 +# Do not use `cd foo && pwd` to compute absolute paths, because
1.6623 +# the directories may not exist.
1.6625 +.) ac_abs_builddir="$ac_dir";;
1.6628 + .) ac_abs_builddir=`pwd`;;
1.6629 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1.6630 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
1.6633 +case $ac_abs_builddir in
1.6634 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
1.6636 + case ${ac_top_builddir}. in
1.6637 + .) ac_abs_top_builddir=$ac_abs_builddir;;
1.6638 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1.6639 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1.6642 +case $ac_abs_builddir in
1.6643 +.) ac_abs_srcdir=$ac_srcdir;;
1.6646 + .) ac_abs_srcdir=$ac_abs_builddir;;
1.6647 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1.6648 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1.6651 +case $ac_abs_builddir in
1.6652 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
1.6654 + case $ac_top_srcdir in
1.6655 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
1.6656 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1.6657 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1.6663 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.6664 + *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.6667 + # Let's still pretend it is `configure' which instantiates (i.e., don't
1.6668 + # use $as_me), people would be surprised to read:
1.6669 + # /* config.h. Generated by config.status. */
1.6670 + if test x"$ac_file" = x-; then
1.6673 + configure_input="$ac_file. "
1.6675 + configure_input=$configure_input"Generated from `echo $ac_file_in |
1.6676 + sed 's,.*/,,'` by configure."
1.6678 + # First look for the input files in the build tree, otherwise in the
1.6680 + ac_file_inputs=`IFS=:
1.6681 + for f in $ac_file_in; do
1.6683 + -) echo $tmp/stdin ;;
1.6685 + # Absolute (can't be DOS-style, as IFS=:)
1.6686 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.6687 +echo "$as_me: error: cannot find input file: $f" >&2;}
1.6688 + { (exit 1); exit 1; }; }
1.6691 + if test -f "$f"; then
1.6694 + elif test -f "$srcdir/$f"; then
1.6699 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.6700 +echo "$as_me: error: cannot find input file: $f" >&2;}
1.6701 + { (exit 1); exit 1; }; }
1.6704 + done` || { (exit 1); exit 1; }
1.6706 + if test x"$ac_file" != x-; then
1.6707 + { echo "$as_me:$LINENO: creating $ac_file" >&5
1.6708 +echo "$as_me: creating $ac_file" >&6;}
1.6712 +cat >>$CONFIG_STATUS <<_ACEOF
1.6716 +cat >>$CONFIG_STATUS <<\_ACEOF
1.6718 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.6719 +s,@configure_input@,$configure_input,;t t
1.6720 +s,@srcdir@,$ac_srcdir,;t t
1.6721 +s,@abs_srcdir@,$ac_abs_srcdir,;t t
1.6722 +s,@top_srcdir@,$ac_top_srcdir,;t t
1.6723 +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
1.6724 +s,@builddir@,$ac_builddir,;t t
1.6725 +s,@abs_builddir@,$ac_abs_builddir,;t t
1.6726 +s,@top_builddir@,$ac_top_builddir,;t t
1.6727 +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
1.6728 +s,@INSTALL@,$ac_INSTALL,;t t
1.6729 +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
1.6731 + if test x"$ac_file" != x-; then
1.6740 +cat >>$CONFIG_STATUS <<\_ACEOF
1.6743 +# CONFIG_HEADER section.
1.6746 +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1.6747 +# NAME is the cpp macro being defined and VALUE is the value it is being given.
1.6749 +# ac_d sets the value in "#define NAME VALUE" lines.
1.6750 +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1.6754 +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1.6755 +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1.6756 +ac_uB='$,\1#\2define\3'
1.6760 +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.6761 + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.6763 + - | *:- | *:-:* ) # input from stdin
1.6765 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.6766 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.6767 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.6768 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.6769 + * ) ac_file_in=$ac_file.in ;;
1.6772 + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
1.6773 +echo "$as_me: creating $ac_file" >&6;}
1.6775 + # First look for the input files in the build tree, otherwise in the
1.6777 + ac_file_inputs=`IFS=:
1.6778 + for f in $ac_file_in; do
1.6780 + -) echo $tmp/stdin ;;
1.6782 + # Absolute (can't be DOS-style, as IFS=:)
1.6783 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.6784 +echo "$as_me: error: cannot find input file: $f" >&2;}
1.6785 + { (exit 1); exit 1; }; }
1.6786 + # Do quote $f, to prevent DOS paths from being IFS'd.
1.6789 + if test -f "$f"; then
1.6792 + elif test -f "$srcdir/$f"; then
1.6797 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.6798 +echo "$as_me: error: cannot find input file: $f" >&2;}
1.6799 + { (exit 1); exit 1; }; }
1.6802 + done` || { (exit 1); exit 1; }
1.6803 + # Remove the trailing spaces.
1.6804 + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
1.6808 +# Transform confdefs.h into two sed scripts, `conftest.defines' and
1.6809 +# `conftest.undefs', that substitutes the proper values into
1.6810 +# config.h.in to produce config.h. The first handles `#define'
1.6811 +# templates, and the second `#undef' templates.
1.6812 +# And first: Protect against being on the right side of a sed subst in
1.6813 +# config.status. Protect against being in an unquoted here document
1.6815 +rm -f conftest.defines conftest.undefs
1.6816 +# Using a here document instead of a string reduces the quoting nightmare.
1.6817 +# Putting comments in sed scripts is not portable.
1.6819 +# `end' is used to avoid that the second main sed command (meant for
1.6820 +# 0-ary CPP macros) applies to n-ary macro definitions.
1.6821 +# See the Autoconf documentation for `clear'.
1.6822 +cat >confdef2sed.sed <<\_ACEOF
1.6827 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
1.6829 +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
1.6832 +# If some macros were called several times there might be several times
1.6833 +# the same #defines, which is useless. Nevertheless, we may not want to
1.6834 +# sort them, since we want the *last* AC-DEFINE to be honored.
1.6835 +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
1.6836 +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
1.6839 +# This sed command replaces #undef with comments. This is necessary, for
1.6840 +# example, in the case of _POSIX_SOURCE, which is predefined and required
1.6841 +# on some systems where configure will not decide to define it.
1.6842 +cat >>conftest.undefs <<\_ACEOF
1.6843 +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
1.6846 +# Break up conftest.defines because some shells have a limit on the size
1.6847 +# of here documents, and old seds have small limits too (100 cmds).
1.6848 +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
1.6849 +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
1.6850 +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
1.6851 +echo ' :' >>$CONFIG_STATUS
1.6853 +while grep . conftest.defines >/dev/null
1.6855 + # Write a limited-size here document to $tmp/defines.sed.
1.6856 + echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
1.6857 + # Speed up: don't consider the non `#define' lines.
1.6858 + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
1.6859 + # Work around the forget-to-reset-the-flag bug.
1.6860 + echo 't clr' >>$CONFIG_STATUS
1.6861 + echo ': clr' >>$CONFIG_STATUS
1.6862 + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
1.6864 + sed -f $tmp/defines.sed $tmp/in >$tmp/out
1.6868 + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
1.6869 + rm -f conftest.defines
1.6870 + mv conftest.tail conftest.defines
1.6872 +rm -f conftest.defines
1.6873 +echo ' fi # grep' >>$CONFIG_STATUS
1.6876 +# Break up conftest.undefs because some shells have a limit on the size
1.6877 +# of here documents, and old seds have small limits too (100 cmds).
1.6878 +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
1.6880 +while grep . conftest.undefs >/dev/null
1.6882 + # Write a limited-size here document to $tmp/undefs.sed.
1.6883 + echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
1.6884 + # Speed up: don't consider the non `#undef'
1.6885 + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
1.6886 + # Work around the forget-to-reset-the-flag bug.
1.6887 + echo 't clr' >>$CONFIG_STATUS
1.6888 + echo ': clr' >>$CONFIG_STATUS
1.6889 + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.6891 + sed -f $tmp/undefs.sed $tmp/in >$tmp/out
1.6895 + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
1.6896 + rm -f conftest.undefs
1.6897 + mv conftest.tail conftest.undefs
1.6901 +cat >>$CONFIG_STATUS <<\_ACEOF
1.6902 + # Let's still pretend it is `configure' which instantiates (i.e., don't
1.6903 + # use $as_me), people would be surprised to read:
1.6904 + # /* config.h. Generated by config.status. */
1.6905 + if test x"$ac_file" = x-; then
1.6906 + echo "/* Generated by configure. */" >$tmp/config.h
1.6908 + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
1.6910 + cat $tmp/in >>$tmp/config.h
1.6912 + if test x"$ac_file" != x-; then
1.6913 + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
1.6914 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
1.6915 +echo "$as_me: $ac_file is unchanged" >&6;}
1.6917 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
1.6918 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.6919 + X"$ac_file" : 'X\(//\)[^/]' \| \
1.6920 + X"$ac_file" : 'X\(//\)$' \| \
1.6921 + X"$ac_file" : 'X\(/\)' \| \
1.6922 + . : '\(.\)' 2>/dev/null ||
1.6924 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.6925 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.6926 + /^X\(\/\/\)$/{ s//\1/; q; }
1.6927 + /^X\(\/\).*/{ s//\1/; q; }
1.6929 + { if $as_mkdir_p; then
1.6934 + while test ! -d "$as_dir"; do
1.6935 + as_dirs="$as_dir $as_dirs"
1.6936 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
1.6937 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.6938 + X"$as_dir" : 'X\(//\)[^/]' \| \
1.6939 + X"$as_dir" : 'X\(//\)$' \| \
1.6940 + X"$as_dir" : 'X\(/\)' \| \
1.6941 + . : '\(.\)' 2>/dev/null ||
1.6943 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.6944 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.6945 + /^X\(\/\/\)$/{ s//\1/; q; }
1.6946 + /^X\(\/\).*/{ s//\1/; q; }
1.6949 + test ! -n "$as_dirs" || mkdir $as_dirs
1.6950 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
1.6951 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
1.6952 + { (exit 1); exit 1; }; }; }
1.6955 + mv $tmp/config.h $ac_file
1.6961 +# Compute $ac_file's index in $config_headers.
1.6963 +for _am_header in $config_headers :; do
1.6965 + $ac_file | $ac_file:* )
1.6968 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1.6971 +echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
1.6972 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.6973 + X$ac_file : 'X\(//\)[^/]' \| \
1.6974 + X$ac_file : 'X\(//\)$' \| \
1.6975 + X$ac_file : 'X\(/\)' \| \
1.6976 + . : '\(.\)' 2>/dev/null ||
1.6978 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.6979 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.6980 + /^X\(\/\/\)$/{ s//\1/; q; }
1.6981 + /^X\(\/\).*/{ s//\1/; q; }
1.6982 + s/.*/./; q'`/stamp-h$_am_stamp_count
1.6985 +cat >>$CONFIG_STATUS <<\_ACEOF
1.6988 +# CONFIG_COMMANDS section.
1.6990 +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
1.6991 + ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
1.6992 + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.6993 + ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
1.6994 +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.6995 + X"$ac_dest" : 'X\(//\)[^/]' \| \
1.6996 + X"$ac_dest" : 'X\(//\)$' \| \
1.6997 + X"$ac_dest" : 'X\(/\)' \| \
1.6998 + . : '\(.\)' 2>/dev/null ||
1.7000 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.7001 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.7002 + /^X\(\/\/\)$/{ s//\1/; q; }
1.7003 + /^X\(\/\).*/{ s//\1/; q; }
1.7005 + { if $as_mkdir_p; then
1.7010 + while test ! -d "$as_dir"; do
1.7011 + as_dirs="$as_dir $as_dirs"
1.7012 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
1.7013 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.7014 + X"$as_dir" : 'X\(//\)[^/]' \| \
1.7015 + X"$as_dir" : 'X\(//\)$' \| \
1.7016 + X"$as_dir" : 'X\(/\)' \| \
1.7017 + . : '\(.\)' 2>/dev/null ||
1.7019 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.7020 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.7021 + /^X\(\/\/\)$/{ s//\1/; q; }
1.7022 + /^X\(\/\).*/{ s//\1/; q; }
1.7025 + test ! -n "$as_dirs" || mkdir $as_dirs
1.7026 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
1.7027 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
1.7028 + { (exit 1); exit 1; }; }; }
1.7032 +if test "$ac_dir" != .; then
1.7033 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.7034 + # A "../" for each directory in $ac_dir_suffix.
1.7035 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1.7037 + ac_dir_suffix= ac_top_builddir=
1.7041 + .) # No --srcdir option. We are building in place.
1.7043 + if test -z "$ac_top_builddir"; then
1.7046 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1.7048 + [\\/]* | ?:[\\/]* ) # Absolute path.
1.7049 + ac_srcdir=$srcdir$ac_dir_suffix;
1.7050 + ac_top_srcdir=$srcdir ;;
1.7052 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1.7053 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
1.7056 +# Do not use `cd foo && pwd` to compute absolute paths, because
1.7057 +# the directories may not exist.
1.7059 +.) ac_abs_builddir="$ac_dir";;
1.7062 + .) ac_abs_builddir=`pwd`;;
1.7063 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1.7064 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
1.7067 +case $ac_abs_builddir in
1.7068 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
1.7070 + case ${ac_top_builddir}. in
1.7071 + .) ac_abs_top_builddir=$ac_abs_builddir;;
1.7072 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1.7073 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1.7076 +case $ac_abs_builddir in
1.7077 +.) ac_abs_srcdir=$ac_srcdir;;
1.7080 + .) ac_abs_srcdir=$ac_abs_builddir;;
1.7081 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1.7082 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1.7085 +case $ac_abs_builddir in
1.7086 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
1.7088 + case $ac_top_srcdir in
1.7089 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
1.7090 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1.7091 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1.7096 + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
1.7097 +echo "$as_me: executing $ac_dest commands" >&6;}
1.7099 + depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
1.7100 + # Strip MF so we end up with the name of the file.
1.7101 + mf=`echo "$mf" | sed -e 's/:.*$//'`
1.7102 + # Check whether this is an Automake generated Makefile or not.
1.7103 + # We used to match only the files named `Makefile.in', but
1.7104 + # some people rename them; so instead we look at the file content.
1.7105 + # Grep'ing the first line is not enough: some people post-process
1.7106 + # each Makefile.in and add a new line on top of each file to say so.
1.7107 + # So let's grep whole file.
1.7108 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
1.7109 + dirpart=`(dirname "$mf") 2>/dev/null ||
1.7110 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.7111 + X"$mf" : 'X\(//\)[^/]' \| \
1.7112 + X"$mf" : 'X\(//\)$' \| \
1.7113 + X"$mf" : 'X\(/\)' \| \
1.7114 + . : '\(.\)' 2>/dev/null ||
1.7116 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.7117 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.7118 + /^X\(\/\/\)$/{ s//\1/; q; }
1.7119 + /^X\(\/\).*/{ s//\1/; q; }
1.7124 + grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
1.7125 + # Extract the definition of DEP_FILES from the Makefile without
1.7127 + DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
1.7128 + test -z "$DEPDIR" && continue
1.7129 + # When using ansi2knr, U may be empty or an underscore; expand it
1.7130 + U=`sed -n -e '/^U = / s///p' < "$mf"`
1.7131 + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
1.7132 + # We invoke sed twice because it is the simplest approach to
1.7133 + # changing $(DEPDIR) to its actual value in the expansion.
1.7134 + for file in `sed -n -e '
1.7135 + /^DEP_FILES = .*\\\\$/ {
1.7144 + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
1.7145 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1.7146 + # Make sure the directory exists.
1.7147 + test -f "$dirpart/$file" && continue
1.7148 + fdir=`(dirname "$file") 2>/dev/null ||
1.7149 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.7150 + X"$file" : 'X\(//\)[^/]' \| \
1.7151 + X"$file" : 'X\(//\)$' \| \
1.7152 + X"$file" : 'X\(/\)' \| \
1.7153 + . : '\(.\)' 2>/dev/null ||
1.7155 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.7156 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.7157 + /^X\(\/\/\)$/{ s//\1/; q; }
1.7158 + /^X\(\/\).*/{ s//\1/; q; }
1.7160 + { if $as_mkdir_p; then
1.7161 + mkdir -p $dirpart/$fdir
1.7163 + as_dir=$dirpart/$fdir
1.7165 + while test ! -d "$as_dir"; do
1.7166 + as_dirs="$as_dir $as_dirs"
1.7167 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
1.7168 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.7169 + X"$as_dir" : 'X\(//\)[^/]' \| \
1.7170 + X"$as_dir" : 'X\(//\)$' \| \
1.7171 + X"$as_dir" : 'X\(/\)' \| \
1.7172 + . : '\(.\)' 2>/dev/null ||
1.7174 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1.7175 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1.7176 + /^X\(\/\/\)$/{ s//\1/; q; }
1.7177 + /^X\(\/\).*/{ s//\1/; q; }
1.7180 + test ! -n "$as_dirs" || mkdir $as_dirs
1.7181 + fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
1.7182 +echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
1.7183 + { (exit 1); exit 1; }; }; }
1.7185 + # echo "creating $dirpart/$file"
1.7186 + echo '# dummy' > "$dirpart/$file"
1.7190 + default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
1.7191 + sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
1.7197 +cat >>$CONFIG_STATUS <<\_ACEOF
1.7201 +chmod +x $CONFIG_STATUS
1.7202 +ac_clean_files=$ac_clean_files_save
1.7205 +# configure is writing to config.log, and then calls config.status.
1.7206 +# config.status does its own redirection, appending to config.log.
1.7207 +# Unfortunately, on DOS this fails, as config.log is still kept open
1.7208 +# by configure, so config.status won't be able to write to it; its
1.7209 +# output is simply discarded. So we exec the FD to /dev/null,
1.7210 +# effectively closing config.log, so it can be properly (re)opened and
1.7211 +# appended to by config.status. When coming back to configure, we
1.7212 +# need to make the FD available again.
1.7213 +if test "$no_create" != yes; then
1.7215 + ac_config_status_args=
1.7216 + test "$silent" = yes &&
1.7217 + ac_config_status_args="$ac_config_status_args --quiet"
1.7219 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.7221 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
1.7222 + # would make configure fail if this is the last instruction.
1.7223 + $ac_cs_success || { (exit 1); exit 1; }