2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.57.
3
# Generated by GNU Autoconf 2.59.
5
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
# Free Software Foundation, Inc.
5
# Copyright (C) 2003 Free Software Foundation, Inc.
7
6
# This configure script is free software; the Free Software Foundation
8
7
# gives unlimited permission to copy, distribute and modify it.
9
8
## --------------------- ##
20
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
DUALCASE=1; export DUALCASE # for MKS sh
24
24
# Support unset when possible.
25
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
218
218
if mkdir -p . 2>/dev/null; then
221
test -d ./-p && rmdir ./-p
224
225
as_executable_p="test -f"
226
227
# Sed expression to map a string onto a valid CPP name.
227
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230
# Sed expression to map a string onto a valid variable name.
230
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
311
312
ac_subdirs_all="$ac_subdirs_all libfilter perlfilter"
312
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 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 LN_S RANLIB ac_ct_RANLIB PERL CPP EGREP NETLIBS piddir mailuid mailgid mailuser mailgroup subdirs HAVE_SGML_TRUE HAVE_SGML_FALSE LIBOBJS LTLIBOBJS'
313
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 mkdir_p AWK SET_MAKE am__leading_dot 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 LN_S RANLIB ac_ct_RANLIB PERL CPP EGREP NETLIBS piddir mailuid mailgid mailuser mailgroup subdirs HAVE_SGML_TRUE HAVE_SGML_FALSE LIBOBJS LTLIBOBJS'
313
314
ac_subst_files=''
315
316
# Initialize some variables set by options.
669
670
# Be sure to have absolute paths.
670
671
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671
localstatedir libdir includedir oldincludedir infodir mandir
672
localstatedir libdir includedir oldincludedir infodir mandir
673
674
eval ac_val=$`echo $ac_var`
708
709
# Try the directory containing this script, then its parent.
709
710
ac_confdir=`(dirname "$0") 2>/dev/null ||
710
711
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711
X"$0" : 'X\(//\)[^/]' \| \
712
X"$0" : 'X\(//\)$' \| \
713
X"$0" : 'X\(/\)' \| \
714
. : '\(.\)' 2>/dev/null ||
712
X"$0" : 'X\(//\)[^/]' \| \
713
X"$0" : 'X\(//\)$' \| \
714
X"$0" : 'X\(/\)' \| \
715
. : '\(.\)' 2>/dev/null ||
716
717
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717
718
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
804
805
Installation directories:
805
806
--prefix=PREFIX install architecture-independent files in PREFIX
807
808
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810
811
By default, \`make install' will install all the files in
811
812
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
845
846
Optional Features:
846
847
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
847
848
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
848
--disable-dependency-tracking Speeds up one-time builds
849
--enable-dependency-tracking Do not reject slow dependency extractors
849
--disable-dependency-tracking speeds up one-time build
850
--enable-dependency-tracking do not reject slow dependency extractors
851
852
Optional Packages:
852
853
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
899
900
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
900
901
ac_top_srcdir=$ac_top_builddir$srcdir ;;
902
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
904
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
905
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
906
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
907
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
904
# Do not use `cd foo && pwd` to compute absolute paths, because
905
# the directories may not exist.
907
.) ac_abs_builddir="$ac_dir";;
910
.) ac_abs_builddir=`pwd`;;
911
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
912
*) ac_abs_builddir=`pwd`/"$ac_dir";;
915
case $ac_abs_builddir in
916
.) ac_abs_top_builddir=${ac_top_builddir}.;;
918
case ${ac_top_builddir}. in
919
.) ac_abs_top_builddir=$ac_abs_builddir;;
920
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
921
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
924
case $ac_abs_builddir in
925
.) ac_abs_srcdir=$ac_srcdir;;
928
.) ac_abs_srcdir=$ac_abs_builddir;;
929
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
930
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
933
case $ac_abs_builddir in
934
.) ac_abs_top_srcdir=$ac_top_srcdir;;
936
case $ac_top_srcdir in
937
.) ac_abs_top_srcdir=$ac_abs_builddir;;
938
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
939
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
910
944
# Check for guested configure; otherwise get Cygnus style configure.
929
963
if $ac_init_version; then
932
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
933
Free Software Foundation, Inc.
966
Copyright (C) 2003 Free Software Foundation, Inc.
934
967
This configure script is free software; the Free Software Foundation
935
968
gives unlimited permission to copy, distribute and modify it.
942
975
running configure, to aid debugging if configure makes a mistake.
944
977
It was created by $as_me, which was
945
generated by GNU Autoconf 2.57. Invocation command line was
978
generated by GNU Autoconf 2.59. Invocation command line was
1020
1053
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1021
1054
if test $ac_must_keep_next = true; then
1022
ac_must_keep_next=false # Got value, back to normal.
1055
ac_must_keep_next=false # Got value, back to normal.
1025
*=* | --config-cache | -C | -disable-* | --disable-* \
1026
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1027
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1028
| -with-* | --with-* | -without-* | --without-* | --x)
1029
case "$ac_configure_args0 " in
1030
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1033
-* ) ac_must_keep_next=true ;;
1058
*=* | --config-cache | -C | -disable-* | --disable-* \
1059
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1060
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1061
| -with-* | --with-* | -without-* | --without-* | --x)
1062
case "$ac_configure_args0 " in
1063
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1066
-* ) ac_must_keep_next=true ;;
1036
1069
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1037
1070
# Get rid of the leading space.
1065
1098
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1068
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1069
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1101
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1102
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1073
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1106
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1199
1232
ac_cache_corrupted=false
1200
1233
for ac_var in `(set) 2>&1 |
1201
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1234
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1202
1235
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1203
1236
eval ac_new_set=\$ac_env_${ac_var}_set
1204
1237
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1217
1250
if test "x$ac_old_val" != "x$ac_new_val"; then
1218
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1251
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1219
1252
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1220
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1253
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1221
1254
echo "$as_me: former value: $ac_old_val" >&2;}
1222
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1255
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1223
1256
echo "$as_me: current value: $ac_new_val" >&2;}
1224
ac_cache_corrupted=:
1257
ac_cache_corrupted=:
1227
1260
# Pass precious variables to config.status.
1307
1340
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1308
1341
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1309
1342
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1343
# OS/2's system install, which has a completely different semantic
1310
1344
# ./install, which can be erroneously created by make from ./install.sh.
1311
1345
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1312
1346
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1331
1366
for ac_prog in ginstall scoinst install; do
1332
1367
for ac_exec_ext in '' $ac_executable_extensions; do
1333
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1334
if test $ac_prog = install &&
1335
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1336
# AIX install. It has an incompatible calling convention.
1338
elif test $ac_prog = install &&
1339
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1340
# program-specific install script used by HP pwplus--don't use.
1343
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1368
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1369
if test $ac_prog = install &&
1370
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1371
# AIX install. It has an incompatible calling convention.
1373
elif test $ac_prog = install &&
1374
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1375
# program-specific install script used by HP pwplus--don't use.
1378
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1445
1479
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1482
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1483
# Keeping the `.' argument allows $(mkdir_p) to be used without
1484
# argument. Indeed, we sometimes output rules like
1485
# $(mkdir_p) $(somedir)
1486
# where $(somedir) is conditionally defined.
1487
# (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1488
# expensive solution, as it forces Make to start a sub-shell.)
1489
mkdir_p='mkdir -p -- .'
1491
# On NextStep and OpenStep, the `mkdir' command does not
1492
# recognize any option. It will interpret all options as
1493
# directories to create, and then abort because `.' already
1495
for d in ./-p ./--version;
1497
test -d $d && rmdir $d
1499
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1500
if test -f "$ac_aux_dir/mkinstalldirs"; then
1501
mkdir_p='$(mkinstalldirs)'
1503
mkdir_p='$(install_sh) -d'
1448
1507
for ac_prog in gawk mawk nawk awk
1450
1509
# Extract the first word of "$ac_prog", so it can be a program name with args.
1488
1547
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1489
1548
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1490
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1549
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1491
1550
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1492
1551
echo $ECHO_N "(cached) $ECHO_C" >&6
1524
1583
rmdir .tst 2>/dev/null
1526
# test to see if srcdir already configured
1585
# test to see if srcdir already configured
1527
1586
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1528
1587
test -f $srcdir/config.status; then
1529
1588
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2059
2117
# Try to create an executable without -o first, disregard a.out.
2060
2118
# It will help us diagnose broken compilers, and finding out an intuition
2062
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2063
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2120
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2121
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2064
2122
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2065
2123
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2066
2124
(eval $ac_link_default) 2>&5
2080
2138
test -f "$ac_file" || continue
2081
2139
case $ac_file in
2082
2140
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2084
2142
conftest.$ac_ext )
2085
# This is the source file.
2143
# This is the source file.
2088
# We found the default executable, but exeext='' is most
2146
# We found the default executable, but exeext='' is most
2092
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2093
# FIXME: I believe we export ac_cv_exeext for Libtool,
2094
# but it would be cool to find out if it's true. Does anybody
2095
# maintain Libtool? --akim.
2150
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2151
# FIXME: I believe we export ac_cv_exeext for Libtool,
2152
# but it would be cool to find out if it's true. Does anybody
2153
# maintain Libtool? --akim.
2268
2324
rm -f conftest.$ac_objext
2269
2325
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2270
(eval $ac_compile) 2>&5
2326
(eval $ac_compile) 2>conftest.er1
2328
grep -v '^ *+' conftest.er1 >conftest.err
2330
cat conftest.err >&5
2272
2331
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273
2332
(exit $ac_status); } &&
2274
{ ac_try='test -s conftest.$ac_objext'
2333
{ ac_try='test -z "$ac_c_werror_flag"
2334
|| test ! -s conftest.err'
2335
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339
(exit $ac_status); }; } &&
2340
{ ac_try='test -s conftest.$ac_objext'
2275
2341
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2276
2342
(eval $ac_try) 2>&5
2318
2383
rm -f conftest.$ac_objext
2319
2384
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2320
(eval $ac_compile) 2>&5
2385
(eval $ac_compile) 2>conftest.er1
2387
grep -v '^ *+' conftest.er1 >conftest.err
2389
cat conftest.err >&5
2322
2390
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323
2391
(exit $ac_status); } &&
2324
{ ac_try='test -s conftest.$ac_objext'
2392
{ ac_try='test -z "$ac_c_werror_flag"
2393
|| test ! -s conftest.err'
2394
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398
(exit $ac_status); }; } &&
2399
{ ac_try='test -s conftest.$ac_objext'
2325
2400
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2326
2401
(eval $ac_try) 2>&5
2467
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2468
function prototypes and stuff, but not '\xHH' hex character constants.
2469
These don't provoke an error unfortunately, instead are silently treated
2470
as 'x'. The following induces an error, until -std1 is added to get
2471
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2472
array size at least. It's necessary to write '\x00'==0 to get something
2473
that's true only with -std1. */
2474
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2392
2476
int test (int i, double x);
2393
2477
struct s1 {int (*f) (int a);};
2394
2478
struct s2 {int (*f) (double a);};
2415
2499
CC="$ac_save_CC $ac_arg"
2416
2500
rm -f conftest.$ac_objext
2417
2501
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2418
(eval $ac_compile) 2>&5
2502
(eval $ac_compile) 2>conftest.er1
2504
grep -v '^ *+' conftest.er1 >conftest.err
2506
cat conftest.err >&5
2420
2507
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421
2508
(exit $ac_status); } &&
2422
{ ac_try='test -s conftest.$ac_objext'
2509
{ ac_try='test -z "$ac_c_werror_flag"
2510
|| test ! -s conftest.err'
2511
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515
(exit $ac_status); }; } &&
2516
{ ac_try='test -s conftest.$ac_objext'
2423
2517
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424
2518
(eval $ac_try) 2>&5
2461
2555
rm -f conftest.$ac_objext
2462
2556
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2463
(eval $ac_compile) 2>&5
2557
(eval $ac_compile) 2>conftest.er1
2559
grep -v '^ *+' conftest.er1 >conftest.err
2561
cat conftest.err >&5
2465
2562
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466
2563
(exit $ac_status); } &&
2467
{ ac_try='test -s conftest.$ac_objext'
2564
{ ac_try='test -z "$ac_c_werror_flag"
2565
|| test ! -s conftest.err'
2566
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570
(exit $ac_status); }; } &&
2571
{ ac_try='test -s conftest.$ac_objext'
2468
2572
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469
2573
(eval $ac_try) 2>&5
2471
2575
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472
2576
(exit $ac_status); }; }; then
2473
2577
for ac_declaration in \
2475
'#include <stdlib.h>' \
2476
2579
'extern "C" void std::exit (int) throw (); using std::exit;' \
2477
2580
'extern "C" void std::exit (int); using std::exit;' \
2478
2581
'extern "C" void exit (int) throw ();' \
2499
2601
rm -f conftest.$ac_objext
2500
2602
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2501
(eval $ac_compile) 2>&5
2603
(eval $ac_compile) 2>conftest.er1
2605
grep -v '^ *+' conftest.er1 >conftest.err
2607
cat conftest.err >&5
2503
2608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504
2609
(exit $ac_status); } &&
2505
{ ac_try='test -s conftest.$ac_objext'
2610
{ ac_try='test -z "$ac_c_werror_flag"
2611
|| test ! -s conftest.err'
2612
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2615
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616
(exit $ac_status); }; } &&
2617
{ ac_try='test -s conftest.$ac_objext'
2506
2618
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507
2619
(eval $ac_try) 2>&5
2518
rm -f conftest.$ac_objext conftest.$ac_ext
2630
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2519
2631
cat >conftest.$ac_ext <<_ACEOF
2520
#line $LINENO "configure"
2521
2632
/* confdefs.h. */
2523
2634
cat confdefs.h >>conftest.$ac_ext
2535
2646
rm -f conftest.$ac_objext
2536
2647
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2537
(eval $ac_compile) 2>&5
2648
(eval $ac_compile) 2>conftest.er1
2650
grep -v '^ *+' conftest.er1 >conftest.err
2652
cat conftest.err >&5
2539
2653
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540
2654
(exit $ac_status); } &&
2541
{ ac_try='test -s conftest.$ac_objext'
2655
{ ac_try='test -z "$ac_c_werror_flag"
2656
|| test ! -s conftest.err'
2657
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661
(exit $ac_status); }; } &&
2662
{ ac_try='test -s conftest.$ac_objext'
2542
2663
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2543
2664
(eval $ac_try) 2>&5
2749
2872
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2750
2873
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2751
2874
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2875
# OS/2's system install, which has a completely different semantic
2752
2876
# ./install, which can be erroneously created by make from ./install.sh.
2753
2877
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2754
2878
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2773
2898
for ac_prog in ginstall scoinst install; do
2774
2899
for ac_exec_ext in '' $ac_executable_extensions; do
2775
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2776
if test $ac_prog = install &&
2777
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2778
# AIX install. It has an incompatible calling convention.
2780
elif test $ac_prog = install &&
2781
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2782
# program-specific install script used by HP pwplus--don't use.
2785
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2900
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2901
if test $ac_prog = install &&
2902
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2903
# AIX install. It has an incompatible calling convention.
2905
elif test $ac_prog = install &&
2906
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2907
# program-specific install script used by HP pwplus--don't use.
2910
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2983
3108
# On the NeXT, cc -E runs the code through the compiler's parser,
2984
3109
# not just through cpp. "Syntax error" is here to catch this case.
2985
3110
cat >conftest.$ac_ext <<_ACEOF
2986
#line $LINENO "configure"
2987
3111
/* confdefs.h. */
2989
3113
cat confdefs.h >>conftest.$ac_ext
3026
3151
# OK, works on sane cases. Now check whether non-existent headers
3027
3152
# can be detected and how.
3028
3153
cat >conftest.$ac_ext <<_ACEOF
3029
#line $LINENO "configure"
3030
3154
/* confdefs.h. */
3032
3156
cat confdefs.h >>conftest.$ac_ext
3090
3215
# On the NeXT, cc -E runs the code through the compiler's parser,
3091
3216
# not just through cpp. "Syntax error" is here to catch this case.
3092
3217
cat >conftest.$ac_ext <<_ACEOF
3093
#line $LINENO "configure"
3094
3218
/* confdefs.h. */
3096
3220
cat confdefs.h >>conftest.$ac_ext
3133
3258
# OK, works on sane cases. Now check whether non-existent headers
3134
3259
# can be detected and how.
3135
3260
cat >conftest.$ac_ext <<_ACEOF
3136
#line $LINENO "configure"
3137
3261
/* confdefs.h. */
3139
3263
cat confdefs.h >>conftest.$ac_ext
3233
3357
rm -f conftest.$ac_objext
3234
3358
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3235
(eval $ac_compile) 2>&5
3359
(eval $ac_compile) 2>conftest.er1
3361
grep -v '^ *+' conftest.er1 >conftest.err
3363
cat conftest.err >&5
3237
3364
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238
3365
(exit $ac_status); } &&
3239
{ ac_try='test -s conftest.$ac_objext'
3366
{ ac_try='test -z "$ac_c_werror_flag"
3367
|| test ! -s conftest.err'
3368
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3371
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372
(exit $ac_status); }; } &&
3373
{ ac_try='test -s conftest.$ac_objext'
3240
3374
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3241
3375
(eval $ac_try) 2>&5
3250
3384
ac_cv_header_stdc=no
3252
rm -f conftest.$ac_objext conftest.$ac_ext
3386
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3254
3388
if test $ac_cv_header_stdc = yes; then
3255
3389
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3256
3390
cat >conftest.$ac_ext <<_ACEOF
3257
#line $LINENO "configure"
3258
3391
/* confdefs.h. */
3260
3393
cat confdefs.h >>conftest.$ac_ext
3276
3409
if test $ac_cv_header_stdc = yes; then
3277
3410
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3278
3411
cat >conftest.$ac_ext <<_ACEOF
3279
#line $LINENO "configure"
3280
3412
/* confdefs.h. */
3282
3414
cat confdefs.h >>conftest.$ac_ext
3313
3444
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3315
3446
# define ISLOWER(c) \
3316
(('a' <= (c) && (c) <= 'i') \
3317
|| ('j' <= (c) && (c) <= 'r') \
3318
|| ('s' <= (c) && (c) <= 'z'))
3447
(('a' <= (c) && (c) <= 'i') \
3448
|| ('j' <= (c) && (c) <= 'r') \
3449
|| ('s' <= (c) && (c) <= 'z'))
3319
3450
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3378
3509
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3379
inttypes.h stdint.h unistd.h
3510
inttypes.h stdint.h unistd.h
3381
3512
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3382
3513
echo "$as_me:$LINENO: checking for $ac_header" >&5
3398
3528
rm -f conftest.$ac_objext
3399
3529
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3400
(eval $ac_compile) 2>&5
3530
(eval $ac_compile) 2>conftest.er1
3532
grep -v '^ *+' conftest.er1 >conftest.err
3534
cat conftest.err >&5
3402
3535
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403
3536
(exit $ac_status); } &&
3404
{ ac_try='test -s conftest.$ac_objext'
3537
{ ac_try='test -z "$ac_c_werror_flag"
3538
|| test ! -s conftest.err'
3539
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3542
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543
(exit $ac_status); }; } &&
3544
{ ac_try='test -s conftest.$ac_objext'
3405
3545
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406
3546
(eval $ac_try) 2>&5
3448
3588
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3449
3589
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3450
3590
cat >conftest.$ac_ext <<_ACEOF
3451
#line $LINENO "configure"
3452
3591
/* confdefs.h. */
3454
3593
cat confdefs.h >>conftest.$ac_ext
3460
3599
rm -f conftest.$ac_objext
3461
3600
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3462
(eval $ac_compile) 2>&5
3601
(eval $ac_compile) 2>conftest.er1
3603
grep -v '^ *+' conftest.er1 >conftest.err
3605
cat conftest.err >&5
3464
3606
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465
3607
(exit $ac_status); } &&
3466
{ ac_try='test -s conftest.$ac_objext'
3608
{ ac_try='test -z "$ac_c_werror_flag"
3609
|| test ! -s conftest.err'
3610
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614
(exit $ac_status); }; } &&
3615
{ ac_try='test -s conftest.$ac_objext'
3467
3616
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3468
3617
(eval $ac_try) 2>&5
3484
3633
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3485
3634
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3486
3635
cat >conftest.$ac_ext <<_ACEOF
3487
#line $LINENO "configure"
3488
3636
/* confdefs.h. */
3490
3638
cat confdefs.h >>conftest.$ac_ext
3521
3670
echo "${ECHO_T}$ac_header_preproc" >&6
3523
3672
# So? What about this header?
3524
case $ac_header_compiler:$ac_header_preproc in
3673
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3526
3675
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3527
3676
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3528
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3529
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3532
## ------------------------------------ ##
3533
## Report this to bug-autoconf@gnu.org. ##
3534
## ------------------------------------ ##
3537
sed "s/^/$as_me: WARNING: /" >&2
3677
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3678
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3679
ac_header_preproc=yes
3540
3682
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3541
3683
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3542
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3543
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3684
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3685
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3686
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3687
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3688
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3689
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3544
3690
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3545
3691
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3692
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3693
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3548
## ------------------------------------ ##
3549
## Report this to bug-autoconf@gnu.org. ##
3550
## ------------------------------------ ##
3696
## ------------------------------------------ ##
3697
## Report this to the AC_PACKAGE_NAME lists. ##
3698
## ------------------------------------------ ##
3553
3701
sed "s/^/$as_me: WARNING: /" >&2
3558
3706
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3559
3707
echo $ECHO_N "(cached) $ECHO_C" >&6
3561
eval "$as_ac_Header=$ac_header_preproc"
3709
eval "$as_ac_Header=\$ac_header_preproc"
3563
3711
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3564
3712
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3601
3748
rm -f conftest.$ac_objext
3602
3749
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3603
(eval $ac_compile) 2>&5
3750
(eval $ac_compile) 2>conftest.er1
3752
grep -v '^ *+' conftest.er1 >conftest.err
3754
cat conftest.err >&5
3605
3755
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606
3756
(exit $ac_status); } &&
3607
{ ac_try='test -s conftest.$ac_objext'
3757
{ ac_try='test -z "$ac_c_werror_flag"
3758
|| test ! -s conftest.err'
3759
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3762
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763
(exit $ac_status); }; } &&
3764
{ ac_try='test -s conftest.$ac_objext'
3608
3765
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3609
3766
(eval $ac_try) 2>&5
3664
3820
rm -f conftest.$ac_objext
3665
3821
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3666
(eval $ac_compile) 2>&5
3822
(eval $ac_compile) 2>conftest.er1
3824
grep -v '^ *+' conftest.er1 >conftest.err
3826
cat conftest.err >&5
3668
3827
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669
3828
(exit $ac_status); } &&
3670
{ ac_try='test -s conftest.$ac_objext'
3829
{ ac_try='test -z "$ac_c_werror_flag"
3830
|| test ! -s conftest.err'
3831
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3834
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835
(exit $ac_status); }; } &&
3836
{ ac_try='test -s conftest.$ac_objext'
3671
3837
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672
3838
(eval $ac_try) 2>&5
3728
3893
rm -f conftest.$ac_objext conftest$ac_exeext
3729
3894
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3730
(eval $ac_link) 2>&5
3895
(eval $ac_link) 2>conftest.er1
3897
grep -v '^ *+' conftest.er1 >conftest.err
3899
cat conftest.err >&5
3732
3900
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733
3901
(exit $ac_status); } &&
3734
{ ac_try='test -s conftest$ac_exeext'
3902
{ ac_try='test -z "$ac_c_werror_flag"
3903
|| test ! -s conftest.err'
3904
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3907
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908
(exit $ac_status); }; } &&
3909
{ ac_try='test -s conftest$ac_exeext'
3735
3910
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3736
3911
(eval $ac_try) 2>&5
3743
3918
sed 's/^/| /' conftest.$ac_ext >&5
3746
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3921
rm -f conftest.err conftest.$ac_objext \
3922
conftest$ac_exeext conftest.$ac_ext
3747
3923
if test "$ac_cv_search_opendir" = no; then
3748
3924
for ac_lib in dir; do
3749
3925
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3750
3926
cat >conftest.$ac_ext <<_ACEOF
3751
#line $LINENO "configure"
3752
3927
/* confdefs.h. */
3754
3929
cat confdefs.h >>conftest.$ac_ext
3773
3948
rm -f conftest.$ac_objext conftest$ac_exeext
3774
3949
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3775
(eval $ac_link) 2>&5
3950
(eval $ac_link) 2>conftest.er1
3952
grep -v '^ *+' conftest.er1 >conftest.err
3954
cat conftest.err >&5
3777
3955
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778
3956
(exit $ac_status); } &&
3779
{ ac_try='test -s conftest$ac_exeext'
3957
{ ac_try='test -z "$ac_c_werror_flag"
3958
|| test ! -s conftest.err'
3959
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3962
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963
(exit $ac_status); }; } &&
3964
{ ac_try='test -s conftest$ac_exeext'
3780
3965
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781
3966
(eval $ac_try) 2>&5
3789
3974
sed 's/^/| /' conftest.$ac_ext >&5
3792
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3977
rm -f conftest.err conftest.$ac_objext \
3978
conftest$ac_exeext conftest.$ac_ext
3795
3981
LIBS=$ac_func_search_save_LIBS
3835
4020
rm -f conftest.$ac_objext conftest$ac_exeext
3836
4021
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3837
(eval $ac_link) 2>&5
4022
(eval $ac_link) 2>conftest.er1
4024
grep -v '^ *+' conftest.er1 >conftest.err
4026
cat conftest.err >&5
3839
4027
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840
4028
(exit $ac_status); } &&
3841
{ ac_try='test -s conftest$ac_exeext'
4029
{ ac_try='test -z "$ac_c_werror_flag"
4030
|| test ! -s conftest.err'
4031
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4034
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035
(exit $ac_status); }; } &&
4036
{ ac_try='test -s conftest$ac_exeext'
3842
4037
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843
4038
(eval $ac_try) 2>&5
3850
4045
sed 's/^/| /' conftest.$ac_ext >&5
3853
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4048
rm -f conftest.err conftest.$ac_objext \
4049
conftest$ac_exeext conftest.$ac_ext
3854
4050
if test "$ac_cv_search_opendir" = no; then
3855
4051
for ac_lib in x; do
3856
4052
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3857
4053
cat >conftest.$ac_ext <<_ACEOF
3858
#line $LINENO "configure"
3859
4054
/* confdefs.h. */
3861
4056
cat confdefs.h >>conftest.$ac_ext
3880
4075
rm -f conftest.$ac_objext conftest$ac_exeext
3881
4076
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3882
(eval $ac_link) 2>&5
4077
(eval $ac_link) 2>conftest.er1
4079
grep -v '^ *+' conftest.er1 >conftest.err
4081
cat conftest.err >&5
3884
4082
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885
4083
(exit $ac_status); } &&
3886
{ ac_try='test -s conftest$ac_exeext'
4084
{ ac_try='test -z "$ac_c_werror_flag"
4085
|| test ! -s conftest.err'
4086
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4089
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090
(exit $ac_status); }; } &&
4091
{ ac_try='test -s conftest$ac_exeext'
3887
4092
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3888
4093
(eval $ac_try) 2>&5
3896
4101
sed 's/^/| /' conftest.$ac_ext >&5
3899
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4104
rm -f conftest.err conftest.$ac_objext \
4105
conftest$ac_exeext conftest.$ac_ext
3902
4108
LIBS=$ac_func_search_save_LIBS
3938
4143
rm -f conftest.$ac_objext
3939
4144
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3940
(eval $ac_compile) 2>&5
4145
(eval $ac_compile) 2>conftest.er1
4147
grep -v '^ *+' conftest.er1 >conftest.err
4149
cat conftest.err >&5
3942
4150
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3943
4151
(exit $ac_status); } &&
3944
{ ac_try='test -s conftest.$ac_objext'
4152
{ ac_try='test -z "$ac_c_werror_flag"
4153
|| test ! -s conftest.err'
4154
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4157
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158
(exit $ac_status); }; } &&
4159
{ ac_try='test -s conftest.$ac_objext'
3945
4160
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3946
4161
(eval $ac_try) 2>&5
4041
4254
rm -f conftest.$ac_objext
4042
4255
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4043
(eval $ac_compile) 2>&5
4256
(eval $ac_compile) 2>conftest.er1
4258
grep -v '^ *+' conftest.er1 >conftest.err
4260
cat conftest.err >&5
4045
4261
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046
4262
(exit $ac_status); } &&
4047
{ ac_try='test -s conftest.$ac_objext'
4263
{ ac_try='test -z "$ac_c_werror_flag"
4264
|| test ! -s conftest.err'
4265
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4268
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269
(exit $ac_status); }; } &&
4270
{ ac_try='test -s conftest.$ac_objext'
4048
4271
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4049
4272
(eval $ac_try) 2>&5
4104
4326
rm -f conftest.$ac_objext conftest$ac_exeext
4105
4327
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4106
(eval $ac_link) 2>&5
4328
(eval $ac_link) 2>conftest.er1
4330
grep -v '^ *+' conftest.er1 >conftest.err
4332
cat conftest.err >&5
4108
4333
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109
4334
(exit $ac_status); } &&
4110
{ ac_try='test -s conftest$ac_exeext'
4335
{ ac_try='test -z "$ac_c_werror_flag"
4336
|| test ! -s conftest.err'
4337
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4340
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4341
(exit $ac_status); }; } &&
4342
{ ac_try='test -s conftest$ac_exeext'
4111
4343
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4112
4344
(eval $ac_try) 2>&5
4121
4353
ac_cv_lib_socket_socket=no
4123
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4355
rm -f conftest.err conftest.$ac_objext \
4356
conftest$ac_exeext conftest.$ac_ext
4124
4357
LIBS=$ac_check_lib_save_LIBS
4126
4359
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4167
4399
rm -f conftest.$ac_objext conftest$ac_exeext
4168
4400
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4169
(eval $ac_link) 2>&5
4401
(eval $ac_link) 2>conftest.er1
4403
grep -v '^ *+' conftest.er1 >conftest.err
4405
cat conftest.err >&5
4171
4406
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172
4407
(exit $ac_status); } &&
4173
{ ac_try='test -s conftest$ac_exeext'
4408
{ ac_try='test -z "$ac_c_werror_flag"
4409
|| test ! -s conftest.err'
4410
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4413
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414
(exit $ac_status); }; } &&
4415
{ ac_try='test -s conftest$ac_exeext'
4174
4416
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4175
4417
(eval $ac_try) 2>&5
4184
4426
ac_cv_lib_socket_socket=no
4186
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4428
rm -f conftest.err conftest.$ac_objext \
4429
conftest$ac_exeext conftest.$ac_ext
4187
4430
LIBS=$ac_check_lib_save_LIBS
4189
4432
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4231
4473
rm -f conftest.$ac_objext conftest$ac_exeext
4232
4474
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4233
(eval $ac_link) 2>&5
4475
(eval $ac_link) 2>conftest.er1
4477
grep -v '^ *+' conftest.er1 >conftest.err
4479
cat conftest.err >&5
4235
4480
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236
4481
(exit $ac_status); } &&
4237
{ ac_try='test -s conftest$ac_exeext'
4482
{ ac_try='test -z "$ac_c_werror_flag"
4483
|| test ! -s conftest.err'
4484
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4487
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488
(exit $ac_status); }; } &&
4489
{ ac_try='test -s conftest$ac_exeext'
4238
4490
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4239
4491
(eval $ac_try) 2>&5
4248
4500
ac_cv_lib_socket_connect=no
4250
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4502
rm -f conftest.err conftest.$ac_objext \
4503
conftest$ac_exeext conftest.$ac_ext
4251
4504
LIBS=$ac_check_lib_save_LIBS
4253
4506
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4294
4546
rm -f conftest.$ac_objext conftest$ac_exeext
4295
4547
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4296
(eval $ac_link) 2>&5
4548
(eval $ac_link) 2>conftest.er1
4550
grep -v '^ *+' conftest.er1 >conftest.err
4552
cat conftest.err >&5
4298
4553
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299
4554
(exit $ac_status); } &&
4300
{ ac_try='test -s conftest$ac_exeext'
4555
{ ac_try='test -z "$ac_c_werror_flag"
4556
|| test ! -s conftest.err'
4557
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4560
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561
(exit $ac_status); }; } &&
4562
{ ac_try='test -s conftest$ac_exeext'
4301
4563
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4302
4564
(eval $ac_try) 2>&5
4311
4573
ac_cv_lib_socket_connect=no
4313
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4575
rm -f conftest.err conftest.$ac_objext \
4576
conftest$ac_exeext conftest.$ac_ext
4314
4577
LIBS=$ac_check_lib_save_LIBS
4316
4579
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4357
4619
rm -f conftest.$ac_objext conftest$ac_exeext
4358
4620
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4359
(eval $ac_link) 2>&5
4621
(eval $ac_link) 2>conftest.er1
4623
grep -v '^ *+' conftest.er1 >conftest.err
4625
cat conftest.err >&5
4361
4626
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362
4627
(exit $ac_status); } &&
4363
{ ac_try='test -s conftest$ac_exeext'
4628
{ ac_try='test -z "$ac_c_werror_flag"
4629
|| test ! -s conftest.err'
4630
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4633
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634
(exit $ac_status); }; } &&
4635
{ ac_try='test -s conftest$ac_exeext'
4364
4636
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4365
4637
(eval $ac_try) 2>&5
4405
4676
rm -f conftest.$ac_objext conftest$ac_exeext
4406
4677
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4407
(eval $ac_link) 2>&5
4678
(eval $ac_link) 2>conftest.er1
4680
grep -v '^ *+' conftest.er1 >conftest.err
4682
cat conftest.err >&5
4409
4683
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410
4684
(exit $ac_status); } &&
4411
{ ac_try='test -s conftest$ac_exeext'
4685
{ ac_try='test -z "$ac_c_werror_flag"
4686
|| test ! -s conftest.err'
4687
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4690
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691
(exit $ac_status); }; } &&
4692
{ ac_try='test -s conftest$ac_exeext'
4412
4693
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4413
4694
(eval $ac_try) 2>&5
4422
4703
ac_cv_lib_nsl_inet_addr=no
4424
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4705
rm -f conftest.err conftest.$ac_objext \
4706
conftest$ac_exeext conftest.$ac_ext
4425
4707
LIBS=$ac_check_lib_save_LIBS
4427
4709
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
4474
4757
echo $ECHO_N "(cached) $ECHO_C" >&6
4476
4759
cat >conftest.$ac_ext <<_ACEOF
4477
#line $LINENO "configure"
4478
4760
/* confdefs.h. */
4480
4762
cat confdefs.h >>conftest.$ac_ext
4481
4763
cat >>conftest.$ac_ext <<_ACEOF
4482
4764
/* end confdefs.h. */
4765
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4766
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4767
#define $ac_func innocuous_$ac_func
4483
4769
/* System header to define __stub macros and hopefully few prototypes,
4484
4770
which can conflict with char $ac_func (); below.
4485
4771
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4486
4772
<limits.h> exists even on freestanding compilers. */
4487
4774
#ifdef __STDC__
4488
4775
# include <limits.h>
4490
4777
# include <assert.h>
4492
4782
/* Override any gcc2 internal prototype to avoid an error. */
4493
4783
#ifdef __cplusplus
4520
4810
rm -f conftest.$ac_objext conftest$ac_exeext
4521
4811
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4522
(eval $ac_link) 2>&5
4812
(eval $ac_link) 2>conftest.er1
4814
grep -v '^ *+' conftest.er1 >conftest.err
4816
cat conftest.err >&5
4524
4817
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525
4818
(exit $ac_status); } &&
4526
{ ac_try='test -s conftest$ac_exeext'
4819
{ ac_try='test -z "$ac_c_werror_flag"
4820
|| test ! -s conftest.err'
4821
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825
(exit $ac_status); }; } &&
4826
{ ac_try='test -s conftest$ac_exeext'
4527
4827
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4528
4828
(eval $ac_try) 2>&5
4537
4837
eval "$as_ac_var=no"
4539
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4839
rm -f conftest.err conftest.$ac_objext \
4840
conftest$ac_exeext conftest.$ac_ext
4541
4842
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4542
4843
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4631
4932
# `set' does not quote correctly, so add quotes (double-quote
4632
4933
# substitution turns \\\\ into \\, and sed turns \\ into \).
4635
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4936
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4638
4939
# `set' quotes correctly as required by POSIX, so do not add quotes.
4640
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4941
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4667
4968
# trailing colons and then remove the whole line if VPATH becomes empty
4668
4969
# (actually we leave an empty line to preserve line numbers).
4669
4970
if test "x$srcdir" = x.; then
4670
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4971
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4671
4972
s/:*\$(srcdir):*/:/;
4672
4973
s/:*\${srcdir}:*/:/;
4673
4974
s/:*@srcdir@:*/:/;
4674
s/^\([^=]*=[ ]*\):*/\1/;
4975
s/^\([^=]*=[ ]*\):*/\1/;
4684
4985
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4685
4986
# 1. Remove the extension, and $U if already installed.
4686
4987
ac_i=`echo "$ac_i" |
4687
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4988
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4689
4990
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4690
4991
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4749
5050
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5053
DUALCASE=1; export DUALCASE # for MKS sh
4753
5055
# Support unset when possible.
4754
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5056
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4949
5251
if mkdir -p . 2>/dev/null; then
5254
test -d ./-p && rmdir ./-p
4952
5255
as_mkdir_p=false
4955
5258
as_executable_p="test -f"
4957
5260
# Sed expression to map a string onto a valid CPP name.
4958
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5261
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4960
5263
# Sed expression to map a string onto a valid variable name.
4961
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5264
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4985
5288
cat >&5 <<_CSEOF
4987
5290
This file was extended by $as_me, which was
4988
generated by GNU Autoconf 2.57. Invocation command line was
5291
generated by GNU Autoconf 2.59. Invocation command line was
4990
5293
CONFIG_FILES = $CONFIG_FILES
4991
5294
CONFIG_HEADERS = $CONFIG_HEADERS
5029
5332
-d, --debug don't remove temporary files
5030
5333
--recheck update $as_me by reconfiguring in the same conditions
5031
5334
--file=FILE[:TEMPLATE]
5032
instantiate the configuration file FILE
5335
instantiate the configuration file FILE
5033
5336
--header=FILE[:TEMPLATE]
5034
instantiate the configuration header FILE
5337
instantiate the configuration header FILE
5036
5339
Configuration files:
5048
5351
cat >>$CONFIG_STATUS <<_ACEOF
5049
5352
ac_cs_version="\\
5051
configured by $0, generated by GNU Autoconf 2.57,
5354
configured by $0, generated by GNU Autoconf 2.59,
5052
5355
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5054
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5055
Free Software Foundation, Inc.
5357
Copyright (C) 2003 Free Software Foundation, Inc.
5056
5358
This config.status script is free software; the Free Software Foundation
5057
5359
gives unlimited permission to copy, distribute and modify it."
5263
5565
s,@STRIP@,$STRIP,;t t
5264
5566
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5265
5567
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5568
s,@mkdir_p@,$mkdir_p,;t t
5266
5569
s,@AWK@,$AWK,;t t
5267
5570
s,@SET_MAKE@,$SET_MAKE,;t t
5268
5571
s,@am__leading_dot@,$am__leading_dot,;t t
5329
5632
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5330
5633
if test -z "$ac_sed_cmds"; then
5331
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5634
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5333
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5636
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5335
5638
ac_sed_frag=`expr $ac_sed_frag + 1`
5348
5651
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5349
5652
case $ac_file in
5350
5653
- | *:- | *:-:* ) # input from stdin
5352
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5353
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5655
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5656
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5354
5657
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5355
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5658
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5356
5659
* ) ac_file_in=$ac_file.in ;;
5359
5662
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5360
5663
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5361
5664
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5362
X"$ac_file" : 'X\(//\)[^/]' \| \
5363
X"$ac_file" : 'X\(//\)$' \| \
5364
X"$ac_file" : 'X\(/\)' \| \
5365
. : '\(.\)' 2>/dev/null ||
5665
X"$ac_file" : 'X\(//\)[^/]' \| \
5666
X"$ac_file" : 'X\(//\)$' \| \
5667
X"$ac_file" : 'X\(/\)' \| \
5668
. : '\(.\)' 2>/dev/null ||
5366
5669
echo X"$ac_file" |
5367
5670
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5368
5671
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5378
5681
as_dirs="$as_dir $as_dirs"
5379
5682
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5380
5683
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5381
X"$as_dir" : 'X\(//\)[^/]' \| \
5382
X"$as_dir" : 'X\(//\)$' \| \
5383
X"$as_dir" : 'X\(/\)' \| \
5384
. : '\(.\)' 2>/dev/null ||
5684
X"$as_dir" : 'X\(//\)[^/]' \| \
5685
X"$as_dir" : 'X\(//\)$' \| \
5686
X"$as_dir" : 'X\(/\)' \| \
5687
. : '\(.\)' 2>/dev/null ||
5385
5688
echo X"$as_dir" |
5386
5689
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5387
5690
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5419
5722
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5420
5723
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5422
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5424
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5425
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5426
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5427
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5726
# Do not use `cd foo && pwd` to compute absolute paths, because
5727
# the directories may not exist.
5729
.) ac_abs_builddir="$ac_dir";;
5732
.) ac_abs_builddir=`pwd`;;
5733
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5734
*) ac_abs_builddir=`pwd`/"$ac_dir";;
5737
case $ac_abs_builddir in
5738
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5740
case ${ac_top_builddir}. in
5741
.) ac_abs_top_builddir=$ac_abs_builddir;;
5742
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5743
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5746
case $ac_abs_builddir in
5747
.) ac_abs_srcdir=$ac_srcdir;;
5750
.) ac_abs_srcdir=$ac_abs_builddir;;
5751
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5752
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5755
case $ac_abs_builddir in
5756
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5758
case $ac_top_srcdir in
5759
.) ac_abs_top_srcdir=$ac_abs_builddir;;
5760
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5761
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5430
5766
case $INSTALL in
5446
5782
configure_input="$ac_file. "
5448
5784
configure_input=$configure_input"Generated from `echo $ac_file_in |
5449
sed 's,.*/,,'` by configure."
5785
sed 's,.*/,,'` by configure."
5451
5787
# First look for the input files in the build tree, otherwise in the
5456
5792
-) echo $tmp/stdin ;;
5458
# Absolute (can't be DOS-style, as IFS=:)
5459
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5794
# Absolute (can't be DOS-style, as IFS=:)
5795
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5460
5796
echo "$as_me: error: cannot find input file: $f" >&2;}
5461
5797
{ (exit 1); exit 1; }; }
5464
if test -f "$f"; then
5467
elif test -f "$srcdir/$f"; then
5472
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5800
if test -f "$f"; then
5803
elif test -f "$srcdir/$f"; then
5808
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5473
5809
echo "$as_me: error: cannot find input file: $f" >&2;}
5474
5810
{ (exit 1); exit 1; }; }
5477
5813
done` || { (exit 1); exit 1; }
5514
5850
# NAME is the cpp macro being defined and VALUE is the value it is being given.
5516
5852
# ac_d sets the value in "#define NAME VALUE" lines.
5517
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5518
ac_dB='[ ].*$,\1#\2'
5853
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5854
ac_dB='[ ].*$,\1#\2'
5521
5857
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5522
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5858
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5523
5859
ac_uB='$,\1#\2define\3'
5528
5864
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5529
5865
case $ac_file in
5530
5866
- | *:- | *:-:* ) # input from stdin
5532
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5533
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5868
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5869
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5534
5870
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5535
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5871
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5536
5872
* ) ac_file_in=$ac_file.in ;;
5547
5883
-) echo $tmp/stdin ;;
5549
# Absolute (can't be DOS-style, as IFS=:)
5550
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5885
# Absolute (can't be DOS-style, as IFS=:)
5886
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5551
5887
echo "$as_me: error: cannot find input file: $f" >&2;}
5552
5888
{ (exit 1); exit 1; }; }
5889
# Do quote $f, to prevent DOS paths from being IFS'd.
5555
if test -f "$f"; then
5558
elif test -f "$srcdir/$f"; then
5563
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5892
if test -f "$f"; then
5895
elif test -f "$srcdir/$f"; then
5900
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5564
5901
echo "$as_me: error: cannot find input file: $f" >&2;}
5565
5902
{ (exit 1); exit 1; }; }
5568
5905
done` || { (exit 1); exit 1; }
5569
5906
# Remove the trailing spaces.
5570
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5907
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5593
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5930
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5595
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5932
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5598
5935
# If some macros were called several times there might be several times
5606
5943
# example, in the case of _POSIX_SOURCE, which is predefined and required
5607
5944
# on some systems where configure will not decide to define it.
5608
5945
cat >>conftest.undefs <<\_ACEOF
5609
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5946
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5612
5949
# Break up conftest.defines because some shells have a limit on the size
5613
5950
# of here documents, and old seds have small limits too (100 cmds).
5614
5951
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5615
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5952
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5616
5953
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5617
5954
echo ' :' >>$CONFIG_STATUS
5618
5955
rm -f conftest.tail
5621
5958
# Write a limited-size here document to $tmp/defines.sed.
5622
5959
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5623
5960
# Speed up: don't consider the non `#define' lines.
5624
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5961
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5625
5962
# Work around the forget-to-reset-the-flag bug.
5626
5963
echo 't clr' >>$CONFIG_STATUS
5627
5964
echo ': clr' >>$CONFIG_STATUS
5648
5985
# Write a limited-size here document to $tmp/undefs.sed.
5649
5986
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5650
5987
# Speed up: don't consider the non `#undef'
5651
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5988
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5652
5989
# Work around the forget-to-reset-the-flag bug.
5653
5990
echo 't clr' >>$CONFIG_STATUS
5654
5991
echo ': clr' >>$CONFIG_STATUS
5683
6020
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5684
6021
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5685
X"$ac_file" : 'X\(//\)[^/]' \| \
5686
X"$ac_file" : 'X\(//\)$' \| \
5687
X"$ac_file" : 'X\(/\)' \| \
5688
. : '\(.\)' 2>/dev/null ||
6022
X"$ac_file" : 'X\(//\)[^/]' \| \
6023
X"$ac_file" : 'X\(//\)$' \| \
6024
X"$ac_file" : 'X\(/\)' \| \
6025
. : '\(.\)' 2>/dev/null ||
5689
6026
echo X"$ac_file" |
5690
6027
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5691
6028
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5701
6038
as_dirs="$as_dir $as_dirs"
5702
6039
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5703
6040
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5704
X"$as_dir" : 'X\(//\)[^/]' \| \
5705
X"$as_dir" : 'X\(//\)$' \| \
5706
X"$as_dir" : 'X\(/\)' \| \
5707
. : '\(.\)' 2>/dev/null ||
6041
X"$as_dir" : 'X\(//\)[^/]' \| \
6042
X"$as_dir" : 'X\(//\)$' \| \
6043
X"$as_dir" : 'X\(/\)' \| \
6044
. : '\(.\)' 2>/dev/null ||
5708
6045
echo X"$as_dir" |
5709
6046
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5710
6047
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5737
6074
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5738
6075
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5739
X$ac_file : 'X\(//\)[^/]' \| \
5740
X$ac_file : 'X\(//\)$' \| \
5741
X$ac_file : 'X\(/\)' \| \
5742
. : '\(.\)' 2>/dev/null ||
6076
X$ac_file : 'X\(//\)[^/]' \| \
6077
X$ac_file : 'X\(//\)$' \| \
6078
X$ac_file : 'X\(/\)' \| \
6079
. : '\(.\)' 2>/dev/null ||
5743
6080
echo X$ac_file |
5744
6081
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5745
6082
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5758
6095
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5759
6096
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5760
6097
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5761
X"$ac_dest" : 'X\(//\)[^/]' \| \
5762
X"$ac_dest" : 'X\(//\)$' \| \
5763
X"$ac_dest" : 'X\(/\)' \| \
5764
. : '\(.\)' 2>/dev/null ||
6098
X"$ac_dest" : 'X\(//\)[^/]' \| \
6099
X"$ac_dest" : 'X\(//\)$' \| \
6100
X"$ac_dest" : 'X\(/\)' \| \
6101
. : '\(.\)' 2>/dev/null ||
5765
6102
echo X"$ac_dest" |
5766
6103
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5767
6104
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5768
6105
/^X\(\/\/\)$/{ s//\1/; q; }
5769
6106
/^X\(\/\).*/{ s//\1/; q; }
6108
{ if $as_mkdir_p; then
6113
while test ! -d "$as_dir"; do
6114
as_dirs="$as_dir $as_dirs"
6115
as_dir=`(dirname "$as_dir") 2>/dev/null ||
6116
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6117
X"$as_dir" : 'X\(//\)[^/]' \| \
6118
X"$as_dir" : 'X\(//\)$' \| \
6119
X"$as_dir" : 'X\(/\)' \| \
6120
. : '\(.\)' 2>/dev/null ||
6122
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6123
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6124
/^X\(\/\/\)$/{ s//\1/; q; }
6125
/^X\(\/\).*/{ s//\1/; q; }
6128
test ! -n "$as_dirs" || mkdir $as_dirs
6129
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6130
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6131
{ (exit 1); exit 1; }; }; }
5773
6135
if test "$ac_dir" != .; then
5793
6155
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5794
6156
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5796
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5798
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5799
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5800
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5801
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6159
# Do not use `cd foo && pwd` to compute absolute paths, because
6160
# the directories may not exist.
6162
.) ac_abs_builddir="$ac_dir";;
6165
.) ac_abs_builddir=`pwd`;;
6166
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6167
*) ac_abs_builddir=`pwd`/"$ac_dir";;
6170
case $ac_abs_builddir in
6171
.) ac_abs_top_builddir=${ac_top_builddir}.;;
6173
case ${ac_top_builddir}. in
6174
.) ac_abs_top_builddir=$ac_abs_builddir;;
6175
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6176
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6179
case $ac_abs_builddir in
6180
.) ac_abs_srcdir=$ac_srcdir;;
6183
.) ac_abs_srcdir=$ac_abs_builddir;;
6184
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6185
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6188
case $ac_abs_builddir in
6189
.) ac_abs_top_srcdir=$ac_top_srcdir;;
6191
case $ac_top_srcdir in
6192
.) ac_abs_top_srcdir=$ac_abs_builddir;;
6193
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6194
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5804
6199
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5816
6211
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5817
6212
dirpart=`(dirname "$mf") 2>/dev/null ||
5818
6213
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5819
X"$mf" : 'X\(//\)[^/]' \| \
5820
X"$mf" : 'X\(//\)$' \| \
5821
X"$mf" : 'X\(/\)' \| \
5822
. : '\(.\)' 2>/dev/null ||
6214
X"$mf" : 'X\(//\)[^/]' \| \
6215
X"$mf" : 'X\(//\)$' \| \
6216
X"$mf" : 'X\(/\)' \| \
6217
. : '\(.\)' 2>/dev/null ||
5824
6219
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5825
6220
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5832
6227
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5833
6228
# Extract the definition of DEP_FILES from the Makefile without
5834
6229
# running `make'.
5835
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6230
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5836
6231
test -z "$DEPDIR" && continue
5837
6232
# When using ansi2knr, U may be empty or an underscore; expand it
5838
U=`sed -n -e '/^U = / s///p' < "$mf"`
6233
U=`sed -n 's/^U = //p' < "$mf"`
5839
6234
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5840
6235
# We invoke sed twice because it is the simplest approach to
5841
6236
# changing $(DEPDIR) to its actual value in the expansion.
5842
for file in `sed -n -e '
6237
for file in `sed -n '
5843
6238
/^DEP_FILES = .*\\\\$/ {
5844
6239
s/^DEP_FILES = //
5855
6250
test -f "$dirpart/$file" && continue
5856
6251
fdir=`(dirname "$file") 2>/dev/null ||
5857
6252
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5858
X"$file" : 'X\(//\)[^/]' \| \
5859
X"$file" : 'X\(//\)$' \| \
5860
X"$file" : 'X\(/\)' \| \
5861
. : '\(.\)' 2>/dev/null ||
6253
X"$file" : 'X\(//\)[^/]' \| \
6254
X"$file" : 'X\(//\)$' \| \
6255
X"$file" : 'X\(/\)' \| \
6256
. : '\(.\)' 2>/dev/null ||
5862
6257
echo X"$file" |
5863
6258
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5864
6259
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5874
6269
as_dirs="$as_dir $as_dirs"
5875
6270
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5876
6271
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5877
X"$as_dir" : 'X\(//\)[^/]' \| \
5878
X"$as_dir" : 'X\(//\)$' \| \
5879
X"$as_dir" : 'X\(/\)' \| \
5880
. : '\(.\)' 2>/dev/null ||
6272
X"$as_dir" : 'X\(//\)[^/]' \| \
6273
X"$as_dir" : 'X\(//\)$' \| \
6274
X"$as_dir" : 'X\(/\)' \| \
6275
. : '\(.\)' 2>/dev/null ||
5881
6276
echo X"$as_dir" |
5882
6277
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5883
6278
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5985
6380
as_dirs="$as_dir $as_dirs"
5986
6381
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5987
6382
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5988
X"$as_dir" : 'X\(//\)[^/]' \| \
5989
X"$as_dir" : 'X\(//\)$' \| \
5990
X"$as_dir" : 'X\(/\)' \| \
5991
. : '\(.\)' 2>/dev/null ||
6383
X"$as_dir" : 'X\(//\)[^/]' \| \
6384
X"$as_dir" : 'X\(//\)$' \| \
6385
X"$as_dir" : 'X\(/\)' \| \
6386
. : '\(.\)' 2>/dev/null ||
5992
6387
echo X"$as_dir" |
5993
6388
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5994
6389
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6026
6421
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6027
6422
ac_top_srcdir=$ac_top_builddir$srcdir ;;
6029
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6031
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6032
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6033
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6034
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6425
# Do not use `cd foo && pwd` to compute absolute paths, because
6426
# the directories may not exist.
6428
.) ac_abs_builddir="$ac_dir";;
6431
.) ac_abs_builddir=`pwd`;;
6432
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6433
*) ac_abs_builddir=`pwd`/"$ac_dir";;
6436
case $ac_abs_builddir in
6437
.) ac_abs_top_builddir=${ac_top_builddir}.;;
6439
case ${ac_top_builddir}. in
6440
.) ac_abs_top_builddir=$ac_abs_builddir;;
6441
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6442
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6445
case $ac_abs_builddir in
6446
.) ac_abs_srcdir=$ac_srcdir;;
6449
.) ac_abs_srcdir=$ac_abs_builddir;;
6450
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6451
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6454
case $ac_abs_builddir in
6455
.) ac_abs_top_srcdir=$ac_top_srcdir;;
6457
case $ac_top_srcdir in
6458
.) ac_abs_top_srcdir=$ac_abs_builddir;;
6459
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6460
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6055
6483
case $cache_file in
6056
6484
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6057
6485
*) # Relative path.
6058
ac_sub_cache_file=$ac_top_builddir$cache_file ;;
6486
ac_sub_cache_file=$ac_top_builddir$cache_file ;;
6061
6489
{ echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6062
6490
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6063
6491
# The eval makes quoting arguments work.
6064
6492
eval $ac_sub_configure $ac_sub_configure_args \
6065
--cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
6066
{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
6493
--cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
6494
{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
6067
6495
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
6068
6496
{ (exit 1); exit 1; }; }