539
1328
ac_aux_dir=$ac_dir
540
1329
ac_install_sh="$ac_aux_dir/install.sh -c"
1331
elif test -f $ac_dir/shtool; then
1333
ac_install_sh="$ac_aux_dir/shtool install -c"
544
1337
if test -z "$ac_aux_dir"; then
545
{ echo "configure: error: can not find install-sh or install.sh in buildlib $srcdir/buildlib" 1>&2; exit 1; }
547
ac_config_guess=$ac_aux_dir/config.guess
548
ac_config_sub=$ac_aux_dir/config.sub
549
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
553
cat >> confdefs.h <<EOF
554
#define VERSION "0.5.4"
557
cat >> confdefs.h <<EOF
558
#define PACKAGE "apt"
563
# Do some error checking and defaulting for the host and target type.
565
# configure --host=HOST --target=TARGET --build=BUILD NONOPT
568
# 1. You are not allowed to specify --host, --target, and nonopt at the
570
# 2. Host defaults to nonopt.
571
# 3. If nonopt is not specified, then host defaults to the current host,
572
# as determined by config.guess.
573
# 4. Target and build default to nonopt.
574
# 5. If nonopt is not specified, then target and build default to host.
1338
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in buildlib $srcdir/buildlib" >&5
1339
echo "$as_me: error: cannot find install-sh or install.sh in buildlib $srcdir/buildlib" >&2;}
1340
{ (exit 1); exit 1; }; }
1342
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1343
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1344
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1346
ac_config_headers="$ac_config_headers include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in"
1349
cat >>confdefs.h <<_ACEOF
1350
#define VERSION "0.6.35"
1354
cat >>confdefs.h <<_ACEOF
1355
#define PACKAGE "$PACKAGE"
1360
# Make sure we can run config.sub.
1361
$ac_config_sub sun4 >/dev/null 2>&1 ||
1362
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1363
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1364
{ (exit 1); exit 1; }; }
1366
echo "$as_me:$LINENO: checking build system type" >&5
1367
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1368
if test "${ac_cv_build+set}" = set; then
1369
echo $ECHO_N "(cached) $ECHO_C" >&6
1371
ac_cv_build_alias=$build_alias
1372
test -z "$ac_cv_build_alias" &&
1373
ac_cv_build_alias=`$ac_config_guess`
1374
test -z "$ac_cv_build_alias" &&
1375
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1376
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1377
{ (exit 1); exit 1; }; }
1378
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1379
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1380
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1381
{ (exit 1); exit 1; }; }
1384
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1385
echo "${ECHO_T}$ac_cv_build" >&6
1387
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1388
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1389
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1392
echo "$as_me:$LINENO: checking host system type" >&5
1393
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1394
if test "${ac_cv_host+set}" = set; then
1395
echo $ECHO_N "(cached) $ECHO_C" >&6
1397
ac_cv_host_alias=$host_alias
1398
test -z "$ac_cv_host_alias" &&
1399
ac_cv_host_alias=$ac_cv_build_alias
1400
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1401
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1402
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1403
{ (exit 1); exit 1; }; }
1406
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1407
echo "${ECHO_T}$ac_cv_host" >&6
1409
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1410
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1411
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1414
echo "$as_me:$LINENO: checking target system type" >&5
1415
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1416
if test "${ac_cv_target+set}" = set; then
1417
echo $ECHO_N "(cached) $ECHO_C" >&6
1419
ac_cv_target_alias=$target_alias
1420
test "x$ac_cv_target_alias" = "x" &&
1421
ac_cv_target_alias=$ac_cv_host_alias
1422
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1423
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1424
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1425
{ (exit 1); exit 1; }; }
1428
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1429
echo "${ECHO_T}$ac_cv_target" >&6
1430
target=$ac_cv_target
1431
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1432
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1433
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
576
1436
# The aliases save the names the user supplied, while $host etc.
577
1437
# will get canonicalized.
578
case $host---$target---$nonopt in
579
NONE---*---* | *---NONE---* | *---*---NONE) ;;
580
*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
584
# Make sure we can run config.sub.
585
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
586
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
589
echo $ac_n "checking host system type""... $ac_c" 1>&6
590
echo "configure:591: checking host system type" >&5
593
case "$host_alias" in
597
if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
598
else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
600
*) host_alias=$nonopt ;;
604
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
605
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
606
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
607
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
608
echo "$ac_t""$host" 1>&6
610
echo $ac_n "checking target system type""... $ac_c" 1>&6
611
echo "configure:612: checking target system type" >&5
614
case "$target_alias" in
617
NONE) target_alias=$host_alias ;;
618
*) target_alias=$nonopt ;;
622
target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
623
target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
624
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
625
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
626
echo "$ac_t""$target" 1>&6
628
echo $ac_n "checking build system type""... $ac_c" 1>&6
629
echo "configure:630: checking build system type" >&5
632
case "$build_alias" in
635
NONE) build_alias=$host_alias ;;
636
*) build_alias=$nonopt ;;
640
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
641
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
642
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
643
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
644
echo "$ac_t""$build" 1>&6
646
test "$host_alias" != "$target_alias" &&
1438
test -n "$target_alias" &&
647
1439
test "$program_prefix$program_suffix$program_transform_name" = \
648
1440
NONENONEs,x,x, &&
649
1441
program_prefix=${target_alias}-
652
if test $host != $build; then
653
ac_tool_prefix=${host_alias}-
658
# Extract the first word of "gcc", so it can be a program name with args.
1445
ac_cpp='$CPP $CPPFLAGS'
1446
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1447
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1448
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1449
if test -n "$ac_tool_prefix"; then
1450
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1451
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1452
echo "$as_me:$LINENO: checking for $ac_word" >&5
1453
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1454
if test "${ac_cv_prog_CC+set}" = set; then
1455
echo $ECHO_N "(cached) $ECHO_C" >&6
1457
if test -n "$CC"; then
1458
ac_cv_prog_CC="$CC" # Let the user override the test.
1460
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1464
test -z "$as_dir" && as_dir=.
1465
for ac_exec_ext in '' $ac_executable_extensions; do
1466
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1467
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1468
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1477
if test -n "$CC"; then
1478
echo "$as_me:$LINENO: result: $CC" >&5
1479
echo "${ECHO_T}$CC" >&6
1481
echo "$as_me:$LINENO: result: no" >&5
1482
echo "${ECHO_T}no" >&6
1486
if test -z "$ac_cv_prog_CC"; then
1488
# Extract the first word of "gcc", so it can be a program name with args.
659
1489
set dummy gcc; ac_word=$2
660
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
661
echo "configure:662: checking for $ac_word" >&5
662
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
663
echo $ac_n "(cached) $ac_c" 1>&6
1490
echo "$as_me:$LINENO: checking for $ac_word" >&5
1491
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1492
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1493
echo $ECHO_N "(cached) $ECHO_C" >&6
1495
if test -n "$ac_ct_CC"; then
1496
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1498
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1502
test -z "$as_dir" && as_dir=.
1503
for ac_exec_ext in '' $ac_executable_extensions; do
1504
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1505
ac_cv_prog_ac_ct_CC="gcc"
1506
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1514
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1515
if test -n "$ac_ct_CC"; then
1516
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1517
echo "${ECHO_T}$ac_ct_CC" >&6
1519
echo "$as_me:$LINENO: result: no" >&5
1520
echo "${ECHO_T}no" >&6
1528
if test -z "$CC"; then
1529
if test -n "$ac_tool_prefix"; then
1530
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1531
set dummy ${ac_tool_prefix}cc; ac_word=$2
1532
echo "$as_me:$LINENO: checking for $ac_word" >&5
1533
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1534
if test "${ac_cv_prog_CC+set}" = set; then
1535
echo $ECHO_N "(cached) $ECHO_C" >&6
665
1537
if test -n "$CC"; then
666
1538
ac_cv_prog_CC="$CC" # Let the user override the test.
668
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
670
for ac_dir in $ac_dummy; do
671
test -z "$ac_dir" && ac_dir=.
672
if test -f $ac_dir/$ac_word; then
1540
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1544
test -z "$as_dir" && as_dir=.
1545
for ac_exec_ext in '' $ac_executable_extensions; do
1546
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1547
ac_cv_prog_CC="${ac_tool_prefix}cc"
1548
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
681
1557
if test -n "$CC"; then
682
echo "$ac_t""$CC" 1>&6
684
echo "$ac_t""no" 1>&6
1558
echo "$as_me:$LINENO: result: $CC" >&5
1559
echo "${ECHO_T}$CC" >&6
1561
echo "$as_me:$LINENO: result: no" >&5
1562
echo "${ECHO_T}no" >&6
1566
if test -z "$ac_cv_prog_CC"; then
1568
# Extract the first word of "cc", so it can be a program name with args.
1569
set dummy cc; ac_word=$2
1570
echo "$as_me:$LINENO: checking for $ac_word" >&5
1571
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1572
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1573
echo $ECHO_N "(cached) $ECHO_C" >&6
1575
if test -n "$ac_ct_CC"; then
1576
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1578
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582
test -z "$as_dir" && as_dir=.
1583
for ac_exec_ext in '' $ac_executable_extensions; do
1584
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1585
ac_cv_prog_ac_ct_CC="cc"
1586
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1594
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1595
if test -n "$ac_ct_CC"; then
1596
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1597
echo "${ECHO_T}$ac_ct_CC" >&6
1599
echo "$as_me:$LINENO: result: no" >&5
1600
echo "${ECHO_T}no" >&6
687
1609
if test -z "$CC"; then
688
1610
# Extract the first word of "cc", so it can be a program name with args.
689
1611
set dummy cc; ac_word=$2
690
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
691
echo "configure:692: checking for $ac_word" >&5
692
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
693
echo $ac_n "(cached) $ac_c" 1>&6
1612
echo "$as_me:$LINENO: checking for $ac_word" >&5
1613
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1614
if test "${ac_cv_prog_CC+set}" = set; then
1615
echo $ECHO_N "(cached) $ECHO_C" >&6
695
1617
if test -n "$CC"; then
696
1618
ac_cv_prog_CC="$CC" # Let the user override the test.
698
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
699
1620
ac_prog_rejected=no
701
for ac_dir in $ac_dummy; do
702
test -z "$ac_dir" && ac_dir=.
703
if test -f $ac_dir/$ac_word; then
704
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1621
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1625
test -z "$as_dir" && as_dir=.
1626
for ac_exec_ext in '' $ac_executable_extensions; do
1627
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1628
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1629
ac_prog_rejected=yes
1633
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
713
1639
if test $ac_prog_rejected = yes; then
714
1640
# We found a bogon in the path, so make sure we never use it.
715
1641
set dummy $ac_cv_prog_CC
717
if test $# -gt 0; then
1643
if test $# != 0; then
718
1644
# We chose a different compiler from the bogus one.
719
1645
# However, it has the same basename, so the bogon will be chosen
720
1646
# first if we set CC to just the basename; use the full file name.
722
set dummy "$ac_dir/$ac_word" "$@"
1648
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
730
1654
if test -n "$CC"; then
731
echo "$ac_t""$CC" 1>&6
1655
echo "$as_me:$LINENO: result: $CC" >&5
1656
echo "${ECHO_T}$CC" >&6
733
echo "$ac_t""no" 1>&6
1658
echo "$as_me:$LINENO: result: no" >&5
1659
echo "${ECHO_T}no" >&6
736
if test -z "$CC"; then
739
# Extract the first word of "cl", so it can be a program name with args.
740
set dummy cl; ac_word=$2
741
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
742
echo "configure:743: checking for $ac_word" >&5
743
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
744
echo $ac_n "(cached) $ac_c" 1>&6
1663
if test -z "$CC"; then
1664
if test -n "$ac_tool_prefix"; then
1667
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1668
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1669
echo "$as_me:$LINENO: checking for $ac_word" >&5
1670
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1671
if test "${ac_cv_prog_CC+set}" = set; then
1672
echo $ECHO_N "(cached) $ECHO_C" >&6
746
1674
if test -n "$CC"; then
747
1675
ac_cv_prog_CC="$CC" # Let the user override the test.
749
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
751
for ac_dir in $ac_dummy; do
752
test -z "$ac_dir" && ac_dir=.
753
if test -f $ac_dir/$ac_word; then
1677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1681
test -z "$as_dir" && as_dir=.
1682
for ac_exec_ext in '' $ac_executable_extensions; do
1683
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1684
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1685
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1694
if test -n "$CC"; then
1695
echo "$as_me:$LINENO: result: $CC" >&5
1696
echo "${ECHO_T}$CC" >&6
1698
echo "$as_me:$LINENO: result: no" >&5
1699
echo "${ECHO_T}no" >&6
1702
test -n "$CC" && break
762
if test -n "$CC"; then
763
echo "$ac_t""$CC" 1>&6
765
echo "$ac_t""no" 1>&6
1705
if test -z "$CC"; then
1709
# Extract the first word of "$ac_prog", so it can be a program name with args.
1710
set dummy $ac_prog; ac_word=$2
1711
echo "$as_me:$LINENO: checking for $ac_word" >&5
1712
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1713
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1714
echo $ECHO_N "(cached) $ECHO_C" >&6
1716
if test -n "$ac_ct_CC"; then
1717
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1719
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1723
test -z "$as_dir" && as_dir=.
1724
for ac_exec_ext in '' $ac_executable_extensions; do
1725
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1726
ac_cv_prog_ac_ct_CC="$ac_prog"
1727
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
770
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
773
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
774
echo "configure:775: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
777
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
778
ac_cpp='$CPP $CPPFLAGS'
779
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
780
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
781
cross_compiling=$ac_cv_prog_cc_cross
783
cat > conftest.$ac_ext << EOF
785
#line 786 "configure"
786
#include "confdefs.h"
790
if { (eval echo configure:791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
791
ac_cv_prog_cc_works=yes
792
# If we can't run a trivial program, we are probably using a cross compiler.
793
if (./conftest; exit) 2>/dev/null; then
794
ac_cv_prog_cc_cross=no
1735
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1736
if test -n "$ac_ct_CC"; then
1737
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1738
echo "${ECHO_T}$ac_ct_CC" >&6
1740
echo "$as_me:$LINENO: result: no" >&5
1741
echo "${ECHO_T}no" >&6
1744
test -n "$ac_ct_CC" && break
1753
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1754
See \`config.log' for more details." >&5
1755
echo "$as_me: error: no acceptable C compiler found in \$PATH
1756
See \`config.log' for more details." >&2;}
1757
{ (exit 1); exit 1; }; }
1759
# Provide some information about the compiler.
1760
echo "$as_me:$LINENO:" \
1761
"checking for C compiler version" >&5
1762
ac_compiler=`set X $ac_compile; echo $2`
1763
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1764
(eval $ac_compiler --version </dev/null >&5) 2>&5
1766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1767
(exit $ac_status); }
1768
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1769
(eval $ac_compiler -v </dev/null >&5) 2>&5
1771
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1772
(exit $ac_status); }
1773
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1774
(eval $ac_compiler -V </dev/null >&5) 2>&5
1776
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1777
(exit $ac_status); }
1779
cat >conftest.$ac_ext <<_ACEOF
1782
cat confdefs.h >>conftest.$ac_ext
1783
cat >>conftest.$ac_ext <<_ACEOF
1784
/* end confdefs.h. */
1794
ac_clean_files_save=$ac_clean_files
1795
ac_clean_files="$ac_clean_files a.out a.exe b.out"
1796
# Try to create an executable without -o first, disregard a.out.
1797
# It will help us diagnose broken compilers, and finding out an intuition
1799
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1800
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1801
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1802
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1803
(eval $ac_link_default) 2>&5
1805
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1806
(exit $ac_status); }; then
1807
# Find the output, starting from the most likely. This scheme is
1808
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1811
# Be careful to initialize this variable, since it used to be cached.
1812
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1814
# b.out is created by i960 compilers.
1815
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1817
test -f "$ac_file" || continue
1819
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1822
# This is the source file.
1825
# We found the default executable, but exeext='' is most
1829
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1830
# FIXME: I believe we export ac_cv_exeext for Libtool,
1831
# but it would be cool to find out if it's true. Does anybody
1832
# maintain Libtool? --akim.
1840
echo "$as_me: failed program was:" >&5
1841
sed 's/^/| /' conftest.$ac_ext >&5
1843
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1844
See \`config.log' for more details." >&5
1845
echo "$as_me: error: C compiler cannot create executables
1846
See \`config.log' for more details." >&2;}
1847
{ (exit 77); exit 77; }; }
1850
ac_exeext=$ac_cv_exeext
1851
echo "$as_me:$LINENO: result: $ac_file" >&5
1852
echo "${ECHO_T}$ac_file" >&6
1854
# Check the compiler produces executables we can run. If not, either
1855
# the compiler is broken, or we cross compile.
1856
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1857
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1858
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1859
# If not cross compiling, check that we can run a simple program.
1860
if test "$cross_compiling" != yes; then
1861
if { ac_try='./$ac_file'
1862
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1866
(exit $ac_status); }; }; then
796
ac_cv_prog_cc_cross=yes
1869
if test "$cross_compiling" = maybe; then
1872
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1873
If you meant to cross compile, use \`--host'.
1874
See \`config.log' for more details." >&5
1875
echo "$as_me: error: cannot run C compiled programs.
1876
If you meant to cross compile, use \`--host'.
1877
See \`config.log' for more details." >&2;}
1878
{ (exit 1); exit 1; }; }
799
echo "configure: failed program was:" >&5
800
cat conftest.$ac_ext >&5
801
ac_cv_prog_cc_works=no
805
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
806
ac_cpp='$CPP $CPPFLAGS'
807
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
808
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
809
cross_compiling=$ac_cv_prog_cc_cross
811
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
812
if test $ac_cv_prog_cc_works = no; then
813
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
815
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
816
echo "configure:817: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
817
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
818
cross_compiling=$ac_cv_prog_cc_cross
820
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
821
echo "configure:822: checking whether we are using GNU C" >&5
822
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
823
echo $ac_n "(cached) $ac_c" 1>&6
825
cat > conftest.c <<EOF
1882
echo "$as_me:$LINENO: result: yes" >&5
1883
echo "${ECHO_T}yes" >&6
1885
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1886
ac_clean_files=$ac_clean_files_save
1887
# Check the compiler produces executables we can run. If not, either
1888
# the compiler is broken, or we cross compile.
1889
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1890
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1891
echo "$as_me:$LINENO: result: $cross_compiling" >&5
1892
echo "${ECHO_T}$cross_compiling" >&6
1894
echo "$as_me:$LINENO: checking for suffix of executables" >&5
1895
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1896
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1897
(eval $ac_link) 2>&5
1899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1900
(exit $ac_status); }; then
1901
# If both `conftest.exe' and `conftest' are `present' (well, observable)
1902
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1903
# work properly (i.e., refer to `conftest.exe'), while it won't with
1905
for ac_file in conftest.exe conftest conftest.*; do
1906
test -f "$ac_file" || continue
1908
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1909
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1916
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1917
See \`config.log' for more details." >&5
1918
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1919
See \`config.log' for more details." >&2;}
1920
{ (exit 1); exit 1; }; }
1923
rm -f conftest$ac_cv_exeext
1924
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1925
echo "${ECHO_T}$ac_cv_exeext" >&6
1927
rm -f conftest.$ac_ext
1928
EXEEXT=$ac_cv_exeext
1930
echo "$as_me:$LINENO: checking for suffix of object files" >&5
1931
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1932
if test "${ac_cv_objext+set}" = set; then
1933
echo $ECHO_N "(cached) $ECHO_C" >&6
1935
cat >conftest.$ac_ext <<_ACEOF
1938
cat confdefs.h >>conftest.$ac_ext
1939
cat >>conftest.$ac_ext <<_ACEOF
1940
/* end confdefs.h. */
1950
rm -f conftest.o conftest.obj
1951
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1952
(eval $ac_compile) 2>&5
1954
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1955
(exit $ac_status); }; then
1956
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1958
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1959
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1964
echo "$as_me: failed program was:" >&5
1965
sed 's/^/| /' conftest.$ac_ext >&5
1967
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1968
See \`config.log' for more details." >&5
1969
echo "$as_me: error: cannot compute suffix of object files: cannot compile
1970
See \`config.log' for more details." >&2;}
1971
{ (exit 1); exit 1; }; }
1974
rm -f conftest.$ac_cv_objext conftest.$ac_ext
1976
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1977
echo "${ECHO_T}$ac_cv_objext" >&6
1978
OBJEXT=$ac_cv_objext
1980
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1981
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1982
if test "${ac_cv_c_compiler_gnu+set}" = set; then
1983
echo $ECHO_N "(cached) $ECHO_C" >&6
1985
cat >conftest.$ac_ext <<_ACEOF
1988
cat confdefs.h >>conftest.$ac_ext
1989
cat >>conftest.$ac_ext <<_ACEOF
1990
/* end confdefs.h. */
830
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
837
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
839
if test $ac_cv_prog_gcc = yes; then
845
ac_test_CFLAGS="${CFLAGS+set}"
846
ac_save_CFLAGS="$CFLAGS"
848
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
849
echo "configure:850: checking whether ${CC-cc} accepts -g" >&5
850
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
851
echo $ac_n "(cached) $ac_c" 1>&6
853
echo 'void f(){}' > conftest.c
854
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2003
rm -f conftest.$ac_objext
2004
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2005
(eval $ac_compile) 2>conftest.er1
2007
grep -v '^ *+' conftest.er1 >conftest.err
2009
cat conftest.err >&5
2010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011
(exit $ac_status); } &&
2012
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2013
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2016
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2017
(exit $ac_status); }; } &&
2018
{ ac_try='test -s conftest.$ac_objext'
2019
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2022
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2023
(exit $ac_status); }; }; then
2026
echo "$as_me: failed program was:" >&5
2027
sed 's/^/| /' conftest.$ac_ext >&5
2031
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2032
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2035
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2036
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2037
GCC=`test $ac_compiler_gnu = yes && echo yes`
2038
ac_test_CFLAGS=${CFLAGS+set}
2039
ac_save_CFLAGS=$CFLAGS
2041
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2042
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2043
if test "${ac_cv_prog_cc_g+set}" = set; then
2044
echo $ECHO_N "(cached) $ECHO_C" >&6
2046
cat >conftest.$ac_ext <<_ACEOF
2049
cat confdefs.h >>conftest.$ac_ext
2050
cat >>conftest.$ac_ext <<_ACEOF
2051
/* end confdefs.h. */
2061
rm -f conftest.$ac_objext
2062
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2063
(eval $ac_compile) 2>conftest.er1
2065
grep -v '^ *+' conftest.er1 >conftest.err
2067
cat conftest.err >&5
2068
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2069
(exit $ac_status); } &&
2070
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2071
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2074
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2075
(exit $ac_status); }; } &&
2076
{ ac_try='test -s conftest.$ac_objext'
2077
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2080
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081
(exit $ac_status); }; }; then
855
2082
ac_cv_prog_cc_g=yes
863
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
2084
echo "$as_me: failed program was:" >&5
2085
sed 's/^/| /' conftest.$ac_ext >&5
2089
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2091
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2092
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
864
2093
if test "$ac_test_CFLAGS" = set; then
865
CFLAGS="$ac_save_CFLAGS"
2094
CFLAGS=$ac_save_CFLAGS
866
2095
elif test $ac_cv_prog_cc_g = yes; then
867
2096
if test "$GCC" = yes; then
1045
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1046
echo "configure:1047: checking how to run the C preprocessor" >&5
2681
for ac_declaration in \
2683
'extern "C" void std::exit (int) throw (); using std::exit;' \
2684
'extern "C" void std::exit (int); using std::exit;' \
2685
'extern "C" void exit (int) throw ();' \
2686
'extern "C" void exit (int);' \
2689
cat >conftest.$ac_ext <<_ACEOF
2692
cat confdefs.h >>conftest.$ac_ext
2693
cat >>conftest.$ac_ext <<_ACEOF
2694
/* end confdefs.h. */
2705
rm -f conftest.$ac_objext
2706
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2707
(eval $ac_compile) 2>conftest.er1
2709
grep -v '^ *+' conftest.er1 >conftest.err
2711
cat conftest.err >&5
2712
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713
(exit $ac_status); } &&
2714
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2715
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719
(exit $ac_status); }; } &&
2720
{ ac_try='test -s conftest.$ac_objext'
2721
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2724
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725
(exit $ac_status); }; }; then
2728
echo "$as_me: failed program was:" >&5
2729
sed 's/^/| /' conftest.$ac_ext >&5
2733
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2734
cat >conftest.$ac_ext <<_ACEOF
2737
cat confdefs.h >>conftest.$ac_ext
2738
cat >>conftest.$ac_ext <<_ACEOF
2739
/* end confdefs.h. */
2749
rm -f conftest.$ac_objext
2750
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2751
(eval $ac_compile) 2>conftest.er1
2753
grep -v '^ *+' conftest.er1 >conftest.err
2755
cat conftest.err >&5
2756
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757
(exit $ac_status); } &&
2758
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2759
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2762
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763
(exit $ac_status); }; } &&
2764
{ ac_try='test -s conftest.$ac_objext'
2765
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769
(exit $ac_status); }; }; then
2772
echo "$as_me: failed program was:" >&5
2773
sed 's/^/| /' conftest.$ac_ext >&5
2776
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2779
if test -n "$ac_declaration"; then
2780
echo '#ifdef __cplusplus' >>confdefs.h
2781
echo $ac_declaration >>confdefs.h
2782
echo '#endif' >>confdefs.h
2786
ac_cpp='$CPP $CPPFLAGS'
2787
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2788
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2789
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2792
ac_cpp='$CPP $CPPFLAGS'
2793
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2794
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2795
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2796
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2797
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1047
2798
# On Suns, sometimes $CPP names a directory.
1048
2799
if test -n "$CPP" && test -d "$CPP"; then
1051
2802
if test -z "$CPP"; then
1052
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1053
echo $ac_n "(cached) $ac_c" 1>&6
1055
# This must be in double quotes, not single quotes, because CPP may get
1056
# substituted into the Makefile and "${CC-cc}" will confuse make.
1058
# On the NeXT, cc -E runs the code through the compiler's parser,
1059
# not just through cpp.
1060
cat > conftest.$ac_ext <<EOF
1061
#line 1062 "configure"
1062
#include "confdefs.h"
1066
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1067
{ (eval echo configure:1068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1068
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1069
if test -z "$ac_err"; then
1073
echo "configure: failed program was:" >&5
1074
cat conftest.$ac_ext >&5
1076
CPP="${CC-cc} -E -traditional-cpp"
1077
cat > conftest.$ac_ext <<EOF
1078
#line 1079 "configure"
1079
#include "confdefs.h"
1083
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1084
{ (eval echo configure:1085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1085
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1086
if test -z "$ac_err"; then
1090
echo "configure: failed program was:" >&5
1091
cat conftest.$ac_ext >&5
1093
CPP="${CC-cc} -nologo -E"
1094
cat > conftest.$ac_ext <<EOF
1095
#line 1096 "configure"
1096
#include "confdefs.h"
1100
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1101
{ (eval echo configure:1102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1102
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1103
if test -z "$ac_err"; then
1107
echo "configure: failed program was:" >&5
1108
cat conftest.$ac_ext >&5
1117
ac_cv_prog_CPP="$CPP"
1119
CPP="$ac_cv_prog_CPP"
1121
ac_cv_prog_CPP="$CPP"
1123
echo "$ac_t""$CPP" 1>&6
1125
# Extract the first word of "ranlib", so it can be a program name with args.
1126
set dummy ranlib; ac_word=$2
1127
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1128
echo "configure:1129: checking for $ac_word" >&5
1129
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1130
echo $ac_n "(cached) $ac_c" 1>&6
2803
if test "${ac_cv_prog_CPP+set}" = set; then
2804
echo $ECHO_N "(cached) $ECHO_C" >&6
2806
# Double quotes because CPP needs to be expanded
2807
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2810
for ac_c_preproc_warn_flag in '' yes
2812
# Use a header file that comes with gcc, so configuring glibc
2813
# with a fresh cross-compiler works.
2814
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2815
# <limits.h> exists even on freestanding compilers.
2816
# On the NeXT, cc -E runs the code through the compiler's parser,
2817
# not just through cpp. "Syntax error" is here to catch this case.
2818
cat >conftest.$ac_ext <<_ACEOF
2821
cat confdefs.h >>conftest.$ac_ext
2822
cat >>conftest.$ac_ext <<_ACEOF
2823
/* end confdefs.h. */
2825
# include <limits.h>
2827
# include <assert.h>
2831
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2832
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2834
grep -v '^ *+' conftest.er1 >conftest.err
2836
cat conftest.err >&5
2837
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838
(exit $ac_status); } >/dev/null; then
2839
if test -s conftest.err; then
2840
ac_cpp_err=$ac_c_preproc_warn_flag
2841
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2848
if test -z "$ac_cpp_err"; then
2851
echo "$as_me: failed program was:" >&5
2852
sed 's/^/| /' conftest.$ac_ext >&5
2854
# Broken: fails on valid input.
2857
rm -f conftest.err conftest.$ac_ext
2859
# OK, works on sane cases. Now check whether non-existent headers
2860
# can be detected and how.
2861
cat >conftest.$ac_ext <<_ACEOF
2864
cat confdefs.h >>conftest.$ac_ext
2865
cat >>conftest.$ac_ext <<_ACEOF
2866
/* end confdefs.h. */
2867
#include <ac_nonexistent.h>
2869
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2870
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2872
grep -v '^ *+' conftest.er1 >conftest.err
2874
cat conftest.err >&5
2875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876
(exit $ac_status); } >/dev/null; then
2877
if test -s conftest.err; then
2878
ac_cpp_err=$ac_c_preproc_warn_flag
2879
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2886
if test -z "$ac_cpp_err"; then
2887
# Broken: success on invalid input.
2890
echo "$as_me: failed program was:" >&5
2891
sed 's/^/| /' conftest.$ac_ext >&5
2893
# Passes both tests.
2897
rm -f conftest.err conftest.$ac_ext
2900
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2901
rm -f conftest.err conftest.$ac_ext
2902
if $ac_preproc_ok; then
2914
echo "$as_me:$LINENO: result: $CPP" >&5
2915
echo "${ECHO_T}$CPP" >&6
2917
for ac_c_preproc_warn_flag in '' yes
2919
# Use a header file that comes with gcc, so configuring glibc
2920
# with a fresh cross-compiler works.
2921
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2922
# <limits.h> exists even on freestanding compilers.
2923
# On the NeXT, cc -E runs the code through the compiler's parser,
2924
# not just through cpp. "Syntax error" is here to catch this case.
2925
cat >conftest.$ac_ext <<_ACEOF
2928
cat confdefs.h >>conftest.$ac_ext
2929
cat >>conftest.$ac_ext <<_ACEOF
2930
/* end confdefs.h. */
2932
# include <limits.h>
2934
# include <assert.h>
2938
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2939
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2941
grep -v '^ *+' conftest.er1 >conftest.err
2943
cat conftest.err >&5
2944
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945
(exit $ac_status); } >/dev/null; then
2946
if test -s conftest.err; then
2947
ac_cpp_err=$ac_c_preproc_warn_flag
2948
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2955
if test -z "$ac_cpp_err"; then
2958
echo "$as_me: failed program was:" >&5
2959
sed 's/^/| /' conftest.$ac_ext >&5
2961
# Broken: fails on valid input.
2964
rm -f conftest.err conftest.$ac_ext
2966
# OK, works on sane cases. Now check whether non-existent headers
2967
# can be detected and how.
2968
cat >conftest.$ac_ext <<_ACEOF
2971
cat confdefs.h >>conftest.$ac_ext
2972
cat >>conftest.$ac_ext <<_ACEOF
2973
/* end confdefs.h. */
2974
#include <ac_nonexistent.h>
2976
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2977
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2979
grep -v '^ *+' conftest.er1 >conftest.err
2981
cat conftest.err >&5
2982
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983
(exit $ac_status); } >/dev/null; then
2984
if test -s conftest.err; then
2985
ac_cpp_err=$ac_c_preproc_warn_flag
2986
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2993
if test -z "$ac_cpp_err"; then
2994
# Broken: success on invalid input.
2997
echo "$as_me: failed program was:" >&5
2998
sed 's/^/| /' conftest.$ac_ext >&5
3000
# Passes both tests.
3004
rm -f conftest.err conftest.$ac_ext
3007
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3008
rm -f conftest.err conftest.$ac_ext
3009
if $ac_preproc_ok; then
3012
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3013
See \`config.log' for more details." >&5
3014
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3015
See \`config.log' for more details." >&2;}
3016
{ (exit 1); exit 1; }; }
3020
ac_cpp='$CPP $CPPFLAGS'
3021
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3025
if test -n "$ac_tool_prefix"; then
3026
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3027
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3028
echo "$as_me:$LINENO: checking for $ac_word" >&5
3029
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3030
if test "${ac_cv_prog_RANLIB+set}" = set; then
3031
echo $ECHO_N "(cached) $ECHO_C" >&6
1132
3033
if test -n "$RANLIB"; then
1133
3034
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1135
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1137
for ac_dir in $ac_dummy; do
1138
test -z "$ac_dir" && ac_dir=.
1139
if test -f $ac_dir/$ac_word; then
1140
ac_cv_prog_RANLIB="ranlib"
1145
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1148
RANLIB="$ac_cv_prog_RANLIB"
3036
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040
test -z "$as_dir" && as_dir=.
3041
for ac_exec_ext in '' $ac_executable_extensions; do
3042
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3043
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3044
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3052
RANLIB=$ac_cv_prog_RANLIB
1149
3053
if test -n "$RANLIB"; then
1150
echo "$ac_t""$RANLIB" 1>&6
1152
echo "$ac_t""no" 1>&6
1155
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3054
echo "$as_me:$LINENO: result: $RANLIB" >&5
3055
echo "${ECHO_T}$RANLIB" >&6
3057
echo "$as_me:$LINENO: result: no" >&5
3058
echo "${ECHO_T}no" >&6
3062
if test -z "$ac_cv_prog_RANLIB"; then
3063
ac_ct_RANLIB=$RANLIB
3064
# Extract the first word of "ranlib", so it can be a program name with args.
3065
set dummy ranlib; ac_word=$2
3066
echo "$as_me:$LINENO: checking for $ac_word" >&5
3067
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3068
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3069
echo $ECHO_N "(cached) $ECHO_C" >&6
3071
if test -n "$ac_ct_RANLIB"; then
3072
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3074
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078
test -z "$as_dir" && as_dir=.
3079
for ac_exec_ext in '' $ac_executable_extensions; do
3080
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3081
ac_cv_prog_ac_ct_RANLIB="ranlib"
3082
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3088
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3091
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3092
if test -n "$ac_ct_RANLIB"; then
3093
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3094
echo "${ECHO_T}$ac_ct_RANLIB" >&6
3096
echo "$as_me:$LINENO: result: no" >&5
3097
echo "${ECHO_T}no" >&6
3100
RANLIB=$ac_ct_RANLIB
3102
RANLIB="$ac_cv_prog_RANLIB"
3105
if test -n "$ac_tool_prefix"; then
3106
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1156
3107
set dummy ${ac_tool_prefix}ar; ac_word=$2
1157
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1158
echo "configure:1159: checking for $ac_word" >&5
1159
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1160
echo $ac_n "(cached) $ac_c" 1>&6
3108
echo "$as_me:$LINENO: checking for $ac_word" >&5
3109
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3110
if test "${ac_cv_prog_AR+set}" = set; then
3111
echo $ECHO_N "(cached) $ECHO_C" >&6
1162
3113
if test -n "$AR"; then
1163
3114
ac_cv_prog_AR="$AR" # Let the user override the test.
1165
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1167
for ac_dir in $ac_dummy; do
1168
test -z "$ac_dir" && ac_dir=.
1169
if test -f $ac_dir/$ac_word; then
1170
ac_cv_prog_AR="${ac_tool_prefix}ar"
3116
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3120
test -z "$as_dir" && as_dir=.
3121
for ac_exec_ext in '' $ac_executable_extensions; do
3122
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3123
ac_cv_prog_AR="${ac_tool_prefix}ar"
3124
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1178
3133
if test -n "$AR"; then
1179
echo "$ac_t""$AR" 1>&6
3134
echo "$as_me:$LINENO: result: $AR" >&5
3135
echo "${ECHO_T}$AR" >&6
1181
echo "$ac_t""no" 1>&6
3137
echo "$as_me:$LINENO: result: no" >&5
3138
echo "${ECHO_T}no" >&6
1185
3142
if test -z "$ac_cv_prog_AR"; then
1186
if test -n "$ac_tool_prefix"; then
1187
3144
# Extract the first word of "ar", so it can be a program name with args.
1188
3145
set dummy ar; ac_word=$2
1189
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1190
echo "configure:1191: checking for $ac_word" >&5
1191
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1192
echo $ac_n "(cached) $ac_c" 1>&6
1194
if test -n "$AR"; then
1195
ac_cv_prog_AR="$AR" # Let the user override the test.
1197
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1199
for ac_dir in $ac_dummy; do
1200
test -z "$ac_dir" && ac_dir=.
1201
if test -f $ac_dir/$ac_word; then
1207
test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""ar""
1211
if test -n "$AR"; then
1212
echo "$ac_t""$AR" 1>&6
1214
echo "$ac_t""no" 1>&6
3146
echo "$as_me:$LINENO: checking for $ac_word" >&5
3147
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3148
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3149
echo $ECHO_N "(cached) $ECHO_C" >&6
3151
if test -n "$ac_ct_AR"; then
3152
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3154
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3158
test -z "$as_dir" && as_dir=.
3159
for ac_exec_ext in '' $ac_executable_extensions; do
3160
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3161
ac_cv_prog_ac_ct_AR="ar"
3162
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3168
test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR=""ar""
3171
ac_ct_AR=$ac_cv_prog_ac_ct_AR
3172
if test -n "$ac_ct_AR"; then
3173
echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3174
echo "${ECHO_T}$ac_ct_AR" >&6
3176
echo "$as_me:$LINENO: result: no" >&5
3177
echo "${ECHO_T}no" >&6
1223
3186
SAVE_LIBS="$LIBS"
1226
echo $ac_n "checking for library containing gethostbyname""... $ac_c" 1>&6
1227
echo "configure:1228: checking for library containing gethostbyname" >&5
1228
if eval "test \"`echo '$''{'ac_cv_search_gethostbyname'+set}'`\" = set"; then
1229
echo $ac_n "(cached) $ac_c" 1>&6
3188
echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
3189
echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
3190
if test "${ac_cv_search_gethostbyname+set}" = set; then
3191
echo $ECHO_N "(cached) $ECHO_C" >&6
1231
ac_func_search_save_LIBS="$LIBS"
1232
ac_cv_search_gethostbyname="no"
1233
cat > conftest.$ac_ext <<EOF
1234
#line 1235 "configure"
1235
#include "confdefs.h"
3193
ac_func_search_save_LIBS=$LIBS
3194
ac_cv_search_gethostbyname=no
3195
cat >conftest.$ac_ext <<_ACEOF
3198
cat confdefs.h >>conftest.$ac_ext
3199
cat >>conftest.$ac_ext <<_ACEOF
3200
/* end confdefs.h. */
1236
3202
/* Override any gcc2 internal prototype to avoid an error. */
1237
3206
/* We use char because int might match the return type of a gcc2
1238
builtin and then its argument prototype would still apply. */
1239
char gethostbyname();
1245
if { (eval echo configure:1246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3207
builtin and then its argument prototype would still apply. */
3208
char gethostbyname ();
3217
rm -f conftest.$ac_objext conftest$ac_exeext
3218
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3219
(eval $ac_link) 2>conftest.er1
3221
grep -v '^ *+' conftest.er1 >conftest.err
3223
cat conftest.err >&5
3224
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225
(exit $ac_status); } &&
3226
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3227
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3230
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231
(exit $ac_status); }; } &&
3232
{ ac_try='test -s conftest$ac_exeext'
3233
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3236
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237
(exit $ac_status); }; }; then
1247
3238
ac_cv_search_gethostbyname="none required"
1249
echo "configure: failed program was:" >&5
1250
cat conftest.$ac_ext >&5
3240
echo "$as_me: failed program was:" >&5
3241
sed 's/^/| /' conftest.$ac_ext >&5
1253
test "$ac_cv_search_gethostbyname" = "no" && for i in nsl; do
1254
LIBS="-l$i $ac_func_search_save_LIBS"
1255
cat > conftest.$ac_ext <<EOF
1256
#line 1257 "configure"
1257
#include "confdefs.h"
3244
rm -f conftest.err conftest.$ac_objext \
3245
conftest$ac_exeext conftest.$ac_ext
3246
if test "$ac_cv_search_gethostbyname" = no; then
3247
for ac_lib in nsl; do
3248
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3249
cat >conftest.$ac_ext <<_ACEOF
3252
cat confdefs.h >>conftest.$ac_ext
3253
cat >>conftest.$ac_ext <<_ACEOF
3254
/* end confdefs.h. */
1258
3256
/* Override any gcc2 internal prototype to avoid an error. */
1259
3260
/* We use char because int might match the return type of a gcc2
1260
builtin and then its argument prototype would still apply. */
1261
char gethostbyname();
1267
if { (eval echo configure:1268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1269
ac_cv_search_gethostbyname="-l$i"
3261
builtin and then its argument prototype would still apply. */
3262
char gethostbyname ();
3271
rm -f conftest.$ac_objext conftest$ac_exeext
3272
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3273
(eval $ac_link) 2>conftest.er1
3275
grep -v '^ *+' conftest.er1 >conftest.err
3277
cat conftest.err >&5
3278
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279
(exit $ac_status); } &&
3280
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3281
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3284
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285
(exit $ac_status); }; } &&
3286
{ ac_try='test -s conftest$ac_exeext'
3287
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3290
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291
(exit $ac_status); }; }; then
3292
ac_cv_search_gethostbyname="-l$ac_lib"
1272
echo "configure: failed program was:" >&5
1273
cat conftest.$ac_ext >&5
1277
LIBS="$ac_func_search_save_LIBS"
3295
echo "$as_me: failed program was:" >&5
3296
sed 's/^/| /' conftest.$ac_ext >&5
1280
echo "$ac_t""$ac_cv_search_gethostbyname" 1>&6
1281
if test "$ac_cv_search_gethostbyname" != "no"; then
3299
rm -f conftest.err conftest.$ac_objext \
3300
conftest$ac_exeext conftest.$ac_ext
3303
LIBS=$ac_func_search_save_LIBS
3305
echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
3306
echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
3307
if test "$ac_cv_search_gethostbyname" != no; then
1282
3308
test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
1288
echo $ac_n "checking for library containing connect""... $ac_c" 1>&6
1289
echo "configure:1290: checking for library containing connect" >&5
1290
if eval "test \"`echo '$''{'ac_cv_search_connect'+set}'`\" = set"; then
1291
echo $ac_n "(cached) $ac_c" 1>&6
3312
echo "$as_me:$LINENO: checking for library containing connect" >&5
3313
echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6
3314
if test "${ac_cv_search_connect+set}" = set; then
3315
echo $ECHO_N "(cached) $ECHO_C" >&6
1293
ac_func_search_save_LIBS="$LIBS"
1294
ac_cv_search_connect="no"
1295
cat > conftest.$ac_ext <<EOF
1296
#line 1297 "configure"
1297
#include "confdefs.h"
3317
ac_func_search_save_LIBS=$LIBS
3318
ac_cv_search_connect=no
3319
cat >conftest.$ac_ext <<_ACEOF
3322
cat confdefs.h >>conftest.$ac_ext
3323
cat >>conftest.$ac_ext <<_ACEOF
3324
/* end confdefs.h. */
1298
3326
/* Override any gcc2 internal prototype to avoid an error. */
1299
3330
/* We use char because int might match the return type of a gcc2
1300
builtin and then its argument prototype would still apply. */
1307
if { (eval echo configure:1308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3331
builtin and then its argument prototype would still apply. */
3341
rm -f conftest.$ac_objext conftest$ac_exeext
3342
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3343
(eval $ac_link) 2>conftest.er1
3345
grep -v '^ *+' conftest.er1 >conftest.err
3347
cat conftest.err >&5
3348
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349
(exit $ac_status); } &&
3350
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3351
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3354
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355
(exit $ac_status); }; } &&
3356
{ ac_try='test -s conftest$ac_exeext'
3357
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3360
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361
(exit $ac_status); }; }; then
1309
3362
ac_cv_search_connect="none required"
1311
echo "configure: failed program was:" >&5
1312
cat conftest.$ac_ext >&5
3364
echo "$as_me: failed program was:" >&5
3365
sed 's/^/| /' conftest.$ac_ext >&5
1315
test "$ac_cv_search_connect" = "no" && for i in socket; do
1316
LIBS="-l$i $ac_func_search_save_LIBS"
1317
cat > conftest.$ac_ext <<EOF
1318
#line 1319 "configure"
1319
#include "confdefs.h"
3368
rm -f conftest.err conftest.$ac_objext \
3369
conftest$ac_exeext conftest.$ac_ext
3370
if test "$ac_cv_search_connect" = no; then
3371
for ac_lib in socket; do
3372
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3373
cat >conftest.$ac_ext <<_ACEOF
3376
cat confdefs.h >>conftest.$ac_ext
3377
cat >>conftest.$ac_ext <<_ACEOF
3378
/* end confdefs.h. */
1320
3380
/* Override any gcc2 internal prototype to avoid an error. */
1321
3384
/* We use char because int might match the return type of a gcc2
1322
builtin and then its argument prototype would still apply. */
1329
if { (eval echo configure:1330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1331
ac_cv_search_connect="-l$i"
3385
builtin and then its argument prototype would still apply. */
3395
rm -f conftest.$ac_objext conftest$ac_exeext
3396
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3397
(eval $ac_link) 2>conftest.er1
3399
grep -v '^ *+' conftest.er1 >conftest.err
3401
cat conftest.err >&5
3402
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403
(exit $ac_status); } &&
3404
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3405
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3408
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409
(exit $ac_status); }; } &&
3410
{ ac_try='test -s conftest$ac_exeext'
3411
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415
(exit $ac_status); }; }; then
3416
ac_cv_search_connect="-l$ac_lib"
1334
echo "configure: failed program was:" >&5
1335
cat conftest.$ac_ext >&5
1339
LIBS="$ac_func_search_save_LIBS"
3419
echo "$as_me: failed program was:" >&5
3420
sed 's/^/| /' conftest.$ac_ext >&5
1342
echo "$ac_t""$ac_cv_search_connect" 1>&6
1343
if test "$ac_cv_search_connect" != "no"; then
3423
rm -f conftest.err conftest.$ac_objext \
3424
conftest$ac_exeext conftest.$ac_ext
3427
LIBS=$ac_func_search_save_LIBS
3429
echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
3430
echo "${ECHO_T}$ac_cv_search_connect" >&6
3431
if test "$ac_cv_search_connect" != no; then
1344
3432
test "$ac_cv_search_connect" = "none required" || LIBS="$ac_cv_search_connect $LIBS"
1349
3436
SOCKETLIBS="$LIBS"
1351
3438
LIBS="$SAVE_LIBS"
1355
ac_safe=`echo "db2/db.h" | sed 'y%./+-%__p_%'`
1356
echo $ac_n "checking for db2/db.h""... $ac_c" 1>&6
1357
echo "configure:1358: checking for db2/db.h" >&5
1358
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1359
echo $ac_n "(cached) $ac_c" 1>&6
1361
cat > conftest.$ac_ext <<EOF
1362
#line 1363 "configure"
1363
#include "confdefs.h"
1366
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1367
{ (eval echo configure:1368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1368
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1369
if test -z "$ac_err"; then
1371
eval "ac_cv_header_$ac_safe=yes"
1374
echo "configure: failed program was:" >&5
1375
cat conftest.$ac_ext >&5
1377
eval "ac_cv_header_$ac_safe=no"
1381
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1382
echo "$ac_t""yes" 1>&6
1383
echo $ac_n "checking for db_open in -ldb2""... $ac_c" 1>&6
1384
echo "configure:1385: checking for db_open in -ldb2" >&5
1385
ac_lib_var=`echo db2'_'db_open | sed 'y%./+-%__p_%'`
1386
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1387
echo $ac_n "(cached) $ac_c" 1>&6
1389
ac_save_LIBS="$LIBS"
1391
cat > conftest.$ac_ext <<EOF
1392
#line 1393 "configure"
1393
#include "confdefs.h"
1394
/* Override any gcc2 internal prototype to avoid an error. */
1395
/* We use char because int might match the return type of a gcc2
1396
builtin and then its argument prototype would still apply. */
1403
if { (eval echo configure:1404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1405
eval "ac_cv_lib_$ac_lib_var=yes"
1407
echo "configure: failed program was:" >&5
1408
cat conftest.$ac_ext >&5
1410
eval "ac_cv_lib_$ac_lib_var=no"
1413
LIBS="$ac_save_LIBS"
1416
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1417
echo "$ac_t""yes" 1>&6
1418
cat >> confdefs.h <<\EOF
1423
echo "$ac_t""no" 1>&6
1427
echo "$ac_t""no" 1>&6
1432
echo $ac_n "checking system architecture""... $ac_c" 1>&6
1433
echo "configure:1434: checking system architecture" >&5
3446
echo "$as_me:$LINENO: checking for egrep" >&5
3447
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3448
if test "${ac_cv_prog_egrep+set}" = set; then
3449
echo $ECHO_N "(cached) $ECHO_C" >&6
3451
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3452
then ac_cv_prog_egrep='grep -E'
3453
else ac_cv_prog_egrep='egrep'
3456
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3457
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3458
EGREP=$ac_cv_prog_egrep
3461
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3462
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3463
if test "${ac_cv_header_stdc+set}" = set; then
3464
echo $ECHO_N "(cached) $ECHO_C" >&6
3466
cat >conftest.$ac_ext <<_ACEOF
3469
cat confdefs.h >>conftest.$ac_ext
3470
cat >>conftest.$ac_ext <<_ACEOF
3471
/* end confdefs.h. */
3485
rm -f conftest.$ac_objext
3486
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3487
(eval $ac_compile) 2>conftest.er1
3489
grep -v '^ *+' conftest.er1 >conftest.err
3491
cat conftest.err >&5
3492
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493
(exit $ac_status); } &&
3494
{ ac_try='test -z "$ac_c_werror_flag" || 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'
3501
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505
(exit $ac_status); }; }; then
3506
ac_cv_header_stdc=yes
3508
echo "$as_me: failed program was:" >&5
3509
sed 's/^/| /' conftest.$ac_ext >&5
3511
ac_cv_header_stdc=no
3513
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3515
if test $ac_cv_header_stdc = yes; then
3516
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3517
cat >conftest.$ac_ext <<_ACEOF
3520
cat confdefs.h >>conftest.$ac_ext
3521
cat >>conftest.$ac_ext <<_ACEOF
3522
/* end confdefs.h. */
3526
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3527
$EGREP "memchr" >/dev/null 2>&1; then
3530
ac_cv_header_stdc=no
3536
if test $ac_cv_header_stdc = yes; then
3537
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3538
cat >conftest.$ac_ext <<_ACEOF
3541
cat confdefs.h >>conftest.$ac_ext
3542
cat >>conftest.$ac_ext <<_ACEOF
3543
/* end confdefs.h. */
3547
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3548
$EGREP "free" >/dev/null 2>&1; then
3551
ac_cv_header_stdc=no
3557
if test $ac_cv_header_stdc = yes; then
3558
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3559
if test "$cross_compiling" = yes; then
3562
cat >conftest.$ac_ext <<_ACEOF
3565
cat confdefs.h >>conftest.$ac_ext
3566
cat >>conftest.$ac_ext <<_ACEOF
3567
/* end confdefs.h. */
3569
#if ((' ' & 0x0FF) == 0x020)
3570
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3571
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3573
# define ISLOWER(c) \
3574
(('a' <= (c) && (c) <= 'i') \
3575
|| ('j' <= (c) && (c) <= 'r') \
3576
|| ('s' <= (c) && (c) <= 'z'))
3577
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3580
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3585
for (i = 0; i < 256; i++)
3586
if (XOR (islower (i), ISLOWER (i))
3587
|| toupper (i) != TOUPPER (i))
3592
rm -f conftest$ac_exeext
3593
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3594
(eval $ac_link) 2>&5
3596
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3598
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3601
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602
(exit $ac_status); }; }; then
3605
echo "$as_me: program exited with status $ac_status" >&5
3606
echo "$as_me: failed program was:" >&5
3607
sed 's/^/| /' conftest.$ac_ext >&5
3610
ac_cv_header_stdc=no
3612
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3616
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3617
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3618
if test $ac_cv_header_stdc = yes; then
3620
cat >>confdefs.h <<\_ACEOF
3621
#define STDC_HEADERS 1
3626
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3636
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3637
inttypes.h stdint.h unistd.h
3639
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3640
echo "$as_me:$LINENO: checking for $ac_header" >&5
3641
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3642
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3643
echo $ECHO_N "(cached) $ECHO_C" >&6
3645
cat >conftest.$ac_ext <<_ACEOF
3648
cat confdefs.h >>conftest.$ac_ext
3649
cat >>conftest.$ac_ext <<_ACEOF
3650
/* end confdefs.h. */
3651
$ac_includes_default
3653
#include <$ac_header>
3655
rm -f conftest.$ac_objext
3656
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3657
(eval $ac_compile) 2>conftest.er1
3659
grep -v '^ *+' conftest.er1 >conftest.err
3661
cat conftest.err >&5
3662
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663
(exit $ac_status); } &&
3664
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3665
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3668
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669
(exit $ac_status); }; } &&
3670
{ ac_try='test -s conftest.$ac_objext'
3671
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3674
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675
(exit $ac_status); }; }; then
3676
eval "$as_ac_Header=yes"
3678
echo "$as_me: failed program was:" >&5
3679
sed 's/^/| /' conftest.$ac_ext >&5
3681
eval "$as_ac_Header=no"
3683
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3685
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3686
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3687
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3688
cat >>confdefs.h <<_ACEOF
3689
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3697
if test "${ac_cv_header_db_h+set}" = set; then
3698
echo "$as_me:$LINENO: checking for db.h" >&5
3699
echo $ECHO_N "checking for db.h... $ECHO_C" >&6
3700
if test "${ac_cv_header_db_h+set}" = set; then
3701
echo $ECHO_N "(cached) $ECHO_C" >&6
3703
echo "$as_me:$LINENO: result: $ac_cv_header_db_h" >&5
3704
echo "${ECHO_T}$ac_cv_header_db_h" >&6
3706
# Is the header compilable?
3707
echo "$as_me:$LINENO: checking db.h usability" >&5
3708
echo $ECHO_N "checking db.h usability... $ECHO_C" >&6
3709
cat >conftest.$ac_ext <<_ACEOF
3712
cat confdefs.h >>conftest.$ac_ext
3713
cat >>conftest.$ac_ext <<_ACEOF
3714
/* end confdefs.h. */
3715
$ac_includes_default
3718
rm -f conftest.$ac_objext
3719
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3720
(eval $ac_compile) 2>conftest.er1
3722
grep -v '^ *+' conftest.er1 >conftest.err
3724
cat conftest.err >&5
3725
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726
(exit $ac_status); } &&
3727
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3728
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732
(exit $ac_status); }; } &&
3733
{ ac_try='test -s conftest.$ac_objext'
3734
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738
(exit $ac_status); }; }; then
3739
ac_header_compiler=yes
3741
echo "$as_me: failed program was:" >&5
3742
sed 's/^/| /' conftest.$ac_ext >&5
3744
ac_header_compiler=no
3746
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3747
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3748
echo "${ECHO_T}$ac_header_compiler" >&6
3750
# Is the header present?
3751
echo "$as_me:$LINENO: checking db.h presence" >&5
3752
echo $ECHO_N "checking db.h presence... $ECHO_C" >&6
3753
cat >conftest.$ac_ext <<_ACEOF
3756
cat confdefs.h >>conftest.$ac_ext
3757
cat >>conftest.$ac_ext <<_ACEOF
3758
/* end confdefs.h. */
3761
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3762
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3764
grep -v '^ *+' conftest.er1 >conftest.err
3766
cat conftest.err >&5
3767
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768
(exit $ac_status); } >/dev/null; then
3769
if test -s conftest.err; then
3770
ac_cpp_err=$ac_c_preproc_warn_flag
3771
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3778
if test -z "$ac_cpp_err"; then
3779
ac_header_preproc=yes
3781
echo "$as_me: failed program was:" >&5
3782
sed 's/^/| /' conftest.$ac_ext >&5
3784
ac_header_preproc=no
3786
rm -f conftest.err conftest.$ac_ext
3787
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3788
echo "${ECHO_T}$ac_header_preproc" >&6
3790
# So? What about this header?
3791
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3793
{ echo "$as_me:$LINENO: WARNING: db.h: accepted by the compiler, rejected by the preprocessor!" >&5
3794
echo "$as_me: WARNING: db.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3795
{ echo "$as_me:$LINENO: WARNING: db.h: proceeding with the compiler's result" >&5
3796
echo "$as_me: WARNING: db.h: proceeding with the compiler's result" >&2;}
3797
ac_header_preproc=yes
3800
{ echo "$as_me:$LINENO: WARNING: db.h: present but cannot be compiled" >&5
3801
echo "$as_me: WARNING: db.h: present but cannot be compiled" >&2;}
3802
{ echo "$as_me:$LINENO: WARNING: db.h: check for missing prerequisite headers?" >&5
3803
echo "$as_me: WARNING: db.h: check for missing prerequisite headers?" >&2;}
3804
{ echo "$as_me:$LINENO: WARNING: db.h: see the Autoconf documentation" >&5
3805
echo "$as_me: WARNING: db.h: see the Autoconf documentation" >&2;}
3806
{ echo "$as_me:$LINENO: WARNING: db.h: section \"Present But Cannot Be Compiled\"" >&5
3807
echo "$as_me: WARNING: db.h: section \"Present But Cannot Be Compiled\"" >&2;}
3808
{ echo "$as_me:$LINENO: WARNING: db.h: proceeding with the preprocessor's result" >&5
3809
echo "$as_me: WARNING: db.h: proceeding with the preprocessor's result" >&2;}
3810
{ echo "$as_me:$LINENO: WARNING: db.h: in the future, the compiler will take precedence" >&5
3811
echo "$as_me: WARNING: db.h: in the future, the compiler will take precedence" >&2;}
3814
## ------------------------------------------ ##
3815
## Report this to the AC_PACKAGE_NAME lists. ##
3816
## ------------------------------------------ ##
3819
sed "s/^/$as_me: WARNING: /" >&2
3822
echo "$as_me:$LINENO: checking for db.h" >&5
3823
echo $ECHO_N "checking for db.h... $ECHO_C" >&6
3824
if test "${ac_cv_header_db_h+set}" = set; then
3825
echo $ECHO_N "(cached) $ECHO_C" >&6
3827
ac_cv_header_db_h=$ac_header_preproc
3829
echo "$as_me:$LINENO: result: $ac_cv_header_db_h" >&5
3830
echo "${ECHO_T}$ac_cv_header_db_h" >&6
3833
if test $ac_cv_header_db_h = yes; then
3834
echo "$as_me:$LINENO: checking if we can link against BerkeleyDB" >&5
3835
echo $ECHO_N "checking if we can link against BerkeleyDB... $ECHO_C" >&6
3836
cat >conftest.$ac_ext <<_ACEOF
3839
cat confdefs.h >>conftest.$ac_ext
3840
cat >>conftest.$ac_ext <<_ACEOF
3841
/* end confdefs.h. */
3846
int r, s, t; db_version(&r, &s, &t);
3852
rm -f conftest.$ac_objext conftest$ac_exeext
3853
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3854
(eval $ac_link) 2>conftest.er1
3856
grep -v '^ *+' conftest.er1 >conftest.err
3858
cat conftest.err >&5
3859
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860
(exit $ac_status); } &&
3861
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3862
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866
(exit $ac_status); }; } &&
3867
{ ac_try='test -s conftest$ac_exeext'
3868
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3871
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872
(exit $ac_status); }; }; then
3873
cat >>confdefs.h <<\_ACEOF
3878
echo "$as_me:$LINENO: result: yes" >&5
3879
echo "${ECHO_T}yes" >&6
3881
echo "$as_me: failed program was:" >&5
3882
sed 's/^/| /' conftest.$ac_ext >&5
3885
echo "$as_me:$LINENO: result: no" >&5
3886
echo "${ECHO_T}no" >&6
3889
rm -f conftest.err conftest.$ac_objext \
3890
conftest$ac_exeext conftest.$ac_ext
3900
echo "$as_me:$LINENO: checking system architecture" >&5
3901
echo $ECHO_N "checking system architecture... $ECHO_C" >&6
1434
3902
archset="`awk \" ! /^#|^\\\$/ { if(match(\\\"$target_cpu\\\",\\\"^\\\"\\\$1\\\"\\\$\\\")) {print \\\$2; exit}}\" $srcdir/buildlib/archtable`"
1435
3903
if test "x$archset" = "x"; then
1436
{ echo "configure: error: failed: use --host=" 1>&2; exit 1; }
3904
{ { echo "$as_me:$LINENO: error: failed: use --host= or check buildlib/archtable" >&5
3905
echo "$as_me: error: failed: use --host= or check buildlib/archtable" >&2;}
3906
{ (exit 1); exit 1; }; }
1438
echo "$ac_t""$archset" 1>&6
1439
cat >> confdefs.h <<EOF
3908
echo "$as_me:$LINENO: result: $archset" >&5
3909
echo "${ECHO_T}$archset" >&6
3910
cat >>confdefs.h <<_ACEOF
1440
3911
#define COMMON_CPU "$archset"
1444
echo $ac_n "checking system OS""... $ac_c" 1>&6
1445
echo "configure:1446: checking system OS" >&5
3915
echo "$as_me:$LINENO: checking system OS" >&5
3916
echo $ECHO_N "checking system OS... $ECHO_C" >&6
1446
3917
osset="`awk \" ! /^#|^\\\$/ {if (match(\\\"$target_vendor-$target_os\\\",\\\$1)) {print \\\$2; exit}}\" $srcdir/buildlib/ostable`"
1447
echo "$ac_t""$osset" 1>&6
1448
cat >> confdefs.h <<EOF
3918
echo "$as_me:$LINENO: result: $osset" >&5
3919
echo "${ECHO_T}$osset" >&6
3920
cat >>confdefs.h <<_ACEOF
1449
3921
#define COMMON_OS "$osset"
1453
echo $ac_n "checking for C99 integer types""... $ac_c" 1>&6
1454
echo "configure:1455: checking for C99 integer types" >&5
1455
if eval "test \"`echo '$''{'c9x_ints'+set}'`\" = set"; then
1456
echo $ac_n "(cached) $ac_c" 1>&6
3925
echo "$as_me:$LINENO: checking for C99 integer types" >&5
3926
echo $ECHO_N "checking for C99 integer types... $ECHO_C" >&6
3927
if test "${c9x_ints+set}" = set; then
3928
echo $ECHO_N "(cached) $ECHO_C" >&6
1459
cat > conftest.$ac_ext <<EOF
1460
#line 1461 "configure"
1461
#include "confdefs.h"
3931
cat >conftest.$ac_ext <<_ACEOF
3934
cat confdefs.h >>conftest.$ac_ext
3935
cat >>conftest.$ac_ext <<_ACEOF
3936
/* end confdefs.h. */
1462
3937
#include <inttypes.h>
1464
3941
uint8_t Foo1;uint16_t Foo2;uint32_t Foo3;
1467
if { (eval echo configure:1468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3946
rm -f conftest.$ac_objext
3947
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3948
(eval $ac_compile) 2>conftest.er1
3950
grep -v '^ *+' conftest.er1 >conftest.err
3952
cat conftest.err >&5
3953
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954
(exit $ac_status); } &&
3955
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3956
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3959
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960
(exit $ac_status); }; } &&
3961
{ ac_try='test -s conftest.$ac_objext'
3962
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3965
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966
(exit $ac_status); }; }; then
1471
echo "configure: failed program was:" >&5
1472
cat conftest.$ac_ext >&5
1479
echo "$ac_t""$c9x_ints" 1>&6
1481
echo $ac_n "checking for statvfs""... $ac_c" 1>&6
1482
echo "configure:1483: checking for statvfs" >&5
1483
if eval "test \"`echo '$''{'ac_cv_func_statvfs'+set}'`\" = set"; then
1484
echo $ac_n "(cached) $ac_c" 1>&6
3969
echo "$as_me: failed program was:" >&5
3970
sed 's/^/| /' conftest.$ac_ext >&5
3974
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3976
echo "$as_me:$LINENO: result: $c9x_ints" >&5
3977
echo "${ECHO_T}$c9x_ints" >&6
3979
echo "$as_me:$LINENO: checking for statvfs" >&5
3980
echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
3981
if test "${ac_cv_func_statvfs+set}" = set; then
3982
echo $ECHO_N "(cached) $ECHO_C" >&6
1486
cat > conftest.$ac_ext <<EOF
1487
#line 1488 "configure"
1488
#include "confdefs.h"
3984
cat >conftest.$ac_ext <<_ACEOF
3987
cat confdefs.h >>conftest.$ac_ext
3988
cat >>conftest.$ac_ext <<_ACEOF
3989
/* end confdefs.h. */
3990
/* Define statvfs to an innocuous variant, in case <limits.h> declares statvfs.
3991
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3992
#define statvfs innocuous_statvfs
1489
3994
/* System header to define __stub macros and hopefully few prototypes,
1490
which can conflict with char statvfs(); below. */
3995
which can conflict with char statvfs (); below.
3996
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3997
<limits.h> exists even on freestanding compilers. */
4000
# include <limits.h>
4002
# include <assert.h>
1492
4007
/* Override any gcc2 internal prototype to avoid an error. */
1493
4012
/* We use char because int might match the return type of a gcc2
1494
builtin and then its argument prototype would still apply. */
4013
builtin and then its argument prototype would still apply. */
1499
4015
/* The GNU C library defines this for functions which it implements
1500
4016
to always fail with ENOSYS. Some functions are actually named
1501
4017
something starting with __ and the normal name is an alias. */
1502
4018
#if defined (__stub_statvfs) || defined (__stub___statvfs)
4021
char (*f) () = statvfs;
1510
if { (eval echo configure:1511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1512
eval "ac_cv_func_statvfs=yes"
4030
return f != statvfs;
4035
rm -f conftest.$ac_objext conftest$ac_exeext
4036
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4037
(eval $ac_link) 2>conftest.er1
4039
grep -v '^ *+' conftest.er1 >conftest.err
4041
cat conftest.err >&5
4042
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043
(exit $ac_status); } &&
4044
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4045
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4048
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049
(exit $ac_status); }; } &&
4050
{ ac_try='test -s conftest$ac_exeext'
4051
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055
(exit $ac_status); }; }; then
4056
ac_cv_func_statvfs=yes
1514
echo "configure: failed program was:" >&5
1515
cat conftest.$ac_ext >&5
1517
eval "ac_cv_func_statvfs=no"
4058
echo "$as_me: failed program was:" >&5
4059
sed 's/^/| /' conftest.$ac_ext >&5
1522
if eval "test \"`echo '$ac_cv_func_'statvfs`\" = yes"; then
1523
echo "$ac_t""yes" 1>&6
4061
ac_cv_func_statvfs=no
4063
rm -f conftest.err conftest.$ac_objext \
4064
conftest$ac_exeext conftest.$ac_ext
4066
echo "$as_me:$LINENO: result: $ac_cv_func_statvfs" >&5
4067
echo "${ECHO_T}$ac_cv_func_statvfs" >&6
4068
if test $ac_cv_func_statvfs = yes; then
1524
4069
HAVE_STATVFS=yes
1526
echo "$ac_t""no" 1>&6
1531
4074
if test x"$HAVE_STATVFS" != x"yes"; then
1532
cat > conftest.$ac_ext <<EOF
1533
#line 1534 "configure"
1534
#include "confdefs.h"
4075
cat >conftest.$ac_ext <<_ACEOF
4078
cat confdefs.h >>conftest.$ac_ext
4079
cat >>conftest.$ac_ext <<_ACEOF
4080
/* end confdefs.h. */
1535
4081
#include <sys/vfs.h>
1537
4084
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1538
egrep "statfs" >/dev/null 2>&1; then
1540
cat >> confdefs.h <<\EOF
4085
$EGREP "statfs" >/dev/null 2>&1; then
4086
cat >>confdefs.h <<\_ACEOF
1541
4087
#define HAVE_VFS_H 1
1547
cat > conftest.$ac_ext <<EOF
1548
#line 1549 "configure"
1549
#include "confdefs.h"
4092
cat >conftest.$ac_ext <<_ACEOF
4095
cat confdefs.h >>conftest.$ac_ext
4096
cat >>conftest.$ac_ext <<_ACEOF
4097
/* end confdefs.h. */
1550
4098
#include <sys/mount.h>
1552
4101
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1553
egrep "statfs" >/dev/null 2>&1; then
1555
cat >> confdefs.h <<\EOF
4102
$EGREP "statfs" >/dev/null 2>&1; then
4103
cat >>confdefs.h <<\_ACEOF
1556
4104
#define HAVE_MOUNT_H 1
1561
{ echo "configure: error: failed: Need statvfs" 1>&2; exit 1; }
4108
{ { echo "$as_me:$LINENO: error: failed: Need statvfs" >&5
4109
echo "$as_me: error: failed: Need statvfs" >&2;}
4110
{ (exit 1); exit 1; }; }
4120
echo "$as_me:$LINENO: checking for timegm" >&5
4121
echo $ECHO_N "checking for timegm... $ECHO_C" >&6
4122
if test "${ac_cv_func_timegm+set}" = set; then
4123
echo $ECHO_N "(cached) $ECHO_C" >&6
4125
cat >conftest.$ac_ext <<_ACEOF
4128
cat confdefs.h >>conftest.$ac_ext
4129
cat >>conftest.$ac_ext <<_ACEOF
4130
/* end confdefs.h. */
4131
/* Define timegm to an innocuous variant, in case <limits.h> declares timegm.
4132
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4133
#define timegm innocuous_timegm
4135
/* System header to define __stub macros and hopefully few prototypes,
4136
which can conflict with char timegm (); below.
4137
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4138
<limits.h> exists even on freestanding compilers. */
4141
# include <limits.h>
4143
# include <assert.h>
4148
/* Override any gcc2 internal prototype to avoid an error. */
4153
/* We use char because int might match the return type of a gcc2
4154
builtin and then its argument prototype would still apply. */
4156
/* The GNU C library defines this for functions which it implements
4157
to always fail with ENOSYS. Some functions are actually named
4158
something starting with __ and the normal name is an alias. */
4159
#if defined (__stub_timegm) || defined (__stub___timegm)
4162
char (*f) () = timegm;
4176
rm -f conftest.$ac_objext conftest$ac_exeext
4177
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4178
(eval $ac_link) 2>conftest.er1
4180
grep -v '^ *+' conftest.er1 >conftest.err
4182
cat conftest.err >&5
4183
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184
(exit $ac_status); } &&
4185
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4186
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190
(exit $ac_status); }; } &&
4191
{ ac_try='test -s conftest$ac_exeext'
4192
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196
(exit $ac_status); }; }; then
4197
ac_cv_func_timegm=yes
4199
echo "$as_me: failed program was:" >&5
4200
sed 's/^/| /' conftest.$ac_ext >&5
4202
ac_cv_func_timegm=no
4204
rm -f conftest.err conftest.$ac_objext \
4205
conftest$ac_exeext conftest.$ac_ext
4207
echo "$as_me:$LINENO: result: $ac_cv_func_timegm" >&5
4208
echo "${ECHO_T}$ac_cv_func_timegm" >&6
4209
if test $ac_cv_func_timegm = yes; then
4210
cat >>confdefs.h <<\_ACEOF
4211
#define HAVE_TIMEGM 1
1572
4219
archline="`awk \" ! /^#|^\\\$/ {if (match(\\\"$archset\\\",\\\$1)) {print; exit}}\" $srcdir/buildlib/sizetable | cut -f 2- -d ' '`"
1573
4220
if test "x$archline" != "x"; then
1576
4223
if test "$1" = "little"; then
1577
4224
ac_cv_c_bigendian=no
1654
4419
exit (u.c[sizeof (long) - 1] == 1);
1657
if { (eval echo configure:1658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4422
rm -f conftest$ac_exeext
4423
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4424
(eval $ac_link) 2>&5
4426
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4428
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432
(exit $ac_status); }; }; then
1659
4433
ac_cv_c_bigendian=no
1661
echo "configure: failed program was:" >&5
1662
cat conftest.$ac_ext >&5
1664
ac_cv_c_bigendian=yes
1672
echo "$ac_t""$ac_cv_c_bigendian" 1>&6
1673
if test $ac_cv_c_bigendian = yes; then
1674
cat >> confdefs.h <<\EOF
4435
echo "$as_me: program exited with status $ac_status" >&5
4436
echo "$as_me: failed program was:" >&5
4437
sed 's/^/| /' conftest.$ac_ext >&5
4440
ac_cv_c_bigendian=yes
4442
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4445
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4447
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4448
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4449
case $ac_cv_c_bigendian in
4452
cat >>confdefs.h <<\_ACEOF
1675
4453
#define WORDS_BIGENDIAN 1
4459
{ { echo "$as_me:$LINENO: error: unknown endianness
4460
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4461
echo "$as_me: error: unknown endianness
4462
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4463
{ (exit 1); exit 1; }; } ;;
1682
4468
if test x"$c9x_ints" = x"no"; then
1683
echo $ac_n "checking size of char""... $ac_c" 1>&6
1684
echo "configure:1685: checking size of char" >&5
1685
if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
1686
echo $ac_n "(cached) $ac_c" 1>&6
1688
if test "$cross_compiling" = yes; then
1689
ac_cv_sizeof_char=$size_char
1691
cat > conftest.$ac_ext <<EOF
1692
#line 1693 "configure"
1693
#include "confdefs.h"
4469
echo "$as_me:$LINENO: checking for char" >&5
4470
echo $ECHO_N "checking for char... $ECHO_C" >&6
4471
if test "${ac_cv_type_char+set}" = set; then
4472
echo $ECHO_N "(cached) $ECHO_C" >&6
4474
cat >conftest.$ac_ext <<_ACEOF
4477
cat confdefs.h >>conftest.$ac_ext
4478
cat >>conftest.$ac_ext <<_ACEOF
4479
/* end confdefs.h. */
4480
$ac_includes_default
4492
rm -f conftest.$ac_objext
4493
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4494
(eval $ac_compile) 2>conftest.er1
4496
grep -v '^ *+' conftest.er1 >conftest.err
4498
cat conftest.err >&5
4499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500
(exit $ac_status); } &&
4501
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4502
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4505
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506
(exit $ac_status); }; } &&
4507
{ ac_try='test -s conftest.$ac_objext'
4508
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4511
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512
(exit $ac_status); }; }; then
4515
echo "$as_me: failed program was:" >&5
4516
sed 's/^/| /' conftest.$ac_ext >&5
4520
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4522
echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
4523
echo "${ECHO_T}$ac_cv_type_char" >&6
4525
echo "$as_me:$LINENO: checking size of char" >&5
4526
echo $ECHO_N "checking size of char... $ECHO_C" >&6
4527
if test "${ac_cv_sizeof_char+set}" = set; then
4528
echo $ECHO_N "(cached) $ECHO_C" >&6
4530
if test "$ac_cv_type_char" = yes; then
4531
# The cast to unsigned long works around a bug in the HP C Compiler
4532
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4533
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4534
# This bug is HP SR number 8606223364.
4535
if test "$cross_compiling" = yes; then
4536
# Depending upon the size, compute the lo and hi bounds.
4537
cat >conftest.$ac_ext <<_ACEOF
4540
cat confdefs.h >>conftest.$ac_ext
4541
cat >>conftest.$ac_ext <<_ACEOF
4542
/* end confdefs.h. */
4543
$ac_includes_default
4547
static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
4554
rm -f conftest.$ac_objext
4555
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4556
(eval $ac_compile) 2>conftest.er1
4558
grep -v '^ *+' conftest.er1 >conftest.err
4560
cat conftest.err >&5
4561
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562
(exit $ac_status); } &&
4563
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4564
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4567
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568
(exit $ac_status); }; } &&
4569
{ ac_try='test -s conftest.$ac_objext'
4570
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4573
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574
(exit $ac_status); }; }; then
4577
cat >conftest.$ac_ext <<_ACEOF
4580
cat confdefs.h >>conftest.$ac_ext
4581
cat >>conftest.$ac_ext <<_ACEOF
4582
/* end confdefs.h. */
4583
$ac_includes_default
4587
static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
4594
rm -f conftest.$ac_objext
4595
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4596
(eval $ac_compile) 2>conftest.er1
4598
grep -v '^ *+' conftest.er1 >conftest.err
4600
cat conftest.err >&5
4601
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602
(exit $ac_status); } &&
4603
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4604
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608
(exit $ac_status); }; } &&
4609
{ ac_try='test -s conftest.$ac_objext'
4610
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614
(exit $ac_status); }; }; then
4615
ac_hi=$ac_mid; break
4617
echo "$as_me: failed program was:" >&5
4618
sed 's/^/| /' conftest.$ac_ext >&5
4620
ac_lo=`expr $ac_mid + 1`
4621
if test $ac_lo -le $ac_mid; then
4625
ac_mid=`expr 2 '*' $ac_mid + 1`
4627
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4630
echo "$as_me: failed program was:" >&5
4631
sed 's/^/| /' conftest.$ac_ext >&5
4633
cat >conftest.$ac_ext <<_ACEOF
4636
cat confdefs.h >>conftest.$ac_ext
4637
cat >>conftest.$ac_ext <<_ACEOF
4638
/* end confdefs.h. */
4639
$ac_includes_default
4643
static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
4650
rm -f conftest.$ac_objext
4651
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4652
(eval $ac_compile) 2>conftest.er1
4654
grep -v '^ *+' conftest.er1 >conftest.err
4656
cat conftest.err >&5
4657
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658
(exit $ac_status); } &&
4659
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4660
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4663
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664
(exit $ac_status); }; } &&
4665
{ ac_try='test -s conftest.$ac_objext'
4666
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4669
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670
(exit $ac_status); }; }; then
4673
cat >conftest.$ac_ext <<_ACEOF
4676
cat confdefs.h >>conftest.$ac_ext
4677
cat >>conftest.$ac_ext <<_ACEOF
4678
/* end confdefs.h. */
4679
$ac_includes_default
4683
static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
4690
rm -f conftest.$ac_objext
4691
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4692
(eval $ac_compile) 2>conftest.er1
4694
grep -v '^ *+' conftest.er1 >conftest.err
4696
cat conftest.err >&5
4697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698
(exit $ac_status); } &&
4699
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4700
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4703
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704
(exit $ac_status); }; } &&
4705
{ ac_try='test -s conftest.$ac_objext'
4706
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4709
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710
(exit $ac_status); }; }; then
4711
ac_lo=$ac_mid; break
4713
echo "$as_me: failed program was:" >&5
4714
sed 's/^/| /' conftest.$ac_ext >&5
4716
ac_hi=`expr '(' $ac_mid ')' - 1`
4717
if test $ac_mid -le $ac_hi; then
4721
ac_mid=`expr 2 '*' $ac_mid`
4723
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4726
echo "$as_me: failed program was:" >&5
4727
sed 's/^/| /' conftest.$ac_ext >&5
4731
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4733
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4734
# Binary search between lo and hi bounds.
4735
while test "x$ac_lo" != "x$ac_hi"; do
4736
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4737
cat >conftest.$ac_ext <<_ACEOF
4740
cat confdefs.h >>conftest.$ac_ext
4741
cat >>conftest.$ac_ext <<_ACEOF
4742
/* end confdefs.h. */
4743
$ac_includes_default
4747
static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
4754
rm -f conftest.$ac_objext
4755
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4756
(eval $ac_compile) 2>conftest.er1
4758
grep -v '^ *+' conftest.er1 >conftest.err
4760
cat conftest.err >&5
4761
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762
(exit $ac_status); } &&
4763
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4764
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768
(exit $ac_status); }; } &&
4769
{ ac_try='test -s conftest.$ac_objext'
4770
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774
(exit $ac_status); }; }; then
4777
echo "$as_me: failed program was:" >&5
4778
sed 's/^/| /' conftest.$ac_ext >&5
4780
ac_lo=`expr '(' $ac_mid ')' + 1`
4782
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4785
?*) ac_cv_sizeof_char=$ac_lo;;
4786
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
4787
See \`config.log' for more details." >&5
4788
echo "$as_me: error: cannot compute sizeof (char), 77
4789
See \`config.log' for more details." >&2;}
4790
{ (exit 1); exit 1; }; } ;;
4793
if test "$cross_compiling" = yes; then
4794
{ { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4795
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4796
{ (exit 1); exit 1; }; }
4798
cat >conftest.$ac_ext <<_ACEOF
4801
cat confdefs.h >>conftest.$ac_ext
4802
cat >>conftest.$ac_ext <<_ACEOF
4803
/* end confdefs.h. */
4804
$ac_includes_default
4805
long longval () { return (long) (sizeof (char)); }
4806
unsigned long ulongval () { return (long) (sizeof (char)); }
1694
4807
#include <stdio.h>
1695
#include <sys/types.h>
1698
FILE *f=fopen("conftestval", "w");
1700
fprintf(f, "%d\n", sizeof(char));
4813
FILE *f = fopen ("conftest.val", "w");
4816
if (((long) (sizeof (char))) < 0)
4818
long i = longval ();
4819
if (i != ((long) (sizeof (char))))
4821
fprintf (f, "%ld\n", i);
4825
unsigned long i = ulongval ();
4826
if (i != ((long) (sizeof (char))))
4828
fprintf (f, "%lu\n", i);
4830
exit (ferror (f) || fclose (f) != 0);
1704
if { (eval echo configure:1705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1706
ac_cv_sizeof_char=`cat conftestval`
1708
echo "configure: failed program was:" >&5
1709
cat conftest.$ac_ext >&5
4836
rm -f conftest$ac_exeext
4837
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4838
(eval $ac_link) 2>&5
4840
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4842
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846
(exit $ac_status); }; }; then
4847
ac_cv_sizeof_char=`cat conftest.val`
4849
echo "$as_me: program exited with status $ac_status" >&5
4850
echo "$as_me: failed program was:" >&5
4851
sed 's/^/| /' conftest.$ac_ext >&5
4854
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
4855
See \`config.log' for more details." >&5
4856
echo "$as_me: error: cannot compute sizeof (char), 77
4857
See \`config.log' for more details." >&2;}
4858
{ (exit 1); exit 1; }; }
4860
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1711
4865
ac_cv_sizeof_char=0
1717
echo "$ac_t""$ac_cv_sizeof_char" 1>&6
1718
cat >> confdefs.h <<EOF
4868
echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
4869
echo "${ECHO_T}$ac_cv_sizeof_char" >&6
4870
cat >>confdefs.h <<_ACEOF
1719
4871
#define SIZEOF_CHAR $ac_cv_sizeof_char
1723
echo $ac_n "checking size of int""... $ac_c" 1>&6
1724
echo "configure:1725: checking size of int" >&5
1725
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
1726
echo $ac_n "(cached) $ac_c" 1>&6
1728
if test "$cross_compiling" = yes; then
1729
ac_cv_sizeof_int=$size_int
1731
cat > conftest.$ac_ext <<EOF
1732
#line 1733 "configure"
1733
#include "confdefs.h"
4875
echo "$as_me:$LINENO: checking for int" >&5
4876
echo $ECHO_N "checking for int... $ECHO_C" >&6
4877
if test "${ac_cv_type_int+set}" = set; then
4878
echo $ECHO_N "(cached) $ECHO_C" >&6
4880
cat >conftest.$ac_ext <<_ACEOF
4883
cat confdefs.h >>conftest.$ac_ext
4884
cat >>conftest.$ac_ext <<_ACEOF
4885
/* end confdefs.h. */
4886
$ac_includes_default
4898
rm -f conftest.$ac_objext
4899
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4900
(eval $ac_compile) 2>conftest.er1
4902
grep -v '^ *+' conftest.er1 >conftest.err
4904
cat conftest.err >&5
4905
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906
(exit $ac_status); } &&
4907
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4908
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4911
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912
(exit $ac_status); }; } &&
4913
{ ac_try='test -s conftest.$ac_objext'
4914
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4917
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918
(exit $ac_status); }; }; then
4921
echo "$as_me: failed program was:" >&5
4922
sed 's/^/| /' conftest.$ac_ext >&5
4926
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4928
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4929
echo "${ECHO_T}$ac_cv_type_int" >&6
4931
echo "$as_me:$LINENO: checking size of int" >&5
4932
echo $ECHO_N "checking size of int... $ECHO_C" >&6
4933
if test "${ac_cv_sizeof_int+set}" = set; then
4934
echo $ECHO_N "(cached) $ECHO_C" >&6
4936
if test "$ac_cv_type_int" = yes; then
4937
# The cast to unsigned long works around a bug in the HP C Compiler
4938
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4939
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4940
# This bug is HP SR number 8606223364.
4941
if test "$cross_compiling" = yes; then
4942
# Depending upon the size, compute the lo and hi bounds.
4943
cat >conftest.$ac_ext <<_ACEOF
4946
cat confdefs.h >>conftest.$ac_ext
4947
cat >>conftest.$ac_ext <<_ACEOF
4948
/* end confdefs.h. */
4949
$ac_includes_default
4953
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4960
rm -f conftest.$ac_objext
4961
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4962
(eval $ac_compile) 2>conftest.er1
4964
grep -v '^ *+' conftest.er1 >conftest.err
4966
cat conftest.err >&5
4967
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968
(exit $ac_status); } &&
4969
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4970
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4973
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4974
(exit $ac_status); }; } &&
4975
{ ac_try='test -s conftest.$ac_objext'
4976
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4979
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980
(exit $ac_status); }; }; then
4983
cat >conftest.$ac_ext <<_ACEOF
4986
cat confdefs.h >>conftest.$ac_ext
4987
cat >>conftest.$ac_ext <<_ACEOF
4988
/* end confdefs.h. */
4989
$ac_includes_default
4993
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5000
rm -f conftest.$ac_objext
5001
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5002
(eval $ac_compile) 2>conftest.er1
5004
grep -v '^ *+' conftest.er1 >conftest.err
5006
cat conftest.err >&5
5007
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008
(exit $ac_status); } &&
5009
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5010
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5013
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014
(exit $ac_status); }; } &&
5015
{ ac_try='test -s conftest.$ac_objext'
5016
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5019
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020
(exit $ac_status); }; }; then
5021
ac_hi=$ac_mid; break
5023
echo "$as_me: failed program was:" >&5
5024
sed 's/^/| /' conftest.$ac_ext >&5
5026
ac_lo=`expr $ac_mid + 1`
5027
if test $ac_lo -le $ac_mid; then
5031
ac_mid=`expr 2 '*' $ac_mid + 1`
5033
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5036
echo "$as_me: failed program was:" >&5
5037
sed 's/^/| /' conftest.$ac_ext >&5
5039
cat >conftest.$ac_ext <<_ACEOF
5042
cat confdefs.h >>conftest.$ac_ext
5043
cat >>conftest.$ac_ext <<_ACEOF
5044
/* end confdefs.h. */
5045
$ac_includes_default
5049
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
5056
rm -f conftest.$ac_objext
5057
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5058
(eval $ac_compile) 2>conftest.er1
5060
grep -v '^ *+' conftest.er1 >conftest.err
5062
cat conftest.err >&5
5063
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064
(exit $ac_status); } &&
5065
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5066
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5069
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070
(exit $ac_status); }; } &&
5071
{ ac_try='test -s conftest.$ac_objext'
5072
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5075
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076
(exit $ac_status); }; }; then
5079
cat >conftest.$ac_ext <<_ACEOF
5082
cat confdefs.h >>conftest.$ac_ext
5083
cat >>conftest.$ac_ext <<_ACEOF
5084
/* end confdefs.h. */
5085
$ac_includes_default
5089
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
5096
rm -f conftest.$ac_objext
5097
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5098
(eval $ac_compile) 2>conftest.er1
5100
grep -v '^ *+' conftest.er1 >conftest.err
5102
cat conftest.err >&5
5103
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104
(exit $ac_status); } &&
5105
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5106
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5109
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110
(exit $ac_status); }; } &&
5111
{ ac_try='test -s conftest.$ac_objext'
5112
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5115
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116
(exit $ac_status); }; }; then
5117
ac_lo=$ac_mid; break
5119
echo "$as_me: failed program was:" >&5
5120
sed 's/^/| /' conftest.$ac_ext >&5
5122
ac_hi=`expr '(' $ac_mid ')' - 1`
5123
if test $ac_mid -le $ac_hi; then
5127
ac_mid=`expr 2 '*' $ac_mid`
5129
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5132
echo "$as_me: failed program was:" >&5
5133
sed 's/^/| /' conftest.$ac_ext >&5
5137
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5139
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5140
# Binary search between lo and hi bounds.
5141
while test "x$ac_lo" != "x$ac_hi"; do
5142
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5143
cat >conftest.$ac_ext <<_ACEOF
5146
cat confdefs.h >>conftest.$ac_ext
5147
cat >>conftest.$ac_ext <<_ACEOF
5148
/* end confdefs.h. */
5149
$ac_includes_default
5153
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5160
rm -f conftest.$ac_objext
5161
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5162
(eval $ac_compile) 2>conftest.er1
5164
grep -v '^ *+' conftest.er1 >conftest.err
5166
cat conftest.err >&5
5167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168
(exit $ac_status); } &&
5169
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5170
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5173
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174
(exit $ac_status); }; } &&
5175
{ ac_try='test -s conftest.$ac_objext'
5176
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5179
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180
(exit $ac_status); }; }; then
5183
echo "$as_me: failed program was:" >&5
5184
sed 's/^/| /' conftest.$ac_ext >&5
5186
ac_lo=`expr '(' $ac_mid ')' + 1`
5188
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5191
?*) ac_cv_sizeof_int=$ac_lo;;
5192
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5193
See \`config.log' for more details." >&5
5194
echo "$as_me: error: cannot compute sizeof (int), 77
5195
See \`config.log' for more details." >&2;}
5196
{ (exit 1); exit 1; }; } ;;
5199
if test "$cross_compiling" = yes; then
5200
{ { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
5201
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
5202
{ (exit 1); exit 1; }; }
5204
cat >conftest.$ac_ext <<_ACEOF
5207
cat confdefs.h >>conftest.$ac_ext
5208
cat >>conftest.$ac_ext <<_ACEOF
5209
/* end confdefs.h. */
5210
$ac_includes_default
5211
long longval () { return (long) (sizeof (int)); }
5212
unsigned long ulongval () { return (long) (sizeof (int)); }
1734
5213
#include <stdio.h>
1735
#include <sys/types.h>
1738
FILE *f=fopen("conftestval", "w");
1740
fprintf(f, "%d\n", sizeof(int));
5219
FILE *f = fopen ("conftest.val", "w");
5222
if (((long) (sizeof (int))) < 0)
5224
long i = longval ();
5225
if (i != ((long) (sizeof (int))))
5227
fprintf (f, "%ld\n", i);
5231
unsigned long i = ulongval ();
5232
if (i != ((long) (sizeof (int))))
5234
fprintf (f, "%lu\n", i);
5236
exit (ferror (f) || fclose (f) != 0);
1744
if { (eval echo configure:1745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1746
ac_cv_sizeof_int=`cat conftestval`
1748
echo "configure: failed program was:" >&5
1749
cat conftest.$ac_ext >&5
5242
rm -f conftest$ac_exeext
5243
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5244
(eval $ac_link) 2>&5
5246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5248
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5251
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252
(exit $ac_status); }; }; then
5253
ac_cv_sizeof_int=`cat conftest.val`
5255
echo "$as_me: program exited with status $ac_status" >&5
5256
echo "$as_me: failed program was:" >&5
5257
sed 's/^/| /' conftest.$ac_ext >&5
5260
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5261
See \`config.log' for more details." >&5
5262
echo "$as_me: error: cannot compute sizeof (int), 77
5263
See \`config.log' for more details." >&2;}
5264
{ (exit 1); exit 1; }; }
5266
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1751
5271
ac_cv_sizeof_int=0
1757
echo "$ac_t""$ac_cv_sizeof_int" 1>&6
1758
cat >> confdefs.h <<EOF
5274
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
5275
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
5276
cat >>confdefs.h <<_ACEOF
1759
5277
#define SIZEOF_INT $ac_cv_sizeof_int
1763
echo $ac_n "checking size of short""... $ac_c" 1>&6
1764
echo "configure:1765: checking size of short" >&5
1765
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
1766
echo $ac_n "(cached) $ac_c" 1>&6
1768
if test "$cross_compiling" = yes; then
1769
ac_cv_sizeof_short=$size_short
1771
cat > conftest.$ac_ext <<EOF
1772
#line 1773 "configure"
1773
#include "confdefs.h"
5281
echo "$as_me:$LINENO: checking for short" >&5
5282
echo $ECHO_N "checking for short... $ECHO_C" >&6
5283
if test "${ac_cv_type_short+set}" = set; then
5284
echo $ECHO_N "(cached) $ECHO_C" >&6
5286
cat >conftest.$ac_ext <<_ACEOF
5289
cat confdefs.h >>conftest.$ac_ext
5290
cat >>conftest.$ac_ext <<_ACEOF
5291
/* end confdefs.h. */
5292
$ac_includes_default
5304
rm -f conftest.$ac_objext
5305
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5306
(eval $ac_compile) 2>conftest.er1
5308
grep -v '^ *+' conftest.er1 >conftest.err
5310
cat conftest.err >&5
5311
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312
(exit $ac_status); } &&
5313
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5314
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318
(exit $ac_status); }; } &&
5319
{ ac_try='test -s conftest.$ac_objext'
5320
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5323
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324
(exit $ac_status); }; }; then
5325
ac_cv_type_short=yes
5327
echo "$as_me: failed program was:" >&5
5328
sed 's/^/| /' conftest.$ac_ext >&5
5332
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5334
echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
5335
echo "${ECHO_T}$ac_cv_type_short" >&6
5337
echo "$as_me:$LINENO: checking size of short" >&5
5338
echo $ECHO_N "checking size of short... $ECHO_C" >&6
5339
if test "${ac_cv_sizeof_short+set}" = set; then
5340
echo $ECHO_N "(cached) $ECHO_C" >&6
5342
if test "$ac_cv_type_short" = yes; then
5343
# The cast to unsigned long works around a bug in the HP C Compiler
5344
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5345
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5346
# This bug is HP SR number 8606223364.
5347
if test "$cross_compiling" = yes; then
5348
# Depending upon the size, compute the lo and hi bounds.
5349
cat >conftest.$ac_ext <<_ACEOF
5352
cat confdefs.h >>conftest.$ac_ext
5353
cat >>conftest.$ac_ext <<_ACEOF
5354
/* end confdefs.h. */
5355
$ac_includes_default
5359
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
5366
rm -f conftest.$ac_objext
5367
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5368
(eval $ac_compile) 2>conftest.er1
5370
grep -v '^ *+' conftest.er1 >conftest.err
5372
cat conftest.err >&5
5373
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374
(exit $ac_status); } &&
5375
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5376
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380
(exit $ac_status); }; } &&
5381
{ ac_try='test -s conftest.$ac_objext'
5382
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386
(exit $ac_status); }; }; then
5389
cat >conftest.$ac_ext <<_ACEOF
5392
cat confdefs.h >>conftest.$ac_ext
5393
cat >>conftest.$ac_ext <<_ACEOF
5394
/* end confdefs.h. */
5395
$ac_includes_default
5399
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5406
rm -f conftest.$ac_objext
5407
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5408
(eval $ac_compile) 2>conftest.er1
5410
grep -v '^ *+' conftest.er1 >conftest.err
5412
cat conftest.err >&5
5413
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414
(exit $ac_status); } &&
5415
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5416
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5419
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420
(exit $ac_status); }; } &&
5421
{ ac_try='test -s conftest.$ac_objext'
5422
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5425
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426
(exit $ac_status); }; }; then
5427
ac_hi=$ac_mid; break
5429
echo "$as_me: failed program was:" >&5
5430
sed 's/^/| /' conftest.$ac_ext >&5
5432
ac_lo=`expr $ac_mid + 1`
5433
if test $ac_lo -le $ac_mid; then
5437
ac_mid=`expr 2 '*' $ac_mid + 1`
5439
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5442
echo "$as_me: failed program was:" >&5
5443
sed 's/^/| /' conftest.$ac_ext >&5
5445
cat >conftest.$ac_ext <<_ACEOF
5448
cat confdefs.h >>conftest.$ac_ext
5449
cat >>conftest.$ac_ext <<_ACEOF
5450
/* end confdefs.h. */
5451
$ac_includes_default
5455
static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
5462
rm -f conftest.$ac_objext
5463
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5464
(eval $ac_compile) 2>conftest.er1
5466
grep -v '^ *+' conftest.er1 >conftest.err
5468
cat conftest.err >&5
5469
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5470
(exit $ac_status); } &&
5471
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5472
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5475
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476
(exit $ac_status); }; } &&
5477
{ ac_try='test -s conftest.$ac_objext'
5478
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5481
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5482
(exit $ac_status); }; }; then
5485
cat >conftest.$ac_ext <<_ACEOF
5488
cat confdefs.h >>conftest.$ac_ext
5489
cat >>conftest.$ac_ext <<_ACEOF
5490
/* end confdefs.h. */
5491
$ac_includes_default
5495
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
5502
rm -f conftest.$ac_objext
5503
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5504
(eval $ac_compile) 2>conftest.er1
5506
grep -v '^ *+' conftest.er1 >conftest.err
5508
cat conftest.err >&5
5509
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510
(exit $ac_status); } &&
5511
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5512
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5515
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516
(exit $ac_status); }; } &&
5517
{ ac_try='test -s conftest.$ac_objext'
5518
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5521
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5522
(exit $ac_status); }; }; then
5523
ac_lo=$ac_mid; break
5525
echo "$as_me: failed program was:" >&5
5526
sed 's/^/| /' conftest.$ac_ext >&5
5528
ac_hi=`expr '(' $ac_mid ')' - 1`
5529
if test $ac_mid -le $ac_hi; then
5533
ac_mid=`expr 2 '*' $ac_mid`
5535
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5538
echo "$as_me: failed program was:" >&5
5539
sed 's/^/| /' conftest.$ac_ext >&5
5543
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5545
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5546
# Binary search between lo and hi bounds.
5547
while test "x$ac_lo" != "x$ac_hi"; do
5548
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5549
cat >conftest.$ac_ext <<_ACEOF
5552
cat confdefs.h >>conftest.$ac_ext
5553
cat >>conftest.$ac_ext <<_ACEOF
5554
/* end confdefs.h. */
5555
$ac_includes_default
5559
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5566
rm -f conftest.$ac_objext
5567
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5568
(eval $ac_compile) 2>conftest.er1
5570
grep -v '^ *+' conftest.er1 >conftest.err
5572
cat conftest.err >&5
5573
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574
(exit $ac_status); } &&
5575
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5576
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5579
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580
(exit $ac_status); }; } &&
5581
{ ac_try='test -s conftest.$ac_objext'
5582
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5585
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586
(exit $ac_status); }; }; then
5589
echo "$as_me: failed program was:" >&5
5590
sed 's/^/| /' conftest.$ac_ext >&5
5592
ac_lo=`expr '(' $ac_mid ')' + 1`
5594
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5597
?*) ac_cv_sizeof_short=$ac_lo;;
5598
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5599
See \`config.log' for more details." >&5
5600
echo "$as_me: error: cannot compute sizeof (short), 77
5601
See \`config.log' for more details." >&2;}
5602
{ (exit 1); exit 1; }; } ;;
5605
if test "$cross_compiling" = yes; then
5606
{ { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
5607
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
5608
{ (exit 1); exit 1; }; }
5610
cat >conftest.$ac_ext <<_ACEOF
5613
cat confdefs.h >>conftest.$ac_ext
5614
cat >>conftest.$ac_ext <<_ACEOF
5615
/* end confdefs.h. */
5616
$ac_includes_default
5617
long longval () { return (long) (sizeof (short)); }
5618
unsigned long ulongval () { return (long) (sizeof (short)); }
1774
5619
#include <stdio.h>
1775
#include <sys/types.h>
1778
FILE *f=fopen("conftestval", "w");
1780
fprintf(f, "%d\n", sizeof(short));
5625
FILE *f = fopen ("conftest.val", "w");
5628
if (((long) (sizeof (short))) < 0)
5630
long i = longval ();
5631
if (i != ((long) (sizeof (short))))
5633
fprintf (f, "%ld\n", i);
5637
unsigned long i = ulongval ();
5638
if (i != ((long) (sizeof (short))))
5640
fprintf (f, "%lu\n", i);
5642
exit (ferror (f) || fclose (f) != 0);
1784
if { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1786
ac_cv_sizeof_short=`cat conftestval`
1788
echo "configure: failed program was:" >&5
1789
cat conftest.$ac_ext >&5
5648
rm -f conftest$ac_exeext
5649
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5650
(eval $ac_link) 2>&5
5652
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5654
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5657
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658
(exit $ac_status); }; }; then
5659
ac_cv_sizeof_short=`cat conftest.val`
5661
echo "$as_me: program exited with status $ac_status" >&5
5662
echo "$as_me: failed program was:" >&5
5663
sed 's/^/| /' conftest.$ac_ext >&5
5666
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5667
See \`config.log' for more details." >&5
5668
echo "$as_me: error: cannot compute sizeof (short), 77
5669
See \`config.log' for more details." >&2;}
5670
{ (exit 1); exit 1; }; }
5672
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1791
5677
ac_cv_sizeof_short=0
1797
echo "$ac_t""$ac_cv_sizeof_short" 1>&6
1798
cat >> confdefs.h <<EOF
5680
echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
5681
echo "${ECHO_T}$ac_cv_sizeof_short" >&6
5682
cat >>confdefs.h <<_ACEOF
1799
5683
#define SIZEOF_SHORT $ac_cv_sizeof_short
1803
echo $ac_n "checking size of long""... $ac_c" 1>&6
1804
echo "configure:1805: checking size of long" >&5
1805
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
1806
echo $ac_n "(cached) $ac_c" 1>&6
1808
if test "$cross_compiling" = yes; then
1809
ac_cv_sizeof_long=$size_long
1811
cat > conftest.$ac_ext <<EOF
1812
#line 1813 "configure"
1813
#include "confdefs.h"
5687
echo "$as_me:$LINENO: checking for long" >&5
5688
echo $ECHO_N "checking for long... $ECHO_C" >&6
5689
if test "${ac_cv_type_long+set}" = set; then
5690
echo $ECHO_N "(cached) $ECHO_C" >&6
5692
cat >conftest.$ac_ext <<_ACEOF
5695
cat confdefs.h >>conftest.$ac_ext
5696
cat >>conftest.$ac_ext <<_ACEOF
5697
/* end confdefs.h. */
5698
$ac_includes_default
5710
rm -f conftest.$ac_objext
5711
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5712
(eval $ac_compile) 2>conftest.er1
5714
grep -v '^ *+' conftest.er1 >conftest.err
5716
cat conftest.err >&5
5717
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718
(exit $ac_status); } &&
5719
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5720
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5723
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724
(exit $ac_status); }; } &&
5725
{ ac_try='test -s conftest.$ac_objext'
5726
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5729
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730
(exit $ac_status); }; }; then
5733
echo "$as_me: failed program was:" >&5
5734
sed 's/^/| /' conftest.$ac_ext >&5
5738
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5740
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
5741
echo "${ECHO_T}$ac_cv_type_long" >&6
5743
echo "$as_me:$LINENO: checking size of long" >&5
5744
echo $ECHO_N "checking size of long... $ECHO_C" >&6
5745
if test "${ac_cv_sizeof_long+set}" = set; then
5746
echo $ECHO_N "(cached) $ECHO_C" >&6
5748
if test "$ac_cv_type_long" = yes; then
5749
# The cast to unsigned long works around a bug in the HP C Compiler
5750
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5751
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5752
# This bug is HP SR number 8606223364.
5753
if test "$cross_compiling" = yes; then
5754
# Depending upon the size, compute the lo and hi bounds.
5755
cat >conftest.$ac_ext <<_ACEOF
5758
cat confdefs.h >>conftest.$ac_ext
5759
cat >>conftest.$ac_ext <<_ACEOF
5760
/* end confdefs.h. */
5761
$ac_includes_default
5765
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
5772
rm -f conftest.$ac_objext
5773
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5774
(eval $ac_compile) 2>conftest.er1
5776
grep -v '^ *+' conftest.er1 >conftest.err
5778
cat conftest.err >&5
5779
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780
(exit $ac_status); } &&
5781
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5782
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5785
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786
(exit $ac_status); }; } &&
5787
{ ac_try='test -s conftest.$ac_objext'
5788
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5791
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792
(exit $ac_status); }; }; then
5795
cat >conftest.$ac_ext <<_ACEOF
5798
cat confdefs.h >>conftest.$ac_ext
5799
cat >>conftest.$ac_ext <<_ACEOF
5800
/* end confdefs.h. */
5801
$ac_includes_default
5805
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
5812
rm -f conftest.$ac_objext
5813
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5814
(eval $ac_compile) 2>conftest.er1
5816
grep -v '^ *+' conftest.er1 >conftest.err
5818
cat conftest.err >&5
5819
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820
(exit $ac_status); } &&
5821
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5822
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5825
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826
(exit $ac_status); }; } &&
5827
{ ac_try='test -s conftest.$ac_objext'
5828
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832
(exit $ac_status); }; }; then
5833
ac_hi=$ac_mid; break
5835
echo "$as_me: failed program was:" >&5
5836
sed 's/^/| /' conftest.$ac_ext >&5
5838
ac_lo=`expr $ac_mid + 1`
5839
if test $ac_lo -le $ac_mid; then
5843
ac_mid=`expr 2 '*' $ac_mid + 1`
5845
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5848
echo "$as_me: failed program was:" >&5
5849
sed 's/^/| /' conftest.$ac_ext >&5
5851
cat >conftest.$ac_ext <<_ACEOF
5854
cat confdefs.h >>conftest.$ac_ext
5855
cat >>conftest.$ac_ext <<_ACEOF
5856
/* end confdefs.h. */
5857
$ac_includes_default
5861
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
5868
rm -f conftest.$ac_objext
5869
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5870
(eval $ac_compile) 2>conftest.er1
5872
grep -v '^ *+' conftest.er1 >conftest.err
5874
cat conftest.err >&5
5875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876
(exit $ac_status); } &&
5877
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5878
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5881
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882
(exit $ac_status); }; } &&
5883
{ ac_try='test -s conftest.$ac_objext'
5884
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5887
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5888
(exit $ac_status); }; }; then
5891
cat >conftest.$ac_ext <<_ACEOF
5894
cat confdefs.h >>conftest.$ac_ext
5895
cat >>conftest.$ac_ext <<_ACEOF
5896
/* end confdefs.h. */
5897
$ac_includes_default
5901
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
5908
rm -f conftest.$ac_objext
5909
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5910
(eval $ac_compile) 2>conftest.er1
5912
grep -v '^ *+' conftest.er1 >conftest.err
5914
cat conftest.err >&5
5915
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916
(exit $ac_status); } &&
5917
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5918
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5921
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922
(exit $ac_status); }; } &&
5923
{ ac_try='test -s conftest.$ac_objext'
5924
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5927
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928
(exit $ac_status); }; }; then
5929
ac_lo=$ac_mid; break
5931
echo "$as_me: failed program was:" >&5
5932
sed 's/^/| /' conftest.$ac_ext >&5
5934
ac_hi=`expr '(' $ac_mid ')' - 1`
5935
if test $ac_mid -le $ac_hi; then
5939
ac_mid=`expr 2 '*' $ac_mid`
5941
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5944
echo "$as_me: failed program was:" >&5
5945
sed 's/^/| /' conftest.$ac_ext >&5
5949
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5951
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5952
# Binary search between lo and hi bounds.
5953
while test "x$ac_lo" != "x$ac_hi"; do
5954
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5955
cat >conftest.$ac_ext <<_ACEOF
5958
cat confdefs.h >>conftest.$ac_ext
5959
cat >>conftest.$ac_ext <<_ACEOF
5960
/* end confdefs.h. */
5961
$ac_includes_default
5965
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
5972
rm -f conftest.$ac_objext
5973
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5974
(eval $ac_compile) 2>conftest.er1
5976
grep -v '^ *+' conftest.er1 >conftest.err
5978
cat conftest.err >&5
5979
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5980
(exit $ac_status); } &&
5981
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5982
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5985
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986
(exit $ac_status); }; } &&
5987
{ ac_try='test -s conftest.$ac_objext'
5988
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5991
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992
(exit $ac_status); }; }; then
5995
echo "$as_me: failed program was:" >&5
5996
sed 's/^/| /' conftest.$ac_ext >&5
5998
ac_lo=`expr '(' $ac_mid ')' + 1`
6000
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6003
?*) ac_cv_sizeof_long=$ac_lo;;
6004
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
6005
See \`config.log' for more details." >&5
6006
echo "$as_me: error: cannot compute sizeof (long), 77
6007
See \`config.log' for more details." >&2;}
6008
{ (exit 1); exit 1; }; } ;;
6011
if test "$cross_compiling" = yes; then
6012
{ { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
6013
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
6014
{ (exit 1); exit 1; }; }
6016
cat >conftest.$ac_ext <<_ACEOF
6019
cat confdefs.h >>conftest.$ac_ext
6020
cat >>conftest.$ac_ext <<_ACEOF
6021
/* end confdefs.h. */
6022
$ac_includes_default
6023
long longval () { return (long) (sizeof (long)); }
6024
unsigned long ulongval () { return (long) (sizeof (long)); }
1814
6025
#include <stdio.h>
1815
#include <sys/types.h>
1818
FILE *f=fopen("conftestval", "w");
1820
fprintf(f, "%d\n", sizeof(long));
6031
FILE *f = fopen ("conftest.val", "w");
6034
if (((long) (sizeof (long))) < 0)
6036
long i = longval ();
6037
if (i != ((long) (sizeof (long))))
6039
fprintf (f, "%ld\n", i);
6043
unsigned long i = ulongval ();
6044
if (i != ((long) (sizeof (long))))
6046
fprintf (f, "%lu\n", i);
6048
exit (ferror (f) || fclose (f) != 0);
1824
if { (eval echo configure:1825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1826
ac_cv_sizeof_long=`cat conftestval`
1828
echo "configure: failed program was:" >&5
1829
cat conftest.$ac_ext >&5
6054
rm -f conftest$ac_exeext
6055
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6056
(eval $ac_link) 2>&5
6058
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6060
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6063
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064
(exit $ac_status); }; }; then
6065
ac_cv_sizeof_long=`cat conftest.val`
6067
echo "$as_me: program exited with status $ac_status" >&5
6068
echo "$as_me: failed program was:" >&5
6069
sed 's/^/| /' conftest.$ac_ext >&5
6072
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
6073
See \`config.log' for more details." >&5
6074
echo "$as_me: error: cannot compute sizeof (long), 77
6075
See \`config.log' for more details." >&2;}
6076
{ (exit 1); exit 1; }; }
6078
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1831
6083
ac_cv_sizeof_long=0
1837
echo "$ac_t""$ac_cv_sizeof_long" 1>&6
1838
cat >> confdefs.h <<EOF
6086
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
6087
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
6088
cat >>confdefs.h <<_ACEOF
1839
6089
#define SIZEOF_LONG $ac_cv_sizeof_long
1848
echo $ac_n "checking for missing socklen_t""... $ac_c" 1>&6
1849
echo "configure:1850: checking for missing socklen_t" >&5
1850
cat > conftest.$ac_ext <<EOF
1851
#line 1852 "configure"
1852
#include "confdefs.h"
6098
echo "$as_me:$LINENO: checking for missing socklen_t" >&5
6099
echo $ECHO_N "checking for missing socklen_t... $ECHO_C" >&6
6100
cat >conftest.$ac_ext <<_ACEOF
6103
cat confdefs.h >>conftest.$ac_ext
6104
cat >>conftest.$ac_ext <<_ACEOF
6105
/* end confdefs.h. */
1853
6106
#include <sys/socket.h>
1855
6109
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1856
egrep "socklen_t" >/dev/null 2>&1; then
1858
echo "$ac_t""no" 1>&6
6110
$EGREP "socklen_t" >/dev/null 2>&1; then
6111
echo "$as_me:$LINENO: result: no" >&5
6112
echo "${ECHO_T}no" >&6
1862
cat >> confdefs.h <<\EOF
6115
cat >>confdefs.h <<\_ACEOF
1863
6116
#define NEED_SOCKLEN_T_DEFINE 1
1866
6119
NEED_SOCKLEN_T_DEFINE=yes
1867
echo "$ac_t""missing." 1>&6
6120
echo "$as_me:$LINENO: result: missing." >&5
6121
echo "${ECHO_T}missing." >&6
1869
6123
rm -f conftest*
1873
echo $ac_n "checking for h_errno""... $ac_c" 1>&6
1874
echo "configure:1875: checking for h_errno" >&5
1875
cat > conftest.$ac_ext <<EOF
1876
#line 1877 "configure"
1877
#include "confdefs.h"
6127
echo "$as_me:$LINENO: checking for h_errno" >&5
6128
echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
6129
cat >conftest.$ac_ext <<_ACEOF
6132
cat confdefs.h >>conftest.$ac_ext
6133
cat >>conftest.$ac_ext <<_ACEOF
6134
/* end confdefs.h. */
1878
6135
#include <netdb.h>
1880
6138
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1881
egrep "h_errno" >/dev/null 2>&1; then
1883
echo "$ac_t""normal" 1>&6
6139
$EGREP "h_errno" >/dev/null 2>&1; then
6140
echo "$as_me:$LINENO: result: normal" >&5
6141
echo "${ECHO_T}normal" >&6
1886
6143
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
1887
cat > conftest.$ac_ext <<EOF
1888
#line 1889 "configure"
1889
#include "confdefs.h"
6144
cat >conftest.$ac_ext <<_ACEOF
6147
cat confdefs.h >>conftest.$ac_ext
6148
cat >>conftest.$ac_ext <<_ACEOF
6149
/* end confdefs.h. */
1890
6150
#include <netdb.h>
1892
6153
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1893
egrep "h_errno" >/dev/null 2>&1; then
1895
echo "$ac_t""needs _XOPEN_SOURCE_EXTENDED" 1>&6
6154
$EGREP "h_errno" >/dev/null 2>&1; then
6155
echo "$as_me:$LINENO: result: needs _XOPEN_SOURCE_EXTENDED" >&5
6156
echo "${ECHO_T}needs _XOPEN_SOURCE_EXTENDED" >&6
1898
{ echo "configure: error: "not found."" 1>&2; exit 1; }
6158
{ { echo "$as_me:$LINENO: error: \"not found.\"" >&5
6159
echo "$as_me: error: \"not found.\"" >&2;}
6160
{ (exit 1); exit 1; }; }
1900
6162
rm -f conftest*
1904
6166
rm -f conftest*
1907
6169
# Extract the first word of "debiandoc2html", so it can be a program name with args.
1908
6170
set dummy debiandoc2html; ac_word=$2
1909
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1910
echo "configure:1911: checking for $ac_word" >&5
1911
if eval "test \"`echo '$''{'ac_cv_path_DEBIANDOC_HTML'+set}'`\" = set"; then
1912
echo $ac_n "(cached) $ac_c" 1>&6
6171
echo "$as_me:$LINENO: checking for $ac_word" >&5
6172
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6173
if test "${ac_cv_path_DEBIANDOC_HTML+set}" = set; then
6174
echo $ECHO_N "(cached) $ECHO_C" >&6
1914
case "$DEBIANDOC_HTML" in
6176
case $DEBIANDOC_HTML in
1916
6178
ac_cv_path_DEBIANDOC_HTML="$DEBIANDOC_HTML" # Let the user override the test with a path.
1919
ac_cv_path_DEBIANDOC_HTML="$DEBIANDOC_HTML" # Let the user override the test with a dos path.
1922
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1924
for ac_dir in $ac_dummy; do
1925
test -z "$ac_dir" && ac_dir=.
1926
if test -f $ac_dir/$ac_word; then
1927
ac_cv_path_DEBIANDOC_HTML="$ac_dir/$ac_word"
6181
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185
test -z "$as_dir" && as_dir=.
6186
for ac_exec_ext in '' $ac_executable_extensions; do
6187
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6188
ac_cv_path_DEBIANDOC_HTML="$as_dir/$ac_word$ac_exec_ext"
6189
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1935
DEBIANDOC_HTML="$ac_cv_path_DEBIANDOC_HTML"
6198
DEBIANDOC_HTML=$ac_cv_path_DEBIANDOC_HTML
1936
6200
if test -n "$DEBIANDOC_HTML"; then
1937
echo "$ac_t""$DEBIANDOC_HTML" 1>&6
6201
echo "$as_me:$LINENO: result: $DEBIANDOC_HTML" >&5
6202
echo "${ECHO_T}$DEBIANDOC_HTML" >&6
1939
echo "$ac_t""no" 1>&6
6204
echo "$as_me:$LINENO: result: no" >&5
6205
echo "${ECHO_T}no" >&6
1942
6208
# Extract the first word of "debiandoc2text", so it can be a program name with args.
1943
6209
set dummy debiandoc2text; ac_word=$2
1944
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1945
echo "configure:1946: checking for $ac_word" >&5
1946
if eval "test \"`echo '$''{'ac_cv_path_DEBIANDOC_TEXT'+set}'`\" = set"; then
1947
echo $ac_n "(cached) $ac_c" 1>&6
6210
echo "$as_me:$LINENO: checking for $ac_word" >&5
6211
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6212
if test "${ac_cv_path_DEBIANDOC_TEXT+set}" = set; then
6213
echo $ECHO_N "(cached) $ECHO_C" >&6
1949
case "$DEBIANDOC_TEXT" in
6215
case $DEBIANDOC_TEXT in
1951
6217
ac_cv_path_DEBIANDOC_TEXT="$DEBIANDOC_TEXT" # Let the user override the test with a path.
1954
ac_cv_path_DEBIANDOC_TEXT="$DEBIANDOC_TEXT" # Let the user override the test with a dos path.
1957
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1959
for ac_dir in $ac_dummy; do
1960
test -z "$ac_dir" && ac_dir=.
1961
if test -f $ac_dir/$ac_word; then
1962
ac_cv_path_DEBIANDOC_TEXT="$ac_dir/$ac_word"
6220
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6224
test -z "$as_dir" && as_dir=.
6225
for ac_exec_ext in '' $ac_executable_extensions; do
6226
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6227
ac_cv_path_DEBIANDOC_TEXT="$as_dir/$ac_word$ac_exec_ext"
6228
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1970
DEBIANDOC_TEXT="$ac_cv_path_DEBIANDOC_TEXT"
6237
DEBIANDOC_TEXT=$ac_cv_path_DEBIANDOC_TEXT
1971
6239
if test -n "$DEBIANDOC_TEXT"; then
1972
echo "$ac_t""$DEBIANDOC_TEXT" 1>&6
1974
echo "$ac_t""no" 1>&6
1978
# Extract the first word of "nsgmls", so it can be a program name with args.
1979
set dummy nsgmls; ac_word=$2
1980
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1981
echo "configure:1982: checking for $ac_word" >&5
1982
if eval "test \"`echo '$''{'ac_cv_path_NSGMLS'+set}'`\" = set"; then
1983
echo $ac_n "(cached) $ac_c" 1>&6
1987
ac_cv_path_NSGMLS="$NSGMLS" # Let the user override the test with a path.
1990
ac_cv_path_NSGMLS="$NSGMLS" # Let the user override the test with a dos path.
1993
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1995
for ac_dir in $ac_dummy; do
1996
test -z "$ac_dir" && ac_dir=.
1997
if test -f $ac_dir/$ac_word; then
1998
ac_cv_path_NSGMLS="$ac_dir/$ac_word"
2006
NSGMLS="$ac_cv_path_NSGMLS"
2007
if test -n "$NSGMLS"; then
2008
echo "$ac_t""$NSGMLS" 1>&6
2010
echo "$ac_t""no" 1>&6
2013
# Extract the first word of "sgmlspl", so it can be a program name with args.
2014
set dummy sgmlspl; ac_word=$2
2015
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2016
echo "configure:2017: checking for $ac_word" >&5
2017
if eval "test \"`echo '$''{'ac_cv_path_SGMLSPL'+set}'`\" = set"; then
2018
echo $ac_n "(cached) $ac_c" 1>&6
2022
ac_cv_path_SGMLSPL="$SGMLSPL" # Let the user override the test with a path.
2025
ac_cv_path_SGMLSPL="$SGMLSPL" # Let the user override the test with a dos path.
2028
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2030
for ac_dir in $ac_dummy; do
2031
test -z "$ac_dir" && ac_dir=.
2032
if test -f $ac_dir/$ac_word; then
2033
ac_cv_path_SGMLSPL="$ac_dir/$ac_word"
2041
SGMLSPL="$ac_cv_path_SGMLSPL"
2042
if test -n "$SGMLSPL"; then
2043
echo "$ac_t""$SGMLSPL" 1>&6
2045
echo "$ac_t""no" 1>&6
6240
echo "$as_me:$LINENO: result: $DEBIANDOC_TEXT" >&5
6241
echo "${ECHO_T}$DEBIANDOC_TEXT" >&6
6243
echo "$as_me:$LINENO: result: no" >&5
6244
echo "${ECHO_T}no" >&6
6248
# Extract the first word of "docbook2man", so it can be a program name with args.
6249
set dummy docbook2man; ac_word=$2
6250
echo "$as_me:$LINENO: checking for $ac_word" >&5
6251
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6252
if test "${ac_cv_path_DOCBOOK2MAN+set}" = set; then
6253
echo $ECHO_N "(cached) $ECHO_C" >&6
6255
case $DOCBOOK2MAN in
6257
ac_cv_path_DOCBOOK2MAN="$DOCBOOK2MAN" # Let the user override the test with a path.
6260
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264
test -z "$as_dir" && as_dir=.
6265
for ac_exec_ext in '' $ac_executable_extensions; do
6266
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6267
ac_cv_path_DOCBOOK2MAN="$as_dir/$ac_word$ac_exec_ext"
6268
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6277
DOCBOOK2MAN=$ac_cv_path_DOCBOOK2MAN
6279
if test -n "$DOCBOOK2MAN"; then
6280
echo "$as_me:$LINENO: result: $DOCBOOK2MAN" >&5
6281
echo "${ECHO_T}$DOCBOOK2MAN" >&6
6283
echo "$as_me:$LINENO: result: no" >&5
6284
echo "${ECHO_T}no" >&6
6288
# Extract the first word of "xmlto", so it can be a program name with args.
6289
set dummy xmlto; ac_word=$2
6290
echo "$as_me:$LINENO: checking for $ac_word" >&5
6291
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6292
if test "${ac_cv_path_XMLTO+set}" = set; then
6293
echo $ECHO_N "(cached) $ECHO_C" >&6
6297
ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
6300
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6304
test -z "$as_dir" && as_dir=.
6305
for ac_exec_ext in '' $ac_executable_extensions; do
6306
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6307
ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
6308
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6317
XMLTO=$ac_cv_path_XMLTO
6319
if test -n "$XMLTO"; then
6320
echo "$as_me:$LINENO: result: $XMLTO" >&5
6321
echo "${ECHO_T}$XMLTO" >&6
6323
echo "$as_me:$LINENO: result: no" >&5
6324
echo "${ECHO_T}no" >&6
6328
# Extract the first word of "xmlto", so it can be a program name with args.
6329
set dummy xmlto; ac_word=$2
6330
echo "$as_me:$LINENO: checking for $ac_word" >&5
6331
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6332
if test "${ac_cv_path_XMLTO+set}" = set; then
6333
echo $ECHO_N "(cached) $ECHO_C" >&6
6337
ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
6340
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6344
test -z "$as_dir" && as_dir=.
6345
for ac_exec_ext in '' $ac_executable_extensions; do
6346
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6347
ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
6348
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6357
XMLTO=$ac_cv_path_XMLTO
6359
if test -n "$XMLTO"; then
6360
echo "$as_me:$LINENO: result: $XMLTO" >&5
6361
echo "${ECHO_T}$XMLTO" >&6
6363
echo "$as_me:$LINENO: result: no" >&5
6364
echo "${ECHO_T}no" >&6
2291
{ echo "configure: error: no" 1>&2; exit 1; }
2293
echo "$ac_t""yes, for $GCC_MD" 1>&6
2298
cat > confcache <<\EOF
6633
{ { echo "$as_me:$LINENO: error: no" >&5
6634
echo "$as_me: error: no" >&2;}
6635
{ (exit 1); exit 1; }; }
6637
echo "$as_me:$LINENO: result: yes, for $GCC_MD" >&5
6638
echo "${ECHO_T}yes, for $GCC_MD" >&6
6642
ALL_LINGUAS="da de en_GB es fr hu it nl no_NO pl pt_BR ru sv zh_TW"
6643
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6644
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6645
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6646
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6647
echo $ECHO_N "(cached) $ECHO_C" >&6
6649
cat >conftest.make <<\_ACEOF
6651
@echo 'ac_maketemp="$(MAKE)"'
6653
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6654
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6655
if test -n "$ac_maketemp"; then
6656
eval ac_cv_prog_make_${ac_make}_set=yes
6658
eval ac_cv_prog_make_${ac_make}_set=no
6662
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6663
echo "$as_me:$LINENO: result: yes" >&5
6664
echo "${ECHO_T}yes" >&6
6667
echo "$as_me:$LINENO: result: no" >&5
6668
echo "${ECHO_T}no" >&6
6669
SET_MAKE="MAKE=${MAKE-make}"
6672
# Find a good install program. We prefer a C program (faster),
6673
# so one script is as good as another. But avoid the broken or
6674
# incompatible versions:
6675
# SysV /etc/install, /usr/sbin/install
6676
# SunOS /usr/etc/install
6677
# IRIX /sbin/install
6679
# AmigaOS /C/install, which installs bootblocks on floppy discs
6680
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6681
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
6682
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6683
# OS/2's system install, which has a completely different semantic
6684
# ./install, which can be erroneously created by make from ./install.sh.
6685
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6686
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6687
if test -z "$INSTALL"; then
6688
if test "${ac_cv_path_install+set}" = set; then
6689
echo $ECHO_N "(cached) $ECHO_C" >&6
6691
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6695
test -z "$as_dir" && as_dir=.
6696
# Account for people who put trailing slashes in PATH elements.
6698
./ | .// | /cC/* | \
6699
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6700
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6703
# OSF1 and SCO ODT 3.0 have their own names for install.
6704
# Don't use installbsd from OSF since it installs stuff as root
6706
for ac_prog in ginstall scoinst install; do
6707
for ac_exec_ext in '' $ac_executable_extensions; do
6708
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6709
if test $ac_prog = install &&
6710
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6711
# AIX install. It has an incompatible calling convention.
6713
elif test $ac_prog = install &&
6714
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6715
# program-specific install script used by HP pwplus--don't use.
6718
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6730
if test "${ac_cv_path_install+set}" = set; then
6731
INSTALL=$ac_cv_path_install
6733
# As a last resort, use the slow shell script. We don't cache a
6734
# path for INSTALL within a source directory, because that will
6735
# break other packages using the cache if that directory is
6736
# removed, or if the path is relative.
6737
INSTALL=$ac_install_sh
6740
echo "$as_me:$LINENO: result: $INSTALL" >&5
6741
echo "${ECHO_T}$INSTALL" >&6
6743
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6744
# It thinks the first close brace ends the variable substitution.
6745
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6747
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6749
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6753
if test -n "$ac_aux_dir"; then
6754
case "$ac_aux_dir" in
6755
/*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
6756
*) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
6759
if test -z "$MKINSTALLDIRS"; then
6760
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6765
echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6766
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6767
# Check whether --enable-nls or --disable-nls was given.
6768
if test "${enable_nls+set}" = set; then
6769
enableval="$enable_nls"
6774
echo "$as_me:$LINENO: result: $USE_NLS" >&5
6775
echo "${ECHO_T}$USE_NLS" >&6
6782
# Prepare PATH_SEPARATOR.
6783
# The user is always right.
6784
if test "${PATH_SEPARATOR+set}" != set; then
6785
echo "#! /bin/sh" >conf$$.sh
6786
echo "exit 0" >>conf$$.sh
6788
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6796
# Find out how to test for executable files. Don't use a zero-byte file,
6797
# as systems may use methods other than mode bits to determine executability.
6798
cat >conf$$.file <<_ASEOF
6802
chmod +x conf$$.file
6803
if test -x conf$$.file >/dev/null 2>&1; then
6804
ac_executable_p="test -x"
6806
ac_executable_p="test -f"
6810
# Extract the first word of "msgfmt", so it can be a program name with args.
6811
set dummy msgfmt; ac_word=$2
6812
echo "$as_me:$LINENO: checking for $ac_word" >&5
6813
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6814
if test "${ac_cv_path_MSGFMT+set}" = set; then
6815
echo $ECHO_N "(cached) $ECHO_C" >&6
6819
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6822
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6823
for ac_dir in $PATH; do
6825
test -z "$ac_dir" && ac_dir=.
6826
for ac_exec_ext in '' $ac_executable_extensions; do
6827
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6828
if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
6829
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
6830
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
6837
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
6841
MSGFMT="$ac_cv_path_MSGFMT"
6842
if test "$MSGFMT" != ":"; then
6843
echo "$as_me:$LINENO: result: $MSGFMT" >&5
6844
echo "${ECHO_T}$MSGFMT" >&6
6846
echo "$as_me:$LINENO: result: no" >&5
6847
echo "${ECHO_T}no" >&6
6850
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6851
set dummy gmsgfmt; ac_word=$2
6852
echo "$as_me:$LINENO: checking for $ac_word" >&5
6853
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6854
if test "${ac_cv_path_GMSGFMT+set}" = set; then
6855
echo $ECHO_N "(cached) $ECHO_C" >&6
6859
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6862
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866
test -z "$as_dir" && as_dir=.
6867
for ac_exec_ext in '' $ac_executable_extensions; do
6868
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6869
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6870
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6876
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6880
GMSGFMT=$ac_cv_path_GMSGFMT
6882
if test -n "$GMSGFMT"; then
6883
echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6884
echo "${ECHO_T}$GMSGFMT" >&6
6886
echo "$as_me:$LINENO: result: no" >&5
6887
echo "${ECHO_T}no" >&6
6892
# Prepare PATH_SEPARATOR.
6893
# The user is always right.
6894
if test "${PATH_SEPARATOR+set}" != set; then
6895
echo "#! /bin/sh" >conf$$.sh
6896
echo "exit 0" >>conf$$.sh
6898
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6906
# Find out how to test for executable files. Don't use a zero-byte file,
6907
# as systems may use methods other than mode bits to determine executability.
6908
cat >conf$$.file <<_ASEOF
6912
chmod +x conf$$.file
6913
if test -x conf$$.file >/dev/null 2>&1; then
6914
ac_executable_p="test -x"
6916
ac_executable_p="test -f"
6920
# Extract the first word of "xgettext", so it can be a program name with args.
6921
set dummy xgettext; ac_word=$2
6922
echo "$as_me:$LINENO: checking for $ac_word" >&5
6923
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6924
if test "${ac_cv_path_XGETTEXT+set}" = set; then
6925
echo $ECHO_N "(cached) $ECHO_C" >&6
6929
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6932
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6933
for ac_dir in $PATH; do
6935
test -z "$ac_dir" && ac_dir=.
6936
for ac_exec_ext in '' $ac_executable_extensions; do
6937
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6938
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
6939
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
6940
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
6947
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6951
XGETTEXT="$ac_cv_path_XGETTEXT"
6952
if test "$XGETTEXT" != ":"; then
6953
echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6954
echo "${ECHO_T}$XGETTEXT" >&6
6956
echo "$as_me:$LINENO: result: no" >&5
6957
echo "${ECHO_T}no" >&6
6963
# Prepare PATH_SEPARATOR.
6964
# The user is always right.
6965
if test "${PATH_SEPARATOR+set}" != set; then
6966
echo "#! /bin/sh" >conf$$.sh
6967
echo "exit 0" >>conf$$.sh
6969
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6977
# Find out how to test for executable files. Don't use a zero-byte file,
6978
# as systems may use methods other than mode bits to determine executability.
6979
cat >conf$$.file <<_ASEOF
6983
chmod +x conf$$.file
6984
if test -x conf$$.file >/dev/null 2>&1; then
6985
ac_executable_p="test -x"
6987
ac_executable_p="test -f"
6991
# Extract the first word of "msgmerge", so it can be a program name with args.
6992
set dummy msgmerge; ac_word=$2
6993
echo "$as_me:$LINENO: checking for $ac_word" >&5
6994
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6995
if test "${ac_cv_path_MSGMERGE+set}" = set; then
6996
echo $ECHO_N "(cached) $ECHO_C" >&6
7000
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
7003
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7004
for ac_dir in $PATH; do
7006
test -z "$ac_dir" && ac_dir=.
7007
for ac_exec_ext in '' $ac_executable_extensions; do
7008
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7009
if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
7010
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
7017
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
7021
MSGMERGE="$ac_cv_path_MSGMERGE"
7022
if test "$MSGMERGE" != ":"; then
7023
echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7024
echo "${ECHO_T}$MSGMERGE" >&6
7026
echo "$as_me:$LINENO: result: no" >&5
7027
echo "${ECHO_T}no" >&6
7031
if test "$GMSGFMT" != ":"; then
7032
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
7033
(if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7036
GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
7037
echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
7038
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
7043
if test "$XGETTEXT" != ":"; then
7044
if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
7045
(if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7048
echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7049
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
7055
ac_config_commands="$ac_config_commands default-1"
7059
if test "X$prefix" = "XNONE"; then
7060
acl_final_prefix="$ac_default_prefix"
7062
acl_final_prefix="$prefix"
7064
if test "X$exec_prefix" = "XNONE"; then
7065
acl_final_exec_prefix='${prefix}'
7067
acl_final_exec_prefix="$exec_prefix"
7069
acl_save_prefix="$prefix"
7070
prefix="$acl_final_prefix"
7071
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
7072
prefix="$acl_save_prefix"
7075
# Check whether --with-gnu-ld or --without-gnu-ld was given.
7076
if test "${with_gnu_ld+set}" = set; then
7077
withval="$with_gnu_ld"
7078
test "$withval" = no || with_gnu_ld=yes
7082
# Prepare PATH_SEPARATOR.
7083
# The user is always right.
7084
if test "${PATH_SEPARATOR+set}" != set; then
7085
echo "#! /bin/sh" >conf$$.sh
7086
echo "exit 0" >>conf$$.sh
7088
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7096
if test "$GCC" = yes; then
7097
# Check if gcc -print-prog-name=ld gives a path.
7098
echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7099
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
7102
# gcc leaves a trailing carriage return which upsets mingw
7103
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7105
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7108
# Accept absolute paths.
7109
[\\/]* | [A-Za-z]:[\\/]*)
7110
re_direlt='/[^/][^/]*/\.\./'
7111
# Canonicalize the path of ld
7112
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
7113
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7114
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
7116
test -z "$LD" && LD="$ac_prog"
7119
# If it fails, then pretend we aren't using GCC.
7123
# If it is relative, then search for the first ld in PATH.
7127
elif test "$with_gnu_ld" = yes; then
7128
echo "$as_me:$LINENO: checking for GNU ld" >&5
7129
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7131
echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7132
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7134
if test "${acl_cv_path_LD+set}" = set; then
7135
echo $ECHO_N "(cached) $ECHO_C" >&6
7137
if test -z "$LD"; then
7138
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7139
for ac_dir in $PATH; do
7140
test -z "$ac_dir" && ac_dir=.
7141
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7142
acl_cv_path_LD="$ac_dir/$ac_prog"
7143
# Check to see if the program is GNU ld. I'd rather use --version,
7144
# but apparently some GNU ld's only accept -v.
7145
# Break only if it was the GNU/non-GNU ld that we prefer.
7146
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
7147
*GNU* | *'with BFD'*)
7148
test "$with_gnu_ld" != no && break ;;
7150
test "$with_gnu_ld" != yes && break ;;
7156
acl_cv_path_LD="$LD" # Let the user override the test with a path.
7160
LD="$acl_cv_path_LD"
7161
if test -n "$LD"; then
7162
echo "$as_me:$LINENO: result: $LD" >&5
7163
echo "${ECHO_T}$LD" >&6
7165
echo "$as_me:$LINENO: result: no" >&5
7166
echo "${ECHO_T}no" >&6
7168
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7169
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7170
{ (exit 1); exit 1; }; }
7171
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7172
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7173
if test "${acl_cv_prog_gnu_ld+set}" = set; then
7174
echo $ECHO_N "(cached) $ECHO_C" >&6
7176
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
7177
case `$LD -v 2>&1 </dev/null` in
7178
*GNU* | *'with BFD'*)
7179
acl_cv_prog_gnu_ld=yes ;;
7181
acl_cv_prog_gnu_ld=no ;;
7184
echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
7185
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
7186
with_gnu_ld=$acl_cv_prog_gnu_ld
7190
echo "$as_me:$LINENO: checking for shared library run path origin" >&5
7191
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
7192
if test "${acl_cv_rpath+set}" = set; then
7193
echo $ECHO_N "(cached) $ECHO_C" >&6
7196
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
7197
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7203
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
7204
echo "${ECHO_T}$acl_cv_rpath" >&6
7206
libext="$acl_cv_libext"
7207
shlibext="$acl_cv_shlibext"
7208
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
7209
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
7210
hardcode_direct="$acl_cv_hardcode_direct"
7211
hardcode_minus_L="$acl_cv_hardcode_minus_L"
7212
# Check whether --enable-rpath or --disable-rpath was given.
7213
if test "${enable_rpath+set}" = set; then
7214
enableval="$enable_rpath"
7228
acl_save_prefix="$prefix"
7229
prefix="$acl_final_prefix"
7230
acl_save_exec_prefix="$exec_prefix"
7231
exec_prefix="$acl_final_exec_prefix"
7233
eval additional_includedir=\"$includedir\"
7234
eval additional_libdir=\"$libdir\"
7236
exec_prefix="$acl_save_exec_prefix"
7237
prefix="$acl_save_prefix"
7240
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
7241
if test "${with_libiconv_prefix+set}" = set; then
7242
withval="$with_libiconv_prefix"
7244
if test "X$withval" = "Xno"; then
7247
if test "X$withval" = "X"; then
7249
acl_save_prefix="$prefix"
7250
prefix="$acl_final_prefix"
7251
acl_save_exec_prefix="$exec_prefix"
7252
exec_prefix="$acl_final_exec_prefix"
7254
eval additional_includedir=\"$includedir\"
7255
eval additional_libdir=\"$libdir\"
7257
exec_prefix="$acl_save_exec_prefix"
7258
prefix="$acl_save_prefix"
7261
additional_includedir="$withval/include"
7262
additional_libdir="$withval/lib"
7272
names_already_handled=
7273
names_next_round='iconv '
7274
while test -n "$names_next_round"; do
7275
names_this_round="$names_next_round"
7277
for name in $names_this_round; do
7279
for n in $names_already_handled; do
7280
if test "$n" = "$name"; then
7285
if test -z "$already_handled"; then
7286
names_already_handled="$names_already_handled $name"
7287
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7288
eval value=\"\$HAVE_LIB$uppername\"
7289
if test -n "$value"; then
7290
if test "$value" = yes; then
7291
eval value=\"\$LIB$uppername\"
7292
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
7293
eval value=\"\$LTLIB$uppername\"
7294
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
7303
if test $use_additional = yes; then
7304
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
7305
found_dir="$additional_libdir"
7306
found_so="$additional_libdir/lib$name.$shlibext"
7307
if test -f "$additional_libdir/lib$name.la"; then
7308
found_la="$additional_libdir/lib$name.la"
7311
if test -f "$additional_libdir/lib$name.$libext"; then
7312
found_dir="$additional_libdir"
7313
found_a="$additional_libdir/lib$name.$libext"
7314
if test -f "$additional_libdir/lib$name.la"; then
7315
found_la="$additional_libdir/lib$name.la"
7320
if test "X$found_dir" = "X"; then
7321
for x in $LDFLAGS $LTLIBICONV; do
7323
acl_save_prefix="$prefix"
7324
prefix="$acl_final_prefix"
7325
acl_save_exec_prefix="$exec_prefix"
7326
exec_prefix="$acl_final_exec_prefix"
7328
exec_prefix="$acl_save_exec_prefix"
7329
prefix="$acl_save_prefix"
7333
dir=`echo "X$x" | sed -e 's/^X-L//'`
7334
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
7336
found_so="$dir/lib$name.$shlibext"
7337
if test -f "$dir/lib$name.la"; then
7338
found_la="$dir/lib$name.la"
7341
if test -f "$dir/lib$name.$libext"; then
7343
found_a="$dir/lib$name.$libext"
7344
if test -f "$dir/lib$name.la"; then
7345
found_la="$dir/lib$name.la"
7351
if test "X$found_dir" != "X"; then
7356
if test "X$found_dir" != "X"; then
7357
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7358
if test "X$found_so" != "X"; then
7359
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
7360
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7363
for x in $ltrpathdirs; do
7364
if test "X$x" = "X$found_dir"; then
7369
if test -z "$haveit"; then
7370
ltrpathdirs="$ltrpathdirs $found_dir"
7372
if test "$hardcode_direct" = yes; then
7373
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7375
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
7376
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7378
for x in $rpathdirs; do
7379
if test "X$x" = "X$found_dir"; then
7384
if test -z "$haveit"; then
7385
rpathdirs="$rpathdirs $found_dir"
7389
for x in $LDFLAGS $LIBICONV; do
7391
acl_save_prefix="$prefix"
7392
prefix="$acl_final_prefix"
7393
acl_save_exec_prefix="$exec_prefix"
7394
exec_prefix="$acl_final_exec_prefix"
7396
exec_prefix="$acl_save_exec_prefix"
7397
prefix="$acl_save_prefix"
7399
if test "X$x" = "X-L$found_dir"; then
7404
if test -z "$haveit"; then
7405
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7407
if test "$hardcode_minus_L" != no; then
7408
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7410
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
7416
if test "X$found_a" != "X"; then
7417
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
7419
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7422
additional_includedir=
7423
case "$found_dir" in
7425
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
7426
additional_includedir="$basedir/include"
7429
if test "X$additional_includedir" != "X"; then
7430
if test "X$additional_includedir" != "X/usr/include"; then
7432
if test "X$additional_includedir" = "X/usr/local/include"; then
7433
if test -n "$GCC"; then
7435
linux*) haveit=yes;;
7439
if test -z "$haveit"; then
7440
for x in $CPPFLAGS $INCICONV; do
7442
acl_save_prefix="$prefix"
7443
prefix="$acl_final_prefix"
7444
acl_save_exec_prefix="$exec_prefix"
7445
exec_prefix="$acl_final_exec_prefix"
7447
exec_prefix="$acl_save_exec_prefix"
7448
prefix="$acl_save_prefix"
7450
if test "X$x" = "X-I$additional_includedir"; then
7455
if test -z "$haveit"; then
7456
if test -d "$additional_includedir"; then
7457
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7463
if test -n "$found_la"; then
7464
save_libdir="$libdir"
7466
*/* | *\\*) . "$found_la" ;;
7467
*) . "./$found_la" ;;
7469
libdir="$save_libdir"
7470
for dep in $dependency_libs; do
7473
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
7474
if test "X$additional_libdir" != "X/usr/lib"; then
7476
if test "X$additional_libdir" = "X/usr/local/lib"; then
7477
if test -n "$GCC"; then
7479
linux*) haveit=yes;;
7483
if test -z "$haveit"; then
7485
for x in $LDFLAGS $LIBICONV; do
7487
acl_save_prefix="$prefix"
7488
prefix="$acl_final_prefix"
7489
acl_save_exec_prefix="$exec_prefix"
7490
exec_prefix="$acl_final_exec_prefix"
7492
exec_prefix="$acl_save_exec_prefix"
7493
prefix="$acl_save_prefix"
7495
if test "X$x" = "X-L$additional_libdir"; then
7500
if test -z "$haveit"; then
7501
if test -d "$additional_libdir"; then
7502
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7506
for x in $LDFLAGS $LTLIBICONV; do
7508
acl_save_prefix="$prefix"
7509
prefix="$acl_final_prefix"
7510
acl_save_exec_prefix="$exec_prefix"
7511
exec_prefix="$acl_final_exec_prefix"
7513
exec_prefix="$acl_save_exec_prefix"
7514
prefix="$acl_save_prefix"
7516
if test "X$x" = "X-L$additional_libdir"; then
7521
if test -z "$haveit"; then
7522
if test -d "$additional_libdir"; then
7523
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7530
dir=`echo "X$dep" | sed -e 's/^X-R//'`
7531
if test "$enable_rpath" != no; then
7533
for x in $rpathdirs; do
7534
if test "X$x" = "X$dir"; then
7539
if test -z "$haveit"; then
7540
rpathdirs="$rpathdirs $dir"
7543
for x in $ltrpathdirs; do
7544
if test "X$x" = "X$dir"; then
7549
if test -z "$haveit"; then
7550
ltrpathdirs="$ltrpathdirs $dir"
7555
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7558
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7561
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
7562
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7568
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
7569
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7575
if test "X$rpathdirs" != "X"; then
7576
if test -n "$hardcode_libdir_separator"; then
7578
for found_dir in $rpathdirs; do
7579
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
7581
acl_save_libdir="$libdir"
7583
eval flag=\"$hardcode_libdir_flag_spec\"
7584
libdir="$acl_save_libdir"
7585
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
7587
for found_dir in $rpathdirs; do
7588
acl_save_libdir="$libdir"
7590
eval flag=\"$hardcode_libdir_flag_spec\"
7591
libdir="$acl_save_libdir"
7592
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
7596
if test "X$ltrpathdirs" != "X"; then
7597
for found_dir in $ltrpathdirs; do
7598
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7619
echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7620
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7621
# Check whether --enable-nls or --disable-nls was given.
7622
if test "${enable_nls+set}" = set; then
7623
enableval="$enable_nls"
7628
echo "$as_me:$LINENO: result: $USE_NLS" >&5
7629
echo "${ECHO_T}$USE_NLS" >&6
7638
if test "$USE_NLS" = "yes"; then
7639
gt_use_preinstalled_gnugettext=no
7646
echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
7647
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
7648
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
7649
echo $ECHO_N "(cached) $ECHO_C" >&6
7651
cat >conftest.$ac_ext <<_ACEOF
7654
cat confdefs.h >>conftest.$ac_ext
7655
cat >>conftest.$ac_ext <<_ACEOF
7656
/* end confdefs.h. */
7657
#include <libintl.h>
7658
extern int _nl_msg_cat_cntr;
7659
extern int *_nl_domain_bindings;
7663
bindtextdomain ("", "");
7664
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
7669
rm -f conftest.$ac_objext conftest$ac_exeext
7670
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7671
(eval $ac_link) 2>conftest.er1
7673
grep -v '^ *+' conftest.er1 >conftest.err
7675
cat conftest.err >&5
7676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677
(exit $ac_status); } &&
7678
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7679
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7682
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683
(exit $ac_status); }; } &&
7684
{ ac_try='test -s conftest$ac_exeext'
7685
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689
(exit $ac_status); }; }; then
7690
gt_cv_func_gnugettext1_libc=yes
7692
echo "$as_me: failed program was:" >&5
7693
sed 's/^/| /' conftest.$ac_ext >&5
7695
gt_cv_func_gnugettext1_libc=no
7697
rm -f conftest.err conftest.$ac_objext \
7698
conftest$ac_exeext conftest.$ac_ext
7700
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
7701
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
7703
if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
7709
am_save_CPPFLAGS="$CPPFLAGS"
7711
for element in $INCICONV; do
7713
for x in $CPPFLAGS; do
7715
acl_save_prefix="$prefix"
7716
prefix="$acl_final_prefix"
7717
acl_save_exec_prefix="$exec_prefix"
7718
exec_prefix="$acl_final_exec_prefix"
7720
exec_prefix="$acl_save_exec_prefix"
7721
prefix="$acl_save_prefix"
7723
if test "X$x" = "X$element"; then
7728
if test -z "$haveit"; then
7729
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7734
echo "$as_me:$LINENO: checking for iconv" >&5
7735
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
7736
if test "${am_cv_func_iconv+set}" = set; then
7737
echo $ECHO_N "(cached) $ECHO_C" >&6
7740
am_cv_func_iconv="no, consider installing GNU libiconv"
7742
cat >conftest.$ac_ext <<_ACEOF
7745
cat confdefs.h >>conftest.$ac_ext
7746
cat >>conftest.$ac_ext <<_ACEOF
7747
/* end confdefs.h. */
7753
iconv_t cd = iconv_open("","");
7754
iconv(cd,NULL,NULL,NULL,NULL);
7760
rm -f conftest.$ac_objext conftest$ac_exeext
7761
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7762
(eval $ac_link) 2>conftest.er1
7764
grep -v '^ *+' conftest.er1 >conftest.err
7766
cat conftest.err >&5
7767
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768
(exit $ac_status); } &&
7769
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7770
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774
(exit $ac_status); }; } &&
7775
{ ac_try='test -s conftest$ac_exeext'
7776
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7779
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780
(exit $ac_status); }; }; then
7781
am_cv_func_iconv=yes
7783
echo "$as_me: failed program was:" >&5
7784
sed 's/^/| /' conftest.$ac_ext >&5
7787
rm -f conftest.err conftest.$ac_objext \
7788
conftest$ac_exeext conftest.$ac_ext
7789
if test "$am_cv_func_iconv" != yes; then
7790
am_save_LIBS="$LIBS"
7791
LIBS="$LIBS $LIBICONV"
7792
cat >conftest.$ac_ext <<_ACEOF
7795
cat confdefs.h >>conftest.$ac_ext
7796
cat >>conftest.$ac_ext <<_ACEOF
7797
/* end confdefs.h. */
7803
iconv_t cd = iconv_open("","");
7804
iconv(cd,NULL,NULL,NULL,NULL);
7810
rm -f conftest.$ac_objext conftest$ac_exeext
7811
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7812
(eval $ac_link) 2>conftest.er1
7814
grep -v '^ *+' conftest.er1 >conftest.err
7816
cat conftest.err >&5
7817
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818
(exit $ac_status); } &&
7819
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7820
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7823
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824
(exit $ac_status); }; } &&
7825
{ ac_try='test -s conftest$ac_exeext'
7826
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7829
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830
(exit $ac_status); }; }; then
7832
am_cv_func_iconv=yes
7834
echo "$as_me: failed program was:" >&5
7835
sed 's/^/| /' conftest.$ac_ext >&5
7838
rm -f conftest.err conftest.$ac_objext \
7839
conftest$ac_exeext conftest.$ac_ext
7840
LIBS="$am_save_LIBS"
7844
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
7845
echo "${ECHO_T}$am_cv_func_iconv" >&6
7846
if test "$am_cv_func_iconv" = yes; then
7848
cat >>confdefs.h <<\_ACEOF
7849
#define HAVE_ICONV 1
7853
if test "$am_cv_lib_iconv" = yes; then
7854
echo "$as_me:$LINENO: checking how to link with libiconv" >&5
7855
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
7856
echo "$as_me:$LINENO: result: $LIBICONV" >&5
7857
echo "${ECHO_T}$LIBICONV" >&6
7859
CPPFLAGS="$am_save_CPPFLAGS"
7871
acl_save_prefix="$prefix"
7872
prefix="$acl_final_prefix"
7873
acl_save_exec_prefix="$exec_prefix"
7874
exec_prefix="$acl_final_exec_prefix"
7876
eval additional_includedir=\"$includedir\"
7877
eval additional_libdir=\"$libdir\"
7879
exec_prefix="$acl_save_exec_prefix"
7880
prefix="$acl_save_prefix"
7883
# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
7884
if test "${with_libintl_prefix+set}" = set; then
7885
withval="$with_libintl_prefix"
7887
if test "X$withval" = "Xno"; then
7890
if test "X$withval" = "X"; then
7892
acl_save_prefix="$prefix"
7893
prefix="$acl_final_prefix"
7894
acl_save_exec_prefix="$exec_prefix"
7895
exec_prefix="$acl_final_exec_prefix"
7897
eval additional_includedir=\"$includedir\"
7898
eval additional_libdir=\"$libdir\"
7900
exec_prefix="$acl_save_exec_prefix"
7901
prefix="$acl_save_prefix"
7904
additional_includedir="$withval/include"
7905
additional_libdir="$withval/lib"
7915
names_already_handled=
7916
names_next_round='intl '
7917
while test -n "$names_next_round"; do
7918
names_this_round="$names_next_round"
7920
for name in $names_this_round; do
7922
for n in $names_already_handled; do
7923
if test "$n" = "$name"; then
7928
if test -z "$already_handled"; then
7929
names_already_handled="$names_already_handled $name"
7930
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7931
eval value=\"\$HAVE_LIB$uppername\"
7932
if test -n "$value"; then
7933
if test "$value" = yes; then
7934
eval value=\"\$LIB$uppername\"
7935
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
7936
eval value=\"\$LTLIB$uppername\"
7937
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
7946
if test $use_additional = yes; then
7947
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
7948
found_dir="$additional_libdir"
7949
found_so="$additional_libdir/lib$name.$shlibext"
7950
if test -f "$additional_libdir/lib$name.la"; then
7951
found_la="$additional_libdir/lib$name.la"
7954
if test -f "$additional_libdir/lib$name.$libext"; then
7955
found_dir="$additional_libdir"
7956
found_a="$additional_libdir/lib$name.$libext"
7957
if test -f "$additional_libdir/lib$name.la"; then
7958
found_la="$additional_libdir/lib$name.la"
7963
if test "X$found_dir" = "X"; then
7964
for x in $LDFLAGS $LTLIBINTL; do
7966
acl_save_prefix="$prefix"
7967
prefix="$acl_final_prefix"
7968
acl_save_exec_prefix="$exec_prefix"
7969
exec_prefix="$acl_final_exec_prefix"
7971
exec_prefix="$acl_save_exec_prefix"
7972
prefix="$acl_save_prefix"
7976
dir=`echo "X$x" | sed -e 's/^X-L//'`
7977
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
7979
found_so="$dir/lib$name.$shlibext"
7980
if test -f "$dir/lib$name.la"; then
7981
found_la="$dir/lib$name.la"
7984
if test -f "$dir/lib$name.$libext"; then
7986
found_a="$dir/lib$name.$libext"
7987
if test -f "$dir/lib$name.la"; then
7988
found_la="$dir/lib$name.la"
7994
if test "X$found_dir" != "X"; then
7999
if test "X$found_dir" != "X"; then
8000
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8001
if test "X$found_so" != "X"; then
8002
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
8003
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8006
for x in $ltrpathdirs; do
8007
if test "X$x" = "X$found_dir"; then
8012
if test -z "$haveit"; then
8013
ltrpathdirs="$ltrpathdirs $found_dir"
8015
if test "$hardcode_direct" = yes; then
8016
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8018
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
8019
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8021
for x in $rpathdirs; do
8022
if test "X$x" = "X$found_dir"; then
8027
if test -z "$haveit"; then
8028
rpathdirs="$rpathdirs $found_dir"
8032
for x in $LDFLAGS $LIBINTL; do
8034
acl_save_prefix="$prefix"
8035
prefix="$acl_final_prefix"
8036
acl_save_exec_prefix="$exec_prefix"
8037
exec_prefix="$acl_final_exec_prefix"
8039
exec_prefix="$acl_save_exec_prefix"
8040
prefix="$acl_save_prefix"
8042
if test "X$x" = "X-L$found_dir"; then
8047
if test -z "$haveit"; then
8048
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8050
if test "$hardcode_minus_L" != no; then
8051
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8053
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8059
if test "X$found_a" != "X"; then
8060
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
8062
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8065
additional_includedir=
8066
case "$found_dir" in
8068
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
8069
additional_includedir="$basedir/include"
8072
if test "X$additional_includedir" != "X"; then
8073
if test "X$additional_includedir" != "X/usr/include"; then
8075
if test "X$additional_includedir" = "X/usr/local/include"; then
8076
if test -n "$GCC"; then
8078
linux*) haveit=yes;;
8082
if test -z "$haveit"; then
8083
for x in $CPPFLAGS $INCINTL; do
8085
acl_save_prefix="$prefix"
8086
prefix="$acl_final_prefix"
8087
acl_save_exec_prefix="$exec_prefix"
8088
exec_prefix="$acl_final_exec_prefix"
8090
exec_prefix="$acl_save_exec_prefix"
8091
prefix="$acl_save_prefix"
8093
if test "X$x" = "X-I$additional_includedir"; then
8098
if test -z "$haveit"; then
8099
if test -d "$additional_includedir"; then
8100
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8106
if test -n "$found_la"; then
8107
save_libdir="$libdir"
8109
*/* | *\\*) . "$found_la" ;;
8110
*) . "./$found_la" ;;
8112
libdir="$save_libdir"
8113
for dep in $dependency_libs; do
8116
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
8117
if test "X$additional_libdir" != "X/usr/lib"; then
8119
if test "X$additional_libdir" = "X/usr/local/lib"; then
8120
if test -n "$GCC"; then
8122
linux*) haveit=yes;;
8126
if test -z "$haveit"; then
8128
for x in $LDFLAGS $LIBINTL; do
8130
acl_save_prefix="$prefix"
8131
prefix="$acl_final_prefix"
8132
acl_save_exec_prefix="$exec_prefix"
8133
exec_prefix="$acl_final_exec_prefix"
8135
exec_prefix="$acl_save_exec_prefix"
8136
prefix="$acl_save_prefix"
8138
if test "X$x" = "X-L$additional_libdir"; then
8143
if test -z "$haveit"; then
8144
if test -d "$additional_libdir"; then
8145
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
8149
for x in $LDFLAGS $LTLIBINTL; do
8151
acl_save_prefix="$prefix"
8152
prefix="$acl_final_prefix"
8153
acl_save_exec_prefix="$exec_prefix"
8154
exec_prefix="$acl_final_exec_prefix"
8156
exec_prefix="$acl_save_exec_prefix"
8157
prefix="$acl_save_prefix"
8159
if test "X$x" = "X-L$additional_libdir"; then
8164
if test -z "$haveit"; then
8165
if test -d "$additional_libdir"; then
8166
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
8173
dir=`echo "X$dep" | sed -e 's/^X-R//'`
8174
if test "$enable_rpath" != no; then
8176
for x in $rpathdirs; do
8177
if test "X$x" = "X$dir"; then
8182
if test -z "$haveit"; then
8183
rpathdirs="$rpathdirs $dir"
8186
for x in $ltrpathdirs; do
8187
if test "X$x" = "X$dir"; then
8192
if test -z "$haveit"; then
8193
ltrpathdirs="$ltrpathdirs $dir"
8198
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8201
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8204
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
8205
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
8211
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8212
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
8218
if test "X$rpathdirs" != "X"; then
8219
if test -n "$hardcode_libdir_separator"; then
8221
for found_dir in $rpathdirs; do
8222
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
8224
acl_save_libdir="$libdir"
8226
eval flag=\"$hardcode_libdir_flag_spec\"
8227
libdir="$acl_save_libdir"
8228
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
8230
for found_dir in $rpathdirs; do
8231
acl_save_libdir="$libdir"
8233
eval flag=\"$hardcode_libdir_flag_spec\"
8234
libdir="$acl_save_libdir"
8235
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
8239
if test "X$ltrpathdirs" != "X"; then
8240
for found_dir in $ltrpathdirs; do
8241
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
8245
echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
8246
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
8247
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
8248
echo $ECHO_N "(cached) $ECHO_C" >&6
8250
gt_save_CPPFLAGS="$CPPFLAGS"
8251
CPPFLAGS="$CPPFLAGS $INCINTL"
8252
gt_save_LIBS="$LIBS"
8253
LIBS="$LIBS $LIBINTL"
8254
cat >conftest.$ac_ext <<_ACEOF
8257
cat confdefs.h >>conftest.$ac_ext
8258
cat >>conftest.$ac_ext <<_ACEOF
8259
/* end confdefs.h. */
8260
#include <libintl.h>
8261
extern int _nl_msg_cat_cntr;
8266
const char *_nl_expand_alias ();
8270
bindtextdomain ("", "");
8271
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
8276
rm -f conftest.$ac_objext conftest$ac_exeext
8277
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8278
(eval $ac_link) 2>conftest.er1
8280
grep -v '^ *+' conftest.er1 >conftest.err
8282
cat conftest.err >&5
8283
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284
(exit $ac_status); } &&
8285
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8286
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8289
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290
(exit $ac_status); }; } &&
8291
{ ac_try='test -s conftest$ac_exeext'
8292
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8295
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296
(exit $ac_status); }; }; then
8297
gt_cv_func_gnugettext1_libintl=yes
8299
echo "$as_me: failed program was:" >&5
8300
sed 's/^/| /' conftest.$ac_ext >&5
8302
gt_cv_func_gnugettext1_libintl=no
8304
rm -f conftest.err conftest.$ac_objext \
8305
conftest$ac_exeext conftest.$ac_ext
8306
if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
8307
LIBS="$LIBS $LIBICONV"
8308
cat >conftest.$ac_ext <<_ACEOF
8311
cat confdefs.h >>conftest.$ac_ext
8312
cat >>conftest.$ac_ext <<_ACEOF
8313
/* end confdefs.h. */
8314
#include <libintl.h>
8315
extern int _nl_msg_cat_cntr;
8320
const char *_nl_expand_alias ();
8324
bindtextdomain ("", "");
8325
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
8330
rm -f conftest.$ac_objext conftest$ac_exeext
8331
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8332
(eval $ac_link) 2>conftest.er1
8334
grep -v '^ *+' conftest.er1 >conftest.err
8336
cat conftest.err >&5
8337
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338
(exit $ac_status); } &&
8339
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8340
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8343
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344
(exit $ac_status); }; } &&
8345
{ ac_try='test -s conftest$ac_exeext'
8346
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8349
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350
(exit $ac_status); }; }; then
8351
LIBINTL="$LIBINTL $LIBICONV"
8352
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
8353
gt_cv_func_gnugettext1_libintl=yes
8356
echo "$as_me: failed program was:" >&5
8357
sed 's/^/| /' conftest.$ac_ext >&5
8360
rm -f conftest.err conftest.$ac_objext \
8361
conftest$ac_exeext conftest.$ac_ext
8363
CPPFLAGS="$gt_save_CPPFLAGS"
8364
LIBS="$gt_save_LIBS"
8366
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
8367
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
8370
if test "$gt_cv_func_gnugettext1_libc" = "yes" \
8371
|| { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
8372
&& test "$PACKAGE" != gettext-runtime \
8373
&& test "$PACKAGE" != gettext-tools; }; then
8374
gt_use_preinstalled_gnugettext=yes
8383
if test "$gt_use_preinstalled_gnugettext" = "yes" \
8384
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
8386
cat >>confdefs.h <<\_ACEOF
8387
#define ENABLE_NLS 1
8395
echo "$as_me:$LINENO: checking whether to use NLS" >&5
8396
echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
8397
echo "$as_me:$LINENO: result: $USE_NLS" >&5
8398
echo "${ECHO_T}$USE_NLS" >&6
8399
if test "$USE_NLS" = "yes"; then
8400
echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
8401
echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
8402
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8403
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
8404
gt_source="external libintl"
8409
gt_source="included intl directory"
8411
echo "$as_me:$LINENO: result: $gt_source" >&5
8412
echo "${ECHO_T}$gt_source" >&6
8415
if test "$USE_NLS" = "yes"; then
8417
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8418
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
8419
echo "$as_me:$LINENO: checking how to link with libintl" >&5
8420
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
8421
echo "$as_me:$LINENO: result: $LIBINTL" >&5
8422
echo "${ECHO_T}$LIBINTL" >&6
8424
for element in $INCINTL; do
8426
for x in $CPPFLAGS; do
8428
acl_save_prefix="$prefix"
8429
prefix="$acl_final_prefix"
8430
acl_save_exec_prefix="$exec_prefix"
8431
exec_prefix="$acl_final_exec_prefix"
8433
exec_prefix="$acl_save_exec_prefix"
8434
prefix="$acl_save_prefix"
8436
if test "X$x" = "X$element"; then
8441
if test -z "$haveit"; then
8442
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
8449
cat >>confdefs.h <<\_ACEOF
8450
#define HAVE_GETTEXT 1
8454
cat >>confdefs.h <<\_ACEOF
8455
#define HAVE_DCGETTEXT 1
8472
if test x"$USE_NLS" = "xyes"; then
8473
cat >>confdefs.h <<\_ACEOF
8479
# Extract the first word of "bash", so it can be a program name with args.
8480
set dummy bash; ac_word=$2
8481
echo "$as_me:$LINENO: checking for $ac_word" >&5
8482
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8483
if test "${ac_cv_path_BASH+set}" = set; then
8484
echo $ECHO_N "(cached) $ECHO_C" >&6
8488
ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
8491
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8495
test -z "$as_dir" && as_dir=.
8496
for ac_exec_ext in '' $ac_executable_extensions; do
8497
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8498
ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
8499
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8508
BASH=$ac_cv_path_BASH
8510
if test -n "$BASH"; then
8511
echo "$as_me:$LINENO: result: $BASH" >&5
8512
echo "${ECHO_T}$BASH" >&6
8514
echo "$as_me:$LINENO: result: no" >&5
8515
echo "${ECHO_T}no" >&6
8519
ac_config_files="$ac_config_files environment.mak:buildlib/environment.mak.in makefile:buildlib/makefile.in"
8520
ac_config_commands="$ac_config_commands default"
8521
cat >confcache <<\_ACEOF
2299
8522
# This file is a shell script that caches the results of configure
2300
8523
# tests run on this system so they can be shared between configure
2301
# scripts and configure runs. It is not useful on other systems.
2302
# If it contains results you don't want to keep, you may remove or edit it.
2304
# By default, configure uses ./config.cache as the cache file,
2305
# creating it if it does not exist already. You can give configure
2306
# the --cache-file=FILE option to use a different cache file; that is
2307
# what configure does when it calls configure scripts in
2308
# subdirectories, so they share the cache.
2309
# Giving --cache-file=/dev/null disables caching, for debugging configure.
2310
# config.status only pays attention to the cache file if you give it the
2311
# --recheck option to rerun configure.
8524
# scripts and configure runs, see configure's option --config-cache.
8525
# It is not useful on other systems. If it contains results you don't
8526
# want to keep, you may remove or edit it.
8528
# config.status only pays attention to the cache file if you give it
8529
# the --recheck option to rerun configure.
8531
# `ac_cv_env_foo' variables (set or unset) will be overridden when
8532
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2314
8537
# The following way of writing the cache mishandles newlines in values,
2315
8538
# but we know of no workaround that is simple, portable, and efficient.
2316
8539
# So, don't put newlines in cache variables' values.
2317
8540
# Ultrix sh set writes to stderr and can't be redirected directly,
2318
8541
# and sets the high bit in the cache file unless we assign to the vars.
2320
case `(ac_space=' '; set | grep ac_space) 2>&1` in
2322
# `set' does not quote correctly, so add quotes (double-quote substitution
2323
# turns \\\\ into \\, and sed turns \\ into \).
2325
-e "s/'/'\\\\''/g" \
2326
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2329
# `set' quotes correctly as required by POSIX, so do not add quotes.
2330
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2333
if cmp -s $cache_file confcache; then
8544
case `(ac_space=' '; set | grep ac_space) 2>&1` in
8546
# `set' does not quote correctly, so add quotes (double-quote
8547
# substitution turns \\\\ into \\, and sed turns \\ into \).
8550
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8553
# `set' quotes correctly as required by POSIX, so do not add quotes.
8555
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8562
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8564
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8566
if diff $cache_file confcache >/dev/null 2>&1; then :; else
2336
8567
if test -w $cache_file; then
2337
echo "updating cache $cache_file"
2338
cat confcache > $cache_file
8568
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8569
cat confcache >$cache_file
2340
8571
echo "not updating unwritable cache $cache_file"
2343
8574
rm -f confcache
2345
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2347
8576
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2348
8577
# Let make expand exec_prefix.
2349
8578
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2351
# Any assignment to VPATH causes Sun make to only execute
2352
# the first set of double-colon rules, so remove it if not needed.
2353
# If there is a colon in the path, we need to keep it.
8580
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8581
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8582
# trailing colons and then remove the whole line if VPATH becomes empty
8583
# (actually we leave an empty line to preserve line numbers).
2354
8584
if test "x$srcdir" = x.; then
2355
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
8585
ac_vpsub='/^[ ]*VPATH[ ]*=/{
8586
s/:*\$(srcdir):*/:/;
8587
s/:*\${srcdir}:*/:/;
8589
s/^\([^=]*=[ ]*\):*/\1/;
2358
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2360
8595
DEFS=-DHAVE_CONFIG_H
2362
# Without the "./", some shells look in PATH for config.status.
8599
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8600
# 1. Remove the extension, and $U if already installed.
8601
ac_i=`echo "$ac_i" |
8602
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8604
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8605
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8609
LTLIBOBJS=$ac_ltlibobjs
2363
8613
: ${CONFIG_STATUS=./config.status}
2365
echo creating $CONFIG_STATUS
2366
rm -f $CONFIG_STATUS
2367
cat > $CONFIG_STATUS <<EOF
2369
# Generated automatically by configure.
8614
ac_clean_files_save=$ac_clean_files
8615
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8616
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8617
echo "$as_me: creating $CONFIG_STATUS" >&6;}
8618
cat >$CONFIG_STATUS <<_ACEOF
8620
# Generated by $as_me.
2370
8621
# Run this file to recreate the current configuration.
2371
# This directory was configured as follows,
2372
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2374
# $0 $ac_configure_args
2376
8622
# Compiler output produced by configure, useful for debugging
2377
# configure, is in ./config.log if it exists.
2379
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2382
case "\$ac_option" in
8623
# configure, is in config.log if it exists.
8628
SHELL=\${CONFIG_SHELL-$SHELL}
8631
cat >>$CONFIG_STATUS <<\_ACEOF
8632
## --------------------- ##
8633
## M4sh Initialization. ##
8634
## --------------------- ##
8636
# Be Bourne compatible
8637
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8640
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8641
# is contrary to our usage. Disable this feature.
8642
alias -g '${1+"$@"}'='"$@"'
8643
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8646
DUALCASE=1; export DUALCASE # for MKS sh
8648
# Support unset when possible.
8649
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8656
# Work around bugs in pre-3.0 UWIN ksh.
8657
$as_unset ENV MAIL MAILPATH
8664
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8665
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8666
LC_TELEPHONE LC_TIME
8668
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8669
eval $as_var=C; export $as_var
8675
# Required to use basename.
8676
if expr a : '\(a\)' >/dev/null 2>&1; then
8682
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8683
as_basename=basename
8689
# Name of the executable.
8690
as_me=`$as_basename "$0" ||
8691
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8692
X"$0" : 'X\(//\)$' \| \
8693
X"$0" : 'X\(/\)$' \| \
8694
. : '\(.\)' 2>/dev/null ||
8696
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8697
/^X\/\(\/\/\)$/{ s//\1/; q; }
8698
/^X\/\(\/\).*/{ s//\1/; q; }
8702
# PATH needs CR, and LINENO needs CR and PATH.
8703
# Avoid depending upon Character Ranges.
8704
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8705
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8706
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8707
as_cr_digits='0123456789'
8708
as_cr_alnum=$as_cr_Letters$as_cr_digits
8710
# The user is always right.
8711
if test "${PATH_SEPARATOR+set}" != set; then
8712
echo "#! /bin/sh" >conf$$.sh
8713
echo "exit 0" >>conf$$.sh
8715
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8726
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8727
test "x$as_lineno_1" != "x$as_lineno_2" &&
8728
test "x$as_lineno_3" = "x$as_lineno_2" || {
8729
# Find who we are. Look in the path if we contain no path at all
8732
*[\\/]* ) as_myself=$0 ;;
8733
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8737
test -z "$as_dir" && as_dir=.
8738
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8743
# We did not find ourselves, most probably we were run as `sh COMMAND'
8744
# in which case we are not to be found in the path.
8745
if test "x$as_myself" = x; then
8748
if test ! -f "$as_myself"; then
8749
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8750
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8751
{ (exit 1); exit 1; }; }
8753
case $CONFIG_SHELL in
8755
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8756
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8759
test -z "$as_dir" && as_dir=.
8760
for as_base in sh bash ksh sh5; do
8763
if ("$as_dir/$as_base" -c '
8766
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8767
test "x$as_lineno_1" != "x$as_lineno_2" &&
8768
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
8769
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8770
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8771
CONFIG_SHELL=$as_dir/$as_base
8773
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8781
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8782
# uniformly replaced by the line number. The first 'sed' inserts a
8783
# line-number line before each line; the second 'sed' does the real
8784
# work. The second script uses 'N' to pair each line-number line
8785
# with the numbered line, and appends trailing '-' during
8786
# substitution so that $LINENO is not a special case at line end.
8787
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8788
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8789
sed '=' <$as_myself |
8794
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8797
s,^['$as_cr_digits']*\n,,
8799
chmod +x $as_me.lineno ||
8800
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8801
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8802
{ (exit 1); exit 1; }; }
8804
# Don't try to exec as it changes $[0], causing all sort of problems
8805
# (the dirname of $[0] is not the place where we might find the
8806
# original and so on. Autoconf is especially sensible to this).
8808
# Exit status is that of the last command.
8813
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8814
*c*,-n*) ECHO_N= ECHO_C='
8816
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8817
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
8820
if expr a : '\(a\)' >/dev/null 2>&1; then
8826
rm -f conf$$ conf$$.exe conf$$.file
8828
if ln -s conf$$.file conf$$ 2>/dev/null; then
8829
# We could just check for DJGPP; but this test a) works b) is more generic
8830
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8831
if test -f conf$$.exe; then
8832
# Don't use ln at all; we don't have any links
8837
elif ln conf$$.file conf$$ 2>/dev/null; then
8842
rm -f conf$$ conf$$.exe conf$$.file
8844
if mkdir -p . 2>/dev/null; then
8847
test -d ./-p && rmdir ./-p
8851
as_executable_p="test -f"
8853
# Sed expression to map a string onto a valid CPP name.
8854
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8856
# Sed expression to map a string onto a valid variable name.
8857
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8861
# We need space, tab and new line, in precisely that order.
8871
# Open the log real soon, to keep \$[0] and so on meaningful, and to
8872
# report actual input values of CONFIG_FILES etc. instead of their
8873
# values after options handling. Logging --version etc. is OK.
8877
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8878
## Running $as_me. ##
8883
This file was extended by $as_me, which was
8884
generated by GNU Autoconf 2.59. Invocation command line was
8886
CONFIG_FILES = $CONFIG_FILES
8887
CONFIG_HEADERS = $CONFIG_HEADERS
8888
CONFIG_LINKS = $CONFIG_LINKS
8889
CONFIG_COMMANDS = $CONFIG_COMMANDS
8893
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8897
# Files that config.status was made for.
8898
if test -n "$ac_config_files"; then
8899
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8902
if test -n "$ac_config_headers"; then
8903
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8906
if test -n "$ac_config_links"; then
8907
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8910
if test -n "$ac_config_commands"; then
8911
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8914
cat >>$CONFIG_STATUS <<\_ACEOF
8917
\`$as_me' instantiates files from templates according to the
8918
current configuration.
8920
Usage: $0 [OPTIONS] [FILE]...
8922
-h, --help print this help, then exit
8923
-V, --version print version number, then exit
8924
-q, --quiet do not print progress messages
8925
-d, --debug don't remove temporary files
8926
--recheck update $as_me by reconfiguring in the same conditions
8927
--file=FILE[:TEMPLATE]
8928
instantiate the configuration file FILE
8929
--header=FILE[:TEMPLATE]
8930
instantiate the configuration header FILE
8932
Configuration files:
8935
Configuration headers:
8938
Configuration commands:
8941
Report bugs to <bug-autoconf@gnu.org>."
8944
cat >>$CONFIG_STATUS <<_ACEOF
8947
configured by $0, generated by GNU Autoconf 2.59,
8948
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8950
Copyright (C) 2003 Free Software Foundation, Inc.
8951
This config.status script is free software; the Free Software Foundation
8952
gives unlimited permission to copy, distribute and modify it."
8957
cat >>$CONFIG_STATUS <<\_ACEOF
8958
# If no file are specified by the user, then we need to provide default
8959
# value. By we need to know if files were specified by the user.
8965
ac_option=`expr "x$1" : 'x\([^=]*\)='`
8966
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8974
*) # This is not an option, so the user has probably given explicit
8977
ac_need_defaults=false;;
8981
# Handling of the options.
8983
cat >>$CONFIG_STATUS <<\_ACEOF
2383
8984
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2384
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2385
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2386
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2387
echo "$CONFIG_STATUS generated by autoconf version 2.13"
2389
-help | --help | --hel | --he | --h)
2390
echo "\$ac_cs_usage"; exit 0 ;;
2391
*) echo "\$ac_cs_usage"; exit 1 ;;
2395
ac_given_srcdir=$srcdir
2397
trap 'rm -fr `echo "environment.mak:buildlib/environment.mak.in makefile:buildlib/makefile.in include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2399
cat >> $CONFIG_STATUS <<EOF
2401
# Protect against being on the right side of a sed subst in config.status.
2402
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2403
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
8986
--version | --vers* | -V )
8987
echo "$ac_cs_version"; exit 0 ;;
8989
# Conflict between --help and --header
8990
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
8991
Try \`$0 --help' for more information." >&5
8992
echo "$as_me: error: ambiguous option: $1
8993
Try \`$0 --help' for more information." >&2;}
8994
{ (exit 1); exit 1; }; };;
8995
--help | --hel | -h )
8996
echo "$ac_cs_usage"; exit 0 ;;
8997
--debug | --d* | -d )
8999
--file | --fil | --fi | --f )
9001
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9002
ac_need_defaults=false;;
9003
--header | --heade | --head | --hea )
9005
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9006
ac_need_defaults=false;;
9007
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
9008
| -silent | --silent | --silen | --sile | --sil | --si | --s)
9012
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9013
Try \`$0 --help' for more information." >&5
9014
echo "$as_me: error: unrecognized option: $1
9015
Try \`$0 --help' for more information." >&2;}
9016
{ (exit 1); exit 1; }; } ;;
9018
*) ac_config_targets="$ac_config_targets $1" ;;
9024
ac_configure_extra_args=
9026
if $ac_cs_silent; then
9028
ac_configure_extra_args="$ac_configure_extra_args --silent"
9032
cat >>$CONFIG_STATUS <<_ACEOF
9033
if \$ac_cs_recheck; then
9034
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9035
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9040
cat >>$CONFIG_STATUS <<_ACEOF
9042
# INIT-COMMANDS section.
9045
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
9046
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9048
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9049
# Capture the value of LINGUAS because we need it to compute CATALOGS.
9050
LINGUAS="${LINGUAS-%UNSET%}"
9057
cat >>$CONFIG_STATUS <<\_ACEOF
9058
for ac_config_target in $ac_config_targets
9060
case "$ac_config_target" in
9061
# Handling of arguments.
9062
"environment.mak" ) CONFIG_FILES="$CONFIG_FILES environment.mak:buildlib/environment.mak.in" ;;
9063
"makefile" ) CONFIG_FILES="$CONFIG_FILES makefile:buildlib/makefile.in" ;;
9064
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
9065
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
9066
"include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h:buildlib/config.h.in" ;;
9067
"include/apti18n.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/apti18n.h:buildlib/apti18n.h.in" ;;
9068
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9069
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9070
{ (exit 1); exit 1; }; };;
9074
# If the user did not use the arguments to specify the items to instantiate,
9075
# then the envvar interface is used. Set only those that are not.
9076
# We use the long form for the default assignment because of an extremely
9077
# bizarre bug on SunOS 4.1.3.
9078
if $ac_need_defaults; then
9079
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9080
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9081
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9084
# Have a temporary directory for convenience. Make it in the build tree
9085
# simply because there is no reason to put it here, and in addition,
9086
# creating and moving files from /tmp can sometimes cause problems.
9087
# Create a temporary directory, and hook for its removal unless debugging.
9090
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9091
trap '{ (exit 1); exit 1; }' 1 2 13 15
9094
# Create a (secure) tmp directory for tmp files.
9097
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9098
test -n "$tmp" && test -d "$tmp"
9101
tmp=./confstat$$-$RANDOM
9102
(umask 077 && mkdir $tmp)
9105
echo "$me: cannot create a temporary directory in ." >&2
9106
{ (exit 1); exit 1; }
9111
cat >>$CONFIG_STATUS <<_ACEOF
9114
# CONFIG_FILES section.
9117
# No need to generate the scripts if there are no CONFIG_FILES.
9118
# This happens for instance when ./config.status config.h
9119
if test -n "\$CONFIG_FILES"; then
9120
# Protect against being on the right side of a sed subst in config.status.
9121
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9122
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9123
s,@SHELL@,$SHELL,;t t
9124
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9125
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9126
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9127
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9128
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9129
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9130
s,@exec_prefix@,$exec_prefix,;t t
9131
s,@prefix@,$prefix,;t t
9132
s,@program_transform_name@,$program_transform_name,;t t
9133
s,@bindir@,$bindir,;t t
9134
s,@sbindir@,$sbindir,;t t
9135
s,@libexecdir@,$libexecdir,;t t
9136
s,@datadir@,$datadir,;t t
9137
s,@sysconfdir@,$sysconfdir,;t t
9138
s,@sharedstatedir@,$sharedstatedir,;t t
9139
s,@localstatedir@,$localstatedir,;t t
9140
s,@libdir@,$libdir,;t t
9141
s,@includedir@,$includedir,;t t
9142
s,@oldincludedir@,$oldincludedir,;t t
9143
s,@infodir@,$infodir,;t t
9144
s,@mandir@,$mandir,;t t
9145
s,@build_alias@,$build_alias,;t t
9146
s,@host_alias@,$host_alias,;t t
9147
s,@target_alias@,$target_alias,;t t
9149
s,@ECHO_C@,$ECHO_C,;t t
9150
s,@ECHO_N@,$ECHO_N,;t t
9151
s,@ECHO_T@,$ECHO_T,;t t
9153
s,@PACKAGE@,$PACKAGE,;t t
9154
s,@build@,$build,;t t
9155
s,@build_cpu@,$build_cpu,;t t
9156
s,@build_vendor@,$build_vendor,;t t
9157
s,@build_os@,$build_os,;t t
9159
s,@host_cpu@,$host_cpu,;t t
9160
s,@host_vendor@,$host_vendor,;t t
9161
s,@host_os@,$host_os,;t t
9162
s,@target@,$target,;t t
9163
s,@target_cpu@,$target_cpu,;t t
9164
s,@target_vendor@,$target_vendor,;t t
9165
s,@target_os@,$target_os,;t t
9167
s,@CFLAGS@,$CFLAGS,;t t
9168
s,@LDFLAGS@,$LDFLAGS,;t t
9169
s,@CPPFLAGS@,$CPPFLAGS,;t t
9170
s,@ac_ct_CC@,$ac_ct_CC,;t t
9171
s,@EXEEXT@,$EXEEXT,;t t
9172
s,@OBJEXT@,$OBJEXT,;t t
9174
s,@CXXFLAGS@,$CXXFLAGS,;t t
9175
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
9177
s,@RANLIB@,$RANLIB,;t t
9178
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9180
s,@ac_ct_AR@,$ac_ct_AR,;t t
9181
s,@SOCKETLIBS@,$SOCKETLIBS,;t t
9182
s,@PTHREADLIB@,$PTHREADLIB,;t t
9183
s,@EGREP@,$EGREP,;t t
9184
s,@BDBLIB@,$BDBLIB,;t t
9185
s,@HAVE_STATVFS@,$HAVE_STATVFS,;t t
9186
s,@HAVE_TIMEGM@,$HAVE_TIMEGM,;t t
9187
s,@HAVE_C9X@,$HAVE_C9X,;t t
9188
s,@NEED_SOCKLEN_T_DEFINE@,$NEED_SOCKLEN_T_DEFINE,;t t
9189
s,@DEBIANDOC_HTML@,$DEBIANDOC_HTML,;t t
9190
s,@DEBIANDOC_TEXT@,$DEBIANDOC_TEXT,;t t
9191
s,@DOCBOOK2MAN@,$DOCBOOK2MAN,;t t
9192
s,@XMLTO@,$XMLTO,;t t
9193
s,@GETCONF@,$GETCONF,;t t
9194
s,@NUM_CPUS@,$NUM_CPUS,;t t
9195
s,@PROC_MULTIPLY@,$PROC_MULTIPLY,;t t
9196
s,@NUM_PROCS@,$NUM_PROCS,;t t
9197
s,@GLIBC_VER@,$GLIBC_VER,;t t
9198
s,@LIBSTDCPP_VER@,$LIBSTDCPP_VER,;t t
9199
s,@GCC3DEP@,$GCC3DEP,;t t
9200
s,@SET_MAKE@,$SET_MAKE,;t t
9201
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9202
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9203
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9204
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9205
s,@USE_NLS@,$USE_NLS,;t t
9206
s,@MSGFMT@,$MSGFMT,;t t
9207
s,@GMSGFMT@,$GMSGFMT,;t t
9208
s,@XGETTEXT@,$XGETTEXT,;t t
9209
s,@MSGMERGE@,$MSGMERGE,;t t
9210
s,@LIBICONV@,$LIBICONV,;t t
9211
s,@LTLIBICONV@,$LTLIBICONV,;t t
9212
s,@INTLLIBS@,$INTLLIBS,;t t
9213
s,@LIBINTL@,$LIBINTL,;t t
9214
s,@LTLIBINTL@,$LTLIBINTL,;t t
9215
s,@POSUB@,$POSUB,;t t
9217
s,@LIBOBJS@,$LIBOBJS,;t t
9218
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9223
cat >>$CONFIG_STATUS <<\_ACEOF
9224
# Split the substitutions into bite-sized pieces for seds with
9225
# small command number limits, like on Digital OSF/1 and HP-UX.
9227
ac_sed_frag=1 # Number of current file.
9228
ac_beg=1 # First line for current file.
9229
ac_end=$ac_max_sed_lines # Line after last line for current file.
9232
while $ac_more_lines; do
9233
if test $ac_beg -gt 1; then
9234
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9236
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9238
if test ! -s $tmp/subs.frag; then
9241
# The purpose of the label and of the branching condition is to
9242
# speed up the sed processing (if there are no `@' at all, there
9243
# is no need to browse any of the substitutions).
9244
# These are the two extra sed commands mentioned above.
9246
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9247
if test -z "$ac_sed_cmds"; then
9248
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9250
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9252
ac_sed_frag=`expr $ac_sed_frag + 1`
9254
ac_end=`expr $ac_end + $ac_max_sed_lines`
9257
if test -z "$ac_sed_cmds"; then
9260
fi # test -n "$CONFIG_FILES"
9263
cat >>$CONFIG_STATUS <<\_ACEOF
9264
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9265
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9267
- | *:- | *:-:* ) # input from stdin
9269
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9270
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9271
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9272
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9273
* ) ac_file_in=$ac_file.in ;;
9276
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9277
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9278
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9279
X"$ac_file" : 'X\(//\)[^/]' \| \
9280
X"$ac_file" : 'X\(//\)$' \| \
9281
X"$ac_file" : 'X\(/\)' \| \
9282
. : '\(.\)' 2>/dev/null ||
9284
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9285
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9286
/^X\(\/\/\)$/{ s//\1/; q; }
9287
/^X\(\/\).*/{ s//\1/; q; }
9289
{ if $as_mkdir_p; then
9294
while test ! -d "$as_dir"; do
9295
as_dirs="$as_dir $as_dirs"
9296
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9298
X"$as_dir" : 'X\(//\)[^/]' \| \
9299
X"$as_dir" : 'X\(//\)$' \| \
9300
X"$as_dir" : 'X\(/\)' \| \
9301
. : '\(.\)' 2>/dev/null ||
9303
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9304
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9305
/^X\(\/\/\)$/{ s//\1/; q; }
9306
/^X\(\/\).*/{ s//\1/; q; }
9309
test ! -n "$as_dirs" || mkdir $as_dirs
9310
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9311
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9312
{ (exit 1); exit 1; }; }; }
9316
if test "$ac_dir" != .; then
9317
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9318
# A "../" for each directory in $ac_dir_suffix.
9319
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9321
ac_dir_suffix= ac_top_builddir=
9325
.) # No --srcdir option. We are building in place.
9327
if test -z "$ac_top_builddir"; then
9330
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9332
[\\/]* | ?:[\\/]* ) # Absolute path.
9333
ac_srcdir=$srcdir$ac_dir_suffix;
9334
ac_top_srcdir=$srcdir ;;
9336
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9337
ac_top_srcdir=$ac_top_builddir$srcdir ;;
9340
# Do not use `cd foo && pwd` to compute absolute paths, because
9341
# the directories may not exist.
9343
.) ac_abs_builddir="$ac_dir";;
9346
.) ac_abs_builddir=`pwd`;;
9347
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9348
*) ac_abs_builddir=`pwd`/"$ac_dir";;
9351
case $ac_abs_builddir in
9352
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9354
case ${ac_top_builddir}. in
9355
.) ac_abs_top_builddir=$ac_abs_builddir;;
9356
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9357
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9360
case $ac_abs_builddir in
9361
.) ac_abs_srcdir=$ac_srcdir;;
9364
.) ac_abs_srcdir=$ac_abs_builddir;;
9365
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9366
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9369
case $ac_abs_builddir in
9370
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9372
case $ac_top_srcdir in
9373
.) ac_abs_top_srcdir=$ac_abs_builddir;;
9374
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9375
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9381
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9382
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9385
# Let's still pretend it is `configure' which instantiates (i.e., don't
9386
# use $as_me), people would be surprised to read:
9387
# /* config.h. Generated by config.status. */
9388
if test x"$ac_file" = x-; then
9391
configure_input="$ac_file. "
9393
configure_input=$configure_input"Generated from `echo $ac_file_in |
9394
sed 's,.*/,,'` by configure."
9396
# First look for the input files in the build tree, otherwise in the
9398
ac_file_inputs=`IFS=:
9399
for f in $ac_file_in; do
9401
-) echo $tmp/stdin ;;
9403
# Absolute (can't be DOS-style, as IFS=:)
9404
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9405
echo "$as_me: error: cannot find input file: $f" >&2;}
9406
{ (exit 1); exit 1; }; }
9409
if test -f "$f"; then
9412
elif test -f "$srcdir/$f"; then
9417
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9418
echo "$as_me: error: cannot find input file: $f" >&2;}
9419
{ (exit 1); exit 1; }; }
9422
done` || { (exit 1); exit 1; }
9424
if test x"$ac_file" != x-; then
9425
{ echo "$as_me:$LINENO: creating $ac_file" >&5
9426
echo "$as_me: creating $ac_file" >&6;}
9430
cat >>$CONFIG_STATUS <<_ACEOF
2407
s%@CFLAGS@%$CFLAGS%g
2408
s%@CPPFLAGS@%$CPPFLAGS%g
2409
s%@CXXFLAGS@%$CXXFLAGS%g
2410
s%@FFLAGS@%$FFLAGS%g
2412
s%@LDFLAGS@%$LDFLAGS%g
2414
s%@exec_prefix@%$exec_prefix%g
2415
s%@prefix@%$prefix%g
2416
s%@program_transform_name@%$program_transform_name%g
2417
s%@bindir@%$bindir%g
2418
s%@sbindir@%$sbindir%g
2419
s%@libexecdir@%$libexecdir%g
2420
s%@datadir@%$datadir%g
2421
s%@sysconfdir@%$sysconfdir%g
2422
s%@sharedstatedir@%$sharedstatedir%g
2423
s%@localstatedir@%$localstatedir%g
2424
s%@libdir@%$libdir%g
2425
s%@includedir@%$includedir%g
2426
s%@oldincludedir@%$oldincludedir%g
2427
s%@infodir@%$infodir%g
2428
s%@mandir@%$mandir%g
2430
s%@host_alias@%$host_alias%g
2431
s%@host_cpu@%$host_cpu%g
2432
s%@host_vendor@%$host_vendor%g
2433
s%@host_os@%$host_os%g
2434
s%@target@%$target%g
2435
s%@target_alias@%$target_alias%g
2436
s%@target_cpu@%$target_cpu%g
2437
s%@target_vendor@%$target_vendor%g
2438
s%@target_os@%$target_os%g
2440
s%@build_alias@%$build_alias%g
2441
s%@build_cpu@%$build_cpu%g
2442
s%@build_vendor@%$build_vendor%g
2443
s%@build_os@%$build_os%g
2447
s%@RANLIB@%$RANLIB%g
2449
s%@SOCKETLIBS@%$SOCKETLIBS%g
2450
s%@PTHREADLIB@%$PTHREADLIB%g
2451
s%@DB2LIB@%$DB2LIB%g
2452
s%@HAVE_STATVFS@%$HAVE_STATVFS%g
2453
s%@HAVE_C9X@%$HAVE_C9X%g
2454
s%@NEED_SOCKLEN_T_DEFINE@%$NEED_SOCKLEN_T_DEFINE%g
2455
s%@DEBIANDOC_HTML@%$DEBIANDOC_HTML%g
2456
s%@DEBIANDOC_TEXT@%$DEBIANDOC_TEXT%g
2457
s%@NSGMLS@%$NSGMLS%g
2458
s%@SGMLSPL@%$SGMLSPL%g
2459
s%@GETCONF@%$GETCONF%g
2460
s%@NUM_CPUS@%$NUM_CPUS%g
2461
s%@PROC_MULTIPLY@%$PROC_MULTIPLY%g
2462
s%@NUM_PROCS@%$NUM_PROCS%g
2463
s%@GLIBC_VER@%$GLIBC_VER%g
2464
s%@LIBSTDCPP_VER@%$LIBSTDCPP_VER%g
2465
s%@GCC3DEP@%$GCC3DEP%g
2470
cat >> $CONFIG_STATUS <<\EOF
2472
# Split the substitutions into bite-sized pieces for seds with
2473
# small command number limits, like on Digital OSF/1 and HP-UX.
2474
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2475
ac_file=1 # Number of current file.
2476
ac_beg=1 # First line for current file.
2477
ac_end=$ac_max_sed_cmds # Line after last line for current file.
2480
while $ac_more_lines; do
2481
if test $ac_beg -gt 1; then
2482
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2484
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2486
if test ! -s conftest.s$ac_file; then
2488
rm -f conftest.s$ac_file
2490
if test -z "$ac_sed_cmds"; then
2491
ac_sed_cmds="sed -f conftest.s$ac_file"
2493
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2495
ac_file=`expr $ac_file + 1`
2497
ac_end=`expr $ac_end + $ac_max_sed_cmds`
9434
cat >>$CONFIG_STATUS <<\_ACEOF
9436
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9437
s,@configure_input@,$configure_input,;t t
9438
s,@srcdir@,$ac_srcdir,;t t
9439
s,@abs_srcdir@,$ac_abs_srcdir,;t t
9440
s,@top_srcdir@,$ac_top_srcdir,;t t
9441
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9442
s,@builddir@,$ac_builddir,;t t
9443
s,@abs_builddir@,$ac_abs_builddir,;t t
9444
s,@top_builddir@,$ac_top_builddir,;t t
9445
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
9446
s,@INSTALL@,$ac_INSTALL,;t t
9447
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9449
if test x"$ac_file" != x-; then
9450
mv $tmp/out $ac_file
2500
if test -z "$ac_sed_cmds"; then
2505
cat >> $CONFIG_STATUS <<EOF
2507
CONFIG_FILES=\${CONFIG_FILES-"environment.mak:buildlib/environment.mak.in makefile:buildlib/makefile.in"}
2509
cat >> $CONFIG_STATUS <<\EOF
2510
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2511
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2513
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2514
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2515
*) ac_file_in="${ac_file}.in" ;;
2518
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2520
# Remove last slash and all that follows it. Not all systems have dirname.
2521
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2522
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2523
# The file is in a subdirectory.
2524
test ! -d "$ac_dir" && mkdir "$ac_dir"
2525
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2526
# A "../" for each directory in $ac_dir_suffix.
2527
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2529
ac_dir_suffix= ac_dots=
2532
case "$ac_given_srcdir" in
2534
if test -z "$ac_dots"; then top_srcdir=.
2535
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2536
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2538
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2539
top_srcdir="$ac_dots$ac_given_srcdir" ;;
2543
echo creating "$ac_file"
2545
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2547
*Makefile*) ac_comsub="1i\\
2548
# $configure_input" ;;
2552
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2554
s%@configure_input@%$configure_input%g
2555
s%@srcdir@%$srcdir%g
2556
s%@top_srcdir@%$top_srcdir%g
2557
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
9458
cat >>$CONFIG_STATUS <<\_ACEOF
9461
# CONFIG_HEADER section.
2561
9464
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2562
9465
# NAME is the cpp macro being defined and VALUE is the value it is being given.
2564
9467
# ac_d sets the value in "#define NAME VALUE" lines.
2565
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2566
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
2569
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2570
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2571
ac_uB='\([ ]\)%\1#\2define\3'
9468
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9469
ac_dB='[ ].*$,\1#\2'
9472
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9473
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9474
ac_uB='$,\1#\2define\3'
2574
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2575
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2576
ac_eB='$%\1#\2define\3'
2580
if test "${CONFIG_HEADERS+set}" != set; then
2582
cat >> $CONFIG_STATUS <<EOF
2583
CONFIG_HEADERS="include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in"
2585
cat >> $CONFIG_STATUS <<\EOF
2587
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
9478
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
2588
9479
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2590
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2591
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2592
*) ac_file_in="${ac_file}.in" ;;
9481
- | *:- | *:-:* ) # input from stdin
9483
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9484
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9485
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9486
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9487
* ) ac_file_in=$ac_file.in ;;
2595
echo creating $ac_file
2597
rm -f conftest.frag conftest.in conftest.out
2598
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2599
cat $ac_file_inputs > conftest.in
2603
# Transform confdefs.h into a sed script conftest.vals that substitutes
2604
# the proper values into config.h.in to produce config.h. And first:
2605
# Protect against being on the right side of a sed subst in config.status.
2606
# Protect against being in an unquoted here document in config.status.
2608
cat > conftest.hdr <<\EOF
2611
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2615
sed -n -f conftest.hdr confdefs.h > conftest.vals
9490
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9491
echo "$as_me: creating $ac_file" >&6;}
9493
# First look for the input files in the build tree, otherwise in the
9495
ac_file_inputs=`IFS=:
9496
for f in $ac_file_in; do
9498
-) echo $tmp/stdin ;;
9500
# Absolute (can't be DOS-style, as IFS=:)
9501
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9502
echo "$as_me: error: cannot find input file: $f" >&2;}
9503
{ (exit 1); exit 1; }; }
9504
# Do quote $f, to prevent DOS paths from being IFS'd.
9507
if test -f "$f"; then
9510
elif test -f "$srcdir/$f"; then
9515
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9516
echo "$as_me: error: cannot find input file: $f" >&2;}
9517
{ (exit 1); exit 1; }; }
9520
done` || { (exit 1); exit 1; }
9521
# Remove the trailing spaces.
9522
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9526
# Transform confdefs.h into two sed scripts, `conftest.defines' and
9527
# `conftest.undefs', that substitutes the proper values into
9528
# config.h.in to produce config.h. The first handles `#define'
9529
# templates, and the second `#undef' templates.
9530
# And first: Protect against being on the right side of a sed subst in
9531
# config.status. Protect against being in an unquoted here document
9533
rm -f conftest.defines conftest.undefs
9534
# Using a here document instead of a string reduces the quoting nightmare.
9535
# Putting comments in sed scripts is not portable.
9537
# `end' is used to avoid that the second main sed command (meant for
9538
# 0-ary CPP macros) applies to n-ary macro definitions.
9539
# See the Autoconf documentation for `clear'.
9540
cat >confdef2sed.sed <<\_ACEOF
9545
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9547
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9550
# If some macros were called several times there might be several times
9551
# the same #defines, which is useless. Nevertheless, we may not want to
9552
# sort them, since we want the *last* AC-DEFINE to be honored.
9553
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9554
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9555
rm -f confdef2sed.sed
2618
9557
# This sed command replaces #undef with comments. This is necessary, for
2619
9558
# example, in the case of _POSIX_SOURCE, which is predefined and required
2620
9559
# on some systems where configure will not decide to define it.
2621
cat >> conftest.vals <<\EOF
2622
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2625
# Break up conftest.vals because some shells have a limit on
2626
# the size of here documents, and old seds have small limits too.
2631
ac_lines=`grep -c . conftest.vals`
2632
# grep -c gives empty output for an empty file on some AIX systems.
2633
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2634
# Write a limited-size here document to conftest.frag.
2635
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2636
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2638
sed -f conftest.frag conftest.in > conftest.out
2640
mv conftest.out conftest.in
2642
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2644
mv conftest.tail conftest.vals
2648
cat >> $CONFIG_STATUS <<\EOF
2649
rm -f conftest.frag conftest.h
2650
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2651
cat conftest.in >> conftest.h
2653
if cmp -s $ac_file conftest.h 2>/dev/null; then
2654
echo "$ac_file is unchanged"
2657
# Remove last slash and all that follows it. Not all systems have dirname.
2658
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2659
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2660
# The file is in a subdirectory.
2661
test ! -d "$ac_dir" && mkdir "$ac_dir"
9560
cat >>conftest.undefs <<\_ACEOF
9561
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9564
# Break up conftest.defines because some shells have a limit on the size
9565
# of here documents, and old seds have small limits too (100 cmds).
9566
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9567
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9568
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9569
echo ' :' >>$CONFIG_STATUS
9571
while grep . conftest.defines >/dev/null
9573
# Write a limited-size here document to $tmp/defines.sed.
9574
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9575
# Speed up: don't consider the non `#define' lines.
9576
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9577
# Work around the forget-to-reset-the-flag bug.
9578
echo 't clr' >>$CONFIG_STATUS
9579
echo ': clr' >>$CONFIG_STATUS
9580
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
9582
sed -f $tmp/defines.sed $tmp/in >$tmp/out
9586
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9587
rm -f conftest.defines
9588
mv conftest.tail conftest.defines
9590
rm -f conftest.defines
9591
echo ' fi # grep' >>$CONFIG_STATUS
9592
echo >>$CONFIG_STATUS
9594
# Break up conftest.undefs because some shells have a limit on the size
9595
# of here documents, and old seds have small limits too (100 cmds).
9596
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9598
while grep . conftest.undefs >/dev/null
9600
# Write a limited-size here document to $tmp/undefs.sed.
9601
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9602
# Speed up: don't consider the non `#undef'
9603
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9604
# Work around the forget-to-reset-the-flag bug.
9605
echo 't clr' >>$CONFIG_STATUS
9606
echo ': clr' >>$CONFIG_STATUS
9607
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9609
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9613
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9614
rm -f conftest.undefs
9615
mv conftest.tail conftest.undefs
9617
rm -f conftest.undefs
9619
cat >>$CONFIG_STATUS <<\_ACEOF
9620
# Let's still pretend it is `configure' which instantiates (i.e., don't
9621
# use $as_me), people would be surprised to read:
9622
# /* config.h. Generated by config.status. */
9623
if test x"$ac_file" = x-; then
9624
echo "/* Generated by configure. */" >$tmp/config.h
9626
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9628
cat $tmp/in >>$tmp/config.h
9630
if test x"$ac_file" != x-; then
9631
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9632
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9633
echo "$as_me: $ac_file is unchanged" >&6;}
9635
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9636
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9637
X"$ac_file" : 'X\(//\)[^/]' \| \
9638
X"$ac_file" : 'X\(//\)$' \| \
9639
X"$ac_file" : 'X\(/\)' \| \
9640
. : '\(.\)' 2>/dev/null ||
9642
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9643
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9644
/^X\(\/\/\)$/{ s//\1/; q; }
9645
/^X\(\/\).*/{ s//\1/; q; }
9647
{ if $as_mkdir_p; then
9652
while test ! -d "$as_dir"; do
9653
as_dirs="$as_dir $as_dirs"
9654
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9655
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9656
X"$as_dir" : 'X\(//\)[^/]' \| \
9657
X"$as_dir" : 'X\(//\)$' \| \
9658
X"$as_dir" : 'X\(/\)' \| \
9659
. : '\(.\)' 2>/dev/null ||
9661
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9662
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9663
/^X\(\/\/\)$/{ s//\1/; q; }
9664
/^X\(\/\).*/{ s//\1/; q; }
9667
test ! -n "$as_dirs" || mkdir $as_dirs
9668
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9669
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9670
{ (exit 1); exit 1; }; }; }
9673
mv $tmp/config.h $ac_file
2664
mv conftest.h $ac_file
2669
cat >> $CONFIG_STATUS <<EOF
2672
cat >> $CONFIG_STATUS <<\EOF
9681
cat >>$CONFIG_STATUS <<\_ACEOF
9684
# CONFIG_COMMANDS section.
9686
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9687
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9688
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9689
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
9690
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9691
X"$ac_dest" : 'X\(//\)[^/]' \| \
9692
X"$ac_dest" : 'X\(//\)$' \| \
9693
X"$ac_dest" : 'X\(/\)' \| \
9694
. : '\(.\)' 2>/dev/null ||
9696
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9697
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9698
/^X\(\/\/\)$/{ s//\1/; q; }
9699
/^X\(\/\).*/{ s//\1/; q; }
9701
{ if $as_mkdir_p; then
9706
while test ! -d "$as_dir"; do
9707
as_dirs="$as_dir $as_dirs"
9708
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9709
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9710
X"$as_dir" : 'X\(//\)[^/]' \| \
9711
X"$as_dir" : 'X\(//\)$' \| \
9712
X"$as_dir" : 'X\(/\)' \| \
9713
. : '\(.\)' 2>/dev/null ||
9715
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9716
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9717
/^X\(\/\/\)$/{ s//\1/; q; }
9718
/^X\(\/\).*/{ s//\1/; q; }
9721
test ! -n "$as_dirs" || mkdir $as_dirs
9722
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9723
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9724
{ (exit 1); exit 1; }; }; }
9728
if test "$ac_dir" != .; then
9729
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9730
# A "../" for each directory in $ac_dir_suffix.
9731
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9733
ac_dir_suffix= ac_top_builddir=
9737
.) # No --srcdir option. We are building in place.
9739
if test -z "$ac_top_builddir"; then
9742
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9744
[\\/]* | ?:[\\/]* ) # Absolute path.
9745
ac_srcdir=$srcdir$ac_dir_suffix;
9746
ac_top_srcdir=$srcdir ;;
9748
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9749
ac_top_srcdir=$ac_top_builddir$srcdir ;;
9752
# Do not use `cd foo && pwd` to compute absolute paths, because
9753
# the directories may not exist.
9755
.) ac_abs_builddir="$ac_dir";;
9758
.) ac_abs_builddir=`pwd`;;
9759
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9760
*) ac_abs_builddir=`pwd`/"$ac_dir";;
9763
case $ac_abs_builddir in
9764
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9766
case ${ac_top_builddir}. in
9767
.) ac_abs_top_builddir=$ac_abs_builddir;;
9768
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9769
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9772
case $ac_abs_builddir in
9773
.) ac_abs_srcdir=$ac_srcdir;;
9776
.) ac_abs_srcdir=$ac_abs_builddir;;
9777
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9778
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9781
case $ac_abs_builddir in
9782
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9784
case $ac_top_srcdir in
9785
.) ac_abs_top_srcdir=$ac_abs_builddir;;
9786
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9787
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9792
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9793
echo "$as_me: executing $ac_dest commands" >&6;}
9796
for ac_file in $CONFIG_FILES; do
9797
# Support "outfile[:infile[:infile...]]"
9799
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
9801
# PO directories have a Makefile.in generated from Makefile.in.in.
9802
case "$ac_file" in */Makefile.in)
9803
# Adjust a relative srcdir.
9804
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9805
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
9806
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9807
# In autoconf-2.13 it is called $ac_given_srcdir.
9808
# In autoconf-2.50 it is called $srcdir.
9809
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
9810
case "$ac_given_srcdir" in
9811
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
9812
/*) top_srcdir="$ac_given_srcdir" ;;
9813
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
9815
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9816
rm -f "$ac_dir/POTFILES"
9817
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
9818
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9819
POMAKEFILEDEPS="POTFILES.in"
9820
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
9821
# on $ac_dir but don't depend on user-specified configuration
9823
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9824
# The LINGUAS file contains the set of available languages.
9825
if test -n "$OBSOLETE_ALL_LINGUAS"; then
9826
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
9828
ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9829
# Hide the ALL_LINGUAS assigment from automake.
9830
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9831
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
9833
# The set of available languages was given in configure.in.
9834
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9837
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
9838
# Compute UPDATEPOFILES
9839
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
9840
# Compute DUMMYPOFILES
9841
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
9843
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
9844
case "$ac_given_srcdir" in
9846
*) srcdirpre='$(srcdir)/' ;;
9852
for lang in $ALL_LINGUAS; do
9853
POFILES="$POFILES $srcdirpre$lang.po"
9854
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
9855
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
9856
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
9858
# CATALOGS depends on both $ac_dir and the user's LINGUAS
9859
# environment variable.
9861
if test -n "$ALL_LINGUAS"; then
9862
for presentlang in $ALL_LINGUAS; do
9864
if test "%UNSET%" != "$LINGUAS"; then
9865
desiredlanguages="$LINGUAS"
9867
desiredlanguages="$ALL_LINGUAS"
9869
for desiredlang in $desiredlanguages; do
9870
# Use the presentlang catalog if desiredlang is
9871
# a. equal to presentlang, or
9872
# b. a variant of presentlang (because in this case,
9873
# presentlang can be used as a fallback for messages
9874
# which are not translated in the desiredlang catalog).
9875
case "$desiredlang" in
9876
"$presentlang"*) useit=yes;;
9879
if test $useit = yes; then
9880
INST_LINGUAS="$INST_LINGUAS $presentlang"
9885
if test -n "$INST_LINGUAS"; then
9886
for lang in $INST_LINGUAS; do
9887
CATALOGS="$CATALOGS $lang.gmo"
9890
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
9891
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
9892
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
9893
if test -f "$f"; then
9895
*.orig | *.bak | *~) ;;
9896
*) cat "$f" >> "$ac_dir/Makefile" ;;
9904
default ) make -s dirs ;;
9909
cat >>$CONFIG_STATUS <<\_ACEOF
9911
{ (exit 0); exit 0; }
2676
9913
chmod +x $CONFIG_STATUS
2677
rm -fr confdefs* $ac_clean_files
2678
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
9914
ac_clean_files=$ac_clean_files_save
9917
# configure is writing to config.log, and then calls config.status.
9918
# config.status does its own redirection, appending to config.log.
9919
# Unfortunately, on DOS this fails, as config.log is still kept open
9920
# by configure, so config.status won't be able to write to it; its
9921
# output is simply discarded. So we exec the FD to /dev/null,
9922
# effectively closing config.log, so it can be properly (re)opened and
9923
# appended to by config.status. When coming back to configure, we
9924
# need to make the FD available again.
9925
if test "$no_create" != yes; then
9927
ac_config_status_args=
9928
test "$silent" = yes &&
9929
ac_config_status_args="$ac_config_status_args --quiet"
9931
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9933
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
9934
# would make configure fail if this is the last instruction.
9935
$ac_cs_success || { (exit 1); exit 1; }