549
1330
# SunOS /usr/etc/install
550
1331
# IRIX /sbin/install
551
1332
# AIX /bin/install
1333
# AmigaOS /C/install, which installs bootblocks on floppy discs
552
1334
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
553
1335
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
554
1336
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1337
# OS/2's system install, which has a completely different semantic
555
1338
# ./install, which can be erroneously created by make from ./install.sh.
556
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
557
echo "configure:558: checking for a BSD compatible install" >&5
1339
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1340
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
558
1341
if test -z "$INSTALL"; then
559
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
560
echo $ac_n "(cached) $ac_c" 1>&6
1342
if test "${ac_cv_path_install+set}" = set; then
1343
echo $ECHO_N "(cached) $ECHO_C" >&6
562
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
563
for ac_dir in $PATH; do
564
# Account for people who put trailing slashes in PATH elements.
566
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
568
# OSF1 and SCO ODT 3.0 have their own names for install.
569
# Don't use installbsd from OSF since it installs stuff as root
571
for ac_prog in ginstall scoinst install; do
572
if test -f $ac_dir/$ac_prog; then
1345
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1349
test -z "$as_dir" && as_dir=.
1350
# Account for people who put trailing slashes in PATH elements.
1352
./ | .// | /cC/* | \
1353
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1354
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1357
# OSF1 and SCO ODT 3.0 have their own names for install.
1358
# Don't use installbsd from OSF since it installs stuff as root
1360
for ac_prog in ginstall scoinst install; do
1361
for ac_exec_ext in '' $ac_executable_extensions; do
1362
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
573
1363
if test $ac_prog = install &&
574
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1364
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
575
1365
# AIX install. It has an incompatible calling convention.
1367
elif test $ac_prog = install &&
1368
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1369
# program-specific install script used by HP pwplus--don't use.
578
ac_cv_path_install="$ac_dir/$ac_prog -c"
1372
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
589
1384
if test "${ac_cv_path_install+set}" = set; then
590
INSTALL="$ac_cv_path_install"
1385
INSTALL=$ac_cv_path_install
592
1387
# As a last resort, use the slow shell script. We don't cache a
593
1388
# path for INSTALL within a source directory, because that will
594
1389
# break other packages using the cache if that directory is
595
1390
# removed, or if the path is relative.
596
INSTALL="$ac_install_sh"
1391
INSTALL=$ac_install_sh
599
echo "$ac_t""$INSTALL" 1>&6
1394
echo "$as_me:$LINENO: result: $INSTALL" >&5
1395
echo "${ECHO_T}$INSTALL" >&6
601
1397
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
602
1398
# It thinks the first close brace ends the variable substitution.
603
1399
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
605
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1401
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
607
1403
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
609
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
610
echo "configure:611: checking whether build environment is sane" >&5
1405
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1406
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
613
echo timestamp > conftestfile
1409
echo timestamp > conftest.file
614
1410
# Do `set' in a subshell so we don't clobber the current shell's
615
1411
# arguments. Must try -L first in case configure is actually a
616
1412
# symlink; some systems play weird games with the mod time of symlinks
617
1413
# (eg FreeBSD returns the mod time of the symlink's containing
620
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1416
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
621
1417
if test "$*" = "X"; then
622
1418
# -L didn't work.
623
set X `ls -t $srcdir/configure conftestfile`
1419
set X `ls -t $srcdir/configure conftest.file`
625
if test "$*" != "X $srcdir/configure conftestfile" \
626
&& test "$*" != "X conftestfile $srcdir/configure"; then
1422
if test "$*" != "X $srcdir/configure conftest.file" \
1423
&& test "$*" != "X conftest.file $srcdir/configure"; then
628
1425
# If neither matched, then we have a broken ls. This can happen
629
1426
# if, for instance, CONFIG_SHELL is bash and it inherits a
630
1427
# broken ls alias from the environment. This has actually
631
1428
# happened. Such a system could not be considered "sane".
632
{ echo "configure: error: ls -t appears to fail. Make sure there is not a broken
633
alias in your environment" 1>&2; exit 1; }
1429
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1430
alias in your environment" >&5
1431
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1432
alias in your environment" >&2;}
1433
{ (exit 1); exit 1; }; }
636
test "$2" = conftestfile
1436
test "$2" = conftest.file
642
{ echo "configure: error: newly created file is older than distributed files!
643
Check your system clock" 1>&2; exit 1; }
646
echo "$ac_t""yes" 1>&6
647
if test "$program_transform_name" = s,x,x,; then
648
program_transform_name=
650
# Double any \ or $. echo might interpret backslashes.
651
cat <<\EOF_SED > conftestsed
652
s,\\,\\\\,g; s,\$,$$,g
654
program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1442
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1443
Check your system clock" >&5
1444
echo "$as_me: error: newly created file is older than distributed files!
1445
Check your system clock" >&2;}
1446
{ (exit 1); exit 1; }; }
1448
echo "$as_me:$LINENO: result: yes" >&5
1449
echo "${ECHO_T}yes" >&6
657
1450
test "$program_prefix" != NONE &&
658
program_transform_name="s,^,${program_prefix},; $program_transform_name"
1451
program_transform_name="s,^,$program_prefix,;$program_transform_name"
659
1452
# Use a double $ so make ignores it.
660
1453
test "$program_suffix" != NONE &&
661
program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
663
# sed with no file args requires a program.
664
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
666
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
667
echo "configure:668: checking whether ${MAKE-make} sets \${MAKE}" >&5
668
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
669
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
670
echo $ac_n "(cached) $ac_c" 1>&6
672
cat > conftestmake <<\EOF
1454
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1455
# Double any \ or $. echo might interpret backslashes.
1456
# By default was `s,x,x', remove it if useless.
1457
cat <<\_ACEOF >conftest.sed
1458
s/[\\$]/&&/g;s/;s,x,x,$//
1460
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1463
# expand $ac_aux_dir to an absolute path
1464
am_aux_dir=`cd $ac_aux_dir && pwd`
1466
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1467
# Use eval to expand $SHELL
1468
if eval "$MISSING --run true"; then
1469
am_missing_run="$MISSING --run "
1472
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1473
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1476
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1477
# We used to keeping the `.' as first argument, in order to
1478
# allow $(mkdir_p) to be used without argument. As in
1479
# $(mkdir_p) $(somedir)
1480
# where $(somedir) is conditionally defined. However this is wrong
1482
# 1. if the package is installed by a user who cannot write `.'
1483
# make install will fail,
1484
# 2. the above comment should most certainly read
1485
# $(mkdir_p) $(DESTDIR)$(somedir)
1486
# so it does not work when $(somedir) is undefined and
1487
# $(DESTDIR) is not.
1488
# To support the latter case, we have to write
1489
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1490
# so the `.' trick is pointless.
1491
mkdir_p='mkdir -p --'
1493
# On NextStep and OpenStep, the `mkdir' command does not
1494
# recognize any option. It will interpret all options as
1495
# directories to create, and then abort because `.' already
1497
for d in ./-p ./--version;
1499
test -d $d && rmdir $d
1501
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1502
if test -f "$ac_aux_dir/mkinstalldirs"; then
1503
mkdir_p='$(mkinstalldirs)'
1505
mkdir_p='$(install_sh) -d'
1509
for ac_prog in gawk mawk nawk awk
1511
# Extract the first word of "$ac_prog", so it can be a program name with args.
1512
set dummy $ac_prog; ac_word=$2
1513
echo "$as_me:$LINENO: checking for $ac_word" >&5
1514
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1515
if test "${ac_cv_prog_AWK+set}" = set; then
1516
echo $ECHO_N "(cached) $ECHO_C" >&6
1518
if test -n "$AWK"; then
1519
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1521
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1525
test -z "$as_dir" && as_dir=.
1526
for ac_exec_ext in '' $ac_executable_extensions; do
1527
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1528
ac_cv_prog_AWK="$ac_prog"
1529
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1538
if test -n "$AWK"; then
1539
echo "$as_me:$LINENO: result: $AWK" >&5
1540
echo "${ECHO_T}$AWK" >&6
1542
echo "$as_me:$LINENO: result: no" >&5
1543
echo "${ECHO_T}no" >&6
1546
test -n "$AWK" && break
1549
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1550
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1551
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1552
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1553
echo $ECHO_N "(cached) $ECHO_C" >&6
1555
cat >conftest.make <<\_ACEOF
674
@echo 'ac_maketemp="${MAKE}"'
1557
@echo 'ac_maketemp="$(MAKE)"'
676
1559
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
677
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1560
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
678
1561
if test -n "$ac_maketemp"; then
679
1562
eval ac_cv_prog_make_${ac_make}_set=yes
681
1564
eval ac_cv_prog_make_${ac_make}_set=no
685
1568
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
686
echo "$ac_t""yes" 1>&6
1569
echo "$as_me:$LINENO: result: yes" >&5
1570
echo "${ECHO_T}yes" >&6
689
echo "$ac_t""no" 1>&6
1573
echo "$as_me:$LINENO: result: no" >&5
1574
echo "${ECHO_T}no" >&6
690
1575
SET_MAKE="MAKE=${MAKE-make}"
698
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
699
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
701
cat >> confdefs.h <<EOF
1578
rm -rf .tst 2>/dev/null
1579
mkdir .tst 2>/dev/null
1580
if test -d .tst; then
1585
rmdir .tst 2>/dev/null
1587
# test to see if srcdir already configured
1588
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1589
test -f $srcdir/config.status; then
1590
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1591
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1592
{ (exit 1); exit 1; }; }
1595
# test whether we have cygpath
1596
if test -z "$CYGPATH_W"; then
1597
if (cygpath --version) >/dev/null 2>/dev/null; then
1598
CYGPATH_W='cygpath -w'
1605
# Define the identity of the package.
1610
cat >>confdefs.h <<_ACEOF
702
1611
#define PACKAGE "$PACKAGE"
705
cat >> confdefs.h <<EOF
1615
cat >>confdefs.h <<_ACEOF
706
1616
#define VERSION "$VERSION"
711
missing_dir=`cd $ac_aux_dir && pwd`
712
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
713
echo "configure:714: checking for working aclocal" >&5
714
# Run test in a subshell; some versions of sh will print an error if
715
# an executable is not found, even if stderr is redirected.
716
# Redirect stdin to placate older versions of autoconf. Sigh.
717
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
719
echo "$ac_t""found" 1>&6
721
ACLOCAL="$missing_dir/missing aclocal"
722
echo "$ac_t""missing" 1>&6
725
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
726
echo "configure:727: checking for working autoconf" >&5
727
# Run test in a subshell; some versions of sh will print an error if
728
# an executable is not found, even if stderr is redirected.
729
# Redirect stdin to placate older versions of autoconf. Sigh.
730
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
732
echo "$ac_t""found" 1>&6
734
AUTOCONF="$missing_dir/missing autoconf"
735
echo "$ac_t""missing" 1>&6
738
echo $ac_n "checking for working automake""... $ac_c" 1>&6
739
echo "configure:740: checking for working automake" >&5
740
# Run test in a subshell; some versions of sh will print an error if
741
# an executable is not found, even if stderr is redirected.
742
# Redirect stdin to placate older versions of autoconf. Sigh.
743
if (automake --version) < /dev/null > /dev/null 2>&1; then
745
echo "$ac_t""found" 1>&6
747
AUTOMAKE="$missing_dir/missing automake"
748
echo "$ac_t""missing" 1>&6
751
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
752
echo "configure:753: checking for working autoheader" >&5
753
# Run test in a subshell; some versions of sh will print an error if
754
# an executable is not found, even if stderr is redirected.
755
# Redirect stdin to placate older versions of autoconf. Sigh.
756
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
757
AUTOHEADER=autoheader
758
echo "$ac_t""found" 1>&6
760
AUTOHEADER="$missing_dir/missing autoheader"
761
echo "$ac_t""missing" 1>&6
764
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
765
echo "configure:766: checking for working makeinfo" >&5
766
# Run test in a subshell; some versions of sh will print an error if
767
# an executable is not found, even if stderr is redirected.
768
# Redirect stdin to placate older versions of autoconf. Sigh.
769
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
771
echo "$ac_t""found" 1>&6
773
MAKEINFO="$missing_dir/missing makeinfo"
774
echo "$ac_t""missing" 1>&6
779
# Check whether --enable-default-device or --disable-default-device was given.
780
if test "${enable_default_device+set}" = set; then
781
enableval="$enable_default_device"
782
DEFAULTDEVICE=$enableval
788
# Extract the first word of "gcc", so it can be a program name with args.
1619
# Some tools Automake needs.
1621
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1624
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1627
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1630
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1633
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1635
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1637
# Installed binaries are usually stripped using `strip' when the user
1638
# run `make install-strip'. However `strip' might not be the right
1639
# tool to use in cross-compilation environments, therefore Automake
1640
# will honor the `STRIP' environment variable to overrule this program.
1641
if test "$cross_compiling" != no; then
1642
if test -n "$ac_tool_prefix"; then
1643
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1644
set dummy ${ac_tool_prefix}strip; ac_word=$2
1645
echo "$as_me:$LINENO: checking for $ac_word" >&5
1646
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1647
if test "${ac_cv_prog_STRIP+set}" = set; then
1648
echo $ECHO_N "(cached) $ECHO_C" >&6
1650
if test -n "$STRIP"; then
1651
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1653
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1657
test -z "$as_dir" && as_dir=.
1658
for ac_exec_ext in '' $ac_executable_extensions; do
1659
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1660
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1661
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1669
STRIP=$ac_cv_prog_STRIP
1670
if test -n "$STRIP"; then
1671
echo "$as_me:$LINENO: result: $STRIP" >&5
1672
echo "${ECHO_T}$STRIP" >&6
1674
echo "$as_me:$LINENO: result: no" >&5
1675
echo "${ECHO_T}no" >&6
1679
if test -z "$ac_cv_prog_STRIP"; then
1681
# Extract the first word of "strip", so it can be a program name with args.
1682
set dummy strip; ac_word=$2
1683
echo "$as_me:$LINENO: checking for $ac_word" >&5
1684
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1685
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1686
echo $ECHO_N "(cached) $ECHO_C" >&6
1688
if test -n "$ac_ct_STRIP"; then
1689
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1691
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1695
test -z "$as_dir" && as_dir=.
1696
for ac_exec_ext in '' $ac_executable_extensions; do
1697
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1698
ac_cv_prog_ac_ct_STRIP="strip"
1699
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1708
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1709
if test -n "$ac_ct_STRIP"; then
1710
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1711
echo "${ECHO_T}$ac_ct_STRIP" >&6
1713
echo "$as_me:$LINENO: result: no" >&5
1714
echo "${ECHO_T}no" >&6
1719
STRIP="$ac_cv_prog_STRIP"
1723
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1725
# We need awk for the "check" target. The system "awk" is bad on
1727
# Always define AMTAR for backward compatibility.
1729
AMTAR=${AMTAR-"${am_missing_run}tar"}
1731
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1739
ac_cpp='$CPP $CPPFLAGS'
1740
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1741
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1742
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1743
if test -n "$ac_tool_prefix"; then
1744
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1745
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1746
echo "$as_me:$LINENO: checking for $ac_word" >&5
1747
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1748
if test "${ac_cv_prog_CC+set}" = set; then
1749
echo $ECHO_N "(cached) $ECHO_C" >&6
1751
if test -n "$CC"; then
1752
ac_cv_prog_CC="$CC" # Let the user override the test.
1754
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758
test -z "$as_dir" && as_dir=.
1759
for ac_exec_ext in '' $ac_executable_extensions; do
1760
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1761
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1762
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1771
if test -n "$CC"; then
1772
echo "$as_me:$LINENO: result: $CC" >&5
1773
echo "${ECHO_T}$CC" >&6
1775
echo "$as_me:$LINENO: result: no" >&5
1776
echo "${ECHO_T}no" >&6
1780
if test -z "$ac_cv_prog_CC"; then
1782
# Extract the first word of "gcc", so it can be a program name with args.
789
1783
set dummy gcc; ac_word=$2
790
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
791
echo "configure:792: checking for $ac_word" >&5
792
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
793
echo $ac_n "(cached) $ac_c" 1>&6
1784
echo "$as_me:$LINENO: checking for $ac_word" >&5
1785
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1786
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1787
echo $ECHO_N "(cached) $ECHO_C" >&6
1789
if test -n "$ac_ct_CC"; then
1790
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796
test -z "$as_dir" && as_dir=.
1797
for ac_exec_ext in '' $ac_executable_extensions; do
1798
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1799
ac_cv_prog_ac_ct_CC="gcc"
1800
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1808
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1809
if test -n "$ac_ct_CC"; then
1810
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1811
echo "${ECHO_T}$ac_ct_CC" >&6
1813
echo "$as_me:$LINENO: result: no" >&5
1814
echo "${ECHO_T}no" >&6
1822
if test -z "$CC"; then
1823
if test -n "$ac_tool_prefix"; then
1824
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1825
set dummy ${ac_tool_prefix}cc; ac_word=$2
1826
echo "$as_me:$LINENO: checking for $ac_word" >&5
1827
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1828
if test "${ac_cv_prog_CC+set}" = set; then
1829
echo $ECHO_N "(cached) $ECHO_C" >&6
795
1831
if test -n "$CC"; then
796
1832
ac_cv_prog_CC="$CC" # Let the user override the test.
798
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
800
for ac_dir in $ac_dummy; do
801
test -z "$ac_dir" && ac_dir=.
802
if test -f $ac_dir/$ac_word; then
1834
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1838
test -z "$as_dir" && as_dir=.
1839
for ac_exec_ext in '' $ac_executable_extensions; do
1840
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1841
ac_cv_prog_CC="${ac_tool_prefix}cc"
1842
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
811
1851
if test -n "$CC"; then
812
echo "$ac_t""$CC" 1>&6
814
echo "$ac_t""no" 1>&6
1852
echo "$as_me:$LINENO: result: $CC" >&5
1853
echo "${ECHO_T}$CC" >&6
1855
echo "$as_me:$LINENO: result: no" >&5
1856
echo "${ECHO_T}no" >&6
1860
if test -z "$ac_cv_prog_CC"; then
1862
# Extract the first word of "cc", so it can be a program name with args.
1863
set dummy cc; ac_word=$2
1864
echo "$as_me:$LINENO: checking for $ac_word" >&5
1865
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1866
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1867
echo $ECHO_N "(cached) $ECHO_C" >&6
1869
if test -n "$ac_ct_CC"; then
1870
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1872
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1876
test -z "$as_dir" && as_dir=.
1877
for ac_exec_ext in '' $ac_executable_extensions; do
1878
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1879
ac_cv_prog_ac_ct_CC="cc"
1880
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1888
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1889
if test -n "$ac_ct_CC"; then
1890
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1891
echo "${ECHO_T}$ac_ct_CC" >&6
1893
echo "$as_me:$LINENO: result: no" >&5
1894
echo "${ECHO_T}no" >&6
817
1903
if test -z "$CC"; then
818
1904
# Extract the first word of "cc", so it can be a program name with args.
819
1905
set dummy cc; ac_word=$2
820
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
821
echo "configure:822: checking for $ac_word" >&5
822
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
823
echo $ac_n "(cached) $ac_c" 1>&6
1906
echo "$as_me:$LINENO: checking for $ac_word" >&5
1907
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1908
if test "${ac_cv_prog_CC+set}" = set; then
1909
echo $ECHO_N "(cached) $ECHO_C" >&6
825
1911
if test -n "$CC"; then
826
1912
ac_cv_prog_CC="$CC" # Let the user override the test.
828
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
829
1914
ac_prog_rejected=no
831
for ac_dir in $ac_dummy; do
832
test -z "$ac_dir" && ac_dir=.
833
if test -f $ac_dir/$ac_word; then
834
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1915
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919
test -z "$as_dir" && as_dir=.
1920
for ac_exec_ext in '' $ac_executable_extensions; do
1921
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1922
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1923
ac_prog_rejected=yes
1927
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
843
1933
if test $ac_prog_rejected = yes; then
844
1934
# We found a bogon in the path, so make sure we never use it.
845
1935
set dummy $ac_cv_prog_CC
847
if test $# -gt 0; then
1937
if test $# != 0; then
848
1938
# We chose a different compiler from the bogus one.
849
1939
# However, it has the same basename, so the bogon will be chosen
850
1940
# first if we set CC to just the basename; use the full file name.
852
set dummy "$ac_dir/$ac_word" "$@"
1942
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
860
1948
if test -n "$CC"; then
861
echo "$ac_t""$CC" 1>&6
1949
echo "$as_me:$LINENO: result: $CC" >&5
1950
echo "${ECHO_T}$CC" >&6
863
echo "$ac_t""no" 1>&6
1952
echo "$as_me:$LINENO: result: no" >&5
1953
echo "${ECHO_T}no" >&6
866
if test -z "$CC"; then
869
# Extract the first word of "cl", so it can be a program name with args.
870
set dummy cl; ac_word=$2
871
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
872
echo "configure:873: checking for $ac_word" >&5
873
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
874
echo $ac_n "(cached) $ac_c" 1>&6
1957
if test -z "$CC"; then
1958
if test -n "$ac_tool_prefix"; then
1961
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1962
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1963
echo "$as_me:$LINENO: checking for $ac_word" >&5
1964
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1965
if test "${ac_cv_prog_CC+set}" = set; then
1966
echo $ECHO_N "(cached) $ECHO_C" >&6
876
1968
if test -n "$CC"; then
877
1969
ac_cv_prog_CC="$CC" # Let the user override the test.
879
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
881
for ac_dir in $ac_dummy; do
882
test -z "$ac_dir" && ac_dir=.
883
if test -f $ac_dir/$ac_word; then
1971
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975
test -z "$as_dir" && as_dir=.
1976
for ac_exec_ext in '' $ac_executable_extensions; do
1977
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1978
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1979
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988
if test -n "$CC"; then
1989
echo "$as_me:$LINENO: result: $CC" >&5
1990
echo "${ECHO_T}$CC" >&6
1992
echo "$as_me:$LINENO: result: no" >&5
1993
echo "${ECHO_T}no" >&6
1996
test -n "$CC" && break
892
if test -n "$CC"; then
893
echo "$ac_t""$CC" 1>&6
895
echo "$ac_t""no" 1>&6
1999
if test -z "$CC"; then
2003
# Extract the first word of "$ac_prog", so it can be a program name with args.
2004
set dummy $ac_prog; ac_word=$2
2005
echo "$as_me:$LINENO: checking for $ac_word" >&5
2006
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2007
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2008
echo $ECHO_N "(cached) $ECHO_C" >&6
2010
if test -n "$ac_ct_CC"; then
2011
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2013
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2017
test -z "$as_dir" && as_dir=.
2018
for ac_exec_ext in '' $ac_executable_extensions; do
2019
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2020
ac_cv_prog_ac_ct_CC="$ac_prog"
2021
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
900
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
903
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
904
echo "configure:905: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
907
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
908
ac_cpp='$CPP $CPPFLAGS'
909
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
910
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
911
cross_compiling=$ac_cv_prog_cc_cross
913
cat > conftest.$ac_ext << EOF
915
#line 916 "configure"
916
#include "confdefs.h"
920
if { (eval echo configure:921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
921
ac_cv_prog_cc_works=yes
922
# If we can't run a trivial program, we are probably using a cross compiler.
923
if (./conftest; exit) 2>/dev/null; then
924
ac_cv_prog_cc_cross=no
2029
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2030
if test -n "$ac_ct_CC"; then
2031
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2032
echo "${ECHO_T}$ac_ct_CC" >&6
2034
echo "$as_me:$LINENO: result: no" >&5
2035
echo "${ECHO_T}no" >&6
2038
test -n "$ac_ct_CC" && break
2047
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2048
See \`config.log' for more details." >&5
2049
echo "$as_me: error: no acceptable C compiler found in \$PATH
2050
See \`config.log' for more details." >&2;}
2051
{ (exit 1); exit 1; }; }
2053
# Provide some information about the compiler.
2054
echo "$as_me:$LINENO:" \
2055
"checking for C compiler version" >&5
2056
ac_compiler=`set X $ac_compile; echo $2`
2057
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2058
(eval $ac_compiler --version </dev/null >&5) 2>&5
2060
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061
(exit $ac_status); }
2062
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2063
(eval $ac_compiler -v </dev/null >&5) 2>&5
2065
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066
(exit $ac_status); }
2067
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2068
(eval $ac_compiler -V </dev/null >&5) 2>&5
2070
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071
(exit $ac_status); }
2073
cat >conftest.$ac_ext <<_ACEOF
2076
cat confdefs.h >>conftest.$ac_ext
2077
cat >>conftest.$ac_ext <<_ACEOF
2078
/* end confdefs.h. */
2088
ac_clean_files_save=$ac_clean_files
2089
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2090
# Try to create an executable without -o first, disregard a.out.
2091
# It will help us diagnose broken compilers, and finding out an intuition
2093
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2094
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2095
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2096
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2097
(eval $ac_link_default) 2>&5
2099
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100
(exit $ac_status); }; then
2101
# Find the output, starting from the most likely. This scheme is
2102
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2105
# Be careful to initialize this variable, since it used to be cached.
2106
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2108
# b.out is created by i960 compilers.
2109
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2111
test -f "$ac_file" || continue
2113
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2116
# This is the source file.
2119
# We found the default executable, but exeext='' is most
2123
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2124
# FIXME: I believe we export ac_cv_exeext for Libtool,
2125
# but it would be cool to find out if it's true. Does anybody
2126
# maintain Libtool? --akim.
2134
echo "$as_me: failed program was:" >&5
2135
sed 's/^/| /' conftest.$ac_ext >&5
2137
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2138
See \`config.log' for more details." >&5
2139
echo "$as_me: error: C compiler cannot create executables
2140
See \`config.log' for more details." >&2;}
2141
{ (exit 77); exit 77; }; }
2144
ac_exeext=$ac_cv_exeext
2145
echo "$as_me:$LINENO: result: $ac_file" >&5
2146
echo "${ECHO_T}$ac_file" >&6
2148
# Check the compiler produces executables we can run. If not, either
2149
# the compiler is broken, or we cross compile.
2150
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2151
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2152
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2153
# If not cross compiling, check that we can run a simple program.
2154
if test "$cross_compiling" != yes; then
2155
if { ac_try='./$ac_file'
2156
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160
(exit $ac_status); }; }; then
926
ac_cv_prog_cc_cross=yes
2163
if test "$cross_compiling" = maybe; then
2166
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2167
If you meant to cross compile, use \`--host'.
2168
See \`config.log' for more details." >&5
2169
echo "$as_me: error: cannot run C compiled programs.
2170
If you meant to cross compile, use \`--host'.
2171
See \`config.log' for more details." >&2;}
2172
{ (exit 1); exit 1; }; }
929
echo "configure: failed program was:" >&5
930
cat conftest.$ac_ext >&5
931
ac_cv_prog_cc_works=no
935
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
936
ac_cpp='$CPP $CPPFLAGS'
937
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
938
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
939
cross_compiling=$ac_cv_prog_cc_cross
941
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
942
if test $ac_cv_prog_cc_works = no; then
943
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
945
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
946
echo "configure:947: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
947
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
948
cross_compiling=$ac_cv_prog_cc_cross
950
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
951
echo "configure:952: checking whether we are using GNU C" >&5
952
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
953
echo $ac_n "(cached) $ac_c" 1>&6
955
cat > conftest.c <<EOF
2176
echo "$as_me:$LINENO: result: yes" >&5
2177
echo "${ECHO_T}yes" >&6
2179
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2180
ac_clean_files=$ac_clean_files_save
2181
# Check the compiler produces executables we can run. If not, either
2182
# the compiler is broken, or we cross compile.
2183
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2184
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2185
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2186
echo "${ECHO_T}$cross_compiling" >&6
2188
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2189
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2190
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2191
(eval $ac_link) 2>&5
2193
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194
(exit $ac_status); }; then
2195
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2196
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2197
# work properly (i.e., refer to `conftest.exe'), while it won't with
2199
for ac_file in conftest.exe conftest conftest.*; do
2200
test -f "$ac_file" || continue
2202
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2203
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2210
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2211
See \`config.log' for more details." >&5
2212
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2213
See \`config.log' for more details." >&2;}
2214
{ (exit 1); exit 1; }; }
2217
rm -f conftest$ac_cv_exeext
2218
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2219
echo "${ECHO_T}$ac_cv_exeext" >&6
2221
rm -f conftest.$ac_ext
2222
EXEEXT=$ac_cv_exeext
2224
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2225
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2226
if test "${ac_cv_objext+set}" = set; then
2227
echo $ECHO_N "(cached) $ECHO_C" >&6
2229
cat >conftest.$ac_ext <<_ACEOF
2232
cat confdefs.h >>conftest.$ac_ext
2233
cat >>conftest.$ac_ext <<_ACEOF
2234
/* end confdefs.h. */
2244
rm -f conftest.o conftest.obj
2245
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2246
(eval $ac_compile) 2>&5
2248
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249
(exit $ac_status); }; then
2250
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2252
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2253
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2258
echo "$as_me: failed program was:" >&5
2259
sed 's/^/| /' conftest.$ac_ext >&5
2261
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2262
See \`config.log' for more details." >&5
2263
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2264
See \`config.log' for more details." >&2;}
2265
{ (exit 1); exit 1; }; }
2268
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2270
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2271
echo "${ECHO_T}$ac_cv_objext" >&6
2272
OBJEXT=$ac_cv_objext
2274
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2275
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2276
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2277
echo $ECHO_N "(cached) $ECHO_C" >&6
2279
cat >conftest.$ac_ext <<_ACEOF
2282
cat confdefs.h >>conftest.$ac_ext
2283
cat >>conftest.$ac_ext <<_ACEOF
2284
/* end confdefs.h. */
960
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
967
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
969
if test $ac_cv_prog_gcc = yes; then
975
ac_test_CFLAGS="${CFLAGS+set}"
976
ac_save_CFLAGS="$CFLAGS"
978
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
979
echo "configure:980: checking whether ${CC-cc} accepts -g" >&5
980
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
981
echo $ac_n "(cached) $ac_c" 1>&6
983
echo 'void f(){}' > conftest.c
984
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2297
rm -f conftest.$ac_objext
2298
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2299
(eval $ac_compile) 2>conftest.er1
2301
grep -v '^ *+' conftest.er1 >conftest.err
2303
cat conftest.err >&5
2304
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305
(exit $ac_status); } &&
2306
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2307
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311
(exit $ac_status); }; } &&
2312
{ ac_try='test -s conftest.$ac_objext'
2313
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2316
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317
(exit $ac_status); }; }; then
2320
echo "$as_me: failed program was:" >&5
2321
sed 's/^/| /' conftest.$ac_ext >&5
2325
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2326
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2329
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2330
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2331
GCC=`test $ac_compiler_gnu = yes && echo yes`
2332
ac_test_CFLAGS=${CFLAGS+set}
2333
ac_save_CFLAGS=$CFLAGS
2335
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2336
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2337
if test "${ac_cv_prog_cc_g+set}" = set; then
2338
echo $ECHO_N "(cached) $ECHO_C" >&6
2340
cat >conftest.$ac_ext <<_ACEOF
2343
cat confdefs.h >>conftest.$ac_ext
2344
cat >>conftest.$ac_ext <<_ACEOF
2345
/* end confdefs.h. */
2355
rm -f conftest.$ac_objext
2356
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2357
(eval $ac_compile) 2>conftest.er1
2359
grep -v '^ *+' conftest.er1 >conftest.err
2361
cat conftest.err >&5
2362
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363
(exit $ac_status); } &&
2364
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2365
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369
(exit $ac_status); }; } &&
2370
{ ac_try='test -s conftest.$ac_objext'
2371
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2374
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375
(exit $ac_status); }; }; then
985
2376
ac_cv_prog_cc_g=yes
993
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
2378
echo "$as_me: failed program was:" >&5
2379
sed 's/^/| /' conftest.$ac_ext >&5
2383
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2385
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2386
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
994
2387
if test "$ac_test_CFLAGS" = set; then
995
CFLAGS="$ac_save_CFLAGS"
2388
CFLAGS=$ac_save_CFLAGS
996
2389
elif test $ac_cv_prog_cc_g = yes; then
997
2390
if test "$GCC" = yes; then
1011
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1012
echo "configure:1013: checking how to run the C preprocessor" >&5
2402
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2403
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2404
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2405
echo $ECHO_N "(cached) $ECHO_C" >&6
2407
ac_cv_prog_cc_stdc=no
2409
cat >conftest.$ac_ext <<_ACEOF
2412
cat confdefs.h >>conftest.$ac_ext
2413
cat >>conftest.$ac_ext <<_ACEOF
2414
/* end confdefs.h. */
2417
#include <sys/types.h>
2418
#include <sys/stat.h>
2419
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2420
struct buf { int x; };
2421
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2422
static char *e (p, i)
2428
static char *f (char * (*g) (char **, int), char **p, ...)
2433
s = g (p, va_arg (v,int));
2438
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2439
function prototypes and stuff, but not '\xHH' hex character constants.
2440
These don't provoke an error unfortunately, instead are silently treated
2441
as 'x'. The following induces an error, until -std1 is added to get
2442
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2443
array size at least. It's necessary to write '\x00'==0 to get something
2444
that's true only with -std1. */
2445
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2447
int test (int i, double x);
2448
struct s1 {int (*f) (int a);};
2449
struct s2 {int (*f) (double a);};
2450
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2456
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2461
# Don't try gcc -ansi; that turns off useful extensions and
2462
# breaks some systems' header files.
2463
# AIX -qlanglvl=ansi
2464
# Ultrix and OSF/1 -std1
2465
# HP-UX 10.20 and later -Ae
2466
# HP-UX older versions -Aa -D_HPUX_SOURCE
2467
# SVR4 -Xc -D__EXTENSIONS__
2468
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2470
CC="$ac_save_CC $ac_arg"
2471
rm -f conftest.$ac_objext
2472
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2473
(eval $ac_compile) 2>conftest.er1
2475
grep -v '^ *+' conftest.er1 >conftest.err
2477
cat conftest.err >&5
2478
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479
(exit $ac_status); } &&
2480
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2481
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485
(exit $ac_status); }; } &&
2486
{ ac_try='test -s conftest.$ac_objext'
2487
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2490
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491
(exit $ac_status); }; }; then
2492
ac_cv_prog_cc_stdc=$ac_arg
2495
echo "$as_me: failed program was:" >&5
2496
sed 's/^/| /' conftest.$ac_ext >&5
2499
rm -f conftest.err conftest.$ac_objext
2501
rm -f conftest.$ac_ext conftest.$ac_objext
2506
case "x$ac_cv_prog_cc_stdc" in
2508
echo "$as_me:$LINENO: result: none needed" >&5
2509
echo "${ECHO_T}none needed" >&6 ;;
2511
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2512
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2513
CC="$CC $ac_cv_prog_cc_stdc" ;;
2516
# Some people use a C++ compiler to compile C. Since we use `exit',
2517
# in C++ we need to declare it. In case someone uses the same compiler
2518
# for both compiling C and C++ we need to have the C++ compiler decide
2519
# the declaration of exit, since it's the most demanding environment.
2520
cat >conftest.$ac_ext <<_ACEOF
2525
rm -f conftest.$ac_objext
2526
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2527
(eval $ac_compile) 2>conftest.er1
2529
grep -v '^ *+' conftest.er1 >conftest.err
2531
cat conftest.err >&5
2532
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533
(exit $ac_status); } &&
2534
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2535
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539
(exit $ac_status); }; } &&
2540
{ ac_try='test -s conftest.$ac_objext'
2541
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2544
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545
(exit $ac_status); }; }; then
2546
for ac_declaration in \
2548
'extern "C" void std::exit (int) throw (); using std::exit;' \
2549
'extern "C" void std::exit (int); using std::exit;' \
2550
'extern "C" void exit (int) throw ();' \
2551
'extern "C" void exit (int);' \
2554
cat >conftest.$ac_ext <<_ACEOF
2557
cat confdefs.h >>conftest.$ac_ext
2558
cat >>conftest.$ac_ext <<_ACEOF
2559
/* end confdefs.h. */
2570
rm -f conftest.$ac_objext
2571
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2572
(eval $ac_compile) 2>conftest.er1
2574
grep -v '^ *+' conftest.er1 >conftest.err
2576
cat conftest.err >&5
2577
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578
(exit $ac_status); } &&
2579
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2580
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584
(exit $ac_status); }; } &&
2585
{ ac_try='test -s conftest.$ac_objext'
2586
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590
(exit $ac_status); }; }; then
2593
echo "$as_me: failed program was:" >&5
2594
sed 's/^/| /' conftest.$ac_ext >&5
2598
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2599
cat >conftest.$ac_ext <<_ACEOF
2602
cat confdefs.h >>conftest.$ac_ext
2603
cat >>conftest.$ac_ext <<_ACEOF
2604
/* end confdefs.h. */
2614
rm -f conftest.$ac_objext
2615
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2616
(eval $ac_compile) 2>conftest.er1
2618
grep -v '^ *+' conftest.er1 >conftest.err
2620
cat conftest.err >&5
2621
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622
(exit $ac_status); } &&
2623
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2624
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628
(exit $ac_status); }; } &&
2629
{ ac_try='test -s conftest.$ac_objext'
2630
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634
(exit $ac_status); }; }; then
2637
echo "$as_me: failed program was:" >&5
2638
sed 's/^/| /' conftest.$ac_ext >&5
2641
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2644
if test -n "$ac_declaration"; then
2645
echo '#ifdef __cplusplus' >>confdefs.h
2646
echo $ac_declaration >>confdefs.h
2647
echo '#endif' >>confdefs.h
2651
echo "$as_me: failed program was:" >&5
2652
sed 's/^/| /' conftest.$ac_ext >&5
2655
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2657
ac_cpp='$CPP $CPPFLAGS'
2658
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2659
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2660
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2661
DEPDIR="${am__leading_dot}deps"
2663
ac_config_commands="$ac_config_commands depfiles"
2666
am_make=${MAKE-make}
2667
cat > confinc << 'END'
2672
# If we don't find an include directive, just comment out the code.
2673
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2674
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2678
# First try GNU make style include.
2679
echo "include confinc" > confmf
2680
# We grep out `Entering directory' and `Leaving directory'
2681
# messages which can occur if `w' ends up in MAKEFLAGS.
2682
# In particular we don't look at `^make:' because GNU make might
2683
# be invoked under some other name (usually "gmake"), in which
2684
# case it prints its new name instead of `make'.
2685
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2690
# Now try BSD make style include.
2691
if test "$am__include" = "#"; then
2692
echo '.include "confinc"' > confmf
2693
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2694
am__include=.include
2701
echo "$as_me:$LINENO: result: $_am_result" >&5
2702
echo "${ECHO_T}$_am_result" >&6
2703
rm -f confinc confmf
2705
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2706
if test "${enable_dependency_tracking+set}" = set; then
2707
enableval="$enable_dependency_tracking"
2710
if test "x$enable_dependency_tracking" != xno; then
2711
am_depcomp="$ac_aux_dir/depcomp"
2716
if test "x$enable_dependency_tracking" != xno; then
2727
depcc="$CC" am_compiler_list=
2729
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2730
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2731
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2732
echo $ECHO_N "(cached) $ECHO_C" >&6
2734
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2735
# We make a subdir and do the tests there. Otherwise we can end up
2736
# making bogus files that we don't know about and never remove. For
2737
# instance it was reported that on HP-UX the gcc test will end up
2738
# making a dummy file named `D' -- because `-MD' means `put the output
2741
# Copy depcomp to subdir because otherwise we won't find it if we're
2742
# using a relative directory.
2743
cp "$am_depcomp" conftest.dir
2745
# We will build objects and dependencies in a subdirectory because
2746
# it helps to detect inapplicable dependency modes. For instance
2747
# both Tru64's cc and ICC support -MD to output dependencies as a
2748
# side effect of compilation, but ICC will put the dependencies in
2749
# the current directory while Tru64 will put them in the object
2753
am_cv_CC_dependencies_compiler_type=none
2754
if test "$am_compiler_list" = ""; then
2755
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2757
for depmode in $am_compiler_list; do
2758
# Setup a source with many dependencies, because some compilers
2759
# like to wrap large dependency lists on column 80 (with \), and
2760
# we should not choose a depcomp mode which is confused by this.
2762
# We need to recreate these files for each test, as the compiler may
2763
# overwrite some of them when testing with obscure command lines.
2764
# This happens at least with the AIX C compiler.
2766
for i in 1 2 3 4 5 6; do
2767
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2768
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2769
# Solaris 8's {/usr,}/bin/sh.
2770
touch sub/conftst$i.h
2772
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2776
# after this tag, mechanisms are not by side-effect, so they'll
2777
# only be used when explicitly requested
2778
if test "x$enable_dependency_tracking" = xyes; then
2786
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2787
# mode. It turns out that the SunPro C++ compiler does not properly
2788
# handle `-M -o', and we need to detect this.
2789
if depmode=$depmode \
2790
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2791
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2792
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2793
>/dev/null 2>conftest.err &&
2794
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2795
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2796
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2797
# icc doesn't choke on unknown options, it will just issue warnings
2798
# or remarks (even with -Werror). So we grep stderr for any message
2799
# that says an option was ignored or not supported.
2800
# When given -MP, icc 7.0 and 7.1 complain thusly:
2801
# icc: Command line warning: ignoring option '-M'; no argument required
2802
# The diagnosis changed in icc 8.0:
2803
# icc: Command line remark: option '-MP' not supported
2804
if (grep 'ignoring option' conftest.err ||
2805
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2806
am_cv_CC_dependencies_compiler_type=$depmode
2815
am_cv_CC_dependencies_compiler_type=none
2819
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2820
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2821
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2826
test "x$enable_dependency_tracking" != xno \
2827
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2829
am__fastdepCC_FALSE='#'
2831
am__fastdepCC_TRUE='#'
2832
am__fastdepCC_FALSE=
2837
# Check whether --enable-default-device or --disable-default-device was given.
2838
if test "${enable_default_device+set}" = set; then
2839
enableval="$enable_default_device"
2840
DEFAULTDEVICE=$enableval
2846
# Check whether --enable-nls or --disable-nls was given.
2847
if test "${enable_nls+set}" = set; then
2848
enableval="$enable_nls"
2853
if test "x$use_nls" != "xno" ; then
2854
CFLAGS="$CFLAGS -DUSE_NLS=1"
2858
if test "x$use_nls" != "xno"; then
2869
ac_cpp='$CPP $CPPFLAGS'
2870
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2871
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2872
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2873
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2874
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1013
2875
# On Suns, sometimes $CPP names a directory.
1014
2876
if test -n "$CPP" && test -d "$CPP"; then
1017
2879
if test -z "$CPP"; then
1018
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1019
echo $ac_n "(cached) $ac_c" 1>&6
1021
# This must be in double quotes, not single quotes, because CPP may get
1022
# substituted into the Makefile and "${CC-cc}" will confuse make.
1024
# On the NeXT, cc -E runs the code through the compiler's parser,
1025
# not just through cpp.
1026
cat > conftest.$ac_ext <<EOF
1027
#line 1028 "configure"
1028
#include "confdefs.h"
1032
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1033
{ (eval echo configure:1034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1034
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1035
if test -z "$ac_err"; then
1039
echo "configure: failed program was:" >&5
1040
cat conftest.$ac_ext >&5
1042
CPP="${CC-cc} -E -traditional-cpp"
1043
cat > conftest.$ac_ext <<EOF
1044
#line 1045 "configure"
1045
#include "confdefs.h"
1049
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1050
{ (eval echo configure:1051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1051
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1052
if test -z "$ac_err"; then
1056
echo "configure: failed program was:" >&5
1057
cat conftest.$ac_ext >&5
1059
CPP="${CC-cc} -nologo -E"
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
1083
ac_cv_prog_CPP="$CPP"
1085
CPP="$ac_cv_prog_CPP"
1087
ac_cv_prog_CPP="$CPP"
1089
echo "$ac_t""$CPP" 1>&6
1091
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1092
echo "configure:1093: checking for ANSI C header files" >&5
1093
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1094
echo $ac_n "(cached) $ac_c" 1>&6
1096
cat > conftest.$ac_ext <<EOF
1097
#line 1098 "configure"
1098
#include "confdefs.h"
2880
if test "${ac_cv_prog_CPP+set}" = set; then
2881
echo $ECHO_N "(cached) $ECHO_C" >&6
2883
# Double quotes because CPP needs to be expanded
2884
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2887
for ac_c_preproc_warn_flag in '' yes
2889
# Use a header file that comes with gcc, so configuring glibc
2890
# with a fresh cross-compiler works.
2891
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2892
# <limits.h> exists even on freestanding compilers.
2893
# On the NeXT, cc -E runs the code through the compiler's parser,
2894
# not just through cpp. "Syntax error" is here to catch this case.
2895
cat >conftest.$ac_ext <<_ACEOF
2898
cat confdefs.h >>conftest.$ac_ext
2899
cat >>conftest.$ac_ext <<_ACEOF
2900
/* end confdefs.h. */
2902
# include <limits.h>
2904
# include <assert.h>
2908
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2909
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2911
grep -v '^ *+' conftest.er1 >conftest.err
2913
cat conftest.err >&5
2914
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915
(exit $ac_status); } >/dev/null; then
2916
if test -s conftest.err; then
2917
ac_cpp_err=$ac_c_preproc_warn_flag
2918
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2925
if test -z "$ac_cpp_err"; then
2928
echo "$as_me: failed program was:" >&5
2929
sed 's/^/| /' conftest.$ac_ext >&5
2931
# Broken: fails on valid input.
2934
rm -f conftest.err conftest.$ac_ext
2936
# OK, works on sane cases. Now check whether non-existent headers
2937
# can be detected and how.
2938
cat >conftest.$ac_ext <<_ACEOF
2941
cat confdefs.h >>conftest.$ac_ext
2942
cat >>conftest.$ac_ext <<_ACEOF
2943
/* end confdefs.h. */
2944
#include <ac_nonexistent.h>
2946
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2947
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2949
grep -v '^ *+' conftest.er1 >conftest.err
2951
cat conftest.err >&5
2952
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953
(exit $ac_status); } >/dev/null; then
2954
if test -s conftest.err; then
2955
ac_cpp_err=$ac_c_preproc_warn_flag
2956
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2963
if test -z "$ac_cpp_err"; then
2964
# Broken: success on invalid input.
2967
echo "$as_me: failed program was:" >&5
2968
sed 's/^/| /' conftest.$ac_ext >&5
2970
# Passes both tests.
2974
rm -f conftest.err conftest.$ac_ext
2977
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2978
rm -f conftest.err conftest.$ac_ext
2979
if $ac_preproc_ok; then
2991
echo "$as_me:$LINENO: result: $CPP" >&5
2992
echo "${ECHO_T}$CPP" >&6
2994
for ac_c_preproc_warn_flag in '' yes
2996
# Use a header file that comes with gcc, so configuring glibc
2997
# with a fresh cross-compiler works.
2998
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2999
# <limits.h> exists even on freestanding compilers.
3000
# On the NeXT, cc -E runs the code through the compiler's parser,
3001
# not just through cpp. "Syntax error" is here to catch this case.
3002
cat >conftest.$ac_ext <<_ACEOF
3005
cat confdefs.h >>conftest.$ac_ext
3006
cat >>conftest.$ac_ext <<_ACEOF
3007
/* end confdefs.h. */
3009
# include <limits.h>
3011
# include <assert.h>
3015
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3016
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3018
grep -v '^ *+' conftest.er1 >conftest.err
3020
cat conftest.err >&5
3021
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022
(exit $ac_status); } >/dev/null; then
3023
if test -s conftest.err; then
3024
ac_cpp_err=$ac_c_preproc_warn_flag
3025
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3032
if test -z "$ac_cpp_err"; then
3035
echo "$as_me: failed program was:" >&5
3036
sed 's/^/| /' conftest.$ac_ext >&5
3038
# Broken: fails on valid input.
3041
rm -f conftest.err conftest.$ac_ext
3043
# OK, works on sane cases. Now check whether non-existent headers
3044
# can be detected and how.
3045
cat >conftest.$ac_ext <<_ACEOF
3048
cat confdefs.h >>conftest.$ac_ext
3049
cat >>conftest.$ac_ext <<_ACEOF
3050
/* end confdefs.h. */
3051
#include <ac_nonexistent.h>
3053
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3054
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3056
grep -v '^ *+' conftest.er1 >conftest.err
3058
cat conftest.err >&5
3059
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060
(exit $ac_status); } >/dev/null; then
3061
if test -s conftest.err; then
3062
ac_cpp_err=$ac_c_preproc_warn_flag
3063
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3070
if test -z "$ac_cpp_err"; then
3071
# Broken: success on invalid input.
3074
echo "$as_me: failed program was:" >&5
3075
sed 's/^/| /' conftest.$ac_ext >&5
3077
# Passes both tests.
3081
rm -f conftest.err conftest.$ac_ext
3084
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3085
rm -f conftest.err conftest.$ac_ext
3086
if $ac_preproc_ok; then
3089
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3090
See \`config.log' for more details." >&5
3091
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3092
See \`config.log' for more details." >&2;}
3093
{ (exit 1); exit 1; }; }
3097
ac_cpp='$CPP $CPPFLAGS'
3098
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3099
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3100
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3103
echo "$as_me:$LINENO: checking for egrep" >&5
3104
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3105
if test "${ac_cv_prog_egrep+set}" = set; then
3106
echo $ECHO_N "(cached) $ECHO_C" >&6
3108
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3109
then ac_cv_prog_egrep='grep -E'
3110
else ac_cv_prog_egrep='egrep'
3113
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3114
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3115
EGREP=$ac_cv_prog_egrep
3118
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3119
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3120
if test "${ac_cv_header_stdc+set}" = set; then
3121
echo $ECHO_N "(cached) $ECHO_C" >&6
3123
cat >conftest.$ac_ext <<_ACEOF
3126
cat confdefs.h >>conftest.$ac_ext
3127
cat >>conftest.$ac_ext <<_ACEOF
3128
/* end confdefs.h. */
1099
3129
#include <stdlib.h>
1100
3130
#include <stdarg.h>
1101
3131
#include <string.h>
1102
3132
#include <float.h>
1104
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1105
{ (eval echo configure:1106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1106
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1107
if test -z "$ac_err"; then
3142
rm -f conftest.$ac_objext
3143
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3144
(eval $ac_compile) 2>conftest.er1
3146
grep -v '^ *+' conftest.er1 >conftest.err
3148
cat conftest.err >&5
3149
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150
(exit $ac_status); } &&
3151
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3152
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156
(exit $ac_status); }; } &&
3157
{ ac_try='test -s conftest.$ac_objext'
3158
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3161
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162
(exit $ac_status); }; }; then
1109
3163
ac_cv_header_stdc=yes
1112
echo "configure: failed program was:" >&5
1113
cat conftest.$ac_ext >&5
1115
ac_cv_header_stdc=no
3165
echo "$as_me: failed program was:" >&5
3166
sed 's/^/| /' conftest.$ac_ext >&5
3168
ac_cv_header_stdc=no
3170
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1119
3172
if test $ac_cv_header_stdc = yes; then
1120
3173
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1121
cat > conftest.$ac_ext <<EOF
1122
#line 1123 "configure"
1123
#include "confdefs.h"
3174
cat >conftest.$ac_ext <<_ACEOF
3177
cat confdefs.h >>conftest.$ac_ext
3178
cat >>conftest.$ac_ext <<_ACEOF
3179
/* end confdefs.h. */
1124
3180
#include <string.h>
1126
3183
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1127
egrep "memchr" >/dev/null 2>&1; then
3184
$EGREP "memchr" >/dev/null 2>&1; then
1131
3187
ac_cv_header_stdc=no
1133
3189
rm -f conftest*
1155
3214
if test $ac_cv_header_stdc = yes; then
1156
3215
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1157
if test "$cross_compiling" = yes; then
3216
if test "$cross_compiling" = yes; then
1160
cat > conftest.$ac_ext <<EOF
1161
#line 1162 "configure"
1162
#include "confdefs.h"
3219
cat >conftest.$ac_ext <<_ACEOF
3222
cat confdefs.h >>conftest.$ac_ext
3223
cat >>conftest.$ac_ext <<_ACEOF
3224
/* end confdefs.h. */
1163
3225
#include <ctype.h>
1164
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1165
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3226
#if ((' ' & 0x0FF) == 0x020)
3227
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3228
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3230
# define ISLOWER(c) \
3231
(('a' <= (c) && (c) <= 'i') \
3232
|| ('j' <= (c) && (c) <= 'r') \
3233
|| ('s' <= (c) && (c) <= 'z'))
3234
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1166
3237
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1167
int main () { int i; for (i = 0; i < 256; i++)
1168
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1172
if { (eval echo configure:1173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3242
for (i = 0; i < 256; i++)
3243
if (XOR (islower (i), ISLOWER (i))
3244
|| toupper (i) != TOUPPER (i))
3249
rm -f conftest$ac_exeext
3250
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3251
(eval $ac_link) 2>&5
3253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3255
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3258
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259
(exit $ac_status); }; }; then
1176
echo "configure: failed program was:" >&5
1177
cat conftest.$ac_ext >&5
1179
ac_cv_header_stdc=no
1187
echo "$ac_t""$ac_cv_header_stdc" 1>&6
3262
echo "$as_me: program exited with status $ac_status" >&5
3263
echo "$as_me: failed program was:" >&5
3264
sed 's/^/| /' conftest.$ac_ext >&5
3267
ac_cv_header_stdc=no
3269
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3273
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3274
echo "${ECHO_T}$ac_cv_header_stdc" >&6
1188
3275
if test $ac_cv_header_stdc = yes; then
1189
cat >> confdefs.h <<\EOF
3277
cat >>confdefs.h <<\_ACEOF
1190
3278
#define STDC_HEADERS 1
1195
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
1196
echo "configure:1197: checking for sys/wait.h that is POSIX.1 compatible" >&5
1197
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
1198
echo $ac_n "(cached) $ac_c" 1>&6
3283
echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
3284
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
3285
if test "${ac_cv_header_sys_wait_h+set}" = set; then
3286
echo $ECHO_N "(cached) $ECHO_C" >&6
1200
cat > conftest.$ac_ext <<EOF
1201
#line 1202 "configure"
1202
#include "confdefs.h"
3288
cat >conftest.$ac_ext <<_ACEOF
3291
cat confdefs.h >>conftest.$ac_ext
3292
cat >>conftest.$ac_ext <<_ACEOF
3293
/* end confdefs.h. */
1203
3294
#include <sys/types.h>
1204
3295
#include <sys/wait.h>
1205
3296
#ifndef WEXITSTATUS
1206
#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3297
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
1208
3299
#ifndef WIFEXITED
1209
#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3300
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
1214
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
1217
if { (eval echo configure:1218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3308
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3313
rm -f conftest.$ac_objext
3314
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3315
(eval $ac_compile) 2>conftest.er1
3317
grep -v '^ *+' conftest.er1 >conftest.err
3319
cat conftest.err >&5
3320
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321
(exit $ac_status); } &&
3322
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3323
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327
(exit $ac_status); }; } &&
3328
{ ac_try='test -s conftest.$ac_objext'
3329
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333
(exit $ac_status); }; }; then
1219
3334
ac_cv_header_sys_wait_h=yes
1221
echo "configure: failed program was:" >&5
1222
cat conftest.$ac_ext >&5
1224
ac_cv_header_sys_wait_h=no
3336
echo "$as_me: failed program was:" >&5
3337
sed 's/^/| /' conftest.$ac_ext >&5
1229
echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
3339
ac_cv_header_sys_wait_h=no
3341
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3343
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
3344
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
1230
3345
if test $ac_cv_header_sys_wait_h = yes; then
1231
cat >> confdefs.h <<\EOF
3347
cat >>confdefs.h <<\_ACEOF
1232
3348
#define HAVE_SYS_WAIT_H 1
1237
for ac_hdr in fcntl.h sys/ioctl.h unistd.h
1239
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1240
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1241
echo "configure:1242: checking for $ac_hdr" >&5
1242
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1243
echo $ac_n "(cached) $ac_c" 1>&6
1245
cat > conftest.$ac_ext <<EOF
1246
#line 1247 "configure"
1247
#include "confdefs.h"
1250
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1251
{ (eval echo configure:1252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1252
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1253
if test -z "$ac_err"; then
1255
eval "ac_cv_header_$ac_safe=yes"
1258
echo "configure: failed program was:" >&5
1259
cat conftest.$ac_ext >&5
1261
eval "ac_cv_header_$ac_safe=no"
1265
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1266
echo "$ac_t""yes" 1>&6
1267
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1268
cat >> confdefs.h <<EOF
1269
#define $ac_tr_hdr 1
1273
echo "$ac_t""no" 1>&6
1278
echo $ac_n "checking for working const""... $ac_c" 1>&6
1279
echo "configure:1280: checking for working const" >&5
1280
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1281
echo $ac_n "(cached) $ac_c" 1>&6
1283
cat > conftest.$ac_ext <<EOF
1284
#line 1285 "configure"
1285
#include "confdefs.h"
1289
/* Ultrix mips cc rejects this. */
1290
typedef int charset[2]; const charset x;
1291
/* SunOS 4.1.1 cc rejects this. */
1292
char const *const *ccp;
1294
/* NEC SVR4.0.2 mips cc rejects this. */
1295
struct point {int x, y;};
1296
static struct point const zero = {0,0};
1297
/* AIX XL C 1.02.0.0 rejects this.
1298
It does not let you subtract one const X* pointer from another in an arm
1299
of an if-expression whose if-part is not a constant expression */
1300
const char *g = "string";
1301
ccp = &g + (g ? g-g : 0);
1302
/* HPUX 7.0 cc rejects these. */
1305
ccp = (char const *const *) p;
1306
{ /* SCO 3.2v4 cc rejects this. */
1308
char const *s = 0 ? (char *) 0 : (char const *) 0;
1312
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1314
const int *foo = &x[0];
1317
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1318
typedef const int *iptr;
1322
{ /* AIX XL C 1.02.0.0 rejects this saying
1323
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1324
struct s { int j; const int *ap[3]; };
1325
struct s *b; b->j = 5;
1327
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1333
if { (eval echo configure:1334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3353
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3363
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3364
inttypes.h stdint.h unistd.h
3366
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3367
echo "$as_me:$LINENO: checking for $ac_header" >&5
3368
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3369
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3370
echo $ECHO_N "(cached) $ECHO_C" >&6
3372
cat >conftest.$ac_ext <<_ACEOF
3375
cat confdefs.h >>conftest.$ac_ext
3376
cat >>conftest.$ac_ext <<_ACEOF
3377
/* end confdefs.h. */
3378
$ac_includes_default
3380
#include <$ac_header>
3382
rm -f conftest.$ac_objext
3383
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3384
(eval $ac_compile) 2>conftest.er1
3386
grep -v '^ *+' conftest.er1 >conftest.err
3388
cat conftest.err >&5
3389
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390
(exit $ac_status); } &&
3391
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3392
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3395
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396
(exit $ac_status); }; } &&
3397
{ ac_try='test -s conftest.$ac_objext'
3398
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402
(exit $ac_status); }; }; then
3403
eval "$as_ac_Header=yes"
3405
echo "$as_me: failed program was:" >&5
3406
sed 's/^/| /' conftest.$ac_ext >&5
3408
eval "$as_ac_Header=no"
3410
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3412
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3413
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3414
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3415
cat >>confdefs.h <<_ACEOF
3416
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3427
for ac_header in fcntl.h sys/ioctl.h unistd.h
3429
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3430
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3431
echo "$as_me:$LINENO: checking for $ac_header" >&5
3432
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3433
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3434
echo $ECHO_N "(cached) $ECHO_C" >&6
3436
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3437
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3439
# Is the header compilable?
3440
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3441
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3442
cat >conftest.$ac_ext <<_ACEOF
3445
cat confdefs.h >>conftest.$ac_ext
3446
cat >>conftest.$ac_ext <<_ACEOF
3447
/* end confdefs.h. */
3448
$ac_includes_default
3449
#include <$ac_header>
3451
rm -f conftest.$ac_objext
3452
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3453
(eval $ac_compile) 2>conftest.er1
3455
grep -v '^ *+' conftest.er1 >conftest.err
3457
cat conftest.err >&5
3458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459
(exit $ac_status); } &&
3460
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3461
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465
(exit $ac_status); }; } &&
3466
{ ac_try='test -s conftest.$ac_objext'
3467
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471
(exit $ac_status); }; }; then
3472
ac_header_compiler=yes
3474
echo "$as_me: failed program was:" >&5
3475
sed 's/^/| /' conftest.$ac_ext >&5
3477
ac_header_compiler=no
3479
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3480
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3481
echo "${ECHO_T}$ac_header_compiler" >&6
3483
# Is the header present?
3484
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3485
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3486
cat >conftest.$ac_ext <<_ACEOF
3489
cat confdefs.h >>conftest.$ac_ext
3490
cat >>conftest.$ac_ext <<_ACEOF
3491
/* end confdefs.h. */
3492
#include <$ac_header>
3494
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3495
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3497
grep -v '^ *+' conftest.er1 >conftest.err
3499
cat conftest.err >&5
3500
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501
(exit $ac_status); } >/dev/null; then
3502
if test -s conftest.err; then
3503
ac_cpp_err=$ac_c_preproc_warn_flag
3504
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3511
if test -z "$ac_cpp_err"; then
3512
ac_header_preproc=yes
3514
echo "$as_me: failed program was:" >&5
3515
sed 's/^/| /' conftest.$ac_ext >&5
3517
ac_header_preproc=no
3519
rm -f conftest.err conftest.$ac_ext
3520
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3521
echo "${ECHO_T}$ac_header_preproc" >&6
3523
# So? What about this header?
3524
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3526
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3527
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3528
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3529
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3530
ac_header_preproc=yes
3533
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3534
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3535
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3536
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3537
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3538
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3539
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3540
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3541
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3542
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3543
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3544
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3547
## ------------------------------------------ ##
3548
## Report this to the AC_PACKAGE_NAME lists. ##
3549
## ------------------------------------------ ##
3552
sed "s/^/$as_me: WARNING: /" >&2
3555
echo "$as_me:$LINENO: checking for $ac_header" >&5
3556
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3557
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3558
echo $ECHO_N "(cached) $ECHO_C" >&6
3560
eval "$as_ac_Header=\$ac_header_preproc"
3562
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3563
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3566
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3567
cat >>confdefs.h <<_ACEOF
3568
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3576
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3577
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3578
if test "${ac_cv_c_const+set}" = set; then
3579
echo $ECHO_N "(cached) $ECHO_C" >&6
3581
cat >conftest.$ac_ext <<_ACEOF
3584
cat confdefs.h >>conftest.$ac_ext
3585
cat >>conftest.$ac_ext <<_ACEOF
3586
/* end confdefs.h. */
3591
/* FIXME: Include the comments suggested by Paul. */
3593
/* Ultrix mips cc rejects this. */
3594
typedef int charset[2];
3596
/* SunOS 4.1.1 cc rejects this. */
3597
char const *const *ccp;
3599
/* NEC SVR4.0.2 mips cc rejects this. */
3600
struct point {int x, y;};
3601
static struct point const zero = {0,0};
3602
/* AIX XL C 1.02.0.0 rejects this.
3603
It does not let you subtract one const X* pointer from another in
3604
an arm of an if-expression whose if-part is not a constant
3606
const char *g = "string";
3607
ccp = &g + (g ? g-g : 0);
3608
/* HPUX 7.0 cc rejects these. */
3611
ccp = (char const *const *) p;
3612
{ /* SCO 3.2v4 cc rejects this. */
3614
char const *s = 0 ? (char *) 0 : (char const *) 0;
3618
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3620
const int *foo = &x[0];
3623
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3624
typedef const int *iptr;
3628
{ /* AIX XL C 1.02.0.0 rejects this saying
3629
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3630
struct s { int j; const int *ap[3]; };
3631
struct s *b; b->j = 5;
3633
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3642
rm -f conftest.$ac_objext
3643
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3644
(eval $ac_compile) 2>conftest.er1
3646
grep -v '^ *+' conftest.er1 >conftest.err
3648
cat conftest.err >&5
3649
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650
(exit $ac_status); } &&
3651
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3652
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656
(exit $ac_status); }; } &&
3657
{ ac_try='test -s conftest.$ac_objext'
3658
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3661
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662
(exit $ac_status); }; }; then
1335
3663
ac_cv_c_const=yes
1337
echo "configure: failed program was:" >&5
1338
cat conftest.$ac_ext >&5
3665
echo "$as_me: failed program was:" >&5
3666
sed 's/^/| /' conftest.$ac_ext >&5
1345
echo "$ac_t""$ac_cv_c_const" 1>&6
3670
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3672
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3673
echo "${ECHO_T}$ac_cv_c_const" >&6
1346
3674
if test $ac_cv_c_const = no; then
1347
cat >> confdefs.h <<\EOF
3676
cat >>confdefs.h <<\_ACEOF
1354
3686
for ac_func in regcomp strdup strerror
1356
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1357
echo "configure:1358: checking for $ac_func" >&5
1358
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1359
echo $ac_n "(cached) $ac_c" 1>&6
3688
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3689
echo "$as_me:$LINENO: checking for $ac_func" >&5
3690
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3691
if eval "test \"\${$as_ac_var+set}\" = set"; then
3692
echo $ECHO_N "(cached) $ECHO_C" >&6
1361
cat > conftest.$ac_ext <<EOF
1362
#line 1363 "configure"
1363
#include "confdefs.h"
3694
cat >conftest.$ac_ext <<_ACEOF
3697
cat confdefs.h >>conftest.$ac_ext
3698
cat >>conftest.$ac_ext <<_ACEOF
3699
/* end confdefs.h. */
3700
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3701
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3702
#define $ac_func innocuous_$ac_func
1364
3704
/* System header to define __stub macros and hopefully few prototypes,
1365
which can conflict with char $ac_func(); below. */
3705
which can conflict with char $ac_func (); below.
3706
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3707
<limits.h> exists even on freestanding compilers. */
3710
# include <limits.h>
3712
# include <assert.h>
1367
3717
/* Override any gcc2 internal prototype to avoid an error. */
1368
3722
/* We use char because int might match the return type of a gcc2
1369
builtin and then its argument prototype would still apply. */
3723
builtin and then its argument prototype would still apply. */
1374
3725
/* The GNU C library defines this for functions which it implements
1375
3726
to always fail with ENOSYS. Some functions are actually named
1376
3727
something starting with __ and the normal name is an alias. */
1377
3728
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1385
if { (eval echo configure:1386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1387
eval "ac_cv_func_$ac_func=yes"
1389
echo "configure: failed program was:" >&5
1390
cat conftest.$ac_ext >&5
1392
eval "ac_cv_func_$ac_func=no"
1397
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1398
echo "$ac_t""yes" 1>&6
1399
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1400
cat >> confdefs.h <<EOF
1401
#define $ac_tr_func 1
1405
echo "$ac_t""no" 1>&6
3731
char (*f) () = $ac_func;
3740
return f != $ac_func;
3745
rm -f conftest.$ac_objext conftest$ac_exeext
3746
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3747
(eval $ac_link) 2>conftest.er1
3749
grep -v '^ *+' conftest.er1 >conftest.err
3751
cat conftest.err >&5
3752
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753
(exit $ac_status); } &&
3754
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3755
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3758
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3759
(exit $ac_status); }; } &&
3760
{ ac_try='test -s conftest$ac_exeext'
3761
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3764
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765
(exit $ac_status); }; }; then
3766
eval "$as_ac_var=yes"
3768
echo "$as_me: failed program was:" >&5
3769
sed 's/^/| /' conftest.$ac_ext >&5
3771
eval "$as_ac_var=no"
3773
rm -f conftest.err conftest.$ac_objext \
3774
conftest$ac_exeext conftest.$ac_ext
3776
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3777
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3778
if test `eval echo '${'$as_ac_var'}'` = yes; then
3779
cat >>confdefs.h <<_ACEOF
3780
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1413
cat > confcache <<\EOF
3787
if test "${ac_cv_header_linux_version_h+set}" = set; then
3788
echo "$as_me:$LINENO: checking for linux/version.h" >&5
3789
echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
3790
if test "${ac_cv_header_linux_version_h+set}" = set; then
3791
echo $ECHO_N "(cached) $ECHO_C" >&6
3793
echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
3794
echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
3796
# Is the header compilable?
3797
echo "$as_me:$LINENO: checking linux/version.h usability" >&5
3798
echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
3799
cat >conftest.$ac_ext <<_ACEOF
3802
cat confdefs.h >>conftest.$ac_ext
3803
cat >>conftest.$ac_ext <<_ACEOF
3804
/* end confdefs.h. */
3805
$ac_includes_default
3806
#include <linux/version.h>
3808
rm -f conftest.$ac_objext
3809
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3810
(eval $ac_compile) 2>conftest.er1
3812
grep -v '^ *+' conftest.er1 >conftest.err
3814
cat conftest.err >&5
3815
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816
(exit $ac_status); } &&
3817
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3818
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3821
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822
(exit $ac_status); }; } &&
3823
{ ac_try='test -s conftest.$ac_objext'
3824
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3827
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828
(exit $ac_status); }; }; then
3829
ac_header_compiler=yes
3831
echo "$as_me: failed program was:" >&5
3832
sed 's/^/| /' conftest.$ac_ext >&5
3834
ac_header_compiler=no
3836
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3837
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3838
echo "${ECHO_T}$ac_header_compiler" >&6
3840
# Is the header present?
3841
echo "$as_me:$LINENO: checking linux/version.h presence" >&5
3842
echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
3843
cat >conftest.$ac_ext <<_ACEOF
3846
cat confdefs.h >>conftest.$ac_ext
3847
cat >>conftest.$ac_ext <<_ACEOF
3848
/* end confdefs.h. */
3849
#include <linux/version.h>
3851
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3852
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3854
grep -v '^ *+' conftest.er1 >conftest.err
3856
cat conftest.err >&5
3857
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858
(exit $ac_status); } >/dev/null; then
3859
if test -s conftest.err; then
3860
ac_cpp_err=$ac_c_preproc_warn_flag
3861
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3868
if test -z "$ac_cpp_err"; then
3869
ac_header_preproc=yes
3871
echo "$as_me: failed program was:" >&5
3872
sed 's/^/| /' conftest.$ac_ext >&5
3874
ac_header_preproc=no
3876
rm -f conftest.err conftest.$ac_ext
3877
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3878
echo "${ECHO_T}$ac_header_preproc" >&6
3880
# So? What about this header?
3881
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3883
{ echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
3884
echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3885
{ echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
3886
echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
3887
ac_header_preproc=yes
3890
{ echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
3891
echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
3892
{ echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
3893
echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
3894
{ echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
3895
echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
3896
{ echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
3897
echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
3898
{ echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
3899
echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
3900
{ echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
3901
echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
3904
## ------------------------------------------ ##
3905
## Report this to the AC_PACKAGE_NAME lists. ##
3906
## ------------------------------------------ ##
3909
sed "s/^/$as_me: WARNING: /" >&2
3912
echo "$as_me:$LINENO: checking for linux/version.h" >&5
3913
echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
3914
if test "${ac_cv_header_linux_version_h+set}" = set; then
3915
echo $ECHO_N "(cached) $ECHO_C" >&6
3917
ac_cv_header_linux_version_h=$ac_header_preproc
3919
echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
3920
echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
3923
if test $ac_cv_header_linux_version_h = yes; then
3927
unset ac_cv_header_linux_version_h
3928
CPPFLAGS="$CPPFLAGS -I/usr/src/linux/include"
3929
if test "${ac_cv_header_linux_version_h+set}" = set; then
3930
echo "$as_me:$LINENO: checking for linux/version.h" >&5
3931
echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
3932
if test "${ac_cv_header_linux_version_h+set}" = set; then
3933
echo $ECHO_N "(cached) $ECHO_C" >&6
3935
echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
3936
echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
3938
# Is the header compilable?
3939
echo "$as_me:$LINENO: checking linux/version.h usability" >&5
3940
echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
3941
cat >conftest.$ac_ext <<_ACEOF
3944
cat confdefs.h >>conftest.$ac_ext
3945
cat >>conftest.$ac_ext <<_ACEOF
3946
/* end confdefs.h. */
3947
$ac_includes_default
3948
#include <linux/version.h>
3950
rm -f conftest.$ac_objext
3951
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3952
(eval $ac_compile) 2>conftest.er1
3954
grep -v '^ *+' conftest.er1 >conftest.err
3956
cat conftest.err >&5
3957
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958
(exit $ac_status); } &&
3959
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3960
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3963
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964
(exit $ac_status); }; } &&
3965
{ ac_try='test -s conftest.$ac_objext'
3966
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3969
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970
(exit $ac_status); }; }; then
3971
ac_header_compiler=yes
3973
echo "$as_me: failed program was:" >&5
3974
sed 's/^/| /' conftest.$ac_ext >&5
3976
ac_header_compiler=no
3978
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3979
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3980
echo "${ECHO_T}$ac_header_compiler" >&6
3982
# Is the header present?
3983
echo "$as_me:$LINENO: checking linux/version.h presence" >&5
3984
echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
3985
cat >conftest.$ac_ext <<_ACEOF
3988
cat confdefs.h >>conftest.$ac_ext
3989
cat >>conftest.$ac_ext <<_ACEOF
3990
/* end confdefs.h. */
3991
#include <linux/version.h>
3993
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3994
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3996
grep -v '^ *+' conftest.er1 >conftest.err
3998
cat conftest.err >&5
3999
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4000
(exit $ac_status); } >/dev/null; then
4001
if test -s conftest.err; then
4002
ac_cpp_err=$ac_c_preproc_warn_flag
4003
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4010
if test -z "$ac_cpp_err"; then
4011
ac_header_preproc=yes
4013
echo "$as_me: failed program was:" >&5
4014
sed 's/^/| /' conftest.$ac_ext >&5
4016
ac_header_preproc=no
4018
rm -f conftest.err conftest.$ac_ext
4019
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4020
echo "${ECHO_T}$ac_header_preproc" >&6
4022
# So? What about this header?
4023
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4025
{ echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
4026
echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4027
{ echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
4028
echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
4029
ac_header_preproc=yes
4032
{ echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
4033
echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
4034
{ echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
4035
echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
4036
{ echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
4037
echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
4038
{ echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
4039
echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
4040
{ echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
4041
echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
4042
{ echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
4043
echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
4046
## ------------------------------------------ ##
4047
## Report this to the AC_PACKAGE_NAME lists. ##
4048
## ------------------------------------------ ##
4051
sed "s/^/$as_me: WARNING: /" >&2
4054
echo "$as_me:$LINENO: checking for linux/version.h" >&5
4055
echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
4056
if test "${ac_cv_header_linux_version_h+set}" = set; then
4057
echo $ECHO_N "(cached) $ECHO_C" >&6
4059
ac_cv_header_linux_version_h=$ac_header_preproc
4061
echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
4062
echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
4065
if test $ac_cv_header_linux_version_h = yes; then
4068
CPPFLAGS="$CPPFLAGS -I/usr/src/linux"
4077
ac_config_files="$ac_config_files Makefile"
4078
cat >confcache <<\_ACEOF
1414
4079
# This file is a shell script that caches the results of configure
1415
4080
# tests run on this system so they can be shared between configure
1416
# scripts and configure runs. It is not useful on other systems.
1417
# If it contains results you don't want to keep, you may remove or edit it.
1419
# By default, configure uses ./config.cache as the cache file,
1420
# creating it if it does not exist already. You can give configure
1421
# the --cache-file=FILE option to use a different cache file; that is
1422
# what configure does when it calls configure scripts in
1423
# subdirectories, so they share the cache.
1424
# Giving --cache-file=/dev/null disables caching, for debugging configure.
1425
# config.status only pays attention to the cache file if you give it the
1426
# --recheck option to rerun configure.
4081
# scripts and configure runs, see configure's option --config-cache.
4082
# It is not useful on other systems. If it contains results you don't
4083
# want to keep, you may remove or edit it.
4085
# config.status only pays attention to the cache file if you give it
4086
# the --recheck option to rerun configure.
4088
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4089
# loading this file, other *unset* `ac_cv_foo' will be assigned the
1429
4094
# The following way of writing the cache mishandles newlines in values,
1430
4095
# but we know of no workaround that is simple, portable, and efficient.
1431
4096
# So, don't put newlines in cache variables' values.
1432
4097
# Ultrix sh set writes to stderr and can't be redirected directly,
1433
4098
# and sets the high bit in the cache file unless we assign to the vars.
1435
case `(ac_space=' '; set | grep ac_space) 2>&1` in
1437
# `set' does not quote correctly, so add quotes (double-quote substitution
1438
# turns \\\\ into \\, and sed turns \\ into \).
1440
-e "s/'/'\\\\''/g" \
1441
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1444
# `set' quotes correctly as required by POSIX, so do not add quotes.
1445
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1448
if cmp -s $cache_file confcache; then
4101
case `(ac_space=' '; set | grep ac_space) 2>&1` in
4103
# `set' does not quote correctly, so add quotes (double-quote
4104
# substitution turns \\\\ into \\, and sed turns \\ into \).
4107
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4110
# `set' quotes correctly as required by POSIX, so do not add quotes.
4112
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4119
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4121
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4123
if diff $cache_file confcache >/dev/null 2>&1; then :; else
1451
4124
if test -w $cache_file; then
1452
echo "updating cache $cache_file"
1453
cat confcache > $cache_file
4125
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4126
cat confcache >$cache_file
1455
4128
echo "not updating unwritable cache $cache_file"
1458
4131
rm -f confcache
1460
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1462
4133
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1463
4134
# Let make expand exec_prefix.
1464
4135
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1466
# Any assignment to VPATH causes Sun make to only execute
1467
# the first set of double-colon rules, so remove it if not needed.
1468
# If there is a colon in the path, we need to keep it.
4137
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4138
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4139
# trailing colons and then remove the whole line if VPATH becomes empty
4140
# (actually we leave an empty line to preserve line numbers).
1469
4141
if test "x$srcdir" = x.; then
1470
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
4142
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4143
s/:*\$(srcdir):*/:/;
4144
s/:*\${srcdir}:*/:/;
4146
s/^\([^=]*=[ ]*\):*/\1/;
1473
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1475
4152
# Transform confdefs.h into DEFS.
1476
4153
# Protect against shell expansion while executing Makefile rules.
1477
4154
# Protect against Makefile macro expansion.
1478
cat > conftest.defs <<\EOF
1479
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1480
s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1485
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1489
# Without the "./", some shells look in PATH for config.status.
4156
# If the first sed substitution is executed (which looks for macros that
4157
# take arguments), then we branch to the quote section. Otherwise,
4158
# look for a macro that doesn't take arguments.
4159
cat >confdef2opt.sed <<\_ACEOF
4162
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4164
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4168
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4174
# We use echo to avoid assuming a particular line-breaking character.
4175
# The extra dot is to prevent the shell from consuming trailing
4176
# line-breaks from the sub-command output. A line-break within
4177
# single-quotes doesn't work because, if this script is created in a
4178
# platform that uses two characters for line-breaks (e.g., DOS), tr
4180
ac_LF_and_DOT=`echo; echo .`
4181
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4182
rm -f confdef2opt.sed
4187
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4188
# 1. Remove the extension, and $U if already installed.
4189
ac_i=`echo "$ac_i" |
4190
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4192
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4193
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4197
LTLIBOBJS=$ac_ltlibobjs
4200
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4201
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4202
Usually this means the macro was only invoked conditionally." >&5
4203
echo "$as_me: error: conditional \"AMDEP\" was never defined.
4204
Usually this means the macro was only invoked conditionally." >&2;}
4205
{ (exit 1); exit 1; }; }
4207
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4208
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4209
Usually this means the macro was only invoked conditionally." >&5
4210
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4211
Usually this means the macro was only invoked conditionally." >&2;}
4212
{ (exit 1); exit 1; }; }
4214
if test -z "${USE_NLS_TRUE}" && test -z "${USE_NLS_FALSE}"; then
4215
{ { echo "$as_me:$LINENO: error: conditional \"USE_NLS\" was never defined.
4216
Usually this means the macro was only invoked conditionally." >&5
4217
echo "$as_me: error: conditional \"USE_NLS\" was never defined.
4218
Usually this means the macro was only invoked conditionally." >&2;}
4219
{ (exit 1); exit 1; }; }
1490
4222
: ${CONFIG_STATUS=./config.status}
1492
echo creating $CONFIG_STATUS
1493
rm -f $CONFIG_STATUS
1494
cat > $CONFIG_STATUS <<EOF
1496
# Generated automatically by configure.
4223
ac_clean_files_save=$ac_clean_files
4224
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4225
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4226
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4227
cat >$CONFIG_STATUS <<_ACEOF
4229
# Generated by $as_me.
1497
4230
# Run this file to recreate the current configuration.
1498
# This directory was configured as follows,
1499
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1501
# $0 $ac_configure_args
1503
4231
# Compiler output produced by configure, useful for debugging
1504
# configure, is in ./config.log if it exists.
1506
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1509
case "\$ac_option" in
4232
# configure, is in config.log if it exists.
4237
SHELL=\${CONFIG_SHELL-$SHELL}
4240
cat >>$CONFIG_STATUS <<\_ACEOF
4241
## --------------------- ##
4242
## M4sh Initialization. ##
4243
## --------------------- ##
4245
# Be Bourne compatible
4246
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4249
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4250
# is contrary to our usage. Disable this feature.
4251
alias -g '${1+"$@"}'='"$@"'
4252
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4255
DUALCASE=1; export DUALCASE # for MKS sh
4257
# Support unset when possible.
4258
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4265
# Work around bugs in pre-3.0 UWIN ksh.
4266
$as_unset ENV MAIL MAILPATH
4273
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4274
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4275
LC_TELEPHONE LC_TIME
4277
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4278
eval $as_var=C; export $as_var
4284
# Required to use basename.
4285
if expr a : '\(a\)' >/dev/null 2>&1; then
4291
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4292
as_basename=basename
4298
# Name of the executable.
4299
as_me=`$as_basename "$0" ||
4300
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4301
X"$0" : 'X\(//\)$' \| \
4302
X"$0" : 'X\(/\)$' \| \
4303
. : '\(.\)' 2>/dev/null ||
4305
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4306
/^X\/\(\/\/\)$/{ s//\1/; q; }
4307
/^X\/\(\/\).*/{ s//\1/; q; }
4311
# PATH needs CR, and LINENO needs CR and PATH.
4312
# Avoid depending upon Character Ranges.
4313
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4314
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4315
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4316
as_cr_digits='0123456789'
4317
as_cr_alnum=$as_cr_Letters$as_cr_digits
4319
# The user is always right.
4320
if test "${PATH_SEPARATOR+set}" != set; then
4321
echo "#! /bin/sh" >conf$$.sh
4322
echo "exit 0" >>conf$$.sh
4324
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4335
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4336
test "x$as_lineno_1" != "x$as_lineno_2" &&
4337
test "x$as_lineno_3" = "x$as_lineno_2" || {
4338
# Find who we are. Look in the path if we contain no path at all
4341
*[\\/]* ) as_myself=$0 ;;
4342
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4346
test -z "$as_dir" && as_dir=.
4347
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4352
# We did not find ourselves, most probably we were run as `sh COMMAND'
4353
# in which case we are not to be found in the path.
4354
if test "x$as_myself" = x; then
4357
if test ! -f "$as_myself"; then
4358
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4359
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4360
{ (exit 1); exit 1; }; }
4362
case $CONFIG_SHELL in
4364
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4368
test -z "$as_dir" && as_dir=.
4369
for as_base in sh bash ksh sh5; do
4372
if ("$as_dir/$as_base" -c '
4375
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4376
test "x$as_lineno_1" != "x$as_lineno_2" &&
4377
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4378
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4379
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4380
CONFIG_SHELL=$as_dir/$as_base
4382
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4390
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4391
# uniformly replaced by the line number. The first 'sed' inserts a
4392
# line-number line before each line; the second 'sed' does the real
4393
# work. The second script uses 'N' to pair each line-number line
4394
# with the numbered line, and appends trailing '-' during
4395
# substitution so that $LINENO is not a special case at line end.
4396
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4397
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4398
sed '=' <$as_myself |
4403
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4406
s,^['$as_cr_digits']*\n,,
4408
chmod +x $as_me.lineno ||
4409
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4410
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4411
{ (exit 1); exit 1; }; }
4413
# Don't try to exec as it changes $[0], causing all sort of problems
4414
# (the dirname of $[0] is not the place where we might find the
4415
# original and so on. Autoconf is especially sensible to this).
4417
# Exit status is that of the last command.
4422
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4423
*c*,-n*) ECHO_N= ECHO_C='
4425
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4426
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4429
if expr a : '\(a\)' >/dev/null 2>&1; then
4435
rm -f conf$$ conf$$.exe conf$$.file
4437
if ln -s conf$$.file conf$$ 2>/dev/null; then
4438
# We could just check for DJGPP; but this test a) works b) is more generic
4439
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4440
if test -f conf$$.exe; then
4441
# Don't use ln at all; we don't have any links
4446
elif ln conf$$.file conf$$ 2>/dev/null; then
4451
rm -f conf$$ conf$$.exe conf$$.file
4453
if mkdir -p . 2>/dev/null; then
4456
test -d ./-p && rmdir ./-p
4460
as_executable_p="test -f"
4462
# Sed expression to map a string onto a valid CPP name.
4463
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4465
# Sed expression to map a string onto a valid variable name.
4466
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4470
# We need space, tab and new line, in precisely that order.
4480
# Open the log real soon, to keep \$[0] and so on meaningful, and to
4481
# report actual input values of CONFIG_FILES etc. instead of their
4482
# values after options handling. Logging --version etc. is OK.
4486
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4487
## Running $as_me. ##
4492
This file was extended by $as_me, which was
4493
generated by GNU Autoconf 2.59. Invocation command line was
4495
CONFIG_FILES = $CONFIG_FILES
4496
CONFIG_HEADERS = $CONFIG_HEADERS
4497
CONFIG_LINKS = $CONFIG_LINKS
4498
CONFIG_COMMANDS = $CONFIG_COMMANDS
4502
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4506
# Files that config.status was made for.
4507
if test -n "$ac_config_files"; then
4508
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4511
if test -n "$ac_config_headers"; then
4512
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4515
if test -n "$ac_config_links"; then
4516
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4519
if test -n "$ac_config_commands"; then
4520
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4523
cat >>$CONFIG_STATUS <<\_ACEOF
4526
\`$as_me' instantiates files from templates according to the
4527
current configuration.
4529
Usage: $0 [OPTIONS] [FILE]...
4531
-h, --help print this help, then exit
4532
-V, --version print version number, then exit
4533
-q, --quiet do not print progress messages
4534
-d, --debug don't remove temporary files
4535
--recheck update $as_me by reconfiguring in the same conditions
4536
--file=FILE[:TEMPLATE]
4537
instantiate the configuration file FILE
4539
Configuration files:
4542
Configuration commands:
4545
Report bugs to <bug-autoconf@gnu.org>."
4548
cat >>$CONFIG_STATUS <<_ACEOF
4551
configured by $0, generated by GNU Autoconf 2.59,
4552
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4554
Copyright (C) 2003 Free Software Foundation, Inc.
4555
This config.status script is free software; the Free Software Foundation
4556
gives unlimited permission to copy, distribute and modify it."
4561
cat >>$CONFIG_STATUS <<\_ACEOF
4562
# If no file are specified by the user, then we need to provide default
4563
# value. By we need to know if files were specified by the user.
4569
ac_option=`expr "x$1" : 'x\([^=]*\)='`
4570
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4578
*) # This is not an option, so the user has probably given explicit
4581
ac_need_defaults=false;;
4585
# Handling of the options.
4587
cat >>$CONFIG_STATUS <<\_ACEOF
1510
4588
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1511
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1512
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1513
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1514
echo "$CONFIG_STATUS generated by autoconf version 2.13"
1516
-help | --help | --hel | --he | --h)
1517
echo "\$ac_cs_usage"; exit 0 ;;
1518
*) echo "\$ac_cs_usage"; exit 1 ;;
1522
ac_given_srcdir=$srcdir
1523
ac_given_INSTALL="$INSTALL"
1525
trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1527
cat >> $CONFIG_STATUS <<EOF
1529
# Protect against being on the right side of a sed subst in config.status.
1530
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1531
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1535
s%@CFLAGS@%$CFLAGS%g
1536
s%@CPPFLAGS@%$CPPFLAGS%g
1537
s%@CXXFLAGS@%$CXXFLAGS%g
1538
s%@FFLAGS@%$FFLAGS%g
1540
s%@LDFLAGS@%$LDFLAGS%g
1542
s%@exec_prefix@%$exec_prefix%g
1543
s%@prefix@%$prefix%g
1544
s%@program_transform_name@%$program_transform_name%g
1545
s%@bindir@%$bindir%g
1546
s%@sbindir@%$sbindir%g
1547
s%@libexecdir@%$libexecdir%g
1548
s%@datadir@%$datadir%g
1549
s%@sysconfdir@%$sysconfdir%g
1550
s%@sharedstatedir@%$sharedstatedir%g
1551
s%@localstatedir@%$localstatedir%g
1552
s%@libdir@%$libdir%g
1553
s%@includedir@%$includedir%g
1554
s%@oldincludedir@%$oldincludedir%g
1555
s%@infodir@%$infodir%g
1556
s%@mandir@%$mandir%g
1557
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1558
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1559
s%@INSTALL_DATA@%$INSTALL_DATA%g
1560
s%@PACKAGE@%$PACKAGE%g
1561
s%@VERSION@%$VERSION%g
1562
s%@ACLOCAL@%$ACLOCAL%g
1563
s%@AUTOCONF@%$AUTOCONF%g
1564
s%@AUTOMAKE@%$AUTOMAKE%g
1565
s%@AUTOHEADER@%$AUTOHEADER%g
1566
s%@MAKEINFO@%$MAKEINFO%g
1567
s%@SET_MAKE@%$SET_MAKE%g
1570
s%@DEFAULTDEVICE@%$DEFAULTDEVICE%g
4590
--version | --vers* | -V )
4591
echo "$ac_cs_version"; exit 0 ;;
4593
# Conflict between --help and --header
4594
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
4595
Try \`$0 --help' for more information." >&5
4596
echo "$as_me: error: ambiguous option: $1
4597
Try \`$0 --help' for more information." >&2;}
4598
{ (exit 1); exit 1; }; };;
4599
--help | --hel | -h )
4600
echo "$ac_cs_usage"; exit 0 ;;
4601
--debug | --d* | -d )
4603
--file | --fil | --fi | --f )
4605
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4606
ac_need_defaults=false;;
4607
--header | --heade | --head | --hea )
4609
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4610
ac_need_defaults=false;;
4611
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4612
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4616
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4617
Try \`$0 --help' for more information." >&5
4618
echo "$as_me: error: unrecognized option: $1
4619
Try \`$0 --help' for more information." >&2;}
4620
{ (exit 1); exit 1; }; } ;;
4622
*) ac_config_targets="$ac_config_targets $1" ;;
4628
ac_configure_extra_args=
4630
if $ac_cs_silent; then
4632
ac_configure_extra_args="$ac_configure_extra_args --silent"
4636
cat >>$CONFIG_STATUS <<_ACEOF
4637
if \$ac_cs_recheck; then
4638
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4639
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4644
cat >>$CONFIG_STATUS <<_ACEOF
4646
# INIT-COMMANDS section.
4649
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4655
cat >>$CONFIG_STATUS <<\_ACEOF
4656
for ac_config_target in $ac_config_targets
4658
case "$ac_config_target" in
4659
# Handling of arguments.
4660
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4661
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4662
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4663
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4664
{ (exit 1); exit 1; }; };;
4668
# If the user did not use the arguments to specify the items to instantiate,
4669
# then the envvar interface is used. Set only those that are not.
4670
# We use the long form for the default assignment because of an extremely
4671
# bizarre bug on SunOS 4.1.3.
4672
if $ac_need_defaults; then
4673
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4674
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4677
# Have a temporary directory for convenience. Make it in the build tree
4678
# simply because there is no reason to put it here, and in addition,
4679
# creating and moving files from /tmp can sometimes cause problems.
4680
# Create a temporary directory, and hook for its removal unless debugging.
4683
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4684
trap '{ (exit 1); exit 1; }' 1 2 13 15
4687
# Create a (secure) tmp directory for tmp files.
4690
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4691
test -n "$tmp" && test -d "$tmp"
4694
tmp=./confstat$$-$RANDOM
4695
(umask 077 && mkdir $tmp)
4698
echo "$me: cannot create a temporary directory in ." >&2
4699
{ (exit 1); exit 1; }
4704
cat >>$CONFIG_STATUS <<_ACEOF
4707
# CONFIG_FILES section.
4710
# No need to generate the scripts if there are no CONFIG_FILES.
4711
# This happens for instance when ./config.status config.h
4712
if test -n "\$CONFIG_FILES"; then
4713
# Protect against being on the right side of a sed subst in config.status.
4714
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4715
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4716
s,@SHELL@,$SHELL,;t t
4717
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4718
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4719
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4720
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4721
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4722
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4723
s,@exec_prefix@,$exec_prefix,;t t
4724
s,@prefix@,$prefix,;t t
4725
s,@program_transform_name@,$program_transform_name,;t t
4726
s,@bindir@,$bindir,;t t
4727
s,@sbindir@,$sbindir,;t t
4728
s,@libexecdir@,$libexecdir,;t t
4729
s,@datadir@,$datadir,;t t
4730
s,@sysconfdir@,$sysconfdir,;t t
4731
s,@sharedstatedir@,$sharedstatedir,;t t
4732
s,@localstatedir@,$localstatedir,;t t
4733
s,@libdir@,$libdir,;t t
4734
s,@includedir@,$includedir,;t t
4735
s,@oldincludedir@,$oldincludedir,;t t
4736
s,@infodir@,$infodir,;t t
4737
s,@mandir@,$mandir,;t t
4738
s,@build_alias@,$build_alias,;t t
4739
s,@host_alias@,$host_alias,;t t
4740
s,@target_alias@,$target_alias,;t t
4742
s,@ECHO_C@,$ECHO_C,;t t
4743
s,@ECHO_N@,$ECHO_N,;t t
4744
s,@ECHO_T@,$ECHO_T,;t t
4746
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4747
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4748
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4749
s,@CYGPATH_W@,$CYGPATH_W,;t t
4750
s,@PACKAGE@,$PACKAGE,;t t
4751
s,@VERSION@,$VERSION,;t t
4752
s,@ACLOCAL@,$ACLOCAL,;t t
4753
s,@AUTOCONF@,$AUTOCONF,;t t
4754
s,@AUTOMAKE@,$AUTOMAKE,;t t
4755
s,@AUTOHEADER@,$AUTOHEADER,;t t
4756
s,@MAKEINFO@,$MAKEINFO,;t t
4757
s,@install_sh@,$install_sh,;t t
4758
s,@STRIP@,$STRIP,;t t
4759
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4760
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4761
s,@mkdir_p@,$mkdir_p,;t t
4763
s,@SET_MAKE@,$SET_MAKE,;t t
4764
s,@am__leading_dot@,$am__leading_dot,;t t
4765
s,@AMTAR@,$AMTAR,;t t
4766
s,@am__tar@,$am__tar,;t t
4767
s,@am__untar@,$am__untar,;t t
4769
s,@CFLAGS@,$CFLAGS,;t t
4770
s,@LDFLAGS@,$LDFLAGS,;t t
4771
s,@CPPFLAGS@,$CPPFLAGS,;t t
4772
s,@ac_ct_CC@,$ac_ct_CC,;t t
4773
s,@EXEEXT@,$EXEEXT,;t t
4774
s,@OBJEXT@,$OBJEXT,;t t
4775
s,@DEPDIR@,$DEPDIR,;t t
4776
s,@am__include@,$am__include,;t t
4777
s,@am__quote@,$am__quote,;t t
4778
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4779
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4780
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4781
s,@CCDEPMODE@,$CCDEPMODE,;t t
4782
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4783
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4784
s,@DEFAULTDEVICE@,$DEFAULTDEVICE,;t t
4785
s,@USE_NLS_TRUE@,$USE_NLS_TRUE,;t t
4786
s,@USE_NLS_FALSE@,$USE_NLS_FALSE,;t t
4788
s,@EGREP@,$EGREP,;t t
4789
s,@LIBOBJS@,$LIBOBJS,;t t
4790
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1575
cat >> $CONFIG_STATUS <<\EOF
1577
# Split the substitutions into bite-sized pieces for seds with
1578
# small command number limits, like on Digital OSF/1 and HP-UX.
1579
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1580
ac_file=1 # Number of current file.
1581
ac_beg=1 # First line for current file.
1582
ac_end=$ac_max_sed_cmds # Line after last line for current file.
1585
while $ac_more_lines; do
1586
if test $ac_beg -gt 1; then
1587
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1589
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1591
if test ! -s conftest.s$ac_file; then
1593
rm -f conftest.s$ac_file
1595
if test -z "$ac_sed_cmds"; then
1596
ac_sed_cmds="sed -f conftest.s$ac_file"
1598
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1600
ac_file=`expr $ac_file + 1`
1602
ac_end=`expr $ac_end + $ac_max_sed_cmds`
1605
if test -z "$ac_sed_cmds"; then
1610
cat >> $CONFIG_STATUS <<EOF
1612
CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1614
cat >> $CONFIG_STATUS <<\EOF
1615
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
4795
cat >>$CONFIG_STATUS <<\_ACEOF
4796
# Split the substitutions into bite-sized pieces for seds with
4797
# small command number limits, like on Digital OSF/1 and HP-UX.
4799
ac_sed_frag=1 # Number of current file.
4800
ac_beg=1 # First line for current file.
4801
ac_end=$ac_max_sed_lines # Line after last line for current file.
4804
while $ac_more_lines; do
4805
if test $ac_beg -gt 1; then
4806
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4808
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4810
if test ! -s $tmp/subs.frag; then
4813
# The purpose of the label and of the branching condition is to
4814
# speed up the sed processing (if there are no `@' at all, there
4815
# is no need to browse any of the substitutions).
4816
# These are the two extra sed commands mentioned above.
4818
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4819
if test -z "$ac_sed_cmds"; then
4820
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4822
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4824
ac_sed_frag=`expr $ac_sed_frag + 1`
4826
ac_end=`expr $ac_end + $ac_max_sed_lines`
4829
if test -z "$ac_sed_cmds"; then
4832
fi # test -n "$CONFIG_FILES"
4835
cat >>$CONFIG_STATUS <<\_ACEOF
4836
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1616
4837
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1618
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1619
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1620
*) ac_file_in="${ac_file}.in" ;;
1623
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1625
# Remove last slash and all that follows it. Not all systems have dirname.
1626
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1627
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1628
# The file is in a subdirectory.
1629
test ! -d "$ac_dir" && mkdir "$ac_dir"
1630
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1631
# A "../" for each directory in $ac_dir_suffix.
1632
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1634
ac_dir_suffix= ac_dots=
1637
case "$ac_given_srcdir" in
1639
if test -z "$ac_dots"; then top_srcdir=.
1640
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1641
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1643
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1644
top_srcdir="$ac_dots$ac_given_srcdir" ;;
1647
case "$ac_given_INSTALL" in
1648
[/$]*) INSTALL="$ac_given_INSTALL" ;;
1649
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1652
echo creating "$ac_file"
1654
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1656
*Makefile*) ac_comsub="1i\\
1657
# $configure_input" ;;
1661
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1663
s%@configure_input@%$configure_input%g
1664
s%@srcdir@%$srcdir%g
1665
s%@top_srcdir@%$top_srcdir%g
1666
s%@INSTALL@%$INSTALL%g
1667
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1672
cat >> $CONFIG_STATUS <<EOF
1675
cat >> $CONFIG_STATUS <<\EOF
4839
- | *:- | *:-:* ) # input from stdin
4841
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4842
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4843
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4844
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4845
* ) ac_file_in=$ac_file.in ;;
4848
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4849
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4850
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4851
X"$ac_file" : 'X\(//\)[^/]' \| \
4852
X"$ac_file" : 'X\(//\)$' \| \
4853
X"$ac_file" : 'X\(/\)' \| \
4854
. : '\(.\)' 2>/dev/null ||
4856
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4857
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4858
/^X\(\/\/\)$/{ s//\1/; q; }
4859
/^X\(\/\).*/{ s//\1/; q; }
4861
{ if $as_mkdir_p; then
4866
while test ! -d "$as_dir"; do
4867
as_dirs="$as_dir $as_dirs"
4868
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4869
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4870
X"$as_dir" : 'X\(//\)[^/]' \| \
4871
X"$as_dir" : 'X\(//\)$' \| \
4872
X"$as_dir" : 'X\(/\)' \| \
4873
. : '\(.\)' 2>/dev/null ||
4875
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4876
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4877
/^X\(\/\/\)$/{ s//\1/; q; }
4878
/^X\(\/\).*/{ s//\1/; q; }
4881
test ! -n "$as_dirs" || mkdir $as_dirs
4882
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4883
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4884
{ (exit 1); exit 1; }; }; }
4888
if test "$ac_dir" != .; then
4889
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4890
# A "../" for each directory in $ac_dir_suffix.
4891
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4893
ac_dir_suffix= ac_top_builddir=
4897
.) # No --srcdir option. We are building in place.
4899
if test -z "$ac_top_builddir"; then
4902
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4904
[\\/]* | ?:[\\/]* ) # Absolute path.
4905
ac_srcdir=$srcdir$ac_dir_suffix;
4906
ac_top_srcdir=$srcdir ;;
4908
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4909
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4912
# Do not use `cd foo && pwd` to compute absolute paths, because
4913
# the directories may not exist.
4915
.) ac_abs_builddir="$ac_dir";;
4918
.) ac_abs_builddir=`pwd`;;
4919
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4920
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4923
case $ac_abs_builddir in
4924
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4926
case ${ac_top_builddir}. in
4927
.) ac_abs_top_builddir=$ac_abs_builddir;;
4928
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4929
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4932
case $ac_abs_builddir in
4933
.) ac_abs_srcdir=$ac_srcdir;;
4936
.) ac_abs_srcdir=$ac_abs_builddir;;
4937
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4938
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4941
case $ac_abs_builddir in
4942
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4944
case $ac_top_srcdir in
4945
.) ac_abs_top_srcdir=$ac_abs_builddir;;
4946
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4947
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4953
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4954
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4957
# Let's still pretend it is `configure' which instantiates (i.e., don't
4958
# use $as_me), people would be surprised to read:
4959
# /* config.h. Generated by config.status. */
4960
if test x"$ac_file" = x-; then
4963
configure_input="$ac_file. "
4965
configure_input=$configure_input"Generated from `echo $ac_file_in |
4966
sed 's,.*/,,'` by configure."
4968
# First look for the input files in the build tree, otherwise in the
4970
ac_file_inputs=`IFS=:
4971
for f in $ac_file_in; do
4973
-) echo $tmp/stdin ;;
4975
# Absolute (can't be DOS-style, as IFS=:)
4976
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4977
echo "$as_me: error: cannot find input file: $f" >&2;}
4978
{ (exit 1); exit 1; }; }
4981
if test -f "$f"; then
4984
elif test -f "$srcdir/$f"; then
4989
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4990
echo "$as_me: error: cannot find input file: $f" >&2;}
4991
{ (exit 1); exit 1; }; }
4994
done` || { (exit 1); exit 1; }
4996
if test x"$ac_file" != x-; then
4997
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4998
echo "$as_me: creating $ac_file" >&6;}
5002
cat >>$CONFIG_STATUS <<_ACEOF
5006
cat >>$CONFIG_STATUS <<\_ACEOF
5008
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5009
s,@configure_input@,$configure_input,;t t
5010
s,@srcdir@,$ac_srcdir,;t t
5011
s,@abs_srcdir@,$ac_abs_srcdir,;t t
5012
s,@top_srcdir@,$ac_top_srcdir,;t t
5013
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5014
s,@builddir@,$ac_builddir,;t t
5015
s,@abs_builddir@,$ac_abs_builddir,;t t
5016
s,@top_builddir@,$ac_top_builddir,;t t
5017
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5018
s,@INSTALL@,$ac_INSTALL,;t t
5019
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5021
if test x"$ac_file" != x-; then
5022
mv $tmp/out $ac_file
5030
cat >>$CONFIG_STATUS <<\_ACEOF
5033
# CONFIG_COMMANDS section.
5035
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5036
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5037
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5038
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5039
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5040
X"$ac_dest" : 'X\(//\)[^/]' \| \
5041
X"$ac_dest" : 'X\(//\)$' \| \
5042
X"$ac_dest" : 'X\(/\)' \| \
5043
. : '\(.\)' 2>/dev/null ||
5045
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5046
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5047
/^X\(\/\/\)$/{ s//\1/; q; }
5048
/^X\(\/\).*/{ s//\1/; q; }
5050
{ if $as_mkdir_p; then
5055
while test ! -d "$as_dir"; do
5056
as_dirs="$as_dir $as_dirs"
5057
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5058
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5059
X"$as_dir" : 'X\(//\)[^/]' \| \
5060
X"$as_dir" : 'X\(//\)$' \| \
5061
X"$as_dir" : 'X\(/\)' \| \
5062
. : '\(.\)' 2>/dev/null ||
5064
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5065
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5066
/^X\(\/\/\)$/{ s//\1/; q; }
5067
/^X\(\/\).*/{ s//\1/; q; }
5070
test ! -n "$as_dirs" || mkdir $as_dirs
5071
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5072
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5073
{ (exit 1); exit 1; }; }; }
5077
if test "$ac_dir" != .; then
5078
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5079
# A "../" for each directory in $ac_dir_suffix.
5080
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5082
ac_dir_suffix= ac_top_builddir=
5086
.) # No --srcdir option. We are building in place.
5088
if test -z "$ac_top_builddir"; then
5091
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5093
[\\/]* | ?:[\\/]* ) # Absolute path.
5094
ac_srcdir=$srcdir$ac_dir_suffix;
5095
ac_top_srcdir=$srcdir ;;
5097
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5098
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5101
# Do not use `cd foo && pwd` to compute absolute paths, because
5102
# the directories may not exist.
5104
.) ac_abs_builddir="$ac_dir";;
5107
.) ac_abs_builddir=`pwd`;;
5108
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5109
*) ac_abs_builddir=`pwd`/"$ac_dir";;
5112
case $ac_abs_builddir in
5113
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5115
case ${ac_top_builddir}. in
5116
.) ac_abs_top_builddir=$ac_abs_builddir;;
5117
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5118
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5121
case $ac_abs_builddir in
5122
.) ac_abs_srcdir=$ac_srcdir;;
5125
.) ac_abs_srcdir=$ac_abs_builddir;;
5126
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5127
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5130
case $ac_abs_builddir in
5131
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5133
case $ac_top_srcdir in
5134
.) ac_abs_top_srcdir=$ac_abs_builddir;;
5135
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5136
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5141
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5142
echo "$as_me: executing $ac_dest commands" >&6;}
5144
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5145
# Strip MF so we end up with the name of the file.
5146
mf=`echo "$mf" | sed -e 's/:.*$//'`
5147
# Check whether this is an Automake generated Makefile or not.
5148
# We used to match only the files named `Makefile.in', but
5149
# some people rename them; so instead we look at the file content.
5150
# Grep'ing the first line is not enough: some people post-process
5151
# each Makefile.in and add a new line on top of each file to say so.
5152
# So let's grep whole file.
5153
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5154
dirpart=`(dirname "$mf") 2>/dev/null ||
5155
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5156
X"$mf" : 'X\(//\)[^/]' \| \
5157
X"$mf" : 'X\(//\)$' \| \
5158
X"$mf" : 'X\(/\)' \| \
5159
. : '\(.\)' 2>/dev/null ||
5161
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5162
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5163
/^X\(\/\/\)$/{ s//\1/; q; }
5164
/^X\(\/\).*/{ s//\1/; q; }
5169
# Extract the definition of DEPDIR, am__include, and am__quote
5170
# from the Makefile without running `make'.
5171
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5172
test -z "$DEPDIR" && continue
5173
am__include=`sed -n 's/^am__include = //p' < "$mf"`
5174
test -z "am__include" && continue
5175
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5176
# When using ansi2knr, U may be empty or an underscore; expand it
5177
U=`sed -n 's/^U = //p' < "$mf"`
5178
# Find all dependency output files, they are included files with
5179
# $(DEPDIR) in their names. We invoke sed twice because it is the
5180
# simplest approach to changing $(DEPDIR) to its actual value in the
5182
for file in `sed -n "
5183
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5184
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5185
# Make sure the directory exists.
5186
test -f "$dirpart/$file" && continue
5187
fdir=`(dirname "$file") 2>/dev/null ||
5188
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5189
X"$file" : 'X\(//\)[^/]' \| \
5190
X"$file" : 'X\(//\)$' \| \
5191
X"$file" : 'X\(/\)' \| \
5192
. : '\(.\)' 2>/dev/null ||
5194
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5195
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5196
/^X\(\/\/\)$/{ s//\1/; q; }
5197
/^X\(\/\).*/{ s//\1/; q; }
5199
{ if $as_mkdir_p; then
5200
mkdir -p $dirpart/$fdir
5202
as_dir=$dirpart/$fdir
5204
while test ! -d "$as_dir"; do
5205
as_dirs="$as_dir $as_dirs"
5206
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5207
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5208
X"$as_dir" : 'X\(//\)[^/]' \| \
5209
X"$as_dir" : 'X\(//\)$' \| \
5210
X"$as_dir" : 'X\(/\)' \| \
5211
. : '\(.\)' 2>/dev/null ||
5213
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5214
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5215
/^X\(\/\/\)$/{ s//\1/; q; }
5216
/^X\(\/\).*/{ s//\1/; q; }
5219
test ! -n "$as_dirs" || mkdir $as_dirs
5220
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5221
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5222
{ (exit 1); exit 1; }; }; }
5224
# echo "creating $dirpart/$file"
5225
echo '# dummy' > "$dirpart/$file"
5233
cat >>$CONFIG_STATUS <<\_ACEOF
5235
{ (exit 0); exit 0; }
1679
5237
chmod +x $CONFIG_STATUS
1680
rm -fr confdefs* $ac_clean_files
1681
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
5238
ac_clean_files=$ac_clean_files_save
5241
# configure is writing to config.log, and then calls config.status.
5242
# config.status does its own redirection, appending to config.log.
5243
# Unfortunately, on DOS this fails, as config.log is still kept open
5244
# by configure, so config.status won't be able to write to it; its
5245
# output is simply discarded. So we exec the FD to /dev/null,
5246
# effectively closing config.log, so it can be properly (re)opened and
5247
# appended to by config.status. When coming back to configure, we
5248
# need to make the FD available again.
5249
if test "$no_create" != yes; then
5251
ac_config_status_args=
5252
test "$silent" = yes &&
5253
ac_config_status_args="$ac_config_status_args --quiet"
5255
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5257
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5258
# would make configure fail if this is the last instruction.
5259
$ac_cs_success || { (exit 1); exit 1; }