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'"
308
309
# include <unistd.h>
311
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 RANLIB ac_ct_RANLIB CPP EGREP LIBOBJS LTLIBOBJS'
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 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 RANLIB ac_ct_RANLIB CPP EGREP LIBOBJS LTLIBOBJS'
312
313
ac_subst_files=''
314
315
# Initialize some variables set by options.
668
669
# Be sure to have absolute paths.
669
670
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670
localstatedir libdir includedir oldincludedir infodir mandir
671
localstatedir libdir includedir oldincludedir infodir mandir
672
673
eval ac_val=$`echo $ac_var`
707
708
# Try the directory containing this script, then its parent.
708
709
ac_confdir=`(dirname "$0") 2>/dev/null ||
709
710
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710
X"$0" : 'X\(//\)[^/]' \| \
711
X"$0" : 'X\(//\)$' \| \
712
X"$0" : 'X\(/\)' \| \
713
. : '\(.\)' 2>/dev/null ||
711
X"$0" : 'X\(//\)[^/]' \| \
712
X"$0" : 'X\(//\)$' \| \
713
X"$0" : 'X\(/\)' \| \
714
. : '\(.\)' 2>/dev/null ||
715
716
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716
717
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
803
804
Installation directories:
804
805
--prefix=PREFIX install architecture-independent files in PREFIX
806
807
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809
810
By default, \`make install' will install all the files in
810
811
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
844
845
Optional Features:
845
846
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846
847
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847
--disable-dependency-tracking Speeds up one-time builds
848
--enable-dependency-tracking Do not reject slow dependency extractors
848
--disable-dependency-tracking speeds up one-time build
849
--enable-dependency-tracking do not reject slow dependency extractors
850
851
Some influential environment variables:
851
852
CC C compiler command
892
893
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
893
894
ac_top_srcdir=$ac_top_builddir$srcdir ;;
895
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
897
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
898
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
899
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
900
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
897
# Do not use `cd foo && pwd` to compute absolute paths, because
898
# the directories may not exist.
900
.) ac_abs_builddir="$ac_dir";;
903
.) ac_abs_builddir=`pwd`;;
904
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
905
*) ac_abs_builddir=`pwd`/"$ac_dir";;
908
case $ac_abs_builddir in
909
.) ac_abs_top_builddir=${ac_top_builddir}.;;
911
case ${ac_top_builddir}. in
912
.) ac_abs_top_builddir=$ac_abs_builddir;;
913
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
914
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
917
case $ac_abs_builddir in
918
.) ac_abs_srcdir=$ac_srcdir;;
921
.) ac_abs_srcdir=$ac_abs_builddir;;
922
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
923
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
926
case $ac_abs_builddir in
927
.) ac_abs_top_srcdir=$ac_top_srcdir;;
929
case $ac_top_srcdir in
930
.) ac_abs_top_srcdir=$ac_abs_builddir;;
931
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
932
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
903
937
# Check for guested configure; otherwise get Cygnus style configure.
922
956
if $ac_init_version; then
925
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
926
Free Software Foundation, Inc.
959
Copyright (C) 2003 Free Software Foundation, Inc.
927
960
This configure script is free software; the Free Software Foundation
928
961
gives unlimited permission to copy, distribute and modify it.
935
968
running configure, to aid debugging if configure makes a mistake.
937
970
It was created by $as_me, which was
938
generated by GNU Autoconf 2.57. Invocation command line was
971
generated by GNU Autoconf 2.59. Invocation command line was
1013
1046
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1014
1047
if test $ac_must_keep_next = true; then
1015
ac_must_keep_next=false # Got value, back to normal.
1048
ac_must_keep_next=false # Got value, back to normal.
1018
*=* | --config-cache | -C | -disable-* | --disable-* \
1019
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1020
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1021
| -with-* | --with-* | -without-* | --without-* | --x)
1022
case "$ac_configure_args0 " in
1023
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1026
-* ) ac_must_keep_next=true ;;
1051
*=* | --config-cache | -C | -disable-* | --disable-* \
1052
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1053
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1054
| -with-* | --with-* | -without-* | --without-* | --x)
1055
case "$ac_configure_args0 " in
1056
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1059
-* ) ac_must_keep_next=true ;;
1029
1062
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1030
1063
# Get rid of the leading space.
1058
1091
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1061
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1062
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1094
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1095
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1066
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1099
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1192
1225
ac_cache_corrupted=false
1193
1226
for ac_var in `(set) 2>&1 |
1194
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1227
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1195
1228
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1196
1229
eval ac_new_set=\$ac_env_${ac_var}_set
1197
1230
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1210
1243
if test "x$ac_old_val" != "x$ac_new_val"; then
1211
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1244
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1212
1245
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1213
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1246
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1214
1247
echo "$as_me: former value: $ac_old_val" >&2;}
1215
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1248
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1216
1249
echo "$as_me: current value: $ac_new_val" >&2;}
1217
ac_cache_corrupted=:
1250
ac_cache_corrupted=:
1220
1253
# Pass precious variables to config.status.
1299
1332
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1300
1333
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1301
1334
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1335
# OS/2's system install, which has a completely different semantic
1302
1336
# ./install, which can be erroneously created by make from ./install.sh.
1303
1337
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1304
1338
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1323
1358
for ac_prog in ginstall scoinst install; do
1324
1359
for ac_exec_ext in '' $ac_executable_extensions; do
1325
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1326
if test $ac_prog = install &&
1327
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1328
# AIX install. It has an incompatible calling convention.
1330
elif test $ac_prog = install &&
1331
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1332
# program-specific install script used by HP pwplus--don't use.
1335
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1360
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1361
if test $ac_prog = install &&
1362
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1363
# AIX install. It has an incompatible calling convention.
1365
elif test $ac_prog = install &&
1366
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1367
# program-specific install script used by HP pwplus--don't use.
1370
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1437
1471
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1474
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1475
# Keeping the `.' argument allows $(mkdir_p) to be used without
1476
# argument. Indeed, we sometimes output rules like
1477
# $(mkdir_p) $(somedir)
1478
# where $(somedir) is conditionally defined.
1479
# (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1480
# expensive solution, as it forces Make to start a sub-shell.)
1481
mkdir_p='mkdir -p -- .'
1483
# On NextStep and OpenStep, the `mkdir' command does not
1484
# recognize any option. It will interpret all options as
1485
# directories to create, and then abort because `.' already
1487
for d in ./-p ./--version;
1489
test -d $d && rmdir $d
1491
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1492
if test -f "$ac_aux_dir/mkinstalldirs"; then
1493
mkdir_p='$(mkinstalldirs)'
1495
mkdir_p='$(install_sh) -d'
1440
1499
for ac_prog in gawk mawk nawk awk
1442
1501
# Extract the first word of "$ac_prog", so it can be a program name with args.
1480
1539
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1481
1540
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1482
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1541
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1483
1542
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1484
1543
echo $ECHO_N "(cached) $ECHO_C" >&6
1516
1575
rmdir .tst 2>/dev/null
1518
# test to see if srcdir already configured
1577
# test to see if srcdir already configured
1519
1578
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1520
1579
test -f $srcdir/config.status; then
1521
1580
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2011
2069
# Try to create an executable without -o first, disregard a.out.
2012
2070
# It will help us diagnose broken compilers, and finding out an intuition
2014
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2015
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2072
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2073
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2016
2074
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2017
2075
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2018
2076
(eval $ac_link_default) 2>&5
2032
2090
test -f "$ac_file" || continue
2033
2091
case $ac_file in
2034
2092
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2036
2094
conftest.$ac_ext )
2037
# This is the source file.
2095
# This is the source file.
2040
# We found the default executable, but exeext='' is most
2098
# We found the default executable, but exeext='' is most
2044
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2045
# FIXME: I believe we export ac_cv_exeext for Libtool,
2046
# but it would be cool to find out if it's true. Does anybody
2047
# maintain Libtool? --akim.
2102
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2103
# FIXME: I believe we export ac_cv_exeext for Libtool,
2104
# but it would be cool to find out if it's true. Does anybody
2105
# maintain Libtool? --akim.
2220
2276
rm -f conftest.$ac_objext
2221
2277
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2222
(eval $ac_compile) 2>&5
2278
(eval $ac_compile) 2>conftest.er1
2280
grep -v '^ *+' conftest.er1 >conftest.err
2282
cat conftest.err >&5
2224
2283
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225
2284
(exit $ac_status); } &&
2226
{ ac_try='test -s conftest.$ac_objext'
2285
{ ac_try='test -z "$ac_c_werror_flag"
2286
|| test ! -s conftest.err'
2287
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2290
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291
(exit $ac_status); }; } &&
2292
{ ac_try='test -s conftest.$ac_objext'
2227
2293
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2228
2294
(eval $ac_try) 2>&5
2270
2335
rm -f conftest.$ac_objext
2271
2336
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2272
(eval $ac_compile) 2>&5
2337
(eval $ac_compile) 2>conftest.er1
2339
grep -v '^ *+' conftest.er1 >conftest.err
2341
cat conftest.err >&5
2274
2342
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275
2343
(exit $ac_status); } &&
2276
{ ac_try='test -s conftest.$ac_objext'
2344
{ ac_try='test -z "$ac_c_werror_flag"
2345
|| test ! -s conftest.err'
2346
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2349
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350
(exit $ac_status); }; } &&
2351
{ ac_try='test -s conftest.$ac_objext'
2277
2352
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2278
2353
(eval $ac_try) 2>&5
2419
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2420
function prototypes and stuff, but not '\xHH' hex character constants.
2421
These don't provoke an error unfortunately, instead are silently treated
2422
as 'x'. The following induces an error, until -std1 is added to get
2423
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2424
array size at least. It's necessary to write '\x00'==0 to get something
2425
that's true only with -std1. */
2426
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2344
2428
int test (int i, double x);
2345
2429
struct s1 {int (*f) (int a);};
2346
2430
struct s2 {int (*f) (double a);};
2367
2451
CC="$ac_save_CC $ac_arg"
2368
2452
rm -f conftest.$ac_objext
2369
2453
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2370
(eval $ac_compile) 2>&5
2454
(eval $ac_compile) 2>conftest.er1
2456
grep -v '^ *+' conftest.er1 >conftest.err
2458
cat conftest.err >&5
2372
2459
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373
2460
(exit $ac_status); } &&
2374
{ ac_try='test -s conftest.$ac_objext'
2461
{ ac_try='test -z "$ac_c_werror_flag"
2462
|| test ! -s conftest.err'
2463
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2466
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467
(exit $ac_status); }; } &&
2468
{ ac_try='test -s conftest.$ac_objext'
2375
2469
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2376
2470
(eval $ac_try) 2>&5
2413
2507
rm -f conftest.$ac_objext
2414
2508
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2415
(eval $ac_compile) 2>&5
2509
(eval $ac_compile) 2>conftest.er1
2511
grep -v '^ *+' conftest.er1 >conftest.err
2513
cat conftest.err >&5
2417
2514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418
2515
(exit $ac_status); } &&
2419
{ ac_try='test -s conftest.$ac_objext'
2516
{ ac_try='test -z "$ac_c_werror_flag"
2517
|| test ! -s conftest.err'
2518
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2521
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522
(exit $ac_status); }; } &&
2523
{ ac_try='test -s conftest.$ac_objext'
2420
2524
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421
2525
(eval $ac_try) 2>&5
2423
2527
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424
2528
(exit $ac_status); }; }; then
2425
2529
for ac_declaration in \
2427
'#include <stdlib.h>' \
2428
2531
'extern "C" void std::exit (int) throw (); using std::exit;' \
2429
2532
'extern "C" void std::exit (int); using std::exit;' \
2430
2533
'extern "C" void exit (int) throw ();' \
2451
2553
rm -f conftest.$ac_objext
2452
2554
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2453
(eval $ac_compile) 2>&5
2555
(eval $ac_compile) 2>conftest.er1
2557
grep -v '^ *+' conftest.er1 >conftest.err
2559
cat conftest.err >&5
2455
2560
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456
2561
(exit $ac_status); } &&
2457
{ ac_try='test -s conftest.$ac_objext'
2562
{ ac_try='test -z "$ac_c_werror_flag"
2563
|| test ! -s conftest.err'
2564
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568
(exit $ac_status); }; } &&
2569
{ ac_try='test -s conftest.$ac_objext'
2458
2570
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2459
2571
(eval $ac_try) 2>&5
2470
rm -f conftest.$ac_objext conftest.$ac_ext
2582
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2471
2583
cat >conftest.$ac_ext <<_ACEOF
2472
#line $LINENO "configure"
2473
2584
/* confdefs.h. */
2475
2586
cat confdefs.h >>conftest.$ac_ext
2487
2598
rm -f conftest.$ac_objext
2488
2599
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2489
(eval $ac_compile) 2>&5
2600
(eval $ac_compile) 2>conftest.er1
2602
grep -v '^ *+' conftest.er1 >conftest.err
2604
cat conftest.err >&5
2491
2605
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492
2606
(exit $ac_status); } &&
2493
{ ac_try='test -s conftest.$ac_objext'
2607
{ ac_try='test -z "$ac_c_werror_flag"
2608
|| test ! -s conftest.err'
2609
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2612
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613
(exit $ac_status); }; } &&
2614
{ ac_try='test -s conftest.$ac_objext'
2494
2615
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495
2616
(eval $ac_try) 2>&5
2801
2924
# On the NeXT, cc -E runs the code through the compiler's parser,
2802
2925
# not just through cpp. "Syntax error" is here to catch this case.
2803
2926
cat >conftest.$ac_ext <<_ACEOF
2804
#line $LINENO "configure"
2805
2927
/* confdefs.h. */
2807
2929
cat confdefs.h >>conftest.$ac_ext
2844
2967
# OK, works on sane cases. Now check whether non-existent headers
2845
2968
# can be detected and how.
2846
2969
cat >conftest.$ac_ext <<_ACEOF
2847
#line $LINENO "configure"
2848
2970
/* confdefs.h. */
2850
2972
cat confdefs.h >>conftest.$ac_ext
2908
3031
# On the NeXT, cc -E runs the code through the compiler's parser,
2909
3032
# not just through cpp. "Syntax error" is here to catch this case.
2910
3033
cat >conftest.$ac_ext <<_ACEOF
2911
#line $LINENO "configure"
2912
3034
/* confdefs.h. */
2914
3036
cat confdefs.h >>conftest.$ac_ext
2951
3074
# OK, works on sane cases. Now check whether non-existent headers
2952
3075
# can be detected and how.
2953
3076
cat >conftest.$ac_ext <<_ACEOF
2954
#line $LINENO "configure"
2955
3077
/* confdefs.h. */
2957
3079
cat confdefs.h >>conftest.$ac_ext
3051
3173
rm -f conftest.$ac_objext
3052
3174
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3053
(eval $ac_compile) 2>&5
3175
(eval $ac_compile) 2>conftest.er1
3177
grep -v '^ *+' conftest.er1 >conftest.err
3179
cat conftest.err >&5
3055
3180
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056
3181
(exit $ac_status); } &&
3057
{ ac_try='test -s conftest.$ac_objext'
3182
{ ac_try='test -z "$ac_c_werror_flag"
3183
|| test ! -s conftest.err'
3184
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188
(exit $ac_status); }; } &&
3189
{ ac_try='test -s conftest.$ac_objext'
3058
3190
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3059
3191
(eval $ac_try) 2>&5
3068
3200
ac_cv_header_stdc=no
3070
rm -f conftest.$ac_objext conftest.$ac_ext
3202
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3072
3204
if test $ac_cv_header_stdc = yes; then
3073
3205
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3074
3206
cat >conftest.$ac_ext <<_ACEOF
3075
#line $LINENO "configure"
3076
3207
/* confdefs.h. */
3078
3209
cat confdefs.h >>conftest.$ac_ext
3094
3225
if test $ac_cv_header_stdc = yes; then
3095
3226
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3096
3227
cat >conftest.$ac_ext <<_ACEOF
3097
#line $LINENO "configure"
3098
3228
/* confdefs.h. */
3100
3230
cat confdefs.h >>conftest.$ac_ext
3131
3260
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3133
3262
# define ISLOWER(c) \
3134
(('a' <= (c) && (c) <= 'i') \
3135
|| ('j' <= (c) && (c) <= 'r') \
3136
|| ('s' <= (c) && (c) <= 'z'))
3263
(('a' <= (c) && (c) <= 'i') \
3264
|| ('j' <= (c) && (c) <= 'r') \
3265
|| ('s' <= (c) && (c) <= 'z'))
3137
3266
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3196
3325
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3197
inttypes.h stdint.h unistd.h
3326
inttypes.h stdint.h unistd.h
3199
3328
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3200
3329
echo "$as_me:$LINENO: checking for $ac_header" >&5
3216
3344
rm -f conftest.$ac_objext
3217
3345
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3218
(eval $ac_compile) 2>&5
3346
(eval $ac_compile) 2>conftest.er1
3348
grep -v '^ *+' conftest.er1 >conftest.err
3350
cat conftest.err >&5
3220
3351
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221
3352
(exit $ac_status); } &&
3222
{ ac_try='test -s conftest.$ac_objext'
3353
{ ac_try='test -z "$ac_c_werror_flag"
3354
|| test ! -s conftest.err'
3355
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3358
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359
(exit $ac_status); }; } &&
3360
{ ac_try='test -s conftest.$ac_objext'
3223
3361
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224
3362
(eval $ac_try) 2>&5
3265
3403
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3266
3404
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3267
3405
cat >conftest.$ac_ext <<_ACEOF
3268
#line $LINENO "configure"
3269
3406
/* confdefs.h. */
3271
3408
cat confdefs.h >>conftest.$ac_ext
3277
3414
rm -f conftest.$ac_objext
3278
3415
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3279
(eval $ac_compile) 2>&5
3416
(eval $ac_compile) 2>conftest.er1
3418
grep -v '^ *+' conftest.er1 >conftest.err
3420
cat conftest.err >&5
3281
3421
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282
3422
(exit $ac_status); } &&
3283
{ ac_try='test -s conftest.$ac_objext'
3423
{ ac_try='test -z "$ac_c_werror_flag"
3424
|| test ! -s conftest.err'
3425
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429
(exit $ac_status); }; } &&
3430
{ ac_try='test -s conftest.$ac_objext'
3284
3431
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285
3432
(eval $ac_try) 2>&5
3301
3448
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3302
3449
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3303
3450
cat >conftest.$ac_ext <<_ACEOF
3304
#line $LINENO "configure"
3305
3451
/* confdefs.h. */
3307
3453
cat confdefs.h >>conftest.$ac_ext
3338
3485
echo "${ECHO_T}$ac_header_preproc" >&6
3340
3487
# So? What about this header?
3341
case $ac_header_compiler:$ac_header_preproc in
3488
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3343
3490
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3344
3491
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3345
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3346
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3349
## ------------------------------------ ##
3350
## Report this to bug-autoconf@gnu.org. ##
3351
## ------------------------------------ ##
3354
sed "s/^/$as_me: WARNING: /" >&2
3492
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3493
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3494
ac_header_preproc=yes
3357
3497
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3358
3498
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3359
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3360
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3499
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3500
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3501
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3502
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3503
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3504
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3361
3505
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3362
3506
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3507
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3508
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3365
## ------------------------------------ ##
3366
## Report this to bug-autoconf@gnu.org. ##
3367
## ------------------------------------ ##
3511
## ------------------------------------------ ##
3512
## Report this to the AC_PACKAGE_NAME lists. ##
3513
## ------------------------------------------ ##
3370
3516
sed "s/^/$as_me: WARNING: /" >&2
3375
3521
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3376
3522
echo $ECHO_N "(cached) $ECHO_C" >&6
3378
eval "$as_ac_Header=$ac_header_preproc"
3524
eval "$as_ac_Header=\$ac_header_preproc"
3380
3526
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3381
3527
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3461
3606
rm -f conftest.$ac_objext
3462
3607
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3463
(eval $ac_compile) 2>&5
3608
(eval $ac_compile) 2>conftest.er1
3610
grep -v '^ *+' conftest.er1 >conftest.err
3612
cat conftest.err >&5
3465
3613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466
3614
(exit $ac_status); } &&
3467
{ ac_try='test -s conftest.$ac_objext'
3615
{ ac_try='test -z "$ac_c_werror_flag"
3616
|| test ! -s conftest.err'
3617
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3620
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621
(exit $ac_status); }; } &&
3622
{ ac_try='test -s conftest.$ac_objext'
3468
3623
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3469
3624
(eval $ac_try) 2>&5
3501
3656
echo $ECHO_N "(cached) $ECHO_C" >&6
3503
3658
cat >conftest.$ac_ext <<_ACEOF
3504
#line $LINENO "configure"
3505
3659
/* confdefs.h. */
3507
3661
cat confdefs.h >>conftest.$ac_ext
3508
3662
cat >>conftest.$ac_ext <<_ACEOF
3509
3663
/* end confdefs.h. */
3664
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3665
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3666
#define $ac_func innocuous_$ac_func
3510
3668
/* System header to define __stub macros and hopefully few prototypes,
3511
3669
which can conflict with char $ac_func (); below.
3512
3670
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3513
3671
<limits.h> exists even on freestanding compilers. */
3514
3673
#ifdef __STDC__
3515
3674
# include <limits.h>
3517
3676
# include <assert.h>
3519
3681
/* Override any gcc2 internal prototype to avoid an error. */
3520
3682
#ifdef __cplusplus
3547
3709
rm -f conftest.$ac_objext conftest$ac_exeext
3548
3710
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3549
(eval $ac_link) 2>&5
3711
(eval $ac_link) 2>conftest.er1
3713
grep -v '^ *+' conftest.er1 >conftest.err
3715
cat conftest.err >&5
3551
3716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552
3717
(exit $ac_status); } &&
3553
{ ac_try='test -s conftest$ac_exeext'
3718
{ ac_try='test -z "$ac_c_werror_flag"
3719
|| test ! -s conftest.err'
3720
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3723
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724
(exit $ac_status); }; } &&
3725
{ ac_try='test -s conftest$ac_exeext'
3554
3726
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3555
3727
(eval $ac_try) 2>&5
3564
3736
eval "$as_ac_var=no"
3566
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3738
rm -f conftest.err conftest.$ac_objext \
3739
conftest$ac_exeext conftest.$ac_ext
3568
3741
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3569
3742
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3611
3784
# `set' does not quote correctly, so add quotes (double-quote
3612
3785
# substitution turns \\\\ into \\, and sed turns \\ into \).
3615
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3788
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3618
3791
# `set' quotes correctly as required by POSIX, so do not add quotes.
3620
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3793
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3647
3820
# trailing colons and then remove the whole line if VPATH becomes empty
3648
3821
# (actually we leave an empty line to preserve line numbers).
3649
3822
if test "x$srcdir" = x.; then
3650
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3823
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3651
3824
s/:*\$(srcdir):*/:/;
3652
3825
s/:*\${srcdir}:*/:/;
3653
3826
s/:*@srcdir@:*/:/;
3654
s/^\([^=]*=[ ]*\):*/\1/;
3827
s/^\([^=]*=[ ]*\):*/\1/;
3664
3837
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3665
3838
# 1. Remove the extension, and $U if already installed.
3666
3839
ac_i=`echo "$ac_i" |
3667
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3840
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3669
3842
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3670
3843
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3722
3895
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3898
DUALCASE=1; export DUALCASE # for MKS sh
3726
3900
# Support unset when possible.
3727
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3901
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3922
4096
if mkdir -p . 2>/dev/null; then
4099
test -d ./-p && rmdir ./-p
3925
4100
as_mkdir_p=false
3928
4103
as_executable_p="test -f"
3930
4105
# Sed expression to map a string onto a valid CPP name.
3931
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4106
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3933
4108
# Sed expression to map a string onto a valid variable name.
3934
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4109
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3958
4133
cat >&5 <<_CSEOF
3960
4135
This file was extended by $as_me, which was
3961
generated by GNU Autoconf 2.57. Invocation command line was
4136
generated by GNU Autoconf 2.59. Invocation command line was
3963
4138
CONFIG_FILES = $CONFIG_FILES
3964
4139
CONFIG_HEADERS = $CONFIG_HEADERS
4002
4177
-d, --debug don't remove temporary files
4003
4178
--recheck update $as_me by reconfiguring in the same conditions
4004
4179
--file=FILE[:TEMPLATE]
4005
instantiate the configuration file FILE
4180
instantiate the configuration file FILE
4006
4181
--header=FILE[:TEMPLATE]
4007
instantiate the configuration header FILE
4182
instantiate the configuration header FILE
4009
4184
Configuration files:
4021
4196
cat >>$CONFIG_STATUS <<_ACEOF
4022
4197
ac_cs_version="\\
4024
configured by $0, generated by GNU Autoconf 2.57,
4199
configured by $0, generated by GNU Autoconf 2.59,
4025
4200
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4027
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4028
Free Software Foundation, Inc.
4202
Copyright (C) 2003 Free Software Foundation, Inc.
4029
4203
This config.status script is free software; the Free Software Foundation
4030
4204
gives unlimited permission to copy, distribute and modify it."
4235
4409
s,@STRIP@,$STRIP,;t t
4236
4410
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4237
4411
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4412
s,@mkdir_p@,$mkdir_p,;t t
4238
4413
s,@AWK@,$AWK,;t t
4239
4414
s,@SET_MAKE@,$SET_MAKE,;t t
4240
4415
s,@am__leading_dot@,$am__leading_dot,;t t
4290
4465
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4291
4466
if test -z "$ac_sed_cmds"; then
4292
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4467
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4294
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4469
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4296
4471
ac_sed_frag=`expr $ac_sed_frag + 1`
4309
4484
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4310
4485
case $ac_file in
4311
4486
- | *:- | *:-:* ) # input from stdin
4313
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4314
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4488
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4489
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4315
4490
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4316
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4491
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4317
4492
* ) ac_file_in=$ac_file.in ;;
4320
4495
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4321
4496
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4322
4497
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4323
X"$ac_file" : 'X\(//\)[^/]' \| \
4324
X"$ac_file" : 'X\(//\)$' \| \
4325
X"$ac_file" : 'X\(/\)' \| \
4326
. : '\(.\)' 2>/dev/null ||
4498
X"$ac_file" : 'X\(//\)[^/]' \| \
4499
X"$ac_file" : 'X\(//\)$' \| \
4500
X"$ac_file" : 'X\(/\)' \| \
4501
. : '\(.\)' 2>/dev/null ||
4327
4502
echo X"$ac_file" |
4328
4503
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4329
4504
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4339
4514
as_dirs="$as_dir $as_dirs"
4340
4515
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4341
4516
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4342
X"$as_dir" : 'X\(//\)[^/]' \| \
4343
X"$as_dir" : 'X\(//\)$' \| \
4344
X"$as_dir" : 'X\(/\)' \| \
4345
. : '\(.\)' 2>/dev/null ||
4517
X"$as_dir" : 'X\(//\)[^/]' \| \
4518
X"$as_dir" : 'X\(//\)$' \| \
4519
X"$as_dir" : 'X\(/\)' \| \
4520
. : '\(.\)' 2>/dev/null ||
4346
4521
echo X"$as_dir" |
4347
4522
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4348
4523
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4380
4555
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4381
4556
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4383
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4385
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4386
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4387
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4388
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4559
# Do not use `cd foo && pwd` to compute absolute paths, because
4560
# the directories may not exist.
4562
.) ac_abs_builddir="$ac_dir";;
4565
.) ac_abs_builddir=`pwd`;;
4566
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4567
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4570
case $ac_abs_builddir in
4571
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4573
case ${ac_top_builddir}. in
4574
.) ac_abs_top_builddir=$ac_abs_builddir;;
4575
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4576
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4579
case $ac_abs_builddir in
4580
.) ac_abs_srcdir=$ac_srcdir;;
4583
.) ac_abs_srcdir=$ac_abs_builddir;;
4584
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4585
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4588
case $ac_abs_builddir in
4589
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4591
case $ac_top_srcdir in
4592
.) ac_abs_top_srcdir=$ac_abs_builddir;;
4593
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4594
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4391
4599
case $INSTALL in
4407
4615
configure_input="$ac_file. "
4409
4617
configure_input=$configure_input"Generated from `echo $ac_file_in |
4410
sed 's,.*/,,'` by configure."
4618
sed 's,.*/,,'` by configure."
4412
4620
# First look for the input files in the build tree, otherwise in the
4417
4625
-) echo $tmp/stdin ;;
4419
# Absolute (can't be DOS-style, as IFS=:)
4420
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4627
# Absolute (can't be DOS-style, as IFS=:)
4628
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4421
4629
echo "$as_me: error: cannot find input file: $f" >&2;}
4422
4630
{ (exit 1); exit 1; }; }
4425
if test -f "$f"; then
4428
elif test -f "$srcdir/$f"; then
4433
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4633
if test -f "$f"; then
4636
elif test -f "$srcdir/$f"; then
4641
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4434
4642
echo "$as_me: error: cannot find input file: $f" >&2;}
4435
4643
{ (exit 1); exit 1; }; }
4438
4646
done` || { (exit 1); exit 1; }
4475
4683
# NAME is the cpp macro being defined and VALUE is the value it is being given.
4477
4685
# ac_d sets the value in "#define NAME VALUE" lines.
4478
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4479
ac_dB='[ ].*$,\1#\2'
4686
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4687
ac_dB='[ ].*$,\1#\2'
4482
4690
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4483
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4691
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4484
4692
ac_uB='$,\1#\2define\3'
4489
4697
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4490
4698
case $ac_file in
4491
4699
- | *:- | *:-:* ) # input from stdin
4493
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4494
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4701
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4702
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4495
4703
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4496
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4704
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4497
4705
* ) ac_file_in=$ac_file.in ;;
4508
4716
-) echo $tmp/stdin ;;
4510
# Absolute (can't be DOS-style, as IFS=:)
4511
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4718
# Absolute (can't be DOS-style, as IFS=:)
4719
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4512
4720
echo "$as_me: error: cannot find input file: $f" >&2;}
4513
4721
{ (exit 1); exit 1; }; }
4722
# Do quote $f, to prevent DOS paths from being IFS'd.
4516
if test -f "$f"; then
4519
elif test -f "$srcdir/$f"; then
4524
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4725
if test -f "$f"; then
4728
elif test -f "$srcdir/$f"; then
4733
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4525
4734
echo "$as_me: error: cannot find input file: $f" >&2;}
4526
4735
{ (exit 1); exit 1; }; }
4529
4738
done` || { (exit 1); exit 1; }
4530
4739
# Remove the trailing spaces.
4531
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4740
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4554
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4763
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4556
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4765
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4559
4768
# If some macros were called several times there might be several times
4567
4776
# example, in the case of _POSIX_SOURCE, which is predefined and required
4568
4777
# on some systems where configure will not decide to define it.
4569
4778
cat >>conftest.undefs <<\_ACEOF
4570
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4779
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4573
4782
# Break up conftest.defines because some shells have a limit on the size
4574
4783
# of here documents, and old seds have small limits too (100 cmds).
4575
4784
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4576
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4785
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4577
4786
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4578
4787
echo ' :' >>$CONFIG_STATUS
4579
4788
rm -f conftest.tail
4582
4791
# Write a limited-size here document to $tmp/defines.sed.
4583
4792
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4584
4793
# Speed up: don't consider the non `#define' lines.
4585
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4794
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4586
4795
# Work around the forget-to-reset-the-flag bug.
4587
4796
echo 't clr' >>$CONFIG_STATUS
4588
4797
echo ': clr' >>$CONFIG_STATUS
4609
4818
# Write a limited-size here document to $tmp/undefs.sed.
4610
4819
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4611
4820
# Speed up: don't consider the non `#undef'
4612
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4821
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4613
4822
# Work around the forget-to-reset-the-flag bug.
4614
4823
echo 't clr' >>$CONFIG_STATUS
4615
4824
echo ': clr' >>$CONFIG_STATUS
4644
4853
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4645
4854
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4646
X"$ac_file" : 'X\(//\)[^/]' \| \
4647
X"$ac_file" : 'X\(//\)$' \| \
4648
X"$ac_file" : 'X\(/\)' \| \
4649
. : '\(.\)' 2>/dev/null ||
4855
X"$ac_file" : 'X\(//\)[^/]' \| \
4856
X"$ac_file" : 'X\(//\)$' \| \
4857
X"$ac_file" : 'X\(/\)' \| \
4858
. : '\(.\)' 2>/dev/null ||
4650
4859
echo X"$ac_file" |
4651
4860
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4652
4861
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4662
4871
as_dirs="$as_dir $as_dirs"
4663
4872
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4664
4873
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4665
X"$as_dir" : 'X\(//\)[^/]' \| \
4666
X"$as_dir" : 'X\(//\)$' \| \
4667
X"$as_dir" : 'X\(/\)' \| \
4668
. : '\(.\)' 2>/dev/null ||
4874
X"$as_dir" : 'X\(//\)[^/]' \| \
4875
X"$as_dir" : 'X\(//\)$' \| \
4876
X"$as_dir" : 'X\(/\)' \| \
4877
. : '\(.\)' 2>/dev/null ||
4669
4878
echo X"$as_dir" |
4670
4879
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4671
4880
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4698
4907
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4699
4908
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4700
X$ac_file : 'X\(//\)[^/]' \| \
4701
X$ac_file : 'X\(//\)$' \| \
4702
X$ac_file : 'X\(/\)' \| \
4703
. : '\(.\)' 2>/dev/null ||
4909
X$ac_file : 'X\(//\)[^/]' \| \
4910
X$ac_file : 'X\(//\)$' \| \
4911
X$ac_file : 'X\(/\)' \| \
4912
. : '\(.\)' 2>/dev/null ||
4704
4913
echo X$ac_file |
4705
4914
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4706
4915
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4719
4928
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4720
4929
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4721
4930
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4722
X"$ac_dest" : 'X\(//\)[^/]' \| \
4723
X"$ac_dest" : 'X\(//\)$' \| \
4724
X"$ac_dest" : 'X\(/\)' \| \
4725
. : '\(.\)' 2>/dev/null ||
4931
X"$ac_dest" : 'X\(//\)[^/]' \| \
4932
X"$ac_dest" : 'X\(//\)$' \| \
4933
X"$ac_dest" : 'X\(/\)' \| \
4934
. : '\(.\)' 2>/dev/null ||
4726
4935
echo X"$ac_dest" |
4727
4936
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4728
4937
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4729
4938
/^X\(\/\/\)$/{ s//\1/; q; }
4730
4939
/^X\(\/\).*/{ s//\1/; q; }
4941
{ if $as_mkdir_p; then
4946
while test ! -d "$as_dir"; do
4947
as_dirs="$as_dir $as_dirs"
4948
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4949
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4950
X"$as_dir" : 'X\(//\)[^/]' \| \
4951
X"$as_dir" : 'X\(//\)$' \| \
4952
X"$as_dir" : 'X\(/\)' \| \
4953
. : '\(.\)' 2>/dev/null ||
4955
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4956
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4957
/^X\(\/\/\)$/{ s//\1/; q; }
4958
/^X\(\/\).*/{ s//\1/; q; }
4961
test ! -n "$as_dirs" || mkdir $as_dirs
4962
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4963
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4964
{ (exit 1); exit 1; }; }; }
4734
4968
if test "$ac_dir" != .; then
4754
4988
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4755
4989
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4757
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4759
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4760
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4761
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4762
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4992
# Do not use `cd foo && pwd` to compute absolute paths, because
4993
# the directories may not exist.
4995
.) ac_abs_builddir="$ac_dir";;
4998
.) ac_abs_builddir=`pwd`;;
4999
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5000
*) ac_abs_builddir=`pwd`/"$ac_dir";;
5003
case $ac_abs_builddir in
5004
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5006
case ${ac_top_builddir}. in
5007
.) ac_abs_top_builddir=$ac_abs_builddir;;
5008
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5009
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5012
case $ac_abs_builddir in
5013
.) ac_abs_srcdir=$ac_srcdir;;
5016
.) ac_abs_srcdir=$ac_abs_builddir;;
5017
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5018
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5021
case $ac_abs_builddir in
5022
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5024
case $ac_top_srcdir in
5025
.) ac_abs_top_srcdir=$ac_abs_builddir;;
5026
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5027
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4765
5032
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4777
5044
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4778
5045
dirpart=`(dirname "$mf") 2>/dev/null ||
4779
5046
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4780
X"$mf" : 'X\(//\)[^/]' \| \
4781
X"$mf" : 'X\(//\)$' \| \
4782
X"$mf" : 'X\(/\)' \| \
4783
. : '\(.\)' 2>/dev/null ||
5047
X"$mf" : 'X\(//\)[^/]' \| \
5048
X"$mf" : 'X\(//\)$' \| \
5049
X"$mf" : 'X\(/\)' \| \
5050
. : '\(.\)' 2>/dev/null ||
4785
5052
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4786
5053
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4793
5060
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4794
5061
# Extract the definition of DEP_FILES from the Makefile without
4795
5062
# running `make'.
4796
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5063
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4797
5064
test -z "$DEPDIR" && continue
4798
5065
# When using ansi2knr, U may be empty or an underscore; expand it
4799
U=`sed -n -e '/^U = / s///p' < "$mf"`
5066
U=`sed -n 's/^U = //p' < "$mf"`
4800
5067
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4801
5068
# We invoke sed twice because it is the simplest approach to
4802
5069
# changing $(DEPDIR) to its actual value in the expansion.
4803
for file in `sed -n -e '
5070
for file in `sed -n '
4804
5071
/^DEP_FILES = .*\\\\$/ {
4805
5072
s/^DEP_FILES = //
4816
5083
test -f "$dirpart/$file" && continue
4817
5084
fdir=`(dirname "$file") 2>/dev/null ||
4818
5085
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4819
X"$file" : 'X\(//\)[^/]' \| \
4820
X"$file" : 'X\(//\)$' \| \
4821
X"$file" : 'X\(/\)' \| \
4822
. : '\(.\)' 2>/dev/null ||
5086
X"$file" : 'X\(//\)[^/]' \| \
5087
X"$file" : 'X\(//\)$' \| \
5088
X"$file" : 'X\(/\)' \| \
5089
. : '\(.\)' 2>/dev/null ||
4823
5090
echo X"$file" |
4824
5091
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4825
5092
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4835
5102
as_dirs="$as_dir $as_dirs"
4836
5103
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4837
5104
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4838
X"$as_dir" : 'X\(//\)[^/]' \| \
4839
X"$as_dir" : 'X\(//\)$' \| \
4840
X"$as_dir" : 'X\(/\)' \| \
4841
. : '\(.\)' 2>/dev/null ||
5105
X"$as_dir" : 'X\(//\)[^/]' \| \
5106
X"$as_dir" : 'X\(//\)$' \| \
5107
X"$as_dir" : 'X\(/\)' \| \
5108
. : '\(.\)' 2>/dev/null ||
4842
5109
echo X"$as_dir" |
4843
5110
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4844
5111
/^X\(\/\/\)[^/].*/{ s//\1/; q; }