Search
lxdream.org :: lxdream/configure :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 1:eea311cfd33e
next10:c898b37506e0
author nkeynes
date Sat Mar 13 00:03:32 2004 +0000 (16 years ago)
permissions -rw-r--r--
last change This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.
file annotate diff log raw
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/configure Sat Mar 13 00:03:32 2004 +0000
1.3 @@ -0,0 +1,7223 @@
1.4 +#! /bin/sh
1.5 +# Guess values for system-dependent variables and create Makefiles.
1.6 +# Generated by GNU Autoconf 2.59.
1.7 +#
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.14 +
1.15 +# Be Bourne compatible
1.16 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1.17 + emulate sh
1.18 + NULLCMD=:
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.23 + set -o posix
1.24 +fi
1.25 +DUALCASE=1; export DUALCASE # for MKS sh
1.26 +
1.27 +# Support unset when possible.
1.28 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.29 + as_unset=unset
1.30 +else
1.31 + as_unset=false
1.32 +fi
1.33 +
1.34 +
1.35 +# Work around bugs in pre-3.0 UWIN ksh.
1.36 +$as_unset ENV MAIL MAILPATH
1.37 +PS1='$ '
1.38 +PS2='> '
1.39 +PS4='+ '
1.40 +
1.41 +# NLS nuisances.
1.42 +for as_var in \
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.46 +do
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.49 + else
1.50 + $as_unset $as_var
1.51 + fi
1.52 +done
1.53 +
1.54 +# Required to use basename.
1.55 +if expr a : '\(a\)' >/dev/null 2>&1; then
1.56 + as_expr=expr
1.57 +else
1.58 + as_expr=false
1.59 +fi
1.60 +
1.61 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1.62 + as_basename=basename
1.63 +else
1.64 + as_basename=false
1.65 +fi
1.66 +
1.67 +
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.74 +echo X/"$0" |
1.75 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1.76 + /^X\/\(\/\/\)$/{ s//\1/; q; }
1.77 + /^X\/\(\/\).*/{ s//\1/; q; }
1.78 + s/.*/./; q'`
1.79 +
1.80 +
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.88 +
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.96 + else
1.97 + PATH_SEPARATOR=:
1.98 + fi
1.99 + rm -f conf$$.sh
1.100 +fi
1.101 +
1.102 +
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.110 + case $0 in
1.111 + *[\\/]* ) as_myself=$0 ;;
1.112 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.113 +for as_dir in $PATH
1.114 +do
1.115 + IFS=$as_save_IFS
1.116 + test -z "$as_dir" && as_dir=.
1.117 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1.118 +done
1.119 +
1.120 + ;;
1.121 + esac
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.125 + as_myself=$0
1.126 + fi
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.130 + fi
1.131 + case $CONFIG_SHELL in
1.132 + '')
1.133 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.134 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.135 +do
1.136 + IFS=$as_save_IFS
1.137 + test -z "$as_dir" && as_dir=.
1.138 + for as_base in sh bash ksh sh5; do
1.139 + case $as_dir in
1.140 + /*)
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.152 + fi;;
1.153 + esac
1.154 + done
1.155 +done
1.156 +;;
1.157 + esac
1.158 +
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.168 + sed '
1.169 + N
1.170 + s,$,-,
1.171 + : loop
1.172 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1.173 + t loop
1.174 + s,-$,,
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.180 +
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.186 + exit
1.187 +}
1.188 +
1.189 +
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.192 +' ECHO_T=' ' ;;
1.193 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1.194 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1.195 +esac
1.196 +
1.197 +if expr a : '\(a\)' >/dev/null 2>&1; then
1.198 + as_expr=expr
1.199 +else
1.200 + as_expr=false
1.201 +fi
1.202 +
1.203 +rm -f conf$$ conf$$.exe conf$$.file
1.204 +echo >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.210 + as_ln_s='cp -p'
1.211 + else
1.212 + as_ln_s='ln -s'
1.213 + fi
1.214 +elif ln conf$$.file conf$$ 2>/dev/null; then
1.215 + as_ln_s=ln
1.216 +else
1.217 + as_ln_s='cp -p'
1.218 +fi
1.219 +rm -f conf$$ conf$$.exe conf$$.file
1.220 +
1.221 +if mkdir -p . 2>/dev/null; then
1.222 + as_mkdir_p=:
1.223 +else
1.224 + test -d ./-p && rmdir ./-p
1.225 + as_mkdir_p=false
1.226 +fi
1.227 +
1.228 +as_executable_p="test -f"
1.229 +
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.232 +
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.235 +
1.236 +
1.237 +# IFS
1.238 +# We need space, tab and new line, in precisely that order.
1.239 +as_nl='
1.240 +'
1.241 +IFS=" $as_nl"
1.242 +
1.243 +# CDPATH.
1.244 +$as_unset CDPATH
1.245 +
1.246 +
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.251 +
1.252 +exec 6>&1
1.253 +
1.254 +#
1.255 +# Initializations.
1.256 +#
1.257 +ac_default_prefix=/usr/local
1.258 +ac_config_libobj_dir=.
1.259 +cross_compiling=no
1.260 +subdirs=
1.261 +MFLAGS=
1.262 +MAKEFLAGS=
1.263 +SHELL=${CONFIG_SHELL-/bin/sh}
1.264 +
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.269 +
1.270 +# Identity of this package.
1.271 +PACKAGE_NAME=
1.272 +PACKAGE_TARNAME=
1.273 +PACKAGE_VERSION=
1.274 +PACKAGE_STRING=
1.275 +PACKAGE_BUGREPORT=
1.276 +
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.283 +#endif
1.284 +#if HAVE_SYS_STAT_H
1.285 +# include <sys/stat.h>
1.286 +#endif
1.287 +#if STDC_HEADERS
1.288 +# include <stdlib.h>
1.289 +# include <stddef.h>
1.290 +#else
1.291 +# if HAVE_STDLIB_H
1.292 +# include <stdlib.h>
1.293 +# endif
1.294 +#endif
1.295 +#if HAVE_STRING_H
1.296 +# if !STDC_HEADERS && HAVE_MEMORY_H
1.297 +# include <memory.h>
1.298 +# endif
1.299 +# include <string.h>
1.300 +#endif
1.301 +#if HAVE_STRINGS_H
1.302 +# include <strings.h>
1.303 +#endif
1.304 +#if HAVE_INTTYPES_H
1.305 +# include <inttypes.h>
1.306 +#else
1.307 +# if HAVE_STDINT_H
1.308 +# include <stdint.h>
1.309 +# endif
1.310 +#endif
1.311 +#if HAVE_UNISTD_H
1.312 +# include <unistd.h>
1.313 +#endif"
1.314 +
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.316 +ac_subst_files=''
1.317 +
1.318 +# Initialize some variables set by options.
1.319 +ac_init_help=
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.324 +exec_prefix=NONE
1.325 +no_create=
1.326 +no_recursion=
1.327 +prefix=NONE
1.328 +program_prefix=NONE
1.329 +program_suffix=NONE
1.330 +program_transform_name=s,x,x,
1.331 +silent=
1.332 +site=
1.333 +srcdir=
1.334 +verbose=
1.335 +x_includes=NONE
1.336 +x_libraries=NONE
1.337 +
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.355 +
1.356 +ac_prev=
1.357 +for ac_option
1.358 +do
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.362 + ac_prev=
1.363 + continue
1.364 + fi
1.365 +
1.366 + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.367 +
1.368 + # Accept the important Cygnus configure options, so we can diagnose typos.
1.369 +
1.370 + case $ac_option in
1.371 +
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.376 +
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.381 +
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.388 +
1.389 + --config-cache | -C)
1.390 + cache_file=config.cache ;;
1.391 +
1.392 + -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1.393 + ac_prev=datadir ;;
1.394 + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1.395 + | --da=*)
1.396 + datadir=$ac_optarg ;;
1.397 +
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.406 +
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.417 + esac
1.418 + eval "enable_$ac_feature='$ac_optarg'" ;;
1.419 +
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.428 +
1.429 + -gas | --gas | --ga | --g)
1.430 + # Obsolete; use --with-gas.
1.431 + with_gas=yes ;;
1.432 +
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.439 +
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.444 +
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.451 +
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.456 +
1.457 + -libdir | --libdir | --libdi | --libd)
1.458 + ac_prev=libdir ;;
1.459 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.460 + libdir=$ac_optarg ;;
1.461 +
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.468 +
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.477 +
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.482 +
1.483 + -nfp | --nfp | --nf)
1.484 + # Obsolete; use --without-fp.
1.485 + with_fp=no ;;
1.486 +
1.487 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.488 + | --no-cr | --no-c | -n)
1.489 + no_create=yes ;;
1.490 +
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.494 +
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.503 +
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.508 +
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.515 +
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.522 +
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.539 +
1.540 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1.541 + | -silent | --silent | --silen | --sile | --sil)
1.542 + silent=yes ;;
1.543 +
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.549 +
1.550 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
1.551 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1.552 + | --sharedst | --shareds | --shared | --share | --shar \
1.553 + | --sha | --sh)
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.560 +
1.561 + -site | --site | --sit)
1.562 + ac_prev=site ;;
1.563 + -site=* | --site=* | --sit=*)
1.564 + site=$ac_optarg ;;
1.565 +
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.570 +
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.577 +
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.582 +
1.583 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
1.584 + verbose=yes ;;
1.585 +
1.586 + -version | --version | --versio | --versi | --vers | -V)
1.587 + ac_init_version=: ;;
1.588 +
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.599 + esac
1.600 + eval "with_$ac_package='$ac_optarg'" ;;
1.601 +
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.610 +
1.611 + --x)
1.612 + # Obsolete; use --with-x.
1.613 + with_x=yes ;;
1.614 +
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.621 +
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.628 +
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.632 + ;;
1.633 +
1.634 + *=*)
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.643 +
1.644 + *)
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.650 + ;;
1.651 +
1.652 + esac
1.653 +done
1.654 +
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.659 +fi
1.660 +
1.661 +# Be sure to have absolute paths.
1.662 +for ac_var in exec_prefix prefix
1.663 +do
1.664 + eval ac_val=$`echo $ac_var`
1.665 + case $ac_val in
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.669 + esac
1.670 +done
1.671 +
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.675 +do
1.676 + eval ac_val=$`echo $ac_var`
1.677 + case $ac_val in
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.681 + esac
1.682 +done
1.683 +
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.688 +host=$host_alias
1.689 +target=$target_alias
1.690 +
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.699 + fi
1.700 +fi
1.701 +
1.702 +ac_tool_prefix=
1.703 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.704 +
1.705 +test "$silent" = yes && exec 6>/dev/null
1.706 +
1.707 +
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.718 +echo X"$0" |
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.723 + s/.*/./; q'`
1.724 + srcdir=$ac_confdir
1.725 + if test ! -r $srcdir/$ac_unique_file; then
1.726 + srcdir=..
1.727 + fi
1.728 +else
1.729 + ac_srcdir_defaulted=no
1.730 +fi
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.735 + else
1.736 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1.737 + { (exit 1); exit 1; }; }
1.738 + fi
1.739 +fi
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.776 +
1.777 +#
1.778 +# Report the --help message.
1.779 +#
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.783 + cat <<_ACEOF
1.784 +\`configure' configures this package to adapt to many kinds of systems.
1.785 +
1.786 +Usage: $0 [OPTION]... [VAR=VALUE]...
1.787 +
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.790 +
1.791 +Defaults for the options are specified in brackets.
1.792 +
1.793 +Configuration:
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.803 +
1.804 +_ACEOF
1.805 +
1.806 + cat <<_ACEOF
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.811 + [PREFIX]
1.812 +
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.817 +
1.818 +For better control, use the options below.
1.819 +
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.833 +_ACEOF
1.834 +
1.835 + cat <<\_ACEOF
1.836 +
1.837 +Program names:
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.841 +_ACEOF
1.842 +fi
1.843 +
1.844 +if test -n "$ac_init_help"; then
1.845 +
1.846 + cat <<\_ACEOF
1.847 +
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.855 +
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.864 +
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.867 +
1.868 +_ACEOF
1.869 +fi
1.870 +
1.871 +if test "$ac_init_help" = "recursive"; then
1.872 + # If there are subdirs, report their specific --help.
1.873 + ac_popdir=`pwd`
1.874 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.875 + test -d $ac_dir || continue
1.876 + ac_builddir=.
1.877 +
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.882 +else
1.883 + ac_dir_suffix= ac_top_builddir=
1.884 +fi
1.885 +
1.886 +case $srcdir in
1.887 + .) # No --srcdir option. We are building in place.
1.888 + ac_srcdir=.
1.889 + if test -z "$ac_top_builddir"; then
1.890 + ac_top_srcdir=.
1.891 + else
1.892 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1.893 + fi ;;
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.900 +esac
1.901 +
1.902 +# Do not use `cd foo && pwd` to compute absolute paths, because
1.903 +# the directories may not exist.
1.904 +case `pwd` in
1.905 +.) ac_abs_builddir="$ac_dir";;
1.906 +*)
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.911 + esac;;
1.912 +esac
1.913 +case $ac_abs_builddir in
1.914 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
1.915 +*)
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.920 + esac;;
1.921 +esac
1.922 +case $ac_abs_builddir in
1.923 +.) ac_abs_srcdir=$ac_srcdir;;
1.924 +*)
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.929 + esac;;
1.930 +esac
1.931 +case $ac_abs_builddir in
1.932 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
1.933 +*)
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.938 + esac;;
1.939 +esac
1.940 +
1.941 + cd $ac_dir
1.942 + # Check for guested configure; otherwise get Cygnus style configure.
1.943 + if test -f $ac_srcdir/configure.gnu; then
1.944 + echo
1.945 + $SHELL $ac_srcdir/configure.gnu --help=recursive
1.946 + elif test -f $ac_srcdir/configure; then
1.947 + echo
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.951 + echo
1.952 + $ac_configure --help
1.953 + else
1.954 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.955 + fi
1.956 + cd "$ac_popdir"
1.957 + done
1.958 +fi
1.959 +
1.960 +test -n "$ac_init_help" && exit 0
1.961 +if $ac_init_version; then
1.962 + cat <<\_ACEOF
1.963 +
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.967 +_ACEOF
1.968 + exit 0
1.969 +fi
1.970 +exec 5>config.log
1.971 +cat >&5 <<_ACEOF
1.972 +This file contains any messages produced by compilers while
1.973 +running configure, to aid debugging if configure makes a mistake.
1.974 +
1.975 +It was created by $as_me, which was
1.976 +generated by GNU Autoconf 2.59. Invocation command line was
1.977 +
1.978 + $ $0 $@
1.979 +
1.980 +_ACEOF
1.981 +{
1.982 +cat <<_ASUNAME
1.983 +## --------- ##
1.984 +## Platform. ##
1.985 +## --------- ##
1.986 +
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.992 +
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.995 +
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.1003 +
1.1004 +_ASUNAME
1.1005 +
1.1006 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1007 +for as_dir in $PATH
1.1008 +do
1.1009 + IFS=$as_save_IFS
1.1010 + test -z "$as_dir" && as_dir=.
1.1011 + echo "PATH: $as_dir"
1.1012 +done
1.1013 +
1.1014 +} >&5
1.1015 +
1.1016 +cat >&5 <<_ACEOF
1.1017 +
1.1018 +
1.1019 +## ----------- ##
1.1020 +## Core tests. ##
1.1021 +## ----------- ##
1.1022 +
1.1023 +_ACEOF
1.1024 +
1.1025 +
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.1031 +ac_configure_args=
1.1032 +ac_configure_args0=
1.1033 +ac_configure_args1=
1.1034 +ac_sep=
1.1035 +ac_must_keep_next=false
1.1036 +for ac_pass in 1 2
1.1037 +do
1.1038 + for ac_arg
1.1039 + do
1.1040 + case $ac_arg in
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.1044 + continue ;;
1.1045 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1.1046 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1047 + esac
1.1048 + case $ac_pass in
1.1049 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1.1050 + 2)
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.1054 + else
1.1055 + case $ac_arg in
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.1062 + esac
1.1063 + ;;
1.1064 + -* ) ac_must_keep_next=true ;;
1.1065 + esac
1.1066 + fi
1.1067 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1.1068 + # Get rid of the leading space.
1.1069 + ac_sep=" "
1.1070 + ;;
1.1071 + esac
1.1072 + done
1.1073 +done
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.1076 +
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.1082 +trap 'exit_status=$?
1.1083 + # Save into config.log some information that might help in debugging.
1.1084 + {
1.1085 + echo
1.1086 +
1.1087 + cat <<\_ASBOX
1.1088 +## ---------------- ##
1.1089 +## Cache variables. ##
1.1090 +## ---------------- ##
1.1091 +_ASBOX
1.1092 + echo
1.1093 + # The following way of writing the cache mishandles newlines in values,
1.1094 +{
1.1095 + (set) 2>&1 |
1.1096 + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1.1097 + *ac_space=\ *)
1.1098 + sed -n \
1.1099 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1.1100 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1.1101 + ;;
1.1102 + *)
1.1103 + sed -n \
1.1104 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.1105 + ;;
1.1106 + esac;
1.1107 +}
1.1108 + echo
1.1109 +
1.1110 + cat <<\_ASBOX
1.1111 +## ----------------- ##
1.1112 +## Output variables. ##
1.1113 +## ----------------- ##
1.1114 +_ASBOX
1.1115 + echo
1.1116 + for ac_var in $ac_subst_vars
1.1117 + do
1.1118 + eval ac_val=$`echo $ac_var`
1.1119 + echo "$ac_var='"'"'$ac_val'"'"'"
1.1120 + done | sort
1.1121 + echo
1.1122 +
1.1123 + if test -n "$ac_subst_files"; then
1.1124 + cat <<\_ASBOX
1.1125 +## ------------- ##
1.1126 +## Output files. ##
1.1127 +## ------------- ##
1.1128 +_ASBOX
1.1129 + echo
1.1130 + for ac_var in $ac_subst_files
1.1131 + do
1.1132 + eval ac_val=$`echo $ac_var`
1.1133 + echo "$ac_var='"'"'$ac_val'"'"'"
1.1134 + done | sort
1.1135 + echo
1.1136 + fi
1.1137 +
1.1138 + if test -s confdefs.h; then
1.1139 + cat <<\_ASBOX
1.1140 +## ----------- ##
1.1141 +## confdefs.h. ##
1.1142 +## ----------- ##
1.1143 +_ASBOX
1.1144 + echo
1.1145 + sed "/^$/d" confdefs.h | sort
1.1146 + echo
1.1147 + fi
1.1148 + test "$ac_signal" != 0 &&
1.1149 + echo "$as_me: caught signal $ac_signal"
1.1150 + echo "$as_me: exit $exit_status"
1.1151 + } >&5
1.1152 + rm -f core *.core &&
1.1153 + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1.1154 + exit $exit_status
1.1155 + ' 0
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.1158 +done
1.1159 +ac_signal=0
1.1160 +
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.1164 +echo >confdefs.h
1.1165 +
1.1166 +# Predefined preprocessor variables.
1.1167 +
1.1168 +cat >>confdefs.h <<_ACEOF
1.1169 +#define PACKAGE_NAME "$PACKAGE_NAME"
1.1170 +_ACEOF
1.1171 +
1.1172 +
1.1173 +cat >>confdefs.h <<_ACEOF
1.1174 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1.1175 +_ACEOF
1.1176 +
1.1177 +
1.1178 +cat >>confdefs.h <<_ACEOF
1.1179 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
1.1180 +_ACEOF
1.1181 +
1.1182 +
1.1183 +cat >>confdefs.h <<_ACEOF
1.1184 +#define PACKAGE_STRING "$PACKAGE_STRING"
1.1185 +_ACEOF
1.1186 +
1.1187 +
1.1188 +cat >>confdefs.h <<_ACEOF
1.1189 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1.1190 +_ACEOF
1.1191 +
1.1192 +
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.1198 + else
1.1199 + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1.1200 + fi
1.1201 +fi
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.1207 + . "$ac_site_file"
1.1208 + fi
1.1209 +done
1.1210 +
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.1217 + case $cache_file in
1.1218 + [\\/]* | ?:[\\/]* ) . $cache_file;;
1.1219 + *) . ./$cache_file;;
1.1220 + esac
1.1221 + fi
1.1222 +else
1.1223 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1.1224 +echo "$as_me: creating cache $cache_file" >&6;}
1.1225 + >$cache_file
1.1226 +fi
1.1227 +
1.1228 +# Check that the precious variables saved in the cache have kept the same
1.1229 +# value.
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.1238 + set,)
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.1242 + ,set)
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.1246 + ,);;
1.1247 + *)
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.1255 + ac_cache_corrupted=:
1.1256 + fi;;
1.1257 + esac
1.1258 + # Pass precious variables to config.status.
1.1259 + if test "$ac_new_set" = set; then
1.1260 + case $ac_new_val in
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.1264 + esac
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.1268 + esac
1.1269 + fi
1.1270 +done
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.1277 +fi
1.1278 +
1.1279 +ac_ext=c
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.1284 +
1.1285 +
1.1286 +
1.1287 +
1.1288 +
1.1289 +
1.1290 +
1.1291 +
1.1292 +
1.1293 +
1.1294 +
1.1295 +
1.1296 +
1.1297 +
1.1298 +
1.1299 +
1.1300 +
1.1301 +
1.1302 +
1.1303 +am__api_version="1.7"
1.1304 +ac_aux_dir=
1.1305 +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1.1306 + if test -f $ac_dir/install-sh; then
1.1307 + ac_aux_dir=$ac_dir
1.1308 + ac_install_sh="$ac_aux_dir/install-sh -c"
1.1309 + break
1.1310 + elif test -f $ac_dir/install.sh; then
1.1311 + ac_aux_dir=$ac_dir
1.1312 + ac_install_sh="$ac_aux_dir/install.sh -c"
1.1313 + break
1.1314 + elif test -f $ac_dir/shtool; then
1.1315 + ac_aux_dir=$ac_dir
1.1316 + ac_install_sh="$ac_aux_dir/shtool install -c"
1.1317 + break
1.1318 + fi
1.1319 +done
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.1324 +fi
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.1328 +
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.1334 +# IRIX /sbin/install
1.1335 +# AIX /bin/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.1347 +else
1.1348 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1349 +for as_dir in $PATH
1.1350 +do
1.1351 + IFS=$as_save_IFS
1.1352 + test -z "$as_dir" && as_dir=.
1.1353 + # Account for people who put trailing slashes in PATH elements.
1.1354 +case $as_dir/ in
1.1355 + ./ | .// | /cC/* | \
1.1356 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.1357 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.1358 + /usr/ucb/* ) ;;
1.1359 + *)
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.1362 + # by default.
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.1369 + :
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.1373 + :
1.1374 + else
1.1375 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1.1376 + break 3
1.1377 + fi
1.1378 + fi
1.1379 + done
1.1380 + done
1.1381 + ;;
1.1382 +esac
1.1383 +done
1.1384 +
1.1385 +
1.1386 +fi
1.1387 + if test "${ac_cv_path_install+set}" = set; then
1.1388 + INSTALL=$ac_cv_path_install
1.1389 + else
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.1395 + fi
1.1396 +fi
1.1397 +echo "$as_me:$LINENO: result: $INSTALL" >&5
1.1398 +echo "${ECHO_T}$INSTALL" >&6
1.1399 +
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.1403 +
1.1404 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1405 +
1.1406 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1.1407 +
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.1410 +# Just in case
1.1411 +sleep 1
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.1417 +# directory).
1.1418 +if (
1.1419 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1420 + if test "$*" = "X"; then
1.1421 + # -L didn't work.
1.1422 + set X `ls -t $srcdir/configure conftest.file`
1.1423 + fi
1.1424 + rm -f conftest.file
1.1425 + if test "$*" != "X $srcdir/configure conftest.file" \
1.1426 + && test "$*" != "X conftest.file $srcdir/configure"; then
1.1427 +
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.1437 + fi
1.1438 +
1.1439 + test "$2" = conftest.file
1.1440 + )
1.1441 +then
1.1442 + # Ok.
1.1443 + :
1.1444 +else
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.1450 +fi
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.1462 +_ACEOF
1.1463 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1.1464 +rm conftest.sed
1.1465 +
1.1466 +
1.1467 +# expand $ac_aux_dir to an absolute path
1.1468 +am_aux_dir=`cd $ac_aux_dir && pwd`
1.1469 +
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.1474 +else
1.1475 + am_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.1478 +fi
1.1479 +
1.1480 +for ac_prog in gawk mawk nawk awk
1.1481 +do
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.1488 +else
1.1489 + if test -n "$AWK"; then
1.1490 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
1.1491 +else
1.1492 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1493 +for as_dir in $PATH
1.1494 +do
1.1495 + IFS=$as_save_IFS
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.1501 + break 2
1.1502 + fi
1.1503 +done
1.1504 +done
1.1505 +
1.1506 +fi
1.1507 +fi
1.1508 +AWK=$ac_cv_prog_AWK
1.1509 +if test -n "$AWK"; then
1.1510 + echo "$as_me:$LINENO: result: $AWK" >&5
1.1511 +echo "${ECHO_T}$AWK" >&6
1.1512 +else
1.1513 + echo "$as_me:$LINENO: result: no" >&5
1.1514 +echo "${ECHO_T}no" >&6
1.1515 +fi
1.1516 +
1.1517 + test -n "$AWK" && break
1.1518 +done
1.1519 +
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.1525 +else
1.1526 + cat >conftest.make <<\_ACEOF
1.1527 +all:
1.1528 + @echo 'ac_maketemp="$(MAKE)"'
1.1529 +_ACEOF
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.1534 +else
1.1535 + eval ac_cv_prog_make_${ac_make}_set=no
1.1536 +fi
1.1537 +rm -f conftest.make
1.1538 +fi
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.1542 + SET_MAKE=
1.1543 +else
1.1544 + echo "$as_me:$LINENO: result: no" >&5
1.1545 +echo "${ECHO_T}no" >&6
1.1546 + SET_MAKE="MAKE=${MAKE-make}"
1.1547 +fi
1.1548 +
1.1549 +rm -rf .tst 2>/dev/null
1.1550 +mkdir .tst 2>/dev/null
1.1551 +if test -d .tst; then
1.1552 + am__leading_dot=.
1.1553 +else
1.1554 + am__leading_dot=_
1.1555 +fi
1.1556 +rmdir .tst 2>/dev/null
1.1557 +
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.1564 +fi
1.1565 +
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.1570 + else
1.1571 + CYGPATH_W=echo
1.1572 + fi
1.1573 +fi
1.1574 +
1.1575 +
1.1576 +# Define the identity of the package.
1.1577 + PACKAGE=dream
1.1578 + VERSION=0.1
1.1579 +
1.1580 +
1.1581 +cat >>confdefs.h <<_ACEOF
1.1582 +#define PACKAGE "$PACKAGE"
1.1583 +_ACEOF
1.1584 +
1.1585 +
1.1586 +cat >>confdefs.h <<_ACEOF
1.1587 +#define VERSION "$VERSION"
1.1588 +_ACEOF
1.1589 +
1.1590 +# Some tools Automake needs.
1.1591 +
1.1592 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1.1593 +
1.1594 +
1.1595 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1.1596 +
1.1597 +
1.1598 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1.1599 +
1.1600 +
1.1601 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1.1602 +
1.1603 +
1.1604 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1605 +
1.1606 +
1.1607 +AMTAR=${AMTAR-"${am_missing_run}tar"}
1.1608 +
1.1609 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1610 +
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.1623 +else
1.1624 + if test -n "$STRIP"; then
1.1625 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.1626 +else
1.1627 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1628 +for as_dir in $PATH
1.1629 +do
1.1630 + IFS=$as_save_IFS
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.1636 + break 2
1.1637 + fi
1.1638 +done
1.1639 +done
1.1640 +
1.1641 +fi
1.1642 +fi
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.1647 +else
1.1648 + echo "$as_me:$LINENO: result: no" >&5
1.1649 +echo "${ECHO_T}no" >&6
1.1650 +fi
1.1651 +
1.1652 +fi
1.1653 +if test -z "$ac_cv_prog_STRIP"; then
1.1654 + ac_ct_STRIP=$STRIP
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.1661 +else
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.1664 +else
1.1665 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1666 +for as_dir in $PATH
1.1667 +do
1.1668 + IFS=$as_save_IFS
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.1674 + break 2
1.1675 + fi
1.1676 +done
1.1677 +done
1.1678 +
1.1679 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1.1680 +fi
1.1681 +fi
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.1686 +else
1.1687 + echo "$as_me:$LINENO: result: no" >&5
1.1688 +echo "${ECHO_T}no" >&6
1.1689 +fi
1.1690 +
1.1691 + STRIP=$ac_ct_STRIP
1.1692 +else
1.1693 + STRIP="$ac_cv_prog_STRIP"
1.1694 +fi
1.1695 +
1.1696 +fi
1.1697 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1.1698 +
1.1699 +# We need awk for the "check" target. The system "awk" is bad on
1.1700 +# some platforms.
1.1701 +
1.1702 +
1.1703 +
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.1710 +else
1.1711 + USE_MAINTAINER_MODE=no
1.1712 +fi;
1.1713 + echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1.1714 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1.1715 +
1.1716 +
1.1717 +if test $USE_MAINTAINER_MODE = yes; then
1.1718 + MAINTAINER_MODE_TRUE=
1.1719 + MAINTAINER_MODE_FALSE='#'
1.1720 +else
1.1721 + MAINTAINER_MODE_TRUE='#'
1.1722 + MAINTAINER_MODE_FALSE=
1.1723 +fi
1.1724 +
1.1725 + MAINT=$MAINTAINER_MODE_TRUE
1.1726 +
1.1727 +
1.1728 + ac_config_headers="$ac_config_headers config.h"
1.1729 +
1.1730 +
1.1731 +DEPDIR="${am__leading_dot}deps"
1.1732 +
1.1733 + ac_config_commands="$ac_config_commands depfiles"
1.1734 +
1.1735 +
1.1736 +am_make=${MAKE-make}
1.1737 +cat > confinc << 'END'
1.1738 +am__doit:
1.1739 + @echo done
1.1740 +.PHONY: am__doit
1.1741 +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.1745 +am__include="#"
1.1746 +am__quote=
1.1747 +_am_result=none
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.1756 + am__include=include
1.1757 + am__quote=
1.1758 + _am_result=GNU
1.1759 +fi
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.1764 + am__include=.include
1.1765 + am__quote="\""
1.1766 + _am_result=BSD
1.1767 + fi
1.1768 +fi
1.1769 +
1.1770 +
1.1771 +echo "$as_me:$LINENO: result: $_am_result" >&5
1.1772 +echo "${ECHO_T}$_am_result" >&6
1.1773 +rm -f confinc confmf
1.1774 +
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.1778 +
1.1779 +fi;
1.1780 +if test "x$enable_dependency_tracking" != xno; then
1.1781 + am_depcomp="$ac_aux_dir/depcomp"
1.1782 + AMDEPBACKSLASH='\'
1.1783 +fi
1.1784 +
1.1785 +
1.1786 +if test "x$enable_dependency_tracking" != xno; then
1.1787 + AMDEP_TRUE=
1.1788 + AMDEP_FALSE='#'
1.1789 +else
1.1790 + AMDEP_TRUE='#'
1.1791 + AMDEP_FALSE=
1.1792 +fi
1.1793 +
1.1794 +
1.1795 +
1.1796 +ac_ext=c
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.1808 +else
1.1809 + if test -n "$CC"; then
1.1810 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.1811 +else
1.1812 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1813 +for as_dir in $PATH
1.1814 +do
1.1815 + IFS=$as_save_IFS
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.1821 + break 2
1.1822 + fi
1.1823 +done
1.1824 +done
1.1825 +
1.1826 +fi
1.1827 +fi
1.1828 +CC=$ac_cv_prog_CC
1.1829 +if test -n "$CC"; then
1.1830 + echo "$as_me:$LINENO: result: $CC" >&5
1.1831 +echo "${ECHO_T}$CC" >&6
1.1832 +else
1.1833 + echo "$as_me:$LINENO: result: no" >&5
1.1834 +echo "${ECHO_T}no" >&6
1.1835 +fi
1.1836 +
1.1837 +fi
1.1838 +if test -z "$ac_cv_prog_CC"; then
1.1839 + ac_ct_CC=$CC
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.1846 +else
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.1849 +else
1.1850 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1851 +for as_dir in $PATH
1.1852 +do
1.1853 + IFS=$as_save_IFS
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.1859 + break 2
1.1860 + fi
1.1861 +done
1.1862 +done
1.1863 +
1.1864 +fi
1.1865 +fi
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.1870 +else
1.1871 + echo "$as_me:$LINENO: result: no" >&5
1.1872 +echo "${ECHO_T}no" >&6
1.1873 +fi
1.1874 +
1.1875 + CC=$ac_ct_CC
1.1876 +else
1.1877 + CC="$ac_cv_prog_CC"
1.1878 +fi
1.1879 +
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.1888 +else
1.1889 + if test -n "$CC"; then
1.1890 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.1891 +else
1.1892 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1893 +for as_dir in $PATH
1.1894 +do
1.1895 + IFS=$as_save_IFS
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.1901 + break 2
1.1902 + fi
1.1903 +done
1.1904 +done
1.1905 +
1.1906 +fi
1.1907 +fi
1.1908 +CC=$ac_cv_prog_CC
1.1909 +if test -n "$CC"; then
1.1910 + echo "$as_me:$LINENO: result: $CC" >&5
1.1911 +echo "${ECHO_T}$CC" >&6
1.1912 +else
1.1913 + echo "$as_me:$LINENO: result: no" >&5
1.1914 +echo "${ECHO_T}no" >&6
1.1915 +fi
1.1916 +
1.1917 +fi
1.1918 +if test -z "$ac_cv_prog_CC"; then
1.1919 + ac_ct_CC=$CC
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.1926 +else
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.1929 +else
1.1930 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1931 +for as_dir in $PATH
1.1932 +do
1.1933 + IFS=$as_save_IFS
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.1939 + break 2
1.1940 + fi
1.1941 +done
1.1942 +done
1.1943 +
1.1944 +fi
1.1945 +fi
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.1950 +else
1.1951 + echo "$as_me:$LINENO: result: no" >&5
1.1952 +echo "${ECHO_T}no" >&6
1.1953 +fi
1.1954 +
1.1955 + CC=$ac_ct_CC
1.1956 +else
1.1957 + CC="$ac_cv_prog_CC"
1.1958 +fi
1.1959 +
1.1960 +fi
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.1968 +else
1.1969 + if test -n "$CC"; then
1.1970 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.1971 +else
1.1972 + ac_prog_rejected=no
1.1973 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1974 +for as_dir in $PATH
1.1975 +do
1.1976 + IFS=$as_save_IFS
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.1981 + ac_prog_rejected=yes
1.1982 + continue
1.1983 + fi
1.1984 + ac_cv_prog_CC="cc"
1.1985 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1986 + break 2
1.1987 + fi
1.1988 +done
1.1989 +done
1.1990 +
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.1994 + shift
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.1999 + shift
1.2000 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.2001 + fi
1.2002 +fi
1.2003 +fi
1.2004 +fi
1.2005 +CC=$ac_cv_prog_CC
1.2006 +if test -n "$CC"; then
1.2007 + echo "$as_me:$LINENO: result: $CC" >&5
1.2008 +echo "${ECHO_T}$CC" >&6
1.2009 +else
1.2010 + echo "$as_me:$LINENO: result: no" >&5
1.2011 +echo "${ECHO_T}no" >&6
1.2012 +fi
1.2013 +
1.2014 +fi
1.2015 +if test -z "$CC"; then
1.2016 + if test -n "$ac_tool_prefix"; then
1.2017 + for ac_prog in cl
1.2018 + do
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.2025 +else
1.2026 + if test -n "$CC"; then
1.2027 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.2028 +else
1.2029 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2030 +for as_dir in $PATH
1.2031 +do
1.2032 + IFS=$as_save_IFS
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.2038 + break 2
1.2039 + fi
1.2040 +done
1.2041 +done
1.2042 +
1.2043 +fi
1.2044 +fi
1.2045 +CC=$ac_cv_prog_CC
1.2046 +if test -n "$CC"; then
1.2047 + echo "$as_me:$LINENO: result: $CC" >&5
1.2048 +echo "${ECHO_T}$CC" >&6
1.2049 +else
1.2050 + echo "$as_me:$LINENO: result: no" >&5
1.2051 +echo "${ECHO_T}no" >&6
1.2052 +fi
1.2053 +
1.2054 + test -n "$CC" && break
1.2055 + done
1.2056 +fi
1.2057 +if test -z "$CC"; then
1.2058 + ac_ct_CC=$CC
1.2059 + for ac_prog in cl
1.2060 +do
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.2067 +else
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.2070 +else
1.2071 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2072 +for as_dir in $PATH
1.2073 +do
1.2074 + IFS=$as_save_IFS
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.2080 + break 2
1.2081 + fi
1.2082 +done
1.2083 +done
1.2084 +
1.2085 +fi
1.2086 +fi
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.2091 +else
1.2092 + echo "$as_me:$LINENO: result: no" >&5
1.2093 +echo "${ECHO_T}no" >&6
1.2094 +fi
1.2095 +
1.2096 + test -n "$ac_ct_CC" && break
1.2097 +done
1.2098 +
1.2099 + CC=$ac_ct_CC
1.2100 +fi
1.2101 +
1.2102 +fi
1.2103 +
1.2104 +
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.2110 +
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.2117 + ac_status=$?
1.2118 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2119 + (exit $ac_status); }
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.2122 + ac_status=$?
1.2123 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2124 + (exit $ac_status); }
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.2127 + ac_status=$?
1.2128 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2129 + (exit $ac_status); }
1.2130 +
1.2131 +cat >conftest.$ac_ext <<_ACEOF
1.2132 +/* confdefs.h. */
1.2133 +_ACEOF
1.2134 +cat confdefs.h >>conftest.$ac_ext
1.2135 +cat >>conftest.$ac_ext <<_ACEOF
1.2136 +/* end confdefs.h. */
1.2137 +
1.2138 +int
1.2139 +main ()
1.2140 +{
1.2141 +
1.2142 + ;
1.2143 + return 0;
1.2144 +}
1.2145 +_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.2150 +# of exeext.
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.2156 + ac_status=$?
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.2161 +# resort.
1.2162 +
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.2165 +ac_cv_exeext=
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.2168 +do
1.2169 + test -f "$ac_file" || continue
1.2170 + case $ac_file in
1.2171 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1.2172 + ;;
1.2173 + conftest.$ac_ext )
1.2174 + # This is the source file.
1.2175 + ;;
1.2176 + [ab].out )
1.2177 + # We found the default executable, but exeext='' is most
1.2178 + # certainly right.
1.2179 + break;;
1.2180 + *.* )
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.2185 + export ac_cv_exeext
1.2186 + break;;
1.2187 + * )
1.2188 + break;;
1.2189 + esac
1.2190 +done
1.2191 +else
1.2192 + echo "$as_me: failed program was:" >&5
1.2193 +sed 's/^/| /' conftest.$ac_ext >&5
1.2194 +
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.2200 +fi
1.2201 +
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.2205 +
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.2215 + (eval $ac_try) 2>&5
1.2216 + ac_status=$?
1.2217 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2218 + (exit $ac_status); }; }; then
1.2219 + cross_compiling=no
1.2220 + else
1.2221 + if test "$cross_compiling" = maybe; then
1.2222 + cross_compiling=yes
1.2223 + else
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.2231 + fi
1.2232 + fi
1.2233 +fi
1.2234 +echo "$as_me:$LINENO: result: yes" >&5
1.2235 +echo "${ECHO_T}yes" >&6
1.2236 +
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.2245 +
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.2249 + (eval $ac_link) 2>&5
1.2250 + ac_status=$?
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.2256 +# `rm'.
1.2257 +for ac_file in conftest.exe conftest conftest.*; do
1.2258 + test -f "$ac_file" || continue
1.2259 + case $ac_file in
1.2260 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1.2261 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.2262 + export ac_cv_exeext
1.2263 + break;;
1.2264 + * ) break;;
1.2265 + esac
1.2266 +done
1.2267 +else
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.2273 +fi
1.2274 +
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.2278 +
1.2279 +rm -f conftest.$ac_ext
1.2280 +EXEEXT=$ac_cv_exeext
1.2281 +ac_exeext=$EXEEXT
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.2286 +else
1.2287 + cat >conftest.$ac_ext <<_ACEOF
1.2288 +/* confdefs.h. */
1.2289 +_ACEOF
1.2290 +cat confdefs.h >>conftest.$ac_ext
1.2291 +cat >>conftest.$ac_ext <<_ACEOF
1.2292 +/* end confdefs.h. */
1.2293 +
1.2294 +int
1.2295 +main ()
1.2296 +{
1.2297 +
1.2298 + ;
1.2299 + return 0;
1.2300 +}
1.2301 +_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.2305 + ac_status=$?
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.2309 + case $ac_file in
1.2310 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1.2311 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1.2312 + break;;
1.2313 + esac
1.2314 +done
1.2315 +else
1.2316 + echo "$as_me: failed program was:" >&5
1.2317 +sed 's/^/| /' conftest.$ac_ext >&5
1.2318 +
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.2324 +fi
1.2325 +
1.2326 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
1.2327 +fi
1.2328 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1.2329 +echo "${ECHO_T}$ac_cv_objext" >&6
1.2330 +OBJEXT=$ac_cv_objext
1.2331 +ac_objext=$OBJEXT
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.2336 +else
1.2337 + cat >conftest.$ac_ext <<_ACEOF
1.2338 +/* confdefs.h. */
1.2339 +_ACEOF
1.2340 +cat confdefs.h >>conftest.$ac_ext
1.2341 +cat >>conftest.$ac_ext <<_ACEOF
1.2342 +/* end confdefs.h. */
1.2343 +
1.2344 +int
1.2345 +main ()
1.2346 +{
1.2347 +#ifndef __GNUC__
1.2348 + choke me
1.2349 +#endif
1.2350 +
1.2351 + ;
1.2352 + return 0;
1.2353 +}
1.2354 +_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.2358 + ac_status=$?
1.2359 + grep -v '^ *+' conftest.er1 >conftest.err
1.2360 + rm -f conftest.er1
1.2361 + cat conftest.err >&5
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.2366 + (eval $ac_try) 2>&5
1.2367 + ac_status=$?
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.2372 + (eval $ac_try) 2>&5
1.2373 + ac_status=$?
1.2374 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2375 + (exit $ac_status); }; }; then
1.2376 + ac_compiler_gnu=yes
1.2377 +else
1.2378 + echo "$as_me: failed program was:" >&5
1.2379 +sed 's/^/| /' conftest.$ac_ext >&5
1.2380 +
1.2381 +ac_compiler_gnu=no
1.2382 +fi
1.2383 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.2384 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.2385 +
1.2386 +fi
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.2392 +CFLAGS="-g"
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.2397 +else
1.2398 + cat >conftest.$ac_ext <<_ACEOF
1.2399 +/* confdefs.h. */
1.2400 +_ACEOF
1.2401 +cat confdefs.h >>conftest.$ac_ext
1.2402 +cat >>conftest.$ac_ext <<_ACEOF
1.2403 +/* end confdefs.h. */
1.2404 +
1.2405 +int
1.2406 +main ()
1.2407 +{
1.2408 +
1.2409 + ;
1.2410 + return 0;
1.2411 +}
1.2412 +_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.2416 + ac_status=$?
1.2417 + grep -v '^ *+' conftest.er1 >conftest.err
1.2418 + rm -f conftest.er1
1.2419 + cat conftest.err >&5
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.2424 + (eval $ac_try) 2>&5
1.2425 + ac_status=$?
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.2430 + (eval $ac_try) 2>&5
1.2431 + ac_status=$?
1.2432 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2433 + (exit $ac_status); }; }; then
1.2434 + ac_cv_prog_cc_g=yes
1.2435 +else
1.2436 + echo "$as_me: failed program was:" >&5
1.2437 +sed 's/^/| /' conftest.$ac_ext >&5
1.2438 +
1.2439 +ac_cv_prog_cc_g=no
1.2440 +fi
1.2441 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.2442 +fi
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.2449 + CFLAGS="-g -O2"
1.2450 + else
1.2451 + CFLAGS="-g"
1.2452 + fi
1.2453 +else
1.2454 + if test "$GCC" = yes; then
1.2455 + CFLAGS="-O2"
1.2456 + else
1.2457 + CFLAGS=
1.2458 + fi
1.2459 +fi
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.2464 +else
1.2465 + ac_cv_prog_cc_stdc=no
1.2466 +ac_save_CC=$CC
1.2467 +cat >conftest.$ac_ext <<_ACEOF
1.2468 +/* confdefs.h. */
1.2469 +_ACEOF
1.2470 +cat confdefs.h >>conftest.$ac_ext
1.2471 +cat >>conftest.$ac_ext <<_ACEOF
1.2472 +/* end confdefs.h. */
1.2473 +#include <stdarg.h>
1.2474 +#include <stdio.h>
1.2475 +#include <sys/types.h>
1.2476 +#include <sys/stat.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.2480 +static char *e (p, i)
1.2481 + char **p;
1.2482 + int i;
1.2483 +{
1.2484 + return p[i];
1.2485 +}
1.2486 +static char *f (char * (*g) (char **, int), char **p, ...)
1.2487 +{
1.2488 + char *s;
1.2489 + va_list v;
1.2490 + va_start (v,p);
1.2491 + s = g (p, va_arg (v,int));
1.2492 + va_end (v);
1.2493 + return s;
1.2494 +}
1.2495 +
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.2504 +
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.2509 +int argc;
1.2510 +char **argv;
1.2511 +int
1.2512 +main ()
1.2513 +{
1.2514 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.2515 + ;
1.2516 + return 0;
1.2517 +}
1.2518 +_ACEOF
1.2519 +# Don't try gcc -ansi; that turns off useful extensions and
1.2520 +# breaks some systems' header files.
1.2521 +# AIX -qlanglvl=ansi
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.2527 +do
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.2532 + ac_status=$?
1.2533 + grep -v '^ *+' conftest.er1 >conftest.err
1.2534 + rm -f conftest.er1
1.2535 + cat conftest.err >&5
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.2540 + (eval $ac_try) 2>&5
1.2541 + ac_status=$?
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.2546 + (eval $ac_try) 2>&5
1.2547 + ac_status=$?
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.2551 +break
1.2552 +else
1.2553 + echo "$as_me: failed program was:" >&5
1.2554 +sed 's/^/| /' conftest.$ac_ext >&5
1.2555 +
1.2556 +fi
1.2557 +rm -f conftest.err conftest.$ac_objext
1.2558 +done
1.2559 +rm -f conftest.$ac_ext conftest.$ac_objext
1.2560 +CC=$ac_save_CC
1.2561 +
1.2562 +fi
1.2563 +
1.2564 +case "x$ac_cv_prog_cc_stdc" in
1.2565 + x|xno)
1.2566 + echo "$as_me:$LINENO: result: none needed" >&5
1.2567 +echo "${ECHO_T}none needed" >&6 ;;
1.2568 + *)
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.2572 +esac
1.2573 +
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.2579 +#ifndef __cplusplus
1.2580 + choke me
1.2581 +#endif
1.2582 +_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.2586 + ac_status=$?
1.2587 + grep -v '^ *+' conftest.er1 >conftest.err
1.2588 + rm -f conftest.er1
1.2589 + cat conftest.err >&5
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.2594 + (eval $ac_try) 2>&5
1.2595 + ac_status=$?
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.2600 + (eval $ac_try) 2>&5
1.2601 + ac_status=$?
1.2602 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2603 + (exit $ac_status); }; }; then
1.2604 + for ac_declaration in \
1.2605 + '' \
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.2610 + 'void exit (int);'
1.2611 +do
1.2612 + cat >conftest.$ac_ext <<_ACEOF
1.2613 +/* confdefs.h. */
1.2614 +_ACEOF
1.2615 +cat confdefs.h >>conftest.$ac_ext
1.2616 +cat >>conftest.$ac_ext <<_ACEOF
1.2617 +/* end confdefs.h. */
1.2618 +$ac_declaration
1.2619 +#include <stdlib.h>
1.2620 +int
1.2621 +main ()
1.2622 +{
1.2623 +exit (42);
1.2624 + ;
1.2625 + return 0;
1.2626 +}
1.2627 +_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.2631 + ac_status=$?
1.2632 + grep -v '^ *+' conftest.er1 >conftest.err
1.2633 + rm -f conftest.er1
1.2634 + cat conftest.err >&5
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.2639 + (eval $ac_try) 2>&5
1.2640 + ac_status=$?
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.2645 + (eval $ac_try) 2>&5
1.2646 + ac_status=$?
1.2647 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2648 + (exit $ac_status); }; }; then
1.2649 + :
1.2650 +else
1.2651 + echo "$as_me: failed program was:" >&5
1.2652 +sed 's/^/| /' conftest.$ac_ext >&5
1.2653 +
1.2654 +continue
1.2655 +fi
1.2656 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.2657 + cat >conftest.$ac_ext <<_ACEOF
1.2658 +/* confdefs.h. */
1.2659 +_ACEOF
1.2660 +cat confdefs.h >>conftest.$ac_ext
1.2661 +cat >>conftest.$ac_ext <<_ACEOF
1.2662 +/* end confdefs.h. */
1.2663 +$ac_declaration
1.2664 +int
1.2665 +main ()
1.2666 +{
1.2667 +exit (42);
1.2668 + ;
1.2669 + return 0;
1.2670 +}
1.2671 +_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.2675 + ac_status=$?
1.2676 + grep -v '^ *+' conftest.er1 >conftest.err
1.2677 + rm -f conftest.er1
1.2678 + cat conftest.err >&5
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.2683 + (eval $ac_try) 2>&5
1.2684 + ac_status=$?
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.2689 + (eval $ac_try) 2>&5
1.2690 + ac_status=$?
1.2691 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2692 + (exit $ac_status); }; }; then
1.2693 + break
1.2694 +else
1.2695 + echo "$as_me: failed program was:" >&5
1.2696 +sed 's/^/| /' conftest.$ac_ext >&5
1.2697 +
1.2698 +fi
1.2699 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.2700 +done
1.2701 +rm -f conftest*
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.2706 +fi
1.2707 +
1.2708 +else
1.2709 + echo "$as_me: failed program was:" >&5
1.2710 +sed 's/^/| /' conftest.$ac_ext >&5
1.2711 +
1.2712 +fi
1.2713 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.2714 +ac_ext=c
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.2719 +
1.2720 +depcc="$CC" am_compiler_list=
1.2721 +
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.2726 +else
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.2732 + # in D'.
1.2733 + mkdir conftest.dir
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.2737 + cd 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.2743 + # directory.
1.2744 + mkdir sub
1.2745 +
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.2749 + fi
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.2754 + #
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.2758 + : > sub/conftest.c
1.2759 + for i in 1 2 3 4 5 6; do
1.2760 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.2761 + : > sub/conftst$i.h
1.2762 + done
1.2763 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.2764 +
1.2765 + case $depmode in
1.2766 + nosideeffect)
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.2770 + continue
1.2771 + else
1.2772 + break
1.2773 + fi
1.2774 + ;;
1.2775 + none) break ;;
1.2776 + esac
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.2793 + break
1.2794 + fi
1.2795 + fi
1.2796 + done
1.2797 +
1.2798 + cd ..
1.2799 + rm -rf conftest.dir
1.2800 +else
1.2801 + am_cv_CC_dependencies_compiler_type=none
1.2802 +fi
1.2803 +
1.2804 +fi
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.2808 +
1.2809 +
1.2810 +
1.2811 +if
1.2812 + test "x$enable_dependency_tracking" != xno \
1.2813 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.2814 + am__fastdepCC_TRUE=
1.2815 + am__fastdepCC_FALSE='#'
1.2816 +else
1.2817 + am__fastdepCC_TRUE='#'
1.2818 + am__fastdepCC_FALSE=
1.2819 +fi
1.2820 +
1.2821 +
1.2822 +
1.2823 +
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.2828 +else
1.2829 + ac_check_lib_save_LIBS=$LIBS
1.2830 +LIBS="-lcposix $LIBS"
1.2831 +cat >conftest.$ac_ext <<_ACEOF
1.2832 +/* confdefs.h. */
1.2833 +_ACEOF
1.2834 +cat confdefs.h >>conftest.$ac_ext
1.2835 +cat >>conftest.$ac_ext <<_ACEOF
1.2836 +/* end confdefs.h. */
1.2837 +
1.2838 +/* Override any gcc2 internal prototype to avoid an error. */
1.2839 +#ifdef __cplusplus
1.2840 +extern "C"
1.2841 +#endif
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.2844 +char strerror ();
1.2845 +int
1.2846 +main ()
1.2847 +{
1.2848 +strerror ();
1.2849 + ;
1.2850 + return 0;
1.2851 +}
1.2852 +_ACEOF
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.2856 + ac_status=$?
1.2857 + grep -v '^ *+' conftest.er1 >conftest.err
1.2858 + rm -f conftest.er1
1.2859 + cat conftest.err >&5
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.2864 + (eval $ac_try) 2>&5
1.2865 + ac_status=$?
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.2870 + (eval $ac_try) 2>&5
1.2871 + ac_status=$?
1.2872 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2873 + (exit $ac_status); }; }; then
1.2874 + ac_cv_lib_cposix_strerror=yes
1.2875 +else
1.2876 + echo "$as_me: failed program was:" >&5
1.2877 +sed 's/^/| /' conftest.$ac_ext >&5
1.2878 +
1.2879 +ac_cv_lib_cposix_strerror=no
1.2880 +fi
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.2884 +fi
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.2889 +fi
1.2890 +
1.2891 +
1.2892 +
1.2893 +ac_ext=c
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.2905 +else
1.2906 + if test -n "$CC"; then
1.2907 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.2908 +else
1.2909 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2910 +for as_dir in $PATH
1.2911 +do
1.2912 + IFS=$as_save_IFS
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.2918 + break 2
1.2919 + fi
1.2920 +done
1.2921 +done
1.2922 +
1.2923 +fi
1.2924 +fi
1.2925 +CC=$ac_cv_prog_CC
1.2926 +if test -n "$CC"; then
1.2927 + echo "$as_me:$LINENO: result: $CC" >&5
1.2928 +echo "${ECHO_T}$CC" >&6
1.2929 +else
1.2930 + echo "$as_me:$LINENO: result: no" >&5
1.2931 +echo "${ECHO_T}no" >&6
1.2932 +fi
1.2933 +
1.2934 +fi
1.2935 +if test -z "$ac_cv_prog_CC"; then
1.2936 + ac_ct_CC=$CC
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.2943 +else
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.2946 +else
1.2947 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2948 +for as_dir in $PATH
1.2949 +do
1.2950 + IFS=$as_save_IFS
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.2956 + break 2
1.2957 + fi
1.2958 +done
1.2959 +done
1.2960 +
1.2961 +fi
1.2962 +fi
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.2967 +else
1.2968 + echo "$as_me:$LINENO: result: no" >&5
1.2969 +echo "${ECHO_T}no" >&6
1.2970 +fi
1.2971 +
1.2972 + CC=$ac_ct_CC
1.2973 +else
1.2974 + CC="$ac_cv_prog_CC"
1.2975 +fi
1.2976 +
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.2985 +else
1.2986 + if test -n "$CC"; then
1.2987 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.2988 +else
1.2989 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2990 +for as_dir in $PATH
1.2991 +do
1.2992 + IFS=$as_save_IFS
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.2998 + break 2
1.2999 + fi
1.3000 +done
1.3001 +done
1.3002 +
1.3003 +fi
1.3004 +fi
1.3005 +CC=$ac_cv_prog_CC
1.3006 +if test -n "$CC"; then
1.3007 + echo "$as_me:$LINENO: result: $CC" >&5
1.3008 +echo "${ECHO_T}$CC" >&6
1.3009 +else
1.3010 + echo "$as_me:$LINENO: result: no" >&5
1.3011 +echo "${ECHO_T}no" >&6
1.3012 +fi
1.3013 +
1.3014 +fi
1.3015 +if test -z "$ac_cv_prog_CC"; then
1.3016 + ac_ct_CC=$CC
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.3023 +else
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.3026 +else
1.3027 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3028 +for as_dir in $PATH
1.3029 +do
1.3030 + IFS=$as_save_IFS
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.3036 + break 2
1.3037 + fi
1.3038 +done
1.3039 +done
1.3040 +
1.3041 +fi
1.3042 +fi
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.3047 +else
1.3048 + echo "$as_me:$LINENO: result: no" >&5
1.3049 +echo "${ECHO_T}no" >&6
1.3050 +fi
1.3051 +
1.3052 + CC=$ac_ct_CC
1.3053 +else
1.3054 + CC="$ac_cv_prog_CC"
1.3055 +fi
1.3056 +
1.3057 +fi
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.3065 +else
1.3066 + if test -n "$CC"; then
1.3067 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.3068 +else
1.3069 + ac_prog_rejected=no
1.3070 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3071 +for as_dir in $PATH
1.3072 +do
1.3073 + IFS=$as_save_IFS
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.3078 + ac_prog_rejected=yes
1.3079 + continue
1.3080 + fi
1.3081 + ac_cv_prog_CC="cc"
1.3082 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3083 + break 2
1.3084 + fi
1.3085 +done
1.3086 +done
1.3087 +
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.3091 + shift
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.3096 + shift
1.3097 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.3098 + fi
1.3099 +fi
1.3100 +fi
1.3101 +fi
1.3102 +CC=$ac_cv_prog_CC
1.3103 +if test -n "$CC"; then
1.3104 + echo "$as_me:$LINENO: result: $CC" >&5
1.3105 +echo "${ECHO_T}$CC" >&6
1.3106 +else
1.3107 + echo "$as_me:$LINENO: result: no" >&5
1.3108 +echo "${ECHO_T}no" >&6
1.3109 +fi
1.3110 +
1.3111 +fi
1.3112 +if test -z "$CC"; then
1.3113 + if test -n "$ac_tool_prefix"; then
1.3114 + for ac_prog in cl
1.3115 + do
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.3122 +else
1.3123 + if test -n "$CC"; then
1.3124 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.3125 +else
1.3126 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3127 +for as_dir in $PATH
1.3128 +do
1.3129 + IFS=$as_save_IFS
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.3135 + break 2
1.3136 + fi
1.3137 +done
1.3138 +done
1.3139 +
1.3140 +fi
1.3141 +fi
1.3142 +CC=$ac_cv_prog_CC
1.3143 +if test -n "$CC"; then
1.3144 + echo "$as_me:$LINENO: result: $CC" >&5
1.3145 +echo "${ECHO_T}$CC" >&6
1.3146 +else
1.3147 + echo "$as_me:$LINENO: result: no" >&5
1.3148 +echo "${ECHO_T}no" >&6
1.3149 +fi
1.3150 +
1.3151 + test -n "$CC" && break
1.3152 + done
1.3153 +fi
1.3154 +if test -z "$CC"; then
1.3155 + ac_ct_CC=$CC
1.3156 + for ac_prog in cl
1.3157 +do
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.3164 +else
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.3167 +else
1.3168 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3169 +for as_dir in $PATH
1.3170 +do
1.3171 + IFS=$as_save_IFS
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.3177 + break 2
1.3178 + fi
1.3179 +done
1.3180 +done
1.3181 +
1.3182 +fi
1.3183 +fi
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.3188 +else
1.3189 + echo "$as_me:$LINENO: result: no" >&5
1.3190 +echo "${ECHO_T}no" >&6
1.3191 +fi
1.3192 +
1.3193 + test -n "$ac_ct_CC" && break
1.3194 +done
1.3195 +
1.3196 + CC=$ac_ct_CC
1.3197 +fi
1.3198 +
1.3199 +fi
1.3200 +
1.3201 +
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.3207 +
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.3214 + ac_status=$?
1.3215 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3216 + (exit $ac_status); }
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.3219 + ac_status=$?
1.3220 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3221 + (exit $ac_status); }
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.3224 + ac_status=$?
1.3225 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3226 + (exit $ac_status); }
1.3227 +
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.3232 +else
1.3233 + cat >conftest.$ac_ext <<_ACEOF
1.3234 +/* confdefs.h. */
1.3235 +_ACEOF
1.3236 +cat confdefs.h >>conftest.$ac_ext
1.3237 +cat >>conftest.$ac_ext <<_ACEOF
1.3238 +/* end confdefs.h. */
1.3239 +
1.3240 +int
1.3241 +main ()
1.3242 +{
1.3243 +#ifndef __GNUC__
1.3244 + choke me
1.3245 +#endif
1.3246 +
1.3247 + ;
1.3248 + return 0;
1.3249 +}
1.3250 +_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.3254 + ac_status=$?
1.3255 + grep -v '^ *+' conftest.er1 >conftest.err
1.3256 + rm -f conftest.er1
1.3257 + cat conftest.err >&5
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.3262 + (eval $ac_try) 2>&5
1.3263 + ac_status=$?
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.3268 + (eval $ac_try) 2>&5
1.3269 + ac_status=$?
1.3270 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3271 + (exit $ac_status); }; }; then
1.3272 + ac_compiler_gnu=yes
1.3273 +else
1.3274 + echo "$as_me: failed program was:" >&5
1.3275 +sed 's/^/| /' conftest.$ac_ext >&5
1.3276 +
1.3277 +ac_compiler_gnu=no
1.3278 +fi
1.3279 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.3280 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.3281 +
1.3282 +fi
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.3288 +CFLAGS="-g"
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.3293 +else
1.3294 + cat >conftest.$ac_ext <<_ACEOF
1.3295 +/* confdefs.h. */
1.3296 +_ACEOF
1.3297 +cat confdefs.h >>conftest.$ac_ext
1.3298 +cat >>conftest.$ac_ext <<_ACEOF
1.3299 +/* end confdefs.h. */
1.3300 +
1.3301 +int
1.3302 +main ()
1.3303 +{
1.3304 +
1.3305 + ;
1.3306 + return 0;
1.3307 +}
1.3308 +_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.3312 + ac_status=$?
1.3313 + grep -v '^ *+' conftest.er1 >conftest.err
1.3314 + rm -f conftest.er1
1.3315 + cat conftest.err >&5
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.3320 + (eval $ac_try) 2>&5
1.3321 + ac_status=$?
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.3326 + (eval $ac_try) 2>&5
1.3327 + ac_status=$?
1.3328 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3329 + (exit $ac_status); }; }; then
1.3330 + ac_cv_prog_cc_g=yes
1.3331 +else
1.3332 + echo "$as_me: failed program was:" >&5
1.3333 +sed 's/^/| /' conftest.$ac_ext >&5
1.3334 +
1.3335 +ac_cv_prog_cc_g=no
1.3336 +fi
1.3337 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.3338 +fi
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.3345 + CFLAGS="-g -O2"
1.3346 + else
1.3347 + CFLAGS="-g"
1.3348 + fi
1.3349 +else
1.3350 + if test "$GCC" = yes; then
1.3351 + CFLAGS="-O2"
1.3352 + else
1.3353 + CFLAGS=
1.3354 + fi
1.3355 +fi
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.3360 +else
1.3361 + ac_cv_prog_cc_stdc=no
1.3362 +ac_save_CC=$CC
1.3363 +cat >conftest.$ac_ext <<_ACEOF
1.3364 +/* confdefs.h. */
1.3365 +_ACEOF
1.3366 +cat confdefs.h >>conftest.$ac_ext
1.3367 +cat >>conftest.$ac_ext <<_ACEOF
1.3368 +/* end confdefs.h. */
1.3369 +#include <stdarg.h>
1.3370 +#include <stdio.h>
1.3371 +#include <sys/types.h>
1.3372 +#include <sys/stat.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.3376 +static char *e (p, i)
1.3377 + char **p;
1.3378 + int i;
1.3379 +{
1.3380 + return p[i];
1.3381 +}
1.3382 +static char *f (char * (*g) (char **, int), char **p, ...)
1.3383 +{
1.3384 + char *s;
1.3385 + va_list v;
1.3386 + va_start (v,p);
1.3387 + s = g (p, va_arg (v,int));
1.3388 + va_end (v);
1.3389 + return s;
1.3390 +}
1.3391 +
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.3400 +
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.3405 +int argc;
1.3406 +char **argv;
1.3407 +int
1.3408 +main ()
1.3409 +{
1.3410 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.3411 + ;
1.3412 + return 0;
1.3413 +}
1.3414 +_ACEOF
1.3415 +# Don't try gcc -ansi; that turns off useful extensions and
1.3416 +# breaks some systems' header files.
1.3417 +# AIX -qlanglvl=ansi
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.3423 +do
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.3428 + ac_status=$?
1.3429 + grep -v '^ *+' conftest.er1 >conftest.err
1.3430 + rm -f conftest.er1
1.3431 + cat conftest.err >&5
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.3436 + (eval $ac_try) 2>&5
1.3437 + ac_status=$?
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.3442 + (eval $ac_try) 2>&5
1.3443 + ac_status=$?
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.3447 +break
1.3448 +else
1.3449 + echo "$as_me: failed program was:" >&5
1.3450 +sed 's/^/| /' conftest.$ac_ext >&5
1.3451 +
1.3452 +fi
1.3453 +rm -f conftest.err conftest.$ac_objext
1.3454 +done
1.3455 +rm -f conftest.$ac_ext conftest.$ac_objext
1.3456 +CC=$ac_save_CC
1.3457 +
1.3458 +fi
1.3459 +
1.3460 +case "x$ac_cv_prog_cc_stdc" in
1.3461 + x|xno)
1.3462 + echo "$as_me:$LINENO: result: none needed" >&5
1.3463 +echo "${ECHO_T}none needed" >&6 ;;
1.3464 + *)
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.3468 +esac
1.3469 +
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.3475 +#ifndef __cplusplus
1.3476 + choke me
1.3477 +#endif
1.3478 +_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.3482 + ac_status=$?
1.3483 + grep -v '^ *+' conftest.er1 >conftest.err
1.3484 + rm -f conftest.er1
1.3485 + cat conftest.err >&5
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.3490 + (eval $ac_try) 2>&5
1.3491 + ac_status=$?
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.3496 + (eval $ac_try) 2>&5
1.3497 + ac_status=$?
1.3498 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3499 + (exit $ac_status); }; }; then
1.3500 + for ac_declaration in \
1.3501 + '' \
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.3506 + 'void exit (int);'
1.3507 +do
1.3508 + cat >conftest.$ac_ext <<_ACEOF
1.3509 +/* confdefs.h. */
1.3510 +_ACEOF
1.3511 +cat confdefs.h >>conftest.$ac_ext
1.3512 +cat >>conftest.$ac_ext <<_ACEOF
1.3513 +/* end confdefs.h. */
1.3514 +$ac_declaration
1.3515 +#include <stdlib.h>
1.3516 +int
1.3517 +main ()
1.3518 +{
1.3519 +exit (42);
1.3520 + ;
1.3521 + return 0;
1.3522 +}
1.3523 +_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.3527 + ac_status=$?
1.3528 + grep -v '^ *+' conftest.er1 >conftest.err
1.3529 + rm -f conftest.er1
1.3530 + cat conftest.err >&5
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.3535 + (eval $ac_try) 2>&5
1.3536 + ac_status=$?
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.3541 + (eval $ac_try) 2>&5
1.3542 + ac_status=$?
1.3543 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3544 + (exit $ac_status); }; }; then
1.3545 + :
1.3546 +else
1.3547 + echo "$as_me: failed program was:" >&5
1.3548 +sed 's/^/| /' conftest.$ac_ext >&5
1.3549 +
1.3550 +continue
1.3551 +fi
1.3552 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.3553 + cat >conftest.$ac_ext <<_ACEOF
1.3554 +/* confdefs.h. */
1.3555 +_ACEOF
1.3556 +cat confdefs.h >>conftest.$ac_ext
1.3557 +cat >>conftest.$ac_ext <<_ACEOF
1.3558 +/* end confdefs.h. */
1.3559 +$ac_declaration
1.3560 +int
1.3561 +main ()
1.3562 +{
1.3563 +exit (42);
1.3564 + ;
1.3565 + return 0;
1.3566 +}
1.3567 +_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.3571 + ac_status=$?
1.3572 + grep -v '^ *+' conftest.er1 >conftest.err
1.3573 + rm -f conftest.er1
1.3574 + cat conftest.err >&5
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.3579 + (eval $ac_try) 2>&5
1.3580 + ac_status=$?
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.3585 + (eval $ac_try) 2>&5
1.3586 + ac_status=$?
1.3587 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3588 + (exit $ac_status); }; }; then
1.3589 + break
1.3590 +else
1.3591 + echo "$as_me: failed program was:" >&5
1.3592 +sed 's/^/| /' conftest.$ac_ext >&5
1.3593 +
1.3594 +fi
1.3595 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.3596 +done
1.3597 +rm -f conftest*
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.3602 +fi
1.3603 +
1.3604 +else
1.3605 + echo "$as_me: failed program was:" >&5
1.3606 +sed 's/^/| /' conftest.$ac_ext >&5
1.3607 +
1.3608 +fi
1.3609 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.3610 +ac_ext=c
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.3615 +
1.3616 +depcc="$CC" am_compiler_list=
1.3617 +
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.3622 +else
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.3628 + # in D'.
1.3629 + mkdir conftest.dir
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.3633 + cd 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.3639 + # directory.
1.3640 + mkdir sub
1.3641 +
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.3645 + fi
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.3650 + #
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.3654 + : > sub/conftest.c
1.3655 + for i in 1 2 3 4 5 6; do
1.3656 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.3657 + : > sub/conftst$i.h
1.3658 + done
1.3659 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.3660 +
1.3661 + case $depmode in
1.3662 + nosideeffect)
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.3666 + continue
1.3667 + else
1.3668 + break
1.3669 + fi
1.3670 + ;;
1.3671 + none) break ;;
1.3672 + esac
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.3689 + break
1.3690 + fi
1.3691 + fi
1.3692 + done
1.3693 +
1.3694 + cd ..
1.3695 + rm -rf conftest.dir
1.3696 +else
1.3697 + am_cv_CC_dependencies_compiler_type=none
1.3698 +fi
1.3699 +
1.3700 +fi
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.3704 +
1.3705 +
1.3706 +
1.3707 +if
1.3708 + test "x$enable_dependency_tracking" != xno \
1.3709 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.3710 + am__fastdepCC_TRUE=
1.3711 + am__fastdepCC_FALSE='#'
1.3712 +else
1.3713 + am__fastdepCC_TRUE='#'
1.3714 + am__fastdepCC_FALSE=
1.3715 +fi
1.3716 +
1.3717 +
1.3718 +
1.3719 +
1.3720 +
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.3725 +else
1.3726 + am_cv_prog_cc_stdc=no
1.3727 +ac_save_CC="$CC"
1.3728 +# Don't try gcc -ansi; that turns off useful extensions and
1.3729 +# breaks some systems' header files.
1.3730 +# AIX -qlanglvl=ansi
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.3736 +do
1.3737 + CC="$ac_save_CC $ac_arg"
1.3738 + cat >conftest.$ac_ext <<_ACEOF
1.3739 +/* confdefs.h. */
1.3740 +_ACEOF
1.3741 +cat confdefs.h >>conftest.$ac_ext
1.3742 +cat >>conftest.$ac_ext <<_ACEOF
1.3743 +/* end confdefs.h. */
1.3744 +#include <stdarg.h>
1.3745 +#include <stdio.h>
1.3746 +#include <sys/types.h>
1.3747 +#include <sys/stat.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.3751 +static char *e (p, i)
1.3752 + char **p;
1.3753 + int i;
1.3754 +{
1.3755 + return p[i];
1.3756 +}
1.3757 +static char *f (char * (*g) (char **, int), char **p, ...)
1.3758 +{
1.3759 + char *s;
1.3760 + va_list v;
1.3761 + va_start (v,p);
1.3762 + s = g (p, va_arg (v,int));
1.3763 + va_end (v);
1.3764 + return s;
1.3765 +}
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.3770 +int argc;
1.3771 +char **argv;
1.3772 +
1.3773 +int
1.3774 +main ()
1.3775 +{
1.3776 +
1.3777 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.3778 +
1.3779 + ;
1.3780 + return 0;
1.3781 +}
1.3782 +_ACEOF
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.3786 + ac_status=$?
1.3787 + grep -v '^ *+' conftest.er1 >conftest.err
1.3788 + rm -f conftest.er1
1.3789 + cat conftest.err >&5
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.3794 + (eval $ac_try) 2>&5
1.3795 + ac_status=$?
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.3800 + (eval $ac_try) 2>&5
1.3801 + ac_status=$?
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.3805 +else
1.3806 + echo "$as_me: failed program was:" >&5
1.3807 +sed 's/^/| /' conftest.$ac_ext >&5
1.3808 +
1.3809 +fi
1.3810 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.3811 +done
1.3812 +CC="$ac_save_CC"
1.3813 +
1.3814 +fi
1.3815 +
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.3819 +else
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.3822 +fi
1.3823 +case "x$am_cv_prog_cc_stdc" in
1.3824 + x|xno) ;;
1.3825 + *) CC="$CC $am_cv_prog_cc_stdc" ;;
1.3826 +esac
1.3827 +
1.3828 +ac_ext=c
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.3837 + CPP=
1.3838 +fi
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.3842 +else
1.3843 + # Double quotes because CPP needs to be expanded
1.3844 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1.3845 + do
1.3846 + ac_preproc_ok=false
1.3847 +for ac_c_preproc_warn_flag in '' yes
1.3848 +do
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.3856 +/* confdefs.h. */
1.3857 +_ACEOF
1.3858 +cat confdefs.h >>conftest.$ac_ext
1.3859 +cat >>conftest.$ac_ext <<_ACEOF
1.3860 +/* end confdefs.h. */
1.3861 +#ifdef __STDC__
1.3862 +# include <limits.h>
1.3863 +#else
1.3864 +# include <assert.h>
1.3865 +#endif
1.3866 + Syntax error
1.3867 +_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.3870 + ac_status=$?
1.3871 + grep -v '^ *+' conftest.er1 >conftest.err
1.3872 + rm -f conftest.er1
1.3873 + cat conftest.err >&5
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.3879 + else
1.3880 + ac_cpp_err=
1.3881 + fi
1.3882 +else
1.3883 + ac_cpp_err=yes
1.3884 +fi
1.3885 +if test -z "$ac_cpp_err"; then
1.3886 + :
1.3887 +else
1.3888 + echo "$as_me: failed program was:" >&5
1.3889 +sed 's/^/| /' conftest.$ac_ext >&5
1.3890 +
1.3891 + # Broken: fails on valid input.
1.3892 +continue
1.3893 +fi
1.3894 +rm -f conftest.err conftest.$ac_ext
1.3895 +
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.3899 +/* confdefs.h. */
1.3900 +_ACEOF
1.3901 +cat confdefs.h >>conftest.$ac_ext
1.3902 +cat >>conftest.$ac_ext <<_ACEOF
1.3903 +/* end confdefs.h. */
1.3904 +#include <ac_nonexistent.h>
1.3905 +_ACEOF
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.3908 + ac_status=$?
1.3909 + grep -v '^ *+' conftest.er1 >conftest.err
1.3910 + rm -f conftest.er1
1.3911 + cat conftest.err >&5
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.3917 + else
1.3918 + ac_cpp_err=
1.3919 + fi
1.3920 +else
1.3921 + ac_cpp_err=yes
1.3922 +fi
1.3923 +if test -z "$ac_cpp_err"; then
1.3924 + # Broken: success on invalid input.
1.3925 +continue
1.3926 +else
1.3927 + echo "$as_me: failed program was:" >&5
1.3928 +sed 's/^/| /' conftest.$ac_ext >&5
1.3929 +
1.3930 + # Passes both tests.
1.3931 +ac_preproc_ok=:
1.3932 +break
1.3933 +fi
1.3934 +rm -f conftest.err conftest.$ac_ext
1.3935 +
1.3936 +done
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.3940 + break
1.3941 +fi
1.3942 +
1.3943 + done
1.3944 + ac_cv_prog_CPP=$CPP
1.3945 +
1.3946 +fi
1.3947 + CPP=$ac_cv_prog_CPP
1.3948 +else
1.3949 + ac_cv_prog_CPP=$CPP
1.3950 +fi
1.3951 +echo "$as_me:$LINENO: result: $CPP" >&5
1.3952 +echo "${ECHO_T}$CPP" >&6
1.3953 +ac_preproc_ok=false
1.3954 +for ac_c_preproc_warn_flag in '' yes
1.3955 +do
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.3963 +/* confdefs.h. */
1.3964 +_ACEOF
1.3965 +cat confdefs.h >>conftest.$ac_ext
1.3966 +cat >>conftest.$ac_ext <<_ACEOF
1.3967 +/* end confdefs.h. */
1.3968 +#ifdef __STDC__
1.3969 +# include <limits.h>
1.3970 +#else
1.3971 +# include <assert.h>
1.3972 +#endif
1.3973 + Syntax error
1.3974 +_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.3977 + ac_status=$?
1.3978 + grep -v '^ *+' conftest.er1 >conftest.err
1.3979 + rm -f conftest.er1
1.3980 + cat conftest.err >&5
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.3986 + else
1.3987 + ac_cpp_err=
1.3988 + fi
1.3989 +else
1.3990 + ac_cpp_err=yes
1.3991 +fi
1.3992 +if test -z "$ac_cpp_err"; then
1.3993 + :
1.3994 +else
1.3995 + echo "$as_me: failed program was:" >&5
1.3996 +sed 's/^/| /' conftest.$ac_ext >&5
1.3997 +
1.3998 + # Broken: fails on valid input.
1.3999 +continue
1.4000 +fi
1.4001 +rm -f conftest.err conftest.$ac_ext
1.4002 +
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.4006 +/* confdefs.h. */
1.4007 +_ACEOF
1.4008 +cat confdefs.h >>conftest.$ac_ext
1.4009 +cat >>conftest.$ac_ext <<_ACEOF
1.4010 +/* end confdefs.h. */
1.4011 +#include <ac_nonexistent.h>
1.4012 +_ACEOF
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.4015 + ac_status=$?
1.4016 + grep -v '^ *+' conftest.er1 >conftest.err
1.4017 + rm -f conftest.er1
1.4018 + cat conftest.err >&5
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.4024 + else
1.4025 + ac_cpp_err=
1.4026 + fi
1.4027 +else
1.4028 + ac_cpp_err=yes
1.4029 +fi
1.4030 +if test -z "$ac_cpp_err"; then
1.4031 + # Broken: success on invalid input.
1.4032 +continue
1.4033 +else
1.4034 + echo "$as_me: failed program was:" >&5
1.4035 +sed 's/^/| /' conftest.$ac_ext >&5
1.4036 +
1.4037 + # Passes both tests.
1.4038 +ac_preproc_ok=:
1.4039 +break
1.4040 +fi
1.4041 +rm -f conftest.err conftest.$ac_ext
1.4042 +
1.4043 +done
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.4047 + :
1.4048 +else
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.4054 +fi
1.4055 +
1.4056 +ac_ext=c
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.4061 +
1.4062 +
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.4067 +else
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.4071 + fi
1.4072 +fi
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.4076 +
1.4077 +
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.4082 +else
1.4083 + cat >conftest.$ac_ext <<_ACEOF
1.4084 +/* confdefs.h. */
1.4085 +_ACEOF
1.4086 +cat confdefs.h >>conftest.$ac_ext
1.4087 +cat >>conftest.$ac_ext <<_ACEOF
1.4088 +/* end confdefs.h. */
1.4089 +#include <stdlib.h>
1.4090 +#include <stdarg.h>
1.4091 +#include <string.h>
1.4092 +#include <float.h>
1.4093 +
1.4094 +int
1.4095 +main ()
1.4096 +{
1.4097 +
1.4098 + ;
1.4099 + return 0;
1.4100 +}
1.4101 +_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.4105 + ac_status=$?
1.4106 + grep -v '^ *+' conftest.er1 >conftest.err
1.4107 + rm -f conftest.er1
1.4108 + cat conftest.err >&5
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.4113 + (eval $ac_try) 2>&5
1.4114 + ac_status=$?
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.4119 + (eval $ac_try) 2>&5
1.4120 + ac_status=$?
1.4121 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4122 + (exit $ac_status); }; }; then
1.4123 + ac_cv_header_stdc=yes
1.4124 +else
1.4125 + echo "$as_me: failed program was:" >&5
1.4126 +sed 's/^/| /' conftest.$ac_ext >&5
1.4127 +
1.4128 +ac_cv_header_stdc=no
1.4129 +fi
1.4130 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.4131 +
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.4135 +/* confdefs.h. */
1.4136 +_ACEOF
1.4137 +cat confdefs.h >>conftest.$ac_ext
1.4138 +cat >>conftest.$ac_ext <<_ACEOF
1.4139 +/* end confdefs.h. */
1.4140 +#include <string.h>
1.4141 +
1.4142 +_ACEOF
1.4143 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.4144 + $EGREP "memchr" >/dev/null 2>&1; then
1.4145 + :
1.4146 +else
1.4147 + ac_cv_header_stdc=no
1.4148 +fi
1.4149 +rm -f conftest*
1.4150 +
1.4151 +fi
1.4152 +
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.4156 +/* confdefs.h. */
1.4157 +_ACEOF
1.4158 +cat confdefs.h >>conftest.$ac_ext
1.4159 +cat >>conftest.$ac_ext <<_ACEOF
1.4160 +/* end confdefs.h. */
1.4161 +#include <stdlib.h>
1.4162 +
1.4163 +_ACEOF
1.4164 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.4165 + $EGREP "free" >/dev/null 2>&1; then
1.4166 + :
1.4167 +else
1.4168 + ac_cv_header_stdc=no
1.4169 +fi
1.4170 +rm -f conftest*
1.4171 +
1.4172 +fi
1.4173 +
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.4177 + :
1.4178 +else
1.4179 + cat >conftest.$ac_ext <<_ACEOF
1.4180 +/* confdefs.h. */
1.4181 +_ACEOF
1.4182 +cat confdefs.h >>conftest.$ac_ext
1.4183 +cat >>conftest.$ac_ext <<_ACEOF
1.4184 +/* end confdefs.h. */
1.4185 +#include <ctype.h>
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.4189 +#else
1.4190 +# define ISLOWER(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.4195 +#endif
1.4196 +
1.4197 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.4198 +int
1.4199 +main ()
1.4200 +{
1.4201 + int i;
1.4202 + for (i = 0; i < 256; i++)
1.4203 + if (XOR (islower (i), ISLOWER (i))
1.4204 + || toupper (i) != TOUPPER (i))
1.4205 + exit(2);
1.4206 + exit (0);
1.4207 +}
1.4208 +_ACEOF
1.4209 +rm -f conftest$ac_exeext
1.4210 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.4211 + (eval $ac_link) 2>&5
1.4212 + ac_status=$?
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.4216 + (eval $ac_try) 2>&5
1.4217 + ac_status=$?
1.4218 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4219 + (exit $ac_status); }; }; then
1.4220 + :
1.4221 +else
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.4225 +
1.4226 +( exit $ac_status )
1.4227 +ac_cv_header_stdc=no
1.4228 +fi
1.4229 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.4230 +fi
1.4231 +fi
1.4232 +fi
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.4236 +
1.4237 +cat >>confdefs.h <<\_ACEOF
1.4238 +#define STDC_HEADERS 1
1.4239 +_ACEOF
1.4240 +
1.4241 +fi
1.4242 +
1.4243 +
1.4244 +pkg_modules="libgnomeui-2.0"
1.4245 +
1.4246 + succeeded=no
1.4247 +
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.4255 +else
1.4256 + case $PKG_CONFIG in
1.4257 + [\\/]* | ?:[\\/]*)
1.4258 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1.4259 + ;;
1.4260 + *)
1.4261 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.4262 +for as_dir in $PATH
1.4263 +do
1.4264 + IFS=$as_save_IFS
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.4270 + break 2
1.4271 + fi
1.4272 +done
1.4273 +done
1.4274 +
1.4275 + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
1.4276 + ;;
1.4277 +esac
1.4278 +fi
1.4279 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1.4280 +
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.4284 +else
1.4285 + echo "$as_me:$LINENO: result: no" >&5
1.4286 +echo "${ECHO_T}no" >&6
1.4287 +fi
1.4288 +
1.4289 + fi
1.4290 +
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.4296 + else
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.4301 +
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.4305 + succeeded=yes
1.4306 +
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.4312 +
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.4318 + else
1.4319 + PACKAGE_CFLAGS=""
1.4320 + PACKAGE_LIBS=""
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.4325 + fi
1.4326 +
1.4327 +
1.4328 +
1.4329 + else
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.4332 + fi
1.4333 + fi
1.4334 +
1.4335 + if test $succeeded = yes; then
1.4336 + :
1.4337 + else
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.4341 + fi
1.4342 +
1.4343 +
1.4344 +
1.4345 +
1.4346 +GETTEXT_PACKAGE=dream
1.4347 +
1.4348 +cat >>confdefs.h <<_ACEOF
1.4349 +#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
1.4350 +_ACEOF
1.4351 +
1.4352 +
1.4353 +ALL_LINGUAS=""
1.4354 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.4355 +
1.4356 +
1.4357 +
1.4358 +
1.4359 +
1.4360 +
1.4361 +
1.4362 +
1.4363 +
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.4366 +do
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.4372 +else
1.4373 + cat >conftest.$ac_ext <<_ACEOF
1.4374 +/* confdefs.h. */
1.4375 +_ACEOF
1.4376 +cat confdefs.h >>conftest.$ac_ext
1.4377 +cat >>conftest.$ac_ext <<_ACEOF
1.4378 +/* end confdefs.h. */
1.4379 +$ac_includes_default
1.4380 +
1.4381 +#include <$ac_header>
1.4382 +_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.4386 + ac_status=$?
1.4387 + grep -v '^ *+' conftest.er1 >conftest.err
1.4388 + rm -f conftest.er1
1.4389 + cat conftest.err >&5
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.4394 + (eval $ac_try) 2>&5
1.4395 + ac_status=$?
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.4400 + (eval $ac_try) 2>&5
1.4401 + ac_status=$?
1.4402 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4403 + (exit $ac_status); }; }; then
1.4404 + eval "$as_ac_Header=yes"
1.4405 +else
1.4406 + echo "$as_me: failed program was:" >&5
1.4407 +sed 's/^/| /' conftest.$ac_ext >&5
1.4408 +
1.4409 +eval "$as_ac_Header=no"
1.4410 +fi
1.4411 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.4412 +fi
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.4418 +_ACEOF
1.4419 +
1.4420 +fi
1.4421 +
1.4422 +done
1.4423 +
1.4424 +
1.4425 +
1.4426 +
1.4427 +for ac_header in locale.h
1.4428 +do
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.4435 +fi
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.4438 +else
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.4443 +/* confdefs.h. */
1.4444 +_ACEOF
1.4445 +cat confdefs.h >>conftest.$ac_ext
1.4446 +cat >>conftest.$ac_ext <<_ACEOF
1.4447 +/* end confdefs.h. */
1.4448 +$ac_includes_default
1.4449 +#include <$ac_header>
1.4450 +_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.4454 + ac_status=$?
1.4455 + grep -v '^ *+' conftest.er1 >conftest.err
1.4456 + rm -f conftest.er1
1.4457 + cat conftest.err >&5
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.4462 + (eval $ac_try) 2>&5
1.4463 + ac_status=$?
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.4468 + (eval $ac_try) 2>&5
1.4469 + ac_status=$?
1.4470 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4471 + (exit $ac_status); }; }; then
1.4472 + ac_header_compiler=yes
1.4473 +else
1.4474 + echo "$as_me: failed program was:" >&5
1.4475 +sed 's/^/| /' conftest.$ac_ext >&5
1.4476 +
1.4477 +ac_header_compiler=no
1.4478 +fi
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.4482 +
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.4487 +/* confdefs.h. */
1.4488 +_ACEOF
1.4489 +cat confdefs.h >>conftest.$ac_ext
1.4490 +cat >>conftest.$ac_ext <<_ACEOF
1.4491 +/* end confdefs.h. */
1.4492 +#include <$ac_header>
1.4493 +_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.4496 + ac_status=$?
1.4497 + grep -v '^ *+' conftest.er1 >conftest.err
1.4498 + rm -f conftest.er1
1.4499 + cat conftest.err >&5
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.4505 + else
1.4506 + ac_cpp_err=
1.4507 + fi
1.4508 +else
1.4509 + ac_cpp_err=yes
1.4510 +fi
1.4511 +if test -z "$ac_cpp_err"; then
1.4512 + ac_header_preproc=yes
1.4513 +else
1.4514 + echo "$as_me: failed program was:" >&5
1.4515 +sed 's/^/| /' conftest.$ac_ext >&5
1.4516 +
1.4517 + ac_header_preproc=no
1.4518 +fi
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.4522 +
1.4523 +# So? What about this header?
1.4524 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
1.4525 + yes:no: )
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.4531 + ;;
1.4532 + no: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.4545 + (
1.4546 + cat <<\_ASBOX
1.4547 +## ------------------------------------------ ##
1.4548 +## Report this to the AC_PACKAGE_NAME lists. ##
1.4549 +## ------------------------------------------ ##
1.4550 +_ASBOX
1.4551 + ) |
1.4552 + sed "s/^/$as_me: WARNING: /" >&2
1.4553 + ;;
1.4554 +esac
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.4559 +else
1.4560 + eval "$as_ac_Header=\$ac_header_preproc"
1.4561 +fi
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.4564 +
1.4565 +fi
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.4569 +_ACEOF
1.4570 +
1.4571 +fi
1.4572 +
1.4573 +done
1.4574 +
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.4580 +else
1.4581 + cat >conftest.$ac_ext <<_ACEOF
1.4582 +/* confdefs.h. */
1.4583 +_ACEOF
1.4584 +cat confdefs.h >>conftest.$ac_ext
1.4585 +cat >>conftest.$ac_ext <<_ACEOF
1.4586 +/* end confdefs.h. */
1.4587 +#include <locale.h>
1.4588 +int
1.4589 +main ()
1.4590 +{
1.4591 +return LC_MESSAGES
1.4592 + ;
1.4593 + return 0;
1.4594 +}
1.4595 +_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.4599 + ac_status=$?
1.4600 + grep -v '^ *+' conftest.er1 >conftest.err
1.4601 + rm -f conftest.er1
1.4602 + cat conftest.err >&5
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.4607 + (eval $ac_try) 2>&5
1.4608 + ac_status=$?
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.4613 + (eval $ac_try) 2>&5
1.4614 + ac_status=$?
1.4615 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4616 + (exit $ac_status); }; }; then
1.4617 + am_cv_val_LC_MESSAGES=yes
1.4618 +else
1.4619 + echo "$as_me: failed program was:" >&5
1.4620 +sed 's/^/| /' conftest.$ac_ext >&5
1.4621 +
1.4622 +am_cv_val_LC_MESSAGES=no
1.4623 +fi
1.4624 +rm -f conftest.err conftest.$ac_objext \
1.4625 + conftest$ac_exeext conftest.$ac_ext
1.4626 +fi
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.4630 +
1.4631 +cat >>confdefs.h <<\_ACEOF
1.4632 +#define HAVE_LC_MESSAGES 1
1.4633 +_ACEOF
1.4634 +
1.4635 + fi
1.4636 + fi
1.4637 + USE_NLS=yes
1.4638 +
1.4639 +
1.4640 + gt_cv_have_gettext=no
1.4641 +
1.4642 + CATOBJEXT=NONE
1.4643 + XGETTEXT=:
1.4644 + INTLLIBS=
1.4645 +
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.4651 +fi
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.4654 +else
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.4659 +/* confdefs.h. */
1.4660 +_ACEOF
1.4661 +cat confdefs.h >>conftest.$ac_ext
1.4662 +cat >>conftest.$ac_ext <<_ACEOF
1.4663 +/* end confdefs.h. */
1.4664 +$ac_includes_default
1.4665 +#include <libintl.h>
1.4666 +_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.4670 + ac_status=$?
1.4671 + grep -v '^ *+' conftest.er1 >conftest.err
1.4672 + rm -f conftest.er1
1.4673 + cat conftest.err >&5
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.4678 + (eval $ac_try) 2>&5
1.4679 + ac_status=$?
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.4684 + (eval $ac_try) 2>&5
1.4685 + ac_status=$?
1.4686 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4687 + (exit $ac_status); }; }; then
1.4688 + ac_header_compiler=yes
1.4689 +else
1.4690 + echo "$as_me: failed program was:" >&5
1.4691 +sed 's/^/| /' conftest.$ac_ext >&5
1.4692 +
1.4693 +ac_header_compiler=no
1.4694 +fi
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.4698 +
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.4703 +/* confdefs.h. */
1.4704 +_ACEOF
1.4705 +cat confdefs.h >>conftest.$ac_ext
1.4706 +cat >>conftest.$ac_ext <<_ACEOF
1.4707 +/* end confdefs.h. */
1.4708 +#include <libintl.h>
1.4709 +_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.4712 + ac_status=$?
1.4713 + grep -v '^ *+' conftest.er1 >conftest.err
1.4714 + rm -f conftest.er1
1.4715 + cat conftest.err >&5
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.4721 + else
1.4722 + ac_cpp_err=
1.4723 + fi
1.4724 +else
1.4725 + ac_cpp_err=yes
1.4726 +fi
1.4727 +if test -z "$ac_cpp_err"; then
1.4728 + ac_header_preproc=yes
1.4729 +else
1.4730 + echo "$as_me: failed program was:" >&5
1.4731 +sed 's/^/| /' conftest.$ac_ext >&5
1.4732 +
1.4733 + ac_header_preproc=no
1.4734 +fi
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.4738 +
1.4739 +# So? What about this header?
1.4740 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
1.4741 + yes:no: )
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.4747 + ;;
1.4748 + no: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.4761 + (
1.4762 + cat <<\_ASBOX
1.4763 +## ------------------------------------------ ##
1.4764 +## Report this to the AC_PACKAGE_NAME lists. ##
1.4765 +## ------------------------------------------ ##
1.4766 +_ASBOX
1.4767 + ) |
1.4768 + sed "s/^/$as_me: WARNING: /" >&2
1.4769 + ;;
1.4770 +esac
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.4775 +else
1.4776 + ac_cv_header_libintl_h=$ac_header_preproc
1.4777 +fi
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.4780 +
1.4781 +fi
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.4785 +
1.4786 + #
1.4787 + # First check in libc
1.4788 + #
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.4793 +else
1.4794 + cat >conftest.$ac_ext <<_ACEOF
1.4795 +/* confdefs.h. */
1.4796 +_ACEOF
1.4797 +cat confdefs.h >>conftest.$ac_ext
1.4798 +cat >>conftest.$ac_ext <<_ACEOF
1.4799 +/* end confdefs.h. */
1.4800 +
1.4801 +#include <libintl.h>
1.4802 +
1.4803 +int
1.4804 +main ()
1.4805 +{
1.4806 +return (int) dgettext ("","")
1.4807 + ;
1.4808 + return 0;
1.4809 +}
1.4810 +_ACEOF
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.4814 + ac_status=$?
1.4815 + grep -v '^ *+' conftest.er1 >conftest.err
1.4816 + rm -f conftest.er1
1.4817 + cat conftest.err >&5
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.4822 + (eval $ac_try) 2>&5
1.4823 + ac_status=$?
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.4828 + (eval $ac_try) 2>&5
1.4829 + ac_status=$?
1.4830 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4831 + (exit $ac_status); }; }; then
1.4832 + gt_cv_func_dgettext_libc=yes
1.4833 +else
1.4834 + echo "$as_me: failed program was:" >&5
1.4835 +sed 's/^/| /' conftest.$ac_ext >&5
1.4836 +
1.4837 +gt_cv_func_dgettext_libc=no
1.4838 +fi
1.4839 +rm -f conftest.err conftest.$ac_objext \
1.4840 + conftest$ac_exeext conftest.$ac_ext
1.4841 +
1.4842 +fi
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.4845 +
1.4846 + if test "$gt_cv_func_dgettext_libc" = "yes" ; then
1.4847 +
1.4848 +for ac_func in bind_textdomain_codeset
1.4849 +do
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.4855 +else
1.4856 + cat >conftest.$ac_ext <<_ACEOF
1.4857 +/* confdefs.h. */
1.4858 +_ACEOF
1.4859 +cat confdefs.h >>conftest.$ac_ext
1.4860 +cat >>conftest.$ac_ext <<_ACEOF
1.4861 +/* end confdefs.h. */
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.4865 +
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.4870 +
1.4871 +#ifdef __STDC__
1.4872 +# include <limits.h>
1.4873 +#else
1.4874 +# include <assert.h>
1.4875 +#endif
1.4876 +
1.4877 +#undef $ac_func
1.4878 +
1.4879 +/* Override any gcc2 internal prototype to avoid an error. */
1.4880 +#ifdef __cplusplus
1.4881 +extern "C"
1.4882 +{
1.4883 +#endif
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.4886 +char $ac_func ();
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.4891 +choke me
1.4892 +#else
1.4893 +char (*f) () = $ac_func;
1.4894 +#endif
1.4895 +#ifdef __cplusplus
1.4896 +}
1.4897 +#endif
1.4898 +
1.4899 +int
1.4900 +main ()
1.4901 +{
1.4902 +return f != $ac_func;
1.4903 + ;
1.4904 + return 0;
1.4905 +}
1.4906 +_ACEOF
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.4910 + ac_status=$?
1.4911 + grep -v '^ *+' conftest.er1 >conftest.err
1.4912 + rm -f conftest.er1
1.4913 + cat conftest.err >&5
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.4918 + (eval $ac_try) 2>&5
1.4919 + ac_status=$?
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.4924 + (eval $ac_try) 2>&5
1.4925 + ac_status=$?
1.4926 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4927 + (exit $ac_status); }; }; then
1.4928 + eval "$as_ac_var=yes"
1.4929 +else
1.4930 + echo "$as_me: failed program was:" >&5
1.4931 +sed 's/^/| /' conftest.$ac_ext >&5
1.4932 +
1.4933 +eval "$as_ac_var=no"
1.4934 +fi
1.4935 +rm -f conftest.err conftest.$ac_objext \
1.4936 + conftest$ac_exeext conftest.$ac_ext
1.4937 +fi
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.4943 +_ACEOF
1.4944 +
1.4945 +fi
1.4946 +done
1.4947 +
1.4948 + fi
1.4949 +
1.4950 + #
1.4951 + # If we don't have everything we want, check in libintl
1.4952 + #
1.4953 + if test "$gt_cv_func_dgettext_libc" != "yes" \
1.4954 + || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
1.4955 +
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.4960 +else
1.4961 + ac_check_lib_save_LIBS=$LIBS
1.4962 +LIBS="-lintl $LIBS"
1.4963 +cat >conftest.$ac_ext <<_ACEOF
1.4964 +/* confdefs.h. */
1.4965 +_ACEOF
1.4966 +cat confdefs.h >>conftest.$ac_ext
1.4967 +cat >>conftest.$ac_ext <<_ACEOF
1.4968 +/* end confdefs.h. */
1.4969 +
1.4970 +/* Override any gcc2 internal prototype to avoid an error. */
1.4971 +#ifdef __cplusplus
1.4972 +extern "C"
1.4973 +#endif
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.4977 +int
1.4978 +main ()
1.4979 +{
1.4980 +bindtextdomain ();
1.4981 + ;
1.4982 + return 0;
1.4983 +}
1.4984 +_ACEOF
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.4988 + ac_status=$?
1.4989 + grep -v '^ *+' conftest.er1 >conftest.err
1.4990 + rm -f conftest.er1
1.4991 + cat conftest.err >&5
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.4996 + (eval $ac_try) 2>&5
1.4997 + ac_status=$?
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.5002 + (eval $ac_try) 2>&5
1.5003 + ac_status=$?
1.5004 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5005 + (exit $ac_status); }; }; then
1.5006 + ac_cv_lib_intl_bindtextdomain=yes
1.5007 +else
1.5008 + echo "$as_me: failed program was:" >&5
1.5009 +sed 's/^/| /' conftest.$ac_ext >&5
1.5010 +
1.5011 +ac_cv_lib_intl_bindtextdomain=no
1.5012 +fi
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.5016 +fi
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.5024 +else
1.5025 + ac_check_lib_save_LIBS=$LIBS
1.5026 +LIBS="-lintl $LIBS"
1.5027 +cat >conftest.$ac_ext <<_ACEOF
1.5028 +/* confdefs.h. */
1.5029 +_ACEOF
1.5030 +cat confdefs.h >>conftest.$ac_ext
1.5031 +cat >>conftest.$ac_ext <<_ACEOF
1.5032 +/* end confdefs.h. */
1.5033 +
1.5034 +/* Override any gcc2 internal prototype to avoid an error. */
1.5035 +#ifdef __cplusplus
1.5036 +extern "C"
1.5037 +#endif
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.5040 +char dgettext ();
1.5041 +int
1.5042 +main ()
1.5043 +{
1.5044 +dgettext ();
1.5045 + ;
1.5046 + return 0;
1.5047 +}
1.5048 +_ACEOF
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.5052 + ac_status=$?
1.5053 + grep -v '^ *+' conftest.er1 >conftest.err
1.5054 + rm -f conftest.er1
1.5055 + cat conftest.err >&5
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.5060 + (eval $ac_try) 2>&5
1.5061 + ac_status=$?
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.5066 + (eval $ac_try) 2>&5
1.5067 + ac_status=$?
1.5068 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5069 + (exit $ac_status); }; }; then
1.5070 + ac_cv_lib_intl_dgettext=yes
1.5071 +else
1.5072 + echo "$as_me: failed program was:" >&5
1.5073 +sed 's/^/| /' conftest.$ac_ext >&5
1.5074 +
1.5075 +ac_cv_lib_intl_dgettext=no
1.5076 +fi
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.5080 +fi
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.5085 +fi
1.5086 +
1.5087 +fi
1.5088 +
1.5089 +
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.5094 +echo "${ECHO_T}" >&6
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.5099 +else
1.5100 + ac_check_lib_save_LIBS=$LIBS
1.5101 +LIBS="-lintl -liconv $LIBS"
1.5102 +cat >conftest.$ac_ext <<_ACEOF
1.5103 +/* confdefs.h. */
1.5104 +_ACEOF
1.5105 +cat confdefs.h >>conftest.$ac_ext
1.5106 +cat >>conftest.$ac_ext <<_ACEOF
1.5107 +/* end confdefs.h. */
1.5108 +
1.5109 +/* Override any gcc2 internal prototype to avoid an error. */
1.5110 +#ifdef __cplusplus
1.5111 +extern "C"
1.5112 +#endif
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.5115 +char dcgettext ();
1.5116 +int
1.5117 +main ()
1.5118 +{
1.5119 +dcgettext ();
1.5120 + ;
1.5121 + return 0;
1.5122 +}
1.5123 +_ACEOF
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.5127 + ac_status=$?
1.5128 + grep -v '^ *+' conftest.er1 >conftest.err
1.5129 + rm -f conftest.er1
1.5130 + cat conftest.err >&5
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.5135 + (eval $ac_try) 2>&5
1.5136 + ac_status=$?
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.5141 + (eval $ac_try) 2>&5
1.5142 + ac_status=$?
1.5143 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5144 + (exit $ac_status); }; }; then
1.5145 + ac_cv_lib_intl_dcgettext=yes
1.5146 +else
1.5147 + echo "$as_me: failed program was:" >&5
1.5148 +sed 's/^/| /' conftest.$ac_ext >&5
1.5149 +
1.5150 +ac_cv_lib_intl_dcgettext=no
1.5151 +fi
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.5155 +fi
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.5161 +else
1.5162 + :
1.5163 +fi
1.5164 +
1.5165 + fi
1.5166 +
1.5167 + #
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.5171 + #
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.5176 +
1.5177 +for ac_func in bind_textdomain_codeset
1.5178 +do
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.5184 +else
1.5185 + cat >conftest.$ac_ext <<_ACEOF
1.5186 +/* confdefs.h. */
1.5187 +_ACEOF
1.5188 +cat confdefs.h >>conftest.$ac_ext
1.5189 +cat >>conftest.$ac_ext <<_ACEOF
1.5190 +/* end confdefs.h. */
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.5194 +
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.5199 +
1.5200 +#ifdef __STDC__
1.5201 +# include <limits.h>
1.5202 +#else
1.5203 +# include <assert.h>
1.5204 +#endif
1.5205 +
1.5206 +#undef $ac_func
1.5207 +
1.5208 +/* Override any gcc2 internal prototype to avoid an error. */
1.5209 +#ifdef __cplusplus
1.5210 +extern "C"
1.5211 +{
1.5212 +#endif
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.5215 +char $ac_func ();
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.5220 +choke me
1.5221 +#else
1.5222 +char (*f) () = $ac_func;
1.5223 +#endif
1.5224 +#ifdef __cplusplus
1.5225 +}
1.5226 +#endif
1.5227 +
1.5228 +int
1.5229 +main ()
1.5230 +{
1.5231 +return f != $ac_func;
1.5232 + ;
1.5233 + return 0;
1.5234 +}
1.5235 +_ACEOF
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.5239 + ac_status=$?
1.5240 + grep -v '^ *+' conftest.er1 >conftest.err
1.5241 + rm -f conftest.er1
1.5242 + cat conftest.err >&5
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.5247 + (eval $ac_try) 2>&5
1.5248 + ac_status=$?
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.5253 + (eval $ac_try) 2>&5
1.5254 + ac_status=$?
1.5255 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5256 + (exit $ac_status); }; }; then
1.5257 + eval "$as_ac_var=yes"
1.5258 +else
1.5259 + echo "$as_me: failed program was:" >&5
1.5260 +sed 's/^/| /' conftest.$ac_ext >&5
1.5261 +
1.5262 +eval "$as_ac_var=no"
1.5263 +fi
1.5264 +rm -f conftest.err conftest.$ac_objext \
1.5265 + conftest$ac_exeext conftest.$ac_ext
1.5266 +fi
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.5272 +_ACEOF
1.5273 +
1.5274 +fi
1.5275 +done
1.5276 +
1.5277 + LIBS="$glib_save_LIBS"
1.5278 +
1.5279 + if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
1.5280 + gt_cv_func_dgettext_libc=no
1.5281 + else
1.5282 + if test "$gt_cv_func_dgettext_libc" = "yes"; then
1.5283 + gt_cv_func_dgettext_libintl=no
1.5284 + fi
1.5285 + fi
1.5286 + fi
1.5287 + fi
1.5288 +
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.5292 + fi
1.5293 +
1.5294 + if test "$gt_cv_func_dgettext_libintl" = "yes"; then
1.5295 + INTLLIBS="-lintl $libintl_extra_libs"
1.5296 + fi
1.5297 +
1.5298 + if test "$gt_cv_have_gettext" = "yes"; then
1.5299 +
1.5300 +cat >>confdefs.h <<\_ACEOF
1.5301 +#define HAVE_GETTEXT 1
1.5302 +_ACEOF
1.5303 +
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.5310 +else
1.5311 + case "$MSGFMT" in
1.5312 + /*)
1.5313 + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
1.5314 + ;;
1.5315 + *)
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.5322 + break
1.5323 + fi
1.5324 + fi
1.5325 + done
1.5326 + IFS="$ac_save_ifs"
1.5327 + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
1.5328 + ;;
1.5329 +esac
1.5330 +fi
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.5335 +else
1.5336 + echo "$as_me:$LINENO: result: no" >&5
1.5337 +echo "${ECHO_T}no" >&6
1.5338 +fi
1.5339 + if test "$MSGFMT" != "no"; then
1.5340 + glib_save_LIBS="$LIBS"
1.5341 + LIBS="$LIBS $INTLLIBS"
1.5342 +
1.5343 +for ac_func in dcgettext
1.5344 +do
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.5350 +else
1.5351 + cat >conftest.$ac_ext <<_ACEOF
1.5352 +/* confdefs.h. */
1.5353 +_ACEOF
1.5354 +cat confdefs.h >>conftest.$ac_ext
1.5355 +cat >>conftest.$ac_ext <<_ACEOF
1.5356 +/* end confdefs.h. */
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.5360 +
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.5365 +
1.5366 +#ifdef __STDC__
1.5367 +# include <limits.h>
1.5368 +#else
1.5369 +# include <assert.h>
1.5370 +#endif
1.5371 +
1.5372 +#undef $ac_func
1.5373 +
1.5374 +/* Override any gcc2 internal prototype to avoid an error. */
1.5375 +#ifdef __cplusplus
1.5376 +extern "C"
1.5377 +{
1.5378 +#endif
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.5381 +char $ac_func ();
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.5386 +choke me
1.5387 +#else
1.5388 +char (*f) () = $ac_func;
1.5389 +#endif
1.5390 +#ifdef __cplusplus
1.5391 +}
1.5392 +#endif
1.5393 +
1.5394 +int
1.5395 +main ()
1.5396 +{
1.5397 +return f != $ac_func;
1.5398 + ;
1.5399 + return 0;
1.5400 +}
1.5401 +_ACEOF
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.5405 + ac_status=$?
1.5406 + grep -v '^ *+' conftest.er1 >conftest.err
1.5407 + rm -f conftest.er1
1.5408 + cat conftest.err >&5
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.5413 + (eval $ac_try) 2>&5
1.5414 + ac_status=$?
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.5419 + (eval $ac_try) 2>&5
1.5420 + ac_status=$?
1.5421 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5422 + (exit $ac_status); }; }; then
1.5423 + eval "$as_ac_var=yes"
1.5424 +else
1.5425 + echo "$as_me: failed program was:" >&5
1.5426 +sed 's/^/| /' conftest.$ac_ext >&5
1.5427 +
1.5428 +eval "$as_ac_var=no"
1.5429 +fi
1.5430 +rm -f conftest.err conftest.$ac_objext \
1.5431 + conftest$ac_exeext conftest.$ac_ext
1.5432 +fi
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.5438 +_ACEOF
1.5439 +
1.5440 +fi
1.5441 +done
1.5442 +
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.5449 +else
1.5450 + case $GMSGFMT in
1.5451 + [\\/]* | ?:[\\/]*)
1.5452 + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
1.5453 + ;;
1.5454 + *)
1.5455 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5456 +for as_dir in $PATH
1.5457 +do
1.5458 + IFS=$as_save_IFS
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.5464 + break 2
1.5465 + fi
1.5466 +done
1.5467 +done
1.5468 +
1.5469 + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
1.5470 + ;;
1.5471 +esac
1.5472 +fi
1.5473 +GMSGFMT=$ac_cv_path_GMSGFMT
1.5474 +
1.5475 +if test -n "$GMSGFMT"; then
1.5476 + echo "$as_me:$LINENO: result: $GMSGFMT" >&5
1.5477 +echo "${ECHO_T}$GMSGFMT" >&6
1.5478 +else
1.5479 + echo "$as_me:$LINENO: result: no" >&5
1.5480 +echo "${ECHO_T}no" >&6
1.5481 +fi
1.5482 +
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.5489 +else
1.5490 + case "$XGETTEXT" in
1.5491 + /*)
1.5492 + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
1.5493 + ;;
1.5494 + *)
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.5501 + break
1.5502 + fi
1.5503 + fi
1.5504 + done
1.5505 + IFS="$ac_save_ifs"
1.5506 + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
1.5507 + ;;
1.5508 +esac
1.5509 +fi
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.5514 +else
1.5515 + echo "$as_me:$LINENO: result: no" >&5
1.5516 +echo "${ECHO_T}no" >&6
1.5517 +fi
1.5518 +
1.5519 + cat >conftest.$ac_ext <<_ACEOF
1.5520 +/* confdefs.h. */
1.5521 +_ACEOF
1.5522 +cat confdefs.h >>conftest.$ac_ext
1.5523 +cat >>conftest.$ac_ext <<_ACEOF
1.5524 +/* end confdefs.h. */
1.5525 +
1.5526 +int
1.5527 +main ()
1.5528 +{
1.5529 +extern int _nl_msg_cat_cntr;
1.5530 + return _nl_msg_cat_cntr
1.5531 + ;
1.5532 + return 0;
1.5533 +}
1.5534 +_ACEOF
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.5538 + ac_status=$?
1.5539 + grep -v '^ *+' conftest.er1 >conftest.err
1.5540 + rm -f conftest.er1
1.5541 + cat conftest.err >&5
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.5546 + (eval $ac_try) 2>&5
1.5547 + ac_status=$?
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.5552 + (eval $ac_try) 2>&5
1.5553 + ac_status=$?
1.5554 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5555 + (exit $ac_status); }; }; then
1.5556 + CATOBJEXT=.gmo
1.5557 + DATADIRNAME=share
1.5558 +else
1.5559 + echo "$as_me: failed program was:" >&5
1.5560 +sed 's/^/| /' conftest.$ac_ext >&5
1.5561 +
1.5562 +case $host in
1.5563 + *-*-solaris*)
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.5568 +else
1.5569 + cat >conftest.$ac_ext <<_ACEOF
1.5570 +/* confdefs.h. */
1.5571 +_ACEOF
1.5572 +cat confdefs.h >>conftest.$ac_ext
1.5573 +cat >>conftest.$ac_ext <<_ACEOF
1.5574 +/* end confdefs.h. */
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.5578 +
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.5583 +
1.5584 +#ifdef __STDC__
1.5585 +# include <limits.h>
1.5586 +#else
1.5587 +# include <assert.h>
1.5588 +#endif
1.5589 +
1.5590 +#undef bind_textdomain_codeset
1.5591 +
1.5592 +/* Override any gcc2 internal prototype to avoid an error. */
1.5593 +#ifdef __cplusplus
1.5594 +extern "C"
1.5595 +{
1.5596 +#endif
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.5604 +choke me
1.5605 +#else
1.5606 +char (*f) () = bind_textdomain_codeset;
1.5607 +#endif
1.5608 +#ifdef __cplusplus
1.5609 +}
1.5610 +#endif
1.5611 +
1.5612 +int
1.5613 +main ()
1.5614 +{
1.5615 +return f != bind_textdomain_codeset;
1.5616 + ;
1.5617 + return 0;
1.5618 +}
1.5619 +_ACEOF
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.5623 + ac_status=$?
1.5624 + grep -v '^ *+' conftest.er1 >conftest.err
1.5625 + rm -f conftest.er1
1.5626 + cat conftest.err >&5
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.5631 + (eval $ac_try) 2>&5
1.5632 + ac_status=$?
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.5637 + (eval $ac_try) 2>&5
1.5638 + ac_status=$?
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.5642 +else
1.5643 + echo "$as_me: failed program was:" >&5
1.5644 +sed 's/^/| /' conftest.$ac_ext >&5
1.5645 +
1.5646 +ac_cv_func_bind_textdomain_codeset=no
1.5647 +fi
1.5648 +rm -f conftest.err conftest.$ac_objext \
1.5649 + conftest$ac_exeext conftest.$ac_ext
1.5650 +fi
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.5654 + CATOBJEXT=.gmo
1.5655 + DATADIRNAME=share
1.5656 +else
1.5657 + CATOBJEXT=.mo
1.5658 + DATADIRNAME=lib
1.5659 +fi
1.5660 +
1.5661 + ;;
1.5662 + *)
1.5663 + CATOBJEXT=.mo
1.5664 + DATADIRNAME=lib
1.5665 + ;;
1.5666 + esac
1.5667 +fi
1.5668 +rm -f conftest.err conftest.$ac_objext \
1.5669 + conftest$ac_exeext conftest.$ac_ext
1.5670 + LIBS="$glib_save_LIBS"
1.5671 + INSTOBJEXT=.mo
1.5672 + else
1.5673 + gt_cv_have_gettext=no
1.5674 + fi
1.5675 + fi
1.5676 +
1.5677 +fi
1.5678 +
1.5679 +
1.5680 +
1.5681 + if test "$gt_cv_have_gettext" = "yes" ; then
1.5682 +
1.5683 +cat >>confdefs.h <<\_ACEOF
1.5684 +#define ENABLE_NLS 1
1.5685 +_ACEOF
1.5686 +
1.5687 + fi
1.5688 +
1.5689 + if test "$XGETTEXT" != ":"; then
1.5690 + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
1.5691 + : ;
1.5692 + else
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.5695 + XGETTEXT=":"
1.5696 + fi
1.5697 + fi
1.5698 +
1.5699 + # We need to process the po/ directory.
1.5700 + POSUB=po
1.5701 +
1.5702 + ac_config_commands="$ac_config_commands default-1"
1.5703 +
1.5704 +
1.5705 + for lang in $ALL_LINGUAS; do
1.5706 + GMOFILES="$GMOFILES $lang.gmo"
1.5707 + POFILES="$POFILES $lang.po"
1.5708 + done
1.5709 +
1.5710 +
1.5711 +
1.5712 +
1.5713 +
1.5714 +
1.5715 +
1.5716 +
1.5717 +
1.5718 +
1.5719 +
1.5720 +
1.5721 +
1.5722 + if test "$gt_cv_have_gettext" = "yes"; then
1.5723 + if test "x$ALL_LINGUAS" = "x"; then
1.5724 + LINGUAS=
1.5725 + else
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.5728 + NEW_LINGUAS=
1.5729 + for presentlang in $ALL_LINGUAS; do
1.5730 + useit=no
1.5731 + if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
1.5732 + desiredlanguages="$LINGUAS"
1.5733 + else
1.5734 + desiredlanguages="$ALL_LINGUAS"
1.5735 + fi
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.5744 + esac
1.5745 + done
1.5746 + if test $useit = yes; then
1.5747 + NEW_LINGUAS="$NEW_LINGUAS $presentlang"
1.5748 + fi
1.5749 + done
1.5750 + LINGUAS=$NEW_LINGUAS
1.5751 + echo "$as_me:$LINENO: result: $LINGUAS" >&5
1.5752 +echo "${ECHO_T}$LINGUAS" >&6
1.5753 + fi
1.5754 +
1.5755 + if test -n "$LINGUAS"; then
1.5756 + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
1.5757 + fi
1.5758 + fi
1.5759 +
1.5760 + MKINSTALLDIRS=
1.5761 + if test -n "$ac_aux_dir"; then
1.5762 + MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
1.5763 + fi
1.5764 + if test -z "$MKINSTALLDIRS"; then
1.5765 + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
1.5766 + fi
1.5767 +
1.5768 +
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.5773 + else
1.5774 + posrcprefix="../$srcdir/"
1.5775 + fi
1.5776 + else
1.5777 + posrcprefix="../"
1.5778 + fi
1.5779 + rm -f po/POTFILES
1.5780 + sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
1.5781 + < $srcdir/po/POTFILES.in > po/POTFILES
1.5782 +
1.5783 +
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.5791 +#
1.5792 +# config.status only pays attention to the cache file if you give it
1.5793 +# the --recheck option to rerun configure.
1.5794 +#
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.5797 +# following values.
1.5798 +
1.5799 +_ACEOF
1.5800 +
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.5806 +{
1.5807 + (set) 2>&1 |
1.5808 + case `(ac_space=' '; set | grep ac_space) 2>&1` in
1.5809 + *ac_space=\ *)
1.5810 + # `set' does not quote correctly, so add quotes (double-quote
1.5811 + # substitution turns \\\\ into \\, and sed turns \\ into \).
1.5812 + sed -n \
1.5813 + "s/'/'\\\\''/g;
1.5814 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.5815 + ;;
1.5816 + *)
1.5817 + # `set' quotes correctly as required by POSIX, so do not add quotes.
1.5818 + sed -n \
1.5819 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.5820 + ;;
1.5821 + esac;
1.5822 +} |
1.5823 + sed '
1.5824 + t clear
1.5825 + : clear
1.5826 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1.5827 + t end
1.5828 + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1.5829 + : end' >>confcache
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.5834 + else
1.5835 + echo "not updating unwritable cache $cache_file"
1.5836 + fi
1.5837 +fi
1.5838 +rm -f confcache
1.5839 +
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.5843 +
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.5850 +s/:*\$(srcdir):*/:/;
1.5851 +s/:*\${srcdir}:*/:/;
1.5852 +s/:*@srcdir@:*/:/;
1.5853 +s/^\([^=]*=[ ]*\):*/\1/;
1.5854 +s/:*$//;
1.5855 +s/^[^=]*=[ ]*$//;
1.5856 +}'
1.5857 +fi
1.5858 +
1.5859 +DEFS=-DHAVE_CONFIG_H
1.5860 +
1.5861 +ac_libobjs=
1.5862 +ac_ltlibobjs=
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.5865 + ac_i=`echo "$ac_i" |
1.5866 + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1.5867 + # 2. Add them.
1.5868 + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1.5869 + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1.5870 +done
1.5871 +LIBOBJS=$ac_libobjs
1.5872 +
1.5873 +LTLIBOBJS=$ac_ltlibobjs
1.5874 +
1.5875 +
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.5882 +fi
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.5889 +fi
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.5896 +fi
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.5903 +fi
1.5904 +
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.5911 +#! $SHELL
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.5916 +
1.5917 +debug=false
1.5918 +ac_cs_recheck=false
1.5919 +ac_cs_silent=false
1.5920 +SHELL=\${CONFIG_SHELL-$SHELL}
1.5921 +_ACEOF
1.5922 +
1.5923 +cat >>$CONFIG_STATUS <<\_ACEOF
1.5924 +## --------------------- ##
1.5925 +## M4sh Initialization. ##
1.5926 +## --------------------- ##
1.5927 +
1.5928 +# Be Bourne compatible
1.5929 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1.5930 + emulate sh
1.5931 + NULLCMD=:
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.5936 + set -o posix
1.5937 +fi
1.5938 +DUALCASE=1; export DUALCASE # for MKS sh
1.5939 +
1.5940 +# Support unset when possible.
1.5941 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.5942 + as_unset=unset
1.5943 +else
1.5944 + as_unset=false
1.5945 +fi
1.5946 +
1.5947 +
1.5948 +# Work around bugs in pre-3.0 UWIN ksh.
1.5949 +$as_unset ENV MAIL MAILPATH
1.5950 +PS1='$ '
1.5951 +PS2='> '
1.5952 +PS4='+ '
1.5953 +
1.5954 +# NLS nuisances.
1.5955 +for as_var in \
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.5958 + LC_TELEPHONE LC_TIME
1.5959 +do
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.5962 + else
1.5963 + $as_unset $as_var
1.5964 + fi
1.5965 +done
1.5966 +
1.5967 +# Required to use basename.
1.5968 +if expr a : '\(a\)' >/dev/null 2>&1; then
1.5969 + as_expr=expr
1.5970 +else
1.5971 + as_expr=false
1.5972 +fi
1.5973 +
1.5974 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1.5975 + as_basename=basename
1.5976 +else
1.5977 + as_basename=false
1.5978 +fi
1.5979 +
1.5980 +
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.5987 +echo X/"$0" |
1.5988 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1.5989 + /^X\/\(\/\/\)$/{ s//\1/; q; }
1.5990 + /^X\/\(\/\).*/{ s//\1/; q; }
1.5991 + s/.*/./; q'`
1.5992 +
1.5993 +
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.6001 +
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.6006 + chmod +x conf$$.sh
1.6007 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1.6008 + PATH_SEPARATOR=';'
1.6009 + else
1.6010 + PATH_SEPARATOR=:
1.6011 + fi
1.6012 + rm -f conf$$.sh
1.6013 +fi
1.6014 +
1.6015 +
1.6016 + as_lineno_1=$LINENO
1.6017 + as_lineno_2=$LINENO
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.6022 + # relative or not.
1.6023 + case $0 in
1.6024 + *[\\/]* ) as_myself=$0 ;;
1.6025 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6026 +for as_dir in $PATH
1.6027 +do
1.6028 + IFS=$as_save_IFS
1.6029 + test -z "$as_dir" && as_dir=.
1.6030 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1.6031 +done
1.6032 +
1.6033 + ;;
1.6034 + esac
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.6038 + as_myself=$0
1.6039 + fi
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.6044 + fi
1.6045 + case $CONFIG_SHELL in
1.6046 + '')
1.6047 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6048 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.6049 +do
1.6050 + IFS=$as_save_IFS
1.6051 + test -z "$as_dir" && as_dir=.
1.6052 + for as_base in sh bash ksh sh5; do
1.6053 + case $as_dir in
1.6054 + /*)
1.6055 + if ("$as_dir/$as_base" -c '
1.6056 + as_lineno_1=$LINENO
1.6057 + as_lineno_2=$LINENO
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.6064 + export CONFIG_SHELL
1.6065 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1.6066 + fi;;
1.6067 + esac
1.6068 + done
1.6069 +done
1.6070 +;;
1.6071 + esac
1.6072 +
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.6082 + sed '
1.6083 + N
1.6084 + s,$,-,
1.6085 + : loop
1.6086 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1.6087 + t loop
1.6088 + s,-$,,
1.6089 + s,^['$as_cr_digits']*\n,,
1.6090 + ' >$as_me.lineno &&
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.6095 +
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.6099 + . ./$as_me.lineno
1.6100 + # Exit status is that of the last command.
1.6101 + exit
1.6102 +}
1.6103 +
1.6104 +
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.6107 +' ECHO_T=' ' ;;
1.6108 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1.6109 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1.6110 +esac
1.6111 +
1.6112 +if expr a : '\(a\)' >/dev/null 2>&1; then
1.6113 + as_expr=expr
1.6114 +else
1.6115 + as_expr=false
1.6116 +fi
1.6117 +
1.6118 +rm -f conf$$ conf$$.exe conf$$.file
1.6119 +echo >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.6125 + as_ln_s='cp -p'
1.6126 + else
1.6127 + as_ln_s='ln -s'
1.6128 + fi
1.6129 +elif ln conf$$.file conf$$ 2>/dev/null; then
1.6130 + as_ln_s=ln
1.6131 +else
1.6132 + as_ln_s='cp -p'
1.6133 +fi
1.6134 +rm -f conf$$ conf$$.exe conf$$.file
1.6135 +
1.6136 +if mkdir -p . 2>/dev/null; then
1.6137 + as_mkdir_p=:
1.6138 +else
1.6139 + test -d ./-p && rmdir ./-p
1.6140 + as_mkdir_p=false
1.6141 +fi
1.6142 +
1.6143 +as_executable_p="test -f"
1.6144 +
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.6147 +
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.6150 +
1.6151 +
1.6152 +# IFS
1.6153 +# We need space, tab and new line, in precisely that order.
1.6154 +as_nl='
1.6155 +'
1.6156 +IFS=" $as_nl"
1.6157 +
1.6158 +# CDPATH.
1.6159 +$as_unset CDPATH
1.6160 +
1.6161 +exec 6>&1
1.6162 +
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.6166 +exec 5>>config.log
1.6167 +{
1.6168 + echo
1.6169 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1.6170 +## Running $as_me. ##
1.6171 +_ASBOX
1.6172 +} >&5
1.6173 +cat >&5 <<_CSEOF
1.6174 +
1.6175 +This file was extended by $as_me, which was
1.6176 +generated by GNU Autoconf 2.59. Invocation command line was
1.6177 +
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.6182 + $ $0 $@
1.6183 +
1.6184 +_CSEOF
1.6185 +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1.6186 +echo >&5
1.6187 +_ACEOF
1.6188 +
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.6192 +fi
1.6193 +
1.6194 +if test -n "$ac_config_headers"; then
1.6195 + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1.6196 +fi
1.6197 +
1.6198 +if test -n "$ac_config_links"; then
1.6199 + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1.6200 +fi
1.6201 +
1.6202 +if test -n "$ac_config_commands"; then
1.6203 + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1.6204 +fi
1.6205 +
1.6206 +cat >>$CONFIG_STATUS <<\_ACEOF
1.6207 +
1.6208 +ac_cs_usage="\
1.6209 +\`$as_me' instantiates files from templates according to the
1.6210 +current configuration.
1.6211 +
1.6212 +Usage: $0 [OPTIONS] [FILE]...
1.6213 +
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.6223 +
1.6224 +Configuration files:
1.6225 +$config_files
1.6226 +
1.6227 +Configuration headers:
1.6228 +$config_headers
1.6229 +
1.6230 +Configuration commands:
1.6231 +$config_commands
1.6232 +
1.6233 +Report bugs to <bug-autoconf@gnu.org>."
1.6234 +_ACEOF
1.6235 +
1.6236 +cat >>$CONFIG_STATUS <<_ACEOF
1.6237 +ac_cs_version="\\
1.6238 +config.status
1.6239 +configured by $0, generated by GNU Autoconf 2.59,
1.6240 + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1.6241 +
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.6245 +srcdir=$srcdir
1.6246 +INSTALL="$INSTALL"
1.6247 +_ACEOF
1.6248 +
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.6252 +ac_need_defaults=:
1.6253 +while test $# != 0
1.6254 +do
1.6255 + case $1 in
1.6256 + --*=*)
1.6257 + ac_option=`expr "x$1" : 'x\([^=]*\)='`
1.6258 + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1.6259 + ac_shift=:
1.6260 + ;;
1.6261 + -*)
1.6262 + ac_option=$1
1.6263 + ac_optarg=$2
1.6264 + ac_shift=shift
1.6265 + ;;
1.6266 + *) # This is not an option, so the user has probably given explicit
1.6267 + # arguments.
1.6268 + ac_option=$1
1.6269 + ac_need_defaults=false;;
1.6270 + esac
1.6271 +
1.6272 + case $ac_option in
1.6273 + # Handling of the options.
1.6274 +_ACEOF
1.6275 +cat >>$CONFIG_STATUS <<\_ACEOF
1.6276 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.6277 + ac_cs_recheck=: ;;
1.6278 + --version | --vers* | -V )
1.6279 + echo "$ac_cs_version"; exit 0 ;;
1.6280 + --he | --h)
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.6290 + debug=: ;;
1.6291 + --file | --fil | --fi | --f )
1.6292 + $ac_shift
1.6293 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1.6294 + ac_need_defaults=false;;
1.6295 + --header | --heade | --head | --hea )
1.6296 + $ac_shift
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.6301 + ac_cs_silent=: ;;
1.6302 +
1.6303 + # This is an error.
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.6309 +
1.6310 + *) ac_config_targets="$ac_config_targets $1" ;;
1.6311 +
1.6312 + esac
1.6313 + shift
1.6314 +done
1.6315 +
1.6316 +ac_configure_extra_args=
1.6317 +
1.6318 +if $ac_cs_silent; then
1.6319 + exec 6>/dev/null
1.6320 + ac_configure_extra_args="$ac_configure_extra_args --silent"
1.6321 +fi
1.6322 +
1.6323 +_ACEOF
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.6328 +fi
1.6329 +
1.6330 +_ACEOF
1.6331 +
1.6332 +cat >>$CONFIG_STATUS <<_ACEOF
1.6333 +#
1.6334 +# INIT-COMMANDS section.
1.6335 +#
1.6336 +
1.6337 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
1.6338 +
1.6339 +
1.6340 +_ACEOF
1.6341 +
1.6342 +
1.6343 +
1.6344 +cat >>$CONFIG_STATUS <<\_ACEOF
1.6345 +for ac_config_target in $ac_config_targets
1.6346 +do
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.6358 + esac
1.6359 +done
1.6360 +
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.6369 +fi
1.6370 +
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.6375 +$debug ||
1.6376 +{
1.6377 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1.6378 + trap '{ (exit 1); exit 1; }' 1 2 13 15
1.6379 +}
1.6380 +
1.6381 +# Create a (secure) tmp directory for tmp files.
1.6382 +
1.6383 +{
1.6384 + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
1.6385 + test -n "$tmp" && test -d "$tmp"
1.6386 +} ||
1.6387 +{
1.6388 + tmp=./confstat$$-$RANDOM
1.6389 + (umask 077 && mkdir $tmp)
1.6390 +} ||
1.6391 +{
1.6392 + echo "$me: cannot create a temporary directory in ." >&2
1.6393 + { (exit 1); exit 1; }
1.6394 +}
1.6395 +
1.6396 +_ACEOF
1.6397 +
1.6398 +cat >>$CONFIG_STATUS <<_ACEOF
1.6399 +
1.6400 +#
1.6401 +# CONFIG_FILES section.
1.6402 +#
1.6403 +
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.6410 +s,@SHELL@,$SHELL,;t t
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.6435 +s,@DEFS@,$DEFS,;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.6439 +s,@LIBS@,$LIBS,;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.6451 +s,@AMTAR@,$AMTAR,;t t
1.6452 +s,@install_sh@,$install_sh,;t t
1.6453 +s,@STRIP@,$STRIP,;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.6456 +s,@AWK@,$AWK,;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.6461 +s,@MAINT@,$MAINT,;t t
1.6462 +s,@CC@,$CC,;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.6478 +s,@CPP@,$CPP,;t t
1.6479 +s,@EGREP@,$EGREP,;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.6497 +s,@POSUB@,$POSUB,;t t
1.6498 +s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
1.6499 +s,@LIBOBJS@,$LIBOBJS,;t t
1.6500 +s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.6501 +CEOF
1.6502 +
1.6503 +_ACEOF
1.6504 +
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.6508 + ac_max_sed_lines=48
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.6512 + ac_more_lines=:
1.6513 + ac_sed_cmds=
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.6517 + else
1.6518 + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1.6519 + fi
1.6520 + if test ! -s $tmp/subs.frag; then
1.6521 + ac_more_lines=false
1.6522 + else
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.6527 + (echo ':t
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.6531 + else
1.6532 + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1.6533 + fi
1.6534 + ac_sed_frag=`expr $ac_sed_frag + 1`
1.6535 + ac_beg=$ac_end
1.6536 + ac_end=`expr $ac_end + $ac_max_sed_lines`
1.6537 + fi
1.6538 + done
1.6539 + if test -z "$ac_sed_cmds"; then
1.6540 + ac_sed_cmds=cat
1.6541 + fi
1.6542 +fi # test -n "$CONFIG_FILES"
1.6543 +
1.6544 +_ACEOF
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.6548 + case $ac_file in
1.6549 + - | *:- | *:-:* ) # input from stdin
1.6550 + cat >$tmp/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.6556 + esac
1.6557 +
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.6565 +echo X"$ac_file" |
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.6570 + s/.*/./; q'`
1.6571 + { if $as_mkdir_p; then
1.6572 + mkdir -p "$ac_dir"
1.6573 + else
1.6574 + as_dir="$ac_dir"
1.6575 + as_dirs=
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.6584 +echo X"$as_dir" |
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.6589 + s/.*/./; q'`
1.6590 + done
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.6595 +
1.6596 + ac_builddir=.
1.6597 +
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.6602 +else
1.6603 + ac_dir_suffix= ac_top_builddir=
1.6604 +fi
1.6605 +
1.6606 +case $srcdir in
1.6607 + .) # No --srcdir option. We are building in place.
1.6608 + ac_srcdir=.
1.6609 + if test -z "$ac_top_builddir"; then
1.6610 + ac_top_srcdir=.
1.6611 + else
1.6612 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1.6613 + fi ;;
1.6614 + [\\/]* | ?:[\\/]* ) # Absolute path.
1.6615 + ac_srcdir=$srcdir$ac_dir_suffix;
1.6616 + ac_top_srcdir=$srcdir ;;
1.6617 + *) # Relative path.
1.6618 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1.6619 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
1.6620 +esac
1.6621 +
1.6622 +# Do not use `cd foo && pwd` to compute absolute paths, because
1.6623 +# the directories may not exist.
1.6624 +case `pwd` in
1.6625 +.) ac_abs_builddir="$ac_dir";;
1.6626 +*)
1.6627 + case "$ac_dir" in
1.6628 + .) ac_abs_builddir=`pwd`;;
1.6629 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1.6630 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
1.6631 + esac;;
1.6632 +esac
1.6633 +case $ac_abs_builddir in
1.6634 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
1.6635 +*)
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.6640 + esac;;
1.6641 +esac
1.6642 +case $ac_abs_builddir in
1.6643 +.) ac_abs_srcdir=$ac_srcdir;;
1.6644 +*)
1.6645 + case $ac_srcdir in
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.6649 + esac;;
1.6650 +esac
1.6651 +case $ac_abs_builddir in
1.6652 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
1.6653 +*)
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.6658 + esac;;
1.6659 +esac
1.6660 +
1.6661 +
1.6662 + case $INSTALL in
1.6663 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.6664 + *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.6665 + esac
1.6666 +
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.6671 + configure_input=
1.6672 + else
1.6673 + configure_input="$ac_file. "
1.6674 + fi
1.6675 + configure_input=$configure_input"Generated from `echo $ac_file_in |
1.6676 + sed 's,.*/,,'` by configure."
1.6677 +
1.6678 + # First look for the input files in the build tree, otherwise in the
1.6679 + # src tree.
1.6680 + ac_file_inputs=`IFS=:
1.6681 + for f in $ac_file_in; do
1.6682 + case $f in
1.6683 + -) echo $tmp/stdin ;;
1.6684 + [\\/$]*)
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.6689 + echo "$f";;
1.6690 + *) # Relative
1.6691 + if test -f "$f"; then
1.6692 + # Build tree
1.6693 + echo "$f"
1.6694 + elif test -f "$srcdir/$f"; then
1.6695 + # Source tree
1.6696 + echo "$srcdir/$f"
1.6697 + else
1.6698 + # /dev/null tree
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.6702 + fi;;
1.6703 + esac
1.6704 + done` || { (exit 1); exit 1; }
1.6705 +
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.6709 + rm -f "$ac_file"
1.6710 + fi
1.6711 +_ACEOF
1.6712 +cat >>$CONFIG_STATUS <<_ACEOF
1.6713 + sed "$ac_vpsub
1.6714 +$extrasub
1.6715 +_ACEOF
1.6716 +cat >>$CONFIG_STATUS <<\_ACEOF
1.6717 +:t
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.6730 + rm -f $tmp/stdin
1.6731 + if test x"$ac_file" != x-; then
1.6732 + mv $tmp/out $ac_file
1.6733 + else
1.6734 + cat $tmp/out
1.6735 + rm -f $tmp/out
1.6736 + fi
1.6737 +
1.6738 +done
1.6739 +_ACEOF
1.6740 +cat >>$CONFIG_STATUS <<\_ACEOF
1.6741 +
1.6742 +#
1.6743 +# CONFIG_HEADER section.
1.6744 +#
1.6745 +
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.6748 +#
1.6749 +# ac_d sets the value in "#define NAME VALUE" lines.
1.6750 +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1.6751 +ac_dB='[ ].*$,\1#\2'
1.6752 +ac_dC=' '
1.6753 +ac_dD=',;t'
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.6757 +ac_uC=' '
1.6758 +ac_uD=',;t'
1.6759 +
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.6762 + case $ac_file in
1.6763 + - | *:- | *:-:* ) # input from stdin
1.6764 + cat >$tmp/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.6770 + esac
1.6771 +
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.6774 +
1.6775 + # First look for the input files in the build tree, otherwise in the
1.6776 + # src tree.
1.6777 + ac_file_inputs=`IFS=:
1.6778 + for f in $ac_file_in; do
1.6779 + case $f in
1.6780 + -) echo $tmp/stdin ;;
1.6781 + [\\/$]*)
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.6787 + echo "$f";;
1.6788 + *) # Relative
1.6789 + if test -f "$f"; then
1.6790 + # Build tree
1.6791 + echo "$f"
1.6792 + elif test -f "$srcdir/$f"; then
1.6793 + # Source tree
1.6794 + echo "$srcdir/$f"
1.6795 + else
1.6796 + # /dev/null tree
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.6800 + fi;;
1.6801 + esac
1.6802 + done` || { (exit 1); exit 1; }
1.6803 + # Remove the trailing spaces.
1.6804 + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
1.6805 +
1.6806 +_ACEOF
1.6807 +
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.6814 +# in config.status.
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.6818 +#
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.6823 +s/[\\&,]/\\&/g
1.6824 +s,[\\$`],\\&,g
1.6825 +t clear
1.6826 +: clear
1.6827 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
1.6828 +t end
1.6829 +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
1.6830 +: end
1.6831 +_ACEOF
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.6837 +rm -f confdef2sed.sed
1.6838 +
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.6844 +_ACEOF
1.6845 +
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.6852 +rm -f conftest.tail
1.6853 +while grep . conftest.defines >/dev/null
1.6854 +do
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.6863 + echo 'CEOF
1.6864 + sed -f $tmp/defines.sed $tmp/in >$tmp/out
1.6865 + rm -f $tmp/in
1.6866 + mv $tmp/out $tmp/in
1.6867 +' >>$CONFIG_STATUS
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.6871 +done
1.6872 +rm -f conftest.defines
1.6873 +echo ' fi # grep' >>$CONFIG_STATUS
1.6874 +echo >>$CONFIG_STATUS
1.6875 +
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.6879 +rm -f conftest.tail
1.6880 +while grep . conftest.undefs >/dev/null
1.6881 +do
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.6890 + echo 'CEOF
1.6891 + sed -f $tmp/undefs.sed $tmp/in >$tmp/out
1.6892 + rm -f $tmp/in
1.6893 + mv $tmp/out $tmp/in
1.6894 +' >>$CONFIG_STATUS
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.6898 +done
1.6899 +rm -f conftest.undefs
1.6900 +
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.6907 + else
1.6908 + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
1.6909 + fi
1.6910 + cat $tmp/in >>$tmp/config.h
1.6911 + rm -f $tmp/in
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.6916 + else
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.6923 +echo X"$ac_file" |
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.6928 + s/.*/./; q'`
1.6929 + { if $as_mkdir_p; then
1.6930 + mkdir -p "$ac_dir"
1.6931 + else
1.6932 + as_dir="$ac_dir"
1.6933 + as_dirs=
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.6942 +echo X"$as_dir" |
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.6947 + s/.*/./; q'`
1.6948 + done
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.6953 +
1.6954 + rm -f $ac_file
1.6955 + mv $tmp/config.h $ac_file
1.6956 + fi
1.6957 + else
1.6958 + cat $tmp/config.h
1.6959 + rm -f $tmp/config.h
1.6960 + fi
1.6961 +# Compute $ac_file's index in $config_headers.
1.6962 +_am_stamp_count=1
1.6963 +for _am_header in $config_headers :; do
1.6964 + case $_am_header in
1.6965 + $ac_file | $ac_file:* )
1.6966 + break ;;
1.6967 + * )
1.6968 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1.6969 + esac
1.6970 +done
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.6977 +echo X$ac_file |
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.6983 +done
1.6984 +_ACEOF
1.6985 +cat >>$CONFIG_STATUS <<\_ACEOF
1.6986 +
1.6987 +#
1.6988 +# CONFIG_COMMANDS section.
1.6989 +#
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.6999 +echo X"$ac_dest" |
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.7004 + s/.*/./; q'`
1.7005 + { if $as_mkdir_p; then
1.7006 + mkdir -p "$ac_dir"
1.7007 + else
1.7008 + as_dir="$ac_dir"
1.7009 + as_dirs=
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.7018 +echo X"$as_dir" |
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.7023 + s/.*/./; q'`
1.7024 + done
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.7029 +
1.7030 + ac_builddir=.
1.7031 +
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.7036 +else
1.7037 + ac_dir_suffix= ac_top_builddir=
1.7038 +fi
1.7039 +
1.7040 +case $srcdir in
1.7041 + .) # No --srcdir option. We are building in place.
1.7042 + ac_srcdir=.
1.7043 + if test -z "$ac_top_builddir"; then
1.7044 + ac_top_srcdir=.
1.7045 + else
1.7046 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1.7047 + fi ;;
1.7048 + [\\/]* | ?:[\\/]* ) # Absolute path.
1.7049 + ac_srcdir=$srcdir$ac_dir_suffix;
1.7050 + ac_top_srcdir=$srcdir ;;
1.7051 + *) # Relative path.
1.7052 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1.7053 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
1.7054 +esac
1.7055 +
1.7056 +# Do not use `cd foo && pwd` to compute absolute paths, because
1.7057 +# the directories may not exist.
1.7058 +case `pwd` in
1.7059 +.) ac_abs_builddir="$ac_dir";;
1.7060 +*)
1.7061 + case "$ac_dir" in
1.7062 + .) ac_abs_builddir=`pwd`;;
1.7063 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1.7064 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
1.7065 + esac;;
1.7066 +esac
1.7067 +case $ac_abs_builddir in
1.7068 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
1.7069 +*)
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.7074 + esac;;
1.7075 +esac
1.7076 +case $ac_abs_builddir in
1.7077 +.) ac_abs_srcdir=$ac_srcdir;;
1.7078 +*)
1.7079 + case $ac_srcdir in
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.7083 + esac;;
1.7084 +esac
1.7085 +case $ac_abs_builddir in
1.7086 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
1.7087 +*)
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.7092 + esac;;
1.7093 +esac
1.7094 +
1.7095 +
1.7096 + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
1.7097 +echo "$as_me: executing $ac_dest commands" >&6;}
1.7098 + case $ac_dest in
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.7115 +echo X"$mf" |
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.7120 + s/.*/./; q'`
1.7121 + else
1.7122 + continue
1.7123 + fi
1.7124 + grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
1.7125 + # Extract the definition of DEP_FILES from the Makefile without
1.7126 + # running `make'.
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.7136 + s/^DEP_FILES = //
1.7137 + :loop
1.7138 + s/\\\\$//
1.7139 + p
1.7140 + n
1.7141 + /\\\\$/ b loop
1.7142 + p
1.7143 + }
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.7154 +echo X"$file" |
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.7159 + s/.*/./; q'`
1.7160 + { if $as_mkdir_p; then
1.7161 + mkdir -p $dirpart/$fdir
1.7162 + else
1.7163 + as_dir=$dirpart/$fdir
1.7164 + as_dirs=
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.7173 +echo X"$as_dir" |
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.7178 + s/.*/./; q'`
1.7179 + done
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.7184 +
1.7185 + # echo "creating $dirpart/$file"
1.7186 + echo '# dummy' > "$dirpart/$file"
1.7187 + done
1.7188 +done
1.7189 + ;;
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.7192 + esac ;;
1.7193 + esac
1.7194 +done
1.7195 +_ACEOF
1.7196 +
1.7197 +cat >>$CONFIG_STATUS <<\_ACEOF
1.7198 +
1.7199 +{ (exit 0); exit 0; }
1.7200 +_ACEOF
1.7201 +chmod +x $CONFIG_STATUS
1.7202 +ac_clean_files=$ac_clean_files_save
1.7203 +
1.7204 +
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.7214 + ac_cs_success=:
1.7215 + ac_config_status_args=
1.7216 + test "$silent" = yes &&
1.7217 + ac_config_status_args="$ac_config_status_args --quiet"
1.7218 + exec 5>/dev/null
1.7219 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.7220 + exec 5>>config.log
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; }
1.7224 +fi
1.7225 +
1.7226 +
.