Mercurial > hg > xemacs-beta
comparison configure @ 282:c42ec1d1cded r21-0b39
Import from CVS: tag r21-0b39
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:33:18 +0200 |
parents | 7df0dd720c89 |
children | 558f606b08ae |
comparison
equal
deleted
inserted
replaced
281:090b52736db2 | 282:c42ec1d1cded |
---|---|
301 with_gnu_make | \ | 301 with_gnu_make | \ |
302 dynamic | \ | 302 dynamic | \ |
303 with_ncurses | \ | 303 with_ncurses | \ |
304 with_dnet | \ | 304 with_dnet | \ |
305 with_socks | \ | 305 with_socks | \ |
306 with_dragndrop | \ | |
306 with_cde | \ | 307 with_cde | \ |
307 with_offix | \ | 308 with_offix | \ |
308 with_gpm | \ | 309 with_gpm | \ |
309 with_xpm | \ | 310 with_xpm | \ |
310 with_xface | \ | 311 with_xface | \ |
734 ;; | 735 ;; |
735 esac | 736 esac |
736 | 737 |
737 if test -z "$configuration"; then | 738 if test -z "$configuration"; then |
738 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 739 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
739 echo "configure:740: checking "host system type"" >&5 | 740 echo "configure:741: checking "host system type"" >&5 |
740 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | 741 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ |
741 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | 742 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then |
742 echo "$ac_t""$configuration" 1>&6 | 743 echo "$ac_t""$configuration" 1>&6 |
743 else | 744 else |
744 echo "$ac_t""unknown" 1>&6 | 745 echo "$ac_t""unknown" 1>&6 |
748 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 749 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
749 fi | 750 fi |
750 fi | 751 fi |
751 | 752 |
752 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 753 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
753 echo "configure:754: checking whether ln -s works" >&5 | 754 echo "configure:755: checking whether ln -s works" >&5 |
754 | 755 |
755 rm -f conftestdata | 756 rm -f conftestdata |
756 if ln -s X conftestdata 2>/dev/null | 757 if ln -s X conftestdata 2>/dev/null |
757 then | 758 then |
758 rm -f conftestdata | 759 rm -f conftestdata |
964 } | 965 } |
965 | 966 |
966 | 967 |
967 | 968 |
968 echo "checking "the configuration name"" 1>&6 | 969 echo "checking "the configuration name"" 1>&6 |
969 echo "configure:970: checking "the configuration name"" >&5 | 970 echo "configure:971: checking "the configuration name"" >&5 |
970 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 971 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
971 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 972 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
972 exit $? | 973 exit $? |
973 fi | 974 fi |
974 | 975 |
1428 xe_save_CFLAGS="$CFLAGS" | 1429 xe_save_CFLAGS="$CFLAGS" |
1429 | 1430 |
1430 # Extract the first word of "gcc", so it can be a program name with args. | 1431 # Extract the first word of "gcc", so it can be a program name with args. |
1431 set dummy gcc; ac_word=$2 | 1432 set dummy gcc; ac_word=$2 |
1432 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1433 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1433 echo "configure:1434: checking for $ac_word" >&5 | 1434 echo "configure:1435: checking for $ac_word" >&5 |
1434 | 1435 |
1435 if test -n "$CC"; then | 1436 if test -n "$CC"; then |
1436 ac_cv_prog_CC="$CC" # Let the user override the test. | 1437 ac_cv_prog_CC="$CC" # Let the user override the test. |
1437 else | 1438 else |
1438 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1439 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1454 | 1455 |
1455 if test -z "$CC"; then | 1456 if test -z "$CC"; then |
1456 # Extract the first word of "cc", so it can be a program name with args. | 1457 # Extract the first word of "cc", so it can be a program name with args. |
1457 set dummy cc; ac_word=$2 | 1458 set dummy cc; ac_word=$2 |
1458 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1459 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1459 echo "configure:1460: checking for $ac_word" >&5 | 1460 echo "configure:1461: checking for $ac_word" >&5 |
1460 | 1461 |
1461 if test -n "$CC"; then | 1462 if test -n "$CC"; then |
1462 ac_cv_prog_CC="$CC" # Let the user override the test. | 1463 ac_cv_prog_CC="$CC" # Let the user override the test. |
1463 else | 1464 else |
1464 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1465 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1499 | 1500 |
1500 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1501 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1501 fi | 1502 fi |
1502 | 1503 |
1503 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1504 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1504 echo "configure:1505: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1505 echo "configure:1506: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1505 | 1506 |
1506 ac_ext=c | 1507 ac_ext=c |
1507 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1508 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1508 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1509 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1509 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1510 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1511 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1512 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1512 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1513 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1513 cross_compiling=no | 1514 cross_compiling=no |
1514 | 1515 |
1515 cat > conftest.$ac_ext <<EOF | 1516 cat > conftest.$ac_ext <<EOF |
1516 #line 1517 "configure" | 1517 #line 1518 "configure" |
1517 #include "confdefs.h" | 1518 #include "confdefs.h" |
1518 main(){return(0);} | 1519 main(){return(0);} |
1519 EOF | 1520 EOF |
1520 if { (eval echo configure:1521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1521 if { (eval echo configure:1522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1521 ac_cv_prog_cc_works=yes | 1522 ac_cv_prog_cc_works=yes |
1522 # If we can't run a trivial program, we are probably using a cross compiler. | 1523 # If we can't run a trivial program, we are probably using a cross compiler. |
1523 if (./conftest; exit) 2>/dev/null; then | 1524 if (./conftest; exit) 2>/dev/null; then |
1524 ac_cv_prog_cc_cross=no | 1525 ac_cv_prog_cc_cross=no |
1525 else | 1526 else |
1535 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1536 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1536 if test $ac_cv_prog_cc_works = no; then | 1537 if test $ac_cv_prog_cc_works = no; then |
1537 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1538 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1538 fi | 1539 fi |
1539 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1540 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1540 echo "configure:1541: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1541 echo "configure:1542: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1541 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1542 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1542 cross_compiling=$ac_cv_prog_cc_cross | 1543 cross_compiling=$ac_cv_prog_cc_cross |
1543 | 1544 |
1544 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1545 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1545 echo "configure:1546: checking whether we are using GNU C" >&5 | 1546 echo "configure:1547: checking whether we are using GNU C" >&5 |
1546 | 1547 |
1547 cat > conftest.c <<EOF | 1548 cat > conftest.c <<EOF |
1548 #ifdef __GNUC__ | 1549 #ifdef __GNUC__ |
1549 yes; | 1550 yes; |
1550 #endif | 1551 #endif |
1551 EOF | 1552 EOF |
1552 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1553 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1553 ac_cv_prog_gcc=yes | 1554 ac_cv_prog_gcc=yes |
1554 else | 1555 else |
1555 ac_cv_prog_gcc=no | 1556 ac_cv_prog_gcc=no |
1556 fi | 1557 fi |
1557 | 1558 |
1561 GCC=yes | 1562 GCC=yes |
1562 ac_test_CFLAGS="${CFLAGS+set}" | 1563 ac_test_CFLAGS="${CFLAGS+set}" |
1563 ac_save_CFLAGS="$CFLAGS" | 1564 ac_save_CFLAGS="$CFLAGS" |
1564 CFLAGS= | 1565 CFLAGS= |
1565 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1566 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1566 echo "configure:1567: checking whether ${CC-cc} accepts -g" >&5 | 1567 echo "configure:1568: checking whether ${CC-cc} accepts -g" >&5 |
1567 | 1568 |
1568 echo 'void f(){}' > conftest.c | 1569 echo 'void f(){}' > conftest.c |
1569 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1570 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1570 ac_cv_prog_cc_g=yes | 1571 ac_cv_prog_cc_g=yes |
1571 else | 1572 else |
1590 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1591 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1591 CC=${NON_GNU_CC-cc} | 1592 CC=${NON_GNU_CC-cc} |
1592 # Extract the first word of "gcc", so it can be a program name with args. | 1593 # Extract the first word of "gcc", so it can be a program name with args. |
1593 set dummy gcc; ac_word=$2 | 1594 set dummy gcc; ac_word=$2 |
1594 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1595 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1595 echo "configure:1596: checking for $ac_word" >&5 | 1596 echo "configure:1597: checking for $ac_word" >&5 |
1596 | 1597 |
1597 if test -n "$CC"; then | 1598 if test -n "$CC"; then |
1598 ac_cv_prog_CC="$CC" # Let the user override the test. | 1599 ac_cv_prog_CC="$CC" # Let the user override the test. |
1599 else | 1600 else |
1600 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1601 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1616 | 1617 |
1617 if test -z "$CC"; then | 1618 if test -z "$CC"; then |
1618 # Extract the first word of "cc", so it can be a program name with args. | 1619 # Extract the first word of "cc", so it can be a program name with args. |
1619 set dummy cc; ac_word=$2 | 1620 set dummy cc; ac_word=$2 |
1620 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1621 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1621 echo "configure:1622: checking for $ac_word" >&5 | 1622 echo "configure:1623: checking for $ac_word" >&5 |
1622 | 1623 |
1623 if test -n "$CC"; then | 1624 if test -n "$CC"; then |
1624 ac_cv_prog_CC="$CC" # Let the user override the test. | 1625 ac_cv_prog_CC="$CC" # Let the user override the test. |
1625 else | 1626 else |
1626 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1627 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1661 | 1662 |
1662 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1663 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1663 fi | 1664 fi |
1664 | 1665 |
1665 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1666 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1666 echo "configure:1667: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1667 echo "configure:1668: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1667 | 1668 |
1668 ac_ext=c | 1669 ac_ext=c |
1669 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1670 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1670 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1671 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1671 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1672 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1673 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1674 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1674 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1675 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1675 cross_compiling=no | 1676 cross_compiling=no |
1676 | 1677 |
1677 cat > conftest.$ac_ext <<EOF | 1678 cat > conftest.$ac_ext <<EOF |
1678 #line 1679 "configure" | 1679 #line 1680 "configure" |
1679 #include "confdefs.h" | 1680 #include "confdefs.h" |
1680 main(){return(0);} | 1681 main(){return(0);} |
1681 EOF | 1682 EOF |
1682 if { (eval echo configure:1683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1683 if { (eval echo configure:1684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1683 ac_cv_prog_cc_works=yes | 1684 ac_cv_prog_cc_works=yes |
1684 # If we can't run a trivial program, we are probably using a cross compiler. | 1685 # If we can't run a trivial program, we are probably using a cross compiler. |
1685 if (./conftest; exit) 2>/dev/null; then | 1686 if (./conftest; exit) 2>/dev/null; then |
1686 ac_cv_prog_cc_cross=no | 1687 ac_cv_prog_cc_cross=no |
1687 else | 1688 else |
1697 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1698 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1698 if test $ac_cv_prog_cc_works = no; then | 1699 if test $ac_cv_prog_cc_works = no; then |
1699 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1700 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1700 fi | 1701 fi |
1701 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1702 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1702 echo "configure:1703: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1703 echo "configure:1704: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1703 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1704 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1704 cross_compiling=$ac_cv_prog_cc_cross | 1705 cross_compiling=$ac_cv_prog_cc_cross |
1705 | 1706 |
1706 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1707 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1707 echo "configure:1708: checking whether we are using GNU C" >&5 | 1708 echo "configure:1709: checking whether we are using GNU C" >&5 |
1708 | 1709 |
1709 cat > conftest.c <<EOF | 1710 cat > conftest.c <<EOF |
1710 #ifdef __GNUC__ | 1711 #ifdef __GNUC__ |
1711 yes; | 1712 yes; |
1712 #endif | 1713 #endif |
1713 EOF | 1714 EOF |
1714 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1715 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1715 ac_cv_prog_gcc=yes | 1716 ac_cv_prog_gcc=yes |
1716 else | 1717 else |
1717 ac_cv_prog_gcc=no | 1718 ac_cv_prog_gcc=no |
1718 fi | 1719 fi |
1719 | 1720 |
1723 GCC=yes | 1724 GCC=yes |
1724 ac_test_CFLAGS="${CFLAGS+set}" | 1725 ac_test_CFLAGS="${CFLAGS+set}" |
1725 ac_save_CFLAGS="$CFLAGS" | 1726 ac_save_CFLAGS="$CFLAGS" |
1726 CFLAGS= | 1727 CFLAGS= |
1727 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1728 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1728 echo "configure:1729: checking whether ${CC-cc} accepts -g" >&5 | 1729 echo "configure:1730: checking whether ${CC-cc} accepts -g" >&5 |
1729 | 1730 |
1730 echo 'void f(){}' > conftest.c | 1731 echo 'void f(){}' > conftest.c |
1731 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1732 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1732 ac_cv_prog_cc_g=yes | 1733 ac_cv_prog_cc_g=yes |
1733 else | 1734 else |
1752 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1753 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1753 CC=gcc | 1754 CC=gcc |
1754 # Extract the first word of "gcc", so it can be a program name with args. | 1755 # Extract the first word of "gcc", so it can be a program name with args. |
1755 set dummy gcc; ac_word=$2 | 1756 set dummy gcc; ac_word=$2 |
1756 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1757 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1757 echo "configure:1758: checking for $ac_word" >&5 | 1758 echo "configure:1759: checking for $ac_word" >&5 |
1758 | 1759 |
1759 if test -n "$CC"; then | 1760 if test -n "$CC"; then |
1760 ac_cv_prog_CC="$CC" # Let the user override the test. | 1761 ac_cv_prog_CC="$CC" # Let the user override the test. |
1761 else | 1762 else |
1762 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1763 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1778 | 1779 |
1779 if test -z "$CC"; then | 1780 if test -z "$CC"; then |
1780 # Extract the first word of "cc", so it can be a program name with args. | 1781 # Extract the first word of "cc", so it can be a program name with args. |
1781 set dummy cc; ac_word=$2 | 1782 set dummy cc; ac_word=$2 |
1782 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1783 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1783 echo "configure:1784: checking for $ac_word" >&5 | 1784 echo "configure:1785: checking for $ac_word" >&5 |
1784 | 1785 |
1785 if test -n "$CC"; then | 1786 if test -n "$CC"; then |
1786 ac_cv_prog_CC="$CC" # Let the user override the test. | 1787 ac_cv_prog_CC="$CC" # Let the user override the test. |
1787 else | 1788 else |
1788 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1789 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1823 | 1824 |
1824 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1825 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1825 fi | 1826 fi |
1826 | 1827 |
1827 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1828 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1828 echo "configure:1829: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1829 echo "configure:1830: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1829 | 1830 |
1830 ac_ext=c | 1831 ac_ext=c |
1831 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1832 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1832 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1833 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1833 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1834 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1835 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1836 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1836 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1837 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1837 cross_compiling=no | 1838 cross_compiling=no |
1838 | 1839 |
1839 cat > conftest.$ac_ext <<EOF | 1840 cat > conftest.$ac_ext <<EOF |
1840 #line 1841 "configure" | 1841 #line 1842 "configure" |
1841 #include "confdefs.h" | 1842 #include "confdefs.h" |
1842 main(){return(0);} | 1843 main(){return(0);} |
1843 EOF | 1844 EOF |
1844 if { (eval echo configure:1845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1845 if { (eval echo configure:1846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1845 ac_cv_prog_cc_works=yes | 1846 ac_cv_prog_cc_works=yes |
1846 # If we can't run a trivial program, we are probably using a cross compiler. | 1847 # If we can't run a trivial program, we are probably using a cross compiler. |
1847 if (./conftest; exit) 2>/dev/null; then | 1848 if (./conftest; exit) 2>/dev/null; then |
1848 ac_cv_prog_cc_cross=no | 1849 ac_cv_prog_cc_cross=no |
1849 else | 1850 else |
1859 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1860 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1860 if test $ac_cv_prog_cc_works = no; then | 1861 if test $ac_cv_prog_cc_works = no; then |
1861 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1862 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1862 fi | 1863 fi |
1863 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1864 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1864 echo "configure:1865: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1865 echo "configure:1866: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1865 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1866 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1866 cross_compiling=$ac_cv_prog_cc_cross | 1867 cross_compiling=$ac_cv_prog_cc_cross |
1867 | 1868 |
1868 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1869 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1869 echo "configure:1870: checking whether we are using GNU C" >&5 | 1870 echo "configure:1871: checking whether we are using GNU C" >&5 |
1870 | 1871 |
1871 cat > conftest.c <<EOF | 1872 cat > conftest.c <<EOF |
1872 #ifdef __GNUC__ | 1873 #ifdef __GNUC__ |
1873 yes; | 1874 yes; |
1874 #endif | 1875 #endif |
1875 EOF | 1876 EOF |
1876 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1877 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1877 ac_cv_prog_gcc=yes | 1878 ac_cv_prog_gcc=yes |
1878 else | 1879 else |
1879 ac_cv_prog_gcc=no | 1880 ac_cv_prog_gcc=no |
1880 fi | 1881 fi |
1881 | 1882 |
1885 GCC=yes | 1886 GCC=yes |
1886 ac_test_CFLAGS="${CFLAGS+set}" | 1887 ac_test_CFLAGS="${CFLAGS+set}" |
1887 ac_save_CFLAGS="$CFLAGS" | 1888 ac_save_CFLAGS="$CFLAGS" |
1888 CFLAGS= | 1889 CFLAGS= |
1889 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1890 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1890 echo "configure:1891: checking whether ${CC-cc} accepts -g" >&5 | 1891 echo "configure:1892: checking whether ${CC-cc} accepts -g" >&5 |
1891 | 1892 |
1892 echo 'void f(){}' > conftest.c | 1893 echo 'void f(){}' > conftest.c |
1893 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1894 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1894 ac_cv_prog_cc_g=yes | 1895 ac_cv_prog_cc_g=yes |
1895 else | 1896 else |
1918 test -n "$CPP" -a -d "$CPP" && CPP= | 1919 test -n "$CPP" -a -d "$CPP" && CPP= |
1919 | 1920 |
1920 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1921 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1921 | 1922 |
1922 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1923 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1923 echo "configure:1924: checking how to run the C preprocessor" >&5 | 1924 echo "configure:1925: checking how to run the C preprocessor" >&5 |
1924 # On Suns, sometimes $CPP names a directory. | 1925 # On Suns, sometimes $CPP names a directory. |
1925 if test -n "$CPP" && test -d "$CPP"; then | 1926 if test -n "$CPP" && test -d "$CPP"; then |
1926 CPP= | 1927 CPP= |
1927 fi | 1928 fi |
1928 if test -z "$CPP"; then | 1929 if test -z "$CPP"; then |
1931 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1932 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1932 CPP="${CC-cc} -E" | 1933 CPP="${CC-cc} -E" |
1933 # On the NeXT, cc -E runs the code through the compiler's parser, | 1934 # On the NeXT, cc -E runs the code through the compiler's parser, |
1934 # not just through cpp. | 1935 # not just through cpp. |
1935 cat > conftest.$ac_ext <<EOF | 1936 cat > conftest.$ac_ext <<EOF |
1936 #line 1937 "configure" | 1937 #line 1938 "configure" |
1937 #include "confdefs.h" | 1938 #include "confdefs.h" |
1938 #include <assert.h> | 1939 #include <assert.h> |
1939 Syntax Error | 1940 Syntax Error |
1940 EOF | 1941 EOF |
1941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1942 { (eval echo configure:1943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1943 { (eval echo configure:1944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1943 ac_err=`grep -v '^ *+' conftest.out` | 1944 ac_err=`grep -v '^ *+' conftest.out` |
1944 if test -z "$ac_err"; then | 1945 if test -z "$ac_err"; then |
1945 : | 1946 : |
1946 else | 1947 else |
1947 echo "$ac_err" >&5 | 1948 echo "$ac_err" >&5 |
1948 echo "configure: failed program was:" >&5 | 1949 echo "configure: failed program was:" >&5 |
1949 cat conftest.$ac_ext >&5 | 1950 cat conftest.$ac_ext >&5 |
1950 rm -rf conftest* | 1951 rm -rf conftest* |
1951 CPP="${CC-cc} -E -traditional-cpp" | 1952 CPP="${CC-cc} -E -traditional-cpp" |
1952 cat > conftest.$ac_ext <<EOF | 1953 cat > conftest.$ac_ext <<EOF |
1953 #line 1954 "configure" | 1954 #line 1955 "configure" |
1954 #include "confdefs.h" | 1955 #include "confdefs.h" |
1955 #include <assert.h> | 1956 #include <assert.h> |
1956 Syntax Error | 1957 Syntax Error |
1957 EOF | 1958 EOF |
1958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1959 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1959 { (eval echo configure:1960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1960 { (eval echo configure:1961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1960 ac_err=`grep -v '^ *+' conftest.out` | 1961 ac_err=`grep -v '^ *+' conftest.out` |
1961 if test -z "$ac_err"; then | 1962 if test -z "$ac_err"; then |
1962 : | 1963 : |
1963 else | 1964 else |
1964 echo "$ac_err" >&5 | 1965 echo "$ac_err" >&5 |
1977 fi | 1978 fi |
1978 echo "$ac_t""$CPP" 1>&6 | 1979 echo "$ac_t""$CPP" 1>&6 |
1979 | 1980 |
1980 | 1981 |
1981 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1982 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
1982 echo "configure:1983: checking for AIX" >&5 | 1983 echo "configure:1984: checking for AIX" >&5 |
1983 cat > conftest.$ac_ext <<EOF | 1984 cat > conftest.$ac_ext <<EOF |
1984 #line 1985 "configure" | 1985 #line 1986 "configure" |
1985 #include "confdefs.h" | 1986 #include "confdefs.h" |
1986 #ifdef _AIX | 1987 #ifdef _AIX |
1987 yes | 1988 yes |
1988 #endif | 1989 #endif |
1989 | 1990 |
2006 rm -f conftest* | 2007 rm -f conftest* |
2007 | 2008 |
2008 | 2009 |
2009 | 2010 |
2010 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2011 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2011 echo "configure:2012: checking for GNU libc" >&5 | 2012 echo "configure:2013: checking for GNU libc" >&5 |
2012 cat > conftest.$ac_ext <<EOF | 2013 cat > conftest.$ac_ext <<EOF |
2013 #line 2014 "configure" | 2014 #line 2015 "configure" |
2014 #include "confdefs.h" | 2015 #include "confdefs.h" |
2015 #include <features.h> | 2016 #include <features.h> |
2016 int main() { | 2017 int main() { |
2017 | 2018 |
2018 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2019 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2020 ******* ======= ******** &&&&&&&& | 2021 ******* ======= ******** &&&&&&&& |
2021 #endif | 2022 #endif |
2022 | 2023 |
2023 ; return 0; } | 2024 ; return 0; } |
2024 EOF | 2025 EOF |
2025 if { (eval echo configure:2026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2026 if { (eval echo configure:2027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2026 rm -rf conftest* | 2027 rm -rf conftest* |
2027 have_glibc=yes | 2028 have_glibc=yes |
2028 else | 2029 else |
2029 echo "configure: failed program was:" >&5 | 2030 echo "configure: failed program was:" >&5 |
2030 cat conftest.$ac_ext >&5 | 2031 cat conftest.$ac_ext >&5 |
2041 EOF | 2042 EOF |
2042 } | 2043 } |
2043 | 2044 |
2044 | 2045 |
2045 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 2046 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
2046 echo "configure:2047: checking whether we are using SunPro C" >&5 | 2047 echo "configure:2048: checking whether we are using SunPro C" >&5 |
2047 cat > conftest.$ac_ext <<EOF | 2048 cat > conftest.$ac_ext <<EOF |
2048 #line 2049 "configure" | 2049 #line 2050 "configure" |
2049 #include "confdefs.h" | 2050 #include "confdefs.h" |
2050 | 2051 |
2051 int main() { | 2052 int main() { |
2052 #ifndef __SUNPRO_C | 2053 #ifndef __SUNPRO_C |
2053 #error Not a SunPro compiler :-( | 2054 #error Not a SunPro compiler :-( |
2054 ******* ======= ******** &&&&&&&& | 2055 ******* ======= ******** &&&&&&&& |
2055 #endif | 2056 #endif |
2056 | 2057 |
2057 ; return 0; } | 2058 ; return 0; } |
2058 EOF | 2059 EOF |
2059 if { (eval echo configure:2060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2060 if { (eval echo configure:2061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2060 rm -rf conftest* | 2061 rm -rf conftest* |
2061 __sunpro_c=yes | 2062 __sunpro_c=yes |
2062 else | 2063 else |
2063 echo "configure: failed program was:" >&5 | 2064 echo "configure: failed program was:" >&5 |
2064 cat conftest.$ac_ext >&5 | 2065 cat conftest.$ac_ext >&5 |
2328 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2329 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2329 echo " xemacs will be linked with \"$unexec\"" | 2330 echo " xemacs will be linked with \"$unexec\"" |
2330 fi | 2331 fi |
2331 | 2332 |
2332 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2333 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2333 echo "configure:2334: checking for dynodump" >&5 | 2334 echo "configure:2335: checking for dynodump" >&5 |
2334 if test "$unexec" != "unexsol2.o"; then | 2335 if test "$unexec" != "unexsol2.o"; then |
2335 echo "$ac_t""no" 1>&6 | 2336 echo "$ac_t""no" 1>&6 |
2336 else | 2337 else |
2337 echo "$ac_t""yes" 1>&6 | 2338 echo "$ac_t""yes" 1>&6 |
2338 { test "$extra_verbose" = "yes" && cat << \EOF | 2339 { test "$extra_verbose" = "yes" && cat << \EOF |
2428 esac | 2429 esac |
2429 fi | 2430 fi |
2430 | 2431 |
2431 if test "$add_runtime_path" = "yes"; then | 2432 if test "$add_runtime_path" = "yes"; then |
2432 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2433 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2433 echo "configure:2434: checking "for runtime libraries flag"" >&5 | 2434 echo "configure:2435: checking "for runtime libraries flag"" >&5 |
2434 dash_r="" | 2435 dash_r="" |
2435 for try_dash_r in "-R" "-R " "-rpath "; do | 2436 for try_dash_r in "-R" "-R " "-rpath "; do |
2436 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2437 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2437 | 2438 |
2438 if test "$GCC" = "yes"; then | 2439 if test "$GCC" = "yes"; then |
2446 esac | 2447 esac |
2447 shift | 2448 shift |
2448 done | 2449 done |
2449 fi | 2450 fi |
2450 cat > conftest.$ac_ext <<EOF | 2451 cat > conftest.$ac_ext <<EOF |
2451 #line 2452 "configure" | 2452 #line 2453 "configure" |
2452 #include "confdefs.h" | 2453 #include "confdefs.h" |
2453 | 2454 |
2454 int main() { | 2455 int main() { |
2455 | 2456 |
2456 ; return 0; } | 2457 ; return 0; } |
2457 EOF | 2458 EOF |
2458 if { (eval echo configure:2459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2459 if { (eval echo configure:2460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2459 rm -rf conftest* | 2460 rm -rf conftest* |
2460 dash_r="$try_dash_r" | 2461 dash_r="$try_dash_r" |
2461 else | 2462 else |
2462 echo "configure: failed program was:" >&5 | 2463 echo "configure: failed program was:" >&5 |
2463 cat conftest.$ac_ext >&5 | 2464 cat conftest.$ac_ext >&5 |
2553 else | 2554 else |
2554 doug_lea_malloc=no | 2555 doug_lea_malloc=no |
2555 fi | 2556 fi |
2556 after_morecore_hook_exists=yes | 2557 after_morecore_hook_exists=yes |
2557 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2558 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2558 echo "configure:2559: checking for malloc_get_state" >&5 | 2559 echo "configure:2560: checking for malloc_get_state" >&5 |
2559 | 2560 |
2560 cat > conftest.$ac_ext <<EOF | 2561 cat > conftest.$ac_ext <<EOF |
2561 #line 2562 "configure" | 2562 #line 2563 "configure" |
2562 #include "confdefs.h" | 2563 #include "confdefs.h" |
2563 /* System header to define __stub macros and hopefully few prototypes, | 2564 /* System header to define __stub macros and hopefully few prototypes, |
2564 which can conflict with char malloc_get_state(); below. */ | 2565 which can conflict with char malloc_get_state(); below. */ |
2565 #include <assert.h> | 2566 #include <assert.h> |
2566 /* Override any gcc2 internal prototype to avoid an error. */ | 2567 /* Override any gcc2 internal prototype to avoid an error. */ |
2579 malloc_get_state(); | 2580 malloc_get_state(); |
2580 #endif | 2581 #endif |
2581 | 2582 |
2582 ; return 0; } | 2583 ; return 0; } |
2583 EOF | 2584 EOF |
2584 if { (eval echo configure:2585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2585 if { (eval echo configure:2586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2585 rm -rf conftest* | 2586 rm -rf conftest* |
2586 eval "ac_cv_func_malloc_get_state=yes" | 2587 eval "ac_cv_func_malloc_get_state=yes" |
2587 else | 2588 else |
2588 echo "configure: failed program was:" >&5 | 2589 echo "configure: failed program was:" >&5 |
2589 cat conftest.$ac_ext >&5 | 2590 cat conftest.$ac_ext >&5 |
2599 echo "$ac_t""no" 1>&6 | 2600 echo "$ac_t""no" 1>&6 |
2600 doug_lea_malloc=no | 2601 doug_lea_malloc=no |
2601 fi | 2602 fi |
2602 | 2603 |
2603 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2604 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2604 echo "configure:2605: checking for malloc_set_state" >&5 | 2605 echo "configure:2606: checking for malloc_set_state" >&5 |
2605 | 2606 |
2606 cat > conftest.$ac_ext <<EOF | 2607 cat > conftest.$ac_ext <<EOF |
2607 #line 2608 "configure" | 2608 #line 2609 "configure" |
2608 #include "confdefs.h" | 2609 #include "confdefs.h" |
2609 /* System header to define __stub macros and hopefully few prototypes, | 2610 /* System header to define __stub macros and hopefully few prototypes, |
2610 which can conflict with char malloc_set_state(); below. */ | 2611 which can conflict with char malloc_set_state(); below. */ |
2611 #include <assert.h> | 2612 #include <assert.h> |
2612 /* Override any gcc2 internal prototype to avoid an error. */ | 2613 /* Override any gcc2 internal prototype to avoid an error. */ |
2625 malloc_set_state(); | 2626 malloc_set_state(); |
2626 #endif | 2627 #endif |
2627 | 2628 |
2628 ; return 0; } | 2629 ; return 0; } |
2629 EOF | 2630 EOF |
2630 if { (eval echo configure:2631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2631 if { (eval echo configure:2632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2631 rm -rf conftest* | 2632 rm -rf conftest* |
2632 eval "ac_cv_func_malloc_set_state=yes" | 2633 eval "ac_cv_func_malloc_set_state=yes" |
2633 else | 2634 else |
2634 echo "configure: failed program was:" >&5 | 2635 echo "configure: failed program was:" >&5 |
2635 cat conftest.$ac_ext >&5 | 2636 cat conftest.$ac_ext >&5 |
2645 echo "$ac_t""no" 1>&6 | 2646 echo "$ac_t""no" 1>&6 |
2646 doug_lea_malloc=no | 2647 doug_lea_malloc=no |
2647 fi | 2648 fi |
2648 | 2649 |
2649 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2650 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
2650 echo "configure:2651: checking whether __after_morecore_hook exists" >&5 | 2651 echo "configure:2652: checking whether __after_morecore_hook exists" >&5 |
2651 cat > conftest.$ac_ext <<EOF | 2652 cat > conftest.$ac_ext <<EOF |
2652 #line 2653 "configure" | 2653 #line 2654 "configure" |
2653 #include "confdefs.h" | 2654 #include "confdefs.h" |
2654 extern void (* __after_morecore_hook)(); | 2655 extern void (* __after_morecore_hook)(); |
2655 int main() { | 2656 int main() { |
2656 __after_morecore_hook = 0 | 2657 __after_morecore_hook = 0 |
2657 ; return 0; } | 2658 ; return 0; } |
2658 EOF | 2659 EOF |
2659 if { (eval echo configure:2660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2660 if { (eval echo configure:2661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2660 rm -rf conftest* | 2661 rm -rf conftest* |
2661 echo "$ac_t""yes" 1>&6 | 2662 echo "$ac_t""yes" 1>&6 |
2662 else | 2663 else |
2663 echo "configure: failed program was:" >&5 | 2664 echo "configure: failed program was:" >&5 |
2664 cat conftest.$ac_ext >&5 | 2665 cat conftest.$ac_ext >&5 |
2713 | 2714 |
2714 | 2715 |
2715 # Extract the first word of "ranlib", so it can be a program name with args. | 2716 # Extract the first word of "ranlib", so it can be a program name with args. |
2716 set dummy ranlib; ac_word=$2 | 2717 set dummy ranlib; ac_word=$2 |
2717 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2718 echo "configure:2719: checking for $ac_word" >&5 | 2719 echo "configure:2720: checking for $ac_word" >&5 |
2719 | 2720 |
2720 if test -n "$RANLIB"; then | 2721 if test -n "$RANLIB"; then |
2721 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2722 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2722 else | 2723 else |
2723 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2724 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2766 # AIX /bin/install | 2767 # AIX /bin/install |
2767 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2768 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2768 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2769 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2769 # ./install, which can be erroneously created by make from ./install.sh. | 2770 # ./install, which can be erroneously created by make from ./install.sh. |
2770 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2771 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2771 echo "configure:2772: checking for a BSD compatible install" >&5 | 2772 echo "configure:2773: checking for a BSD compatible install" >&5 |
2772 if test -z "$INSTALL"; then | 2773 if test -z "$INSTALL"; then |
2773 | 2774 |
2774 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2775 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2775 for ac_dir in $PATH; do | 2776 for ac_dir in $PATH; do |
2776 # Account for people who put trailing slashes in PATH elements. | 2777 # Account for people who put trailing slashes in PATH elements. |
2817 for ac_prog in 'bison -y' byacc | 2818 for ac_prog in 'bison -y' byacc |
2818 do | 2819 do |
2819 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2820 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2820 set dummy $ac_prog; ac_word=$2 | 2821 set dummy $ac_prog; ac_word=$2 |
2821 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2822 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2822 echo "configure:2823: checking for $ac_word" >&5 | 2823 echo "configure:2824: checking for $ac_word" >&5 |
2823 | 2824 |
2824 if test -n "$YACC"; then | 2825 if test -n "$YACC"; then |
2825 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2826 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2826 else | 2827 else |
2827 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2828 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2848 | 2849 |
2849 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2850 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2850 do | 2851 do |
2851 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2852 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2852 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2853 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2853 echo "configure:2854: checking for $ac_hdr" >&5 | 2854 echo "configure:2855: checking for $ac_hdr" >&5 |
2854 | 2855 |
2855 cat > conftest.$ac_ext <<EOF | 2856 cat > conftest.$ac_ext <<EOF |
2856 #line 2857 "configure" | 2857 #line 2858 "configure" |
2857 #include "confdefs.h" | 2858 #include "confdefs.h" |
2858 #include <$ac_hdr> | 2859 #include <$ac_hdr> |
2859 EOF | 2860 EOF |
2860 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2861 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2861 { (eval echo configure:2862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2862 { (eval echo configure:2863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2862 ac_err=`grep -v '^ *+' conftest.out` | 2863 ac_err=`grep -v '^ *+' conftest.out` |
2863 if test -z "$ac_err"; then | 2864 if test -z "$ac_err"; then |
2864 rm -rf conftest* | 2865 rm -rf conftest* |
2865 eval "ac_cv_header_$ac_safe=yes" | 2866 eval "ac_cv_header_$ac_safe=yes" |
2866 else | 2867 else |
2889 | 2890 |
2890 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2891 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
2891 do | 2892 do |
2892 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2893 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2893 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2894 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2894 echo "configure:2895: checking for $ac_hdr" >&5 | 2895 echo "configure:2896: checking for $ac_hdr" >&5 |
2895 | 2896 |
2896 cat > conftest.$ac_ext <<EOF | 2897 cat > conftest.$ac_ext <<EOF |
2897 #line 2898 "configure" | 2898 #line 2899 "configure" |
2898 #include "confdefs.h" | 2899 #include "confdefs.h" |
2899 #include <$ac_hdr> | 2900 #include <$ac_hdr> |
2900 EOF | 2901 EOF |
2901 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2902 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2902 { (eval echo configure:2903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2903 { (eval echo configure:2904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2903 ac_err=`grep -v '^ *+' conftest.out` | 2904 ac_err=`grep -v '^ *+' conftest.out` |
2904 if test -z "$ac_err"; then | 2905 if test -z "$ac_err"; then |
2905 rm -rf conftest* | 2906 rm -rf conftest* |
2906 eval "ac_cv_header_$ac_safe=yes" | 2907 eval "ac_cv_header_$ac_safe=yes" |
2907 else | 2908 else |
2930 | 2931 |
2931 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 2932 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
2932 do | 2933 do |
2933 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2934 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2934 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2935 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2935 echo "configure:2936: checking for $ac_hdr" >&5 | 2936 echo "configure:2937: checking for $ac_hdr" >&5 |
2936 | 2937 |
2937 cat > conftest.$ac_ext <<EOF | 2938 cat > conftest.$ac_ext <<EOF |
2938 #line 2939 "configure" | 2939 #line 2940 "configure" |
2939 #include "confdefs.h" | 2940 #include "confdefs.h" |
2940 #include <$ac_hdr> | 2941 #include <$ac_hdr> |
2941 EOF | 2942 EOF |
2942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2943 { (eval echo configure:2944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2944 { (eval echo configure:2945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2944 ac_err=`grep -v '^ *+' conftest.out` | 2945 ac_err=`grep -v '^ *+' conftest.out` |
2945 if test -z "$ac_err"; then | 2946 if test -z "$ac_err"; then |
2946 rm -rf conftest* | 2947 rm -rf conftest* |
2947 eval "ac_cv_header_$ac_safe=yes" | 2948 eval "ac_cv_header_$ac_safe=yes" |
2948 else | 2949 else |
2968 echo "$ac_t""no" 1>&6 | 2969 echo "$ac_t""no" 1>&6 |
2969 fi | 2970 fi |
2970 done | 2971 done |
2971 | 2972 |
2972 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2973 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
2973 echo "configure:2974: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2974 echo "configure:2975: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2974 | 2975 |
2975 cat > conftest.$ac_ext <<EOF | 2976 cat > conftest.$ac_ext <<EOF |
2976 #line 2977 "configure" | 2977 #line 2978 "configure" |
2977 #include "confdefs.h" | 2978 #include "confdefs.h" |
2978 #include <sys/types.h> | 2979 #include <sys/types.h> |
2979 #include <sys/wait.h> | 2980 #include <sys/wait.h> |
2980 #ifndef WEXITSTATUS | 2981 #ifndef WEXITSTATUS |
2981 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2982 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
2987 int s; | 2988 int s; |
2988 wait (&s); | 2989 wait (&s); |
2989 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2990 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
2990 ; return 0; } | 2991 ; return 0; } |
2991 EOF | 2992 EOF |
2992 if { (eval echo configure:2993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2993 if { (eval echo configure:2994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2993 rm -rf conftest* | 2994 rm -rf conftest* |
2994 ac_cv_header_sys_wait_h=yes | 2995 ac_cv_header_sys_wait_h=yes |
2995 else | 2996 else |
2996 echo "configure: failed program was:" >&5 | 2997 echo "configure: failed program was:" >&5 |
2997 cat conftest.$ac_ext >&5 | 2998 cat conftest.$ac_ext >&5 |
3011 } | 3012 } |
3012 | 3013 |
3013 fi | 3014 fi |
3014 | 3015 |
3015 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3016 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3016 echo "configure:3017: checking for ANSI C header files" >&5 | 3017 echo "configure:3018: checking for ANSI C header files" >&5 |
3017 | 3018 |
3018 cat > conftest.$ac_ext <<EOF | 3019 cat > conftest.$ac_ext <<EOF |
3019 #line 3020 "configure" | 3020 #line 3021 "configure" |
3020 #include "confdefs.h" | 3021 #include "confdefs.h" |
3021 #include <stdlib.h> | 3022 #include <stdlib.h> |
3022 #include <stdarg.h> | 3023 #include <stdarg.h> |
3023 #include <string.h> | 3024 #include <string.h> |
3024 #include <float.h> | 3025 #include <float.h> |
3025 EOF | 3026 EOF |
3026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3027 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3027 { (eval echo configure:3028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3028 { (eval echo configure:3029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3028 ac_err=`grep -v '^ *+' conftest.out` | 3029 ac_err=`grep -v '^ *+' conftest.out` |
3029 if test -z "$ac_err"; then | 3030 if test -z "$ac_err"; then |
3030 rm -rf conftest* | 3031 rm -rf conftest* |
3031 ac_cv_header_stdc=yes | 3032 ac_cv_header_stdc=yes |
3032 else | 3033 else |
3039 rm -f conftest* | 3040 rm -f conftest* |
3040 | 3041 |
3041 if test $ac_cv_header_stdc = yes; then | 3042 if test $ac_cv_header_stdc = yes; then |
3042 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3043 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3043 cat > conftest.$ac_ext <<EOF | 3044 cat > conftest.$ac_ext <<EOF |
3044 #line 3045 "configure" | 3045 #line 3046 "configure" |
3045 #include "confdefs.h" | 3046 #include "confdefs.h" |
3046 #include <string.h> | 3047 #include <string.h> |
3047 EOF | 3048 EOF |
3048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3049 egrep "memchr" >/dev/null 2>&1; then | 3050 egrep "memchr" >/dev/null 2>&1; then |
3057 fi | 3058 fi |
3058 | 3059 |
3059 if test $ac_cv_header_stdc = yes; then | 3060 if test $ac_cv_header_stdc = yes; then |
3060 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3061 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3061 cat > conftest.$ac_ext <<EOF | 3062 cat > conftest.$ac_ext <<EOF |
3062 #line 3063 "configure" | 3063 #line 3064 "configure" |
3063 #include "confdefs.h" | 3064 #include "confdefs.h" |
3064 #include <stdlib.h> | 3065 #include <stdlib.h> |
3065 EOF | 3066 EOF |
3066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3067 egrep "free" >/dev/null 2>&1; then | 3068 egrep "free" >/dev/null 2>&1; then |
3075 fi | 3076 fi |
3076 | 3077 |
3077 if test $ac_cv_header_stdc = yes; then | 3078 if test $ac_cv_header_stdc = yes; then |
3078 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3079 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3079 cat > conftest.$ac_ext <<EOF | 3080 cat > conftest.$ac_ext <<EOF |
3080 #line 3081 "configure" | 3081 #line 3082 "configure" |
3081 #include "confdefs.h" | 3082 #include "confdefs.h" |
3082 #include <ctype.h> | 3083 #include <ctype.h> |
3083 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3084 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3084 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3085 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3085 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3086 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3086 int main () { int i; for (i = 0; i < 256; i++) | 3087 int main () { int i; for (i = 0; i < 256; i++) |
3087 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3088 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3088 exit (0); } | 3089 exit (0); } |
3089 | 3090 |
3090 EOF | 3091 EOF |
3091 if { (eval echo configure:3092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3092 if { (eval echo configure:3093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3092 then | 3093 then |
3093 : | 3094 : |
3094 else | 3095 else |
3095 echo "configure: failed program was:" >&5 | 3096 echo "configure: failed program was:" >&5 |
3096 cat conftest.$ac_ext >&5 | 3097 cat conftest.$ac_ext >&5 |
3111 } | 3112 } |
3112 | 3113 |
3113 fi | 3114 fi |
3114 | 3115 |
3115 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3116 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3116 echo "configure:3117: checking whether time.h and sys/time.h may both be included" >&5 | 3117 echo "configure:3118: checking whether time.h and sys/time.h may both be included" >&5 |
3117 | 3118 |
3118 cat > conftest.$ac_ext <<EOF | 3119 cat > conftest.$ac_ext <<EOF |
3119 #line 3120 "configure" | 3120 #line 3121 "configure" |
3120 #include "confdefs.h" | 3121 #include "confdefs.h" |
3121 #include <sys/types.h> | 3122 #include <sys/types.h> |
3122 #include <sys/time.h> | 3123 #include <sys/time.h> |
3123 #include <time.h> | 3124 #include <time.h> |
3124 int main() { | 3125 int main() { |
3125 struct tm *tp; | 3126 struct tm *tp; |
3126 ; return 0; } | 3127 ; return 0; } |
3127 EOF | 3128 EOF |
3128 if { (eval echo configure:3129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3129 if { (eval echo configure:3130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3129 rm -rf conftest* | 3130 rm -rf conftest* |
3130 ac_cv_header_time=yes | 3131 ac_cv_header_time=yes |
3131 else | 3132 else |
3132 echo "configure: failed program was:" >&5 | 3133 echo "configure: failed program was:" >&5 |
3133 cat conftest.$ac_ext >&5 | 3134 cat conftest.$ac_ext >&5 |
3147 } | 3148 } |
3148 | 3149 |
3149 fi | 3150 fi |
3150 | 3151 |
3151 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3152 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3152 echo "configure:3153: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3153 echo "configure:3154: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3153 | 3154 |
3154 cat > conftest.$ac_ext <<EOF | 3155 cat > conftest.$ac_ext <<EOF |
3155 #line 3156 "configure" | 3156 #line 3157 "configure" |
3156 #include "confdefs.h" | 3157 #include "confdefs.h" |
3157 #include <sys/types.h> | 3158 #include <sys/types.h> |
3158 #include <signal.h> | 3159 #include <signal.h> |
3159 /* NetBSD declares sys_siglist in unistd.h. */ | 3160 /* NetBSD declares sys_siglist in unistd.h. */ |
3160 #ifdef HAVE_UNISTD_H | 3161 #ifdef HAVE_UNISTD_H |
3162 #endif | 3163 #endif |
3163 int main() { | 3164 int main() { |
3164 char *msg = *(sys_siglist + 1); | 3165 char *msg = *(sys_siglist + 1); |
3165 ; return 0; } | 3166 ; return 0; } |
3166 EOF | 3167 EOF |
3167 if { (eval echo configure:3168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3168 if { (eval echo configure:3169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3168 rm -rf conftest* | 3169 rm -rf conftest* |
3169 ac_cv_decl_sys_siglist=yes | 3170 ac_cv_decl_sys_siglist=yes |
3170 else | 3171 else |
3171 echo "configure: failed program was:" >&5 | 3172 echo "configure: failed program was:" >&5 |
3172 cat conftest.$ac_ext >&5 | 3173 cat conftest.$ac_ext >&5 |
3187 | 3188 |
3188 fi | 3189 fi |
3189 | 3190 |
3190 | 3191 |
3191 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3192 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3192 echo "configure:3193: checking for struct utimbuf" >&5 | 3193 echo "configure:3194: checking for struct utimbuf" >&5 |
3193 cat > conftest.$ac_ext <<EOF | 3194 cat > conftest.$ac_ext <<EOF |
3194 #line 3195 "configure" | 3195 #line 3196 "configure" |
3195 #include "confdefs.h" | 3196 #include "confdefs.h" |
3196 #ifdef TIME_WITH_SYS_TIME | 3197 #ifdef TIME_WITH_SYS_TIME |
3197 #include <sys/time.h> | 3198 #include <sys/time.h> |
3198 #include <time.h> | 3199 #include <time.h> |
3199 #else | 3200 #else |
3208 #endif | 3209 #endif |
3209 int main() { | 3210 int main() { |
3210 static struct utimbuf x; x.actime = x.modtime; | 3211 static struct utimbuf x; x.actime = x.modtime; |
3211 ; return 0; } | 3212 ; return 0; } |
3212 EOF | 3213 EOF |
3213 if { (eval echo configure:3214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3214 if { (eval echo configure:3215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3214 rm -rf conftest* | 3215 rm -rf conftest* |
3215 echo "$ac_t""yes" 1>&6 | 3216 echo "$ac_t""yes" 1>&6 |
3216 { test "$extra_verbose" = "yes" && cat << \EOF | 3217 { test "$extra_verbose" = "yes" && cat << \EOF |
3217 Defining HAVE_STRUCT_UTIMBUF | 3218 Defining HAVE_STRUCT_UTIMBUF |
3218 EOF | 3219 EOF |
3228 echo "$ac_t""no" 1>&6 | 3229 echo "$ac_t""no" 1>&6 |
3229 fi | 3230 fi |
3230 rm -f conftest* | 3231 rm -f conftest* |
3231 | 3232 |
3232 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3233 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3233 echo "configure:3234: checking return type of signal handlers" >&5 | 3234 echo "configure:3235: checking return type of signal handlers" >&5 |
3234 | 3235 |
3235 cat > conftest.$ac_ext <<EOF | 3236 cat > conftest.$ac_ext <<EOF |
3236 #line 3237 "configure" | 3237 #line 3238 "configure" |
3237 #include "confdefs.h" | 3238 #include "confdefs.h" |
3238 #include <sys/types.h> | 3239 #include <sys/types.h> |
3239 #include <signal.h> | 3240 #include <signal.h> |
3240 #ifdef signal | 3241 #ifdef signal |
3241 #undef signal | 3242 #undef signal |
3248 | 3249 |
3249 int main() { | 3250 int main() { |
3250 int i; | 3251 int i; |
3251 ; return 0; } | 3252 ; return 0; } |
3252 EOF | 3253 EOF |
3253 if { (eval echo configure:3254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3254 if { (eval echo configure:3255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3254 rm -rf conftest* | 3255 rm -rf conftest* |
3255 ac_cv_type_signal=void | 3256 ac_cv_type_signal=void |
3256 else | 3257 else |
3257 echo "configure: failed program was:" >&5 | 3258 echo "configure: failed program was:" >&5 |
3258 cat conftest.$ac_ext >&5 | 3259 cat conftest.$ac_ext >&5 |
3270 EOF | 3271 EOF |
3271 } | 3272 } |
3272 | 3273 |
3273 | 3274 |
3274 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3275 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3275 echo "configure:3276: checking for size_t" >&5 | 3276 echo "configure:3277: checking for size_t" >&5 |
3276 | 3277 |
3277 cat > conftest.$ac_ext <<EOF | 3278 cat > conftest.$ac_ext <<EOF |
3278 #line 3279 "configure" | 3279 #line 3280 "configure" |
3279 #include "confdefs.h" | 3280 #include "confdefs.h" |
3280 #include <sys/types.h> | 3281 #include <sys/types.h> |
3281 #if STDC_HEADERS | 3282 #if STDC_HEADERS |
3282 #include <stdlib.h> | 3283 #include <stdlib.h> |
3283 #include <stddef.h> | 3284 #include <stddef.h> |
3304 } | 3305 } |
3305 | 3306 |
3306 fi | 3307 fi |
3307 | 3308 |
3308 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3309 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3309 echo "configure:3310: checking for pid_t" >&5 | 3310 echo "configure:3311: checking for pid_t" >&5 |
3310 | 3311 |
3311 cat > conftest.$ac_ext <<EOF | 3312 cat > conftest.$ac_ext <<EOF |
3312 #line 3313 "configure" | 3313 #line 3314 "configure" |
3313 #include "confdefs.h" | 3314 #include "confdefs.h" |
3314 #include <sys/types.h> | 3315 #include <sys/types.h> |
3315 #if STDC_HEADERS | 3316 #if STDC_HEADERS |
3316 #include <stdlib.h> | 3317 #include <stdlib.h> |
3317 #include <stddef.h> | 3318 #include <stddef.h> |
3338 } | 3339 } |
3339 | 3340 |
3340 fi | 3341 fi |
3341 | 3342 |
3342 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3343 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3343 echo "configure:3344: checking for uid_t in sys/types.h" >&5 | 3344 echo "configure:3345: checking for uid_t in sys/types.h" >&5 |
3344 | 3345 |
3345 cat > conftest.$ac_ext <<EOF | 3346 cat > conftest.$ac_ext <<EOF |
3346 #line 3347 "configure" | 3347 #line 3348 "configure" |
3347 #include "confdefs.h" | 3348 #include "confdefs.h" |
3348 #include <sys/types.h> | 3349 #include <sys/types.h> |
3349 EOF | 3350 EOF |
3350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3351 egrep "uid_t" >/dev/null 2>&1; then | 3352 egrep "uid_t" >/dev/null 2>&1; then |
3377 } | 3378 } |
3378 | 3379 |
3379 fi | 3380 fi |
3380 | 3381 |
3381 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3382 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3382 echo "configure:3383: checking for mode_t" >&5 | 3383 echo "configure:3384: checking for mode_t" >&5 |
3383 | 3384 |
3384 cat > conftest.$ac_ext <<EOF | 3385 cat > conftest.$ac_ext <<EOF |
3385 #line 3386 "configure" | 3386 #line 3387 "configure" |
3386 #include "confdefs.h" | 3387 #include "confdefs.h" |
3387 #include <sys/types.h> | 3388 #include <sys/types.h> |
3388 #if STDC_HEADERS | 3389 #if STDC_HEADERS |
3389 #include <stdlib.h> | 3390 #include <stdlib.h> |
3390 #include <stddef.h> | 3391 #include <stddef.h> |
3411 } | 3412 } |
3412 | 3413 |
3413 fi | 3414 fi |
3414 | 3415 |
3415 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3416 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3416 echo "configure:3417: checking for off_t" >&5 | 3417 echo "configure:3418: checking for off_t" >&5 |
3417 | 3418 |
3418 cat > conftest.$ac_ext <<EOF | 3419 cat > conftest.$ac_ext <<EOF |
3419 #line 3420 "configure" | 3420 #line 3421 "configure" |
3420 #include "confdefs.h" | 3421 #include "confdefs.h" |
3421 #include <sys/types.h> | 3422 #include <sys/types.h> |
3422 #if STDC_HEADERS | 3423 #if STDC_HEADERS |
3423 #include <stdlib.h> | 3424 #include <stdlib.h> |
3424 #include <stddef.h> | 3425 #include <stddef.h> |
3446 | 3447 |
3447 fi | 3448 fi |
3448 | 3449 |
3449 | 3450 |
3450 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3451 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3451 echo "configure:3452: checking for struct timeval" >&5 | 3452 echo "configure:3453: checking for struct timeval" >&5 |
3452 cat > conftest.$ac_ext <<EOF | 3453 cat > conftest.$ac_ext <<EOF |
3453 #line 3454 "configure" | 3454 #line 3455 "configure" |
3454 #include "confdefs.h" | 3455 #include "confdefs.h" |
3455 #ifdef TIME_WITH_SYS_TIME | 3456 #ifdef TIME_WITH_SYS_TIME |
3456 #include <sys/time.h> | 3457 #include <sys/time.h> |
3457 #include <time.h> | 3458 #include <time.h> |
3458 #else | 3459 #else |
3464 #endif | 3465 #endif |
3465 int main() { | 3466 int main() { |
3466 static struct timeval x; x.tv_sec = x.tv_usec; | 3467 static struct timeval x; x.tv_sec = x.tv_usec; |
3467 ; return 0; } | 3468 ; return 0; } |
3468 EOF | 3469 EOF |
3469 if { (eval echo configure:3470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3470 if { (eval echo configure:3471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3470 rm -rf conftest* | 3471 rm -rf conftest* |
3471 echo "$ac_t""yes" 1>&6 | 3472 echo "$ac_t""yes" 1>&6 |
3472 HAVE_TIMEVAL=yes | 3473 HAVE_TIMEVAL=yes |
3473 { test "$extra_verbose" = "yes" && cat << \EOF | 3474 { test "$extra_verbose" = "yes" && cat << \EOF |
3474 Defining HAVE_TIMEVAL | 3475 Defining HAVE_TIMEVAL |
3486 HAVE_TIMEVAL=no | 3487 HAVE_TIMEVAL=no |
3487 fi | 3488 fi |
3488 rm -f conftest* | 3489 rm -f conftest* |
3489 | 3490 |
3490 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3491 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3491 echo "configure:3492: checking whether struct tm is in sys/time.h or time.h" >&5 | 3492 echo "configure:3493: checking whether struct tm is in sys/time.h or time.h" >&5 |
3492 | 3493 |
3493 cat > conftest.$ac_ext <<EOF | 3494 cat > conftest.$ac_ext <<EOF |
3494 #line 3495 "configure" | 3495 #line 3496 "configure" |
3495 #include "confdefs.h" | 3496 #include "confdefs.h" |
3496 #include <sys/types.h> | 3497 #include <sys/types.h> |
3497 #include <time.h> | 3498 #include <time.h> |
3498 int main() { | 3499 int main() { |
3499 struct tm *tp; tp->tm_sec; | 3500 struct tm *tp; tp->tm_sec; |
3500 ; return 0; } | 3501 ; return 0; } |
3501 EOF | 3502 EOF |
3502 if { (eval echo configure:3503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3503 if { (eval echo configure:3504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3503 rm -rf conftest* | 3504 rm -rf conftest* |
3504 ac_cv_struct_tm=time.h | 3505 ac_cv_struct_tm=time.h |
3505 else | 3506 else |
3506 echo "configure: failed program was:" >&5 | 3507 echo "configure: failed program was:" >&5 |
3507 cat conftest.$ac_ext >&5 | 3508 cat conftest.$ac_ext >&5 |
3521 } | 3522 } |
3522 | 3523 |
3523 fi | 3524 fi |
3524 | 3525 |
3525 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3526 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3526 echo "configure:3527: checking for tm_zone in struct tm" >&5 | 3527 echo "configure:3528: checking for tm_zone in struct tm" >&5 |
3527 | 3528 |
3528 cat > conftest.$ac_ext <<EOF | 3529 cat > conftest.$ac_ext <<EOF |
3529 #line 3530 "configure" | 3530 #line 3531 "configure" |
3530 #include "confdefs.h" | 3531 #include "confdefs.h" |
3531 #include <sys/types.h> | 3532 #include <sys/types.h> |
3532 #include <$ac_cv_struct_tm> | 3533 #include <$ac_cv_struct_tm> |
3533 int main() { | 3534 int main() { |
3534 struct tm tm; tm.tm_zone; | 3535 struct tm tm; tm.tm_zone; |
3535 ; return 0; } | 3536 ; return 0; } |
3536 EOF | 3537 EOF |
3537 if { (eval echo configure:3538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3538 if { (eval echo configure:3539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3538 rm -rf conftest* | 3539 rm -rf conftest* |
3539 ac_cv_struct_tm_zone=yes | 3540 ac_cv_struct_tm_zone=yes |
3540 else | 3541 else |
3541 echo "configure: failed program was:" >&5 | 3542 echo "configure: failed program was:" >&5 |
3542 cat conftest.$ac_ext >&5 | 3543 cat conftest.$ac_ext >&5 |
3555 EOF | 3556 EOF |
3556 } | 3557 } |
3557 | 3558 |
3558 else | 3559 else |
3559 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3560 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3560 echo "configure:3561: checking for tzname" >&5 | 3561 echo "configure:3562: checking for tzname" >&5 |
3561 | 3562 |
3562 cat > conftest.$ac_ext <<EOF | 3563 cat > conftest.$ac_ext <<EOF |
3563 #line 3564 "configure" | 3564 #line 3565 "configure" |
3564 #include "confdefs.h" | 3565 #include "confdefs.h" |
3565 #include <time.h> | 3566 #include <time.h> |
3566 #ifndef tzname /* For SGI. */ | 3567 #ifndef tzname /* For SGI. */ |
3567 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3568 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3568 #endif | 3569 #endif |
3569 int main() { | 3570 int main() { |
3570 atoi(*tzname); | 3571 atoi(*tzname); |
3571 ; return 0; } | 3572 ; return 0; } |
3572 EOF | 3573 EOF |
3573 if { (eval echo configure:3574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3574 if { (eval echo configure:3575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3574 rm -rf conftest* | 3575 rm -rf conftest* |
3575 ac_cv_var_tzname=yes | 3576 ac_cv_var_tzname=yes |
3576 else | 3577 else |
3577 echo "configure: failed program was:" >&5 | 3578 echo "configure: failed program was:" >&5 |
3578 cat conftest.$ac_ext >&5 | 3579 cat conftest.$ac_ext >&5 |
3594 fi | 3595 fi |
3595 fi | 3596 fi |
3596 | 3597 |
3597 | 3598 |
3598 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3599 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3599 echo "configure:3600: checking for working const" >&5 | 3600 echo "configure:3601: checking for working const" >&5 |
3600 | 3601 |
3601 cat > conftest.$ac_ext <<EOF | 3602 cat > conftest.$ac_ext <<EOF |
3602 #line 3603 "configure" | 3603 #line 3604 "configure" |
3603 #include "confdefs.h" | 3604 #include "confdefs.h" |
3604 | 3605 |
3605 int main() { | 3606 int main() { |
3606 | 3607 |
3607 /* Ultrix mips cc rejects this. */ | 3608 /* Ultrix mips cc rejects this. */ |
3646 const int foo = 10; | 3647 const int foo = 10; |
3647 } | 3648 } |
3648 | 3649 |
3649 ; return 0; } | 3650 ; return 0; } |
3650 EOF | 3651 EOF |
3651 if { (eval echo configure:3652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3652 if { (eval echo configure:3653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3652 rm -rf conftest* | 3653 rm -rf conftest* |
3653 ac_cv_c_const=yes | 3654 ac_cv_c_const=yes |
3654 else | 3655 else |
3655 echo "configure: failed program was:" >&5 | 3656 echo "configure: failed program was:" >&5 |
3656 cat conftest.$ac_ext >&5 | 3657 cat conftest.$ac_ext >&5 |
3671 | 3672 |
3672 fi | 3673 fi |
3673 | 3674 |
3674 | 3675 |
3675 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3676 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3676 echo "configure:3677: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3677 echo "configure:3678: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3677 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3678 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3678 | 3679 |
3679 cat > conftestmake <<\EOF | 3680 cat > conftestmake <<\EOF |
3680 all: | 3681 all: |
3681 @echo 'ac_maketemp="${MAKE}"' | 3682 @echo 'ac_maketemp="${MAKE}"' |
3696 SET_MAKE="MAKE=${MAKE-make}" | 3697 SET_MAKE="MAKE=${MAKE-make}" |
3697 fi | 3698 fi |
3698 | 3699 |
3699 | 3700 |
3700 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3701 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3701 echo "configure:3702: checking whether byte ordering is bigendian" >&5 | 3702 echo "configure:3703: checking whether byte ordering is bigendian" >&5 |
3702 | 3703 |
3703 ac_cv_c_bigendian=unknown | 3704 ac_cv_c_bigendian=unknown |
3704 # See if sys/param.h defines the BYTE_ORDER macro. | 3705 # See if sys/param.h defines the BYTE_ORDER macro. |
3705 cat > conftest.$ac_ext <<EOF | 3706 cat > conftest.$ac_ext <<EOF |
3706 #line 3707 "configure" | 3707 #line 3708 "configure" |
3707 #include "confdefs.h" | 3708 #include "confdefs.h" |
3708 #include <sys/types.h> | 3709 #include <sys/types.h> |
3709 #include <sys/param.h> | 3710 #include <sys/param.h> |
3710 int main() { | 3711 int main() { |
3711 | 3712 |
3712 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3713 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3713 bogus endian macros | 3714 bogus endian macros |
3714 #endif | 3715 #endif |
3715 ; return 0; } | 3716 ; return 0; } |
3716 EOF | 3717 EOF |
3717 if { (eval echo configure:3718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3718 if { (eval echo configure:3719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3718 rm -rf conftest* | 3719 rm -rf conftest* |
3719 # It does; now see whether it defined to BIG_ENDIAN or not. | 3720 # It does; now see whether it defined to BIG_ENDIAN or not. |
3720 cat > conftest.$ac_ext <<EOF | 3721 cat > conftest.$ac_ext <<EOF |
3721 #line 3722 "configure" | 3722 #line 3723 "configure" |
3722 #include "confdefs.h" | 3723 #include "confdefs.h" |
3723 #include <sys/types.h> | 3724 #include <sys/types.h> |
3724 #include <sys/param.h> | 3725 #include <sys/param.h> |
3725 int main() { | 3726 int main() { |
3726 | 3727 |
3727 #if BYTE_ORDER != BIG_ENDIAN | 3728 #if BYTE_ORDER != BIG_ENDIAN |
3728 not big endian | 3729 not big endian |
3729 #endif | 3730 #endif |
3730 ; return 0; } | 3731 ; return 0; } |
3731 EOF | 3732 EOF |
3732 if { (eval echo configure:3733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3733 if { (eval echo configure:3734: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3733 rm -rf conftest* | 3734 rm -rf conftest* |
3734 ac_cv_c_bigendian=yes | 3735 ac_cv_c_bigendian=yes |
3735 else | 3736 else |
3736 echo "configure: failed program was:" >&5 | 3737 echo "configure: failed program was:" >&5 |
3737 cat conftest.$ac_ext >&5 | 3738 cat conftest.$ac_ext >&5 |
3744 cat conftest.$ac_ext >&5 | 3745 cat conftest.$ac_ext >&5 |
3745 fi | 3746 fi |
3746 rm -f conftest* | 3747 rm -f conftest* |
3747 if test $ac_cv_c_bigendian = unknown; then | 3748 if test $ac_cv_c_bigendian = unknown; then |
3748 cat > conftest.$ac_ext <<EOF | 3749 cat > conftest.$ac_ext <<EOF |
3749 #line 3750 "configure" | 3750 #line 3751 "configure" |
3750 #include "confdefs.h" | 3751 #include "confdefs.h" |
3751 main () { | 3752 main () { |
3752 /* Are we little or big endian? From Harbison&Steele. */ | 3753 /* Are we little or big endian? From Harbison&Steele. */ |
3753 union | 3754 union |
3754 { | 3755 { |
3757 } u; | 3758 } u; |
3758 u.l = 1; | 3759 u.l = 1; |
3759 exit (u.c[sizeof (long) - 1] == 1); | 3760 exit (u.c[sizeof (long) - 1] == 1); |
3760 } | 3761 } |
3761 EOF | 3762 EOF |
3762 if { (eval echo configure:3763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3763 if { (eval echo configure:3764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3763 then | 3764 then |
3764 ac_cv_c_bigendian=no | 3765 ac_cv_c_bigendian=no |
3765 else | 3766 else |
3766 echo "configure: failed program was:" >&5 | 3767 echo "configure: failed program was:" >&5 |
3767 cat conftest.$ac_ext >&5 | 3768 cat conftest.$ac_ext >&5 |
3783 | 3784 |
3784 fi | 3785 fi |
3785 | 3786 |
3786 | 3787 |
3787 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3788 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3788 echo "configure:3789: checking size of short" >&5 | 3789 echo "configure:3790: checking size of short" >&5 |
3789 | 3790 |
3790 cat > conftest.$ac_ext <<EOF | 3791 cat > conftest.$ac_ext <<EOF |
3791 #line 3792 "configure" | 3792 #line 3793 "configure" |
3792 #include "confdefs.h" | 3793 #include "confdefs.h" |
3793 #include <stdio.h> | 3794 #include <stdio.h> |
3794 main() | 3795 main() |
3795 { | 3796 { |
3796 FILE *f=fopen("conftestval", "w"); | 3797 FILE *f=fopen("conftestval", "w"); |
3797 if (!f) exit(1); | 3798 if (!f) exit(1); |
3798 fprintf(f, "%d\n", sizeof(short)); | 3799 fprintf(f, "%d\n", sizeof(short)); |
3799 exit(0); | 3800 exit(0); |
3800 } | 3801 } |
3801 EOF | 3802 EOF |
3802 if { (eval echo configure:3803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3803 if { (eval echo configure:3804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3803 then | 3804 then |
3804 ac_cv_sizeof_short=`cat conftestval` | 3805 ac_cv_sizeof_short=`cat conftestval` |
3805 else | 3806 else |
3806 echo "configure: failed program was:" >&5 | 3807 echo "configure: failed program was:" >&5 |
3807 cat conftest.$ac_ext >&5 | 3808 cat conftest.$ac_ext >&5 |
3824 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3825 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3825 echo "*** PANIC *** Please examine config.log for compilation errors." | 3826 echo "*** PANIC *** Please examine config.log for compilation errors." |
3826 exit 1 | 3827 exit 1 |
3827 fi | 3828 fi |
3828 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3829 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3829 echo "configure:3830: checking size of int" >&5 | 3830 echo "configure:3831: checking size of int" >&5 |
3830 | 3831 |
3831 cat > conftest.$ac_ext <<EOF | 3832 cat > conftest.$ac_ext <<EOF |
3832 #line 3833 "configure" | 3833 #line 3834 "configure" |
3833 #include "confdefs.h" | 3834 #include "confdefs.h" |
3834 #include <stdio.h> | 3835 #include <stdio.h> |
3835 main() | 3836 main() |
3836 { | 3837 { |
3837 FILE *f=fopen("conftestval", "w"); | 3838 FILE *f=fopen("conftestval", "w"); |
3838 if (!f) exit(1); | 3839 if (!f) exit(1); |
3839 fprintf(f, "%d\n", sizeof(int)); | 3840 fprintf(f, "%d\n", sizeof(int)); |
3840 exit(0); | 3841 exit(0); |
3841 } | 3842 } |
3842 EOF | 3843 EOF |
3843 if { (eval echo configure:3844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3844 if { (eval echo configure:3845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3844 then | 3845 then |
3845 ac_cv_sizeof_int=`cat conftestval` | 3846 ac_cv_sizeof_int=`cat conftestval` |
3846 else | 3847 else |
3847 echo "configure: failed program was:" >&5 | 3848 echo "configure: failed program was:" >&5 |
3848 cat conftest.$ac_ext >&5 | 3849 cat conftest.$ac_ext >&5 |
3859 EOF | 3860 EOF |
3860 } | 3861 } |
3861 | 3862 |
3862 | 3863 |
3863 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3864 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3864 echo "configure:3865: checking size of long" >&5 | 3865 echo "configure:3866: checking size of long" >&5 |
3865 | 3866 |
3866 cat > conftest.$ac_ext <<EOF | 3867 cat > conftest.$ac_ext <<EOF |
3867 #line 3868 "configure" | 3868 #line 3869 "configure" |
3868 #include "confdefs.h" | 3869 #include "confdefs.h" |
3869 #include <stdio.h> | 3870 #include <stdio.h> |
3870 main() | 3871 main() |
3871 { | 3872 { |
3872 FILE *f=fopen("conftestval", "w"); | 3873 FILE *f=fopen("conftestval", "w"); |
3873 if (!f) exit(1); | 3874 if (!f) exit(1); |
3874 fprintf(f, "%d\n", sizeof(long)); | 3875 fprintf(f, "%d\n", sizeof(long)); |
3875 exit(0); | 3876 exit(0); |
3876 } | 3877 } |
3877 EOF | 3878 EOF |
3878 if { (eval echo configure:3879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3879 if { (eval echo configure:3880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3879 then | 3880 then |
3880 ac_cv_sizeof_long=`cat conftestval` | 3881 ac_cv_sizeof_long=`cat conftestval` |
3881 else | 3882 else |
3882 echo "configure: failed program was:" >&5 | 3883 echo "configure: failed program was:" >&5 |
3883 cat conftest.$ac_ext >&5 | 3884 cat conftest.$ac_ext >&5 |
3894 EOF | 3895 EOF |
3895 } | 3896 } |
3896 | 3897 |
3897 | 3898 |
3898 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3899 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3899 echo "configure:3900: checking size of long long" >&5 | 3900 echo "configure:3901: checking size of long long" >&5 |
3900 | 3901 |
3901 cat > conftest.$ac_ext <<EOF | 3902 cat > conftest.$ac_ext <<EOF |
3902 #line 3903 "configure" | 3903 #line 3904 "configure" |
3903 #include "confdefs.h" | 3904 #include "confdefs.h" |
3904 #include <stdio.h> | 3905 #include <stdio.h> |
3905 main() | 3906 main() |
3906 { | 3907 { |
3907 FILE *f=fopen("conftestval", "w"); | 3908 FILE *f=fopen("conftestval", "w"); |
3908 if (!f) exit(1); | 3909 if (!f) exit(1); |
3909 fprintf(f, "%d\n", sizeof(long long)); | 3910 fprintf(f, "%d\n", sizeof(long long)); |
3910 exit(0); | 3911 exit(0); |
3911 } | 3912 } |
3912 EOF | 3913 EOF |
3913 if { (eval echo configure:3914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3914 if { (eval echo configure:3915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3914 then | 3915 then |
3915 ac_cv_sizeof_long_long=`cat conftestval` | 3916 ac_cv_sizeof_long_long=`cat conftestval` |
3916 else | 3917 else |
3917 echo "configure: failed program was:" >&5 | 3918 echo "configure: failed program was:" >&5 |
3918 cat conftest.$ac_ext >&5 | 3919 cat conftest.$ac_ext >&5 |
3929 EOF | 3930 EOF |
3930 } | 3931 } |
3931 | 3932 |
3932 | 3933 |
3933 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3934 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
3934 echo "configure:3935: checking size of void *" >&5 | 3935 echo "configure:3936: checking size of void *" >&5 |
3935 | 3936 |
3936 cat > conftest.$ac_ext <<EOF | 3937 cat > conftest.$ac_ext <<EOF |
3937 #line 3938 "configure" | 3938 #line 3939 "configure" |
3938 #include "confdefs.h" | 3939 #include "confdefs.h" |
3939 #include <stdio.h> | 3940 #include <stdio.h> |
3940 main() | 3941 main() |
3941 { | 3942 { |
3942 FILE *f=fopen("conftestval", "w"); | 3943 FILE *f=fopen("conftestval", "w"); |
3943 if (!f) exit(1); | 3944 if (!f) exit(1); |
3944 fprintf(f, "%d\n", sizeof(void *)); | 3945 fprintf(f, "%d\n", sizeof(void *)); |
3945 exit(0); | 3946 exit(0); |
3946 } | 3947 } |
3947 EOF | 3948 EOF |
3948 if { (eval echo configure:3949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3949 if { (eval echo configure:3950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3949 then | 3950 then |
3950 ac_cv_sizeof_void_p=`cat conftestval` | 3951 ac_cv_sizeof_void_p=`cat conftestval` |
3951 else | 3952 else |
3952 echo "configure: failed program was:" >&5 | 3953 echo "configure: failed program was:" >&5 |
3953 cat conftest.$ac_ext >&5 | 3954 cat conftest.$ac_ext >&5 |
3965 } | 3966 } |
3966 | 3967 |
3967 | 3968 |
3968 | 3969 |
3969 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3970 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3970 echo "configure:3971: checking for long file names" >&5 | 3971 echo "configure:3972: checking for long file names" >&5 |
3971 | 3972 |
3972 ac_cv_sys_long_file_names=yes | 3973 ac_cv_sys_long_file_names=yes |
3973 # Test for long file names in all the places we know might matter: | 3974 # Test for long file names in all the places we know might matter: |
3974 # . the current directory, where building will happen | 3975 # . the current directory, where building will happen |
3975 # $prefix/lib where we will be installing things | 3976 # $prefix/lib where we will be installing things |
4012 fi | 4013 fi |
4013 | 4014 |
4014 | 4015 |
4015 | 4016 |
4016 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4017 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4017 echo "configure:4018: checking for sin in -lm" >&5 | 4018 echo "configure:4019: checking for sin in -lm" >&5 |
4018 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4019 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4019 | 4020 |
4020 xe_check_libs=" -lm " | 4021 xe_check_libs=" -lm " |
4021 cat > conftest.$ac_ext <<EOF | 4022 cat > conftest.$ac_ext <<EOF |
4022 #line 4023 "configure" | 4023 #line 4024 "configure" |
4023 #include "confdefs.h" | 4024 #include "confdefs.h" |
4024 /* Override any gcc2 internal prototype to avoid an error. */ | 4025 /* Override any gcc2 internal prototype to avoid an error. */ |
4025 /* We use char because int might match the return type of a gcc2 | 4026 /* We use char because int might match the return type of a gcc2 |
4026 builtin and then its argument prototype would still apply. */ | 4027 builtin and then its argument prototype would still apply. */ |
4027 char sin(); | 4028 char sin(); |
4028 | 4029 |
4029 int main() { | 4030 int main() { |
4030 sin() | 4031 sin() |
4031 ; return 0; } | 4032 ; return 0; } |
4032 EOF | 4033 EOF |
4033 if { (eval echo configure:4034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4034 if { (eval echo configure:4035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4034 rm -rf conftest* | 4035 rm -rf conftest* |
4035 eval "ac_cv_lib_$ac_lib_var=yes" | 4036 eval "ac_cv_lib_$ac_lib_var=yes" |
4036 else | 4037 else |
4037 echo "configure: failed program was:" >&5 | 4038 echo "configure: failed program was:" >&5 |
4038 cat conftest.$ac_ext >&5 | 4039 cat conftest.$ac_ext >&5 |
4070 EOF | 4071 EOF |
4071 } | 4072 } |
4072 | 4073 |
4073 | 4074 |
4074 cat > conftest.$ac_ext <<EOF | 4075 cat > conftest.$ac_ext <<EOF |
4075 #line 4076 "configure" | 4076 #line 4077 "configure" |
4076 #include "confdefs.h" | 4077 #include "confdefs.h" |
4077 #include <math.h> | 4078 #include <math.h> |
4078 int main() { | 4079 int main() { |
4079 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4080 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4080 ; return 0; } | 4081 ; return 0; } |
4081 EOF | 4082 EOF |
4082 if { (eval echo configure:4083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4083 if { (eval echo configure:4084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4083 rm -rf conftest* | 4084 rm -rf conftest* |
4084 { test "$extra_verbose" = "yes" && cat << \EOF | 4085 { test "$extra_verbose" = "yes" && cat << \EOF |
4085 Defining HAVE_INVERSE_HYPERBOLIC | 4086 Defining HAVE_INVERSE_HYPERBOLIC |
4086 EOF | 4087 EOF |
4087 cat >> confdefs.h <<\EOF | 4088 cat >> confdefs.h <<\EOF |
4094 cat conftest.$ac_ext >&5 | 4095 cat conftest.$ac_ext >&5 |
4095 fi | 4096 fi |
4096 rm -f conftest* | 4097 rm -f conftest* |
4097 | 4098 |
4098 echo "checking type of mail spool file locking" 1>&6 | 4099 echo "checking type of mail spool file locking" 1>&6 |
4099 echo "configure:4100: checking type of mail spool file locking" >&5 | 4100 echo "configure:4101: checking type of mail spool file locking" >&5 |
4100 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4101 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
4101 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4102 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
4102 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4103 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
4103 Defining REAL_MAIL_USE_LOCKF | 4104 Defining REAL_MAIL_USE_LOCKF |
4104 EOF | 4105 EOF |
4118 else mail_locking="dot-locking" | 4119 else mail_locking="dot-locking" |
4119 fi | 4120 fi |
4120 | 4121 |
4121 | 4122 |
4122 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 4123 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
4123 echo "configure:4124: checking for kstat_open in -lkstat" >&5 | 4124 echo "configure:4125: checking for kstat_open in -lkstat" >&5 |
4124 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 4125 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
4125 | 4126 |
4126 xe_check_libs=" -lkstat " | 4127 xe_check_libs=" -lkstat " |
4127 cat > conftest.$ac_ext <<EOF | 4128 cat > conftest.$ac_ext <<EOF |
4128 #line 4129 "configure" | 4129 #line 4130 "configure" |
4129 #include "confdefs.h" | 4130 #include "confdefs.h" |
4130 /* Override any gcc2 internal prototype to avoid an error. */ | 4131 /* Override any gcc2 internal prototype to avoid an error. */ |
4131 /* We use char because int might match the return type of a gcc2 | 4132 /* We use char because int might match the return type of a gcc2 |
4132 builtin and then its argument prototype would still apply. */ | 4133 builtin and then its argument prototype would still apply. */ |
4133 char kstat_open(); | 4134 char kstat_open(); |
4134 | 4135 |
4135 int main() { | 4136 int main() { |
4136 kstat_open() | 4137 kstat_open() |
4137 ; return 0; } | 4138 ; return 0; } |
4138 EOF | 4139 EOF |
4139 if { (eval echo configure:4140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4140 if { (eval echo configure:4141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4140 rm -rf conftest* | 4141 rm -rf conftest* |
4141 eval "ac_cv_lib_$ac_lib_var=yes" | 4142 eval "ac_cv_lib_$ac_lib_var=yes" |
4142 else | 4143 else |
4143 echo "configure: failed program was:" >&5 | 4144 echo "configure: failed program was:" >&5 |
4144 cat conftest.$ac_ext >&5 | 4145 cat conftest.$ac_ext >&5 |
4168 | 4169 |
4169 | 4170 |
4170 | 4171 |
4171 | 4172 |
4172 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4173 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
4173 echo "configure:4174: checking for kvm_read in -lkvm" >&5 | 4174 echo "configure:4175: checking for kvm_read in -lkvm" >&5 |
4174 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4175 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
4175 | 4176 |
4176 xe_check_libs=" -lkvm " | 4177 xe_check_libs=" -lkvm " |
4177 cat > conftest.$ac_ext <<EOF | 4178 cat > conftest.$ac_ext <<EOF |
4178 #line 4179 "configure" | 4179 #line 4180 "configure" |
4179 #include "confdefs.h" | 4180 #include "confdefs.h" |
4180 /* Override any gcc2 internal prototype to avoid an error. */ | 4181 /* Override any gcc2 internal prototype to avoid an error. */ |
4181 /* We use char because int might match the return type of a gcc2 | 4182 /* We use char because int might match the return type of a gcc2 |
4182 builtin and then its argument prototype would still apply. */ | 4183 builtin and then its argument prototype would still apply. */ |
4183 char kvm_read(); | 4184 char kvm_read(); |
4184 | 4185 |
4185 int main() { | 4186 int main() { |
4186 kvm_read() | 4187 kvm_read() |
4187 ; return 0; } | 4188 ; return 0; } |
4188 EOF | 4189 EOF |
4189 if { (eval echo configure:4190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4190 if { (eval echo configure:4191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4190 rm -rf conftest* | 4191 rm -rf conftest* |
4191 eval "ac_cv_lib_$ac_lib_var=yes" | 4192 eval "ac_cv_lib_$ac_lib_var=yes" |
4192 else | 4193 else |
4193 echo "configure: failed program was:" >&5 | 4194 echo "configure: failed program was:" >&5 |
4194 cat conftest.$ac_ext >&5 | 4195 cat conftest.$ac_ext >&5 |
4219 | 4220 |
4220 | 4221 |
4221 case "$opsys" in decosf*) | 4222 case "$opsys" in decosf*) |
4222 | 4223 |
4223 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4224 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4224 echo "configure:4225: checking for cma_open in -lpthreads" >&5 | 4225 echo "configure:4226: checking for cma_open in -lpthreads" >&5 |
4225 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4226 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4226 | 4227 |
4227 xe_check_libs=" -lpthreads " | 4228 xe_check_libs=" -lpthreads " |
4228 cat > conftest.$ac_ext <<EOF | 4229 cat > conftest.$ac_ext <<EOF |
4229 #line 4230 "configure" | 4230 #line 4231 "configure" |
4230 #include "confdefs.h" | 4231 #include "confdefs.h" |
4231 /* Override any gcc2 internal prototype to avoid an error. */ | 4232 /* Override any gcc2 internal prototype to avoid an error. */ |
4232 /* We use char because int might match the return type of a gcc2 | 4233 /* We use char because int might match the return type of a gcc2 |
4233 builtin and then its argument prototype would still apply. */ | 4234 builtin and then its argument prototype would still apply. */ |
4234 char cma_open(); | 4235 char cma_open(); |
4235 | 4236 |
4236 int main() { | 4237 int main() { |
4237 cma_open() | 4238 cma_open() |
4238 ; return 0; } | 4239 ; return 0; } |
4239 EOF | 4240 EOF |
4240 if { (eval echo configure:4241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4241 if { (eval echo configure:4242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4241 rm -rf conftest* | 4242 rm -rf conftest* |
4242 eval "ac_cv_lib_$ac_lib_var=yes" | 4243 eval "ac_cv_lib_$ac_lib_var=yes" |
4243 else | 4244 else |
4244 echo "configure: failed program was:" >&5 | 4245 echo "configure: failed program was:" >&5 |
4245 cat conftest.$ac_ext >&5 | 4246 cat conftest.$ac_ext >&5 |
4271 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4272 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4272 c_switch_site="$c_switch_site -threads" ;; | 4273 c_switch_site="$c_switch_site -threads" ;; |
4273 esac | 4274 esac |
4274 | 4275 |
4275 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4276 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4276 echo "configure:4277: checking whether the -xildoff compiler flag is required" >&5 | 4277 echo "configure:4278: checking whether the -xildoff compiler flag is required" >&5 |
4277 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4278 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4278 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4279 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4279 then echo "$ac_t""no" 1>&6; | 4280 then echo "$ac_t""no" 1>&6; |
4280 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi | 4281 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi |
4281 fi | 4282 fi |
4282 else echo "$ac_t""no" 1>&6 | 4283 else echo "$ac_t""no" 1>&6 |
4283 fi | 4284 fi |
4284 | 4285 |
4285 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4286 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4286 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4287 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4287 echo "configure:4288: checking for \"-z ignore\" linker flag" >&5 | 4288 echo "configure:4289: checking for \"-z ignore\" linker flag" >&5 |
4288 case "`ld -h 2>&1`" in | 4289 case "`ld -h 2>&1`" in |
4289 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4290 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4290 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4291 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4291 *) echo "$ac_t""no" 1>&6 ;; | 4292 *) echo "$ac_t""no" 1>&6 ;; |
4292 esac | 4293 esac |
4293 fi | 4294 fi |
4294 | 4295 |
4295 | 4296 |
4296 echo "checking "for specified window system"" 1>&6 | 4297 echo "checking "for specified window system"" 1>&6 |
4297 echo "configure:4298: checking "for specified window system"" >&5 | 4298 echo "configure:4299: checking "for specified window system"" >&5 |
4298 | 4299 |
4299 if test "$with_x11" != "no"; then | 4300 if test "$with_x11" != "no"; then |
4300 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4301 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4301 window_system=x11 with_x11=yes | 4302 window_system=x11 with_x11=yes |
4302 | 4303 |
4325 # If we find X, set shell vars x_includes and x_libraries to the | 4326 # If we find X, set shell vars x_includes and x_libraries to the |
4326 # paths, otherwise set no_x=yes. | 4327 # paths, otherwise set no_x=yes. |
4327 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4328 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4328 # --without-x overrides everything else, but does not touch the cache. | 4329 # --without-x overrides everything else, but does not touch the cache. |
4329 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4330 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4330 echo "configure:4331: checking for X" >&5 | 4331 echo "configure:4332: checking for X" >&5 |
4331 | 4332 |
4332 # Check whether --with-x or --without-x was given. | 4333 # Check whether --with-x or --without-x was given. |
4333 if test "${with_x+set}" = set; then | 4334 if test "${with_x+set}" = set; then |
4334 withval="$with_x" | 4335 withval="$with_x" |
4335 : | 4336 : |
4385 # Guess where to find include files, by looking for this one X11 .h file. | 4386 # Guess where to find include files, by looking for this one X11 .h file. |
4386 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4387 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4387 | 4388 |
4388 # First, try using that file with no special directory specified. | 4389 # First, try using that file with no special directory specified. |
4389 cat > conftest.$ac_ext <<EOF | 4390 cat > conftest.$ac_ext <<EOF |
4390 #line 4391 "configure" | 4391 #line 4392 "configure" |
4391 #include "confdefs.h" | 4392 #include "confdefs.h" |
4392 #include <$x_direct_test_include> | 4393 #include <$x_direct_test_include> |
4393 EOF | 4394 EOF |
4394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4395 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4395 { (eval echo configure:4396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4396 { (eval echo configure:4397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4396 ac_err=`grep -v '^ *+' conftest.out` | 4397 ac_err=`grep -v '^ *+' conftest.out` |
4397 if test -z "$ac_err"; then | 4398 if test -z "$ac_err"; then |
4398 rm -rf conftest* | 4399 rm -rf conftest* |
4399 # We can compile using X headers with no special include directory. | 4400 # We can compile using X headers with no special include directory. |
4400 ac_x_includes= | 4401 ac_x_includes= |
4459 # See if we find them without any special options. | 4460 # See if we find them without any special options. |
4460 # Don't add to $LIBS permanently. | 4461 # Don't add to $LIBS permanently. |
4461 ac_save_LIBS="$LIBS" | 4462 ac_save_LIBS="$LIBS" |
4462 LIBS="-l$x_direct_test_library $LIBS" | 4463 LIBS="-l$x_direct_test_library $LIBS" |
4463 cat > conftest.$ac_ext <<EOF | 4464 cat > conftest.$ac_ext <<EOF |
4464 #line 4465 "configure" | 4465 #line 4466 "configure" |
4465 #include "confdefs.h" | 4466 #include "confdefs.h" |
4466 | 4467 |
4467 int main() { | 4468 int main() { |
4468 ${x_direct_test_function}() | 4469 ${x_direct_test_function}() |
4469 ; return 0; } | 4470 ; return 0; } |
4470 EOF | 4471 EOF |
4471 if { (eval echo configure:4472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4472 if { (eval echo configure:4473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4472 rm -rf conftest* | 4473 rm -rf conftest* |
4473 LIBS="$ac_save_LIBS" | 4474 LIBS="$ac_save_LIBS" |
4474 # We can link X programs with no special library path. | 4475 # We can link X programs with no special library path. |
4475 ac_x_libraries= | 4476 ac_x_libraries= |
4476 else | 4477 else |
4575 # For Solaris; some versions of Sun CC require a space after -R and | 4576 # For Solaris; some versions of Sun CC require a space after -R and |
4576 # others require no space. Words are not sufficient . . . . | 4577 # others require no space. Words are not sufficient . . . . |
4577 case "`(uname -sr) 2>/dev/null`" in | 4578 case "`(uname -sr) 2>/dev/null`" in |
4578 "SunOS 5"*) | 4579 "SunOS 5"*) |
4579 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4580 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4580 echo "configure:4581: checking whether -R must be followed by a space" >&5 | 4581 echo "configure:4582: checking whether -R must be followed by a space" >&5 |
4581 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4582 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4582 cat > conftest.$ac_ext <<EOF | 4583 cat > conftest.$ac_ext <<EOF |
4583 #line 4584 "configure" | 4584 #line 4585 "configure" |
4584 #include "confdefs.h" | 4585 #include "confdefs.h" |
4585 | 4586 |
4586 int main() { | 4587 int main() { |
4587 | 4588 |
4588 ; return 0; } | 4589 ; return 0; } |
4589 EOF | 4590 EOF |
4590 if { (eval echo configure:4591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4591 if { (eval echo configure:4592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4591 rm -rf conftest* | 4592 rm -rf conftest* |
4592 ac_R_nospace=yes | 4593 ac_R_nospace=yes |
4593 else | 4594 else |
4594 echo "configure: failed program was:" >&5 | 4595 echo "configure: failed program was:" >&5 |
4595 cat conftest.$ac_ext >&5 | 4596 cat conftest.$ac_ext >&5 |
4601 echo "$ac_t""no" 1>&6 | 4602 echo "$ac_t""no" 1>&6 |
4602 X_LIBS="$X_LIBS -R$x_libraries" | 4603 X_LIBS="$X_LIBS -R$x_libraries" |
4603 else | 4604 else |
4604 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4605 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4605 cat > conftest.$ac_ext <<EOF | 4606 cat > conftest.$ac_ext <<EOF |
4606 #line 4607 "configure" | 4607 #line 4608 "configure" |
4607 #include "confdefs.h" | 4608 #include "confdefs.h" |
4608 | 4609 |
4609 int main() { | 4610 int main() { |
4610 | 4611 |
4611 ; return 0; } | 4612 ; return 0; } |
4612 EOF | 4613 EOF |
4613 if { (eval echo configure:4614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4614 if { (eval echo configure:4615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4614 rm -rf conftest* | 4615 rm -rf conftest* |
4615 ac_R_space=yes | 4616 ac_R_space=yes |
4616 else | 4617 else |
4617 echo "configure: failed program was:" >&5 | 4618 echo "configure: failed program was:" >&5 |
4618 cat conftest.$ac_ext >&5 | 4619 cat conftest.$ac_ext >&5 |
4644 if test "$with_dnet" = "no" ; then | 4645 if test "$with_dnet" = "no" ; then |
4645 ac_cv_lib_dnet_dnet_ntoa=no | 4646 ac_cv_lib_dnet_dnet_ntoa=no |
4646 else | 4647 else |
4647 | 4648 |
4648 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4649 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4649 echo "configure:4650: checking for dnet_ntoa in -ldnet" >&5 | 4650 echo "configure:4651: checking for dnet_ntoa in -ldnet" >&5 |
4650 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4651 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4651 | 4652 |
4652 xe_check_libs=" -ldnet " | 4653 xe_check_libs=" -ldnet " |
4653 cat > conftest.$ac_ext <<EOF | 4654 cat > conftest.$ac_ext <<EOF |
4654 #line 4655 "configure" | 4655 #line 4656 "configure" |
4655 #include "confdefs.h" | 4656 #include "confdefs.h" |
4656 /* Override any gcc2 internal prototype to avoid an error. */ | 4657 /* Override any gcc2 internal prototype to avoid an error. */ |
4657 /* We use char because int might match the return type of a gcc2 | 4658 /* We use char because int might match the return type of a gcc2 |
4658 builtin and then its argument prototype would still apply. */ | 4659 builtin and then its argument prototype would still apply. */ |
4659 char dnet_ntoa(); | 4660 char dnet_ntoa(); |
4660 | 4661 |
4661 int main() { | 4662 int main() { |
4662 dnet_ntoa() | 4663 dnet_ntoa() |
4663 ; return 0; } | 4664 ; return 0; } |
4664 EOF | 4665 EOF |
4665 if { (eval echo configure:4666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4666 if { (eval echo configure:4667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4666 rm -rf conftest* | 4667 rm -rf conftest* |
4667 eval "ac_cv_lib_$ac_lib_var=yes" | 4668 eval "ac_cv_lib_$ac_lib_var=yes" |
4668 else | 4669 else |
4669 echo "configure: failed program was:" >&5 | 4670 echo "configure: failed program was:" >&5 |
4670 cat conftest.$ac_ext >&5 | 4671 cat conftest.$ac_ext >&5 |
4684 fi | 4685 fi |
4685 | 4686 |
4686 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4687 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4687 | 4688 |
4688 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4689 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4689 echo "configure:4690: checking for dnet_ntoa in -ldnet_stub" >&5 | 4690 echo "configure:4691: checking for dnet_ntoa in -ldnet_stub" >&5 |
4690 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4691 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4691 | 4692 |
4692 xe_check_libs=" -ldnet_stub " | 4693 xe_check_libs=" -ldnet_stub " |
4693 cat > conftest.$ac_ext <<EOF | 4694 cat > conftest.$ac_ext <<EOF |
4694 #line 4695 "configure" | 4695 #line 4696 "configure" |
4695 #include "confdefs.h" | 4696 #include "confdefs.h" |
4696 /* Override any gcc2 internal prototype to avoid an error. */ | 4697 /* Override any gcc2 internal prototype to avoid an error. */ |
4697 /* We use char because int might match the return type of a gcc2 | 4698 /* We use char because int might match the return type of a gcc2 |
4698 builtin and then its argument prototype would still apply. */ | 4699 builtin and then its argument prototype would still apply. */ |
4699 char dnet_ntoa(); | 4700 char dnet_ntoa(); |
4700 | 4701 |
4701 int main() { | 4702 int main() { |
4702 dnet_ntoa() | 4703 dnet_ntoa() |
4703 ; return 0; } | 4704 ; return 0; } |
4704 EOF | 4705 EOF |
4705 if { (eval echo configure:4706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4706 if { (eval echo configure:4707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4706 rm -rf conftest* | 4707 rm -rf conftest* |
4707 eval "ac_cv_lib_$ac_lib_var=yes" | 4708 eval "ac_cv_lib_$ac_lib_var=yes" |
4708 else | 4709 else |
4709 echo "configure: failed program was:" >&5 | 4710 echo "configure: failed program was:" >&5 |
4710 cat conftest.$ac_ext >&5 | 4711 cat conftest.$ac_ext >&5 |
4729 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4730 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4730 # needs -lnsl. | 4731 # needs -lnsl. |
4731 # The nsl library prevents programs from opening the X display | 4732 # The nsl library prevents programs from opening the X display |
4732 # on Irix 5.2, according to dickey@clark.net. | 4733 # on Irix 5.2, according to dickey@clark.net. |
4733 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4734 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4734 echo "configure:4735: checking for gethostbyname" >&5 | 4735 echo "configure:4736: checking for gethostbyname" >&5 |
4735 | 4736 |
4736 cat > conftest.$ac_ext <<EOF | 4737 cat > conftest.$ac_ext <<EOF |
4737 #line 4738 "configure" | 4738 #line 4739 "configure" |
4738 #include "confdefs.h" | 4739 #include "confdefs.h" |
4739 /* System header to define __stub macros and hopefully few prototypes, | 4740 /* System header to define __stub macros and hopefully few prototypes, |
4740 which can conflict with char gethostbyname(); below. */ | 4741 which can conflict with char gethostbyname(); below. */ |
4741 #include <assert.h> | 4742 #include <assert.h> |
4742 /* Override any gcc2 internal prototype to avoid an error. */ | 4743 /* Override any gcc2 internal prototype to avoid an error. */ |
4755 gethostbyname(); | 4756 gethostbyname(); |
4756 #endif | 4757 #endif |
4757 | 4758 |
4758 ; return 0; } | 4759 ; return 0; } |
4759 EOF | 4760 EOF |
4760 if { (eval echo configure:4761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4761 if { (eval echo configure:4762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4761 rm -rf conftest* | 4762 rm -rf conftest* |
4762 eval "ac_cv_func_gethostbyname=yes" | 4763 eval "ac_cv_func_gethostbyname=yes" |
4763 else | 4764 else |
4764 echo "configure: failed program was:" >&5 | 4765 echo "configure: failed program was:" >&5 |
4765 cat conftest.$ac_ext >&5 | 4766 cat conftest.$ac_ext >&5 |
4776 fi | 4777 fi |
4777 | 4778 |
4778 if test $ac_cv_func_gethostbyname = no; then | 4779 if test $ac_cv_func_gethostbyname = no; then |
4779 | 4780 |
4780 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4781 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4781 echo "configure:4782: checking for gethostbyname in -lnsl" >&5 | 4782 echo "configure:4783: checking for gethostbyname in -lnsl" >&5 |
4782 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4783 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4783 | 4784 |
4784 xe_check_libs=" -lnsl " | 4785 xe_check_libs=" -lnsl " |
4785 cat > conftest.$ac_ext <<EOF | 4786 cat > conftest.$ac_ext <<EOF |
4786 #line 4787 "configure" | 4787 #line 4788 "configure" |
4787 #include "confdefs.h" | 4788 #include "confdefs.h" |
4788 /* Override any gcc2 internal prototype to avoid an error. */ | 4789 /* Override any gcc2 internal prototype to avoid an error. */ |
4789 /* We use char because int might match the return type of a gcc2 | 4790 /* We use char because int might match the return type of a gcc2 |
4790 builtin and then its argument prototype would still apply. */ | 4791 builtin and then its argument prototype would still apply. */ |
4791 char gethostbyname(); | 4792 char gethostbyname(); |
4792 | 4793 |
4793 int main() { | 4794 int main() { |
4794 gethostbyname() | 4795 gethostbyname() |
4795 ; return 0; } | 4796 ; return 0; } |
4796 EOF | 4797 EOF |
4797 if { (eval echo configure:4798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4798 if { (eval echo configure:4799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4798 rm -rf conftest* | 4799 rm -rf conftest* |
4799 eval "ac_cv_lib_$ac_lib_var=yes" | 4800 eval "ac_cv_lib_$ac_lib_var=yes" |
4800 else | 4801 else |
4801 echo "configure: failed program was:" >&5 | 4802 echo "configure: failed program was:" >&5 |
4802 cat conftest.$ac_ext >&5 | 4803 cat conftest.$ac_ext >&5 |
4822 # on later versions), says simon@lia.di.epfl.ch: it contains | 4823 # on later versions), says simon@lia.di.epfl.ch: it contains |
4823 # gethostby* variants that don't use the nameserver (or something). | 4824 # gethostby* variants that don't use the nameserver (or something). |
4824 # -lsocket must be given before -lnsl if both are needed. | 4825 # -lsocket must be given before -lnsl if both are needed. |
4825 # We assume that if connect needs -lnsl, so does gethostbyname. | 4826 # We assume that if connect needs -lnsl, so does gethostbyname. |
4826 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4827 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4827 echo "configure:4828: checking for connect" >&5 | 4828 echo "configure:4829: checking for connect" >&5 |
4828 | 4829 |
4829 cat > conftest.$ac_ext <<EOF | 4830 cat > conftest.$ac_ext <<EOF |
4830 #line 4831 "configure" | 4831 #line 4832 "configure" |
4831 #include "confdefs.h" | 4832 #include "confdefs.h" |
4832 /* System header to define __stub macros and hopefully few prototypes, | 4833 /* System header to define __stub macros and hopefully few prototypes, |
4833 which can conflict with char connect(); below. */ | 4834 which can conflict with char connect(); below. */ |
4834 #include <assert.h> | 4835 #include <assert.h> |
4835 /* Override any gcc2 internal prototype to avoid an error. */ | 4836 /* Override any gcc2 internal prototype to avoid an error. */ |
4848 connect(); | 4849 connect(); |
4849 #endif | 4850 #endif |
4850 | 4851 |
4851 ; return 0; } | 4852 ; return 0; } |
4852 EOF | 4853 EOF |
4853 if { (eval echo configure:4854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4854 if { (eval echo configure:4855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4854 rm -rf conftest* | 4855 rm -rf conftest* |
4855 eval "ac_cv_func_connect=yes" | 4856 eval "ac_cv_func_connect=yes" |
4856 else | 4857 else |
4857 echo "configure: failed program was:" >&5 | 4858 echo "configure: failed program was:" >&5 |
4858 cat conftest.$ac_ext >&5 | 4859 cat conftest.$ac_ext >&5 |
4871 if test $ac_cv_func_connect = no; then | 4872 if test $ac_cv_func_connect = no; then |
4872 | 4873 |
4873 xe_msg_checking="for connect in -lsocket" | 4874 xe_msg_checking="for connect in -lsocket" |
4874 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4875 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4875 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4876 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4876 echo "configure:4877: checking "$xe_msg_checking"" >&5 | 4877 echo "configure:4878: checking "$xe_msg_checking"" >&5 |
4877 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4878 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4878 | 4879 |
4879 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4880 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4880 cat > conftest.$ac_ext <<EOF | 4881 cat > conftest.$ac_ext <<EOF |
4881 #line 4882 "configure" | 4882 #line 4883 "configure" |
4882 #include "confdefs.h" | 4883 #include "confdefs.h" |
4883 /* Override any gcc2 internal prototype to avoid an error. */ | 4884 /* Override any gcc2 internal prototype to avoid an error. */ |
4884 /* We use char because int might match the return type of a gcc2 | 4885 /* We use char because int might match the return type of a gcc2 |
4885 builtin and then its argument prototype would still apply. */ | 4886 builtin and then its argument prototype would still apply. */ |
4886 char connect(); | 4887 char connect(); |
4887 | 4888 |
4888 int main() { | 4889 int main() { |
4889 connect() | 4890 connect() |
4890 ; return 0; } | 4891 ; return 0; } |
4891 EOF | 4892 EOF |
4892 if { (eval echo configure:4893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4893 if { (eval echo configure:4894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4893 rm -rf conftest* | 4894 rm -rf conftest* |
4894 eval "ac_cv_lib_$ac_lib_var=yes" | 4895 eval "ac_cv_lib_$ac_lib_var=yes" |
4895 else | 4896 else |
4896 echo "configure: failed program was:" >&5 | 4897 echo "configure: failed program was:" >&5 |
4897 cat conftest.$ac_ext >&5 | 4898 cat conftest.$ac_ext >&5 |
4911 | 4912 |
4912 fi | 4913 fi |
4913 | 4914 |
4914 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4915 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4915 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4916 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4916 echo "configure:4917: checking for remove" >&5 | 4917 echo "configure:4918: checking for remove" >&5 |
4917 | 4918 |
4918 cat > conftest.$ac_ext <<EOF | 4919 cat > conftest.$ac_ext <<EOF |
4919 #line 4920 "configure" | 4920 #line 4921 "configure" |
4920 #include "confdefs.h" | 4921 #include "confdefs.h" |
4921 /* System header to define __stub macros and hopefully few prototypes, | 4922 /* System header to define __stub macros and hopefully few prototypes, |
4922 which can conflict with char remove(); below. */ | 4923 which can conflict with char remove(); below. */ |
4923 #include <assert.h> | 4924 #include <assert.h> |
4924 /* Override any gcc2 internal prototype to avoid an error. */ | 4925 /* Override any gcc2 internal prototype to avoid an error. */ |
4937 remove(); | 4938 remove(); |
4938 #endif | 4939 #endif |
4939 | 4940 |
4940 ; return 0; } | 4941 ; return 0; } |
4941 EOF | 4942 EOF |
4942 if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4943 if { (eval echo configure:4944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4943 rm -rf conftest* | 4944 rm -rf conftest* |
4944 eval "ac_cv_func_remove=yes" | 4945 eval "ac_cv_func_remove=yes" |
4945 else | 4946 else |
4946 echo "configure: failed program was:" >&5 | 4947 echo "configure: failed program was:" >&5 |
4947 cat conftest.$ac_ext >&5 | 4948 cat conftest.$ac_ext >&5 |
4958 fi | 4959 fi |
4959 | 4960 |
4960 if test $ac_cv_func_remove = no; then | 4961 if test $ac_cv_func_remove = no; then |
4961 | 4962 |
4962 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4963 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
4963 echo "configure:4964: checking for remove in -lposix" >&5 | 4964 echo "configure:4965: checking for remove in -lposix" >&5 |
4964 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4965 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
4965 | 4966 |
4966 xe_check_libs=" -lposix " | 4967 xe_check_libs=" -lposix " |
4967 cat > conftest.$ac_ext <<EOF | 4968 cat > conftest.$ac_ext <<EOF |
4968 #line 4969 "configure" | 4969 #line 4970 "configure" |
4969 #include "confdefs.h" | 4970 #include "confdefs.h" |
4970 /* Override any gcc2 internal prototype to avoid an error. */ | 4971 /* Override any gcc2 internal prototype to avoid an error. */ |
4971 /* We use char because int might match the return type of a gcc2 | 4972 /* We use char because int might match the return type of a gcc2 |
4972 builtin and then its argument prototype would still apply. */ | 4973 builtin and then its argument prototype would still apply. */ |
4973 char remove(); | 4974 char remove(); |
4974 | 4975 |
4975 int main() { | 4976 int main() { |
4976 remove() | 4977 remove() |
4977 ; return 0; } | 4978 ; return 0; } |
4978 EOF | 4979 EOF |
4979 if { (eval echo configure:4980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4980 if { (eval echo configure:4981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4980 rm -rf conftest* | 4981 rm -rf conftest* |
4981 eval "ac_cv_lib_$ac_lib_var=yes" | 4982 eval "ac_cv_lib_$ac_lib_var=yes" |
4982 else | 4983 else |
4983 echo "configure: failed program was:" >&5 | 4984 echo "configure: failed program was:" >&5 |
4984 cat conftest.$ac_ext >&5 | 4985 cat conftest.$ac_ext >&5 |
4998 | 4999 |
4999 fi | 5000 fi |
5000 | 5001 |
5001 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5002 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5002 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5003 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5003 echo "configure:5004: checking for shmat" >&5 | 5004 echo "configure:5005: checking for shmat" >&5 |
5004 | 5005 |
5005 cat > conftest.$ac_ext <<EOF | 5006 cat > conftest.$ac_ext <<EOF |
5006 #line 5007 "configure" | 5007 #line 5008 "configure" |
5007 #include "confdefs.h" | 5008 #include "confdefs.h" |
5008 /* System header to define __stub macros and hopefully few prototypes, | 5009 /* System header to define __stub macros and hopefully few prototypes, |
5009 which can conflict with char shmat(); below. */ | 5010 which can conflict with char shmat(); below. */ |
5010 #include <assert.h> | 5011 #include <assert.h> |
5011 /* Override any gcc2 internal prototype to avoid an error. */ | 5012 /* Override any gcc2 internal prototype to avoid an error. */ |
5024 shmat(); | 5025 shmat(); |
5025 #endif | 5026 #endif |
5026 | 5027 |
5027 ; return 0; } | 5028 ; return 0; } |
5028 EOF | 5029 EOF |
5029 if { (eval echo configure:5030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5030 if { (eval echo configure:5031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5030 rm -rf conftest* | 5031 rm -rf conftest* |
5031 eval "ac_cv_func_shmat=yes" | 5032 eval "ac_cv_func_shmat=yes" |
5032 else | 5033 else |
5033 echo "configure: failed program was:" >&5 | 5034 echo "configure: failed program was:" >&5 |
5034 cat conftest.$ac_ext >&5 | 5035 cat conftest.$ac_ext >&5 |
5045 fi | 5046 fi |
5046 | 5047 |
5047 if test $ac_cv_func_shmat = no; then | 5048 if test $ac_cv_func_shmat = no; then |
5048 | 5049 |
5049 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5050 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5050 echo "configure:5051: checking for shmat in -lipc" >&5 | 5051 echo "configure:5052: checking for shmat in -lipc" >&5 |
5051 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5052 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5052 | 5053 |
5053 xe_check_libs=" -lipc " | 5054 xe_check_libs=" -lipc " |
5054 cat > conftest.$ac_ext <<EOF | 5055 cat > conftest.$ac_ext <<EOF |
5055 #line 5056 "configure" | 5056 #line 5057 "configure" |
5056 #include "confdefs.h" | 5057 #include "confdefs.h" |
5057 /* Override any gcc2 internal prototype to avoid an error. */ | 5058 /* Override any gcc2 internal prototype to avoid an error. */ |
5058 /* We use char because int might match the return type of a gcc2 | 5059 /* We use char because int might match the return type of a gcc2 |
5059 builtin and then its argument prototype would still apply. */ | 5060 builtin and then its argument prototype would still apply. */ |
5060 char shmat(); | 5061 char shmat(); |
5061 | 5062 |
5062 int main() { | 5063 int main() { |
5063 shmat() | 5064 shmat() |
5064 ; return 0; } | 5065 ; return 0; } |
5065 EOF | 5066 EOF |
5066 if { (eval echo configure:5067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5067 if { (eval echo configure:5068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5067 rm -rf conftest* | 5068 rm -rf conftest* |
5068 eval "ac_cv_lib_$ac_lib_var=yes" | 5069 eval "ac_cv_lib_$ac_lib_var=yes" |
5069 else | 5070 else |
5070 echo "configure: failed program was:" >&5 | 5071 echo "configure: failed program was:" >&5 |
5071 cat conftest.$ac_ext >&5 | 5072 cat conftest.$ac_ext >&5 |
5095 # These have to be linked with before -lX11, unlike the other | 5096 # These have to be linked with before -lX11, unlike the other |
5096 # libraries we check for below, so use a different variable. | 5097 # libraries we check for below, so use a different variable. |
5097 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5098 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5098 | 5099 |
5099 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 5100 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
5100 echo "configure:5101: checking for IceConnectionNumber in -lICE" >&5 | 5101 echo "configure:5102: checking for IceConnectionNumber in -lICE" >&5 |
5101 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5102 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5102 | 5103 |
5103 xe_check_libs=" -lICE " | 5104 xe_check_libs=" -lICE " |
5104 cat > conftest.$ac_ext <<EOF | 5105 cat > conftest.$ac_ext <<EOF |
5105 #line 5106 "configure" | 5106 #line 5107 "configure" |
5106 #include "confdefs.h" | 5107 #include "confdefs.h" |
5107 /* Override any gcc2 internal prototype to avoid an error. */ | 5108 /* Override any gcc2 internal prototype to avoid an error. */ |
5108 /* We use char because int might match the return type of a gcc2 | 5109 /* We use char because int might match the return type of a gcc2 |
5109 builtin and then its argument prototype would still apply. */ | 5110 builtin and then its argument prototype would still apply. */ |
5110 char IceConnectionNumber(); | 5111 char IceConnectionNumber(); |
5111 | 5112 |
5112 int main() { | 5113 int main() { |
5113 IceConnectionNumber() | 5114 IceConnectionNumber() |
5114 ; return 0; } | 5115 ; return 0; } |
5115 EOF | 5116 EOF |
5116 if { (eval echo configure:5117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5117 if { (eval echo configure:5118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5117 rm -rf conftest* | 5118 rm -rf conftest* |
5118 eval "ac_cv_lib_$ac_lib_var=yes" | 5119 eval "ac_cv_lib_$ac_lib_var=yes" |
5119 else | 5120 else |
5120 echo "configure: failed program was:" >&5 | 5121 echo "configure: failed program was:" >&5 |
5121 cat conftest.$ac_ext >&5 | 5122 cat conftest.$ac_ext >&5 |
5278 EOF | 5279 EOF |
5279 } | 5280 } |
5280 | 5281 |
5281 | 5282 |
5282 echo "checking for X defines extracted by xmkmf" 1>&6 | 5283 echo "checking for X defines extracted by xmkmf" 1>&6 |
5283 echo "configure:5284: checking for X defines extracted by xmkmf" >&5 | 5284 echo "configure:5285: checking for X defines extracted by xmkmf" >&5 |
5284 rm -fr conftestdir | 5285 rm -fr conftestdir |
5285 if mkdir conftestdir; then | 5286 if mkdir conftestdir; then |
5286 cd conftestdir | 5287 cd conftestdir |
5287 cat > Imakefile <<'EOF' | 5288 cat > Imakefile <<'EOF' |
5288 xetest: | 5289 xetest: |
5310 done | 5311 done |
5311 fi | 5312 fi |
5312 | 5313 |
5313 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5314 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5314 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5315 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5315 echo "configure:5316: checking for X11/Intrinsic.h" >&5 | 5316 echo "configure:5317: checking for X11/Intrinsic.h" >&5 |
5316 | 5317 |
5317 cat > conftest.$ac_ext <<EOF | 5318 cat > conftest.$ac_ext <<EOF |
5318 #line 5319 "configure" | 5319 #line 5320 "configure" |
5319 #include "confdefs.h" | 5320 #include "confdefs.h" |
5320 #include <X11/Intrinsic.h> | 5321 #include <X11/Intrinsic.h> |
5321 EOF | 5322 EOF |
5322 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5323 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5323 { (eval echo configure:5324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5324 { (eval echo configure:5325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5324 ac_err=`grep -v '^ *+' conftest.out` | 5325 ac_err=`grep -v '^ *+' conftest.out` |
5325 if test -z "$ac_err"; then | 5326 if test -z "$ac_err"; then |
5326 rm -rf conftest* | 5327 rm -rf conftest* |
5327 eval "ac_cv_header_$ac_safe=yes" | 5328 eval "ac_cv_header_$ac_safe=yes" |
5328 else | 5329 else |
5342 fi | 5343 fi |
5343 | 5344 |
5344 | 5345 |
5345 | 5346 |
5346 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5347 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5347 echo "configure:5348: checking for XOpenDisplay in -lX11" >&5 | 5348 echo "configure:5349: checking for XOpenDisplay in -lX11" >&5 |
5348 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5349 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5349 | 5350 |
5350 xe_check_libs=" -lX11 " | 5351 xe_check_libs=" -lX11 " |
5351 cat > conftest.$ac_ext <<EOF | 5352 cat > conftest.$ac_ext <<EOF |
5352 #line 5353 "configure" | 5353 #line 5354 "configure" |
5353 #include "confdefs.h" | 5354 #include "confdefs.h" |
5354 /* Override any gcc2 internal prototype to avoid an error. */ | 5355 /* Override any gcc2 internal prototype to avoid an error. */ |
5355 /* We use char because int might match the return type of a gcc2 | 5356 /* We use char because int might match the return type of a gcc2 |
5356 builtin and then its argument prototype would still apply. */ | 5357 builtin and then its argument prototype would still apply. */ |
5357 char XOpenDisplay(); | 5358 char XOpenDisplay(); |
5358 | 5359 |
5359 int main() { | 5360 int main() { |
5360 XOpenDisplay() | 5361 XOpenDisplay() |
5361 ; return 0; } | 5362 ; return 0; } |
5362 EOF | 5363 EOF |
5363 if { (eval echo configure:5364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5364 if { (eval echo configure:5365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5364 rm -rf conftest* | 5365 rm -rf conftest* |
5365 eval "ac_cv_lib_$ac_lib_var=yes" | 5366 eval "ac_cv_lib_$ac_lib_var=yes" |
5366 else | 5367 else |
5367 echo "configure: failed program was:" >&5 | 5368 echo "configure: failed program was:" >&5 |
5368 cat conftest.$ac_ext >&5 | 5369 cat conftest.$ac_ext >&5 |
5383 if test "$have_lib_x11" != "yes"; then | 5384 if test "$have_lib_x11" != "yes"; then |
5384 | 5385 |
5385 xe_msg_checking="for XGetFontProperty in -lX11" | 5386 xe_msg_checking="for XGetFontProperty in -lX11" |
5386 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5387 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5387 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5388 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5388 echo "configure:5389: checking "$xe_msg_checking"" >&5 | 5389 echo "configure:5390: checking "$xe_msg_checking"" >&5 |
5389 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5390 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5390 | 5391 |
5391 xe_check_libs=" -lX11 -b i486-linuxaout" | 5392 xe_check_libs=" -lX11 -b i486-linuxaout" |
5392 cat > conftest.$ac_ext <<EOF | 5393 cat > conftest.$ac_ext <<EOF |
5393 #line 5394 "configure" | 5394 #line 5395 "configure" |
5394 #include "confdefs.h" | 5395 #include "confdefs.h" |
5395 /* Override any gcc2 internal prototype to avoid an error. */ | 5396 /* Override any gcc2 internal prototype to avoid an error. */ |
5396 /* We use char because int might match the return type of a gcc2 | 5397 /* We use char because int might match the return type of a gcc2 |
5397 builtin and then its argument prototype would still apply. */ | 5398 builtin and then its argument prototype would still apply. */ |
5398 char XGetFontProperty(); | 5399 char XGetFontProperty(); |
5399 | 5400 |
5400 int main() { | 5401 int main() { |
5401 XGetFontProperty() | 5402 XGetFontProperty() |
5402 ; return 0; } | 5403 ; return 0; } |
5403 EOF | 5404 EOF |
5404 if { (eval echo configure:5405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5405 if { (eval echo configure:5406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5405 rm -rf conftest* | 5406 rm -rf conftest* |
5406 eval "ac_cv_lib_$ac_lib_var=yes" | 5407 eval "ac_cv_lib_$ac_lib_var=yes" |
5407 else | 5408 else |
5408 echo "configure: failed program was:" >&5 | 5409 echo "configure: failed program was:" >&5 |
5409 cat conftest.$ac_ext >&5 | 5410 cat conftest.$ac_ext >&5 |
5426 libs_x="-lX11" | 5427 libs_x="-lX11" |
5427 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5428 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5428 | 5429 |
5429 | 5430 |
5430 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5431 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5431 echo "configure:5432: checking for XShapeSelectInput in -lXext" >&5 | 5432 echo "configure:5433: checking for XShapeSelectInput in -lXext" >&5 |
5432 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5433 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5433 | 5434 |
5434 xe_check_libs=" -lXext " | 5435 xe_check_libs=" -lXext " |
5435 cat > conftest.$ac_ext <<EOF | 5436 cat > conftest.$ac_ext <<EOF |
5436 #line 5437 "configure" | 5437 #line 5438 "configure" |
5437 #include "confdefs.h" | 5438 #include "confdefs.h" |
5438 /* Override any gcc2 internal prototype to avoid an error. */ | 5439 /* Override any gcc2 internal prototype to avoid an error. */ |
5439 /* We use char because int might match the return type of a gcc2 | 5440 /* We use char because int might match the return type of a gcc2 |
5440 builtin and then its argument prototype would still apply. */ | 5441 builtin and then its argument prototype would still apply. */ |
5441 char XShapeSelectInput(); | 5442 char XShapeSelectInput(); |
5442 | 5443 |
5443 int main() { | 5444 int main() { |
5444 XShapeSelectInput() | 5445 XShapeSelectInput() |
5445 ; return 0; } | 5446 ; return 0; } |
5446 EOF | 5447 EOF |
5447 if { (eval echo configure:5448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5448 if { (eval echo configure:5449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5448 rm -rf conftest* | 5449 rm -rf conftest* |
5449 eval "ac_cv_lib_$ac_lib_var=yes" | 5450 eval "ac_cv_lib_$ac_lib_var=yes" |
5450 else | 5451 else |
5451 echo "configure: failed program was:" >&5 | 5452 echo "configure: failed program was:" >&5 |
5452 cat conftest.$ac_ext >&5 | 5453 cat conftest.$ac_ext >&5 |
5465 | 5466 |
5466 | 5467 |
5467 | 5468 |
5468 | 5469 |
5469 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5470 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5470 echo "configure:5471: checking for XtOpenDisplay in -lXt" >&5 | 5471 echo "configure:5472: checking for XtOpenDisplay in -lXt" >&5 |
5471 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5472 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5472 | 5473 |
5473 xe_check_libs=" -lXt " | 5474 xe_check_libs=" -lXt " |
5474 cat > conftest.$ac_ext <<EOF | 5475 cat > conftest.$ac_ext <<EOF |
5475 #line 5476 "configure" | 5476 #line 5477 "configure" |
5476 #include "confdefs.h" | 5477 #include "confdefs.h" |
5477 /* Override any gcc2 internal prototype to avoid an error. */ | 5478 /* Override any gcc2 internal prototype to avoid an error. */ |
5478 /* We use char because int might match the return type of a gcc2 | 5479 /* We use char because int might match the return type of a gcc2 |
5479 builtin and then its argument prototype would still apply. */ | 5480 builtin and then its argument prototype would still apply. */ |
5480 char XtOpenDisplay(); | 5481 char XtOpenDisplay(); |
5481 | 5482 |
5482 int main() { | 5483 int main() { |
5483 XtOpenDisplay() | 5484 XtOpenDisplay() |
5484 ; return 0; } | 5485 ; return 0; } |
5485 EOF | 5486 EOF |
5486 if { (eval echo configure:5487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5487 if { (eval echo configure:5488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5487 rm -rf conftest* | 5488 rm -rf conftest* |
5488 eval "ac_cv_lib_$ac_lib_var=yes" | 5489 eval "ac_cv_lib_$ac_lib_var=yes" |
5489 else | 5490 else |
5490 echo "configure: failed program was:" >&5 | 5491 echo "configure: failed program was:" >&5 |
5491 cat conftest.$ac_ext >&5 | 5492 cat conftest.$ac_ext >&5 |
5504 fi | 5505 fi |
5505 | 5506 |
5506 | 5507 |
5507 | 5508 |
5508 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5509 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5509 echo "configure:5510: checking the version of X11 being used" >&5 | 5510 echo "configure:5511: checking the version of X11 being used" >&5 |
5510 cat > conftest.$ac_ext <<EOF | 5511 cat > conftest.$ac_ext <<EOF |
5511 #line 5512 "configure" | 5512 #line 5513 "configure" |
5512 #include "confdefs.h" | 5513 #include "confdefs.h" |
5513 #include <X11/Intrinsic.h> | 5514 #include <X11/Intrinsic.h> |
5514 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5515 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5515 EOF | 5516 EOF |
5516 if { (eval echo configure:5517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5517 if { (eval echo configure:5518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5517 then | 5518 then |
5518 ./conftest foobar; x11_release=$? | 5519 ./conftest foobar; x11_release=$? |
5519 else | 5520 else |
5520 echo "configure: failed program was:" >&5 | 5521 echo "configure: failed program was:" >&5 |
5521 cat conftest.$ac_ext >&5 | 5522 cat conftest.$ac_ext >&5 |
5535 | 5536 |
5536 for ac_hdr in X11/Xlocale.h | 5537 for ac_hdr in X11/Xlocale.h |
5537 do | 5538 do |
5538 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5539 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5539 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5540 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5540 echo "configure:5541: checking for $ac_hdr" >&5 | 5541 echo "configure:5542: checking for $ac_hdr" >&5 |
5541 | 5542 |
5542 cat > conftest.$ac_ext <<EOF | 5543 cat > conftest.$ac_ext <<EOF |
5543 #line 5544 "configure" | 5544 #line 5545 "configure" |
5544 #include "confdefs.h" | 5545 #include "confdefs.h" |
5545 #include <$ac_hdr> | 5546 #include <$ac_hdr> |
5546 EOF | 5547 EOF |
5547 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5548 { (eval echo configure:5549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5549 { (eval echo configure:5550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5549 ac_err=`grep -v '^ *+' conftest.out` | 5550 ac_err=`grep -v '^ *+' conftest.out` |
5550 if test -z "$ac_err"; then | 5551 if test -z "$ac_err"; then |
5551 rm -rf conftest* | 5552 rm -rf conftest* |
5552 eval "ac_cv_header_$ac_safe=yes" | 5553 eval "ac_cv_header_$ac_safe=yes" |
5553 else | 5554 else |
5574 fi | 5575 fi |
5575 done | 5576 done |
5576 | 5577 |
5577 | 5578 |
5578 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5579 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5579 echo "configure:5580: checking for XFree86" >&5 | 5580 echo "configure:5581: checking for XFree86" >&5 |
5580 if test -d "/usr/X386/include" -o \ | 5581 if test -d "/usr/X386/include" -o \ |
5581 -f "/etc/XF86Config" -o \ | 5582 -f "/etc/XF86Config" -o \ |
5582 -f "/etc/X11/XF86Config" -o \ | 5583 -f "/etc/X11/XF86Config" -o \ |
5583 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5584 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5584 echo "$ac_t""yes" 1>&6 | 5585 echo "$ac_t""yes" 1>&6 |
5594 echo "$ac_t""no" 1>&6 | 5595 echo "$ac_t""no" 1>&6 |
5595 fi | 5596 fi |
5596 | 5597 |
5597 test -z "$with_xmu" && { | 5598 test -z "$with_xmu" && { |
5598 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5599 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5599 echo "configure:5600: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5600 echo "configure:5601: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5600 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5601 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5601 | 5602 |
5602 xe_check_libs=" -lXmu " | 5603 xe_check_libs=" -lXmu " |
5603 cat > conftest.$ac_ext <<EOF | 5604 cat > conftest.$ac_ext <<EOF |
5604 #line 5605 "configure" | 5605 #line 5606 "configure" |
5605 #include "confdefs.h" | 5606 #include "confdefs.h" |
5606 /* Override any gcc2 internal prototype to avoid an error. */ | 5607 /* Override any gcc2 internal prototype to avoid an error. */ |
5607 /* We use char because int might match the return type of a gcc2 | 5608 /* We use char because int might match the return type of a gcc2 |
5608 builtin and then its argument prototype would still apply. */ | 5609 builtin and then its argument prototype would still apply. */ |
5609 char XmuReadBitmapDataFromFile(); | 5610 char XmuReadBitmapDataFromFile(); |
5610 | 5611 |
5611 int main() { | 5612 int main() { |
5612 XmuReadBitmapDataFromFile() | 5613 XmuReadBitmapDataFromFile() |
5613 ; return 0; } | 5614 ; return 0; } |
5614 EOF | 5615 EOF |
5615 if { (eval echo configure:5616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5616 if { (eval echo configure:5617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5616 rm -rf conftest* | 5617 rm -rf conftest* |
5617 eval "ac_cv_lib_$ac_lib_var=yes" | 5618 eval "ac_cv_lib_$ac_lib_var=yes" |
5618 else | 5619 else |
5619 echo "configure: failed program was:" >&5 | 5620 echo "configure: failed program was:" >&5 |
5620 cat conftest.$ac_ext >&5 | 5621 cat conftest.$ac_ext >&5 |
5649 | 5650 |
5650 fi | 5651 fi |
5651 | 5652 |
5652 | 5653 |
5653 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5654 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5654 echo "configure:5655: checking for main in -lXbsd" >&5 | 5655 echo "configure:5656: checking for main in -lXbsd" >&5 |
5655 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5656 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5656 | 5657 |
5657 xe_check_libs=" -lXbsd " | 5658 xe_check_libs=" -lXbsd " |
5658 cat > conftest.$ac_ext <<EOF | 5659 cat > conftest.$ac_ext <<EOF |
5659 #line 5660 "configure" | 5660 #line 5661 "configure" |
5660 #include "confdefs.h" | 5661 #include "confdefs.h" |
5661 | 5662 |
5662 int main() { | 5663 int main() { |
5663 main() | 5664 main() |
5664 ; return 0; } | 5665 ; return 0; } |
5665 EOF | 5666 EOF |
5666 if { (eval echo configure:5667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5667 if { (eval echo configure:5668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5667 rm -rf conftest* | 5668 rm -rf conftest* |
5668 eval "ac_cv_lib_$ac_lib_var=yes" | 5669 eval "ac_cv_lib_$ac_lib_var=yes" |
5669 else | 5670 else |
5670 echo "configure: failed program was:" >&5 | 5671 echo "configure: failed program was:" >&5 |
5671 cat conftest.$ac_ext >&5 | 5672 cat conftest.$ac_ext >&5 |
5698 fi | 5699 fi |
5699 | 5700 |
5700 fi | 5701 fi |
5701 if test "$with_msw" != "no"; then | 5702 if test "$with_msw" != "no"; then |
5702 echo "checking for MS-Windows" 1>&6 | 5703 echo "checking for MS-Windows" 1>&6 |
5703 echo "configure:5704: checking for MS-Windows" >&5 | 5704 echo "configure:5705: checking for MS-Windows" >&5 |
5704 | 5705 |
5705 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5706 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
5706 echo "configure:5707: checking for main in -lgdi32" >&5 | 5707 echo "configure:5708: checking for main in -lgdi32" >&5 |
5707 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5708 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
5708 | 5709 |
5709 xe_check_libs=" -lgdi32 " | 5710 xe_check_libs=" -lgdi32 " |
5710 cat > conftest.$ac_ext <<EOF | 5711 cat > conftest.$ac_ext <<EOF |
5711 #line 5712 "configure" | 5712 #line 5713 "configure" |
5712 #include "confdefs.h" | 5713 #include "confdefs.h" |
5713 | 5714 |
5714 int main() { | 5715 int main() { |
5715 main() | 5716 main() |
5716 ; return 0; } | 5717 ; return 0; } |
5717 EOF | 5718 EOF |
5718 if { (eval echo configure:5719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5719 if { (eval echo configure:5720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5719 rm -rf conftest* | 5720 rm -rf conftest* |
5720 eval "ac_cv_lib_$ac_lib_var=yes" | 5721 eval "ac_cv_lib_$ac_lib_var=yes" |
5721 else | 5722 else |
5722 echo "configure: failed program was:" >&5 | 5723 echo "configure: failed program was:" >&5 |
5723 cat conftest.$ac_ext >&5 | 5724 cat conftest.$ac_ext >&5 |
5771 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then | 5772 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then |
5772 echo " xemacs will be linked with \"toolbar-msw.o\"" | 5773 echo " xemacs will be linked with \"toolbar-msw.o\"" |
5773 fi | 5774 fi |
5774 fi | 5775 fi |
5775 cat > conftest.$ac_ext <<EOF | 5776 cat > conftest.$ac_ext <<EOF |
5776 #line 5777 "configure" | 5777 #line 5778 "configure" |
5777 #include "confdefs.h" | 5778 #include "confdefs.h" |
5778 #include <fcntl.h> | 5779 #include <fcntl.h> |
5779 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 5780 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
5780 EOF | 5781 EOF |
5781 if { (eval echo configure:5782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5782 if { (eval echo configure:5783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5782 then | 5783 then |
5783 { test "$extra_verbose" = "yes" && cat << \EOF | 5784 { test "$extra_verbose" = "yes" && cat << \EOF |
5784 Defining HAVE_MSG_SELECT | 5785 Defining HAVE_MSG_SELECT |
5785 EOF | 5786 EOF |
5786 cat >> confdefs.h <<\EOF | 5787 cat >> confdefs.h <<\EOF |
5806 | 5807 |
5807 | 5808 |
5808 test -z "$window_system" && window_system="none" | 5809 test -z "$window_system" && window_system="none" |
5809 | 5810 |
5810 if test "$window_system" = "none"; then | 5811 if test "$window_system" = "none"; then |
5811 for feature in menubars scrollbars toolbars dialogs | 5812 for feature in menubars scrollbars toolbars dialogs dragndrop |
5812 do | 5813 do |
5813 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 5814 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
5814 echo "configure: warning: --with-$feature ignored: Not valid without window system support" 1>&2 | 5815 echo "configure: warning: --with-$feature ignored: Not valid without window system support" 1>&2 |
5815 fi | 5816 fi |
5816 eval "with_${feature}=no" | 5817 eval "with_${feature}=no" |
5854 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5855 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5855 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5856 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5856 esac | 5857 esac |
5857 | 5858 |
5858 echo "checking for session-management option" 1>&6 | 5859 echo "checking for session-management option" 1>&6 |
5859 echo "configure:5860: checking for session-management option" >&5; | 5860 echo "configure:5861: checking for session-management option" >&5; |
5860 if test "$with_session" != "no"; then | 5861 if test "$with_session" != "no"; then |
5861 { test "$extra_verbose" = "yes" && cat << \EOF | 5862 { test "$extra_verbose" = "yes" && cat << \EOF |
5862 Defining HAVE_SESSION | 5863 Defining HAVE_SESSION |
5863 EOF | 5864 EOF |
5864 cat >> confdefs.h <<\EOF | 5865 cat >> confdefs.h <<\EOF |
5869 fi | 5870 fi |
5870 | 5871 |
5871 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5872 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5872 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5873 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5873 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5874 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5874 echo "configure:5875: checking for X11/Xauth.h" >&5 | 5875 echo "configure:5876: checking for X11/Xauth.h" >&5 |
5875 | 5876 |
5876 cat > conftest.$ac_ext <<EOF | 5877 cat > conftest.$ac_ext <<EOF |
5877 #line 5878 "configure" | 5878 #line 5879 "configure" |
5878 #include "confdefs.h" | 5879 #include "confdefs.h" |
5879 #include <X11/Xauth.h> | 5880 #include <X11/Xauth.h> |
5880 EOF | 5881 EOF |
5881 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5882 { (eval echo configure:5883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5883 { (eval echo configure:5884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5883 ac_err=`grep -v '^ *+' conftest.out` | 5884 ac_err=`grep -v '^ *+' conftest.out` |
5884 if test -z "$ac_err"; then | 5885 if test -z "$ac_err"; then |
5885 rm -rf conftest* | 5886 rm -rf conftest* |
5886 eval "ac_cv_header_$ac_safe=yes" | 5887 eval "ac_cv_header_$ac_safe=yes" |
5887 else | 5888 else |
5900 with_xauth=no | 5901 with_xauth=no |
5901 fi | 5902 fi |
5902 } | 5903 } |
5903 test -z "$with_xauth" && { | 5904 test -z "$with_xauth" && { |
5904 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5905 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
5905 echo "configure:5906: checking for XauGetAuthByAddr in -lXau" >&5 | 5906 echo "configure:5907: checking for XauGetAuthByAddr in -lXau" >&5 |
5906 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5907 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
5907 | 5908 |
5908 xe_check_libs=" -lXau " | 5909 xe_check_libs=" -lXau " |
5909 cat > conftest.$ac_ext <<EOF | 5910 cat > conftest.$ac_ext <<EOF |
5910 #line 5911 "configure" | 5911 #line 5912 "configure" |
5911 #include "confdefs.h" | 5912 #include "confdefs.h" |
5912 /* Override any gcc2 internal prototype to avoid an error. */ | 5913 /* Override any gcc2 internal prototype to avoid an error. */ |
5913 /* We use char because int might match the return type of a gcc2 | 5914 /* We use char because int might match the return type of a gcc2 |
5914 builtin and then its argument prototype would still apply. */ | 5915 builtin and then its argument prototype would still apply. */ |
5915 char XauGetAuthByAddr(); | 5916 char XauGetAuthByAddr(); |
5916 | 5917 |
5917 int main() { | 5918 int main() { |
5918 XauGetAuthByAddr() | 5919 XauGetAuthByAddr() |
5919 ; return 0; } | 5920 ; return 0; } |
5920 EOF | 5921 EOF |
5921 if { (eval echo configure:5922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5922 if { (eval echo configure:5923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5922 rm -rf conftest* | 5923 rm -rf conftest* |
5923 eval "ac_cv_lib_$ac_lib_var=yes" | 5924 eval "ac_cv_lib_$ac_lib_var=yes" |
5924 else | 5925 else |
5925 echo "configure: failed program was:" >&5 | 5926 echo "configure: failed program was:" >&5 |
5926 cat conftest.$ac_ext >&5 | 5927 cat conftest.$ac_ext >&5 |
5960 test "$window_system" != "x11" && with_offix=no | 5961 test "$window_system" != "x11" && with_offix=no |
5961 if test "$with_xmu" != yes -a "$with_x11" = yes; then | 5962 if test "$with_xmu" != yes -a "$with_x11" = yes; then |
5962 echo "configure: warning: No OffiX without real Xmu support" 1>&2 | 5963 echo "configure: warning: No OffiX without real Xmu support" 1>&2 |
5963 with_offix=no | 5964 with_offix=no |
5964 fi | 5965 fi |
5966 if test "$with_dragndrop" = no; then | |
5967 echo "configure: warning: No OffiX without generic Drag'n'Drop support" 1>&2 | |
5968 with_offix=no | |
5969 fi | |
5965 test -z "$with_offix" && with_offix=yes | 5970 test -z "$with_offix" && with_offix=yes |
5966 if test "$with_offix" = "yes"; then | 5971 if test "$with_offix" = "yes"; then |
5967 { test "$extra_verbose" = "yes" && cat << \EOF | 5972 { test "$extra_verbose" = "yes" && cat << \EOF |
5968 Defining HAVE_OFFIX_DND | 5973 Defining HAVE_OFFIX_DND |
5969 EOF | 5974 EOF |
5971 #define HAVE_OFFIX_DND 1 | 5976 #define HAVE_OFFIX_DND 1 |
5972 EOF | 5977 EOF |
5973 } | 5978 } |
5974 | 5979 |
5975 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 5980 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
5981 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | |
5976 fi | 5982 fi |
5977 | 5983 |
5978 | 5984 |
5979 | 5985 |
5980 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5986 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
5981 if test "$with_tooltalk" != "no" ; then | 5987 if test "$with_tooltalk" != "no" ; then |
5982 for dir in "" "Tt/" "desktop/" ; do | 5988 for dir in "" "Tt/" "desktop/" ; do |
5983 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5989 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
5984 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5990 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
5985 echo "configure:5986: checking for ${dir}tt_c.h" >&5 | 5991 echo "configure:5992: checking for ${dir}tt_c.h" >&5 |
5986 | 5992 |
5987 cat > conftest.$ac_ext <<EOF | 5993 cat > conftest.$ac_ext <<EOF |
5988 #line 5989 "configure" | 5994 #line 5995 "configure" |
5989 #include "confdefs.h" | 5995 #include "confdefs.h" |
5990 #include <${dir}tt_c.h> | 5996 #include <${dir}tt_c.h> |
5991 EOF | 5997 EOF |
5992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5993 { (eval echo configure:5994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5999 { (eval echo configure:6000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5994 ac_err=`grep -v '^ *+' conftest.out` | 6000 ac_err=`grep -v '^ *+' conftest.out` |
5995 if test -z "$ac_err"; then | 6001 if test -z "$ac_err"; then |
5996 rm -rf conftest* | 6002 rm -rf conftest* |
5997 eval "ac_cv_header_$ac_safe=yes" | 6003 eval "ac_cv_header_$ac_safe=yes" |
5998 else | 6004 else |
6017 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6023 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6018 | 6024 |
6019 xe_msg_checking="for tt_message_create in -ltt" | 6025 xe_msg_checking="for tt_message_create in -ltt" |
6020 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6026 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6021 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6027 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6022 echo "configure:6023: checking "$xe_msg_checking"" >&5 | 6028 echo "configure:6029: checking "$xe_msg_checking"" >&5 |
6023 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6029 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6024 | 6030 |
6025 xe_check_libs=" -ltt $extra_libs" | 6031 xe_check_libs=" -ltt $extra_libs" |
6026 cat > conftest.$ac_ext <<EOF | 6032 cat > conftest.$ac_ext <<EOF |
6027 #line 6028 "configure" | 6033 #line 6034 "configure" |
6028 #include "confdefs.h" | 6034 #include "confdefs.h" |
6029 /* Override any gcc2 internal prototype to avoid an error. */ | 6035 /* Override any gcc2 internal prototype to avoid an error. */ |
6030 /* We use char because int might match the return type of a gcc2 | 6036 /* We use char because int might match the return type of a gcc2 |
6031 builtin and then its argument prototype would still apply. */ | 6037 builtin and then its argument prototype would still apply. */ |
6032 char tt_message_create(); | 6038 char tt_message_create(); |
6033 | 6039 |
6034 int main() { | 6040 int main() { |
6035 tt_message_create() | 6041 tt_message_create() |
6036 ; return 0; } | 6042 ; return 0; } |
6037 EOF | 6043 EOF |
6038 if { (eval echo configure:6039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6044 if { (eval echo configure:6045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6039 rm -rf conftest* | 6045 rm -rf conftest* |
6040 eval "ac_cv_lib_$ac_lib_var=yes" | 6046 eval "ac_cv_lib_$ac_lib_var=yes" |
6041 else | 6047 else |
6042 echo "configure: failed program was:" >&5 | 6048 echo "configure: failed program was:" >&5 |
6043 cat conftest.$ac_ext >&5 | 6049 cat conftest.$ac_ext >&5 |
6082 fi | 6088 fi |
6083 fi | 6089 fi |
6084 | 6090 |
6085 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6091 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6086 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6092 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6087 echo "configure:6088: checking for Dt/Dt.h" >&5 | 6093 echo "configure:6094: checking for Dt/Dt.h" >&5 |
6088 | 6094 |
6089 cat > conftest.$ac_ext <<EOF | 6095 cat > conftest.$ac_ext <<EOF |
6090 #line 6091 "configure" | 6096 #line 6097 "configure" |
6091 #include "confdefs.h" | 6097 #include "confdefs.h" |
6092 #include <Dt/Dt.h> | 6098 #include <Dt/Dt.h> |
6093 EOF | 6099 EOF |
6094 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6100 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6095 { (eval echo configure:6096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6101 { (eval echo configure:6102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6096 ac_err=`grep -v '^ *+' conftest.out` | 6102 ac_err=`grep -v '^ *+' conftest.out` |
6097 if test -z "$ac_err"; then | 6103 if test -z "$ac_err"; then |
6098 rm -rf conftest* | 6104 rm -rf conftest* |
6099 eval "ac_cv_header_$ac_safe=yes" | 6105 eval "ac_cv_header_$ac_safe=yes" |
6100 else | 6106 else |
6113 with_cde=no | 6119 with_cde=no |
6114 fi | 6120 fi |
6115 } | 6121 } |
6116 test -z "$with_cde" && { | 6122 test -z "$with_cde" && { |
6117 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6123 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6118 echo "configure:6119: checking for DtDndDragStart in -lDtSvc" >&5 | 6124 echo "configure:6125: checking for DtDndDragStart in -lDtSvc" >&5 |
6119 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6125 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6120 | 6126 |
6121 xe_check_libs=" -lDtSvc " | 6127 xe_check_libs=" -lDtSvc " |
6122 cat > conftest.$ac_ext <<EOF | 6128 cat > conftest.$ac_ext <<EOF |
6123 #line 6124 "configure" | 6129 #line 6130 "configure" |
6124 #include "confdefs.h" | 6130 #include "confdefs.h" |
6125 /* Override any gcc2 internal prototype to avoid an error. */ | 6131 /* Override any gcc2 internal prototype to avoid an error. */ |
6126 /* We use char because int might match the return type of a gcc2 | 6132 /* We use char because int might match the return type of a gcc2 |
6127 builtin and then its argument prototype would still apply. */ | 6133 builtin and then its argument prototype would still apply. */ |
6128 char DtDndDragStart(); | 6134 char DtDndDragStart(); |
6129 | 6135 |
6130 int main() { | 6136 int main() { |
6131 DtDndDragStart() | 6137 DtDndDragStart() |
6132 ; return 0; } | 6138 ; return 0; } |
6133 EOF | 6139 EOF |
6134 if { (eval echo configure:6135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6140 if { (eval echo configure:6141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6135 rm -rf conftest* | 6141 rm -rf conftest* |
6136 eval "ac_cv_lib_$ac_lib_var=yes" | 6142 eval "ac_cv_lib_$ac_lib_var=yes" |
6137 else | 6143 else |
6138 echo "configure: failed program was:" >&5 | 6144 echo "configure: failed program was:" >&5 |
6139 cat conftest.$ac_ext >&5 | 6145 cat conftest.$ac_ext >&5 |
6151 with_cde=no | 6157 with_cde=no |
6152 fi | 6158 fi |
6153 | 6159 |
6154 } | 6160 } |
6155 test -z "$with_cde" && with_cde=yes | 6161 test -z "$with_cde" && with_cde=yes |
6162 if test "$with_dragndrop" = no; then | |
6163 echo "configure: warning: No CDE without generic Drag'n'Drop support" 1>&2 | |
6164 with_cde=no | |
6165 fi | |
6156 if test "$with_cde" = "yes" ; then | 6166 if test "$with_cde" = "yes" ; then |
6157 { test "$extra_verbose" = "yes" && cat << \EOF | 6167 { test "$extra_verbose" = "yes" && cat << \EOF |
6158 Defining HAVE_CDE | 6168 Defining HAVE_CDE |
6159 EOF | 6169 EOF |
6160 cat >> confdefs.h <<\EOF | 6170 cat >> confdefs.h <<\EOF |
6161 #define HAVE_CDE 1 | 6171 #define HAVE_CDE 1 |
6162 EOF | 6172 EOF |
6163 } | 6173 } |
6164 | 6174 |
6165 libs_x="-lDtSvc $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lDtSvc\" to \$libs_x"; fi | 6175 libs_x="-lDtSvc $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lDtSvc\" to \$libs_x"; fi |
6176 dragndrop_proto="$dragndrop_proto CDE" && if test "$extra_verbose" = "yes"; then echo " Appending \"CDE\" to \$dragndrop_proto"; fi | |
6166 with_tooltalk=yes # CDE requires Tooltalk | 6177 with_tooltalk=yes # CDE requires Tooltalk |
6167 need_motif=yes # CDE requires Motif | 6178 need_motif=yes # CDE requires Motif |
6168 fi | 6179 fi |
6169 | 6180 |
6181 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | |
6182 echo "configure:6183: checking if drag and drop API is needed" >&5 | |
6183 if test "$with_dragndrop" != "no" ; then | |
6184 if test -n "$dragndrop_proto" ; then | |
6185 with_dragndrop=yes | |
6186 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | |
6187 { test "$extra_verbose" = "yes" && cat << \EOF | |
6188 Defining HAVE_DRAGNDROP | |
6189 EOF | |
6190 cat >> confdefs.h <<\EOF | |
6191 #define HAVE_DRAGNDROP 1 | |
6192 EOF | |
6193 } | |
6194 | |
6195 extra_objs="$extra_objs dragdrop.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"dragdrop.o\" to \$extra_objs"; fi | |
6196 else | |
6197 with_dragndrop=no | |
6198 echo "$ac_t""no" 1>&6 | |
6199 fi | |
6200 fi | |
6201 | |
6170 echo "checking for LDAP" 1>&6 | 6202 echo "checking for LDAP" 1>&6 |
6171 echo "configure:6172: checking for LDAP" >&5 | 6203 echo "configure:6204: checking for LDAP" >&5 |
6172 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6204 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6173 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6205 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6174 echo "configure:6175: checking for ldap.h" >&5 | 6206 echo "configure:6207: checking for ldap.h" >&5 |
6175 | 6207 |
6176 cat > conftest.$ac_ext <<EOF | 6208 cat > conftest.$ac_ext <<EOF |
6177 #line 6178 "configure" | 6209 #line 6210 "configure" |
6178 #include "confdefs.h" | 6210 #include "confdefs.h" |
6179 #include <ldap.h> | 6211 #include <ldap.h> |
6180 EOF | 6212 EOF |
6181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6182 { (eval echo configure:6183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6214 { (eval echo configure:6215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6183 ac_err=`grep -v '^ *+' conftest.out` | 6215 ac_err=`grep -v '^ *+' conftest.out` |
6184 if test -z "$ac_err"; then | 6216 if test -z "$ac_err"; then |
6185 rm -rf conftest* | 6217 rm -rf conftest* |
6186 eval "ac_cv_header_$ac_safe=yes" | 6218 eval "ac_cv_header_$ac_safe=yes" |
6187 else | 6219 else |
6200 with_ldap=no | 6232 with_ldap=no |
6201 fi | 6233 fi |
6202 } | 6234 } |
6203 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6235 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6204 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6236 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6205 echo "configure:6206: checking for lber.h" >&5 | 6237 echo "configure:6238: checking for lber.h" >&5 |
6206 | 6238 |
6207 cat > conftest.$ac_ext <<EOF | 6239 cat > conftest.$ac_ext <<EOF |
6208 #line 6209 "configure" | 6240 #line 6241 "configure" |
6209 #include "confdefs.h" | 6241 #include "confdefs.h" |
6210 #include <lber.h> | 6242 #include <lber.h> |
6211 EOF | 6243 EOF |
6212 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6244 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6213 { (eval echo configure:6214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6245 { (eval echo configure:6246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6214 ac_err=`grep -v '^ *+' conftest.out` | 6246 ac_err=`grep -v '^ *+' conftest.out` |
6215 if test -z "$ac_err"; then | 6247 if test -z "$ac_err"; then |
6216 rm -rf conftest* | 6248 rm -rf conftest* |
6217 eval "ac_cv_header_$ac_safe=yes" | 6249 eval "ac_cv_header_$ac_safe=yes" |
6218 else | 6250 else |
6234 if test "$with_ldap" != "no"; then | 6266 if test "$with_ldap" != "no"; then |
6235 test -z "$with_umich_ldap" && { | 6267 test -z "$with_umich_ldap" && { |
6236 xe_msg_checking="for ldap_open in -lldap" | 6268 xe_msg_checking="for ldap_open in -lldap" |
6237 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6269 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6238 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6270 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6239 echo "configure:6240: checking "$xe_msg_checking"" >&5 | 6271 echo "configure:6272: checking "$xe_msg_checking"" >&5 |
6240 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6272 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6241 | 6273 |
6242 xe_check_libs=" -lldap -llber" | 6274 xe_check_libs=" -lldap -llber" |
6243 cat > conftest.$ac_ext <<EOF | 6275 cat > conftest.$ac_ext <<EOF |
6244 #line 6245 "configure" | 6276 #line 6277 "configure" |
6245 #include "confdefs.h" | 6277 #include "confdefs.h" |
6246 /* Override any gcc2 internal prototype to avoid an error. */ | 6278 /* Override any gcc2 internal prototype to avoid an error. */ |
6247 /* We use char because int might match the return type of a gcc2 | 6279 /* We use char because int might match the return type of a gcc2 |
6248 builtin and then its argument prototype would still apply. */ | 6280 builtin and then its argument prototype would still apply. */ |
6249 char ldap_open(); | 6281 char ldap_open(); |
6250 | 6282 |
6251 int main() { | 6283 int main() { |
6252 ldap_open() | 6284 ldap_open() |
6253 ; return 0; } | 6285 ; return 0; } |
6254 EOF | 6286 EOF |
6255 if { (eval echo configure:6256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6287 if { (eval echo configure:6288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6256 rm -rf conftest* | 6288 rm -rf conftest* |
6257 eval "ac_cv_lib_$ac_lib_var=yes" | 6289 eval "ac_cv_lib_$ac_lib_var=yes" |
6258 else | 6290 else |
6259 echo "configure: failed program was:" >&5 | 6291 echo "configure: failed program was:" >&5 |
6260 cat conftest.$ac_ext >&5 | 6292 cat conftest.$ac_ext >&5 |
6273 fi | 6305 fi |
6274 | 6306 |
6275 } | 6307 } |
6276 test "$with_umich_ldap" = "no" && { | 6308 test "$with_umich_ldap" = "no" && { |
6277 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6309 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
6278 echo "configure:6279: checking for ldap_set_option in -lldap10" >&5 | 6310 echo "configure:6311: checking for ldap_set_option in -lldap10" >&5 |
6279 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6311 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
6280 | 6312 |
6281 xe_check_libs=" -lldap10 " | 6313 xe_check_libs=" -lldap10 " |
6282 cat > conftest.$ac_ext <<EOF | 6314 cat > conftest.$ac_ext <<EOF |
6283 #line 6284 "configure" | 6315 #line 6316 "configure" |
6284 #include "confdefs.h" | 6316 #include "confdefs.h" |
6285 /* Override any gcc2 internal prototype to avoid an error. */ | 6317 /* Override any gcc2 internal prototype to avoid an error. */ |
6286 /* We use char because int might match the return type of a gcc2 | 6318 /* We use char because int might match the return type of a gcc2 |
6287 builtin and then its argument prototype would still apply. */ | 6319 builtin and then its argument prototype would still apply. */ |
6288 char ldap_set_option(); | 6320 char ldap_set_option(); |
6289 | 6321 |
6290 int main() { | 6322 int main() { |
6291 ldap_set_option() | 6323 ldap_set_option() |
6292 ; return 0; } | 6324 ; return 0; } |
6293 EOF | 6325 EOF |
6294 if { (eval echo configure:6295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6326 if { (eval echo configure:6327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6295 rm -rf conftest* | 6327 rm -rf conftest* |
6296 eval "ac_cv_lib_$ac_lib_var=yes" | 6328 eval "ac_cv_lib_$ac_lib_var=yes" |
6297 else | 6329 else |
6298 echo "configure: failed program was:" >&5 | 6330 echo "configure: failed program was:" >&5 |
6299 cat conftest.$ac_ext >&5 | 6331 cat conftest.$ac_ext >&5 |
6353 fi | 6385 fi |
6354 | 6386 |
6355 | 6387 |
6356 if test "$window_system" != "none"; then | 6388 if test "$window_system" != "none"; then |
6357 echo "checking for graphics libraries" 1>&6 | 6389 echo "checking for graphics libraries" 1>&6 |
6358 echo "configure:6359: checking for graphics libraries" >&5 | 6390 echo "configure:6391: checking for graphics libraries" >&5 |
6359 | 6391 |
6360 if test -z "$with_xpm"; then | 6392 if test -z "$with_xpm"; then |
6361 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6393 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6362 echo "configure:6363: checking for Xpm - no older than 3.4f" >&5 | 6394 echo "configure:6395: checking for Xpm - no older than 3.4f" >&5 |
6363 xe_check_libs=-lXpm | 6395 xe_check_libs=-lXpm |
6364 cat > conftest.$ac_ext <<EOF | 6396 cat > conftest.$ac_ext <<EOF |
6365 #line 6366 "configure" | 6397 #line 6398 "configure" |
6366 #include "confdefs.h" | 6398 #include "confdefs.h" |
6367 #include <X11/xpm.h> | 6399 #include <X11/xpm.h> |
6368 int main(int c, char **v) { | 6400 int main(int c, char **v) { |
6369 return c == 1 ? 0 : | 6401 return c == 1 ? 0 : |
6370 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6402 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6371 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6403 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6372 EOF | 6404 EOF |
6373 if { (eval echo configure:6374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6405 if { (eval echo configure:6406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
6374 then | 6406 then |
6375 ./conftest dummy_arg; xpm_status=$?; | 6407 ./conftest dummy_arg; xpm_status=$?; |
6376 if test "$?" = "0"; then | 6408 if test "$?" = "0"; then |
6377 with_xpm=yes; | 6409 with_xpm=yes; |
6378 else | 6410 else |
6409 EOF | 6441 EOF |
6410 } | 6442 } |
6411 | 6443 |
6412 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6444 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6413 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6445 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
6414 echo "configure:6415: checking for \"FOR_MSW\" xpm" >&5 | 6446 echo "configure:6447: checking for \"FOR_MSW\" xpm" >&5 |
6415 xe_check_libs=-lXpm | 6447 xe_check_libs=-lXpm |
6416 cat > conftest.$ac_ext <<EOF | 6448 cat > conftest.$ac_ext <<EOF |
6417 #line 6418 "configure" | 6449 #line 6450 "configure" |
6418 #include "confdefs.h" | 6450 #include "confdefs.h" |
6419 | 6451 |
6420 int main() { | 6452 int main() { |
6421 XpmCreatePixmapFromData() | 6453 XpmCreatePixmapFromData() |
6422 ; return 0; } | 6454 ; return 0; } |
6423 EOF | 6455 EOF |
6424 if { (eval echo configure:6425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6456 if { (eval echo configure:6457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6425 rm -rf conftest* | 6457 rm -rf conftest* |
6426 xpm_for_msw=no | 6458 xpm_for_msw=no |
6427 else | 6459 else |
6428 echo "configure: failed program was:" >&5 | 6460 echo "configure: failed program was:" >&5 |
6429 cat conftest.$ac_ext >&5 | 6461 cat conftest.$ac_ext >&5 |
6446 fi | 6478 fi |
6447 | 6479 |
6448 if test "$with_png $with_tiff" != "no no"; then | 6480 if test "$with_png $with_tiff" != "no no"; then |
6449 | 6481 |
6450 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6482 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
6451 echo "configure:6452: checking for inflate in -lc" >&5 | 6483 echo "configure:6484: checking for inflate in -lc" >&5 |
6452 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6484 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
6453 | 6485 |
6454 xe_check_libs=" -lc " | 6486 xe_check_libs=" -lc " |
6455 cat > conftest.$ac_ext <<EOF | 6487 cat > conftest.$ac_ext <<EOF |
6456 #line 6457 "configure" | 6488 #line 6489 "configure" |
6457 #include "confdefs.h" | 6489 #include "confdefs.h" |
6458 /* Override any gcc2 internal prototype to avoid an error. */ | 6490 /* Override any gcc2 internal prototype to avoid an error. */ |
6459 /* We use char because int might match the return type of a gcc2 | 6491 /* We use char because int might match the return type of a gcc2 |
6460 builtin and then its argument prototype would still apply. */ | 6492 builtin and then its argument prototype would still apply. */ |
6461 char inflate(); | 6493 char inflate(); |
6462 | 6494 |
6463 int main() { | 6495 int main() { |
6464 inflate() | 6496 inflate() |
6465 ; return 0; } | 6497 ; return 0; } |
6466 EOF | 6498 EOF |
6467 if { (eval echo configure:6468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6499 if { (eval echo configure:6500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6468 rm -rf conftest* | 6500 rm -rf conftest* |
6469 eval "ac_cv_lib_$ac_lib_var=yes" | 6501 eval "ac_cv_lib_$ac_lib_var=yes" |
6470 else | 6502 else |
6471 echo "configure: failed program was:" >&5 | 6503 echo "configure: failed program was:" >&5 |
6472 cat conftest.$ac_ext >&5 | 6504 cat conftest.$ac_ext >&5 |
6481 : | 6513 : |
6482 else | 6514 else |
6483 echo "$ac_t""no" 1>&6 | 6515 echo "$ac_t""no" 1>&6 |
6484 | 6516 |
6485 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6517 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
6486 echo "configure:6487: checking for inflate in -lz" >&5 | 6518 echo "configure:6519: checking for inflate in -lz" >&5 |
6487 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6519 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
6488 | 6520 |
6489 xe_check_libs=" -lz " | 6521 xe_check_libs=" -lz " |
6490 cat > conftest.$ac_ext <<EOF | 6522 cat > conftest.$ac_ext <<EOF |
6491 #line 6492 "configure" | 6523 #line 6524 "configure" |
6492 #include "confdefs.h" | 6524 #include "confdefs.h" |
6493 /* Override any gcc2 internal prototype to avoid an error. */ | 6525 /* Override any gcc2 internal prototype to avoid an error. */ |
6494 /* We use char because int might match the return type of a gcc2 | 6526 /* We use char because int might match the return type of a gcc2 |
6495 builtin and then its argument prototype would still apply. */ | 6527 builtin and then its argument prototype would still apply. */ |
6496 char inflate(); | 6528 char inflate(); |
6497 | 6529 |
6498 int main() { | 6530 int main() { |
6499 inflate() | 6531 inflate() |
6500 ; return 0; } | 6532 ; return 0; } |
6501 EOF | 6533 EOF |
6502 if { (eval echo configure:6503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6534 if { (eval echo configure:6535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6503 rm -rf conftest* | 6535 rm -rf conftest* |
6504 eval "ac_cv_lib_$ac_lib_var=yes" | 6536 eval "ac_cv_lib_$ac_lib_var=yes" |
6505 else | 6537 else |
6506 echo "configure: failed program was:" >&5 | 6538 echo "configure: failed program was:" >&5 |
6507 cat conftest.$ac_ext >&5 | 6539 cat conftest.$ac_ext >&5 |
6516 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6548 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
6517 else | 6549 else |
6518 echo "$ac_t""no" 1>&6 | 6550 echo "$ac_t""no" 1>&6 |
6519 | 6551 |
6520 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6552 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
6521 echo "configure:6522: checking for inflate in -lgz" >&5 | 6553 echo "configure:6554: checking for inflate in -lgz" >&5 |
6522 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6554 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
6523 | 6555 |
6524 xe_check_libs=" -lgz " | 6556 xe_check_libs=" -lgz " |
6525 cat > conftest.$ac_ext <<EOF | 6557 cat > conftest.$ac_ext <<EOF |
6526 #line 6527 "configure" | 6558 #line 6559 "configure" |
6527 #include "confdefs.h" | 6559 #include "confdefs.h" |
6528 /* Override any gcc2 internal prototype to avoid an error. */ | 6560 /* Override any gcc2 internal prototype to avoid an error. */ |
6529 /* We use char because int might match the return type of a gcc2 | 6561 /* We use char because int might match the return type of a gcc2 |
6530 builtin and then its argument prototype would still apply. */ | 6562 builtin and then its argument prototype would still apply. */ |
6531 char inflate(); | 6563 char inflate(); |
6532 | 6564 |
6533 int main() { | 6565 int main() { |
6534 inflate() | 6566 inflate() |
6535 ; return 0; } | 6567 ; return 0; } |
6536 EOF | 6568 EOF |
6537 if { (eval echo configure:6538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6569 if { (eval echo configure:6570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6538 rm -rf conftest* | 6570 rm -rf conftest* |
6539 eval "ac_cv_lib_$ac_lib_var=yes" | 6571 eval "ac_cv_lib_$ac_lib_var=yes" |
6540 else | 6572 else |
6541 echo "configure: failed program was:" >&5 | 6573 echo "configure: failed program was:" >&5 |
6542 cat conftest.$ac_ext >&5 | 6574 cat conftest.$ac_ext >&5 |
6561 | 6593 |
6562 | 6594 |
6563 fi | 6595 fi |
6564 | 6596 |
6565 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 | 6597 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 |
6566 echo "configure:6567: checking for giflib - no older than 3.1" >&5 | 6598 echo "configure:6599: checking for giflib - no older than 3.1" >&5 |
6567 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 6599 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
6568 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 6600 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
6569 echo "configure:6570: checking for gif_lib.h" >&5 | 6601 echo "configure:6602: checking for gif_lib.h" >&5 |
6570 | 6602 |
6571 cat > conftest.$ac_ext <<EOF | 6603 cat > conftest.$ac_ext <<EOF |
6572 #line 6573 "configure" | 6604 #line 6605 "configure" |
6573 #include "confdefs.h" | 6605 #include "confdefs.h" |
6574 #include <gif_lib.h> | 6606 #include <gif_lib.h> |
6575 EOF | 6607 EOF |
6576 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6577 { (eval echo configure:6578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6609 { (eval echo configure:6610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6578 ac_err=`grep -v '^ *+' conftest.out` | 6610 ac_err=`grep -v '^ *+' conftest.out` |
6579 if test -z "$ac_err"; then | 6611 if test -z "$ac_err"; then |
6580 rm -rf conftest* | 6612 rm -rf conftest* |
6581 eval "ac_cv_header_$ac_safe=yes" | 6613 eval "ac_cv_header_$ac_safe=yes" |
6582 else | 6614 else |
6595 with_gif=no | 6627 with_gif=no |
6596 fi | 6628 fi |
6597 } | 6629 } |
6598 test -z "$with_gif" && { | 6630 test -z "$with_gif" && { |
6599 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 | 6631 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 |
6600 echo "configure:6601: checking for GetGifError in -lgif" >&5 | 6632 echo "configure:6633: checking for GetGifError in -lgif" >&5 |
6601 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` | 6633 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` |
6602 | 6634 |
6603 xe_check_libs=" -lgif " | 6635 xe_check_libs=" -lgif " |
6604 cat > conftest.$ac_ext <<EOF | 6636 cat > conftest.$ac_ext <<EOF |
6605 #line 6606 "configure" | 6637 #line 6638 "configure" |
6606 #include "confdefs.h" | 6638 #include "confdefs.h" |
6607 /* Override any gcc2 internal prototype to avoid an error. */ | 6639 /* Override any gcc2 internal prototype to avoid an error. */ |
6608 /* We use char because int might match the return type of a gcc2 | 6640 /* We use char because int might match the return type of a gcc2 |
6609 builtin and then its argument prototype would still apply. */ | 6641 builtin and then its argument prototype would still apply. */ |
6610 char GetGifError(); | 6642 char GetGifError(); |
6611 | 6643 |
6612 int main() { | 6644 int main() { |
6613 GetGifError() | 6645 GetGifError() |
6614 ; return 0; } | 6646 ; return 0; } |
6615 EOF | 6647 EOF |
6616 if { (eval echo configure:6617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6648 if { (eval echo configure:6649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6617 rm -rf conftest* | 6649 rm -rf conftest* |
6618 eval "ac_cv_lib_$ac_lib_var=yes" | 6650 eval "ac_cv_lib_$ac_lib_var=yes" |
6619 else | 6651 else |
6620 echo "configure: failed program was:" >&5 | 6652 echo "configure: failed program was:" >&5 |
6621 cat conftest.$ac_ext >&5 | 6653 cat conftest.$ac_ext >&5 |
6647 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi | 6679 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi |
6648 fi | 6680 fi |
6649 | 6681 |
6650 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6682 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6651 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6683 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6652 echo "configure:6653: checking for jpeglib.h" >&5 | 6684 echo "configure:6685: checking for jpeglib.h" >&5 |
6653 | 6685 |
6654 cat > conftest.$ac_ext <<EOF | 6686 cat > conftest.$ac_ext <<EOF |
6655 #line 6656 "configure" | 6687 #line 6688 "configure" |
6656 #include "confdefs.h" | 6688 #include "confdefs.h" |
6657 #include <jpeglib.h> | 6689 #include <jpeglib.h> |
6658 EOF | 6690 EOF |
6659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6660 { (eval echo configure:6661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6692 { (eval echo configure:6693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6661 ac_err=`grep -v '^ *+' conftest.out` | 6693 ac_err=`grep -v '^ *+' conftest.out` |
6662 if test -z "$ac_err"; then | 6694 if test -z "$ac_err"; then |
6663 rm -rf conftest* | 6695 rm -rf conftest* |
6664 eval "ac_cv_header_$ac_safe=yes" | 6696 eval "ac_cv_header_$ac_safe=yes" |
6665 else | 6697 else |
6678 with_jpeg=no | 6710 with_jpeg=no |
6679 fi | 6711 fi |
6680 } | 6712 } |
6681 test -z "$with_jpeg" && { | 6713 test -z "$with_jpeg" && { |
6682 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6714 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6683 echo "configure:6684: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6715 echo "configure:6716: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6684 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6716 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6685 | 6717 |
6686 xe_check_libs=" -ljpeg " | 6718 xe_check_libs=" -ljpeg " |
6687 cat > conftest.$ac_ext <<EOF | 6719 cat > conftest.$ac_ext <<EOF |
6688 #line 6689 "configure" | 6720 #line 6721 "configure" |
6689 #include "confdefs.h" | 6721 #include "confdefs.h" |
6690 /* Override any gcc2 internal prototype to avoid an error. */ | 6722 /* Override any gcc2 internal prototype to avoid an error. */ |
6691 /* We use char because int might match the return type of a gcc2 | 6723 /* We use char because int might match the return type of a gcc2 |
6692 builtin and then its argument prototype would still apply. */ | 6724 builtin and then its argument prototype would still apply. */ |
6693 char jpeg_destroy_decompress(); | 6725 char jpeg_destroy_decompress(); |
6694 | 6726 |
6695 int main() { | 6727 int main() { |
6696 jpeg_destroy_decompress() | 6728 jpeg_destroy_decompress() |
6697 ; return 0; } | 6729 ; return 0; } |
6698 EOF | 6730 EOF |
6699 if { (eval echo configure:6700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6731 if { (eval echo configure:6732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6700 rm -rf conftest* | 6732 rm -rf conftest* |
6701 eval "ac_cv_lib_$ac_lib_var=yes" | 6733 eval "ac_cv_lib_$ac_lib_var=yes" |
6702 else | 6734 else |
6703 echo "configure: failed program was:" >&5 | 6735 echo "configure: failed program was:" >&5 |
6704 cat conftest.$ac_ext >&5 | 6736 cat conftest.$ac_ext >&5 |
6730 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6762 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6731 fi | 6763 fi |
6732 | 6764 |
6733 if test -z "$with_png"; then | 6765 if test -z "$with_png"; then |
6734 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 | 6766 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 |
6735 echo "configure:6736: checking for png.h - no older than 0.96" >&5 | 6767 echo "configure:6768: checking for png.h - no older than 0.96" >&5 |
6736 cat > conftest.$ac_ext <<EOF | 6768 cat > conftest.$ac_ext <<EOF |
6737 #line 6738 "configure" | 6769 #line 6770 "configure" |
6738 #include "confdefs.h" | 6770 #include "confdefs.h" |
6739 #include <png.h> | 6771 #include <png.h> |
6740 #if PNG_LIBPNG_VER >= 96 | 6772 #if PNG_LIBPNG_VER >= 96 |
6741 yes | 6773 yes |
6742 #endif | 6774 #endif |
6752 fi | 6784 fi |
6753 rm -f conftest* | 6785 rm -f conftest* |
6754 | 6786 |
6755 fi | 6787 fi |
6756 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6788 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6757 echo "configure:6758: checking for pow" >&5 | 6789 echo "configure:6790: checking for pow" >&5 |
6758 | 6790 |
6759 cat > conftest.$ac_ext <<EOF | 6791 cat > conftest.$ac_ext <<EOF |
6760 #line 6761 "configure" | 6792 #line 6793 "configure" |
6761 #include "confdefs.h" | 6793 #include "confdefs.h" |
6762 /* System header to define __stub macros and hopefully few prototypes, | 6794 /* System header to define __stub macros and hopefully few prototypes, |
6763 which can conflict with char pow(); below. */ | 6795 which can conflict with char pow(); below. */ |
6764 #include <assert.h> | 6796 #include <assert.h> |
6765 /* Override any gcc2 internal prototype to avoid an error. */ | 6797 /* Override any gcc2 internal prototype to avoid an error. */ |
6778 pow(); | 6810 pow(); |
6779 #endif | 6811 #endif |
6780 | 6812 |
6781 ; return 0; } | 6813 ; return 0; } |
6782 EOF | 6814 EOF |
6783 if { (eval echo configure:6784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6815 if { (eval echo configure:6816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6784 rm -rf conftest* | 6816 rm -rf conftest* |
6785 eval "ac_cv_func_pow=yes" | 6817 eval "ac_cv_func_pow=yes" |
6786 else | 6818 else |
6787 echo "configure: failed program was:" >&5 | 6819 echo "configure: failed program was:" >&5 |
6788 cat conftest.$ac_ext >&5 | 6820 cat conftest.$ac_ext >&5 |
6799 with_png=no | 6831 with_png=no |
6800 fi | 6832 fi |
6801 } | 6833 } |
6802 test -z "$with_png" && { | 6834 test -z "$with_png" && { |
6803 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 6835 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
6804 echo "configure:6805: checking for png_read_image in -lpng" >&5 | 6836 echo "configure:6837: checking for png_read_image in -lpng" >&5 |
6805 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6837 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
6806 | 6838 |
6807 xe_check_libs=" -lpng " | 6839 xe_check_libs=" -lpng " |
6808 cat > conftest.$ac_ext <<EOF | 6840 cat > conftest.$ac_ext <<EOF |
6809 #line 6810 "configure" | 6841 #line 6842 "configure" |
6810 #include "confdefs.h" | 6842 #include "confdefs.h" |
6811 /* Override any gcc2 internal prototype to avoid an error. */ | 6843 /* Override any gcc2 internal prototype to avoid an error. */ |
6812 /* We use char because int might match the return type of a gcc2 | 6844 /* We use char because int might match the return type of a gcc2 |
6813 builtin and then its argument prototype would still apply. */ | 6845 builtin and then its argument prototype would still apply. */ |
6814 char png_read_image(); | 6846 char png_read_image(); |
6815 | 6847 |
6816 int main() { | 6848 int main() { |
6817 png_read_image() | 6849 png_read_image() |
6818 ; return 0; } | 6850 ; return 0; } |
6819 EOF | 6851 EOF |
6820 if { (eval echo configure:6821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6852 if { (eval echo configure:6853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6821 rm -rf conftest* | 6853 rm -rf conftest* |
6822 eval "ac_cv_lib_$ac_lib_var=yes" | 6854 eval "ac_cv_lib_$ac_lib_var=yes" |
6823 else | 6855 else |
6824 echo "configure: failed program was:" >&5 | 6856 echo "configure: failed program was:" >&5 |
6825 cat conftest.$ac_ext >&5 | 6857 cat conftest.$ac_ext >&5 |
6851 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 6883 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
6852 fi | 6884 fi |
6853 | 6885 |
6854 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 6886 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
6855 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 6887 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
6856 echo "configure:6857: checking for tiffio.h" >&5 | 6888 echo "configure:6889: checking for tiffio.h" >&5 |
6857 | 6889 |
6858 cat > conftest.$ac_ext <<EOF | 6890 cat > conftest.$ac_ext <<EOF |
6859 #line 6860 "configure" | 6891 #line 6892 "configure" |
6860 #include "confdefs.h" | 6892 #include "confdefs.h" |
6861 #include <tiffio.h> | 6893 #include <tiffio.h> |
6862 EOF | 6894 EOF |
6863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6864 { (eval echo configure:6865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6896 { (eval echo configure:6897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6865 ac_err=`grep -v '^ *+' conftest.out` | 6897 ac_err=`grep -v '^ *+' conftest.out` |
6866 if test -z "$ac_err"; then | 6898 if test -z "$ac_err"; then |
6867 rm -rf conftest* | 6899 rm -rf conftest* |
6868 eval "ac_cv_header_$ac_safe=yes" | 6900 eval "ac_cv_header_$ac_safe=yes" |
6869 else | 6901 else |
6882 with_tiff=no | 6914 with_tiff=no |
6883 fi | 6915 fi |
6884 } | 6916 } |
6885 test -z "$with_tiff" && { | 6917 test -z "$with_tiff" && { |
6886 echo $ac_n "checking for TIFFReadScanline in -ltiff""... $ac_c" 1>&6 | 6918 echo $ac_n "checking for TIFFReadScanline in -ltiff""... $ac_c" 1>&6 |
6887 echo "configure:6888: checking for TIFFReadScanline in -ltiff" >&5 | 6919 echo "configure:6920: checking for TIFFReadScanline in -ltiff" >&5 |
6888 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` | 6920 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` |
6889 | 6921 |
6890 xe_check_libs=" -ltiff " | 6922 xe_check_libs=" -ltiff " |
6891 cat > conftest.$ac_ext <<EOF | 6923 cat > conftest.$ac_ext <<EOF |
6892 #line 6893 "configure" | 6924 #line 6925 "configure" |
6893 #include "confdefs.h" | 6925 #include "confdefs.h" |
6894 /* Override any gcc2 internal prototype to avoid an error. */ | 6926 /* Override any gcc2 internal prototype to avoid an error. */ |
6895 /* We use char because int might match the return type of a gcc2 | 6927 /* We use char because int might match the return type of a gcc2 |
6896 builtin and then its argument prototype would still apply. */ | 6928 builtin and then its argument prototype would still apply. */ |
6897 char TIFFReadScanline(); | 6929 char TIFFReadScanline(); |
6898 | 6930 |
6899 int main() { | 6931 int main() { |
6900 TIFFReadScanline() | 6932 TIFFReadScanline() |
6901 ; return 0; } | 6933 ; return 0; } |
6902 EOF | 6934 EOF |
6903 if { (eval echo configure:6904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6935 if { (eval echo configure:6936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6904 rm -rf conftest* | 6936 rm -rf conftest* |
6905 eval "ac_cv_lib_$ac_lib_var=yes" | 6937 eval "ac_cv_lib_$ac_lib_var=yes" |
6906 else | 6938 else |
6907 echo "configure: failed program was:" >&5 | 6939 echo "configure: failed program was:" >&5 |
6908 cat conftest.$ac_ext >&5 | 6940 cat conftest.$ac_ext >&5 |
6937 | 6969 |
6938 | 6970 |
6939 if test "$with_x11" = "yes"; then | 6971 if test "$with_x11" = "yes"; then |
6940 | 6972 |
6941 echo "checking for X11 graphics libraries" 1>&6 | 6973 echo "checking for X11 graphics libraries" 1>&6 |
6942 echo "configure:6943: checking for X11 graphics libraries" >&5 | 6974 echo "configure:6975: checking for X11 graphics libraries" >&5 |
6943 | 6975 |
6944 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6976 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
6945 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6977 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
6946 echo "configure:6947: checking for compface.h" >&5 | 6978 echo "configure:6979: checking for compface.h" >&5 |
6947 | 6979 |
6948 cat > conftest.$ac_ext <<EOF | 6980 cat > conftest.$ac_ext <<EOF |
6949 #line 6950 "configure" | 6981 #line 6982 "configure" |
6950 #include "confdefs.h" | 6982 #include "confdefs.h" |
6951 #include <compface.h> | 6983 #include <compface.h> |
6952 EOF | 6984 EOF |
6953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6985 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6954 { (eval echo configure:6955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6986 { (eval echo configure:6987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6955 ac_err=`grep -v '^ *+' conftest.out` | 6987 ac_err=`grep -v '^ *+' conftest.out` |
6956 if test -z "$ac_err"; then | 6988 if test -z "$ac_err"; then |
6957 rm -rf conftest* | 6989 rm -rf conftest* |
6958 eval "ac_cv_header_$ac_safe=yes" | 6990 eval "ac_cv_header_$ac_safe=yes" |
6959 else | 6991 else |
6972 with_xface=no | 7004 with_xface=no |
6973 fi | 7005 fi |
6974 } | 7006 } |
6975 test -z "$with_xface" && { | 7007 test -z "$with_xface" && { |
6976 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7008 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
6977 echo "configure:6978: checking for UnGenFace in -lcompface" >&5 | 7009 echo "configure:7010: checking for UnGenFace in -lcompface" >&5 |
6978 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7010 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
6979 | 7011 |
6980 xe_check_libs=" -lcompface " | 7012 xe_check_libs=" -lcompface " |
6981 cat > conftest.$ac_ext <<EOF | 7013 cat > conftest.$ac_ext <<EOF |
6982 #line 6983 "configure" | 7014 #line 7015 "configure" |
6983 #include "confdefs.h" | 7015 #include "confdefs.h" |
6984 /* Override any gcc2 internal prototype to avoid an error. */ | 7016 /* Override any gcc2 internal prototype to avoid an error. */ |
6985 /* We use char because int might match the return type of a gcc2 | 7017 /* We use char because int might match the return type of a gcc2 |
6986 builtin and then its argument prototype would still apply. */ | 7018 builtin and then its argument prototype would still apply. */ |
6987 char UnGenFace(); | 7019 char UnGenFace(); |
6988 | 7020 |
6989 int main() { | 7021 int main() { |
6990 UnGenFace() | 7022 UnGenFace() |
6991 ; return 0; } | 7023 ; return 0; } |
6992 EOF | 7024 EOF |
6993 if { (eval echo configure:6994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7025 if { (eval echo configure:7026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6994 rm -rf conftest* | 7026 rm -rf conftest* |
6995 eval "ac_cv_lib_$ac_lib_var=yes" | 7027 eval "ac_cv_lib_$ac_lib_var=yes" |
6996 else | 7028 else |
6997 echo "configure: failed program was:" >&5 | 7029 echo "configure: failed program was:" >&5 |
6998 cat conftest.$ac_ext >&5 | 7030 cat conftest.$ac_ext >&5 |
7024 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 7056 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
7025 fi | 7057 fi |
7026 | 7058 |
7027 | 7059 |
7028 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7060 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
7029 echo "configure:7030: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7061 echo "configure:7062: checking for XawScrollbarSetThumb in -lXaw" >&5 |
7030 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7062 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7031 | 7063 |
7032 xe_check_libs=" -lXaw " | 7064 xe_check_libs=" -lXaw " |
7033 cat > conftest.$ac_ext <<EOF | 7065 cat > conftest.$ac_ext <<EOF |
7034 #line 7035 "configure" | 7066 #line 7067 "configure" |
7035 #include "confdefs.h" | 7067 #include "confdefs.h" |
7036 /* Override any gcc2 internal prototype to avoid an error. */ | 7068 /* Override any gcc2 internal prototype to avoid an error. */ |
7037 /* We use char because int might match the return type of a gcc2 | 7069 /* We use char because int might match the return type of a gcc2 |
7038 builtin and then its argument prototype would still apply. */ | 7070 builtin and then its argument prototype would still apply. */ |
7039 char XawScrollbarSetThumb(); | 7071 char XawScrollbarSetThumb(); |
7040 | 7072 |
7041 int main() { | 7073 int main() { |
7042 XawScrollbarSetThumb() | 7074 XawScrollbarSetThumb() |
7043 ; return 0; } | 7075 ; return 0; } |
7044 EOF | 7076 EOF |
7045 if { (eval echo configure:7046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7077 if { (eval echo configure:7078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7046 rm -rf conftest* | 7078 rm -rf conftest* |
7047 eval "ac_cv_lib_$ac_lib_var=yes" | 7079 eval "ac_cv_lib_$ac_lib_var=yes" |
7048 else | 7080 else |
7049 echo "configure: failed program was:" >&5 | 7081 echo "configure: failed program was:" >&5 |
7050 cat conftest.$ac_ext >&5 | 7082 cat conftest.$ac_ext >&5 |
7064 | 7096 |
7065 | 7097 |
7066 | 7098 |
7067 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7099 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7068 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7100 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7069 echo "configure:7070: checking for Xm/Xm.h" >&5 | 7101 echo "configure:7102: checking for Xm/Xm.h" >&5 |
7070 | 7102 |
7071 cat > conftest.$ac_ext <<EOF | 7103 cat > conftest.$ac_ext <<EOF |
7072 #line 7073 "configure" | 7104 #line 7105 "configure" |
7073 #include "confdefs.h" | 7105 #include "confdefs.h" |
7074 #include <Xm/Xm.h> | 7106 #include <Xm/Xm.h> |
7075 EOF | 7107 EOF |
7076 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7077 { (eval echo configure:7078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7109 { (eval echo configure:7110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7078 ac_err=`grep -v '^ *+' conftest.out` | 7110 ac_err=`grep -v '^ *+' conftest.out` |
7079 if test -z "$ac_err"; then | 7111 if test -z "$ac_err"; then |
7080 rm -rf conftest* | 7112 rm -rf conftest* |
7081 eval "ac_cv_header_$ac_safe=yes" | 7113 eval "ac_cv_header_$ac_safe=yes" |
7082 else | 7114 else |
7089 rm -f conftest* | 7121 rm -f conftest* |
7090 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7122 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7091 echo "$ac_t""yes" 1>&6 | 7123 echo "$ac_t""yes" 1>&6 |
7092 | 7124 |
7093 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7125 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7094 echo "configure:7095: checking for XmStringFree in -lXm" >&5 | 7126 echo "configure:7127: checking for XmStringFree in -lXm" >&5 |
7095 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7127 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7096 | 7128 |
7097 xe_check_libs=" -lXm " | 7129 xe_check_libs=" -lXm " |
7098 cat > conftest.$ac_ext <<EOF | 7130 cat > conftest.$ac_ext <<EOF |
7099 #line 7100 "configure" | 7131 #line 7132 "configure" |
7100 #include "confdefs.h" | 7132 #include "confdefs.h" |
7101 /* Override any gcc2 internal prototype to avoid an error. */ | 7133 /* Override any gcc2 internal prototype to avoid an error. */ |
7102 /* We use char because int might match the return type of a gcc2 | 7134 /* We use char because int might match the return type of a gcc2 |
7103 builtin and then its argument prototype would still apply. */ | 7135 builtin and then its argument prototype would still apply. */ |
7104 char XmStringFree(); | 7136 char XmStringFree(); |
7105 | 7137 |
7106 int main() { | 7138 int main() { |
7107 XmStringFree() | 7139 XmStringFree() |
7108 ; return 0; } | 7140 ; return 0; } |
7109 EOF | 7141 EOF |
7110 if { (eval echo configure:7111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7142 if { (eval echo configure:7143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7111 rm -rf conftest* | 7143 rm -rf conftest* |
7112 eval "ac_cv_lib_$ac_lib_var=yes" | 7144 eval "ac_cv_lib_$ac_lib_var=yes" |
7113 else | 7145 else |
7114 echo "configure: failed program was:" >&5 | 7146 echo "configure: failed program was:" >&5 |
7115 cat conftest.$ac_ext >&5 | 7147 cat conftest.$ac_ext >&5 |
7134 fi | 7166 fi |
7135 | 7167 |
7136 | 7168 |
7137 if test "$have_motif" = "yes"; then | 7169 if test "$have_motif" = "yes"; then |
7138 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7170 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7139 echo "configure:7140: checking for Lesstif" >&5 | 7171 echo "configure:7172: checking for Lesstif" >&5 |
7140 cat > conftest.$ac_ext <<EOF | 7172 cat > conftest.$ac_ext <<EOF |
7141 #line 7142 "configure" | 7173 #line 7174 "configure" |
7142 #include "confdefs.h" | 7174 #include "confdefs.h" |
7143 #include <Xm/Xm.h> | 7175 #include <Xm/Xm.h> |
7144 #ifdef LESSTIF_VERSION | 7176 #ifdef LESSTIF_VERSION |
7145 yes | 7177 yes |
7146 #endif | 7178 #endif |
7420 fi | 7452 fi |
7421 fi | 7453 fi |
7422 | 7454 |
7423 if test "$with_mule" = "yes" ; then | 7455 if test "$with_mule" = "yes" ; then |
7424 echo "checking for Mule-related features" 1>&6 | 7456 echo "checking for Mule-related features" 1>&6 |
7425 echo "configure:7426: checking for Mule-related features" >&5 | 7457 echo "configure:7458: checking for Mule-related features" >&5 |
7426 { test "$extra_verbose" = "yes" && cat << \EOF | 7458 { test "$extra_verbose" = "yes" && cat << \EOF |
7427 Defining MULE | 7459 Defining MULE |
7428 EOF | 7460 EOF |
7429 cat >> confdefs.h <<\EOF | 7461 cat >> confdefs.h <<\EOF |
7430 #define MULE 1 | 7462 #define MULE 1 |
7445 | 7477 |
7446 for ac_hdr in libintl.h | 7478 for ac_hdr in libintl.h |
7447 do | 7479 do |
7448 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7480 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7449 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7481 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7450 echo "configure:7451: checking for $ac_hdr" >&5 | 7482 echo "configure:7483: checking for $ac_hdr" >&5 |
7451 | 7483 |
7452 cat > conftest.$ac_ext <<EOF | 7484 cat > conftest.$ac_ext <<EOF |
7453 #line 7454 "configure" | 7485 #line 7486 "configure" |
7454 #include "confdefs.h" | 7486 #include "confdefs.h" |
7455 #include <$ac_hdr> | 7487 #include <$ac_hdr> |
7456 EOF | 7488 EOF |
7457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7458 { (eval echo configure:7459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7490 { (eval echo configure:7491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7459 ac_err=`grep -v '^ *+' conftest.out` | 7491 ac_err=`grep -v '^ *+' conftest.out` |
7460 if test -z "$ac_err"; then | 7492 if test -z "$ac_err"; then |
7461 rm -rf conftest* | 7493 rm -rf conftest* |
7462 eval "ac_cv_header_$ac_safe=yes" | 7494 eval "ac_cv_header_$ac_safe=yes" |
7463 else | 7495 else |
7484 fi | 7516 fi |
7485 done | 7517 done |
7486 | 7518 |
7487 | 7519 |
7488 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7520 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7489 echo "configure:7490: checking for strerror in -lintl" >&5 | 7521 echo "configure:7522: checking for strerror in -lintl" >&5 |
7490 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7522 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7491 | 7523 |
7492 xe_check_libs=" -lintl " | 7524 xe_check_libs=" -lintl " |
7493 cat > conftest.$ac_ext <<EOF | 7525 cat > conftest.$ac_ext <<EOF |
7494 #line 7495 "configure" | 7526 #line 7527 "configure" |
7495 #include "confdefs.h" | 7527 #include "confdefs.h" |
7496 /* Override any gcc2 internal prototype to avoid an error. */ | 7528 /* Override any gcc2 internal prototype to avoid an error. */ |
7497 /* We use char because int might match the return type of a gcc2 | 7529 /* We use char because int might match the return type of a gcc2 |
7498 builtin and then its argument prototype would still apply. */ | 7530 builtin and then its argument prototype would still apply. */ |
7499 char strerror(); | 7531 char strerror(); |
7500 | 7532 |
7501 int main() { | 7533 int main() { |
7502 strerror() | 7534 strerror() |
7503 ; return 0; } | 7535 ; return 0; } |
7504 EOF | 7536 EOF |
7505 if { (eval echo configure:7506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7537 if { (eval echo configure:7538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7506 rm -rf conftest* | 7538 rm -rf conftest* |
7507 eval "ac_cv_lib_$ac_lib_var=yes" | 7539 eval "ac_cv_lib_$ac_lib_var=yes" |
7508 else | 7540 else |
7509 echo "configure: failed program was:" >&5 | 7541 echo "configure: failed program was:" >&5 |
7510 cat conftest.$ac_ext >&5 | 7542 cat conftest.$ac_ext >&5 |
7533 fi | 7565 fi |
7534 | 7566 |
7535 | 7567 |
7536 | 7568 |
7537 echo "checking for Mule input methods" 1>&6 | 7569 echo "checking for Mule input methods" 1>&6 |
7538 echo "configure:7539: checking for Mule input methods" >&5 | 7570 echo "configure:7571: checking for Mule input methods" >&5 |
7539 case "$with_xim" in "" | "yes" ) | 7571 case "$with_xim" in "" | "yes" ) |
7540 echo "checking for XIM" 1>&6 | 7572 echo "checking for XIM" 1>&6 |
7541 echo "configure:7542: checking for XIM" >&5 | 7573 echo "configure:7574: checking for XIM" >&5 |
7542 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7574 if test "$have_lesstif" = "yes"; then with_xim=xlib |
7543 else | 7575 else |
7544 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7576 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7545 echo "configure:7546: checking for XmImMbLookupString in -lXm" >&5 | 7577 echo "configure:7578: checking for XmImMbLookupString in -lXm" >&5 |
7546 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7578 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7547 | 7579 |
7548 xe_check_libs=" -lXm " | 7580 xe_check_libs=" -lXm " |
7549 cat > conftest.$ac_ext <<EOF | 7581 cat > conftest.$ac_ext <<EOF |
7550 #line 7551 "configure" | 7582 #line 7583 "configure" |
7551 #include "confdefs.h" | 7583 #include "confdefs.h" |
7552 /* Override any gcc2 internal prototype to avoid an error. */ | 7584 /* Override any gcc2 internal prototype to avoid an error. */ |
7553 /* We use char because int might match the return type of a gcc2 | 7585 /* We use char because int might match the return type of a gcc2 |
7554 builtin and then its argument prototype would still apply. */ | 7586 builtin and then its argument prototype would still apply. */ |
7555 char XmImMbLookupString(); | 7587 char XmImMbLookupString(); |
7556 | 7588 |
7557 int main() { | 7589 int main() { |
7558 XmImMbLookupString() | 7590 XmImMbLookupString() |
7559 ; return 0; } | 7591 ; return 0; } |
7560 EOF | 7592 EOF |
7561 if { (eval echo configure:7562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7593 if { (eval echo configure:7594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7562 rm -rf conftest* | 7594 rm -rf conftest* |
7563 eval "ac_cv_lib_$ac_lib_var=yes" | 7595 eval "ac_cv_lib_$ac_lib_var=yes" |
7564 else | 7596 else |
7565 echo "configure: failed program was:" >&5 | 7597 echo "configure: failed program was:" >&5 |
7566 cat conftest.$ac_ext >&5 | 7598 cat conftest.$ac_ext >&5 |
7622 fi | 7654 fi |
7623 fi | 7655 fi |
7624 | 7656 |
7625 if test "$with_xfs" = "yes" ; then | 7657 if test "$with_xfs" = "yes" ; then |
7626 echo "checking for XFontSet" 1>&6 | 7658 echo "checking for XFontSet" 1>&6 |
7627 echo "configure:7628: checking for XFontSet" >&5 | 7659 echo "configure:7660: checking for XFontSet" >&5 |
7628 | 7660 |
7629 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7661 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7630 echo "configure:7631: checking for XmbDrawString in -lX11" >&5 | 7662 echo "configure:7663: checking for XmbDrawString in -lX11" >&5 |
7631 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7663 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7632 | 7664 |
7633 xe_check_libs=" -lX11 " | 7665 xe_check_libs=" -lX11 " |
7634 cat > conftest.$ac_ext <<EOF | 7666 cat > conftest.$ac_ext <<EOF |
7635 #line 7636 "configure" | 7667 #line 7668 "configure" |
7636 #include "confdefs.h" | 7668 #include "confdefs.h" |
7637 /* Override any gcc2 internal prototype to avoid an error. */ | 7669 /* Override any gcc2 internal prototype to avoid an error. */ |
7638 /* We use char because int might match the return type of a gcc2 | 7670 /* We use char because int might match the return type of a gcc2 |
7639 builtin and then its argument prototype would still apply. */ | 7671 builtin and then its argument prototype would still apply. */ |
7640 char XmbDrawString(); | 7672 char XmbDrawString(); |
7641 | 7673 |
7642 int main() { | 7674 int main() { |
7643 XmbDrawString() | 7675 XmbDrawString() |
7644 ; return 0; } | 7676 ; return 0; } |
7645 EOF | 7677 EOF |
7646 if { (eval echo configure:7647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7678 if { (eval echo configure:7679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7647 rm -rf conftest* | 7679 rm -rf conftest* |
7648 eval "ac_cv_lib_$ac_lib_var=yes" | 7680 eval "ac_cv_lib_$ac_lib_var=yes" |
7649 else | 7681 else |
7650 echo "configure: failed program was:" >&5 | 7682 echo "configure: failed program was:" >&5 |
7651 cat conftest.$ac_ext >&5 | 7683 cat conftest.$ac_ext >&5 |
7681 fi | 7713 fi |
7682 fi | 7714 fi |
7683 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7715 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7684 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7716 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7685 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7717 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7686 echo "configure:7687: checking for wnn/jllib.h" >&5 | 7718 echo "configure:7719: checking for wnn/jllib.h" >&5 |
7687 | 7719 |
7688 cat > conftest.$ac_ext <<EOF | 7720 cat > conftest.$ac_ext <<EOF |
7689 #line 7690 "configure" | 7721 #line 7722 "configure" |
7690 #include "confdefs.h" | 7722 #include "confdefs.h" |
7691 #include <wnn/jllib.h> | 7723 #include <wnn/jllib.h> |
7692 EOF | 7724 EOF |
7693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7694 { (eval echo configure:7695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7726 { (eval echo configure:7727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7695 ac_err=`grep -v '^ *+' conftest.out` | 7727 ac_err=`grep -v '^ *+' conftest.out` |
7696 if test -z "$ac_err"; then | 7728 if test -z "$ac_err"; then |
7697 rm -rf conftest* | 7729 rm -rf conftest* |
7698 eval "ac_cv_header_$ac_safe=yes" | 7730 eval "ac_cv_header_$ac_safe=yes" |
7699 else | 7731 else |
7714 } | 7746 } |
7715 if test "$with_wnn" != "no"; then | 7747 if test "$with_wnn" != "no"; then |
7716 for ac_func in crypt | 7748 for ac_func in crypt |
7717 do | 7749 do |
7718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7750 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7719 echo "configure:7720: checking for $ac_func" >&5 | 7751 echo "configure:7752: checking for $ac_func" >&5 |
7720 | 7752 |
7721 cat > conftest.$ac_ext <<EOF | 7753 cat > conftest.$ac_ext <<EOF |
7722 #line 7723 "configure" | 7754 #line 7755 "configure" |
7723 #include "confdefs.h" | 7755 #include "confdefs.h" |
7724 /* System header to define __stub macros and hopefully few prototypes, | 7756 /* System header to define __stub macros and hopefully few prototypes, |
7725 which can conflict with char $ac_func(); below. */ | 7757 which can conflict with char $ac_func(); below. */ |
7726 #include <assert.h> | 7758 #include <assert.h> |
7727 /* Override any gcc2 internal prototype to avoid an error. */ | 7759 /* Override any gcc2 internal prototype to avoid an error. */ |
7740 $ac_func(); | 7772 $ac_func(); |
7741 #endif | 7773 #endif |
7742 | 7774 |
7743 ; return 0; } | 7775 ; return 0; } |
7744 EOF | 7776 EOF |
7745 if { (eval echo configure:7746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7777 if { (eval echo configure:7778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7746 rm -rf conftest* | 7778 rm -rf conftest* |
7747 eval "ac_cv_func_$ac_func=yes" | 7779 eval "ac_cv_func_$ac_func=yes" |
7748 else | 7780 else |
7749 echo "configure: failed program was:" >&5 | 7781 echo "configure: failed program was:" >&5 |
7750 cat conftest.$ac_ext >&5 | 7782 cat conftest.$ac_ext >&5 |
7769 fi | 7801 fi |
7770 done | 7802 done |
7771 | 7803 |
7772 test "$ac_cv_func_crypt" != "yes" && { | 7804 test "$ac_cv_func_crypt" != "yes" && { |
7773 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7805 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7774 echo "configure:7775: checking for crypt in -lcrypt" >&5 | 7806 echo "configure:7807: checking for crypt in -lcrypt" >&5 |
7775 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7807 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7776 | 7808 |
7777 xe_check_libs=" -lcrypt " | 7809 xe_check_libs=" -lcrypt " |
7778 cat > conftest.$ac_ext <<EOF | 7810 cat > conftest.$ac_ext <<EOF |
7779 #line 7780 "configure" | 7811 #line 7812 "configure" |
7780 #include "confdefs.h" | 7812 #include "confdefs.h" |
7781 /* Override any gcc2 internal prototype to avoid an error. */ | 7813 /* Override any gcc2 internal prototype to avoid an error. */ |
7782 /* We use char because int might match the return type of a gcc2 | 7814 /* We use char because int might match the return type of a gcc2 |
7783 builtin and then its argument prototype would still apply. */ | 7815 builtin and then its argument prototype would still apply. */ |
7784 char crypt(); | 7816 char crypt(); |
7785 | 7817 |
7786 int main() { | 7818 int main() { |
7787 crypt() | 7819 crypt() |
7788 ; return 0; } | 7820 ; return 0; } |
7789 EOF | 7821 EOF |
7790 if { (eval echo configure:7791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7822 if { (eval echo configure:7823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7791 rm -rf conftest* | 7823 rm -rf conftest* |
7792 eval "ac_cv_lib_$ac_lib_var=yes" | 7824 eval "ac_cv_lib_$ac_lib_var=yes" |
7793 else | 7825 else |
7794 echo "configure: failed program was:" >&5 | 7826 echo "configure: failed program was:" >&5 |
7795 cat conftest.$ac_ext >&5 | 7827 cat conftest.$ac_ext >&5 |
7819 | 7851 |
7820 } | 7852 } |
7821 fi | 7853 fi |
7822 test -z "$with_wnn" && { | 7854 test -z "$with_wnn" && { |
7823 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7855 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7824 echo "configure:7825: checking for jl_dic_list_e in -lwnn" >&5 | 7856 echo "configure:7857: checking for jl_dic_list_e in -lwnn" >&5 |
7825 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7857 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7826 | 7858 |
7827 xe_check_libs=" -lwnn " | 7859 xe_check_libs=" -lwnn " |
7828 cat > conftest.$ac_ext <<EOF | 7860 cat > conftest.$ac_ext <<EOF |
7829 #line 7830 "configure" | 7861 #line 7862 "configure" |
7830 #include "confdefs.h" | 7862 #include "confdefs.h" |
7831 /* Override any gcc2 internal prototype to avoid an error. */ | 7863 /* Override any gcc2 internal prototype to avoid an error. */ |
7832 /* We use char because int might match the return type of a gcc2 | 7864 /* We use char because int might match the return type of a gcc2 |
7833 builtin and then its argument prototype would still apply. */ | 7865 builtin and then its argument prototype would still apply. */ |
7834 char jl_dic_list_e(); | 7866 char jl_dic_list_e(); |
7835 | 7867 |
7836 int main() { | 7868 int main() { |
7837 jl_dic_list_e() | 7869 jl_dic_list_e() |
7838 ; return 0; } | 7870 ; return 0; } |
7839 EOF | 7871 EOF |
7840 if { (eval echo configure:7841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7872 if { (eval echo configure:7873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7841 rm -rf conftest* | 7873 rm -rf conftest* |
7842 eval "ac_cv_lib_$ac_lib_var=yes" | 7874 eval "ac_cv_lib_$ac_lib_var=yes" |
7843 else | 7875 else |
7844 echo "configure: failed program was:" >&5 | 7876 echo "configure: failed program was:" >&5 |
7845 cat conftest.$ac_ext >&5 | 7877 cat conftest.$ac_ext >&5 |
7872 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7904 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
7873 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7905 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
7874 fi | 7906 fi |
7875 | 7907 |
7876 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7908 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
7877 echo "configure:7878: checking for jl_fi_dic_list in -lwnn" >&5 | 7909 echo "configure:7910: checking for jl_fi_dic_list in -lwnn" >&5 |
7878 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7910 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
7879 | 7911 |
7880 xe_check_libs=" -lwnn " | 7912 xe_check_libs=" -lwnn " |
7881 cat > conftest.$ac_ext <<EOF | 7913 cat > conftest.$ac_ext <<EOF |
7882 #line 7883 "configure" | 7914 #line 7915 "configure" |
7883 #include "confdefs.h" | 7915 #include "confdefs.h" |
7884 /* Override any gcc2 internal prototype to avoid an error. */ | 7916 /* Override any gcc2 internal prototype to avoid an error. */ |
7885 /* We use char because int might match the return type of a gcc2 | 7917 /* We use char because int might match the return type of a gcc2 |
7886 builtin and then its argument prototype would still apply. */ | 7918 builtin and then its argument prototype would still apply. */ |
7887 char jl_fi_dic_list(); | 7919 char jl_fi_dic_list(); |
7888 | 7920 |
7889 int main() { | 7921 int main() { |
7890 jl_fi_dic_list() | 7922 jl_fi_dic_list() |
7891 ; return 0; } | 7923 ; return 0; } |
7892 EOF | 7924 EOF |
7893 if { (eval echo configure:7894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7925 if { (eval echo configure:7926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7894 rm -rf conftest* | 7926 rm -rf conftest* |
7895 eval "ac_cv_lib_$ac_lib_var=yes" | 7927 eval "ac_cv_lib_$ac_lib_var=yes" |
7896 else | 7928 else |
7897 echo "configure: failed program was:" >&5 | 7929 echo "configure: failed program was:" >&5 |
7898 cat conftest.$ac_ext >&5 | 7930 cat conftest.$ac_ext >&5 |
7922 | 7954 |
7923 canna_includes_found=no | 7955 canna_includes_found=no |
7924 if test "$with_canna" != "no"; then | 7956 if test "$with_canna" != "no"; then |
7925 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 7957 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
7926 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 7958 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
7927 echo "configure:7928: checking for canna/jrkanji.h" >&5 | 7959 echo "configure:7960: checking for canna/jrkanji.h" >&5 |
7928 | 7960 |
7929 cat > conftest.$ac_ext <<EOF | 7961 cat > conftest.$ac_ext <<EOF |
7930 #line 7931 "configure" | 7962 #line 7963 "configure" |
7931 #include "confdefs.h" | 7963 #include "confdefs.h" |
7932 #include <canna/jrkanji.h> | 7964 #include <canna/jrkanji.h> |
7933 EOF | 7965 EOF |
7934 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7935 { (eval echo configure:7936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7967 { (eval echo configure:7968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7936 ac_err=`grep -v '^ *+' conftest.out` | 7968 ac_err=`grep -v '^ *+' conftest.out` |
7937 if test -z "$ac_err"; then | 7969 if test -z "$ac_err"; then |
7938 rm -rf conftest* | 7970 rm -rf conftest* |
7939 eval "ac_cv_header_$ac_safe=yes" | 7971 eval "ac_cv_header_$ac_safe=yes" |
7940 else | 7972 else |
7957 -d "/usr/local/canna/include"; then | 7989 -d "/usr/local/canna/include"; then |
7958 save_c_switch_site="$c_switch_site" | 7990 save_c_switch_site="$c_switch_site" |
7959 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 7991 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
7960 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 7992 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
7961 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 7993 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
7962 echo "configure:7963: checking for canna/jrkanji.h" >&5 | 7994 echo "configure:7995: checking for canna/jrkanji.h" >&5 |
7963 | 7995 |
7964 cat > conftest.$ac_ext <<EOF | 7996 cat > conftest.$ac_ext <<EOF |
7965 #line 7966 "configure" | 7997 #line 7998 "configure" |
7966 #include "confdefs.h" | 7998 #include "confdefs.h" |
7967 #include <canna/jrkanji.h> | 7999 #include <canna/jrkanji.h> |
7968 EOF | 8000 EOF |
7969 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8001 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7970 { (eval echo configure:7971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8002 { (eval echo configure:8003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7971 ac_err=`grep -v '^ *+' conftest.out` | 8003 ac_err=`grep -v '^ *+' conftest.out` |
7972 if test -z "$ac_err"; then | 8004 if test -z "$ac_err"; then |
7973 rm -rf conftest* | 8005 rm -rf conftest* |
7974 eval "ac_cv_header_$ac_safe=yes" | 8006 eval "ac_cv_header_$ac_safe=yes" |
7975 else | 8007 else |
7993 fi | 8025 fi |
7994 fi | 8026 fi |
7995 | 8027 |
7996 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8028 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
7997 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8029 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
7998 echo "configure:7999: checking for canna/RK.h" >&5 | 8030 echo "configure:8031: checking for canna/RK.h" >&5 |
7999 | 8031 |
8000 cat > conftest.$ac_ext <<EOF | 8032 cat > conftest.$ac_ext <<EOF |
8001 #line 8002 "configure" | 8033 #line 8034 "configure" |
8002 #include "confdefs.h" | 8034 #include "confdefs.h" |
8003 #include <canna/RK.h> | 8035 #include <canna/RK.h> |
8004 EOF | 8036 EOF |
8005 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8037 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8006 { (eval echo configure:8007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8038 { (eval echo configure:8039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8007 ac_err=`grep -v '^ *+' conftest.out` | 8039 ac_err=`grep -v '^ *+' conftest.out` |
8008 if test -z "$ac_err"; then | 8040 if test -z "$ac_err"; then |
8009 rm -rf conftest* | 8041 rm -rf conftest* |
8010 eval "ac_cv_header_$ac_safe=yes" | 8042 eval "ac_cv_header_$ac_safe=yes" |
8011 else | 8043 else |
8024 with_canna=no | 8056 with_canna=no |
8025 fi | 8057 fi |
8026 } | 8058 } |
8027 test -z "$with_canna" && { | 8059 test -z "$with_canna" && { |
8028 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8060 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8029 echo "configure:8030: checking for RkBgnBun in -lRKC" >&5 | 8061 echo "configure:8062: checking for RkBgnBun in -lRKC" >&5 |
8030 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8062 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8031 | 8063 |
8032 xe_check_libs=" -lRKC " | 8064 xe_check_libs=" -lRKC " |
8033 cat > conftest.$ac_ext <<EOF | 8065 cat > conftest.$ac_ext <<EOF |
8034 #line 8035 "configure" | 8066 #line 8067 "configure" |
8035 #include "confdefs.h" | 8067 #include "confdefs.h" |
8036 /* Override any gcc2 internal prototype to avoid an error. */ | 8068 /* Override any gcc2 internal prototype to avoid an error. */ |
8037 /* We use char because int might match the return type of a gcc2 | 8069 /* We use char because int might match the return type of a gcc2 |
8038 builtin and then its argument prototype would still apply. */ | 8070 builtin and then its argument prototype would still apply. */ |
8039 char RkBgnBun(); | 8071 char RkBgnBun(); |
8040 | 8072 |
8041 int main() { | 8073 int main() { |
8042 RkBgnBun() | 8074 RkBgnBun() |
8043 ; return 0; } | 8075 ; return 0; } |
8044 EOF | 8076 EOF |
8045 if { (eval echo configure:8046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8077 if { (eval echo configure:8078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8046 rm -rf conftest* | 8078 rm -rf conftest* |
8047 eval "ac_cv_lib_$ac_lib_var=yes" | 8079 eval "ac_cv_lib_$ac_lib_var=yes" |
8048 else | 8080 else |
8049 echo "configure: failed program was:" >&5 | 8081 echo "configure: failed program was:" >&5 |
8050 cat conftest.$ac_ext >&5 | 8082 cat conftest.$ac_ext >&5 |
8063 fi | 8095 fi |
8064 | 8096 |
8065 } | 8097 } |
8066 test -z "$with_canna" && { | 8098 test -z "$with_canna" && { |
8067 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8099 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8068 echo "configure:8069: checking for jrKanjiControl in -lcanna" >&5 | 8100 echo "configure:8101: checking for jrKanjiControl in -lcanna" >&5 |
8069 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8101 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8070 | 8102 |
8071 xe_check_libs=" -lcanna " | 8103 xe_check_libs=" -lcanna " |
8072 cat > conftest.$ac_ext <<EOF | 8104 cat > conftest.$ac_ext <<EOF |
8073 #line 8074 "configure" | 8105 #line 8106 "configure" |
8074 #include "confdefs.h" | 8106 #include "confdefs.h" |
8075 /* Override any gcc2 internal prototype to avoid an error. */ | 8107 /* Override any gcc2 internal prototype to avoid an error. */ |
8076 /* We use char because int might match the return type of a gcc2 | 8108 /* We use char because int might match the return type of a gcc2 |
8077 builtin and then its argument prototype would still apply. */ | 8109 builtin and then its argument prototype would still apply. */ |
8078 char jrKanjiControl(); | 8110 char jrKanjiControl(); |
8079 | 8111 |
8080 int main() { | 8112 int main() { |
8081 jrKanjiControl() | 8113 jrKanjiControl() |
8082 ; return 0; } | 8114 ; return 0; } |
8083 EOF | 8115 EOF |
8084 if { (eval echo configure:8085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8116 if { (eval echo configure:8117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8085 rm -rf conftest* | 8117 rm -rf conftest* |
8086 eval "ac_cv_lib_$ac_lib_var=yes" | 8118 eval "ac_cv_lib_$ac_lib_var=yes" |
8087 else | 8119 else |
8088 echo "configure: failed program was:" >&5 | 8120 echo "configure: failed program was:" >&5 |
8089 cat conftest.$ac_ext >&5 | 8121 cat conftest.$ac_ext >&5 |
8128 | 8160 |
8129 if test "$need_motif" = "yes" ; then | 8161 if test "$need_motif" = "yes" ; then |
8130 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8162 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8131 | 8163 |
8132 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8164 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8133 echo "configure:8134: checking for layout_object_getvalue in -li18n" >&5 | 8165 echo "configure:8166: checking for layout_object_getvalue in -li18n" >&5 |
8134 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8166 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8135 | 8167 |
8136 xe_check_libs=" -li18n " | 8168 xe_check_libs=" -li18n " |
8137 cat > conftest.$ac_ext <<EOF | 8169 cat > conftest.$ac_ext <<EOF |
8138 #line 8139 "configure" | 8170 #line 8171 "configure" |
8139 #include "confdefs.h" | 8171 #include "confdefs.h" |
8140 /* Override any gcc2 internal prototype to avoid an error. */ | 8172 /* Override any gcc2 internal prototype to avoid an error. */ |
8141 /* We use char because int might match the return type of a gcc2 | 8173 /* We use char because int might match the return type of a gcc2 |
8142 builtin and then its argument prototype would still apply. */ | 8174 builtin and then its argument prototype would still apply. */ |
8143 char layout_object_getvalue(); | 8175 char layout_object_getvalue(); |
8144 | 8176 |
8145 int main() { | 8177 int main() { |
8146 layout_object_getvalue() | 8178 layout_object_getvalue() |
8147 ; return 0; } | 8179 ; return 0; } |
8148 EOF | 8180 EOF |
8149 if { (eval echo configure:8150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8181 if { (eval echo configure:8182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8150 rm -rf conftest* | 8182 rm -rf conftest* |
8151 eval "ac_cv_lib_$ac_lib_var=yes" | 8183 eval "ac_cv_lib_$ac_lib_var=yes" |
8152 else | 8184 else |
8153 echo "configure: failed program was:" >&5 | 8185 echo "configure: failed program was:" >&5 |
8154 cat conftest.$ac_ext >&5 | 8186 cat conftest.$ac_ext >&5 |
8230 fi | 8262 fi |
8231 | 8263 |
8232 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf | 8264 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf |
8233 do | 8265 do |
8234 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8235 echo "configure:8236: checking for $ac_func" >&5 | 8267 echo "configure:8268: checking for $ac_func" >&5 |
8236 | 8268 |
8237 cat > conftest.$ac_ext <<EOF | 8269 cat > conftest.$ac_ext <<EOF |
8238 #line 8239 "configure" | 8270 #line 8271 "configure" |
8239 #include "confdefs.h" | 8271 #include "confdefs.h" |
8240 /* System header to define __stub macros and hopefully few prototypes, | 8272 /* System header to define __stub macros and hopefully few prototypes, |
8241 which can conflict with char $ac_func(); below. */ | 8273 which can conflict with char $ac_func(); below. */ |
8242 #include <assert.h> | 8274 #include <assert.h> |
8243 /* Override any gcc2 internal prototype to avoid an error. */ | 8275 /* Override any gcc2 internal prototype to avoid an error. */ |
8256 $ac_func(); | 8288 $ac_func(); |
8257 #endif | 8289 #endif |
8258 | 8290 |
8259 ; return 0; } | 8291 ; return 0; } |
8260 EOF | 8292 EOF |
8261 if { (eval echo configure:8262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8293 if { (eval echo configure:8294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8262 rm -rf conftest* | 8294 rm -rf conftest* |
8263 eval "ac_cv_func_$ac_func=yes" | 8295 eval "ac_cv_func_$ac_func=yes" |
8264 else | 8296 else |
8265 echo "configure: failed program was:" >&5 | 8297 echo "configure: failed program was:" >&5 |
8266 cat conftest.$ac_ext >&5 | 8298 cat conftest.$ac_ext >&5 |
8293 fi ;; | 8325 fi ;; |
8294 * ) | 8326 * ) |
8295 for ac_func in realpath | 8327 for ac_func in realpath |
8296 do | 8328 do |
8297 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8329 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8298 echo "configure:8299: checking for $ac_func" >&5 | 8330 echo "configure:8331: checking for $ac_func" >&5 |
8299 | 8331 |
8300 cat > conftest.$ac_ext <<EOF | 8332 cat > conftest.$ac_ext <<EOF |
8301 #line 8302 "configure" | 8333 #line 8334 "configure" |
8302 #include "confdefs.h" | 8334 #include "confdefs.h" |
8303 /* System header to define __stub macros and hopefully few prototypes, | 8335 /* System header to define __stub macros and hopefully few prototypes, |
8304 which can conflict with char $ac_func(); below. */ | 8336 which can conflict with char $ac_func(); below. */ |
8305 #include <assert.h> | 8337 #include <assert.h> |
8306 /* Override any gcc2 internal prototype to avoid an error. */ | 8338 /* Override any gcc2 internal prototype to avoid an error. */ |
8319 $ac_func(); | 8351 $ac_func(); |
8320 #endif | 8352 #endif |
8321 | 8353 |
8322 ; return 0; } | 8354 ; return 0; } |
8323 EOF | 8355 EOF |
8324 if { (eval echo configure:8325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8356 if { (eval echo configure:8357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8325 rm -rf conftest* | 8357 rm -rf conftest* |
8326 eval "ac_cv_func_$ac_func=yes" | 8358 eval "ac_cv_func_$ac_func=yes" |
8327 else | 8359 else |
8328 echo "configure: failed program was:" >&5 | 8360 echo "configure: failed program was:" >&5 |
8329 cat conftest.$ac_ext >&5 | 8361 cat conftest.$ac_ext >&5 |
8352 echo " xemacs will be linked with \"realpath.o\"" | 8384 echo " xemacs will be linked with \"realpath.o\"" |
8353 fi ;; | 8385 fi ;; |
8354 esac | 8386 esac |
8355 | 8387 |
8356 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8388 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8357 echo "configure:8358: checking whether netdb declares h_errno" >&5 | 8389 echo "configure:8390: checking whether netdb declares h_errno" >&5 |
8358 cat > conftest.$ac_ext <<EOF | 8390 cat > conftest.$ac_ext <<EOF |
8359 #line 8360 "configure" | 8391 #line 8392 "configure" |
8360 #include "confdefs.h" | 8392 #include "confdefs.h" |
8361 #include <netdb.h> | 8393 #include <netdb.h> |
8362 int main() { | 8394 int main() { |
8363 return h_errno; | 8395 return h_errno; |
8364 ; return 0; } | 8396 ; return 0; } |
8365 EOF | 8397 EOF |
8366 if { (eval echo configure:8367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8398 if { (eval echo configure:8399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8367 rm -rf conftest* | 8399 rm -rf conftest* |
8368 echo "$ac_t""yes" 1>&6 | 8400 echo "$ac_t""yes" 1>&6 |
8369 { test "$extra_verbose" = "yes" && cat << \EOF | 8401 { test "$extra_verbose" = "yes" && cat << \EOF |
8370 Defining HAVE_H_ERRNO | 8402 Defining HAVE_H_ERRNO |
8371 EOF | 8403 EOF |
8381 echo "$ac_t""no" 1>&6 | 8413 echo "$ac_t""no" 1>&6 |
8382 fi | 8414 fi |
8383 rm -f conftest* | 8415 rm -f conftest* |
8384 | 8416 |
8385 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8417 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8386 echo "configure:8387: checking for sigsetjmp" >&5 | 8418 echo "configure:8419: checking for sigsetjmp" >&5 |
8387 cat > conftest.$ac_ext <<EOF | 8419 cat > conftest.$ac_ext <<EOF |
8388 #line 8389 "configure" | 8420 #line 8421 "configure" |
8389 #include "confdefs.h" | 8421 #include "confdefs.h" |
8390 #include <setjmp.h> | 8422 #include <setjmp.h> |
8391 int main() { | 8423 int main() { |
8392 sigjmp_buf bar; sigsetjmp (bar, 0); | 8424 sigjmp_buf bar; sigsetjmp (bar, 0); |
8393 ; return 0; } | 8425 ; return 0; } |
8394 EOF | 8426 EOF |
8395 if { (eval echo configure:8396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8427 if { (eval echo configure:8428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8396 rm -rf conftest* | 8428 rm -rf conftest* |
8397 echo "$ac_t""yes" 1>&6 | 8429 echo "$ac_t""yes" 1>&6 |
8398 { test "$extra_verbose" = "yes" && cat << \EOF | 8430 { test "$extra_verbose" = "yes" && cat << \EOF |
8399 Defining HAVE_SIGSETJMP | 8431 Defining HAVE_SIGSETJMP |
8400 EOF | 8432 EOF |
8410 echo "$ac_t""no" 1>&6 | 8442 echo "$ac_t""no" 1>&6 |
8411 fi | 8443 fi |
8412 rm -f conftest* | 8444 rm -f conftest* |
8413 | 8445 |
8414 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8446 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
8415 echo "configure:8416: checking whether localtime caches TZ" >&5 | 8447 echo "configure:8448: checking whether localtime caches TZ" >&5 |
8416 | 8448 |
8417 if test "$ac_cv_func_tzset" = "yes"; then | 8449 if test "$ac_cv_func_tzset" = "yes"; then |
8418 cat > conftest.$ac_ext <<EOF | 8450 cat > conftest.$ac_ext <<EOF |
8419 #line 8420 "configure" | 8451 #line 8452 "configure" |
8420 #include "confdefs.h" | 8452 #include "confdefs.h" |
8421 #include <time.h> | 8453 #include <time.h> |
8422 #if STDC_HEADERS | 8454 #if STDC_HEADERS |
8423 # include <stdlib.h> | 8455 # include <stdlib.h> |
8424 #endif | 8456 #endif |
8449 if (localtime (&now)->tm_hour != hour_unset) | 8481 if (localtime (&now)->tm_hour != hour_unset) |
8450 exit (1); | 8482 exit (1); |
8451 exit (0); | 8483 exit (0); |
8452 } | 8484 } |
8453 EOF | 8485 EOF |
8454 if { (eval echo configure:8455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8486 if { (eval echo configure:8487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8455 then | 8487 then |
8456 emacs_cv_localtime_cache=no | 8488 emacs_cv_localtime_cache=no |
8457 else | 8489 else |
8458 echo "configure: failed program was:" >&5 | 8490 echo "configure: failed program was:" >&5 |
8459 cat conftest.$ac_ext >&5 | 8491 cat conftest.$ac_ext >&5 |
8478 | 8510 |
8479 fi | 8511 fi |
8480 | 8512 |
8481 if test "$HAVE_TIMEVAL" = "yes"; then | 8513 if test "$HAVE_TIMEVAL" = "yes"; then |
8482 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8514 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
8483 echo "configure:8484: checking whether gettimeofday accepts one or two arguments" >&5 | 8515 echo "configure:8516: checking whether gettimeofday accepts one or two arguments" >&5 |
8484 cat > conftest.$ac_ext <<EOF | 8516 cat > conftest.$ac_ext <<EOF |
8485 #line 8486 "configure" | 8517 #line 8518 "configure" |
8486 #include "confdefs.h" | 8518 #include "confdefs.h" |
8487 | 8519 |
8488 #ifdef TIME_WITH_SYS_TIME | 8520 #ifdef TIME_WITH_SYS_TIME |
8489 #include <sys/time.h> | 8521 #include <sys/time.h> |
8490 #include <time.h> | 8522 #include <time.h> |
8502 struct timezone dummy; | 8534 struct timezone dummy; |
8503 gettimeofday (&time, &dummy); | 8535 gettimeofday (&time, &dummy); |
8504 | 8536 |
8505 ; return 0; } | 8537 ; return 0; } |
8506 EOF | 8538 EOF |
8507 if { (eval echo configure:8508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8539 if { (eval echo configure:8540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8508 rm -rf conftest* | 8540 rm -rf conftest* |
8509 echo "$ac_t""two" 1>&6 | 8541 echo "$ac_t""two" 1>&6 |
8510 else | 8542 else |
8511 echo "configure: failed program was:" >&5 | 8543 echo "configure: failed program was:" >&5 |
8512 cat conftest.$ac_ext >&5 | 8544 cat conftest.$ac_ext >&5 |
8524 rm -f conftest* | 8556 rm -f conftest* |
8525 fi | 8557 fi |
8526 | 8558 |
8527 | 8559 |
8528 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8560 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
8529 echo "configure:8530: checking for inline" >&5 | 8561 echo "configure:8562: checking for inline" >&5 |
8530 | 8562 |
8531 ac_cv_c_inline=no | 8563 ac_cv_c_inline=no |
8532 for ac_kw in inline __inline__ __inline; do | 8564 for ac_kw in inline __inline__ __inline; do |
8533 cat > conftest.$ac_ext <<EOF | 8565 cat > conftest.$ac_ext <<EOF |
8534 #line 8535 "configure" | 8566 #line 8567 "configure" |
8535 #include "confdefs.h" | 8567 #include "confdefs.h" |
8536 | 8568 |
8537 int main() { | 8569 int main() { |
8538 } $ac_kw foo() { | 8570 } $ac_kw foo() { |
8539 ; return 0; } | 8571 ; return 0; } |
8540 EOF | 8572 EOF |
8541 if { (eval echo configure:8542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8573 if { (eval echo configure:8574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8542 rm -rf conftest* | 8574 rm -rf conftest* |
8543 ac_cv_c_inline=$ac_kw; break | 8575 ac_cv_c_inline=$ac_kw; break |
8544 else | 8576 else |
8545 echo "configure: failed program was:" >&5 | 8577 echo "configure: failed program was:" >&5 |
8546 cat conftest.$ac_ext >&5 | 8578 cat conftest.$ac_ext >&5 |
8586 | 8618 |
8587 | 8619 |
8588 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8620 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
8589 # for constant arguments. Useless! | 8621 # for constant arguments. Useless! |
8590 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8622 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
8591 echo "configure:8592: checking for working alloca.h" >&5 | 8623 echo "configure:8624: checking for working alloca.h" >&5 |
8592 | 8624 |
8593 cat > conftest.$ac_ext <<EOF | 8625 cat > conftest.$ac_ext <<EOF |
8594 #line 8595 "configure" | 8626 #line 8627 "configure" |
8595 #include "confdefs.h" | 8627 #include "confdefs.h" |
8596 #include <alloca.h> | 8628 #include <alloca.h> |
8597 int main() { | 8629 int main() { |
8598 char *p = alloca(2 * sizeof(int)); | 8630 char *p = alloca(2 * sizeof(int)); |
8599 ; return 0; } | 8631 ; return 0; } |
8600 EOF | 8632 EOF |
8601 if { (eval echo configure:8602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8633 if { (eval echo configure:8634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8602 rm -rf conftest* | 8634 rm -rf conftest* |
8603 ac_cv_header_alloca_h=yes | 8635 ac_cv_header_alloca_h=yes |
8604 else | 8636 else |
8605 echo "configure: failed program was:" >&5 | 8637 echo "configure: failed program was:" >&5 |
8606 cat conftest.$ac_ext >&5 | 8638 cat conftest.$ac_ext >&5 |
8620 } | 8652 } |
8621 | 8653 |
8622 fi | 8654 fi |
8623 | 8655 |
8624 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8656 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
8625 echo "configure:8626: checking for alloca" >&5 | 8657 echo "configure:8658: checking for alloca" >&5 |
8626 | 8658 |
8627 cat > conftest.$ac_ext <<EOF | 8659 cat > conftest.$ac_ext <<EOF |
8628 #line 8629 "configure" | 8660 #line 8661 "configure" |
8629 #include "confdefs.h" | 8661 #include "confdefs.h" |
8630 | 8662 |
8631 #ifdef __GNUC__ | 8663 #ifdef __GNUC__ |
8632 # define alloca __builtin_alloca | 8664 # define alloca __builtin_alloca |
8633 #else | 8665 #else |
8646 | 8678 |
8647 int main() { | 8679 int main() { |
8648 char *p = (char *) alloca(1); | 8680 char *p = (char *) alloca(1); |
8649 ; return 0; } | 8681 ; return 0; } |
8650 EOF | 8682 EOF |
8651 if { (eval echo configure:8652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8683 if { (eval echo configure:8684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8652 rm -rf conftest* | 8684 rm -rf conftest* |
8653 ac_cv_func_alloca_works=yes | 8685 ac_cv_func_alloca_works=yes |
8654 else | 8686 else |
8655 echo "configure: failed program was:" >&5 | 8687 echo "configure: failed program was:" >&5 |
8656 cat conftest.$ac_ext >&5 | 8688 cat conftest.$ac_ext >&5 |
8685 EOF | 8717 EOF |
8686 } | 8718 } |
8687 | 8719 |
8688 | 8720 |
8689 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8721 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
8690 echo "configure:8691: checking whether alloca needs Cray hooks" >&5 | 8722 echo "configure:8723: checking whether alloca needs Cray hooks" >&5 |
8691 | 8723 |
8692 cat > conftest.$ac_ext <<EOF | 8724 cat > conftest.$ac_ext <<EOF |
8693 #line 8694 "configure" | 8725 #line 8726 "configure" |
8694 #include "confdefs.h" | 8726 #include "confdefs.h" |
8695 #if defined(CRAY) && ! defined(CRAY2) | 8727 #if defined(CRAY) && ! defined(CRAY2) |
8696 webecray | 8728 webecray |
8697 #else | 8729 #else |
8698 wenotbecray | 8730 wenotbecray |
8712 | 8744 |
8713 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8745 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
8714 if test $ac_cv_os_cray = yes; then | 8746 if test $ac_cv_os_cray = yes; then |
8715 for ac_func in _getb67 GETB67 getb67; do | 8747 for ac_func in _getb67 GETB67 getb67; do |
8716 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8717 echo "configure:8718: checking for $ac_func" >&5 | 8749 echo "configure:8750: checking for $ac_func" >&5 |
8718 | 8750 |
8719 cat > conftest.$ac_ext <<EOF | 8751 cat > conftest.$ac_ext <<EOF |
8720 #line 8721 "configure" | 8752 #line 8753 "configure" |
8721 #include "confdefs.h" | 8753 #include "confdefs.h" |
8722 /* System header to define __stub macros and hopefully few prototypes, | 8754 /* System header to define __stub macros and hopefully few prototypes, |
8723 which can conflict with char $ac_func(); below. */ | 8755 which can conflict with char $ac_func(); below. */ |
8724 #include <assert.h> | 8756 #include <assert.h> |
8725 /* Override any gcc2 internal prototype to avoid an error. */ | 8757 /* Override any gcc2 internal prototype to avoid an error. */ |
8738 $ac_func(); | 8770 $ac_func(); |
8739 #endif | 8771 #endif |
8740 | 8772 |
8741 ; return 0; } | 8773 ; return 0; } |
8742 EOF | 8774 EOF |
8743 if { (eval echo configure:8744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8775 if { (eval echo configure:8776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8744 rm -rf conftest* | 8776 rm -rf conftest* |
8745 eval "ac_cv_func_$ac_func=yes" | 8777 eval "ac_cv_func_$ac_func=yes" |
8746 else | 8778 else |
8747 echo "configure: failed program was:" >&5 | 8779 echo "configure: failed program was:" >&5 |
8748 cat conftest.$ac_ext >&5 | 8780 cat conftest.$ac_ext >&5 |
8768 | 8800 |
8769 done | 8801 done |
8770 fi | 8802 fi |
8771 | 8803 |
8772 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8804 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
8773 echo "configure:8774: checking stack direction for C alloca" >&5 | 8805 echo "configure:8806: checking stack direction for C alloca" >&5 |
8774 | 8806 |
8775 cat > conftest.$ac_ext <<EOF | 8807 cat > conftest.$ac_ext <<EOF |
8776 #line 8777 "configure" | 8808 #line 8809 "configure" |
8777 #include "confdefs.h" | 8809 #include "confdefs.h" |
8778 find_stack_direction () | 8810 find_stack_direction () |
8779 { | 8811 { |
8780 static char *addr = 0; | 8812 static char *addr = 0; |
8781 auto char dummy; | 8813 auto char dummy; |
8790 main () | 8822 main () |
8791 { | 8823 { |
8792 exit (find_stack_direction() < 0); | 8824 exit (find_stack_direction() < 0); |
8793 } | 8825 } |
8794 EOF | 8826 EOF |
8795 if { (eval echo configure:8796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8827 if { (eval echo configure:8828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8796 then | 8828 then |
8797 ac_cv_c_stack_direction=1 | 8829 ac_cv_c_stack_direction=1 |
8798 else | 8830 else |
8799 echo "configure: failed program was:" >&5 | 8831 echo "configure: failed program was:" >&5 |
8800 cat conftest.$ac_ext >&5 | 8832 cat conftest.$ac_ext >&5 |
8818 echo " xemacs will be linked with \"$ALLOCA\"" | 8850 echo " xemacs will be linked with \"$ALLOCA\"" |
8819 fi | 8851 fi |
8820 | 8852 |
8821 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8853 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8822 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8854 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8823 echo "configure:8824: checking for vfork.h" >&5 | 8855 echo "configure:8856: checking for vfork.h" >&5 |
8824 | 8856 |
8825 cat > conftest.$ac_ext <<EOF | 8857 cat > conftest.$ac_ext <<EOF |
8826 #line 8827 "configure" | 8858 #line 8859 "configure" |
8827 #include "confdefs.h" | 8859 #include "confdefs.h" |
8828 #include <vfork.h> | 8860 #include <vfork.h> |
8829 EOF | 8861 EOF |
8830 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8862 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8831 { (eval echo configure:8832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8863 { (eval echo configure:8864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8832 ac_err=`grep -v '^ *+' conftest.out` | 8864 ac_err=`grep -v '^ *+' conftest.out` |
8833 if test -z "$ac_err"; then | 8865 if test -z "$ac_err"; then |
8834 rm -rf conftest* | 8866 rm -rf conftest* |
8835 eval "ac_cv_header_$ac_safe=yes" | 8867 eval "ac_cv_header_$ac_safe=yes" |
8836 else | 8868 else |
8854 else | 8886 else |
8855 echo "$ac_t""no" 1>&6 | 8887 echo "$ac_t""no" 1>&6 |
8856 fi | 8888 fi |
8857 | 8889 |
8858 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8890 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8859 echo "configure:8860: checking for working vfork" >&5 | 8891 echo "configure:8892: checking for working vfork" >&5 |
8860 | 8892 |
8861 cat > conftest.$ac_ext <<EOF | 8893 cat > conftest.$ac_ext <<EOF |
8862 #line 8863 "configure" | 8894 #line 8895 "configure" |
8863 #include "confdefs.h" | 8895 #include "confdefs.h" |
8864 /* Thanks to Paul Eggert for this test. */ | 8896 /* Thanks to Paul Eggert for this test. */ |
8865 #include <stdio.h> | 8897 #include <stdio.h> |
8866 #include <sys/types.h> | 8898 #include <sys/types.h> |
8867 #include <sys/stat.h> | 8899 #include <sys/stat.h> |
8952 || fstat(fileno(stdout), &st) != 0 | 8984 || fstat(fileno(stdout), &st) != 0 |
8953 ); | 8985 ); |
8954 } | 8986 } |
8955 } | 8987 } |
8956 EOF | 8988 EOF |
8957 if { (eval echo configure:8958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8989 if { (eval echo configure:8990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8958 then | 8990 then |
8959 ac_cv_func_vfork_works=yes | 8991 ac_cv_func_vfork_works=yes |
8960 else | 8992 else |
8961 echo "configure: failed program was:" >&5 | 8993 echo "configure: failed program was:" >&5 |
8962 cat conftest.$ac_ext >&5 | 8994 cat conftest.$ac_ext >&5 |
8977 | 9009 |
8978 fi | 9010 fi |
8979 | 9011 |
8980 | 9012 |
8981 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9013 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
8982 echo "configure:8983: checking for working strcoll" >&5 | 9014 echo "configure:9015: checking for working strcoll" >&5 |
8983 | 9015 |
8984 cat > conftest.$ac_ext <<EOF | 9016 cat > conftest.$ac_ext <<EOF |
8985 #line 8986 "configure" | 9017 #line 9018 "configure" |
8986 #include "confdefs.h" | 9018 #include "confdefs.h" |
8987 #include <string.h> | 9019 #include <string.h> |
8988 main () | 9020 main () |
8989 { | 9021 { |
8990 exit (strcoll ("abc", "def") >= 0 || | 9022 exit (strcoll ("abc", "def") >= 0 || |
8991 strcoll ("ABC", "DEF") >= 0 || | 9023 strcoll ("ABC", "DEF") >= 0 || |
8992 strcoll ("123", "456") >= 0); | 9024 strcoll ("123", "456") >= 0); |
8993 } | 9025 } |
8994 EOF | 9026 EOF |
8995 if { (eval echo configure:8996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9027 if { (eval echo configure:9028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8996 then | 9028 then |
8997 ac_cv_func_strcoll_works=yes | 9029 ac_cv_func_strcoll_works=yes |
8998 else | 9030 else |
8999 echo "configure: failed program was:" >&5 | 9031 echo "configure: failed program was:" >&5 |
9000 cat conftest.$ac_ext >&5 | 9032 cat conftest.$ac_ext >&5 |
9017 | 9049 |
9018 | 9050 |
9019 for ac_func in getpgrp | 9051 for ac_func in getpgrp |
9020 do | 9052 do |
9021 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9022 echo "configure:9023: checking for $ac_func" >&5 | 9054 echo "configure:9055: checking for $ac_func" >&5 |
9023 | 9055 |
9024 cat > conftest.$ac_ext <<EOF | 9056 cat > conftest.$ac_ext <<EOF |
9025 #line 9026 "configure" | 9057 #line 9058 "configure" |
9026 #include "confdefs.h" | 9058 #include "confdefs.h" |
9027 /* System header to define __stub macros and hopefully few prototypes, | 9059 /* System header to define __stub macros and hopefully few prototypes, |
9028 which can conflict with char $ac_func(); below. */ | 9060 which can conflict with char $ac_func(); below. */ |
9029 #include <assert.h> | 9061 #include <assert.h> |
9030 /* Override any gcc2 internal prototype to avoid an error. */ | 9062 /* Override any gcc2 internal prototype to avoid an error. */ |
9043 $ac_func(); | 9075 $ac_func(); |
9044 #endif | 9076 #endif |
9045 | 9077 |
9046 ; return 0; } | 9078 ; return 0; } |
9047 EOF | 9079 EOF |
9048 if { (eval echo configure:9049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9080 if { (eval echo configure:9081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9049 rm -rf conftest* | 9081 rm -rf conftest* |
9050 eval "ac_cv_func_$ac_func=yes" | 9082 eval "ac_cv_func_$ac_func=yes" |
9051 else | 9083 else |
9052 echo "configure: failed program was:" >&5 | 9084 echo "configure: failed program was:" >&5 |
9053 cat conftest.$ac_ext >&5 | 9085 cat conftest.$ac_ext >&5 |
9071 echo "$ac_t""no" 1>&6 | 9103 echo "$ac_t""no" 1>&6 |
9072 fi | 9104 fi |
9073 done | 9105 done |
9074 | 9106 |
9075 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9107 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9076 echo "configure:9077: checking whether getpgrp takes no argument" >&5 | 9108 echo "configure:9109: checking whether getpgrp takes no argument" >&5 |
9077 | 9109 |
9078 cat > conftest.$ac_ext <<EOF | 9110 cat > conftest.$ac_ext <<EOF |
9079 #line 9080 "configure" | 9111 #line 9112 "configure" |
9080 #include "confdefs.h" | 9112 #include "confdefs.h" |
9081 | 9113 |
9082 /* | 9114 /* |
9083 * If this system has a BSD-style getpgrp(), | 9115 * If this system has a BSD-style getpgrp(), |
9084 * which takes a pid argument, exit unsuccessfully. | 9116 * which takes a pid argument, exit unsuccessfully. |
9129 exit(s>>8); | 9161 exit(s>>8); |
9130 } | 9162 } |
9131 } | 9163 } |
9132 | 9164 |
9133 EOF | 9165 EOF |
9134 if { (eval echo configure:9135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9166 if { (eval echo configure:9167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
9135 then | 9167 then |
9136 ac_cv_func_getpgrp_void=yes | 9168 ac_cv_func_getpgrp_void=yes |
9137 else | 9169 else |
9138 echo "configure: failed program was:" >&5 | 9170 echo "configure: failed program was:" >&5 |
9139 cat conftest.$ac_ext >&5 | 9171 cat conftest.$ac_ext >&5 |
9155 | 9187 |
9156 fi | 9188 fi |
9157 | 9189 |
9158 | 9190 |
9159 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9191 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9160 echo "configure:9161: checking for working mmap" >&5 | 9192 echo "configure:9193: checking for working mmap" >&5 |
9161 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9193 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9162 cat > conftest.$ac_ext <<EOF | 9194 cat > conftest.$ac_ext <<EOF |
9163 #line 9164 "configure" | 9195 #line 9196 "configure" |
9164 #include "confdefs.h" | 9196 #include "confdefs.h" |
9165 #include <stdio.h> | 9197 #include <stdio.h> |
9166 #include <unistd.h> | 9198 #include <unistd.h> |
9167 #include <fcntl.h> | 9199 #include <fcntl.h> |
9168 #include <sys/mman.h> | 9200 #include <sys/mman.h> |
9191 return 0; | 9223 return 0; |
9192 perror ("conftest: mmap failed"); | 9224 perror ("conftest: mmap failed"); |
9193 return 1; | 9225 return 1; |
9194 } | 9226 } |
9195 EOF | 9227 EOF |
9196 if { (eval echo configure:9197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9228 if { (eval echo configure:9229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
9197 then | 9229 then |
9198 have_mmap=yes | 9230 have_mmap=yes |
9199 else | 9231 else |
9200 echo "configure: failed program was:" >&5 | 9232 echo "configure: failed program was:" >&5 |
9201 cat conftest.$ac_ext >&5 | 9233 cat conftest.$ac_ext >&5 |
9225 } | 9257 } |
9226 | 9258 |
9227 | 9259 |
9228 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9260 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9229 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9261 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9230 echo "configure:9231: checking for termios.h" >&5 | 9262 echo "configure:9263: checking for termios.h" >&5 |
9231 | 9263 |
9232 cat > conftest.$ac_ext <<EOF | 9264 cat > conftest.$ac_ext <<EOF |
9233 #line 9234 "configure" | 9265 #line 9266 "configure" |
9234 #include "confdefs.h" | 9266 #include "confdefs.h" |
9235 #include <termios.h> | 9267 #include <termios.h> |
9236 EOF | 9268 EOF |
9237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9269 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9238 { (eval echo configure:9239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9270 { (eval echo configure:9271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9239 ac_err=`grep -v '^ *+' conftest.out` | 9271 ac_err=`grep -v '^ *+' conftest.out` |
9240 if test -z "$ac_err"; then | 9272 if test -z "$ac_err"; then |
9241 rm -rf conftest* | 9273 rm -rf conftest* |
9242 eval "ac_cv_header_$ac_safe=yes" | 9274 eval "ac_cv_header_$ac_safe=yes" |
9243 else | 9275 else |
9276 | 9308 |
9277 else | 9309 else |
9278 echo "$ac_t""no" 1>&6 | 9310 echo "$ac_t""no" 1>&6 |
9279 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9311 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
9280 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9312 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
9281 echo "configure:9282: checking for termio.h" >&5 | 9313 echo "configure:9314: checking for termio.h" >&5 |
9282 | 9314 |
9283 cat > conftest.$ac_ext <<EOF | 9315 cat > conftest.$ac_ext <<EOF |
9284 #line 9285 "configure" | 9316 #line 9317 "configure" |
9285 #include "confdefs.h" | 9317 #include "confdefs.h" |
9286 #include <termio.h> | 9318 #include <termio.h> |
9287 EOF | 9319 EOF |
9288 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9289 { (eval echo configure:9290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9321 { (eval echo configure:9322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9290 ac_err=`grep -v '^ *+' conftest.out` | 9322 ac_err=`grep -v '^ *+' conftest.out` |
9291 if test -z "$ac_err"; then | 9323 if test -z "$ac_err"; then |
9292 rm -rf conftest* | 9324 rm -rf conftest* |
9293 eval "ac_cv_header_$ac_safe=yes" | 9325 eval "ac_cv_header_$ac_safe=yes" |
9294 else | 9326 else |
9316 fi | 9348 fi |
9317 | 9349 |
9318 | 9350 |
9319 | 9351 |
9320 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9352 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
9321 echo "configure:9322: checking for socket" >&5 | 9353 echo "configure:9354: checking for socket" >&5 |
9322 | 9354 |
9323 cat > conftest.$ac_ext <<EOF | 9355 cat > conftest.$ac_ext <<EOF |
9324 #line 9325 "configure" | 9356 #line 9357 "configure" |
9325 #include "confdefs.h" | 9357 #include "confdefs.h" |
9326 /* System header to define __stub macros and hopefully few prototypes, | 9358 /* System header to define __stub macros and hopefully few prototypes, |
9327 which can conflict with char socket(); below. */ | 9359 which can conflict with char socket(); below. */ |
9328 #include <assert.h> | 9360 #include <assert.h> |
9329 /* Override any gcc2 internal prototype to avoid an error. */ | 9361 /* Override any gcc2 internal prototype to avoid an error. */ |
9342 socket(); | 9374 socket(); |
9343 #endif | 9375 #endif |
9344 | 9376 |
9345 ; return 0; } | 9377 ; return 0; } |
9346 EOF | 9378 EOF |
9347 if { (eval echo configure:9348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9379 if { (eval echo configure:9380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9348 rm -rf conftest* | 9380 rm -rf conftest* |
9349 eval "ac_cv_func_socket=yes" | 9381 eval "ac_cv_func_socket=yes" |
9350 else | 9382 else |
9351 echo "configure: failed program was:" >&5 | 9383 echo "configure: failed program was:" >&5 |
9352 cat conftest.$ac_ext >&5 | 9384 cat conftest.$ac_ext >&5 |
9357 | 9389 |
9358 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 9390 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
9359 echo "$ac_t""yes" 1>&6 | 9391 echo "$ac_t""yes" 1>&6 |
9360 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 9392 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
9361 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 9393 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
9362 echo "configure:9363: checking for netinet/in.h" >&5 | 9394 echo "configure:9395: checking for netinet/in.h" >&5 |
9363 | 9395 |
9364 cat > conftest.$ac_ext <<EOF | 9396 cat > conftest.$ac_ext <<EOF |
9365 #line 9366 "configure" | 9397 #line 9398 "configure" |
9366 #include "confdefs.h" | 9398 #include "confdefs.h" |
9367 #include <netinet/in.h> | 9399 #include <netinet/in.h> |
9368 EOF | 9400 EOF |
9369 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9401 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9370 { (eval echo configure:9371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9402 { (eval echo configure:9403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9371 ac_err=`grep -v '^ *+' conftest.out` | 9403 ac_err=`grep -v '^ *+' conftest.out` |
9372 if test -z "$ac_err"; then | 9404 if test -z "$ac_err"; then |
9373 rm -rf conftest* | 9405 rm -rf conftest* |
9374 eval "ac_cv_header_$ac_safe=yes" | 9406 eval "ac_cv_header_$ac_safe=yes" |
9375 else | 9407 else |
9382 rm -f conftest* | 9414 rm -f conftest* |
9383 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9415 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9384 echo "$ac_t""yes" 1>&6 | 9416 echo "$ac_t""yes" 1>&6 |
9385 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 9417 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
9386 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 9418 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
9387 echo "configure:9388: checking for arpa/inet.h" >&5 | 9419 echo "configure:9420: checking for arpa/inet.h" >&5 |
9388 | 9420 |
9389 cat > conftest.$ac_ext <<EOF | 9421 cat > conftest.$ac_ext <<EOF |
9390 #line 9391 "configure" | 9422 #line 9423 "configure" |
9391 #include "confdefs.h" | 9423 #include "confdefs.h" |
9392 #include <arpa/inet.h> | 9424 #include <arpa/inet.h> |
9393 EOF | 9425 EOF |
9394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9426 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9395 { (eval echo configure:9396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9427 { (eval echo configure:9428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9396 ac_err=`grep -v '^ *+' conftest.out` | 9428 ac_err=`grep -v '^ *+' conftest.out` |
9397 if test -z "$ac_err"; then | 9429 if test -z "$ac_err"; then |
9398 rm -rf conftest* | 9430 rm -rf conftest* |
9399 eval "ac_cv_header_$ac_safe=yes" | 9431 eval "ac_cv_header_$ac_safe=yes" |
9400 else | 9432 else |
9415 #define HAVE_SOCKETS 1 | 9447 #define HAVE_SOCKETS 1 |
9416 EOF | 9448 EOF |
9417 } | 9449 } |
9418 | 9450 |
9419 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 9451 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
9420 echo "configure:9421: checking "for sun_len member in struct sockaddr_un"" >&5 | 9452 echo "configure:9453: checking "for sun_len member in struct sockaddr_un"" >&5 |
9421 cat > conftest.$ac_ext <<EOF | 9453 cat > conftest.$ac_ext <<EOF |
9422 #line 9423 "configure" | 9454 #line 9455 "configure" |
9423 #include "confdefs.h" | 9455 #include "confdefs.h" |
9424 | 9456 |
9425 #include <sys/types.h> | 9457 #include <sys/types.h> |
9426 #include <sys/socket.h> | 9458 #include <sys/socket.h> |
9427 #include <sys/un.h> | 9459 #include <sys/un.h> |
9428 | 9460 |
9429 int main() { | 9461 int main() { |
9430 static struct sockaddr_un x; x.sun_len = 1; | 9462 static struct sockaddr_un x; x.sun_len = 1; |
9431 ; return 0; } | 9463 ; return 0; } |
9432 EOF | 9464 EOF |
9433 if { (eval echo configure:9434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9465 if { (eval echo configure:9466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9434 rm -rf conftest* | 9466 rm -rf conftest* |
9435 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9467 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9436 Defining HAVE_SOCKADDR_SUN_LEN | 9468 Defining HAVE_SOCKADDR_SUN_LEN |
9437 EOF | 9469 EOF |
9438 cat >> confdefs.h <<\EOF | 9470 cat >> confdefs.h <<\EOF |
9446 rm -rf conftest* | 9478 rm -rf conftest* |
9447 echo "$ac_t""no" 1>&6 | 9479 echo "$ac_t""no" 1>&6 |
9448 fi | 9480 fi |
9449 rm -f conftest* | 9481 rm -f conftest* |
9450 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 9482 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
9451 echo "configure:9452: checking "for ip_mreq struct in netinet/in.h"" >&5 | 9483 echo "configure:9484: checking "for ip_mreq struct in netinet/in.h"" >&5 |
9452 cat > conftest.$ac_ext <<EOF | 9484 cat > conftest.$ac_ext <<EOF |
9453 #line 9454 "configure" | 9485 #line 9486 "configure" |
9454 #include "confdefs.h" | 9486 #include "confdefs.h" |
9455 | 9487 |
9456 #include <netinet/in.h> | 9488 #include <netinet/in.h> |
9457 | 9489 |
9458 int main() { | 9490 int main() { |
9459 static struct ip_mreq x; | 9491 static struct ip_mreq x; |
9460 ; return 0; } | 9492 ; return 0; } |
9461 EOF | 9493 EOF |
9462 if { (eval echo configure:9463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9494 if { (eval echo configure:9495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9463 rm -rf conftest* | 9495 rm -rf conftest* |
9464 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9496 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9465 Defining HAVE_MULTICAST | 9497 Defining HAVE_MULTICAST |
9466 EOF | 9498 EOF |
9467 cat >> confdefs.h <<\EOF | 9499 cat >> confdefs.h <<\EOF |
9488 echo "$ac_t""no" 1>&6 | 9520 echo "$ac_t""no" 1>&6 |
9489 fi | 9521 fi |
9490 | 9522 |
9491 | 9523 |
9492 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 9524 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
9493 echo "configure:9494: checking for msgget" >&5 | 9525 echo "configure:9526: checking for msgget" >&5 |
9494 | 9526 |
9495 cat > conftest.$ac_ext <<EOF | 9527 cat > conftest.$ac_ext <<EOF |
9496 #line 9497 "configure" | 9528 #line 9529 "configure" |
9497 #include "confdefs.h" | 9529 #include "confdefs.h" |
9498 /* System header to define __stub macros and hopefully few prototypes, | 9530 /* System header to define __stub macros and hopefully few prototypes, |
9499 which can conflict with char msgget(); below. */ | 9531 which can conflict with char msgget(); below. */ |
9500 #include <assert.h> | 9532 #include <assert.h> |
9501 /* Override any gcc2 internal prototype to avoid an error. */ | 9533 /* Override any gcc2 internal prototype to avoid an error. */ |
9514 msgget(); | 9546 msgget(); |
9515 #endif | 9547 #endif |
9516 | 9548 |
9517 ; return 0; } | 9549 ; return 0; } |
9518 EOF | 9550 EOF |
9519 if { (eval echo configure:9520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9551 if { (eval echo configure:9552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9520 rm -rf conftest* | 9552 rm -rf conftest* |
9521 eval "ac_cv_func_msgget=yes" | 9553 eval "ac_cv_func_msgget=yes" |
9522 else | 9554 else |
9523 echo "configure: failed program was:" >&5 | 9555 echo "configure: failed program was:" >&5 |
9524 cat conftest.$ac_ext >&5 | 9556 cat conftest.$ac_ext >&5 |
9529 | 9561 |
9530 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 9562 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
9531 echo "$ac_t""yes" 1>&6 | 9563 echo "$ac_t""yes" 1>&6 |
9532 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 9564 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
9533 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 9565 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
9534 echo "configure:9535: checking for sys/ipc.h" >&5 | 9566 echo "configure:9567: checking for sys/ipc.h" >&5 |
9535 | 9567 |
9536 cat > conftest.$ac_ext <<EOF | 9568 cat > conftest.$ac_ext <<EOF |
9537 #line 9538 "configure" | 9569 #line 9570 "configure" |
9538 #include "confdefs.h" | 9570 #include "confdefs.h" |
9539 #include <sys/ipc.h> | 9571 #include <sys/ipc.h> |
9540 EOF | 9572 EOF |
9541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9542 { (eval echo configure:9543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9574 { (eval echo configure:9575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9543 ac_err=`grep -v '^ *+' conftest.out` | 9575 ac_err=`grep -v '^ *+' conftest.out` |
9544 if test -z "$ac_err"; then | 9576 if test -z "$ac_err"; then |
9545 rm -rf conftest* | 9577 rm -rf conftest* |
9546 eval "ac_cv_header_$ac_safe=yes" | 9578 eval "ac_cv_header_$ac_safe=yes" |
9547 else | 9579 else |
9554 rm -f conftest* | 9586 rm -f conftest* |
9555 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9587 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9556 echo "$ac_t""yes" 1>&6 | 9588 echo "$ac_t""yes" 1>&6 |
9557 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 9589 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
9558 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 9590 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
9559 echo "configure:9560: checking for sys/msg.h" >&5 | 9591 echo "configure:9592: checking for sys/msg.h" >&5 |
9560 | 9592 |
9561 cat > conftest.$ac_ext <<EOF | 9593 cat > conftest.$ac_ext <<EOF |
9562 #line 9563 "configure" | 9594 #line 9595 "configure" |
9563 #include "confdefs.h" | 9595 #include "confdefs.h" |
9564 #include <sys/msg.h> | 9596 #include <sys/msg.h> |
9565 EOF | 9597 EOF |
9566 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9567 { (eval echo configure:9568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9599 { (eval echo configure:9600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9568 ac_err=`grep -v '^ *+' conftest.out` | 9600 ac_err=`grep -v '^ *+' conftest.out` |
9569 if test -z "$ac_err"; then | 9601 if test -z "$ac_err"; then |
9570 rm -rf conftest* | 9602 rm -rf conftest* |
9571 eval "ac_cv_header_$ac_safe=yes" | 9603 eval "ac_cv_header_$ac_safe=yes" |
9572 else | 9604 else |
9600 fi | 9632 fi |
9601 | 9633 |
9602 | 9634 |
9603 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 9635 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
9604 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 9636 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
9605 echo "configure:9606: checking for dirent.h" >&5 | 9637 echo "configure:9638: checking for dirent.h" >&5 |
9606 | 9638 |
9607 cat > conftest.$ac_ext <<EOF | 9639 cat > conftest.$ac_ext <<EOF |
9608 #line 9609 "configure" | 9640 #line 9641 "configure" |
9609 #include "confdefs.h" | 9641 #include "confdefs.h" |
9610 #include <dirent.h> | 9642 #include <dirent.h> |
9611 EOF | 9643 EOF |
9612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9613 { (eval echo configure:9614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9645 { (eval echo configure:9646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9614 ac_err=`grep -v '^ *+' conftest.out` | 9646 ac_err=`grep -v '^ *+' conftest.out` |
9615 if test -z "$ac_err"; then | 9647 if test -z "$ac_err"; then |
9616 rm -rf conftest* | 9648 rm -rf conftest* |
9617 eval "ac_cv_header_$ac_safe=yes" | 9649 eval "ac_cv_header_$ac_safe=yes" |
9618 else | 9650 else |
9635 | 9667 |
9636 else | 9668 else |
9637 echo "$ac_t""no" 1>&6 | 9669 echo "$ac_t""no" 1>&6 |
9638 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 9670 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
9639 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 9671 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
9640 echo "configure:9641: checking for sys/dir.h" >&5 | 9672 echo "configure:9673: checking for sys/dir.h" >&5 |
9641 | 9673 |
9642 cat > conftest.$ac_ext <<EOF | 9674 cat > conftest.$ac_ext <<EOF |
9643 #line 9644 "configure" | 9675 #line 9676 "configure" |
9644 #include "confdefs.h" | 9676 #include "confdefs.h" |
9645 #include <sys/dir.h> | 9677 #include <sys/dir.h> |
9646 EOF | 9678 EOF |
9647 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9648 { (eval echo configure:9649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9680 { (eval echo configure:9681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9649 ac_err=`grep -v '^ *+' conftest.out` | 9681 ac_err=`grep -v '^ *+' conftest.out` |
9650 if test -z "$ac_err"; then | 9682 if test -z "$ac_err"; then |
9651 rm -rf conftest* | 9683 rm -rf conftest* |
9652 eval "ac_cv_header_$ac_safe=yes" | 9684 eval "ac_cv_header_$ac_safe=yes" |
9653 else | 9685 else |
9676 fi | 9708 fi |
9677 | 9709 |
9678 | 9710 |
9679 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 9711 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
9680 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 9712 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
9681 echo "configure:9682: checking for nlist.h" >&5 | 9713 echo "configure:9714: checking for nlist.h" >&5 |
9682 | 9714 |
9683 cat > conftest.$ac_ext <<EOF | 9715 cat > conftest.$ac_ext <<EOF |
9684 #line 9685 "configure" | 9716 #line 9717 "configure" |
9685 #include "confdefs.h" | 9717 #include "confdefs.h" |
9686 #include <nlist.h> | 9718 #include <nlist.h> |
9687 EOF | 9719 EOF |
9688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9720 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9689 { (eval echo configure:9690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9721 { (eval echo configure:9722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9690 ac_err=`grep -v '^ *+' conftest.out` | 9722 ac_err=`grep -v '^ *+' conftest.out` |
9691 if test -z "$ac_err"; then | 9723 if test -z "$ac_err"; then |
9692 rm -rf conftest* | 9724 rm -rf conftest* |
9693 eval "ac_cv_header_$ac_safe=yes" | 9725 eval "ac_cv_header_$ac_safe=yes" |
9694 else | 9726 else |
9714 fi | 9746 fi |
9715 | 9747 |
9716 | 9748 |
9717 | 9749 |
9718 echo "checking "for sound support"" 1>&6 | 9750 echo "checking "for sound support"" 1>&6 |
9719 echo "configure:9720: checking "for sound support"" >&5 | 9751 echo "configure:9752: checking "for sound support"" >&5 |
9720 case "$with_sound" in | 9752 case "$with_sound" in |
9721 native | both ) with_native_sound=yes;; | 9753 native | both ) with_native_sound=yes;; |
9722 nas | no ) with_native_sound=no;; | 9754 nas | no ) with_native_sound=no;; |
9723 esac | 9755 esac |
9724 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 9756 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
9725 | 9757 |
9726 if test "$with_native_sound" != "no"; then | 9758 if test "$with_native_sound" != "no"; then |
9727 if test -n "$native_sound_lib"; then | 9759 if test -n "$native_sound_lib"; then |
9728 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 9760 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
9729 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 9761 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
9730 echo "configure:9731: checking for multimedia/audio_device.h" >&5 | 9762 echo "configure:9763: checking for multimedia/audio_device.h" >&5 |
9731 | 9763 |
9732 cat > conftest.$ac_ext <<EOF | 9764 cat > conftest.$ac_ext <<EOF |
9733 #line 9734 "configure" | 9765 #line 9766 "configure" |
9734 #include "confdefs.h" | 9766 #include "confdefs.h" |
9735 #include <multimedia/audio_device.h> | 9767 #include <multimedia/audio_device.h> |
9736 EOF | 9768 EOF |
9737 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9738 { (eval echo configure:9739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9770 { (eval echo configure:9771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9739 ac_err=`grep -v '^ *+' conftest.out` | 9771 ac_err=`grep -v '^ *+' conftest.out` |
9740 if test -z "$ac_err"; then | 9772 if test -z "$ac_err"; then |
9741 rm -rf conftest* | 9773 rm -rf conftest* |
9742 eval "ac_cv_header_$ac_safe=yes" | 9774 eval "ac_cv_header_$ac_safe=yes" |
9743 else | 9775 else |
9781 case "$canonical" in | 9813 case "$canonical" in |
9782 *-sgi-* ) | 9814 *-sgi-* ) |
9783 if test -z "$native_sound_lib"; then | 9815 if test -z "$native_sound_lib"; then |
9784 | 9816 |
9785 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 9817 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
9786 echo "configure:9787: checking for ALopenport in -laudio" >&5 | 9818 echo "configure:9819: checking for ALopenport in -laudio" >&5 |
9787 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 9819 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
9788 | 9820 |
9789 xe_check_libs=" -laudio " | 9821 xe_check_libs=" -laudio " |
9790 cat > conftest.$ac_ext <<EOF | 9822 cat > conftest.$ac_ext <<EOF |
9791 #line 9792 "configure" | 9823 #line 9824 "configure" |
9792 #include "confdefs.h" | 9824 #include "confdefs.h" |
9793 /* Override any gcc2 internal prototype to avoid an error. */ | 9825 /* Override any gcc2 internal prototype to avoid an error. */ |
9794 /* We use char because int might match the return type of a gcc2 | 9826 /* We use char because int might match the return type of a gcc2 |
9795 builtin and then its argument prototype would still apply. */ | 9827 builtin and then its argument prototype would still apply. */ |
9796 char ALopenport(); | 9828 char ALopenport(); |
9797 | 9829 |
9798 int main() { | 9830 int main() { |
9799 ALopenport() | 9831 ALopenport() |
9800 ; return 0; } | 9832 ; return 0; } |
9801 EOF | 9833 EOF |
9802 if { (eval echo configure:9803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9834 if { (eval echo configure:9835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9803 rm -rf conftest* | 9835 rm -rf conftest* |
9804 eval "ac_cv_lib_$ac_lib_var=yes" | 9836 eval "ac_cv_lib_$ac_lib_var=yes" |
9805 else | 9837 else |
9806 echo "configure: failed program was:" >&5 | 9838 echo "configure: failed program was:" >&5 |
9807 cat conftest.$ac_ext >&5 | 9839 cat conftest.$ac_ext >&5 |
9828 fi ;; | 9860 fi ;; |
9829 hppa*-hp-hpux* ) | 9861 hppa*-hp-hpux* ) |
9830 if test -z "$native_sound_lib"; then | 9862 if test -z "$native_sound_lib"; then |
9831 | 9863 |
9832 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 9864 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
9833 echo "configure:9834: checking for AOpenAudio in -lAlib" >&5 | 9865 echo "configure:9866: checking for AOpenAudio in -lAlib" >&5 |
9834 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 9866 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
9835 | 9867 |
9836 xe_check_libs=" -lAlib " | 9868 xe_check_libs=" -lAlib " |
9837 cat > conftest.$ac_ext <<EOF | 9869 cat > conftest.$ac_ext <<EOF |
9838 #line 9839 "configure" | 9870 #line 9871 "configure" |
9839 #include "confdefs.h" | 9871 #include "confdefs.h" |
9840 /* Override any gcc2 internal prototype to avoid an error. */ | 9872 /* Override any gcc2 internal prototype to avoid an error. */ |
9841 /* We use char because int might match the return type of a gcc2 | 9873 /* We use char because int might match the return type of a gcc2 |
9842 builtin and then its argument prototype would still apply. */ | 9874 builtin and then its argument prototype would still apply. */ |
9843 char AOpenAudio(); | 9875 char AOpenAudio(); |
9844 | 9876 |
9845 int main() { | 9877 int main() { |
9846 AOpenAudio() | 9878 AOpenAudio() |
9847 ; return 0; } | 9879 ; return 0; } |
9848 EOF | 9880 EOF |
9849 if { (eval echo configure:9850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9881 if { (eval echo configure:9882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9850 rm -rf conftest* | 9882 rm -rf conftest* |
9851 eval "ac_cv_lib_$ac_lib_var=yes" | 9883 eval "ac_cv_lib_$ac_lib_var=yes" |
9852 else | 9884 else |
9853 echo "configure: failed program was:" >&5 | 9885 echo "configure: failed program was:" >&5 |
9854 cat conftest.$ac_ext >&5 | 9886 cat conftest.$ac_ext >&5 |
9882 | 9914 |
9883 if test -z "$sound_found"; then | 9915 if test -z "$sound_found"; then |
9884 for dir in "machine" "sys" "linux"; do | 9916 for dir in "machine" "sys" "linux"; do |
9885 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9917 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
9886 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9918 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
9887 echo "configure:9888: checking for ${dir}/soundcard.h" >&5 | 9919 echo "configure:9920: checking for ${dir}/soundcard.h" >&5 |
9888 | 9920 |
9889 cat > conftest.$ac_ext <<EOF | 9921 cat > conftest.$ac_ext <<EOF |
9890 #line 9891 "configure" | 9922 #line 9923 "configure" |
9891 #include "confdefs.h" | 9923 #include "confdefs.h" |
9892 #include <${dir}/soundcard.h> | 9924 #include <${dir}/soundcard.h> |
9893 EOF | 9925 EOF |
9894 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9895 { (eval echo configure:9896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9927 { (eval echo configure:9928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9896 ac_err=`grep -v '^ *+' conftest.out` | 9928 ac_err=`grep -v '^ *+' conftest.out` |
9897 if test -z "$ac_err"; then | 9929 if test -z "$ac_err"; then |
9898 rm -rf conftest* | 9930 rm -rf conftest* |
9899 eval "ac_cv_header_$ac_safe=yes" | 9931 eval "ac_cv_header_$ac_safe=yes" |
9900 else | 9932 else |
9960 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9992 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
9961 echo " xemacs will be linked with \"nas.o\"" | 9993 echo " xemacs will be linked with \"nas.o\"" |
9962 fi | 9994 fi |
9963 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 9995 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
9964 cat > conftest.$ac_ext <<EOF | 9996 cat > conftest.$ac_ext <<EOF |
9965 #line 9966 "configure" | 9997 #line 9998 "configure" |
9966 #include "confdefs.h" | 9998 #include "confdefs.h" |
9967 #include <audio/Xtutil.h> | 9999 #include <audio/Xtutil.h> |
9968 EOF | 10000 EOF |
9969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
9970 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10002 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
9987 | 10019 |
9988 test -z "$with_tty" && with_tty=yes | 10020 test -z "$with_tty" && with_tty=yes |
9989 | 10021 |
9990 if test "$with_tty" = "yes" ; then | 10022 if test "$with_tty" = "yes" ; then |
9991 echo "checking for TTY-related features" 1>&6 | 10023 echo "checking for TTY-related features" 1>&6 |
9992 echo "configure:9993: checking for TTY-related features" >&5 | 10024 echo "configure:10025: checking for TTY-related features" >&5 |
9993 { test "$extra_verbose" = "yes" && cat << \EOF | 10025 { test "$extra_verbose" = "yes" && cat << \EOF |
9994 Defining HAVE_TTY | 10026 Defining HAVE_TTY |
9995 EOF | 10027 EOF |
9996 cat >> confdefs.h <<\EOF | 10028 cat >> confdefs.h <<\EOF |
9997 #define HAVE_TTY 1 | 10029 #define HAVE_TTY 1 |
10003 fi | 10035 fi |
10004 | 10036 |
10005 if test -z "$with_ncurses"; then | 10037 if test -z "$with_ncurses"; then |
10006 | 10038 |
10007 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10039 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10008 echo "configure:10009: checking for tgetent in -lncurses" >&5 | 10040 echo "configure:10041: checking for tgetent in -lncurses" >&5 |
10009 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10041 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10010 | 10042 |
10011 xe_check_libs=" -lncurses " | 10043 xe_check_libs=" -lncurses " |
10012 cat > conftest.$ac_ext <<EOF | 10044 cat > conftest.$ac_ext <<EOF |
10013 #line 10014 "configure" | 10045 #line 10046 "configure" |
10014 #include "confdefs.h" | 10046 #include "confdefs.h" |
10015 /* Override any gcc2 internal prototype to avoid an error. */ | 10047 /* Override any gcc2 internal prototype to avoid an error. */ |
10016 /* We use char because int might match the return type of a gcc2 | 10048 /* We use char because int might match the return type of a gcc2 |
10017 builtin and then its argument prototype would still apply. */ | 10049 builtin and then its argument prototype would still apply. */ |
10018 char tgetent(); | 10050 char tgetent(); |
10019 | 10051 |
10020 int main() { | 10052 int main() { |
10021 tgetent() | 10053 tgetent() |
10022 ; return 0; } | 10054 ; return 0; } |
10023 EOF | 10055 EOF |
10024 if { (eval echo configure:10025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10056 if { (eval echo configure:10057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10025 rm -rf conftest* | 10057 rm -rf conftest* |
10026 eval "ac_cv_lib_$ac_lib_var=yes" | 10058 eval "ac_cv_lib_$ac_lib_var=yes" |
10027 else | 10059 else |
10028 echo "configure: failed program was:" >&5 | 10060 echo "configure: failed program was:" >&5 |
10029 cat conftest.$ac_ext >&5 | 10061 cat conftest.$ac_ext >&5 |
10052 EOF | 10084 EOF |
10053 } | 10085 } |
10054 | 10086 |
10055 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10087 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10056 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10088 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10057 echo "configure:10058: checking for ncurses/curses.h" >&5 | 10089 echo "configure:10090: checking for ncurses/curses.h" >&5 |
10058 | 10090 |
10059 cat > conftest.$ac_ext <<EOF | 10091 cat > conftest.$ac_ext <<EOF |
10060 #line 10061 "configure" | 10092 #line 10093 "configure" |
10061 #include "confdefs.h" | 10093 #include "confdefs.h" |
10062 #include <ncurses/curses.h> | 10094 #include <ncurses/curses.h> |
10063 EOF | 10095 EOF |
10064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10065 { (eval echo configure:10066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10097 { (eval echo configure:10098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10066 ac_err=`grep -v '^ *+' conftest.out` | 10098 ac_err=`grep -v '^ *+' conftest.out` |
10067 if test -z "$ac_err"; then | 10099 if test -z "$ac_err"; then |
10068 rm -rf conftest* | 10100 rm -rf conftest* |
10069 eval "ac_cv_header_$ac_safe=yes" | 10101 eval "ac_cv_header_$ac_safe=yes" |
10070 else | 10102 else |
10082 echo "$ac_t""no" 1>&6 | 10114 echo "$ac_t""no" 1>&6 |
10083 fi | 10115 fi |
10084 | 10116 |
10085 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10117 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10086 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10118 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10087 echo "configure:10088: checking for ncurses/term.h" >&5 | 10119 echo "configure:10120: checking for ncurses/term.h" >&5 |
10088 | 10120 |
10089 cat > conftest.$ac_ext <<EOF | 10121 cat > conftest.$ac_ext <<EOF |
10090 #line 10091 "configure" | 10122 #line 10123 "configure" |
10091 #include "confdefs.h" | 10123 #include "confdefs.h" |
10092 #include <ncurses/term.h> | 10124 #include <ncurses/term.h> |
10093 EOF | 10125 EOF |
10094 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10095 { (eval echo configure:10096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10127 { (eval echo configure:10128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10096 ac_err=`grep -v '^ *+' conftest.out` | 10128 ac_err=`grep -v '^ *+' conftest.out` |
10097 if test -z "$ac_err"; then | 10129 if test -z "$ac_err"; then |
10098 rm -rf conftest* | 10130 rm -rf conftest* |
10099 eval "ac_cv_header_$ac_safe=yes" | 10131 eval "ac_cv_header_$ac_safe=yes" |
10100 else | 10132 else |
10120 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10152 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10121 save_c_switch_site="$c_switch_site" | 10153 save_c_switch_site="$c_switch_site" |
10122 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10154 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10123 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10155 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10124 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10156 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10125 echo "configure:10126: checking for ncurses/curses.h" >&5 | 10157 echo "configure:10158: checking for ncurses/curses.h" >&5 |
10126 | 10158 |
10127 cat > conftest.$ac_ext <<EOF | 10159 cat > conftest.$ac_ext <<EOF |
10128 #line 10129 "configure" | 10160 #line 10161 "configure" |
10129 #include "confdefs.h" | 10161 #include "confdefs.h" |
10130 #include <ncurses/curses.h> | 10162 #include <ncurses/curses.h> |
10131 EOF | 10163 EOF |
10132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10133 { (eval echo configure:10134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10165 { (eval echo configure:10166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10134 ac_err=`grep -v '^ *+' conftest.out` | 10166 ac_err=`grep -v '^ *+' conftest.out` |
10135 if test -z "$ac_err"; then | 10167 if test -z "$ac_err"; then |
10136 rm -rf conftest* | 10168 rm -rf conftest* |
10137 eval "ac_cv_header_$ac_safe=yes" | 10169 eval "ac_cv_header_$ac_safe=yes" |
10138 else | 10170 else |
10163 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10195 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10164 else | 10196 else |
10165 for lib in curses termlib termcap; do | 10197 for lib in curses termlib termcap; do |
10166 | 10198 |
10167 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10199 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10168 echo "configure:10169: checking for tgetent in -l$lib" >&5 | 10200 echo "configure:10201: checking for tgetent in -l$lib" >&5 |
10169 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10201 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10170 | 10202 |
10171 xe_check_libs=" -l$lib " | 10203 xe_check_libs=" -l$lib " |
10172 cat > conftest.$ac_ext <<EOF | 10204 cat > conftest.$ac_ext <<EOF |
10173 #line 10174 "configure" | 10205 #line 10206 "configure" |
10174 #include "confdefs.h" | 10206 #include "confdefs.h" |
10175 /* Override any gcc2 internal prototype to avoid an error. */ | 10207 /* Override any gcc2 internal prototype to avoid an error. */ |
10176 /* We use char because int might match the return type of a gcc2 | 10208 /* We use char because int might match the return type of a gcc2 |
10177 builtin and then its argument prototype would still apply. */ | 10209 builtin and then its argument prototype would still apply. */ |
10178 char tgetent(); | 10210 char tgetent(); |
10179 | 10211 |
10180 int main() { | 10212 int main() { |
10181 tgetent() | 10213 tgetent() |
10182 ; return 0; } | 10214 ; return 0; } |
10183 EOF | 10215 EOF |
10184 if { (eval echo configure:10185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10216 if { (eval echo configure:10217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10185 rm -rf conftest* | 10217 rm -rf conftest* |
10186 eval "ac_cv_lib_$ac_lib_var=yes" | 10218 eval "ac_cv_lib_$ac_lib_var=yes" |
10187 else | 10219 else |
10188 echo "configure: failed program was:" >&5 | 10220 echo "configure: failed program was:" >&5 |
10189 cat conftest.$ac_ext >&5 | 10221 cat conftest.$ac_ext >&5 |
10210 if test -n "$libs_termcap"; then | 10242 if test -n "$libs_termcap"; then |
10211 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10243 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10212 else | 10244 else |
10213 | 10245 |
10214 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10246 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10215 echo "configure:10216: checking for tgetent in -lcurses" >&5 | 10247 echo "configure:10248: checking for tgetent in -lcurses" >&5 |
10216 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10248 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10217 | 10249 |
10218 xe_check_libs=" -lcurses " | 10250 xe_check_libs=" -lcurses " |
10219 cat > conftest.$ac_ext <<EOF | 10251 cat > conftest.$ac_ext <<EOF |
10220 #line 10221 "configure" | 10252 #line 10253 "configure" |
10221 #include "confdefs.h" | 10253 #include "confdefs.h" |
10222 /* Override any gcc2 internal prototype to avoid an error. */ | 10254 /* Override any gcc2 internal prototype to avoid an error. */ |
10223 /* We use char because int might match the return type of a gcc2 | 10255 /* We use char because int might match the return type of a gcc2 |
10224 builtin and then its argument prototype would still apply. */ | 10256 builtin and then its argument prototype would still apply. */ |
10225 char tgetent(); | 10257 char tgetent(); |
10226 | 10258 |
10227 int main() { | 10259 int main() { |
10228 tgetent() | 10260 tgetent() |
10229 ; return 0; } | 10261 ; return 0; } |
10230 EOF | 10262 EOF |
10231 if { (eval echo configure:10232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10263 if { (eval echo configure:10264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10232 rm -rf conftest* | 10264 rm -rf conftest* |
10233 eval "ac_cv_lib_$ac_lib_var=yes" | 10265 eval "ac_cv_lib_$ac_lib_var=yes" |
10234 else | 10266 else |
10235 echo "configure: failed program was:" >&5 | 10267 echo "configure: failed program was:" >&5 |
10236 cat conftest.$ac_ext >&5 | 10268 cat conftest.$ac_ext >&5 |
10244 echo "$ac_t""yes" 1>&6 | 10276 echo "$ac_t""yes" 1>&6 |
10245 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10277 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
10246 else | 10278 else |
10247 echo "$ac_t""no" 1>&6 | 10279 echo "$ac_t""no" 1>&6 |
10248 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10280 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
10249 echo "configure:10250: checking for tgetent in -ltermcap" >&5 | 10281 echo "configure:10282: checking for tgetent in -ltermcap" >&5 |
10250 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10282 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
10251 | 10283 |
10252 xe_check_libs=" -ltermcap " | 10284 xe_check_libs=" -ltermcap " |
10253 cat > conftest.$ac_ext <<EOF | 10285 cat > conftest.$ac_ext <<EOF |
10254 #line 10255 "configure" | 10286 #line 10287 "configure" |
10255 #include "confdefs.h" | 10287 #include "confdefs.h" |
10256 /* Override any gcc2 internal prototype to avoid an error. */ | 10288 /* Override any gcc2 internal prototype to avoid an error. */ |
10257 /* We use char because int might match the return type of a gcc2 | 10289 /* We use char because int might match the return type of a gcc2 |
10258 builtin and then its argument prototype would still apply. */ | 10290 builtin and then its argument prototype would still apply. */ |
10259 char tgetent(); | 10291 char tgetent(); |
10260 | 10292 |
10261 int main() { | 10293 int main() { |
10262 tgetent() | 10294 tgetent() |
10263 ; return 0; } | 10295 ; return 0; } |
10264 EOF | 10296 EOF |
10265 if { (eval echo configure:10266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10297 if { (eval echo configure:10298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10266 rm -rf conftest* | 10298 rm -rf conftest* |
10267 eval "ac_cv_lib_$ac_lib_var=yes" | 10299 eval "ac_cv_lib_$ac_lib_var=yes" |
10268 else | 10300 else |
10269 echo "configure: failed program was:" >&5 | 10301 echo "configure: failed program was:" >&5 |
10270 cat conftest.$ac_ext >&5 | 10302 cat conftest.$ac_ext >&5 |
10308 } | 10340 } |
10309 | 10341 |
10310 | 10342 |
10311 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 10343 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
10312 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 10344 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
10313 echo "configure:10314: checking for gpm.h" >&5 | 10345 echo "configure:10346: checking for gpm.h" >&5 |
10314 | 10346 |
10315 cat > conftest.$ac_ext <<EOF | 10347 cat > conftest.$ac_ext <<EOF |
10316 #line 10317 "configure" | 10348 #line 10349 "configure" |
10317 #include "confdefs.h" | 10349 #include "confdefs.h" |
10318 #include <gpm.h> | 10350 #include <gpm.h> |
10319 EOF | 10351 EOF |
10320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10321 { (eval echo configure:10322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10353 { (eval echo configure:10354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10322 ac_err=`grep -v '^ *+' conftest.out` | 10354 ac_err=`grep -v '^ *+' conftest.out` |
10323 if test -z "$ac_err"; then | 10355 if test -z "$ac_err"; then |
10324 rm -rf conftest* | 10356 rm -rf conftest* |
10325 eval "ac_cv_header_$ac_safe=yes" | 10357 eval "ac_cv_header_$ac_safe=yes" |
10326 else | 10358 else |
10339 with_gpm=no | 10371 with_gpm=no |
10340 fi | 10372 fi |
10341 } | 10373 } |
10342 test -z "$with_gpm" && { | 10374 test -z "$with_gpm" && { |
10343 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 10375 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
10344 echo "configure:10345: checking for Gpm_Open in -lgpm" >&5 | 10376 echo "configure:10377: checking for Gpm_Open in -lgpm" >&5 |
10345 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 10377 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
10346 | 10378 |
10347 xe_check_libs=" -lgpm " | 10379 xe_check_libs=" -lgpm " |
10348 cat > conftest.$ac_ext <<EOF | 10380 cat > conftest.$ac_ext <<EOF |
10349 #line 10350 "configure" | 10381 #line 10382 "configure" |
10350 #include "confdefs.h" | 10382 #include "confdefs.h" |
10351 /* Override any gcc2 internal prototype to avoid an error. */ | 10383 /* Override any gcc2 internal prototype to avoid an error. */ |
10352 /* We use char because int might match the return type of a gcc2 | 10384 /* We use char because int might match the return type of a gcc2 |
10353 builtin and then its argument prototype would still apply. */ | 10385 builtin and then its argument prototype would still apply. */ |
10354 char Gpm_Open(); | 10386 char Gpm_Open(); |
10355 | 10387 |
10356 int main() { | 10388 int main() { |
10357 Gpm_Open() | 10389 Gpm_Open() |
10358 ; return 0; } | 10390 ; return 0; } |
10359 EOF | 10391 EOF |
10360 if { (eval echo configure:10361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10392 if { (eval echo configure:10393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10361 rm -rf conftest* | 10393 rm -rf conftest* |
10362 eval "ac_cv_lib_$ac_lib_var=yes" | 10394 eval "ac_cv_lib_$ac_lib_var=yes" |
10363 else | 10395 else |
10364 echo "configure: failed program was:" >&5 | 10396 echo "configure: failed program was:" >&5 |
10365 cat conftest.$ac_ext >&5 | 10397 cat conftest.$ac_ext >&5 |
10404 echo " xemacs will be linked with \"event-unixoid.o\"" | 10436 echo " xemacs will be linked with \"event-unixoid.o\"" |
10405 fi | 10437 fi |
10406 | 10438 |
10407 | 10439 |
10408 echo "checking for database support" 1>&6 | 10440 echo "checking for database support" 1>&6 |
10409 echo "configure:10410: checking for database support" >&5 | 10441 echo "configure:10442: checking for database support" >&5 |
10410 | 10442 |
10411 if test "$with_database_gnudbm" != "no"; then | 10443 if test "$with_database_gnudbm" != "no"; then |
10412 for ac_hdr in ndbm.h | 10444 for ac_hdr in ndbm.h |
10413 do | 10445 do |
10414 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10446 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10415 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10447 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10416 echo "configure:10417: checking for $ac_hdr" >&5 | 10448 echo "configure:10449: checking for $ac_hdr" >&5 |
10417 | 10449 |
10418 cat > conftest.$ac_ext <<EOF | 10450 cat > conftest.$ac_ext <<EOF |
10419 #line 10420 "configure" | 10451 #line 10452 "configure" |
10420 #include "confdefs.h" | 10452 #include "confdefs.h" |
10421 #include <$ac_hdr> | 10453 #include <$ac_hdr> |
10422 EOF | 10454 EOF |
10423 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10424 { (eval echo configure:10425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10456 { (eval echo configure:10457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10425 ac_err=`grep -v '^ *+' conftest.out` | 10457 ac_err=`grep -v '^ *+' conftest.out` |
10426 if test -z "$ac_err"; then | 10458 if test -z "$ac_err"; then |
10427 rm -rf conftest* | 10459 rm -rf conftest* |
10428 eval "ac_cv_header_$ac_safe=yes" | 10460 eval "ac_cv_header_$ac_safe=yes" |
10429 else | 10461 else |
10451 done | 10483 done |
10452 | 10484 |
10453 if test "$have_ndbm_h" = "yes"; then | 10485 if test "$have_ndbm_h" = "yes"; then |
10454 | 10486 |
10455 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 10487 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
10456 echo "configure:10457: checking for dbm_open in -lgdbm" >&5 | 10488 echo "configure:10489: checking for dbm_open in -lgdbm" >&5 |
10457 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10489 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10458 | 10490 |
10459 xe_check_libs=" -lgdbm " | 10491 xe_check_libs=" -lgdbm " |
10460 cat > conftest.$ac_ext <<EOF | 10492 cat > conftest.$ac_ext <<EOF |
10461 #line 10462 "configure" | 10493 #line 10494 "configure" |
10462 #include "confdefs.h" | 10494 #include "confdefs.h" |
10463 /* Override any gcc2 internal prototype to avoid an error. */ | 10495 /* Override any gcc2 internal prototype to avoid an error. */ |
10464 /* We use char because int might match the return type of a gcc2 | 10496 /* We use char because int might match the return type of a gcc2 |
10465 builtin and then its argument prototype would still apply. */ | 10497 builtin and then its argument prototype would still apply. */ |
10466 char dbm_open(); | 10498 char dbm_open(); |
10467 | 10499 |
10468 int main() { | 10500 int main() { |
10469 dbm_open() | 10501 dbm_open() |
10470 ; return 0; } | 10502 ; return 0; } |
10471 EOF | 10503 EOF |
10472 if { (eval echo configure:10473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10504 if { (eval echo configure:10505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10473 rm -rf conftest* | 10505 rm -rf conftest* |
10474 eval "ac_cv_lib_$ac_lib_var=yes" | 10506 eval "ac_cv_lib_$ac_lib_var=yes" |
10475 else | 10507 else |
10476 echo "configure: failed program was:" >&5 | 10508 echo "configure: failed program was:" >&5 |
10477 cat conftest.$ac_ext >&5 | 10509 cat conftest.$ac_ext >&5 |
10490 | 10522 |
10491 | 10523 |
10492 fi | 10524 fi |
10493 if test "$with_database_gnudbm" != "yes"; then | 10525 if test "$with_database_gnudbm" != "yes"; then |
10494 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10526 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10495 echo "configure:10496: checking for dbm_open" >&5 | 10527 echo "configure:10528: checking for dbm_open" >&5 |
10496 | 10528 |
10497 cat > conftest.$ac_ext <<EOF | 10529 cat > conftest.$ac_ext <<EOF |
10498 #line 10499 "configure" | 10530 #line 10531 "configure" |
10499 #include "confdefs.h" | 10531 #include "confdefs.h" |
10500 /* System header to define __stub macros and hopefully few prototypes, | 10532 /* System header to define __stub macros and hopefully few prototypes, |
10501 which can conflict with char dbm_open(); below. */ | 10533 which can conflict with char dbm_open(); below. */ |
10502 #include <assert.h> | 10534 #include <assert.h> |
10503 /* Override any gcc2 internal prototype to avoid an error. */ | 10535 /* Override any gcc2 internal prototype to avoid an error. */ |
10516 dbm_open(); | 10548 dbm_open(); |
10517 #endif | 10549 #endif |
10518 | 10550 |
10519 ; return 0; } | 10551 ; return 0; } |
10520 EOF | 10552 EOF |
10521 if { (eval echo configure:10522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10553 if { (eval echo configure:10554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10522 rm -rf conftest* | 10554 rm -rf conftest* |
10523 eval "ac_cv_func_dbm_open=yes" | 10555 eval "ac_cv_func_dbm_open=yes" |
10524 else | 10556 else |
10525 echo "configure: failed program was:" >&5 | 10557 echo "configure: failed program was:" >&5 |
10526 cat conftest.$ac_ext >&5 | 10558 cat conftest.$ac_ext >&5 |
10552 fi | 10584 fi |
10553 fi | 10585 fi |
10554 | 10586 |
10555 if test "$with_database_dbm" != "no"; then | 10587 if test "$with_database_dbm" != "no"; then |
10556 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10588 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10557 echo "configure:10558: checking for dbm_open" >&5 | 10589 echo "configure:10590: checking for dbm_open" >&5 |
10558 | 10590 |
10559 cat > conftest.$ac_ext <<EOF | 10591 cat > conftest.$ac_ext <<EOF |
10560 #line 10561 "configure" | 10592 #line 10593 "configure" |
10561 #include "confdefs.h" | 10593 #include "confdefs.h" |
10562 /* System header to define __stub macros and hopefully few prototypes, | 10594 /* System header to define __stub macros and hopefully few prototypes, |
10563 which can conflict with char dbm_open(); below. */ | 10595 which can conflict with char dbm_open(); below. */ |
10564 #include <assert.h> | 10596 #include <assert.h> |
10565 /* Override any gcc2 internal prototype to avoid an error. */ | 10597 /* Override any gcc2 internal prototype to avoid an error. */ |
10578 dbm_open(); | 10610 dbm_open(); |
10579 #endif | 10611 #endif |
10580 | 10612 |
10581 ; return 0; } | 10613 ; return 0; } |
10582 EOF | 10614 EOF |
10583 if { (eval echo configure:10584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10615 if { (eval echo configure:10616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10584 rm -rf conftest* | 10616 rm -rf conftest* |
10585 eval "ac_cv_func_dbm_open=yes" | 10617 eval "ac_cv_func_dbm_open=yes" |
10586 else | 10618 else |
10587 echo "configure: failed program was:" >&5 | 10619 echo "configure: failed program was:" >&5 |
10588 cat conftest.$ac_ext >&5 | 10620 cat conftest.$ac_ext >&5 |
10599 fi | 10631 fi |
10600 | 10632 |
10601 if test "$need_libdbm" != "no"; then | 10633 if test "$need_libdbm" != "no"; then |
10602 | 10634 |
10603 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 10635 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
10604 echo "configure:10605: checking for dbm_open in -ldbm" >&5 | 10636 echo "configure:10637: checking for dbm_open in -ldbm" >&5 |
10605 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10637 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10606 | 10638 |
10607 xe_check_libs=" -ldbm " | 10639 xe_check_libs=" -ldbm " |
10608 cat > conftest.$ac_ext <<EOF | 10640 cat > conftest.$ac_ext <<EOF |
10609 #line 10610 "configure" | 10641 #line 10642 "configure" |
10610 #include "confdefs.h" | 10642 #include "confdefs.h" |
10611 /* Override any gcc2 internal prototype to avoid an error. */ | 10643 /* Override any gcc2 internal prototype to avoid an error. */ |
10612 /* We use char because int might match the return type of a gcc2 | 10644 /* We use char because int might match the return type of a gcc2 |
10613 builtin and then its argument prototype would still apply. */ | 10645 builtin and then its argument prototype would still apply. */ |
10614 char dbm_open(); | 10646 char dbm_open(); |
10615 | 10647 |
10616 int main() { | 10648 int main() { |
10617 dbm_open() | 10649 dbm_open() |
10618 ; return 0; } | 10650 ; return 0; } |
10619 EOF | 10651 EOF |
10620 if { (eval echo configure:10621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10652 if { (eval echo configure:10653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10621 rm -rf conftest* | 10653 rm -rf conftest* |
10622 eval "ac_cv_lib_$ac_lib_var=yes" | 10654 eval "ac_cv_lib_$ac_lib_var=yes" |
10623 else | 10655 else |
10624 echo "configure: failed program was:" >&5 | 10656 echo "configure: failed program was:" >&5 |
10625 cat conftest.$ac_ext >&5 | 10657 cat conftest.$ac_ext >&5 |
10652 fi | 10684 fi |
10653 fi | 10685 fi |
10654 | 10686 |
10655 if test "$with_database_berkdb" != "no"; then | 10687 if test "$with_database_berkdb" != "no"; then |
10656 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 10688 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
10657 echo "configure:10658: checking for dbopen" >&5 | 10689 echo "configure:10690: checking for dbopen" >&5 |
10658 | 10690 |
10659 cat > conftest.$ac_ext <<EOF | 10691 cat > conftest.$ac_ext <<EOF |
10660 #line 10661 "configure" | 10692 #line 10693 "configure" |
10661 #include "confdefs.h" | 10693 #include "confdefs.h" |
10662 /* System header to define __stub macros and hopefully few prototypes, | 10694 /* System header to define __stub macros and hopefully few prototypes, |
10663 which can conflict with char dbopen(); below. */ | 10695 which can conflict with char dbopen(); below. */ |
10664 #include <assert.h> | 10696 #include <assert.h> |
10665 /* Override any gcc2 internal prototype to avoid an error. */ | 10697 /* Override any gcc2 internal prototype to avoid an error. */ |
10678 dbopen(); | 10710 dbopen(); |
10679 #endif | 10711 #endif |
10680 | 10712 |
10681 ; return 0; } | 10713 ; return 0; } |
10682 EOF | 10714 EOF |
10683 if { (eval echo configure:10684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10715 if { (eval echo configure:10716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10684 rm -rf conftest* | 10716 rm -rf conftest* |
10685 eval "ac_cv_func_dbopen=yes" | 10717 eval "ac_cv_func_dbopen=yes" |
10686 else | 10718 else |
10687 echo "configure: failed program was:" >&5 | 10719 echo "configure: failed program was:" >&5 |
10688 cat conftest.$ac_ext >&5 | 10720 cat conftest.$ac_ext >&5 |
10699 fi | 10731 fi |
10700 | 10732 |
10701 if test "$need_libdb" != "no"; then | 10733 if test "$need_libdb" != "no"; then |
10702 | 10734 |
10703 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 10735 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
10704 echo "configure:10705: checking for dbopen in -ldb" >&5 | 10736 echo "configure:10737: checking for dbopen in -ldb" >&5 |
10705 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 10737 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
10706 | 10738 |
10707 xe_check_libs=" -ldb " | 10739 xe_check_libs=" -ldb " |
10708 cat > conftest.$ac_ext <<EOF | 10740 cat > conftest.$ac_ext <<EOF |
10709 #line 10710 "configure" | 10741 #line 10742 "configure" |
10710 #include "confdefs.h" | 10742 #include "confdefs.h" |
10711 /* Override any gcc2 internal prototype to avoid an error. */ | 10743 /* Override any gcc2 internal prototype to avoid an error. */ |
10712 /* We use char because int might match the return type of a gcc2 | 10744 /* We use char because int might match the return type of a gcc2 |
10713 builtin and then its argument prototype would still apply. */ | 10745 builtin and then its argument prototype would still apply. */ |
10714 char dbopen(); | 10746 char dbopen(); |
10715 | 10747 |
10716 int main() { | 10748 int main() { |
10717 dbopen() | 10749 dbopen() |
10718 ; return 0; } | 10750 ; return 0; } |
10719 EOF | 10751 EOF |
10720 if { (eval echo configure:10721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10752 if { (eval echo configure:10753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10721 rm -rf conftest* | 10753 rm -rf conftest* |
10722 eval "ac_cv_lib_$ac_lib_var=yes" | 10754 eval "ac_cv_lib_$ac_lib_var=yes" |
10723 else | 10755 else |
10724 echo "configure: failed program was:" >&5 | 10756 echo "configure: failed program was:" >&5 |
10725 cat conftest.$ac_ext >&5 | 10757 cat conftest.$ac_ext >&5 |
10739 | 10771 |
10740 fi | 10772 fi |
10741 if test "$with_database_berkdb" = "yes"; then | 10773 if test "$with_database_berkdb" = "yes"; then |
10742 for path in "db/db.h" "db.h"; do | 10774 for path in "db/db.h" "db.h"; do |
10743 cat > conftest.$ac_ext <<EOF | 10775 cat > conftest.$ac_ext <<EOF |
10744 #line 10745 "configure" | 10776 #line 10777 "configure" |
10745 #include "confdefs.h" | 10777 #include "confdefs.h" |
10746 #ifdef HAVE_INTTYPES_H | 10778 #ifdef HAVE_INTTYPES_H |
10747 #define __BIT_TYPES_DEFINED__ | 10779 #define __BIT_TYPES_DEFINED__ |
10748 #include <inttypes.h> | 10780 #include <inttypes.h> |
10749 typedef uint8_t u_int8_t; | 10781 typedef uint8_t u_int8_t; |
10757 | 10789 |
10758 int main() { | 10790 int main() { |
10759 | 10791 |
10760 ; return 0; } | 10792 ; return 0; } |
10761 EOF | 10793 EOF |
10762 if { (eval echo configure:10763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10794 if { (eval echo configure:10795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10763 rm -rf conftest* | 10795 rm -rf conftest* |
10764 db_h_path="$path"; break | 10796 db_h_path="$path"; break |
10765 else | 10797 else |
10766 echo "configure: failed program was:" >&5 | 10798 echo "configure: failed program was:" >&5 |
10767 cat conftest.$ac_ext >&5 | 10799 cat conftest.$ac_ext >&5 |
10808 fi | 10840 fi |
10809 | 10841 |
10810 if test "$with_socks" = "yes"; then | 10842 if test "$with_socks" = "yes"; then |
10811 | 10843 |
10812 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 10844 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
10813 echo "configure:10814: checking for SOCKSinit in -lsocks" >&5 | 10845 echo "configure:10846: checking for SOCKSinit in -lsocks" >&5 |
10814 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 10846 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
10815 | 10847 |
10816 xe_check_libs=" -lsocks " | 10848 xe_check_libs=" -lsocks " |
10817 cat > conftest.$ac_ext <<EOF | 10849 cat > conftest.$ac_ext <<EOF |
10818 #line 10819 "configure" | 10850 #line 10851 "configure" |
10819 #include "confdefs.h" | 10851 #include "confdefs.h" |
10820 /* Override any gcc2 internal prototype to avoid an error. */ | 10852 /* Override any gcc2 internal prototype to avoid an error. */ |
10821 /* We use char because int might match the return type of a gcc2 | 10853 /* We use char because int might match the return type of a gcc2 |
10822 builtin and then its argument prototype would still apply. */ | 10854 builtin and then its argument prototype would still apply. */ |
10823 char SOCKSinit(); | 10855 char SOCKSinit(); |
10824 | 10856 |
10825 int main() { | 10857 int main() { |
10826 SOCKSinit() | 10858 SOCKSinit() |
10827 ; return 0; } | 10859 ; return 0; } |
10828 EOF | 10860 EOF |
10829 if { (eval echo configure:10830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10861 if { (eval echo configure:10862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10830 rm -rf conftest* | 10862 rm -rf conftest* |
10831 eval "ac_cv_lib_$ac_lib_var=yes" | 10863 eval "ac_cv_lib_$ac_lib_var=yes" |
10832 else | 10864 else |
10833 echo "configure: failed program was:" >&5 | 10865 echo "configure: failed program was:" >&5 |
10834 cat conftest.$ac_ext >&5 | 10866 cat conftest.$ac_ext >&5 |
10881 | 10913 |
10882 for ac_hdr in dlfcn.h | 10914 for ac_hdr in dlfcn.h |
10883 do | 10915 do |
10884 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10916 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10885 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10917 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10886 echo "configure:10887: checking for $ac_hdr" >&5 | 10918 echo "configure:10919: checking for $ac_hdr" >&5 |
10887 | 10919 |
10888 cat > conftest.$ac_ext <<EOF | 10920 cat > conftest.$ac_ext <<EOF |
10889 #line 10890 "configure" | 10921 #line 10922 "configure" |
10890 #include "confdefs.h" | 10922 #include "confdefs.h" |
10891 #include <$ac_hdr> | 10923 #include <$ac_hdr> |
10892 EOF | 10924 EOF |
10893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10894 { (eval echo configure:10895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10926 { (eval echo configure:10927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10895 ac_err=`grep -v '^ *+' conftest.out` | 10927 ac_err=`grep -v '^ *+' conftest.out` |
10896 if test -z "$ac_err"; then | 10928 if test -z "$ac_err"; then |
10897 rm -rf conftest* | 10929 rm -rf conftest* |
10898 eval "ac_cv_header_$ac_safe=yes" | 10930 eval "ac_cv_header_$ac_safe=yes" |
10899 else | 10931 else |
10920 fi | 10952 fi |
10921 done | 10953 done |
10922 | 10954 |
10923 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10955 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
10924 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 10956 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
10925 echo "configure:10926: checking for dlopen in -ldl" >&5 | 10957 echo "configure:10958: checking for dlopen in -ldl" >&5 |
10926 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 10958 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
10927 | 10959 |
10928 xe_check_libs=" -ldl " | 10960 xe_check_libs=" -ldl " |
10929 cat > conftest.$ac_ext <<EOF | 10961 cat > conftest.$ac_ext <<EOF |
10930 #line 10931 "configure" | 10962 #line 10963 "configure" |
10931 #include "confdefs.h" | 10963 #include "confdefs.h" |
10932 /* Override any gcc2 internal prototype to avoid an error. */ | 10964 /* Override any gcc2 internal prototype to avoid an error. */ |
10933 /* We use char because int might match the return type of a gcc2 | 10965 /* We use char because int might match the return type of a gcc2 |
10934 builtin and then its argument prototype would still apply. */ | 10966 builtin and then its argument prototype would still apply. */ |
10935 char dlopen(); | 10967 char dlopen(); |
10936 | 10968 |
10937 int main() { | 10969 int main() { |
10938 dlopen() | 10970 dlopen() |
10939 ; return 0; } | 10971 ; return 0; } |
10940 EOF | 10972 EOF |
10941 if { (eval echo configure:10942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10973 if { (eval echo configure:10974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10942 rm -rf conftest* | 10974 rm -rf conftest* |
10943 eval "ac_cv_lib_$ac_lib_var=yes" | 10975 eval "ac_cv_lib_$ac_lib_var=yes" |
10944 else | 10976 else |
10945 echo "configure: failed program was:" >&5 | 10977 echo "configure: failed program was:" >&5 |
10946 cat conftest.$ac_ext >&5 | 10978 cat conftest.$ac_ext >&5 |
10965 fi | 10997 fi |
10966 | 10998 |
10967 } | 10999 } |
10968 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11000 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
10969 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11001 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
10970 echo "configure:10971: checking for _dlopen in -lc" >&5 | 11002 echo "configure:11003: checking for _dlopen in -lc" >&5 |
10971 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11003 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
10972 | 11004 |
10973 xe_check_libs=" -lc " | 11005 xe_check_libs=" -lc " |
10974 cat > conftest.$ac_ext <<EOF | 11006 cat > conftest.$ac_ext <<EOF |
10975 #line 10976 "configure" | 11007 #line 11008 "configure" |
10976 #include "confdefs.h" | 11008 #include "confdefs.h" |
10977 /* Override any gcc2 internal prototype to avoid an error. */ | 11009 /* Override any gcc2 internal prototype to avoid an error. */ |
10978 /* We use char because int might match the return type of a gcc2 | 11010 /* We use char because int might match the return type of a gcc2 |
10979 builtin and then its argument prototype would still apply. */ | 11011 builtin and then its argument prototype would still apply. */ |
10980 char _dlopen(); | 11012 char _dlopen(); |
10981 | 11013 |
10982 int main() { | 11014 int main() { |
10983 _dlopen() | 11015 _dlopen() |
10984 ; return 0; } | 11016 ; return 0; } |
10985 EOF | 11017 EOF |
10986 if { (eval echo configure:10987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11018 if { (eval echo configure:11019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10987 rm -rf conftest* | 11019 rm -rf conftest* |
10988 eval "ac_cv_lib_$ac_lib_var=yes" | 11020 eval "ac_cv_lib_$ac_lib_var=yes" |
10989 else | 11021 else |
10990 echo "configure: failed program was:" >&5 | 11022 echo "configure: failed program was:" >&5 |
10991 cat conftest.$ac_ext >&5 | 11023 cat conftest.$ac_ext >&5 |
11010 fi | 11042 fi |
11011 | 11043 |
11012 } | 11044 } |
11013 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11045 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11014 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11046 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11015 echo "configure:11016: checking for dlopen in -lc" >&5 | 11047 echo "configure:11048: checking for dlopen in -lc" >&5 |
11016 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11048 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11017 | 11049 |
11018 xe_check_libs=" -lc " | 11050 xe_check_libs=" -lc " |
11019 cat > conftest.$ac_ext <<EOF | 11051 cat > conftest.$ac_ext <<EOF |
11020 #line 11021 "configure" | 11052 #line 11053 "configure" |
11021 #include "confdefs.h" | 11053 #include "confdefs.h" |
11022 /* Override any gcc2 internal prototype to avoid an error. */ | 11054 /* Override any gcc2 internal prototype to avoid an error. */ |
11023 /* We use char because int might match the return type of a gcc2 | 11055 /* We use char because int might match the return type of a gcc2 |
11024 builtin and then its argument prototype would still apply. */ | 11056 builtin and then its argument prototype would still apply. */ |
11025 char dlopen(); | 11057 char dlopen(); |
11026 | 11058 |
11027 int main() { | 11059 int main() { |
11028 dlopen() | 11060 dlopen() |
11029 ; return 0; } | 11061 ; return 0; } |
11030 EOF | 11062 EOF |
11031 if { (eval echo configure:11032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11063 if { (eval echo configure:11064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11032 rm -rf conftest* | 11064 rm -rf conftest* |
11033 eval "ac_cv_lib_$ac_lib_var=yes" | 11065 eval "ac_cv_lib_$ac_lib_var=yes" |
11034 else | 11066 else |
11035 echo "configure: failed program was:" >&5 | 11067 echo "configure: failed program was:" >&5 |
11036 cat conftest.$ac_ext >&5 | 11068 cat conftest.$ac_ext >&5 |
11055 fi | 11087 fi |
11056 | 11088 |
11057 } | 11089 } |
11058 test -z "$with_shlib" && { | 11090 test -z "$with_shlib" && { |
11059 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11091 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11060 echo "configure:11061: checking for shl_load in -ldld" >&5 | 11092 echo "configure:11093: checking for shl_load in -ldld" >&5 |
11061 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11093 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11062 | 11094 |
11063 xe_check_libs=" -ldld " | 11095 xe_check_libs=" -ldld " |
11064 cat > conftest.$ac_ext <<EOF | 11096 cat > conftest.$ac_ext <<EOF |
11065 #line 11066 "configure" | 11097 #line 11098 "configure" |
11066 #include "confdefs.h" | 11098 #include "confdefs.h" |
11067 /* Override any gcc2 internal prototype to avoid an error. */ | 11099 /* Override any gcc2 internal prototype to avoid an error. */ |
11068 /* We use char because int might match the return type of a gcc2 | 11100 /* We use char because int might match the return type of a gcc2 |
11069 builtin and then its argument prototype would still apply. */ | 11101 builtin and then its argument prototype would still apply. */ |
11070 char shl_load(); | 11102 char shl_load(); |
11071 | 11103 |
11072 int main() { | 11104 int main() { |
11073 shl_load() | 11105 shl_load() |
11074 ; return 0; } | 11106 ; return 0; } |
11075 EOF | 11107 EOF |
11076 if { (eval echo configure:11077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11108 if { (eval echo configure:11109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11077 rm -rf conftest* | 11109 rm -rf conftest* |
11078 eval "ac_cv_lib_$ac_lib_var=yes" | 11110 eval "ac_cv_lib_$ac_lib_var=yes" |
11079 else | 11111 else |
11080 echo "configure: failed program was:" >&5 | 11112 echo "configure: failed program was:" >&5 |
11081 cat conftest.$ac_ext >&5 | 11113 cat conftest.$ac_ext >&5 |
11100 fi | 11132 fi |
11101 | 11133 |
11102 } | 11134 } |
11103 test -z "$with_shlib" && { | 11135 test -z "$with_shlib" && { |
11104 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11136 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11105 echo "configure:11106: checking for dld_init in -ldld" >&5 | 11137 echo "configure:11138: checking for dld_init in -ldld" >&5 |
11106 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11138 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11107 | 11139 |
11108 xe_check_libs=" -ldld " | 11140 xe_check_libs=" -ldld " |
11109 cat > conftest.$ac_ext <<EOF | 11141 cat > conftest.$ac_ext <<EOF |
11110 #line 11111 "configure" | 11142 #line 11143 "configure" |
11111 #include "confdefs.h" | 11143 #include "confdefs.h" |
11112 /* Override any gcc2 internal prototype to avoid an error. */ | 11144 /* Override any gcc2 internal prototype to avoid an error. */ |
11113 /* We use char because int might match the return type of a gcc2 | 11145 /* We use char because int might match the return type of a gcc2 |
11114 builtin and then its argument prototype would still apply. */ | 11146 builtin and then its argument prototype would still apply. */ |
11115 char dld_init(); | 11147 char dld_init(); |
11116 | 11148 |
11117 int main() { | 11149 int main() { |
11118 dld_init() | 11150 dld_init() |
11119 ; return 0; } | 11151 ; return 0; } |
11120 EOF | 11152 EOF |
11121 if { (eval echo configure:11122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11153 if { (eval echo configure:11154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11122 rm -rf conftest* | 11154 rm -rf conftest* |
11123 eval "ac_cv_lib_$ac_lib_var=yes" | 11155 eval "ac_cv_lib_$ac_lib_var=yes" |
11124 else | 11156 else |
11125 echo "configure: failed program was:" >&5 | 11157 echo "configure: failed program was:" >&5 |
11126 cat conftest.$ac_ext >&5 | 11158 cat conftest.$ac_ext >&5 |
11166 dll_lflags="-shared" | 11198 dll_lflags="-shared" |
11167 dll_cflags="-r" | 11199 dll_cflags="-r" |
11168 dll_oflags="-o " | 11200 dll_oflags="-o " |
11169 | 11201 |
11170 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11202 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
11171 echo "configure:11172: checking how to build a shared library" >&5 | 11203 echo "configure:11204: checking how to build a shared library" >&5 |
11172 case `uname -rs` in | 11204 case `uname -rs` in |
11173 UNIX_SV*|UNIX_System_V*) | 11205 UNIX_SV*|UNIX_System_V*) |
11174 dll_lflags="-G" | 11206 dll_lflags="-G" |
11175 dll_cflags=-Kpic | 11207 dll_cflags=-Kpic |
11176 dll_ld="ld" | 11208 dll_ld="ld" |
11257 | 11289 |
11258 | 11290 |
11259 for ac_func in dlerror | 11291 for ac_func in dlerror |
11260 do | 11292 do |
11261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11262 echo "configure:11263: checking for $ac_func" >&5 | 11294 echo "configure:11295: checking for $ac_func" >&5 |
11263 | 11295 |
11264 cat > conftest.$ac_ext <<EOF | 11296 cat > conftest.$ac_ext <<EOF |
11265 #line 11266 "configure" | 11297 #line 11298 "configure" |
11266 #include "confdefs.h" | 11298 #include "confdefs.h" |
11267 /* System header to define __stub macros and hopefully few prototypes, | 11299 /* System header to define __stub macros and hopefully few prototypes, |
11268 which can conflict with char $ac_func(); below. */ | 11300 which can conflict with char $ac_func(); below. */ |
11269 #include <assert.h> | 11301 #include <assert.h> |
11270 /* Override any gcc2 internal prototype to avoid an error. */ | 11302 /* Override any gcc2 internal prototype to avoid an error. */ |
11283 $ac_func(); | 11315 $ac_func(); |
11284 #endif | 11316 #endif |
11285 | 11317 |
11286 ; return 0; } | 11318 ; return 0; } |
11287 EOF | 11319 EOF |
11288 if { (eval echo configure:11289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11320 if { (eval echo configure:11321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11289 rm -rf conftest* | 11321 rm -rf conftest* |
11290 eval "ac_cv_func_$ac_func=yes" | 11322 eval "ac_cv_func_$ac_func=yes" |
11291 else | 11323 else |
11292 echo "configure: failed program was:" >&5 | 11324 echo "configure: failed program was:" >&5 |
11293 cat conftest.$ac_ext >&5 | 11325 cat conftest.$ac_ext >&5 |
11319 *) ;; | 11351 *) ;; |
11320 esac | 11352 esac |
11321 fi | 11353 fi |
11322 | 11354 |
11323 cat > conftest.$ac_ext <<EOF | 11355 cat > conftest.$ac_ext <<EOF |
11324 #line 11325 "configure" | 11356 #line 11357 "configure" |
11325 #include "confdefs.h" | 11357 #include "confdefs.h" |
11326 int main(int c,char *v[]){return 0;} | 11358 int main(int c,char *v[]){return 0;} |
11327 EOF | 11359 EOF |
11328 if { (eval echo configure:11329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 11360 if { (eval echo configure:11361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
11329 then | 11361 then |
11330 : | 11362 : |
11331 else | 11363 else |
11332 echo "configure: failed program was:" >&5 | 11364 echo "configure: failed program was:" >&5 |
11333 cat conftest.$ac_ext >&5 | 11365 cat conftest.$ac_ext >&5 |
11926 test "$with_i18n3" = yes && echo " Compiling in I18N support, level 3 (doesn't currently work)." | 11958 test "$with_i18n3" = yes && echo " Compiling in I18N support, level 3 (doesn't currently work)." |
11927 | 11959 |
11928 test "$with_cde" = yes && echo " Compiling in support for CDE." | 11960 test "$with_cde" = yes && echo " Compiling in support for CDE." |
11929 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | 11961 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." |
11930 test "$with_offix" = yes && echo " Compiling in support for OffiX." | 11962 test "$with_offix" = yes && echo " Compiling in support for OffiX." |
11963 test "$with_dragndrop" = yes && echo " Compiling in support for Drag'n'Drop ($dragndrop_proto )." | |
11931 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." | 11964 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." |
11932 test "$with_session" != no && echo " Compiling in support for proper session-management." | 11965 test "$with_session" != no && echo " Compiling in support for proper session-management." |
11933 case "$with_menubars" in | 11966 case "$with_menubars" in |
11934 lucid ) echo " Using Lucid menubars." ;; | 11967 lucid ) echo " Using Lucid menubars." ;; |
11935 motif ) echo " Using Motif menubars." | 11968 motif ) echo " Using Motif menubars." |