configure revision 657ce0b9d84fbd66514df53d61a087e8f1161187
b227f89b8c13b15a9372ce56713c024f7f73be35Lubos Kosco# From configure.in Revision: 1.13
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen# Guess values for system-dependent variables and create Makefiles.
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen# Generated automatically using autoconf version 2.12
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
551b849ce88d596dc52dda2f78229a932b339c78Lubos Kosco# This configure script is free software; the Free Software Foundation
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen# gives unlimited permission to copy, distribute and modify it.
477c09a2656e6a2c1075425ad81e61d594164fa9Lubos Kosco# Any additions from configure.in:
bcae302a5f4b516d2f3c05f657df054e1a0efde7Knut Anders Hatlen# Initialize some variables set by options.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# The variables have the same names as the options, with
98774b0b90e4da0f3f2c5e4856bcbbf366ed0fe0Knut Anders Hatlen# dashes changed to underlines.
f9fd2b96d1c5ea62664f74da0e34a04b6511a8ffLubos Kosco# Initialize some other variables.
f9fd2b96d1c5ea62664f74da0e34a04b6511a8ffLubos Kosco# Maximum number of lines to put in a shell here document.
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen # If the previous option needs an argument, assign it.
bbb39d08c0e5b73c89ba813a7c1789842c60f961Lubos Kosco if test -n "$ac_prev"; then
2ba599c0d79caf59996d8b54a0490bb968442134Knut Anders Hatlen eval "$ac_prev=\$ac_option"
f9fd2b96d1c5ea62664f74da0e34a04b6511a8ffLubos Kosco -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye # Accept the important Cygnus configure options, so we can diagnose typos.
f9fd2b96d1c5ea62664f74da0e34a04b6511a8ffLubos Kosco -bindir | --bindir | --bindi | --bind | --bin | --bi)
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
4bb936310d8f131aa850821e9254ac14242c7f95Knut Anders Hatlen -build | --build | --buil | --bui | --bu)
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye -build=* | --build=* | --buil=* | --bui=* | --bu=*)
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye -cache-file | --cache-file | --cache-fil | --cache-fi \
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
87396bac3204b6788c817e19222626eefde8f3f0Knut Anders Hatlen -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye # Reject names that are not valid shell variable names.
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye eval "enable_${ac_feature}=no" ;;
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
c1f3e4e0a112250b8f94dde7b94a87a6a2d864b8Lubos Kosco # Reject names that are not valid shell variable names.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye eval "enable_${ac_feature}='$ac_optarg'" ;;
cat << EOF
cat << EOF
if test -n "$ac_help"; then
echo "--enable and --with options recognized:$ac_help"
eval "with_${ac_package}='$ac_optarg'" ;;
if test -n "$ac_prev"; then
# 5 compiler messages saved in config.log
for ac_arg
# because not all systems understand e.g. LANG=C (notably SCO).
# confdefs.h avoids OS command line length limits that DEFS can exceed.
echo > confdefs.h
if test -z "$srcdir"; then
srcdir=..
if test -z "$CONFIG_SITE"; then
if test -r "$ac_site_file"; then
echo "loading site script $ac_site_file"
. "$ac_site_file"
if test -r "$cache_file"; then
echo "loading cache $cache_file"
echo "creating cache $cache_file"
ac_ext=c
if test -z "$ac_aux_dir"; then
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
# Make sure we can run config.sub.
NONE)
NONE)
if test -n "$CC"; then
if test -n "$CC"; then
if test -z "$CC"; then
if test -n "$CC"; then
if test -n "$CC"; then
ac_ext=c
if { (eval echo configure:684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:704: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
if test "$ac_test_CFLAGS" = set; then
GCC=
CPP=
if test -z "$CPP"; then
if test -z "$ac_err"; then
if test -z "$ac_err"; then
if test -z "$ac_err"; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
if { (eval echo configure:903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if test -z "$ac_err"; then
eval "ac_cv_header_$ac_safe=yes"
eval "ac_cv_header_$ac_safe=no"
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
if { (eval echo configure:1171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:1520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
all:
if test -n "$ac_maketemp"; then
if test -n "$RANLIB"; then
if test -n "$RANLIB"; then
# ./install, which can be erroneously created by make from ./install.sh.
if test -z "$INSTALL"; then
# By default, configure uses ./config.cache as the cache file,
# config.status only pays attention to the cache file if you give it the
*ac_space=\ *)
sed -n \
esac >> confcache
if test -w $cache_file; then
echo "updating cache $cache_file"
echo "not updating unwritable cache $cache_file"
if test "x$srcdir" = x.; then
# Without the "./", some shells look in PATH for config.status.
while $ac_more_lines; do
ac_more_lines=false
if test -z "$ac_sed_cmds"; then
if test -z "$ac_sed_cmds"; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
.) srcdir=.
# $configure_input" ;;
*) ac_comsub= ;;
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
# Transform confdefs.h into a sed script conftest.vals that substitutes
# the proper values into config.h.in to produce config.h. And first:
# Protect against being on the right side of a sed subst in config.status.
# Protect against being in an unquoted here document in config.status.
sed -n -f conftest.hdr confdefs.h > conftest.vals
rm -f conftest.hdr
cat >> conftest.vals <<\EOF
# Break up conftest.vals because some shells have a limit on
rm -f conftest.tail
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
rm -f conftest.vals
rm -f conftest.vals
cat >> $CONFIG_STATUS <<\EOF
rm -f conftest.in
if cmp -s $ac_file conftest.h 2>/dev/null; then
rm -f conftest.h
cat >> $CONFIG_STATUS <<EOF
cat >> $CONFIG_STATUS <<\EOF