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
41
41
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42
42
LC_TELEPHONE LC_TIME
44
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
44
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
45
eval $as_var=C; export $as_var
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 LN_S RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP hashlibs TESTPROGS 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 LN_S RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP hashlibs TESTPROGS 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.
1300
1333
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1301
1334
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1302
1335
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1336
# OS/2's system install, which has a completely different semantic
1303
1337
# ./install, which can be erroneously created by make from ./install.sh.
1304
1338
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1305
1339
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1324
1359
for ac_prog in ginstall scoinst install; do
1325
1360
for ac_exec_ext in '' $ac_executable_extensions; do
1326
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1327
if test $ac_prog = install &&
1328
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1329
# AIX install. It has an incompatible calling convention.
1331
elif test $ac_prog = install &&
1332
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1333
# program-specific install script used by HP pwplus--don't use.
1336
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1361
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1362
if test $ac_prog = install &&
1363
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1364
# AIX install. It has an incompatible calling convention.
1366
elif test $ac_prog = install &&
1367
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1368
# program-specific install script used by HP pwplus--don't use.
1371
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1438
1472
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1475
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1476
# Keeping the `.' argument allows $(mkdir_p) to be used without
1477
# argument. Indeed, we sometimes output rules like
1478
# $(mkdir_p) $(somedir)
1479
# where $(somedir) is conditionally defined.
1480
# (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1481
# expensive solution, as it forces Make to start a sub-shell.)
1482
mkdir_p='mkdir -p -- .'
1484
# On NextStep and OpenStep, the `mkdir' command does not
1485
# recognize any option. It will interpret all options as
1486
# directories to create, and then abort because `.' already
1488
for d in ./-p ./--version;
1490
test -d $d && rmdir $d
1492
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1493
if test -f "$ac_aux_dir/mkinstalldirs"; then
1494
mkdir_p='$(mkinstalldirs)'
1496
mkdir_p='$(install_sh) -d'
1441
1500
for ac_prog in gawk mawk nawk awk
1443
1502
# Extract the first word of "$ac_prog", so it can be a program name with args.
1481
1540
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1482
1541
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1483
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1542
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1484
1543
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1485
1544
echo $ECHO_N "(cached) $ECHO_C" >&6
1517
1576
rmdir .tst 2>/dev/null
1519
# test to see if srcdir already configured
1578
# test to see if srcdir already configured
1520
1579
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1521
1580
test -f $srcdir/config.status; then
1522
1581
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1708
1767
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1709
1768
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1710
1769
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1770
# OS/2's system install, which has a completely different semantic
1711
1771
# ./install, which can be erroneously created by make from ./install.sh.
1712
1772
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1713
1773
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1732
1793
for ac_prog in ginstall scoinst install; do
1733
1794
for ac_exec_ext in '' $ac_executable_extensions; do
1734
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1735
if test $ac_prog = install &&
1736
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1737
# AIX install. It has an incompatible calling convention.
1739
elif test $ac_prog = install &&
1740
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1741
# program-specific install script used by HP pwplus--don't use.
1744
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1795
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1796
if test $ac_prog = install &&
1797
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1798
# AIX install. It has an incompatible calling convention.
1800
elif test $ac_prog = install &&
1801
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1802
# program-specific install script used by HP pwplus--don't use.
1805
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2221
2281
# Try to create an executable without -o first, disregard a.out.
2222
2282
# It will help us diagnose broken compilers, and finding out an intuition
2224
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2225
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2284
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2285
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2226
2286
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2227
2287
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2228
2288
(eval $ac_link_default) 2>&5
2242
2302
test -f "$ac_file" || continue
2243
2303
case $ac_file in
2244
2304
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2246
2306
conftest.$ac_ext )
2247
# This is the source file.
2307
# This is the source file.
2250
# We found the default executable, but exeext='' is most
2310
# We found the default executable, but exeext='' is most
2254
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2255
# FIXME: I believe we export ac_cv_exeext for Libtool,
2256
# but it would be cool to find out if it's true. Does anybody
2257
# maintain Libtool? --akim.
2314
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2315
# FIXME: I believe we export ac_cv_exeext for Libtool,
2316
# but it would be cool to find out if it's true. Does anybody
2317
# maintain Libtool? --akim.
2430
2488
rm -f conftest.$ac_objext
2431
2489
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2432
(eval $ac_compile) 2>&5
2490
(eval $ac_compile) 2>conftest.er1
2492
grep -v '^ *+' conftest.er1 >conftest.err
2494
cat conftest.err >&5
2434
2495
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435
2496
(exit $ac_status); } &&
2436
{ ac_try='test -s conftest.$ac_objext'
2497
{ ac_try='test -z "$ac_c_werror_flag"
2498
|| test ! -s conftest.err'
2499
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2502
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503
(exit $ac_status); }; } &&
2504
{ ac_try='test -s conftest.$ac_objext'
2437
2505
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2438
2506
(eval $ac_try) 2>&5
2480
2547
rm -f conftest.$ac_objext
2481
2548
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2482
(eval $ac_compile) 2>&5
2549
(eval $ac_compile) 2>conftest.er1
2551
grep -v '^ *+' conftest.er1 >conftest.err
2553
cat conftest.err >&5
2484
2554
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485
2555
(exit $ac_status); } &&
2486
{ ac_try='test -s conftest.$ac_objext'
2556
{ ac_try='test -z "$ac_c_werror_flag"
2557
|| test ! -s conftest.err'
2558
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562
(exit $ac_status); }; } &&
2563
{ ac_try='test -s conftest.$ac_objext'
2487
2564
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488
2565
(eval $ac_try) 2>&5
2631
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2632
function prototypes and stuff, but not '\xHH' hex character constants.
2633
These don't provoke an error unfortunately, instead are silently treated
2634
as 'x'. The following induces an error, until -std1 is added to get
2635
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2636
array size at least. It's necessary to write '\x00'==0 to get something
2637
that's true only with -std1. */
2638
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2554
2640
int test (int i, double x);
2555
2641
struct s1 {int (*f) (int a);};
2556
2642
struct s2 {int (*f) (double a);};
2577
2663
CC="$ac_save_CC $ac_arg"
2578
2664
rm -f conftest.$ac_objext
2579
2665
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2580
(eval $ac_compile) 2>&5
2666
(eval $ac_compile) 2>conftest.er1
2668
grep -v '^ *+' conftest.er1 >conftest.err
2670
cat conftest.err >&5
2582
2671
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583
2672
(exit $ac_status); } &&
2584
{ ac_try='test -s conftest.$ac_objext'
2673
{ ac_try='test -z "$ac_c_werror_flag"
2674
|| test ! -s conftest.err'
2675
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2678
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679
(exit $ac_status); }; } &&
2680
{ ac_try='test -s conftest.$ac_objext'
2585
2681
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586
2682
(eval $ac_try) 2>&5
2623
2719
rm -f conftest.$ac_objext
2624
2720
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2625
(eval $ac_compile) 2>&5
2721
(eval $ac_compile) 2>conftest.er1
2723
grep -v '^ *+' conftest.er1 >conftest.err
2725
cat conftest.err >&5
2627
2726
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628
2727
(exit $ac_status); } &&
2629
{ ac_try='test -s conftest.$ac_objext'
2728
{ ac_try='test -z "$ac_c_werror_flag"
2729
|| test ! -s conftest.err'
2730
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2733
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734
(exit $ac_status); }; } &&
2735
{ ac_try='test -s conftest.$ac_objext'
2630
2736
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631
2737
(eval $ac_try) 2>&5
2633
2739
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634
2740
(exit $ac_status); }; }; then
2635
2741
for ac_declaration in \
2637
'#include <stdlib.h>' \
2638
2743
'extern "C" void std::exit (int) throw (); using std::exit;' \
2639
2744
'extern "C" void std::exit (int); using std::exit;' \
2640
2745
'extern "C" void exit (int) throw ();' \
2661
2765
rm -f conftest.$ac_objext
2662
2766
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2663
(eval $ac_compile) 2>&5
2767
(eval $ac_compile) 2>conftest.er1
2769
grep -v '^ *+' conftest.er1 >conftest.err
2771
cat conftest.err >&5
2665
2772
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666
2773
(exit $ac_status); } &&
2667
{ ac_try='test -s conftest.$ac_objext'
2774
{ ac_try='test -z "$ac_c_werror_flag"
2775
|| test ! -s conftest.err'
2776
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2779
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780
(exit $ac_status); }; } &&
2781
{ ac_try='test -s conftest.$ac_objext'
2668
2782
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2669
2783
(eval $ac_try) 2>&5
2680
rm -f conftest.$ac_objext conftest.$ac_ext
2794
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2681
2795
cat >conftest.$ac_ext <<_ACEOF
2682
#line $LINENO "configure"
2683
2796
/* confdefs.h. */
2685
2798
cat confdefs.h >>conftest.$ac_ext
2697
2810
rm -f conftest.$ac_objext
2698
2811
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2699
(eval $ac_compile) 2>&5
2812
(eval $ac_compile) 2>conftest.er1
2814
grep -v '^ *+' conftest.er1 >conftest.err
2816
cat conftest.err >&5
2701
2817
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702
2818
(exit $ac_status); } &&
2703
{ ac_try='test -s conftest.$ac_objext'
2819
{ ac_try='test -z "$ac_c_werror_flag"
2820
|| test ! -s conftest.err'
2821
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825
(exit $ac_status); }; } &&
2826
{ ac_try='test -s conftest.$ac_objext'
2704
2827
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2705
2828
(eval $ac_try) 2>&5
2839
2962
: > sub/conftest.c
2840
2963
for i in 1 2 3 4 5 6; do
2841
2964
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2965
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2966
# Solaris 8's {/usr,}/bin/sh.
2967
touch sub/conftst$i.h
2844
2969
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2938
3063
# On the NeXT, cc -E runs the code through the compiler's parser,
2939
3064
# not just through cpp. "Syntax error" is here to catch this case.
2940
3065
cat >conftest.$ac_ext <<_ACEOF
2941
#line $LINENO "configure"
2942
3066
/* confdefs.h. */
2944
3068
cat confdefs.h >>conftest.$ac_ext
2981
3106
# OK, works on sane cases. Now check whether non-existent headers
2982
3107
# can be detected and how.
2983
3108
cat >conftest.$ac_ext <<_ACEOF
2984
#line $LINENO "configure"
2985
3109
/* confdefs.h. */
2987
3111
cat confdefs.h >>conftest.$ac_ext
3045
3170
# On the NeXT, cc -E runs the code through the compiler's parser,
3046
3171
# not just through cpp. "Syntax error" is here to catch this case.
3047
3172
cat >conftest.$ac_ext <<_ACEOF
3048
#line $LINENO "configure"
3049
3173
/* confdefs.h. */
3051
3175
cat confdefs.h >>conftest.$ac_ext
3088
3213
# OK, works on sane cases. Now check whether non-existent headers
3089
3214
# can be detected and how.
3090
3215
cat >conftest.$ac_ext <<_ACEOF
3091
#line $LINENO "configure"
3092
3216
/* confdefs.h. */
3094
3218
cat confdefs.h >>conftest.$ac_ext
3188
3312
rm -f conftest.$ac_objext
3189
3313
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3190
(eval $ac_compile) 2>&5
3314
(eval $ac_compile) 2>conftest.er1
3316
grep -v '^ *+' conftest.er1 >conftest.err
3318
cat conftest.err >&5
3192
3319
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193
3320
(exit $ac_status); } &&
3194
{ ac_try='test -s conftest.$ac_objext'
3321
{ ac_try='test -z "$ac_c_werror_flag"
3322
|| test ! -s conftest.err'
3323
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327
(exit $ac_status); }; } &&
3328
{ ac_try='test -s conftest.$ac_objext'
3195
3329
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196
3330
(eval $ac_try) 2>&5
3205
3339
ac_cv_header_stdc=no
3207
rm -f conftest.$ac_objext conftest.$ac_ext
3341
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3209
3343
if test $ac_cv_header_stdc = yes; then
3210
3344
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3211
3345
cat >conftest.$ac_ext <<_ACEOF
3212
#line $LINENO "configure"
3213
3346
/* confdefs.h. */
3215
3348
cat confdefs.h >>conftest.$ac_ext
3231
3364
if test $ac_cv_header_stdc = yes; then
3232
3365
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3233
3366
cat >conftest.$ac_ext <<_ACEOF
3234
#line $LINENO "configure"
3235
3367
/* confdefs.h. */
3237
3369
cat confdefs.h >>conftest.$ac_ext
3268
3399
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3270
3401
# define ISLOWER(c) \
3271
(('a' <= (c) && (c) <= 'i') \
3272
|| ('j' <= (c) && (c) <= 'r') \
3273
|| ('s' <= (c) && (c) <= 'z'))
3402
(('a' <= (c) && (c) <= 'i') \
3403
|| ('j' <= (c) && (c) <= 'r') \
3404
|| ('s' <= (c) && (c) <= 'z'))
3274
3405
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3282
3413
for (i = 0; i < 256; i++)
3283
3414
if (XOR (islower (i), ISLOWER (i))
3284
|| toupper (i) != TOUPPER (i))
3415
|| toupper (i) != TOUPPER (i))
3391
3521
rm -f conftest.$ac_objext
3392
3522
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3393
(eval $ac_compile) 2>&5
3523
(eval $ac_compile) 2>conftest.er1
3525
grep -v '^ *+' conftest.er1 >conftest.err
3527
cat conftest.err >&5
3395
3528
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396
3529
(exit $ac_status); } &&
3397
{ ac_try='test -s conftest.$ac_objext'
3530
{ ac_try='test -z "$ac_c_werror_flag"
3531
|| test ! -s conftest.err'
3532
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3535
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536
(exit $ac_status); }; } &&
3537
{ ac_try='test -s conftest.$ac_objext'
3398
3538
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3399
3539
(eval $ac_try) 2>&5
3432
3572
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3433
inttypes.h stdint.h unistd.h
3573
inttypes.h stdint.h unistd.h
3435
3575
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3436
3576
echo "$as_me:$LINENO: checking for $ac_header" >&5
3452
3591
rm -f conftest.$ac_objext
3453
3592
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3454
(eval $ac_compile) 2>&5
3593
(eval $ac_compile) 2>conftest.er1
3595
grep -v '^ *+' conftest.er1 >conftest.err
3597
cat conftest.err >&5
3456
3598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457
3599
(exit $ac_status); } &&
3458
{ ac_try='test -s conftest.$ac_objext'
3600
{ ac_try='test -z "$ac_c_werror_flag"
3601
|| test ! -s conftest.err'
3602
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3605
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606
(exit $ac_status); }; } &&
3607
{ ac_try='test -s conftest.$ac_objext'
3459
3608
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3460
3609
(eval $ac_try) 2>&5
3469
3618
eval "$as_ac_Header=no"
3471
rm -f conftest.$ac_objext conftest.$ac_ext
3620
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3473
3622
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3474
3623
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3509
3657
rm -f conftest.$ac_objext
3510
3658
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3511
(eval $ac_compile) 2>&5
3659
(eval $ac_compile) 2>conftest.er1
3661
grep -v '^ *+' conftest.er1 >conftest.err
3663
cat conftest.err >&5
3513
3664
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514
3665
(exit $ac_status); } &&
3515
{ ac_try='test -s conftest.$ac_objext'
3666
{ ac_try='test -z "$ac_c_werror_flag"
3667
|| test ! -s conftest.err'
3668
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672
(exit $ac_status); }; } &&
3673
{ ac_try='test -s conftest.$ac_objext'
3516
3674
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3517
3675
(eval $ac_try) 2>&5
3600
3758
# `set' does not quote correctly, so add quotes (double-quote
3601
3759
# substitution turns \\\\ into \\, and sed turns \\ into \).
3604
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3762
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3607
3765
# `set' quotes correctly as required by POSIX, so do not add quotes.
3609
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3767
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3636
3794
# trailing colons and then remove the whole line if VPATH becomes empty
3637
3795
# (actually we leave an empty line to preserve line numbers).
3638
3796
if test "x$srcdir" = x.; then
3639
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3797
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3640
3798
s/:*\$(srcdir):*/:/;
3641
3799
s/:*\${srcdir}:*/:/;
3642
3800
s/:*@srcdir@:*/:/;
3643
s/^\([^=]*=[ ]*\):*/\1/;
3801
s/^\([^=]*=[ ]*\):*/\1/;
3653
3811
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3654
3812
# 1. Remove the extension, and $U if already installed.
3655
3813
ac_i=`echo "$ac_i" |
3656
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3814
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3658
3816
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3659
3817
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3711
3869
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3872
DUALCASE=1; export DUALCASE # for MKS sh
3715
3874
# Support unset when possible.
3716
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3875
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3732
3891
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3733
3892
LC_TELEPHONE LC_TIME
3735
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
3894
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3736
3895
eval $as_var=C; export $as_var
3738
3897
$as_unset $as_var
3911
4070
if mkdir -p . 2>/dev/null; then
4073
test -d ./-p && rmdir ./-p
3914
4074
as_mkdir_p=false
3917
4077
as_executable_p="test -f"
3919
4079
# Sed expression to map a string onto a valid CPP name.
3920
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4080
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3922
4082
# Sed expression to map a string onto a valid variable name.
3923
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4083
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3947
4107
cat >&5 <<_CSEOF
3949
4109
This file was extended by $as_me, which was
3950
generated by GNU Autoconf 2.57. Invocation command line was
4110
generated by GNU Autoconf 2.59. Invocation command line was
3952
4112
CONFIG_FILES = $CONFIG_FILES
3953
4113
CONFIG_HEADERS = $CONFIG_HEADERS
3991
4151
-d, --debug don't remove temporary files
3992
4152
--recheck update $as_me by reconfiguring in the same conditions
3993
4153
--file=FILE[:TEMPLATE]
3994
instantiate the configuration file FILE
4154
instantiate the configuration file FILE
3995
4155
--header=FILE[:TEMPLATE]
3996
instantiate the configuration header FILE
4156
instantiate the configuration header FILE
3998
4158
Configuration files:
4010
4170
cat >>$CONFIG_STATUS <<_ACEOF
4011
4171
ac_cs_version="\\
4013
configured by $0, generated by GNU Autoconf 2.57,
4173
configured by $0, generated by GNU Autoconf 2.59,
4014
4174
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4016
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4017
Free Software Foundation, Inc.
4176
Copyright (C) 2003 Free Software Foundation, Inc.
4018
4177
This config.status script is free software; the Free Software Foundation
4019
4178
gives unlimited permission to copy, distribute and modify it."
4224
4383
s,@STRIP@,$STRIP,;t t
4225
4384
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4226
4385
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4386
s,@mkdir_p@,$mkdir_p,;t t
4227
4387
s,@AWK@,$AWK,;t t
4228
4388
s,@SET_MAKE@,$SET_MAKE,;t t
4229
4389
s,@am__leading_dot@,$am__leading_dot,;t t
4282
4442
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4283
4443
if test -z "$ac_sed_cmds"; then
4284
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4444
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4286
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4446
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4288
4448
ac_sed_frag=`expr $ac_sed_frag + 1`
4301
4461
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4302
4462
case $ac_file in
4303
4463
- | *:- | *:-:* ) # input from stdin
4305
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4306
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4465
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4466
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4307
4467
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4308
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4468
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4309
4469
* ) ac_file_in=$ac_file.in ;;
4312
4472
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4313
4473
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4314
4474
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4315
X"$ac_file" : 'X\(//\)[^/]' \| \
4316
X"$ac_file" : 'X\(//\)$' \| \
4317
X"$ac_file" : 'X\(/\)' \| \
4318
. : '\(.\)' 2>/dev/null ||
4475
X"$ac_file" : 'X\(//\)[^/]' \| \
4476
X"$ac_file" : 'X\(//\)$' \| \
4477
X"$ac_file" : 'X\(/\)' \| \
4478
. : '\(.\)' 2>/dev/null ||
4319
4479
echo X"$ac_file" |
4320
4480
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4321
4481
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4331
4491
as_dirs="$as_dir $as_dirs"
4332
4492
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4333
4493
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4334
X"$as_dir" : 'X\(//\)[^/]' \| \
4335
X"$as_dir" : 'X\(//\)$' \| \
4336
X"$as_dir" : 'X\(/\)' \| \
4337
. : '\(.\)' 2>/dev/null ||
4494
X"$as_dir" : 'X\(//\)[^/]' \| \
4495
X"$as_dir" : 'X\(//\)$' \| \
4496
X"$as_dir" : 'X\(/\)' \| \
4497
. : '\(.\)' 2>/dev/null ||
4338
4498
echo X"$as_dir" |
4339
4499
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4340
4500
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4372
4532
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4373
4533
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4375
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4377
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4378
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4379
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4380
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4536
# Do not use `cd foo && pwd` to compute absolute paths, because
4537
# the directories may not exist.
4539
.) ac_abs_builddir="$ac_dir";;
4542
.) ac_abs_builddir=`pwd`;;
4543
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4544
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4547
case $ac_abs_builddir in
4548
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4550
case ${ac_top_builddir}. in
4551
.) ac_abs_top_builddir=$ac_abs_builddir;;
4552
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4553
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4556
case $ac_abs_builddir in
4557
.) ac_abs_srcdir=$ac_srcdir;;
4560
.) ac_abs_srcdir=$ac_abs_builddir;;
4561
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4562
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4565
case $ac_abs_builddir in
4566
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4568
case $ac_top_srcdir in
4569
.) ac_abs_top_srcdir=$ac_abs_builddir;;
4570
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4571
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4383
4576
case $INSTALL in
4399
4592
configure_input="$ac_file. "
4401
4594
configure_input=$configure_input"Generated from `echo $ac_file_in |
4402
sed 's,.*/,,'` by configure."
4595
sed 's,.*/,,'` by configure."
4404
4597
# First look for the input files in the build tree, otherwise in the
4409
4602
-) echo $tmp/stdin ;;
4411
# Absolute (can't be DOS-style, as IFS=:)
4412
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4604
# Absolute (can't be DOS-style, as IFS=:)
4605
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4413
4606
echo "$as_me: error: cannot find input file: $f" >&2;}
4414
4607
{ (exit 1); exit 1; }; }
4417
if test -f "$f"; then
4420
elif test -f "$srcdir/$f"; then
4425
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4610
if test -f "$f"; then
4613
elif test -f "$srcdir/$f"; then
4618
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4426
4619
echo "$as_me: error: cannot find input file: $f" >&2;}
4427
4620
{ (exit 1); exit 1; }; }
4430
4623
done` || { (exit 1); exit 1; }
4467
4660
# NAME is the cpp macro being defined and VALUE is the value it is being given.
4469
4662
# ac_d sets the value in "#define NAME VALUE" lines.
4470
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4471
ac_dB='[ ].*$,\1#\2'
4663
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4664
ac_dB='[ ].*$,\1#\2'
4474
4667
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4475
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4668
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4476
4669
ac_uB='$,\1#\2define\3'
4481
4674
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4482
4675
case $ac_file in
4483
4676
- | *:- | *:-:* ) # input from stdin
4485
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4486
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4678
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4679
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4487
4680
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4488
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4681
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4489
4682
* ) ac_file_in=$ac_file.in ;;
4500
4693
-) echo $tmp/stdin ;;
4502
# Absolute (can't be DOS-style, as IFS=:)
4503
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4695
# Absolute (can't be DOS-style, as IFS=:)
4696
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4504
4697
echo "$as_me: error: cannot find input file: $f" >&2;}
4505
4698
{ (exit 1); exit 1; }; }
4699
# Do quote $f, to prevent DOS paths from being IFS'd.
4508
if test -f "$f"; then
4511
elif test -f "$srcdir/$f"; then
4516
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4702
if test -f "$f"; then
4705
elif test -f "$srcdir/$f"; then
4710
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4517
4711
echo "$as_me: error: cannot find input file: $f" >&2;}
4518
4712
{ (exit 1); exit 1; }; }
4521
4715
done` || { (exit 1); exit 1; }
4522
4716
# Remove the trailing spaces.
4523
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4717
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4546
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4740
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4548
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4742
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4551
4745
# If some macros were called several times there might be several times
4559
4753
# example, in the case of _POSIX_SOURCE, which is predefined and required
4560
4754
# on some systems where configure will not decide to define it.
4561
4755
cat >>conftest.undefs <<\_ACEOF
4562
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4756
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4565
4759
# Break up conftest.defines because some shells have a limit on the size
4566
4760
# of here documents, and old seds have small limits too (100 cmds).
4567
4761
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4568
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4762
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4569
4763
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4570
4764
echo ' :' >>$CONFIG_STATUS
4571
4765
rm -f conftest.tail
4574
4768
# Write a limited-size here document to $tmp/defines.sed.
4575
4769
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4576
4770
# Speed up: don't consider the non `#define' lines.
4577
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4771
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4578
4772
# Work around the forget-to-reset-the-flag bug.
4579
4773
echo 't clr' >>$CONFIG_STATUS
4580
4774
echo ': clr' >>$CONFIG_STATUS
4601
4795
# Write a limited-size here document to $tmp/undefs.sed.
4602
4796
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4603
4797
# Speed up: don't consider the non `#undef'
4604
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4798
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4605
4799
# Work around the forget-to-reset-the-flag bug.
4606
4800
echo 't clr' >>$CONFIG_STATUS
4607
4801
echo ': clr' >>$CONFIG_STATUS
4636
4830
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4637
4831
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4638
X"$ac_file" : 'X\(//\)[^/]' \| \
4639
X"$ac_file" : 'X\(//\)$' \| \
4640
X"$ac_file" : 'X\(/\)' \| \
4641
. : '\(.\)' 2>/dev/null ||
4832
X"$ac_file" : 'X\(//\)[^/]' \| \
4833
X"$ac_file" : 'X\(//\)$' \| \
4834
X"$ac_file" : 'X\(/\)' \| \
4835
. : '\(.\)' 2>/dev/null ||
4642
4836
echo X"$ac_file" |
4643
4837
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4644
4838
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4654
4848
as_dirs="$as_dir $as_dirs"
4655
4849
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4656
4850
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4657
X"$as_dir" : 'X\(//\)[^/]' \| \
4658
X"$as_dir" : 'X\(//\)$' \| \
4659
X"$as_dir" : 'X\(/\)' \| \
4660
. : '\(.\)' 2>/dev/null ||
4851
X"$as_dir" : 'X\(//\)[^/]' \| \
4852
X"$as_dir" : 'X\(//\)$' \| \
4853
X"$as_dir" : 'X\(/\)' \| \
4854
. : '\(.\)' 2>/dev/null ||
4661
4855
echo X"$as_dir" |
4662
4856
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4663
4857
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4690
4884
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4691
4885
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4692
X$ac_file : 'X\(//\)[^/]' \| \
4693
X$ac_file : 'X\(//\)$' \| \
4694
X$ac_file : 'X\(/\)' \| \
4695
. : '\(.\)' 2>/dev/null ||
4886
X$ac_file : 'X\(//\)[^/]' \| \
4887
X$ac_file : 'X\(//\)$' \| \
4888
X$ac_file : 'X\(/\)' \| \
4889
. : '\(.\)' 2>/dev/null ||
4696
4890
echo X$ac_file |
4697
4891
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4698
4892
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4711
4905
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4712
4906
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4713
4907
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4714
X"$ac_dest" : 'X\(//\)[^/]' \| \
4715
X"$ac_dest" : 'X\(//\)$' \| \
4716
X"$ac_dest" : 'X\(/\)' \| \
4717
. : '\(.\)' 2>/dev/null ||
4908
X"$ac_dest" : 'X\(//\)[^/]' \| \
4909
X"$ac_dest" : 'X\(//\)$' \| \
4910
X"$ac_dest" : 'X\(/\)' \| \
4911
. : '\(.\)' 2>/dev/null ||
4718
4912
echo X"$ac_dest" |
4719
4913
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4720
4914
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4721
4915
/^X\(\/\/\)$/{ s//\1/; q; }
4722
4916
/^X\(\/\).*/{ s//\1/; q; }
4918
{ if $as_mkdir_p; then
4923
while test ! -d "$as_dir"; do
4924
as_dirs="$as_dir $as_dirs"
4925
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4926
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4927
X"$as_dir" : 'X\(//\)[^/]' \| \
4928
X"$as_dir" : 'X\(//\)$' \| \
4929
X"$as_dir" : 'X\(/\)' \| \
4930
. : '\(.\)' 2>/dev/null ||
4932
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4933
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4934
/^X\(\/\/\)$/{ s//\1/; q; }
4935
/^X\(\/\).*/{ s//\1/; q; }
4938
test ! -n "$as_dirs" || mkdir $as_dirs
4939
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4940
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4941
{ (exit 1); exit 1; }; }; }
4726
4945
if test "$ac_dir" != .; then
4746
4965
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4747
4966
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4749
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4751
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4752
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4753
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4754
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4969
# Do not use `cd foo && pwd` to compute absolute paths, because
4970
# the directories may not exist.
4972
.) ac_abs_builddir="$ac_dir";;
4975
.) ac_abs_builddir=`pwd`;;
4976
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4977
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4980
case $ac_abs_builddir in
4981
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4983
case ${ac_top_builddir}. in
4984
.) ac_abs_top_builddir=$ac_abs_builddir;;
4985
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4986
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4989
case $ac_abs_builddir in
4990
.) ac_abs_srcdir=$ac_srcdir;;
4993
.) ac_abs_srcdir=$ac_abs_builddir;;
4994
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4995
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4998
case $ac_abs_builddir in
4999
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5001
case $ac_top_srcdir in
5002
.) ac_abs_top_srcdir=$ac_abs_builddir;;
5003
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5004
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4757
5009
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4769
5021
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4770
5022
dirpart=`(dirname "$mf") 2>/dev/null ||
4771
5023
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4772
X"$mf" : 'X\(//\)[^/]' \| \
4773
X"$mf" : 'X\(//\)$' \| \
4774
X"$mf" : 'X\(/\)' \| \
4775
. : '\(.\)' 2>/dev/null ||
5024
X"$mf" : 'X\(//\)[^/]' \| \
5025
X"$mf" : 'X\(//\)$' \| \
5026
X"$mf" : 'X\(/\)' \| \
5027
. : '\(.\)' 2>/dev/null ||
4777
5029
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4778
5030
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4785
5037
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4786
5038
# Extract the definition of DEP_FILES from the Makefile without
4787
5039
# running `make'.
4788
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5040
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4789
5041
test -z "$DEPDIR" && continue
4790
5042
# When using ansi2knr, U may be empty or an underscore; expand it
4791
U=`sed -n -e '/^U = / s///p' < "$mf"`
5043
U=`sed -n 's/^U = //p' < "$mf"`
4792
5044
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4793
5045
# We invoke sed twice because it is the simplest approach to
4794
5046
# changing $(DEPDIR) to its actual value in the expansion.
4795
for file in `sed -n -e '
5047
for file in `sed -n '
4796
5048
/^DEP_FILES = .*\\\\$/ {
4797
5049
s/^DEP_FILES = //
4808
5060
test -f "$dirpart/$file" && continue
4809
5061
fdir=`(dirname "$file") 2>/dev/null ||
4810
5062
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4811
X"$file" : 'X\(//\)[^/]' \| \
4812
X"$file" : 'X\(//\)$' \| \
4813
X"$file" : 'X\(/\)' \| \
4814
. : '\(.\)' 2>/dev/null ||
5063
X"$file" : 'X\(//\)[^/]' \| \
5064
X"$file" : 'X\(//\)$' \| \
5065
X"$file" : 'X\(/\)' \| \
5066
. : '\(.\)' 2>/dev/null ||
4815
5067
echo X"$file" |
4816
5068
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4817
5069
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4827
5079
as_dirs="$as_dir $as_dirs"
4828
5080
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4829
5081
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4830
X"$as_dir" : 'X\(//\)[^/]' \| \
4831
X"$as_dir" : 'X\(//\)$' \| \
4832
X"$as_dir" : 'X\(/\)' \| \
4833
. : '\(.\)' 2>/dev/null ||
5082
X"$as_dir" : 'X\(//\)[^/]' \| \
5083
X"$as_dir" : 'X\(//\)$' \| \
5084
X"$as_dir" : 'X\(/\)' \| \
5085
. : '\(.\)' 2>/dev/null ||
4834
5086
echo X"$as_dir" |
4835
5087
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4836
5088
/^X\(\/\/\)[^/].*/{ s//\1/; q; }