902
903
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903
904
ac_top_srcdir=$ac_top_builddir$srcdir ;;
905
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
907
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
908
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
909
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
910
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
907
# Do not use `cd foo && pwd` to compute absolute paths, because
908
# the directories may not exist.
910
.) ac_abs_builddir="$ac_dir";;
913
.) ac_abs_builddir=`pwd`;;
914
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915
*) ac_abs_builddir=`pwd`/"$ac_dir";;
918
case $ac_abs_builddir in
919
.) ac_abs_top_builddir=${ac_top_builddir}.;;
921
case ${ac_top_builddir}. in
922
.) ac_abs_top_builddir=$ac_abs_builddir;;
923
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
927
case $ac_abs_builddir in
928
.) ac_abs_srcdir=$ac_srcdir;;
931
.) ac_abs_srcdir=$ac_abs_builddir;;
932
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
936
case $ac_abs_builddir in
937
.) ac_abs_top_srcdir=$ac_top_srcdir;;
939
case $ac_top_srcdir in
940
.) ac_abs_top_srcdir=$ac_abs_builddir;;
941
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
913
947
# Check for guested configure; otherwise get Cygnus style configure.
1023
1056
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1024
1057
if test $ac_must_keep_next = true; then
1025
ac_must_keep_next=false # Got value, back to normal.
1058
ac_must_keep_next=false # Got value, back to normal.
1028
*=* | --config-cache | -C | -disable-* | --disable-* \
1029
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1030
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1031
| -with-* | --with-* | -without-* | --without-* | --x)
1032
case "$ac_configure_args0 " in
1033
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1036
-* ) ac_must_keep_next=true ;;
1061
*=* | --config-cache | -C | -disable-* | --disable-* \
1062
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1063
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1064
| -with-* | --with-* | -without-* | --without-* | --x)
1065
case "$ac_configure_args0 " in
1066
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1069
-* ) ac_must_keep_next=true ;;
1039
1072
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1040
1073
# Get rid of the leading space.
1334
1369
for ac_prog in ginstall scoinst install; do
1335
1370
for ac_exec_ext in '' $ac_executable_extensions; do
1336
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1337
if test $ac_prog = install &&
1338
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1339
# AIX install. It has an incompatible calling convention.
1341
elif test $ac_prog = install &&
1342
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1343
# program-specific install script used by HP pwplus--don't use.
1346
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1371
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1372
if test $ac_prog = install &&
1373
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1374
# AIX install. It has an incompatible calling convention.
1376
elif test $ac_prog = install &&
1377
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1378
# program-specific install script used by HP pwplus--don't use.
1381
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1448
1482
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1485
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1486
# Keeping the `.' argument allows $(mkdir_p) to be used without
1487
# argument. Indeed, we sometimes output rules like
1488
# $(mkdir_p) $(somedir)
1489
# where $(somedir) is conditionally defined.
1490
# (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1491
# expensive solution, as it forces Make to start a sub-shell.)
1492
mkdir_p='mkdir -p -- .'
1494
# On NextStep and OpenStep, the `mkdir' command does not
1495
# recognize any option. It will interpret all options as
1496
# directories to create, and then abort because `.' already
1498
for d in ./-p ./--version;
1500
test -d $d && rmdir $d
1502
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1503
if test -f "$ac_aux_dir/mkinstalldirs"; then
1504
mkdir_p='$(mkinstalldirs)'
1506
mkdir_p='$(install_sh) -d'
1451
1510
for ac_prog in gawk mawk nawk awk
1453
1512
# Extract the first word of "$ac_prog", so it can be a program name with args.
2043
2101
test -f "$ac_file" || continue
2044
2102
case $ac_file in
2045
2103
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2047
2105
conftest.$ac_ext )
2048
# This is the source file.
2106
# This is the source file.
2051
# We found the default executable, but exeext='' is most
2109
# We found the default executable, but exeext='' is most
2055
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2056
# FIXME: I believe we export ac_cv_exeext for Libtool,
2057
# but it would be cool to find out if it's true. Does anybody
2058
# maintain Libtool? --akim.
2113
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2114
# FIXME: I believe we export ac_cv_exeext for Libtool,
2115
# but it would be cool to find out if it's true. Does anybody
2116
# maintain Libtool? --akim.
2424
2518
rm -f conftest.$ac_objext
2425
2519
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2426
(eval $ac_compile) 2>&5
2520
(eval $ac_compile) 2>conftest.er1
2522
grep -v '^ *+' conftest.er1 >conftest.err
2524
cat conftest.err >&5
2428
2525
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429
2526
(exit $ac_status); } &&
2430
{ ac_try='test -s conftest.$ac_objext'
2527
{ ac_try='test -z "$ac_c_werror_flag"
2528
|| test ! -s conftest.err'
2529
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533
(exit $ac_status); }; } &&
2534
{ ac_try='test -s conftest.$ac_objext'
2431
2535
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2432
2536
(eval $ac_try) 2>&5
2434
2538
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435
2539
(exit $ac_status); }; }; then
2436
2540
for ac_declaration in \
2438
'#include <stdlib.h>' \
2439
2542
'extern "C" void std::exit (int) throw (); using std::exit;' \
2440
2543
'extern "C" void std::exit (int); using std::exit;' \
2441
2544
'extern "C" void exit (int) throw ();' \
3291
3437
echo "${ECHO_T}$ac_header_preproc" >&6
3293
3439
# So? What about this header?
3294
case $ac_header_compiler:$ac_header_preproc in
3440
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3296
3442
{ echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3297
3443
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3298
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3299
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3302
## ------------------------------------ ##
3303
## Report this to bug-autoconf@gnu.org. ##
3304
## ------------------------------------ ##
3307
sed "s/^/$as_me: WARNING: /" >&2
3444
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3445
echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3446
ac_header_preproc=yes
3310
3449
{ echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3311
3450
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3312
{ echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3313
echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3451
{ echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3452
echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3453
{ echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3454
echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3455
{ echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3456
echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3314
3457
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3315
3458
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3459
{ echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3460
echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3318
## ------------------------------------ ##
3319
## Report this to bug-autoconf@gnu.org. ##
3320
## ------------------------------------ ##
3463
## ------------------------------------------ ##
3464
## Report this to the AC_PACKAGE_NAME lists. ##
3465
## ------------------------------------------ ##
3323
3468
sed "s/^/$as_me: WARNING: /" >&2
3363
echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3364
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3365
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3507
echo "$as_me:$LINENO: checking for library containing strerror" >&5
3508
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3509
if test "${ac_cv_search_strerror+set}" = set; then
3366
3510
echo $ECHO_N "(cached) $ECHO_C" >&6
3368
ac_check_lib_save_LIBS=$LIBS
3369
LIBS="-lcposix $LIBS"
3512
ac_func_search_save_LIBS=$LIBS
3513
ac_cv_search_strerror=no
3370
3514
cat >conftest.$ac_ext <<_ACEOF
3371
#line $LINENO "configure"
3374
cat confdefs.h >>conftest.$ac_ext
3375
cat >>conftest.$ac_ext <<_ACEOF
3376
/* end confdefs.h. */
3378
/* Override any gcc2 internal prototype to avoid an error. */
3382
/* We use char because int might match the return type of a gcc2
3383
builtin and then its argument prototype would still apply. */
3393
rm -f conftest.$ac_objext conftest$ac_exeext
3394
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3395
(eval $ac_link) 2>&5
3397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398
(exit $ac_status); } &&
3399
{ ac_try='test -s conftest$ac_exeext'
3400
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3403
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404
(exit $ac_status); }; }; then
3405
ac_cv_lib_cposix_strerror=yes
3407
echo "$as_me: failed program was:" >&5
3408
sed 's/^/| /' conftest.$ac_ext >&5
3410
ac_cv_lib_cposix_strerror=no
3412
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3413
LIBS=$ac_check_lib_save_LIBS
3415
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3416
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3417
if test $ac_cv_lib_cposix_strerror = yes; then
3418
LIBS="$LIBS -lcposix"
3517
cat confdefs.h >>conftest.$ac_ext
3518
cat >>conftest.$ac_ext <<_ACEOF
3519
/* end confdefs.h. */
3521
/* Override any gcc2 internal prototype to avoid an error. */
3525
/* We use char because int might match the return type of a gcc2
3526
builtin and then its argument prototype would still apply. */
3536
rm -f conftest.$ac_objext conftest$ac_exeext
3537
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3538
(eval $ac_link) 2>conftest.er1
3540
grep -v '^ *+' conftest.er1 >conftest.err
3542
cat conftest.err >&5
3543
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544
(exit $ac_status); } &&
3545
{ ac_try='test -z "$ac_c_werror_flag"
3546
|| test ! -s conftest.err'
3547
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3550
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551
(exit $ac_status); }; } &&
3552
{ ac_try='test -s conftest$ac_exeext'
3553
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557
(exit $ac_status); }; }; then
3558
ac_cv_search_strerror="none required"
3560
echo "$as_me: failed program was:" >&5
3561
sed 's/^/| /' conftest.$ac_ext >&5
3564
rm -f conftest.err conftest.$ac_objext \
3565
conftest$ac_exeext conftest.$ac_ext
3566
if test "$ac_cv_search_strerror" = no; then
3567
for ac_lib in cposix; do
3568
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3569
cat >conftest.$ac_ext <<_ACEOF
3572
cat confdefs.h >>conftest.$ac_ext
3573
cat >>conftest.$ac_ext <<_ACEOF
3574
/* end confdefs.h. */
3576
/* Override any gcc2 internal prototype to avoid an error. */
3580
/* We use char because int might match the return type of a gcc2
3581
builtin and then its argument prototype would still apply. */
3591
rm -f conftest.$ac_objext conftest$ac_exeext
3592
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3593
(eval $ac_link) 2>conftest.er1
3595
grep -v '^ *+' conftest.er1 >conftest.err
3597
cat conftest.err >&5
3598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599
(exit $ac_status); } &&
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_exeext'
3608
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3611
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612
(exit $ac_status); }; }; then
3613
ac_cv_search_strerror="-l$ac_lib"
3616
echo "$as_me: failed program was:" >&5
3617
sed 's/^/| /' conftest.$ac_ext >&5
3620
rm -f conftest.err conftest.$ac_objext \
3621
conftest$ac_exeext conftest.$ac_ext
3624
LIBS=$ac_func_search_save_LIBS
3626
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3627
echo "${ECHO_T}$ac_cv_search_strerror" >&6
3628
if test "$ac_cv_search_strerror" != no; then
3629
test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3423
3633
for ac_prog in gawk mawk nawk awk
4030
4287
echo $ECHO_N "(cached) $ECHO_C" >&6
4032
4289
cat >conftest.$ac_ext <<_ACEOF
4033
#line $LINENO "configure"
4034
4290
/* confdefs.h. */
4036
4292
cat confdefs.h >>conftest.$ac_ext
4037
4293
cat >>conftest.$ac_ext <<_ACEOF
4038
4294
/* end confdefs.h. */
4295
/* Define gdbm_open to an innocuous variant, in case <limits.h> declares gdbm_open.
4296
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4297
#define gdbm_open innocuous_gdbm_open
4039
4299
/* System header to define __stub macros and hopefully few prototypes,
4040
4300
which can conflict with char gdbm_open (); below.
4041
4301
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4042
4302
<limits.h> exists even on freestanding compilers. */
4043
4304
#ifdef __STDC__
4044
4305
# include <limits.h>
4046
4307
# include <assert.h>
4048
4312
/* Override any gcc2 internal prototype to avoid an error. */
4049
4313
#ifdef __cplusplus
4115
4390
echo $ECHO_N "(cached) $ECHO_C" >&6
4117
4392
cat >conftest.$ac_ext <<_ACEOF
4118
#line $LINENO "configure"
4119
4393
/* confdefs.h. */
4121
4395
cat confdefs.h >>conftest.$ac_ext
4122
4396
cat >>conftest.$ac_ext <<_ACEOF
4123
4397
/* end confdefs.h. */
4398
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4399
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4400
#define $ac_func innocuous_$ac_func
4124
4402
/* System header to define __stub macros and hopefully few prototypes,
4125
4403
which can conflict with char $ac_func (); below.
4126
4404
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4127
4405
<limits.h> exists even on freestanding compilers. */
4128
4407
#ifdef __STDC__
4129
4408
# include <limits.h>
4131
4410
# include <assert.h>
4133
4415
/* Override any gcc2 internal prototype to avoid an error. */
4134
4416
#ifdef __cplusplus
4281
4583
echo "${ECHO_T}$ac_header_preproc" >&6
4283
4585
# So? What about this header?
4284
case $ac_header_compiler:$ac_header_preproc in
4586
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4286
4588
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4287
4589
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4288
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4289
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4292
## ------------------------------------ ##
4293
## Report this to bug-autoconf@gnu.org. ##
4294
## ------------------------------------ ##
4297
sed "s/^/$as_me: WARNING: /" >&2
4590
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4591
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4592
ac_header_preproc=yes
4300
4595
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4301
4596
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4302
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4303
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4597
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4598
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4599
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4600
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4601
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4602
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4304
4603
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4305
4604
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4605
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4606
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4308
## ------------------------------------ ##
4309
## Report this to bug-autoconf@gnu.org. ##
4310
## ------------------------------------ ##
4609
## ------------------------------------------ ##
4610
## Report this to the AC_PACKAGE_NAME lists. ##
4611
## ------------------------------------------ ##
4313
4614
sed "s/^/$as_me: WARNING: /" >&2
5027
5357
cat >>$CONFIG_STATUS <<_ACEOF
5028
5358
ac_cs_version="\\
5030
configured by $0, generated by GNU Autoconf 2.57,
5360
configured by $0, generated by GNU Autoconf 2.59,
5031
5361
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5033
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5034
Free Software Foundation, Inc.
5363
Copyright (C) 2003 Free Software Foundation, Inc.
5035
5364
This config.status script is free software; the Free Software Foundation
5036
5365
gives unlimited permission to copy, distribute and modify it."
5324
5654
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5325
5655
case $ac_file in
5326
5656
- | *:- | *:-:* ) # input from stdin
5328
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5329
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5658
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5659
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5330
5660
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5331
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5661
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5332
5662
* ) ac_file_in=$ac_file.in ;;
5335
5665
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5336
5666
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5337
5667
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5338
X"$ac_file" : 'X\(//\)[^/]' \| \
5339
X"$ac_file" : 'X\(//\)$' \| \
5340
X"$ac_file" : 'X\(/\)' \| \
5341
. : '\(.\)' 2>/dev/null ||
5668
X"$ac_file" : 'X\(//\)[^/]' \| \
5669
X"$ac_file" : 'X\(//\)$' \| \
5670
X"$ac_file" : 'X\(/\)' \| \
5671
. : '\(.\)' 2>/dev/null ||
5342
5672
echo X"$ac_file" |
5343
5673
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5344
5674
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5395
5725
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5396
5726
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5398
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5400
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5401
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5402
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5403
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5729
# Do not use `cd foo && pwd` to compute absolute paths, because
5730
# the directories may not exist.
5732
.) ac_abs_builddir="$ac_dir";;
5735
.) ac_abs_builddir=`pwd`;;
5736
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5737
*) ac_abs_builddir=`pwd`/"$ac_dir";;
5740
case $ac_abs_builddir in
5741
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5743
case ${ac_top_builddir}. in
5744
.) ac_abs_top_builddir=$ac_abs_builddir;;
5745
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5746
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5749
case $ac_abs_builddir in
5750
.) ac_abs_srcdir=$ac_srcdir;;
5753
.) ac_abs_srcdir=$ac_abs_builddir;;
5754
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5755
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5758
case $ac_abs_builddir in
5759
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5761
case $ac_top_srcdir in
5762
.) ac_abs_top_srcdir=$ac_abs_builddir;;
5763
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5764
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5406
5769
case $INSTALL in
5504
5867
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5505
5868
case $ac_file in
5506
5869
- | *:- | *:-:* ) # input from stdin
5508
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5509
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5871
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5872
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5510
5873
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5511
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5874
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5512
5875
* ) ac_file_in=$ac_file.in ;;
5523
5886
-) echo $tmp/stdin ;;
5525
# Absolute (can't be DOS-style, as IFS=:)
5526
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5888
# Absolute (can't be DOS-style, as IFS=:)
5889
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5527
5890
echo "$as_me: error: cannot find input file: $f" >&2;}
5528
5891
{ (exit 1); exit 1; }; }
5892
# Do quote $f, to prevent DOS paths from being IFS'd.
5531
if test -f "$f"; then
5534
elif test -f "$srcdir/$f"; then
5539
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5895
if test -f "$f"; then
5898
elif test -f "$srcdir/$f"; then
5903
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5540
5904
echo "$as_me: error: cannot find input file: $f" >&2;}
5541
5905
{ (exit 1); exit 1; }; }
5544
5908
done` || { (exit 1); exit 1; }
5545
5909
# Remove the trailing spaces.
5546
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5910
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5582
5946
# example, in the case of _POSIX_SOURCE, which is predefined and required
5583
5947
# on some systems where configure will not decide to define it.
5584
5948
cat >>conftest.undefs <<\_ACEOF
5585
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5949
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5588
5952
# Break up conftest.defines because some shells have a limit on the size
5589
5953
# of here documents, and old seds have small limits too (100 cmds).
5590
5954
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5591
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5955
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5592
5956
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5593
5957
echo ' :' >>$CONFIG_STATUS
5594
5958
rm -f conftest.tail
5734
6098
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5735
6099
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5736
6100
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5737
X"$ac_dest" : 'X\(//\)[^/]' \| \
5738
X"$ac_dest" : 'X\(//\)$' \| \
5739
X"$ac_dest" : 'X\(/\)' \| \
5740
. : '\(.\)' 2>/dev/null ||
6101
X"$ac_dest" : 'X\(//\)[^/]' \| \
6102
X"$ac_dest" : 'X\(//\)$' \| \
6103
X"$ac_dest" : 'X\(/\)' \| \
6104
. : '\(.\)' 2>/dev/null ||
5741
6105
echo X"$ac_dest" |
5742
6106
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5743
6107
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5744
6108
/^X\(\/\/\)$/{ s//\1/; q; }
5745
6109
/^X\(\/\).*/{ s//\1/; q; }
6111
{ if $as_mkdir_p; then
6116
while test ! -d "$as_dir"; do
6117
as_dirs="$as_dir $as_dirs"
6118
as_dir=`(dirname "$as_dir") 2>/dev/null ||
6119
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6120
X"$as_dir" : 'X\(//\)[^/]' \| \
6121
X"$as_dir" : 'X\(//\)$' \| \
6122
X"$as_dir" : 'X\(/\)' \| \
6123
. : '\(.\)' 2>/dev/null ||
6125
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6126
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6127
/^X\(\/\/\)$/{ s//\1/; q; }
6128
/^X\(\/\).*/{ s//\1/; q; }
6131
test ! -n "$as_dirs" || mkdir $as_dirs
6132
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6133
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6134
{ (exit 1); exit 1; }; }; }
5749
6138
if test "$ac_dir" != .; then
5769
6158
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5770
6159
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5772
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5774
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5775
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5776
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5777
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6162
# Do not use `cd foo && pwd` to compute absolute paths, because
6163
# the directories may not exist.
6165
.) ac_abs_builddir="$ac_dir";;
6168
.) ac_abs_builddir=`pwd`;;
6169
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6170
*) ac_abs_builddir=`pwd`/"$ac_dir";;
6173
case $ac_abs_builddir in
6174
.) ac_abs_top_builddir=${ac_top_builddir}.;;
6176
case ${ac_top_builddir}. in
6177
.) ac_abs_top_builddir=$ac_abs_builddir;;
6178
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6179
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6182
case $ac_abs_builddir in
6183
.) ac_abs_srcdir=$ac_srcdir;;
6186
.) ac_abs_srcdir=$ac_abs_builddir;;
6187
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6188
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6191
case $ac_abs_builddir in
6192
.) ac_abs_top_srcdir=$ac_top_srcdir;;
6194
case $ac_top_srcdir in
6195
.) ac_abs_top_srcdir=$ac_abs_builddir;;
6196
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6197
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5780
6202
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5