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 LN_S PERL PROCMAIL CPP EGREP webadmindir mailuser mailgroup 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 LN_S PERL PROCMAIL CPP EGREP webadmindir mailuser mailgroup 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
Optional Packages:
851
852
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
897
898
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
898
899
ac_top_srcdir=$ac_top_builddir$srcdir ;;
900
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
902
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
903
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
904
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
905
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
902
# Do not use `cd foo && pwd` to compute absolute paths, because
903
# the directories may not exist.
905
.) ac_abs_builddir="$ac_dir";;
908
.) ac_abs_builddir=`pwd`;;
909
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
910
*) ac_abs_builddir=`pwd`/"$ac_dir";;
913
case $ac_abs_builddir in
914
.) ac_abs_top_builddir=${ac_top_builddir}.;;
916
case ${ac_top_builddir}. in
917
.) ac_abs_top_builddir=$ac_abs_builddir;;
918
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
919
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
922
case $ac_abs_builddir in
923
.) ac_abs_srcdir=$ac_srcdir;;
926
.) ac_abs_srcdir=$ac_abs_builddir;;
927
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
928
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
931
case $ac_abs_builddir in
932
.) ac_abs_top_srcdir=$ac_top_srcdir;;
934
case $ac_top_srcdir in
935
.) ac_abs_top_srcdir=$ac_abs_builddir;;
936
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
937
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
908
942
# Check for guested configure; otherwise get Cygnus style configure.
927
961
if $ac_init_version; then
930
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
931
Free Software Foundation, Inc.
964
Copyright (C) 2003 Free Software Foundation, Inc.
932
965
This configure script is free software; the Free Software Foundation
933
966
gives unlimited permission to copy, distribute and modify it.
940
973
running configure, to aid debugging if configure makes a mistake.
942
975
It was created by $as_me, which was
943
generated by GNU Autoconf 2.57. Invocation command line was
976
generated by GNU Autoconf 2.59. Invocation command line was
1018
1051
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1019
1052
if test $ac_must_keep_next = true; then
1020
ac_must_keep_next=false # Got value, back to normal.
1053
ac_must_keep_next=false # Got value, back to normal.
1023
*=* | --config-cache | -C | -disable-* | --disable-* \
1024
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1025
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1026
| -with-* | --with-* | -without-* | --without-* | --x)
1027
case "$ac_configure_args0 " in
1028
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1031
-* ) ac_must_keep_next=true ;;
1056
*=* | --config-cache | -C | -disable-* | --disable-* \
1057
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1058
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1059
| -with-* | --with-* | -without-* | --without-* | --x)
1060
case "$ac_configure_args0 " in
1061
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1064
-* ) ac_must_keep_next=true ;;
1034
1067
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1035
1068
# Get rid of the leading space.
1063
1096
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1066
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1067
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1099
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1100
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1071
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1104
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1197
1230
ac_cache_corrupted=false
1198
1231
for ac_var in `(set) 2>&1 |
1199
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1232
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1200
1233
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1201
1234
eval ac_new_set=\$ac_env_${ac_var}_set
1202
1235
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1215
1248
if test "x$ac_old_val" != "x$ac_new_val"; then
1216
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1249
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1217
1250
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1218
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1251
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1219
1252
echo "$as_me: former value: $ac_old_val" >&2;}
1220
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1253
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1221
1254
echo "$as_me: current value: $ac_new_val" >&2;}
1222
ac_cache_corrupted=:
1255
ac_cache_corrupted=:
1225
1258
# Pass precious variables to config.status.
1305
1338
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1306
1339
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1307
1340
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1341
# OS/2's system install, which has a completely different semantic
1308
1342
# ./install, which can be erroneously created by make from ./install.sh.
1309
1343
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1310
1344
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1329
1364
for ac_prog in ginstall scoinst install; do
1330
1365
for ac_exec_ext in '' $ac_executable_extensions; do
1331
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1332
if test $ac_prog = install &&
1333
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1334
# AIX install. It has an incompatible calling convention.
1336
elif test $ac_prog = install &&
1337
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1338
# program-specific install script used by HP pwplus--don't use.
1341
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1366
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1367
if test $ac_prog = install &&
1368
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1369
# AIX install. It has an incompatible calling convention.
1371
elif test $ac_prog = install &&
1372
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1373
# program-specific install script used by HP pwplus--don't use.
1376
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1443
1477
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1480
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1481
# Keeping the `.' argument allows $(mkdir_p) to be used without
1482
# argument. Indeed, we sometimes output rules like
1483
# $(mkdir_p) $(somedir)
1484
# where $(somedir) is conditionally defined.
1485
# (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1486
# expensive solution, as it forces Make to start a sub-shell.)
1487
mkdir_p='mkdir -p -- .'
1489
# On NextStep and OpenStep, the `mkdir' command does not
1490
# recognize any option. It will interpret all options as
1491
# directories to create, and then abort because `.' already
1493
for d in ./-p ./--version;
1495
test -d $d && rmdir $d
1497
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1498
if test -f "$ac_aux_dir/mkinstalldirs"; then
1499
mkdir_p='$(mkinstalldirs)'
1501
mkdir_p='$(install_sh) -d'
1446
1505
for ac_prog in gawk mawk nawk awk
1448
1507
# Extract the first word of "$ac_prog", so it can be a program name with args.
1486
1545
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1487
1546
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1488
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1547
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1489
1548
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1490
1549
echo $ECHO_N "(cached) $ECHO_C" >&6
1522
1581
rmdir .tst 2>/dev/null
1524
# test to see if srcdir already configured
1583
# test to see if srcdir already configured
1525
1584
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1526
1585
test -f $srcdir/config.status; then
1527
1586
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2016
2074
# Try to create an executable without -o first, disregard a.out.
2017
2075
# It will help us diagnose broken compilers, and finding out an intuition
2019
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2020
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2077
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2078
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2021
2079
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2022
2080
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2023
2081
(eval $ac_link_default) 2>&5
2037
2095
test -f "$ac_file" || continue
2038
2096
case $ac_file in
2039
2097
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2041
2099
conftest.$ac_ext )
2042
# This is the source file.
2100
# This is the source file.
2045
# We found the default executable, but exeext='' is most
2103
# We found the default executable, but exeext='' is most
2049
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2050
# FIXME: I believe we export ac_cv_exeext for Libtool,
2051
# but it would be cool to find out if it's true. Does anybody
2052
# maintain Libtool? --akim.
2107
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2108
# FIXME: I believe we export ac_cv_exeext for Libtool,
2109
# but it would be cool to find out if it's true. Does anybody
2110
# maintain Libtool? --akim.
2225
2281
rm -f conftest.$ac_objext
2226
2282
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2227
(eval $ac_compile) 2>&5
2283
(eval $ac_compile) 2>conftest.er1
2285
grep -v '^ *+' conftest.er1 >conftest.err
2287
cat conftest.err >&5
2229
2288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2230
2289
(exit $ac_status); } &&
2231
{ ac_try='test -s conftest.$ac_objext'
2290
{ ac_try='test -z "$ac_c_werror_flag"
2291
|| test ! -s conftest.err'
2292
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2295
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296
(exit $ac_status); }; } &&
2297
{ ac_try='test -s conftest.$ac_objext'
2232
2298
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2233
2299
(eval $ac_try) 2>&5
2275
2340
rm -f conftest.$ac_objext
2276
2341
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2277
(eval $ac_compile) 2>&5
2342
(eval $ac_compile) 2>conftest.er1
2344
grep -v '^ *+' conftest.er1 >conftest.err
2346
cat conftest.err >&5
2279
2347
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280
2348
(exit $ac_status); } &&
2281
{ ac_try='test -s conftest.$ac_objext'
2349
{ ac_try='test -z "$ac_c_werror_flag"
2350
|| test ! -s conftest.err'
2351
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355
(exit $ac_status); }; } &&
2356
{ ac_try='test -s conftest.$ac_objext'
2282
2357
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283
2358
(eval $ac_try) 2>&5
2424
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2425
function prototypes and stuff, but not '\xHH' hex character constants.
2426
These don't provoke an error unfortunately, instead are silently treated
2427
as 'x'. The following induces an error, until -std1 is added to get
2428
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2429
array size at least. It's necessary to write '\x00'==0 to get something
2430
that's true only with -std1. */
2431
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2349
2433
int test (int i, double x);
2350
2434
struct s1 {int (*f) (int a);};
2351
2435
struct s2 {int (*f) (double a);};
2372
2456
CC="$ac_save_CC $ac_arg"
2373
2457
rm -f conftest.$ac_objext
2374
2458
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2375
(eval $ac_compile) 2>&5
2459
(eval $ac_compile) 2>conftest.er1
2461
grep -v '^ *+' conftest.er1 >conftest.err
2463
cat conftest.err >&5
2377
2464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378
2465
(exit $ac_status); } &&
2379
{ ac_try='test -s conftest.$ac_objext'
2466
{ ac_try='test -z "$ac_c_werror_flag"
2467
|| test ! -s conftest.err'
2468
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2471
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472
(exit $ac_status); }; } &&
2473
{ ac_try='test -s conftest.$ac_objext'
2380
2474
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2381
2475
(eval $ac_try) 2>&5
2418
2512
rm -f conftest.$ac_objext
2419
2513
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2420
(eval $ac_compile) 2>&5
2514
(eval $ac_compile) 2>conftest.er1
2516
grep -v '^ *+' conftest.er1 >conftest.err
2518
cat conftest.err >&5
2422
2519
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423
2520
(exit $ac_status); } &&
2424
{ ac_try='test -s conftest.$ac_objext'
2521
{ ac_try='test -z "$ac_c_werror_flag"
2522
|| test ! -s conftest.err'
2523
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527
(exit $ac_status); }; } &&
2528
{ ac_try='test -s conftest.$ac_objext'
2425
2529
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2426
2530
(eval $ac_try) 2>&5
2428
2532
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429
2533
(exit $ac_status); }; }; then
2430
2534
for ac_declaration in \
2432
'#include <stdlib.h>' \
2433
2536
'extern "C" void std::exit (int) throw (); using std::exit;' \
2434
2537
'extern "C" void std::exit (int); using std::exit;' \
2435
2538
'extern "C" void exit (int) throw ();' \
2456
2558
rm -f conftest.$ac_objext
2457
2559
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2458
(eval $ac_compile) 2>&5
2560
(eval $ac_compile) 2>conftest.er1
2562
grep -v '^ *+' conftest.er1 >conftest.err
2564
cat conftest.err >&5
2460
2565
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461
2566
(exit $ac_status); } &&
2462
{ ac_try='test -s conftest.$ac_objext'
2567
{ ac_try='test -z "$ac_c_werror_flag"
2568
|| test ! -s conftest.err'
2569
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2572
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573
(exit $ac_status); }; } &&
2574
{ ac_try='test -s conftest.$ac_objext'
2463
2575
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2464
2576
(eval $ac_try) 2>&5
2475
rm -f conftest.$ac_objext conftest.$ac_ext
2587
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2476
2588
cat >conftest.$ac_ext <<_ACEOF
2477
#line $LINENO "configure"
2478
2589
/* confdefs.h. */
2480
2591
cat confdefs.h >>conftest.$ac_ext
2492
2603
rm -f conftest.$ac_objext
2493
2604
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2494
(eval $ac_compile) 2>&5
2605
(eval $ac_compile) 2>conftest.er1
2607
grep -v '^ *+' conftest.er1 >conftest.err
2609
cat conftest.err >&5
2496
2610
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497
2611
(exit $ac_status); } &&
2498
{ ac_try='test -s conftest.$ac_objext'
2612
{ ac_try='test -z "$ac_c_werror_flag"
2613
|| test ! -s conftest.err'
2614
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2617
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618
(exit $ac_status); }; } &&
2619
{ ac_try='test -s conftest.$ac_objext'
2499
2620
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2500
2621
(eval $ac_try) 2>&5
2706
2829
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2707
2830
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2708
2831
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2832
# OS/2's system install, which has a completely different semantic
2709
2833
# ./install, which can be erroneously created by make from ./install.sh.
2710
2834
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2711
2835
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2730
2855
for ac_prog in ginstall scoinst install; do
2731
2856
for ac_exec_ext in '' $ac_executable_extensions; do
2732
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2733
if test $ac_prog = install &&
2734
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2735
# AIX install. It has an incompatible calling convention.
2737
elif test $ac_prog = install &&
2738
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2739
# program-specific install script used by HP pwplus--don't use.
2742
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2857
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2858
if test $ac_prog = install &&
2859
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2860
# AIX install. It has an incompatible calling convention.
2862
elif test $ac_prog = install &&
2863
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2864
# program-specific install script used by HP pwplus--don't use.
2867
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2939
3064
# On the NeXT, cc -E runs the code through the compiler's parser,
2940
3065
# not just through cpp. "Syntax error" is here to catch this case.
2941
3066
cat >conftest.$ac_ext <<_ACEOF
2942
#line $LINENO "configure"
2943
3067
/* confdefs.h. */
2945
3069
cat confdefs.h >>conftest.$ac_ext
2982
3107
# OK, works on sane cases. Now check whether non-existent headers
2983
3108
# can be detected and how.
2984
3109
cat >conftest.$ac_ext <<_ACEOF
2985
#line $LINENO "configure"
2986
3110
/* confdefs.h. */
2988
3112
cat confdefs.h >>conftest.$ac_ext
3046
3171
# On the NeXT, cc -E runs the code through the compiler's parser,
3047
3172
# not just through cpp. "Syntax error" is here to catch this case.
3048
3173
cat >conftest.$ac_ext <<_ACEOF
3049
#line $LINENO "configure"
3050
3174
/* confdefs.h. */
3052
3176
cat confdefs.h >>conftest.$ac_ext
3089
3214
# OK, works on sane cases. Now check whether non-existent headers
3090
3215
# can be detected and how.
3091
3216
cat >conftest.$ac_ext <<_ACEOF
3092
#line $LINENO "configure"
3093
3217
/* confdefs.h. */
3095
3219
cat confdefs.h >>conftest.$ac_ext
3189
3313
rm -f conftest.$ac_objext
3190
3314
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3191
(eval $ac_compile) 2>&5
3315
(eval $ac_compile) 2>conftest.er1
3317
grep -v '^ *+' conftest.er1 >conftest.err
3319
cat conftest.err >&5
3193
3320
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194
3321
(exit $ac_status); } &&
3195
{ ac_try='test -s conftest.$ac_objext'
3322
{ ac_try='test -z "$ac_c_werror_flag"
3323
|| test ! -s conftest.err'
3324
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328
(exit $ac_status); }; } &&
3329
{ ac_try='test -s conftest.$ac_objext'
3196
3330
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3197
3331
(eval $ac_try) 2>&5
3206
3340
ac_cv_header_stdc=no
3208
rm -f conftest.$ac_objext conftest.$ac_ext
3342
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3210
3344
if test $ac_cv_header_stdc = yes; then
3211
3345
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3212
3346
cat >conftest.$ac_ext <<_ACEOF
3213
#line $LINENO "configure"
3214
3347
/* confdefs.h. */
3216
3349
cat confdefs.h >>conftest.$ac_ext
3232
3365
if test $ac_cv_header_stdc = yes; then
3233
3366
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3234
3367
cat >conftest.$ac_ext <<_ACEOF
3235
#line $LINENO "configure"
3236
3368
/* confdefs.h. */
3238
3370
cat confdefs.h >>conftest.$ac_ext
3269
3400
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3271
3402
# define ISLOWER(c) \
3272
(('a' <= (c) && (c) <= 'i') \
3273
|| ('j' <= (c) && (c) <= 'r') \
3274
|| ('s' <= (c) && (c) <= 'z'))
3403
(('a' <= (c) && (c) <= 'i') \
3404
|| ('j' <= (c) && (c) <= 'r') \
3405
|| ('s' <= (c) && (c) <= 'z'))
3275
3406
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3334
3465
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3335
inttypes.h stdint.h unistd.h
3466
inttypes.h stdint.h unistd.h
3337
3468
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3338
3469
echo "$as_me:$LINENO: checking for $ac_header" >&5
3354
3484
rm -f conftest.$ac_objext
3355
3485
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3356
(eval $ac_compile) 2>&5
3486
(eval $ac_compile) 2>conftest.er1
3488
grep -v '^ *+' conftest.er1 >conftest.err
3490
cat conftest.err >&5
3358
3491
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359
3492
(exit $ac_status); } &&
3360
{ ac_try='test -s conftest.$ac_objext'
3493
{ ac_try='test -z "$ac_c_werror_flag"
3494
|| test ! -s conftest.err'
3495
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3498
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499
(exit $ac_status); }; } &&
3500
{ ac_try='test -s conftest.$ac_objext'
3361
3501
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3362
3502
(eval $ac_try) 2>&5
3401
3541
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3402
3542
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3403
3543
cat >conftest.$ac_ext <<_ACEOF
3404
#line $LINENO "configure"
3405
3544
/* confdefs.h. */
3407
3546
cat confdefs.h >>conftest.$ac_ext
3413
3552
rm -f conftest.$ac_objext
3414
3553
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3415
(eval $ac_compile) 2>&5
3554
(eval $ac_compile) 2>conftest.er1
3556
grep -v '^ *+' conftest.er1 >conftest.err
3558
cat conftest.err >&5
3417
3559
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418
3560
(exit $ac_status); } &&
3419
{ ac_try='test -s conftest.$ac_objext'
3561
{ ac_try='test -z "$ac_c_werror_flag"
3562
|| test ! -s conftest.err'
3563
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3566
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567
(exit $ac_status); }; } &&
3568
{ ac_try='test -s conftest.$ac_objext'
3420
3569
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421
3570
(eval $ac_try) 2>&5
3437
3586
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3438
3587
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3439
3588
cat >conftest.$ac_ext <<_ACEOF
3440
#line $LINENO "configure"
3441
3589
/* confdefs.h. */
3443
3591
cat confdefs.h >>conftest.$ac_ext
3474
3623
echo "${ECHO_T}$ac_header_preproc" >&6
3476
3625
# So? What about this header?
3477
case $ac_header_compiler:$ac_header_preproc in
3626
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3479
3628
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3480
3629
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3481
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3482
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3485
## ------------------------------------ ##
3486
## Report this to bug-autoconf@gnu.org. ##
3487
## ------------------------------------ ##
3490
sed "s/^/$as_me: WARNING: /" >&2
3630
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3631
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3632
ac_header_preproc=yes
3493
3635
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3494
3636
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3495
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3496
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3637
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3638
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3639
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3640
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3641
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3642
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3497
3643
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3498
3644
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3645
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3646
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3501
## ------------------------------------ ##
3502
## Report this to bug-autoconf@gnu.org. ##
3503
## ------------------------------------ ##
3649
## ------------------------------------------ ##
3650
## Report this to the AC_PACKAGE_NAME lists. ##
3651
## ------------------------------------------ ##
3506
3654
sed "s/^/$as_me: WARNING: /" >&2
3511
3659
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3512
3660
echo $ECHO_N "(cached) $ECHO_C" >&6
3514
eval "$as_ac_Header=$ac_header_preproc"
3662
eval "$as_ac_Header=\$ac_header_preproc"
3516
3664
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3517
3665
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3635
3783
# `set' does not quote correctly, so add quotes (double-quote
3636
3784
# substitution turns \\\\ into \\, and sed turns \\ into \).
3639
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3787
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3642
3790
# `set' quotes correctly as required by POSIX, so do not add quotes.
3644
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3792
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3671
3819
# trailing colons and then remove the whole line if VPATH becomes empty
3672
3820
# (actually we leave an empty line to preserve line numbers).
3673
3821
if test "x$srcdir" = x.; then
3674
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3822
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3675
3823
s/:*\$(srcdir):*/:/;
3676
3824
s/:*\${srcdir}:*/:/;
3677
3825
s/:*@srcdir@:*/:/;
3678
s/^\([^=]*=[ ]*\):*/\1/;
3826
s/^\([^=]*=[ ]*\):*/\1/;
3688
3836
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3689
3837
# 1. Remove the extension, and $U if already installed.
3690
3838
ac_i=`echo "$ac_i" |
3691
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3839
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3693
3841
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3694
3842
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3746
3894
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3897
DUALCASE=1; export DUALCASE # for MKS sh
3750
3899
# Support unset when possible.
3751
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3900
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3946
4095
if mkdir -p . 2>/dev/null; then
4098
test -d ./-p && rmdir ./-p
3949
4099
as_mkdir_p=false
3952
4102
as_executable_p="test -f"
3954
4104
# Sed expression to map a string onto a valid CPP name.
3955
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4105
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3957
4107
# Sed expression to map a string onto a valid variable name.
3958
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4108
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3982
4132
cat >&5 <<_CSEOF
3984
4134
This file was extended by $as_me, which was
3985
generated by GNU Autoconf 2.57. Invocation command line was
4135
generated by GNU Autoconf 2.59. Invocation command line was
3987
4137
CONFIG_FILES = $CONFIG_FILES
3988
4138
CONFIG_HEADERS = $CONFIG_HEADERS
4026
4176
-d, --debug don't remove temporary files
4027
4177
--recheck update $as_me by reconfiguring in the same conditions
4028
4178
--file=FILE[:TEMPLATE]
4029
instantiate the configuration file FILE
4179
instantiate the configuration file FILE
4030
4180
--header=FILE[:TEMPLATE]
4031
instantiate the configuration header FILE
4181
instantiate the configuration header FILE
4033
4183
Configuration files:
4045
4195
cat >>$CONFIG_STATUS <<_ACEOF
4046
4196
ac_cs_version="\\
4048
configured by $0, generated by GNU Autoconf 2.57,
4198
configured by $0, generated by GNU Autoconf 2.59,
4049
4199
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4051
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4052
Free Software Foundation, Inc.
4201
Copyright (C) 2003 Free Software Foundation, Inc.
4053
4202
This config.status script is free software; the Free Software Foundation
4054
4203
gives unlimited permission to copy, distribute and modify it."
4261
4410
s,@STRIP@,$STRIP,;t t
4262
4411
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4263
4412
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4413
s,@mkdir_p@,$mkdir_p,;t t
4264
4414
s,@AWK@,$AWK,;t t
4265
4415
s,@SET_MAKE@,$SET_MAKE,;t t
4266
4416
s,@am__leading_dot@,$am__leading_dot,;t t
4320
4470
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4321
4471
if test -z "$ac_sed_cmds"; then
4322
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4472
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4324
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4474
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4326
4476
ac_sed_frag=`expr $ac_sed_frag + 1`
4339
4489
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4340
4490
case $ac_file in
4341
4491
- | *:- | *:-:* ) # input from stdin
4343
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4344
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4493
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4494
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4345
4495
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4346
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4496
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4347
4497
* ) ac_file_in=$ac_file.in ;;
4350
4500
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4351
4501
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4352
4502
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4353
X"$ac_file" : 'X\(//\)[^/]' \| \
4354
X"$ac_file" : 'X\(//\)$' \| \
4355
X"$ac_file" : 'X\(/\)' \| \
4356
. : '\(.\)' 2>/dev/null ||
4503
X"$ac_file" : 'X\(//\)[^/]' \| \
4504
X"$ac_file" : 'X\(//\)$' \| \
4505
X"$ac_file" : 'X\(/\)' \| \
4506
. : '\(.\)' 2>/dev/null ||
4357
4507
echo X"$ac_file" |
4358
4508
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4359
4509
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4369
4519
as_dirs="$as_dir $as_dirs"
4370
4520
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4371
4521
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4372
X"$as_dir" : 'X\(//\)[^/]' \| \
4373
X"$as_dir" : 'X\(//\)$' \| \
4374
X"$as_dir" : 'X\(/\)' \| \
4375
. : '\(.\)' 2>/dev/null ||
4522
X"$as_dir" : 'X\(//\)[^/]' \| \
4523
X"$as_dir" : 'X\(//\)$' \| \
4524
X"$as_dir" : 'X\(/\)' \| \
4525
. : '\(.\)' 2>/dev/null ||
4376
4526
echo X"$as_dir" |
4377
4527
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4378
4528
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4410
4560
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4411
4561
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4413
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4415
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4416
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4417
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4418
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4564
# Do not use `cd foo && pwd` to compute absolute paths, because
4565
# the directories may not exist.
4567
.) ac_abs_builddir="$ac_dir";;
4570
.) ac_abs_builddir=`pwd`;;
4571
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4572
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4575
case $ac_abs_builddir in
4576
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4578
case ${ac_top_builddir}. in
4579
.) ac_abs_top_builddir=$ac_abs_builddir;;
4580
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4581
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4584
case $ac_abs_builddir in
4585
.) ac_abs_srcdir=$ac_srcdir;;
4588
.) ac_abs_srcdir=$ac_abs_builddir;;
4589
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4590
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4593
case $ac_abs_builddir in
4594
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4596
case $ac_top_srcdir in
4597
.) ac_abs_top_srcdir=$ac_abs_builddir;;
4598
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4599
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4421
4604
case $INSTALL in
4437
4620
configure_input="$ac_file. "
4439
4622
configure_input=$configure_input"Generated from `echo $ac_file_in |
4440
sed 's,.*/,,'` by configure."
4623
sed 's,.*/,,'` by configure."
4442
4625
# First look for the input files in the build tree, otherwise in the
4447
4630
-) echo $tmp/stdin ;;
4449
# Absolute (can't be DOS-style, as IFS=:)
4450
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4632
# Absolute (can't be DOS-style, as IFS=:)
4633
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4451
4634
echo "$as_me: error: cannot find input file: $f" >&2;}
4452
4635
{ (exit 1); exit 1; }; }
4455
if test -f "$f"; then
4458
elif test -f "$srcdir/$f"; then
4463
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4638
if test -f "$f"; then
4641
elif test -f "$srcdir/$f"; then
4646
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4464
4647
echo "$as_me: error: cannot find input file: $f" >&2;}
4465
4648
{ (exit 1); exit 1; }; }
4468
4651
done` || { (exit 1); exit 1; }
4505
4688
# NAME is the cpp macro being defined and VALUE is the value it is being given.
4507
4690
# ac_d sets the value in "#define NAME VALUE" lines.
4508
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4509
ac_dB='[ ].*$,\1#\2'
4691
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4692
ac_dB='[ ].*$,\1#\2'
4512
4695
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4513
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4696
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4514
4697
ac_uB='$,\1#\2define\3'
4519
4702
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4520
4703
case $ac_file in
4521
4704
- | *:- | *:-:* ) # input from stdin
4523
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4524
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4706
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4707
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4525
4708
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4526
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4709
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4527
4710
* ) ac_file_in=$ac_file.in ;;
4538
4721
-) echo $tmp/stdin ;;
4540
# Absolute (can't be DOS-style, as IFS=:)
4541
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4723
# Absolute (can't be DOS-style, as IFS=:)
4724
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4542
4725
echo "$as_me: error: cannot find input file: $f" >&2;}
4543
4726
{ (exit 1); exit 1; }; }
4727
# Do quote $f, to prevent DOS paths from being IFS'd.
4546
if test -f "$f"; then
4549
elif test -f "$srcdir/$f"; then
4554
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4730
if test -f "$f"; then
4733
elif test -f "$srcdir/$f"; then
4738
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4555
4739
echo "$as_me: error: cannot find input file: $f" >&2;}
4556
4740
{ (exit 1); exit 1; }; }
4559
4743
done` || { (exit 1); exit 1; }
4560
4744
# Remove the trailing spaces.
4561
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4745
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4584
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4768
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4586
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4770
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4589
4773
# If some macros were called several times there might be several times
4597
4781
# example, in the case of _POSIX_SOURCE, which is predefined and required
4598
4782
# on some systems where configure will not decide to define it.
4599
4783
cat >>conftest.undefs <<\_ACEOF
4600
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4784
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4603
4787
# Break up conftest.defines because some shells have a limit on the size
4604
4788
# of here documents, and old seds have small limits too (100 cmds).
4605
4789
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4606
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4790
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4607
4791
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4608
4792
echo ' :' >>$CONFIG_STATUS
4609
4793
rm -f conftest.tail
4612
4796
# Write a limited-size here document to $tmp/defines.sed.
4613
4797
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4614
4798
# Speed up: don't consider the non `#define' lines.
4615
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4799
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4616
4800
# Work around the forget-to-reset-the-flag bug.
4617
4801
echo 't clr' >>$CONFIG_STATUS
4618
4802
echo ': clr' >>$CONFIG_STATUS
4639
4823
# Write a limited-size here document to $tmp/undefs.sed.
4640
4824
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4641
4825
# Speed up: don't consider the non `#undef'
4642
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4826
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4643
4827
# Work around the forget-to-reset-the-flag bug.
4644
4828
echo 't clr' >>$CONFIG_STATUS
4645
4829
echo ': clr' >>$CONFIG_STATUS
4674
4858
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4675
4859
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4676
X"$ac_file" : 'X\(//\)[^/]' \| \
4677
X"$ac_file" : 'X\(//\)$' \| \
4678
X"$ac_file" : 'X\(/\)' \| \
4679
. : '\(.\)' 2>/dev/null ||
4860
X"$ac_file" : 'X\(//\)[^/]' \| \
4861
X"$ac_file" : 'X\(//\)$' \| \
4862
X"$ac_file" : 'X\(/\)' \| \
4863
. : '\(.\)' 2>/dev/null ||
4680
4864
echo X"$ac_file" |
4681
4865
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4682
4866
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4692
4876
as_dirs="$as_dir $as_dirs"
4693
4877
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4694
4878
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4695
X"$as_dir" : 'X\(//\)[^/]' \| \
4696
X"$as_dir" : 'X\(//\)$' \| \
4697
X"$as_dir" : 'X\(/\)' \| \
4698
. : '\(.\)' 2>/dev/null ||
4879
X"$as_dir" : 'X\(//\)[^/]' \| \
4880
X"$as_dir" : 'X\(//\)$' \| \
4881
X"$as_dir" : 'X\(/\)' \| \
4882
. : '\(.\)' 2>/dev/null ||
4699
4883
echo X"$as_dir" |
4700
4884
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4701
4885
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4728
4912
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4729
4913
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4730
X$ac_file : 'X\(//\)[^/]' \| \
4731
X$ac_file : 'X\(//\)$' \| \
4732
X$ac_file : 'X\(/\)' \| \
4733
. : '\(.\)' 2>/dev/null ||
4914
X$ac_file : 'X\(//\)[^/]' \| \
4915
X$ac_file : 'X\(//\)$' \| \
4916
X$ac_file : 'X\(/\)' \| \
4917
. : '\(.\)' 2>/dev/null ||
4734
4918
echo X$ac_file |
4735
4919
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4736
4920
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4749
4933
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4750
4934
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4751
4935
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4752
X"$ac_dest" : 'X\(//\)[^/]' \| \
4753
X"$ac_dest" : 'X\(//\)$' \| \
4754
X"$ac_dest" : 'X\(/\)' \| \
4755
. : '\(.\)' 2>/dev/null ||
4936
X"$ac_dest" : 'X\(//\)[^/]' \| \
4937
X"$ac_dest" : 'X\(//\)$' \| \
4938
X"$ac_dest" : 'X\(/\)' \| \
4939
. : '\(.\)' 2>/dev/null ||
4756
4940
echo X"$ac_dest" |
4757
4941
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4758
4942
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4759
4943
/^X\(\/\/\)$/{ s//\1/; q; }
4760
4944
/^X\(\/\).*/{ s//\1/; q; }
4946
{ if $as_mkdir_p; then
4951
while test ! -d "$as_dir"; do
4952
as_dirs="$as_dir $as_dirs"
4953
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4954
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4955
X"$as_dir" : 'X\(//\)[^/]' \| \
4956
X"$as_dir" : 'X\(//\)$' \| \
4957
X"$as_dir" : 'X\(/\)' \| \
4958
. : '\(.\)' 2>/dev/null ||
4960
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4961
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4962
/^X\(\/\/\)$/{ s//\1/; q; }
4963
/^X\(\/\).*/{ s//\1/; q; }
4966
test ! -n "$as_dirs" || mkdir $as_dirs
4967
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4968
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4969
{ (exit 1); exit 1; }; }; }
4764
4973
if test "$ac_dir" != .; then
4784
4993
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4785
4994
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4787
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4789
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4790
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4791
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4792
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4997
# Do not use `cd foo && pwd` to compute absolute paths, because
4998
# the directories may not exist.
5000
.) ac_abs_builddir="$ac_dir";;
5003
.) ac_abs_builddir=`pwd`;;
5004
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5005
*) ac_abs_builddir=`pwd`/"$ac_dir";;
5008
case $ac_abs_builddir in
5009
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5011
case ${ac_top_builddir}. in
5012
.) ac_abs_top_builddir=$ac_abs_builddir;;
5013
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5014
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5017
case $ac_abs_builddir in
5018
.) ac_abs_srcdir=$ac_srcdir;;
5021
.) ac_abs_srcdir=$ac_abs_builddir;;
5022
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5023
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5026
case $ac_abs_builddir in
5027
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5029
case $ac_top_srcdir in
5030
.) ac_abs_top_srcdir=$ac_abs_builddir;;
5031
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5032
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4795
5037
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4807
5049
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4808
5050
dirpart=`(dirname "$mf") 2>/dev/null ||
4809
5051
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4810
X"$mf" : 'X\(//\)[^/]' \| \
4811
X"$mf" : 'X\(//\)$' \| \
4812
X"$mf" : 'X\(/\)' \| \
4813
. : '\(.\)' 2>/dev/null ||
5052
X"$mf" : 'X\(//\)[^/]' \| \
5053
X"$mf" : 'X\(//\)$' \| \
5054
X"$mf" : 'X\(/\)' \| \
5055
. : '\(.\)' 2>/dev/null ||
4815
5057
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4816
5058
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4823
5065
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4824
5066
# Extract the definition of DEP_FILES from the Makefile without
4825
5067
# running `make'.
4826
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5068
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4827
5069
test -z "$DEPDIR" && continue
4828
5070
# When using ansi2knr, U may be empty or an underscore; expand it
4829
U=`sed -n -e '/^U = / s///p' < "$mf"`
5071
U=`sed -n 's/^U = //p' < "$mf"`
4830
5072
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4831
5073
# We invoke sed twice because it is the simplest approach to
4832
5074
# changing $(DEPDIR) to its actual value in the expansion.
4833
for file in `sed -n -e '
5075
for file in `sed -n '
4834
5076
/^DEP_FILES = .*\\\\$/ {
4835
5077
s/^DEP_FILES = //
4846
5088
test -f "$dirpart/$file" && continue
4847
5089
fdir=`(dirname "$file") 2>/dev/null ||
4848
5090
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4849
X"$file" : 'X\(//\)[^/]' \| \
4850
X"$file" : 'X\(//\)$' \| \
4851
X"$file" : 'X\(/\)' \| \
4852
. : '\(.\)' 2>/dev/null ||
5091
X"$file" : 'X\(//\)[^/]' \| \
5092
X"$file" : 'X\(//\)$' \| \
5093
X"$file" : 'X\(/\)' \| \
5094
. : '\(.\)' 2>/dev/null ||
4853
5095
echo X"$file" |
4854
5096
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4855
5097
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4865
5107
as_dirs="$as_dir $as_dirs"
4866
5108
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4867
5109
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4868
X"$as_dir" : 'X\(//\)[^/]' \| \
4869
X"$as_dir" : 'X\(//\)$' \| \
4870
X"$as_dir" : 'X\(/\)' \| \
4871
. : '\(.\)' 2>/dev/null ||
5110
X"$as_dir" : 'X\(//\)[^/]' \| \
5111
X"$as_dir" : 'X\(//\)$' \| \
5112
X"$as_dir" : 'X\(/\)' \| \
5113
. : '\(.\)' 2>/dev/null ||
4872
5114
echo X"$as_dir" |
4873
5115
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4874
5116
/^X\(\/\/\)[^/].*/{ s//\1/; q; }