Mercurial > hg > xemacs-beta
comparison configure @ 321:19dcec799385 r21-0-58
Import from CVS: tag r21-0-58
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:46:44 +0200 |
parents | afd57c14dfc8 |
children | 03446687b7cc |
comparison
equal
deleted
inserted
replaced
320:73c75c43c1f2 | 321:19dcec799385 |
---|---|
1240 machine=mips-siemens opsys=usg5-4 | 1240 machine=mips-siemens opsys=usg5-4 |
1241 NON_GNU_CC=/usr/ccs/bin/cc | 1241 NON_GNU_CC=/usr/ccs/bin/cc |
1242 NON_GNU_CPP=/usr/ccs/lib/cpp | 1242 NON_GNU_CPP=/usr/ccs/lib/cpp |
1243 ;; | 1243 ;; |
1244 | 1244 |
1245 mips-nec-sysv*) | |
1246 machine=mips-nec | |
1247 NON_GNU_CC=/usr/ccs/bin/cc | |
1248 NON_GNU_CPP=/usr/ccs/lib/cpp | |
1249 ;; | |
1250 | |
1245 m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;; | 1251 m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;; |
1246 m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;; | 1252 m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;; |
1247 mips-sgi-irix3.* ) opsys=irix3-3 ;; | 1253 mips-sgi-irix3.* ) opsys=irix3-3 ;; |
1248 mips-sgi-irix4.* ) opsys=irix4-0 ;; | 1254 mips-sgi-irix4.* ) opsys=irix4-0 ;; |
1249 mips-sgi-irix6* ) opsys=irix6-0 ;; | 1255 mips-sgi-irix6* ) opsys=irix6-0 ;; |
1467 xe_save_CFLAGS="$CFLAGS" | 1473 xe_save_CFLAGS="$CFLAGS" |
1468 | 1474 |
1469 # Extract the first word of "gcc", so it can be a program name with args. | 1475 # Extract the first word of "gcc", so it can be a program name with args. |
1470 set dummy gcc; ac_word=$2 | 1476 set dummy gcc; ac_word=$2 |
1471 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1477 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1472 echo "configure:1473: checking for $ac_word" >&5 | 1478 echo "configure:1479: checking for $ac_word" >&5 |
1473 | 1479 |
1474 if test -n "$CC"; then | 1480 if test -n "$CC"; then |
1475 ac_cv_prog_CC="$CC" # Let the user override the test. | 1481 ac_cv_prog_CC="$CC" # Let the user override the test. |
1476 else | 1482 else |
1477 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1483 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1493 | 1499 |
1494 if test -z "$CC"; then | 1500 if test -z "$CC"; then |
1495 # Extract the first word of "cc", so it can be a program name with args. | 1501 # Extract the first word of "cc", so it can be a program name with args. |
1496 set dummy cc; ac_word=$2 | 1502 set dummy cc; ac_word=$2 |
1497 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1503 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1498 echo "configure:1499: checking for $ac_word" >&5 | 1504 echo "configure:1505: checking for $ac_word" >&5 |
1499 | 1505 |
1500 if test -n "$CC"; then | 1506 if test -n "$CC"; then |
1501 ac_cv_prog_CC="$CC" # Let the user override the test. | 1507 ac_cv_prog_CC="$CC" # Let the user override the test. |
1502 else | 1508 else |
1503 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1509 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1538 | 1544 |
1539 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1545 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1540 fi | 1546 fi |
1541 | 1547 |
1542 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1548 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1543 echo "configure:1544: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1549 echo "configure:1550: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1544 | 1550 |
1545 ac_ext=c | 1551 ac_ext=c |
1546 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1552 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1547 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1553 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1548 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1554 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1550 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1556 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1551 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1557 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1552 cross_compiling=no | 1558 cross_compiling=no |
1553 | 1559 |
1554 cat > conftest.$ac_ext <<EOF | 1560 cat > conftest.$ac_ext <<EOF |
1555 #line 1556 "configure" | 1561 #line 1562 "configure" |
1556 #include "confdefs.h" | 1562 #include "confdefs.h" |
1557 main(){return(0);} | 1563 main(){return(0);} |
1558 EOF | 1564 EOF |
1559 if { (eval echo configure:1560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1565 if { (eval echo configure:1566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1560 ac_cv_prog_cc_works=yes | 1566 ac_cv_prog_cc_works=yes |
1561 # If we can't run a trivial program, we are probably using a cross compiler. | 1567 # If we can't run a trivial program, we are probably using a cross compiler. |
1562 if (./conftest; exit) 2>/dev/null; then | 1568 if (./conftest; exit) 2>/dev/null; then |
1563 ac_cv_prog_cc_cross=no | 1569 ac_cv_prog_cc_cross=no |
1564 else | 1570 else |
1574 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1580 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1575 if test $ac_cv_prog_cc_works = no; then | 1581 if test $ac_cv_prog_cc_works = no; then |
1576 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1582 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1577 fi | 1583 fi |
1578 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1584 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1579 echo "configure:1580: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1585 echo "configure:1586: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1580 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1586 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1581 cross_compiling=$ac_cv_prog_cc_cross | 1587 cross_compiling=$ac_cv_prog_cc_cross |
1582 | 1588 |
1583 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1589 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1584 echo "configure:1585: checking whether we are using GNU C" >&5 | 1590 echo "configure:1591: checking whether we are using GNU C" >&5 |
1585 | 1591 |
1586 cat > conftest.c <<EOF | 1592 cat > conftest.c <<EOF |
1587 #ifdef __GNUC__ | 1593 #ifdef __GNUC__ |
1588 yes; | 1594 yes; |
1589 #endif | 1595 #endif |
1590 EOF | 1596 EOF |
1591 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1597 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1592 ac_cv_prog_gcc=yes | 1598 ac_cv_prog_gcc=yes |
1593 else | 1599 else |
1594 ac_cv_prog_gcc=no | 1600 ac_cv_prog_gcc=no |
1595 fi | 1601 fi |
1596 | 1602 |
1600 GCC=yes | 1606 GCC=yes |
1601 ac_test_CFLAGS="${CFLAGS+set}" | 1607 ac_test_CFLAGS="${CFLAGS+set}" |
1602 ac_save_CFLAGS="$CFLAGS" | 1608 ac_save_CFLAGS="$CFLAGS" |
1603 CFLAGS= | 1609 CFLAGS= |
1604 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1610 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1605 echo "configure:1606: checking whether ${CC-cc} accepts -g" >&5 | 1611 echo "configure:1612: checking whether ${CC-cc} accepts -g" >&5 |
1606 | 1612 |
1607 echo 'void f(){}' > conftest.c | 1613 echo 'void f(){}' > conftest.c |
1608 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1614 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1609 ac_cv_prog_cc_g=yes | 1615 ac_cv_prog_cc_g=yes |
1610 else | 1616 else |
1629 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1635 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1630 CC=${NON_GNU_CC-cc} | 1636 CC=${NON_GNU_CC-cc} |
1631 # Extract the first word of "gcc", so it can be a program name with args. | 1637 # Extract the first word of "gcc", so it can be a program name with args. |
1632 set dummy gcc; ac_word=$2 | 1638 set dummy gcc; ac_word=$2 |
1633 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1639 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1634 echo "configure:1635: checking for $ac_word" >&5 | 1640 echo "configure:1641: checking for $ac_word" >&5 |
1635 | 1641 |
1636 if test -n "$CC"; then | 1642 if test -n "$CC"; then |
1637 ac_cv_prog_CC="$CC" # Let the user override the test. | 1643 ac_cv_prog_CC="$CC" # Let the user override the test. |
1638 else | 1644 else |
1639 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1645 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1655 | 1661 |
1656 if test -z "$CC"; then | 1662 if test -z "$CC"; then |
1657 # Extract the first word of "cc", so it can be a program name with args. | 1663 # Extract the first word of "cc", so it can be a program name with args. |
1658 set dummy cc; ac_word=$2 | 1664 set dummy cc; ac_word=$2 |
1659 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1665 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1660 echo "configure:1661: checking for $ac_word" >&5 | 1666 echo "configure:1667: checking for $ac_word" >&5 |
1661 | 1667 |
1662 if test -n "$CC"; then | 1668 if test -n "$CC"; then |
1663 ac_cv_prog_CC="$CC" # Let the user override the test. | 1669 ac_cv_prog_CC="$CC" # Let the user override the test. |
1664 else | 1670 else |
1665 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1671 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1700 | 1706 |
1701 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1707 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1702 fi | 1708 fi |
1703 | 1709 |
1704 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1710 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1705 echo "configure:1706: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1711 echo "configure:1712: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1706 | 1712 |
1707 ac_ext=c | 1713 ac_ext=c |
1708 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1714 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1709 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1715 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1710 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1716 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1712 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1718 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1713 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1719 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1714 cross_compiling=no | 1720 cross_compiling=no |
1715 | 1721 |
1716 cat > conftest.$ac_ext <<EOF | 1722 cat > conftest.$ac_ext <<EOF |
1717 #line 1718 "configure" | 1723 #line 1724 "configure" |
1718 #include "confdefs.h" | 1724 #include "confdefs.h" |
1719 main(){return(0);} | 1725 main(){return(0);} |
1720 EOF | 1726 EOF |
1721 if { (eval echo configure:1722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1727 if { (eval echo configure:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1722 ac_cv_prog_cc_works=yes | 1728 ac_cv_prog_cc_works=yes |
1723 # If we can't run a trivial program, we are probably using a cross compiler. | 1729 # If we can't run a trivial program, we are probably using a cross compiler. |
1724 if (./conftest; exit) 2>/dev/null; then | 1730 if (./conftest; exit) 2>/dev/null; then |
1725 ac_cv_prog_cc_cross=no | 1731 ac_cv_prog_cc_cross=no |
1726 else | 1732 else |
1736 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1742 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1737 if test $ac_cv_prog_cc_works = no; then | 1743 if test $ac_cv_prog_cc_works = no; then |
1738 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1744 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1739 fi | 1745 fi |
1740 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1746 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1741 echo "configure:1742: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1747 echo "configure:1748: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1742 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1748 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1743 cross_compiling=$ac_cv_prog_cc_cross | 1749 cross_compiling=$ac_cv_prog_cc_cross |
1744 | 1750 |
1745 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1751 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1746 echo "configure:1747: checking whether we are using GNU C" >&5 | 1752 echo "configure:1753: checking whether we are using GNU C" >&5 |
1747 | 1753 |
1748 cat > conftest.c <<EOF | 1754 cat > conftest.c <<EOF |
1749 #ifdef __GNUC__ | 1755 #ifdef __GNUC__ |
1750 yes; | 1756 yes; |
1751 #endif | 1757 #endif |
1752 EOF | 1758 EOF |
1753 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1759 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1754 ac_cv_prog_gcc=yes | 1760 ac_cv_prog_gcc=yes |
1755 else | 1761 else |
1756 ac_cv_prog_gcc=no | 1762 ac_cv_prog_gcc=no |
1757 fi | 1763 fi |
1758 | 1764 |
1762 GCC=yes | 1768 GCC=yes |
1763 ac_test_CFLAGS="${CFLAGS+set}" | 1769 ac_test_CFLAGS="${CFLAGS+set}" |
1764 ac_save_CFLAGS="$CFLAGS" | 1770 ac_save_CFLAGS="$CFLAGS" |
1765 CFLAGS= | 1771 CFLAGS= |
1766 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1772 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1767 echo "configure:1768: checking whether ${CC-cc} accepts -g" >&5 | 1773 echo "configure:1774: checking whether ${CC-cc} accepts -g" >&5 |
1768 | 1774 |
1769 echo 'void f(){}' > conftest.c | 1775 echo 'void f(){}' > conftest.c |
1770 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1776 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1771 ac_cv_prog_cc_g=yes | 1777 ac_cv_prog_cc_g=yes |
1772 else | 1778 else |
1791 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1797 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1792 CC=gcc | 1798 CC=gcc |
1793 # Extract the first word of "gcc", so it can be a program name with args. | 1799 # Extract the first word of "gcc", so it can be a program name with args. |
1794 set dummy gcc; ac_word=$2 | 1800 set dummy gcc; ac_word=$2 |
1795 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1801 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1796 echo "configure:1797: checking for $ac_word" >&5 | 1802 echo "configure:1803: checking for $ac_word" >&5 |
1797 | 1803 |
1798 if test -n "$CC"; then | 1804 if test -n "$CC"; then |
1799 ac_cv_prog_CC="$CC" # Let the user override the test. | 1805 ac_cv_prog_CC="$CC" # Let the user override the test. |
1800 else | 1806 else |
1801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1807 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1817 | 1823 |
1818 if test -z "$CC"; then | 1824 if test -z "$CC"; then |
1819 # Extract the first word of "cc", so it can be a program name with args. | 1825 # Extract the first word of "cc", so it can be a program name with args. |
1820 set dummy cc; ac_word=$2 | 1826 set dummy cc; ac_word=$2 |
1821 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1827 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1822 echo "configure:1823: checking for $ac_word" >&5 | 1828 echo "configure:1829: checking for $ac_word" >&5 |
1823 | 1829 |
1824 if test -n "$CC"; then | 1830 if test -n "$CC"; then |
1825 ac_cv_prog_CC="$CC" # Let the user override the test. | 1831 ac_cv_prog_CC="$CC" # Let the user override the test. |
1826 else | 1832 else |
1827 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1833 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1862 | 1868 |
1863 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1869 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1864 fi | 1870 fi |
1865 | 1871 |
1866 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1872 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1867 echo "configure:1868: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1873 echo "configure:1874: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1868 | 1874 |
1869 ac_ext=c | 1875 ac_ext=c |
1870 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1876 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1871 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1877 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1872 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1878 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1874 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1880 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1875 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1881 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1876 cross_compiling=no | 1882 cross_compiling=no |
1877 | 1883 |
1878 cat > conftest.$ac_ext <<EOF | 1884 cat > conftest.$ac_ext <<EOF |
1879 #line 1880 "configure" | 1885 #line 1886 "configure" |
1880 #include "confdefs.h" | 1886 #include "confdefs.h" |
1881 main(){return(0);} | 1887 main(){return(0);} |
1882 EOF | 1888 EOF |
1883 if { (eval echo configure:1884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1889 if { (eval echo configure:1890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1884 ac_cv_prog_cc_works=yes | 1890 ac_cv_prog_cc_works=yes |
1885 # If we can't run a trivial program, we are probably using a cross compiler. | 1891 # If we can't run a trivial program, we are probably using a cross compiler. |
1886 if (./conftest; exit) 2>/dev/null; then | 1892 if (./conftest; exit) 2>/dev/null; then |
1887 ac_cv_prog_cc_cross=no | 1893 ac_cv_prog_cc_cross=no |
1888 else | 1894 else |
1898 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1904 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1899 if test $ac_cv_prog_cc_works = no; then | 1905 if test $ac_cv_prog_cc_works = no; then |
1900 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1906 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1901 fi | 1907 fi |
1902 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1908 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1903 echo "configure:1904: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1909 echo "configure:1910: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1904 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1910 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1905 cross_compiling=$ac_cv_prog_cc_cross | 1911 cross_compiling=$ac_cv_prog_cc_cross |
1906 | 1912 |
1907 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1913 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1908 echo "configure:1909: checking whether we are using GNU C" >&5 | 1914 echo "configure:1915: checking whether we are using GNU C" >&5 |
1909 | 1915 |
1910 cat > conftest.c <<EOF | 1916 cat > conftest.c <<EOF |
1911 #ifdef __GNUC__ | 1917 #ifdef __GNUC__ |
1912 yes; | 1918 yes; |
1913 #endif | 1919 #endif |
1914 EOF | 1920 EOF |
1915 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1921 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1916 ac_cv_prog_gcc=yes | 1922 ac_cv_prog_gcc=yes |
1917 else | 1923 else |
1918 ac_cv_prog_gcc=no | 1924 ac_cv_prog_gcc=no |
1919 fi | 1925 fi |
1920 | 1926 |
1924 GCC=yes | 1930 GCC=yes |
1925 ac_test_CFLAGS="${CFLAGS+set}" | 1931 ac_test_CFLAGS="${CFLAGS+set}" |
1926 ac_save_CFLAGS="$CFLAGS" | 1932 ac_save_CFLAGS="$CFLAGS" |
1927 CFLAGS= | 1933 CFLAGS= |
1928 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1934 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1929 echo "configure:1930: checking whether ${CC-cc} accepts -g" >&5 | 1935 echo "configure:1936: checking whether ${CC-cc} accepts -g" >&5 |
1930 | 1936 |
1931 echo 'void f(){}' > conftest.c | 1937 echo 'void f(){}' > conftest.c |
1932 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1938 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1933 ac_cv_prog_cc_g=yes | 1939 ac_cv_prog_cc_g=yes |
1934 else | 1940 else |
1957 test -n "$CPP" -a -d "$CPP" && CPP= | 1963 test -n "$CPP" -a -d "$CPP" && CPP= |
1958 | 1964 |
1959 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1965 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1960 | 1966 |
1961 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1967 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1962 echo "configure:1963: checking how to run the C preprocessor" >&5 | 1968 echo "configure:1969: checking how to run the C preprocessor" >&5 |
1963 # On Suns, sometimes $CPP names a directory. | 1969 # On Suns, sometimes $CPP names a directory. |
1964 if test -n "$CPP" && test -d "$CPP"; then | 1970 if test -n "$CPP" && test -d "$CPP"; then |
1965 CPP= | 1971 CPP= |
1966 fi | 1972 fi |
1967 if test -z "$CPP"; then | 1973 if test -z "$CPP"; then |
1970 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1976 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1971 CPP="${CC-cc} -E" | 1977 CPP="${CC-cc} -E" |
1972 # On the NeXT, cc -E runs the code through the compiler's parser, | 1978 # On the NeXT, cc -E runs the code through the compiler's parser, |
1973 # not just through cpp. | 1979 # not just through cpp. |
1974 cat > conftest.$ac_ext <<EOF | 1980 cat > conftest.$ac_ext <<EOF |
1975 #line 1976 "configure" | 1981 #line 1982 "configure" |
1976 #include "confdefs.h" | 1982 #include "confdefs.h" |
1977 #include <assert.h> | 1983 #include <assert.h> |
1978 Syntax Error | 1984 Syntax Error |
1979 EOF | 1985 EOF |
1980 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1981 { (eval echo configure:1982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1987 { (eval echo configure:1988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1982 ac_err=`grep -v '^ *+' conftest.out` | 1988 ac_err=`grep -v '^ *+' conftest.out` |
1983 if test -z "$ac_err"; then | 1989 if test -z "$ac_err"; then |
1984 : | 1990 : |
1985 else | 1991 else |
1986 echo "$ac_err" >&5 | 1992 echo "$ac_err" >&5 |
1987 echo "configure: failed program was:" >&5 | 1993 echo "configure: failed program was:" >&5 |
1988 cat conftest.$ac_ext >&5 | 1994 cat conftest.$ac_ext >&5 |
1989 rm -rf conftest* | 1995 rm -rf conftest* |
1990 CPP="${CC-cc} -E -traditional-cpp" | 1996 CPP="${CC-cc} -E -traditional-cpp" |
1991 cat > conftest.$ac_ext <<EOF | 1997 cat > conftest.$ac_ext <<EOF |
1992 #line 1993 "configure" | 1998 #line 1999 "configure" |
1993 #include "confdefs.h" | 1999 #include "confdefs.h" |
1994 #include <assert.h> | 2000 #include <assert.h> |
1995 Syntax Error | 2001 Syntax Error |
1996 EOF | 2002 EOF |
1997 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2003 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1998 { (eval echo configure:1999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2004 { (eval echo configure:2005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1999 ac_err=`grep -v '^ *+' conftest.out` | 2005 ac_err=`grep -v '^ *+' conftest.out` |
2000 if test -z "$ac_err"; then | 2006 if test -z "$ac_err"; then |
2001 : | 2007 : |
2002 else | 2008 else |
2003 echo "$ac_err" >&5 | 2009 echo "$ac_err" >&5 |
2016 fi | 2022 fi |
2017 echo "$ac_t""$CPP" 1>&6 | 2023 echo "$ac_t""$CPP" 1>&6 |
2018 | 2024 |
2019 | 2025 |
2020 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2026 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2021 echo "configure:2022: checking for AIX" >&5 | 2027 echo "configure:2028: checking for AIX" >&5 |
2022 cat > conftest.$ac_ext <<EOF | 2028 cat > conftest.$ac_ext <<EOF |
2023 #line 2024 "configure" | 2029 #line 2030 "configure" |
2024 #include "confdefs.h" | 2030 #include "confdefs.h" |
2025 #ifdef _AIX | 2031 #ifdef _AIX |
2026 yes | 2032 yes |
2027 #endif | 2033 #endif |
2028 | 2034 |
2045 rm -f conftest* | 2051 rm -f conftest* |
2046 | 2052 |
2047 | 2053 |
2048 | 2054 |
2049 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2055 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2050 echo "configure:2051: checking for GNU libc" >&5 | 2056 echo "configure:2057: checking for GNU libc" >&5 |
2051 cat > conftest.$ac_ext <<EOF | 2057 cat > conftest.$ac_ext <<EOF |
2052 #line 2053 "configure" | 2058 #line 2059 "configure" |
2053 #include "confdefs.h" | 2059 #include "confdefs.h" |
2054 #include <features.h> | 2060 #include <features.h> |
2055 int main() { | 2061 int main() { |
2056 | 2062 |
2057 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2063 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2059 ******* ======= ******** &&&&&&&& | 2065 ******* ======= ******** &&&&&&&& |
2060 #endif | 2066 #endif |
2061 | 2067 |
2062 ; return 0; } | 2068 ; return 0; } |
2063 EOF | 2069 EOF |
2064 if { (eval echo configure:2065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2070 if { (eval echo configure:2071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2065 rm -rf conftest* | 2071 rm -rf conftest* |
2066 have_glibc=yes | 2072 have_glibc=yes |
2067 else | 2073 else |
2068 echo "configure: failed program was:" >&5 | 2074 echo "configure: failed program was:" >&5 |
2069 cat conftest.$ac_ext >&5 | 2075 cat conftest.$ac_ext >&5 |
2081 } | 2087 } |
2082 | 2088 |
2083 | 2089 |
2084 | 2090 |
2085 cat > conftest.$ac_ext <<EOF | 2091 cat > conftest.$ac_ext <<EOF |
2086 #line 2087 "configure" | 2092 #line 2093 "configure" |
2087 #include "confdefs.h" | 2093 #include "confdefs.h" |
2088 int main () { | 2094 int main () { |
2089 #if defined __SUNPRO_C | 2095 #if defined __SUNPRO_C |
2090 return 11; | 2096 return 11; |
2091 #elif defined __DECC | 2097 #elif defined __DECC |
2093 #else | 2099 #else |
2094 return 0; | 2100 return 0; |
2095 #endif | 2101 #endif |
2096 } | 2102 } |
2097 EOF | 2103 EOF |
2098 if { (eval echo configure:2099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2104 if { (eval echo configure:2105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2099 then | 2105 then |
2100 : | 2106 : |
2101 else | 2107 else |
2102 conftest_rc="$?" | 2108 conftest_rc="$?" |
2103 echo "configure: failed program was:" >&5 | 2109 echo "configure: failed program was:" >&5 |
2363 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2369 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2364 echo " xemacs will be linked with \"$unexec\"" | 2370 echo " xemacs will be linked with \"$unexec\"" |
2365 fi | 2371 fi |
2366 | 2372 |
2367 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2373 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2368 echo "configure:2369: checking for dynodump" >&5 | 2374 echo "configure:2375: checking for dynodump" >&5 |
2369 if test "$unexec" != "unexsol2.o"; then | 2375 if test "$unexec" != "unexsol2.o"; then |
2370 echo "$ac_t""no" 1>&6 | 2376 echo "$ac_t""no" 1>&6 |
2371 else | 2377 else |
2372 echo "$ac_t""yes" 1>&6 | 2378 echo "$ac_t""yes" 1>&6 |
2373 { test "$extra_verbose" = "yes" && cat << \EOF | 2379 { test "$extra_verbose" = "yes" && cat << \EOF |
2401 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2407 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2402 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2408 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2403 done | 2409 done |
2404 | 2410 |
2405 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2411 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2406 echo "configure:2407: checking for terminateAndUnload in -lC" >&5 | 2412 echo "configure:2413: checking for terminateAndUnload in -lC" >&5 |
2407 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2413 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2408 | 2414 |
2409 xe_check_libs=" -lC " | 2415 xe_check_libs=" -lC " |
2410 cat > conftest.$ac_ext <<EOF | 2416 cat > conftest.$ac_ext <<EOF |
2411 #line 2412 "configure" | 2417 #line 2418 "configure" |
2412 #include "confdefs.h" | 2418 #include "confdefs.h" |
2413 /* Override any gcc2 internal prototype to avoid an error. */ | 2419 /* Override any gcc2 internal prototype to avoid an error. */ |
2414 /* We use char because int might match the return type of a gcc2 | 2420 /* We use char because int might match the return type of a gcc2 |
2415 builtin and then its argument prototype would still apply. */ | 2421 builtin and then its argument prototype would still apply. */ |
2416 char terminateAndUnload(); | 2422 char terminateAndUnload(); |
2417 | 2423 |
2418 int main() { | 2424 int main() { |
2419 terminateAndUnload() | 2425 terminateAndUnload() |
2420 ; return 0; } | 2426 ; return 0; } |
2421 EOF | 2427 EOF |
2422 if { (eval echo configure:2423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2428 if { (eval echo configure:2429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2423 rm -rf conftest* | 2429 rm -rf conftest* |
2424 eval "ac_cv_lib_$ac_lib_var=yes" | 2430 eval "ac_cv_lib_$ac_lib_var=yes" |
2425 else | 2431 else |
2426 echo "configure: failed program was:" >&5 | 2432 echo "configure: failed program was:" >&5 |
2427 cat conftest.$ac_ext >&5 | 2433 cat conftest.$ac_ext >&5 |
2501 esac | 2507 esac |
2502 fi | 2508 fi |
2503 | 2509 |
2504 if test "$add_runtime_path" = "yes"; then | 2510 if test "$add_runtime_path" = "yes"; then |
2505 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2511 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2506 echo "configure:2507: checking "for runtime libraries flag"" >&5 | 2512 echo "configure:2513: checking "for runtime libraries flag"" >&5 |
2507 case "$opsys" in | 2513 case "$opsys" in |
2508 sol2 ) dash_r="-R" ;; | 2514 sol2 ) dash_r="-R" ;; |
2509 decosf* | linux* ) dash_r="-rpath " ;; | 2515 decosf* | linux* ) dash_r="-rpath " ;; |
2510 *) | 2516 *) |
2511 dash_r="" | 2517 dash_r="" |
2523 esac | 2529 esac |
2524 shift | 2530 shift |
2525 done | 2531 done |
2526 fi | 2532 fi |
2527 cat > conftest.$ac_ext <<EOF | 2533 cat > conftest.$ac_ext <<EOF |
2528 #line 2529 "configure" | 2534 #line 2535 "configure" |
2529 #include "confdefs.h" | 2535 #include "confdefs.h" |
2530 | 2536 |
2531 int main() { | 2537 int main() { |
2532 | 2538 |
2533 ; return 0; } | 2539 ; return 0; } |
2534 EOF | 2540 EOF |
2535 if { (eval echo configure:2536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2541 if { (eval echo configure:2542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2536 rm -rf conftest* | 2542 rm -rf conftest* |
2537 dash_r="$try_dash_r" | 2543 dash_r="$try_dash_r" |
2538 else | 2544 else |
2539 echo "configure: failed program was:" >&5 | 2545 echo "configure: failed program was:" >&5 |
2540 cat conftest.$ac_ext >&5 | 2546 cat conftest.$ac_ext >&5 |
2631 else | 2637 else |
2632 doug_lea_malloc=no | 2638 doug_lea_malloc=no |
2633 fi | 2639 fi |
2634 after_morecore_hook_exists=yes | 2640 after_morecore_hook_exists=yes |
2635 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2641 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2636 echo "configure:2637: checking for malloc_get_state" >&5 | 2642 echo "configure:2643: checking for malloc_get_state" >&5 |
2637 | 2643 |
2638 cat > conftest.$ac_ext <<EOF | 2644 cat > conftest.$ac_ext <<EOF |
2639 #line 2640 "configure" | 2645 #line 2646 "configure" |
2640 #include "confdefs.h" | 2646 #include "confdefs.h" |
2641 /* System header to define __stub macros and hopefully few prototypes, | 2647 /* System header to define __stub macros and hopefully few prototypes, |
2642 which can conflict with char malloc_get_state(); below. */ | 2648 which can conflict with char malloc_get_state(); below. */ |
2643 #include <assert.h> | 2649 #include <assert.h> |
2644 /* Override any gcc2 internal prototype to avoid an error. */ | 2650 /* Override any gcc2 internal prototype to avoid an error. */ |
2657 malloc_get_state(); | 2663 malloc_get_state(); |
2658 #endif | 2664 #endif |
2659 | 2665 |
2660 ; return 0; } | 2666 ; return 0; } |
2661 EOF | 2667 EOF |
2662 if { (eval echo configure:2663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2668 if { (eval echo configure:2669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2663 rm -rf conftest* | 2669 rm -rf conftest* |
2664 eval "ac_cv_func_malloc_get_state=yes" | 2670 eval "ac_cv_func_malloc_get_state=yes" |
2665 else | 2671 else |
2666 echo "configure: failed program was:" >&5 | 2672 echo "configure: failed program was:" >&5 |
2667 cat conftest.$ac_ext >&5 | 2673 cat conftest.$ac_ext >&5 |
2677 echo "$ac_t""no" 1>&6 | 2683 echo "$ac_t""no" 1>&6 |
2678 doug_lea_malloc=no | 2684 doug_lea_malloc=no |
2679 fi | 2685 fi |
2680 | 2686 |
2681 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2687 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2682 echo "configure:2683: checking for malloc_set_state" >&5 | 2688 echo "configure:2689: checking for malloc_set_state" >&5 |
2683 | 2689 |
2684 cat > conftest.$ac_ext <<EOF | 2690 cat > conftest.$ac_ext <<EOF |
2685 #line 2686 "configure" | 2691 #line 2692 "configure" |
2686 #include "confdefs.h" | 2692 #include "confdefs.h" |
2687 /* System header to define __stub macros and hopefully few prototypes, | 2693 /* System header to define __stub macros and hopefully few prototypes, |
2688 which can conflict with char malloc_set_state(); below. */ | 2694 which can conflict with char malloc_set_state(); below. */ |
2689 #include <assert.h> | 2695 #include <assert.h> |
2690 /* Override any gcc2 internal prototype to avoid an error. */ | 2696 /* Override any gcc2 internal prototype to avoid an error. */ |
2703 malloc_set_state(); | 2709 malloc_set_state(); |
2704 #endif | 2710 #endif |
2705 | 2711 |
2706 ; return 0; } | 2712 ; return 0; } |
2707 EOF | 2713 EOF |
2708 if { (eval echo configure:2709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2714 if { (eval echo configure:2715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2709 rm -rf conftest* | 2715 rm -rf conftest* |
2710 eval "ac_cv_func_malloc_set_state=yes" | 2716 eval "ac_cv_func_malloc_set_state=yes" |
2711 else | 2717 else |
2712 echo "configure: failed program was:" >&5 | 2718 echo "configure: failed program was:" >&5 |
2713 cat conftest.$ac_ext >&5 | 2719 cat conftest.$ac_ext >&5 |
2723 echo "$ac_t""no" 1>&6 | 2729 echo "$ac_t""no" 1>&6 |
2724 doug_lea_malloc=no | 2730 doug_lea_malloc=no |
2725 fi | 2731 fi |
2726 | 2732 |
2727 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2733 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
2728 echo "configure:2729: checking whether __after_morecore_hook exists" >&5 | 2734 echo "configure:2735: checking whether __after_morecore_hook exists" >&5 |
2729 cat > conftest.$ac_ext <<EOF | 2735 cat > conftest.$ac_ext <<EOF |
2730 #line 2731 "configure" | 2736 #line 2737 "configure" |
2731 #include "confdefs.h" | 2737 #include "confdefs.h" |
2732 extern void (* __after_morecore_hook)(); | 2738 extern void (* __after_morecore_hook)(); |
2733 int main() { | 2739 int main() { |
2734 __after_morecore_hook = 0 | 2740 __after_morecore_hook = 0 |
2735 ; return 0; } | 2741 ; return 0; } |
2736 EOF | 2742 EOF |
2737 if { (eval echo configure:2738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2743 if { (eval echo configure:2744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2738 rm -rf conftest* | 2744 rm -rf conftest* |
2739 echo "$ac_t""yes" 1>&6 | 2745 echo "$ac_t""yes" 1>&6 |
2740 else | 2746 else |
2741 echo "configure: failed program was:" >&5 | 2747 echo "configure: failed program was:" >&5 |
2742 cat conftest.$ac_ext >&5 | 2748 cat conftest.$ac_ext >&5 |
2791 | 2797 |
2792 | 2798 |
2793 # Extract the first word of "ranlib", so it can be a program name with args. | 2799 # Extract the first word of "ranlib", so it can be a program name with args. |
2794 set dummy ranlib; ac_word=$2 | 2800 set dummy ranlib; ac_word=$2 |
2795 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2801 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2796 echo "configure:2797: checking for $ac_word" >&5 | 2802 echo "configure:2803: checking for $ac_word" >&5 |
2797 | 2803 |
2798 if test -n "$RANLIB"; then | 2804 if test -n "$RANLIB"; then |
2799 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2805 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2800 else | 2806 else |
2801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2807 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2844 # AIX /bin/install | 2850 # AIX /bin/install |
2845 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2851 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2846 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2852 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2847 # ./install, which can be erroneously created by make from ./install.sh. | 2853 # ./install, which can be erroneously created by make from ./install.sh. |
2848 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2854 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2849 echo "configure:2850: checking for a BSD compatible install" >&5 | 2855 echo "configure:2856: checking for a BSD compatible install" >&5 |
2850 if test -z "$INSTALL"; then | 2856 if test -z "$INSTALL"; then |
2851 | 2857 |
2852 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2858 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2853 for ac_dir in $PATH; do | 2859 for ac_dir in $PATH; do |
2854 # Account for people who put trailing slashes in PATH elements. | 2860 # Account for people who put trailing slashes in PATH elements. |
2895 for ac_prog in 'bison -y' byacc | 2901 for ac_prog in 'bison -y' byacc |
2896 do | 2902 do |
2897 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2903 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2898 set dummy $ac_prog; ac_word=$2 | 2904 set dummy $ac_prog; ac_word=$2 |
2899 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2905 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2900 echo "configure:2901: checking for $ac_word" >&5 | 2906 echo "configure:2907: checking for $ac_word" >&5 |
2901 | 2907 |
2902 if test -n "$YACC"; then | 2908 if test -n "$YACC"; then |
2903 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2909 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2904 else | 2910 else |
2905 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2911 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2926 | 2932 |
2927 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2933 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2928 do | 2934 do |
2929 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2935 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2930 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2936 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2931 echo "configure:2932: checking for $ac_hdr" >&5 | 2937 echo "configure:2938: checking for $ac_hdr" >&5 |
2932 | 2938 |
2933 cat > conftest.$ac_ext <<EOF | 2939 cat > conftest.$ac_ext <<EOF |
2934 #line 2935 "configure" | 2940 #line 2941 "configure" |
2935 #include "confdefs.h" | 2941 #include "confdefs.h" |
2936 #include <$ac_hdr> | 2942 #include <$ac_hdr> |
2937 EOF | 2943 EOF |
2938 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2939 { (eval echo configure:2940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2945 { (eval echo configure:2946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2940 ac_err=`grep -v '^ *+' conftest.out` | 2946 ac_err=`grep -v '^ *+' conftest.out` |
2941 if test -z "$ac_err"; then | 2947 if test -z "$ac_err"; then |
2942 rm -rf conftest* | 2948 rm -rf conftest* |
2943 eval "ac_cv_header_$ac_safe=yes" | 2949 eval "ac_cv_header_$ac_safe=yes" |
2944 else | 2950 else |
2963 else | 2969 else |
2964 echo "$ac_t""no" 1>&6 | 2970 echo "$ac_t""no" 1>&6 |
2965 fi | 2971 fi |
2966 done | 2972 done |
2967 | 2973 |
2968 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin32/version.h | 2974 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h |
2969 do | 2975 do |
2970 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2976 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2971 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2977 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2972 echo "configure:2973: checking for $ac_hdr" >&5 | 2978 echo "configure:2979: checking for $ac_hdr" >&5 |
2973 | 2979 |
2974 cat > conftest.$ac_ext <<EOF | 2980 cat > conftest.$ac_ext <<EOF |
2975 #line 2976 "configure" | 2981 #line 2982 "configure" |
2976 #include "confdefs.h" | 2982 #include "confdefs.h" |
2977 #include <$ac_hdr> | 2983 #include <$ac_hdr> |
2978 EOF | 2984 EOF |
2979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2985 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2980 { (eval echo configure:2981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2986 { (eval echo configure:2987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2981 ac_err=`grep -v '^ *+' conftest.out` | 2987 ac_err=`grep -v '^ *+' conftest.out` |
2982 if test -z "$ac_err"; then | 2988 if test -z "$ac_err"; then |
2983 rm -rf conftest* | 2989 rm -rf conftest* |
2984 eval "ac_cv_header_$ac_safe=yes" | 2990 eval "ac_cv_header_$ac_safe=yes" |
2985 else | 2991 else |
3008 | 3014 |
3009 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 3015 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
3010 do | 3016 do |
3011 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3017 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3012 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3018 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3013 echo "configure:3014: checking for $ac_hdr" >&5 | 3019 echo "configure:3020: checking for $ac_hdr" >&5 |
3014 | 3020 |
3015 cat > conftest.$ac_ext <<EOF | 3021 cat > conftest.$ac_ext <<EOF |
3016 #line 3017 "configure" | 3022 #line 3023 "configure" |
3017 #include "confdefs.h" | 3023 #include "confdefs.h" |
3018 #include <$ac_hdr> | 3024 #include <$ac_hdr> |
3019 EOF | 3025 EOF |
3020 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3021 { (eval echo configure:3022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3027 { (eval echo configure:3028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3022 ac_err=`grep -v '^ *+' conftest.out` | 3028 ac_err=`grep -v '^ *+' conftest.out` |
3023 if test -z "$ac_err"; then | 3029 if test -z "$ac_err"; then |
3024 rm -rf conftest* | 3030 rm -rf conftest* |
3025 eval "ac_cv_header_$ac_safe=yes" | 3031 eval "ac_cv_header_$ac_safe=yes" |
3026 else | 3032 else |
3046 echo "$ac_t""no" 1>&6 | 3052 echo "$ac_t""no" 1>&6 |
3047 fi | 3053 fi |
3048 done | 3054 done |
3049 | 3055 |
3050 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3056 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3051 echo "configure:3052: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3057 echo "configure:3058: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3052 | 3058 |
3053 cat > conftest.$ac_ext <<EOF | 3059 cat > conftest.$ac_ext <<EOF |
3054 #line 3055 "configure" | 3060 #line 3061 "configure" |
3055 #include "confdefs.h" | 3061 #include "confdefs.h" |
3056 #include <sys/types.h> | 3062 #include <sys/types.h> |
3057 #include <sys/wait.h> | 3063 #include <sys/wait.h> |
3058 #ifndef WEXITSTATUS | 3064 #ifndef WEXITSTATUS |
3059 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3065 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3065 int s; | 3071 int s; |
3066 wait (&s); | 3072 wait (&s); |
3067 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3073 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3068 ; return 0; } | 3074 ; return 0; } |
3069 EOF | 3075 EOF |
3070 if { (eval echo configure:3071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3076 if { (eval echo configure:3077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3071 rm -rf conftest* | 3077 rm -rf conftest* |
3072 ac_cv_header_sys_wait_h=yes | 3078 ac_cv_header_sys_wait_h=yes |
3073 else | 3079 else |
3074 echo "configure: failed program was:" >&5 | 3080 echo "configure: failed program was:" >&5 |
3075 cat conftest.$ac_ext >&5 | 3081 cat conftest.$ac_ext >&5 |
3089 } | 3095 } |
3090 | 3096 |
3091 fi | 3097 fi |
3092 | 3098 |
3093 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3099 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3094 echo "configure:3095: checking for ANSI C header files" >&5 | 3100 echo "configure:3101: checking for ANSI C header files" >&5 |
3095 | 3101 |
3096 cat > conftest.$ac_ext <<EOF | 3102 cat > conftest.$ac_ext <<EOF |
3097 #line 3098 "configure" | 3103 #line 3104 "configure" |
3098 #include "confdefs.h" | 3104 #include "confdefs.h" |
3099 #include <stdlib.h> | 3105 #include <stdlib.h> |
3100 #include <stdarg.h> | 3106 #include <stdarg.h> |
3101 #include <string.h> | 3107 #include <string.h> |
3102 #include <float.h> | 3108 #include <float.h> |
3103 EOF | 3109 EOF |
3104 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3110 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3105 { (eval echo configure:3106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3111 { (eval echo configure:3112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3106 ac_err=`grep -v '^ *+' conftest.out` | 3112 ac_err=`grep -v '^ *+' conftest.out` |
3107 if test -z "$ac_err"; then | 3113 if test -z "$ac_err"; then |
3108 rm -rf conftest* | 3114 rm -rf conftest* |
3109 ac_cv_header_stdc=yes | 3115 ac_cv_header_stdc=yes |
3110 else | 3116 else |
3117 rm -f conftest* | 3123 rm -f conftest* |
3118 | 3124 |
3119 if test $ac_cv_header_stdc = yes; then | 3125 if test $ac_cv_header_stdc = yes; then |
3120 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3126 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3121 cat > conftest.$ac_ext <<EOF | 3127 cat > conftest.$ac_ext <<EOF |
3122 #line 3123 "configure" | 3128 #line 3129 "configure" |
3123 #include "confdefs.h" | 3129 #include "confdefs.h" |
3124 #include <string.h> | 3130 #include <string.h> |
3125 EOF | 3131 EOF |
3126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3127 egrep "memchr" >/dev/null 2>&1; then | 3133 egrep "memchr" >/dev/null 2>&1; then |
3135 fi | 3141 fi |
3136 | 3142 |
3137 if test $ac_cv_header_stdc = yes; then | 3143 if test $ac_cv_header_stdc = yes; then |
3138 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3144 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3139 cat > conftest.$ac_ext <<EOF | 3145 cat > conftest.$ac_ext <<EOF |
3140 #line 3141 "configure" | 3146 #line 3147 "configure" |
3141 #include "confdefs.h" | 3147 #include "confdefs.h" |
3142 #include <stdlib.h> | 3148 #include <stdlib.h> |
3143 EOF | 3149 EOF |
3144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3145 egrep "free" >/dev/null 2>&1; then | 3151 egrep "free" >/dev/null 2>&1; then |
3153 fi | 3159 fi |
3154 | 3160 |
3155 if test $ac_cv_header_stdc = yes; then | 3161 if test $ac_cv_header_stdc = yes; then |
3156 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3162 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3157 cat > conftest.$ac_ext <<EOF | 3163 cat > conftest.$ac_ext <<EOF |
3158 #line 3159 "configure" | 3164 #line 3165 "configure" |
3159 #include "confdefs.h" | 3165 #include "confdefs.h" |
3160 #include <ctype.h> | 3166 #include <ctype.h> |
3161 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3167 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3162 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3168 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3163 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3169 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3164 int main () { int i; for (i = 0; i < 256; i++) | 3170 int main () { int i; for (i = 0; i < 256; i++) |
3165 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3171 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3166 exit (0); } | 3172 exit (0); } |
3167 | 3173 |
3168 EOF | 3174 EOF |
3169 if { (eval echo configure:3170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3175 if { (eval echo configure:3176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3170 then | 3176 then |
3171 : | 3177 : |
3172 else | 3178 else |
3173 conftest_rc="$?" | 3179 conftest_rc="$?" |
3174 echo "configure: failed program was:" >&5 | 3180 echo "configure: failed program was:" >&5 |
3190 } | 3196 } |
3191 | 3197 |
3192 fi | 3198 fi |
3193 | 3199 |
3194 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3200 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3195 echo "configure:3196: checking whether time.h and sys/time.h may both be included" >&5 | 3201 echo "configure:3202: checking whether time.h and sys/time.h may both be included" >&5 |
3196 | 3202 |
3197 cat > conftest.$ac_ext <<EOF | 3203 cat > conftest.$ac_ext <<EOF |
3198 #line 3199 "configure" | 3204 #line 3205 "configure" |
3199 #include "confdefs.h" | 3205 #include "confdefs.h" |
3200 #include <sys/types.h> | 3206 #include <sys/types.h> |
3201 #include <sys/time.h> | 3207 #include <sys/time.h> |
3202 #include <time.h> | 3208 #include <time.h> |
3203 int main() { | 3209 int main() { |
3204 struct tm *tp; | 3210 struct tm *tp; |
3205 ; return 0; } | 3211 ; return 0; } |
3206 EOF | 3212 EOF |
3207 if { (eval echo configure:3208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3213 if { (eval echo configure:3214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3208 rm -rf conftest* | 3214 rm -rf conftest* |
3209 ac_cv_header_time=yes | 3215 ac_cv_header_time=yes |
3210 else | 3216 else |
3211 echo "configure: failed program was:" >&5 | 3217 echo "configure: failed program was:" >&5 |
3212 cat conftest.$ac_ext >&5 | 3218 cat conftest.$ac_ext >&5 |
3226 } | 3232 } |
3227 | 3233 |
3228 fi | 3234 fi |
3229 | 3235 |
3230 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3236 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3231 echo "configure:3232: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3237 echo "configure:3238: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3232 | 3238 |
3233 cat > conftest.$ac_ext <<EOF | 3239 cat > conftest.$ac_ext <<EOF |
3234 #line 3235 "configure" | 3240 #line 3241 "configure" |
3235 #include "confdefs.h" | 3241 #include "confdefs.h" |
3236 #include <sys/types.h> | 3242 #include <sys/types.h> |
3237 #include <signal.h> | 3243 #include <signal.h> |
3238 /* NetBSD declares sys_siglist in unistd.h. */ | 3244 /* NetBSD declares sys_siglist in unistd.h. */ |
3239 #ifdef HAVE_UNISTD_H | 3245 #ifdef HAVE_UNISTD_H |
3241 #endif | 3247 #endif |
3242 int main() { | 3248 int main() { |
3243 char *msg = *(sys_siglist + 1); | 3249 char *msg = *(sys_siglist + 1); |
3244 ; return 0; } | 3250 ; return 0; } |
3245 EOF | 3251 EOF |
3246 if { (eval echo configure:3247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3252 if { (eval echo configure:3253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3247 rm -rf conftest* | 3253 rm -rf conftest* |
3248 ac_cv_decl_sys_siglist=yes | 3254 ac_cv_decl_sys_siglist=yes |
3249 else | 3255 else |
3250 echo "configure: failed program was:" >&5 | 3256 echo "configure: failed program was:" >&5 |
3251 cat conftest.$ac_ext >&5 | 3257 cat conftest.$ac_ext >&5 |
3266 | 3272 |
3267 fi | 3273 fi |
3268 | 3274 |
3269 | 3275 |
3270 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3276 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3271 echo "configure:3272: checking for struct utimbuf" >&5 | 3277 echo "configure:3278: checking for struct utimbuf" >&5 |
3272 cat > conftest.$ac_ext <<EOF | 3278 cat > conftest.$ac_ext <<EOF |
3273 #line 3274 "configure" | 3279 #line 3280 "configure" |
3274 #include "confdefs.h" | 3280 #include "confdefs.h" |
3275 #ifdef TIME_WITH_SYS_TIME | 3281 #ifdef TIME_WITH_SYS_TIME |
3276 #include <sys/time.h> | 3282 #include <sys/time.h> |
3277 #include <time.h> | 3283 #include <time.h> |
3278 #else | 3284 #else |
3287 #endif | 3293 #endif |
3288 int main() { | 3294 int main() { |
3289 static struct utimbuf x; x.actime = x.modtime; | 3295 static struct utimbuf x; x.actime = x.modtime; |
3290 ; return 0; } | 3296 ; return 0; } |
3291 EOF | 3297 EOF |
3292 if { (eval echo configure:3293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3298 if { (eval echo configure:3299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3293 rm -rf conftest* | 3299 rm -rf conftest* |
3294 echo "$ac_t""yes" 1>&6 | 3300 echo "$ac_t""yes" 1>&6 |
3295 { test "$extra_verbose" = "yes" && cat << \EOF | 3301 { test "$extra_verbose" = "yes" && cat << \EOF |
3296 Defining HAVE_STRUCT_UTIMBUF | 3302 Defining HAVE_STRUCT_UTIMBUF |
3297 EOF | 3303 EOF |
3307 echo "$ac_t""no" 1>&6 | 3313 echo "$ac_t""no" 1>&6 |
3308 fi | 3314 fi |
3309 rm -f conftest* | 3315 rm -f conftest* |
3310 | 3316 |
3311 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3317 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3312 echo "configure:3313: checking return type of signal handlers" >&5 | 3318 echo "configure:3319: checking return type of signal handlers" >&5 |
3313 | 3319 |
3314 cat > conftest.$ac_ext <<EOF | 3320 cat > conftest.$ac_ext <<EOF |
3315 #line 3316 "configure" | 3321 #line 3322 "configure" |
3316 #include "confdefs.h" | 3322 #include "confdefs.h" |
3317 #include <sys/types.h> | 3323 #include <sys/types.h> |
3318 #include <signal.h> | 3324 #include <signal.h> |
3319 #ifdef signal | 3325 #ifdef signal |
3320 #undef signal | 3326 #undef signal |
3327 | 3333 |
3328 int main() { | 3334 int main() { |
3329 int i; | 3335 int i; |
3330 ; return 0; } | 3336 ; return 0; } |
3331 EOF | 3337 EOF |
3332 if { (eval echo configure:3333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3338 if { (eval echo configure:3339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3333 rm -rf conftest* | 3339 rm -rf conftest* |
3334 ac_cv_type_signal=void | 3340 ac_cv_type_signal=void |
3335 else | 3341 else |
3336 echo "configure: failed program was:" >&5 | 3342 echo "configure: failed program was:" >&5 |
3337 cat conftest.$ac_ext >&5 | 3343 cat conftest.$ac_ext >&5 |
3349 EOF | 3355 EOF |
3350 } | 3356 } |
3351 | 3357 |
3352 | 3358 |
3353 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3359 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3354 echo "configure:3355: checking for size_t" >&5 | 3360 echo "configure:3361: checking for size_t" >&5 |
3355 | 3361 |
3356 cat > conftest.$ac_ext <<EOF | 3362 cat > conftest.$ac_ext <<EOF |
3357 #line 3358 "configure" | 3363 #line 3364 "configure" |
3358 #include "confdefs.h" | 3364 #include "confdefs.h" |
3359 #include <sys/types.h> | 3365 #include <sys/types.h> |
3360 #if STDC_HEADERS | 3366 #if STDC_HEADERS |
3361 #include <stdlib.h> | 3367 #include <stdlib.h> |
3362 #include <stddef.h> | 3368 #include <stddef.h> |
3383 } | 3389 } |
3384 | 3390 |
3385 fi | 3391 fi |
3386 | 3392 |
3387 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3393 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3388 echo "configure:3389: checking for pid_t" >&5 | 3394 echo "configure:3395: checking for pid_t" >&5 |
3389 | 3395 |
3390 cat > conftest.$ac_ext <<EOF | 3396 cat > conftest.$ac_ext <<EOF |
3391 #line 3392 "configure" | 3397 #line 3398 "configure" |
3392 #include "confdefs.h" | 3398 #include "confdefs.h" |
3393 #include <sys/types.h> | 3399 #include <sys/types.h> |
3394 #if STDC_HEADERS | 3400 #if STDC_HEADERS |
3395 #include <stdlib.h> | 3401 #include <stdlib.h> |
3396 #include <stddef.h> | 3402 #include <stddef.h> |
3417 } | 3423 } |
3418 | 3424 |
3419 fi | 3425 fi |
3420 | 3426 |
3421 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3427 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3422 echo "configure:3423: checking for uid_t in sys/types.h" >&5 | 3428 echo "configure:3429: checking for uid_t in sys/types.h" >&5 |
3423 | 3429 |
3424 cat > conftest.$ac_ext <<EOF | 3430 cat > conftest.$ac_ext <<EOF |
3425 #line 3426 "configure" | 3431 #line 3432 "configure" |
3426 #include "confdefs.h" | 3432 #include "confdefs.h" |
3427 #include <sys/types.h> | 3433 #include <sys/types.h> |
3428 EOF | 3434 EOF |
3429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3430 egrep "uid_t" >/dev/null 2>&1; then | 3436 egrep "uid_t" >/dev/null 2>&1; then |
3456 } | 3462 } |
3457 | 3463 |
3458 fi | 3464 fi |
3459 | 3465 |
3460 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3466 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3461 echo "configure:3462: checking for mode_t" >&5 | 3467 echo "configure:3468: checking for mode_t" >&5 |
3462 | 3468 |
3463 cat > conftest.$ac_ext <<EOF | 3469 cat > conftest.$ac_ext <<EOF |
3464 #line 3465 "configure" | 3470 #line 3471 "configure" |
3465 #include "confdefs.h" | 3471 #include "confdefs.h" |
3466 #include <sys/types.h> | 3472 #include <sys/types.h> |
3467 #if STDC_HEADERS | 3473 #if STDC_HEADERS |
3468 #include <stdlib.h> | 3474 #include <stdlib.h> |
3469 #include <stddef.h> | 3475 #include <stddef.h> |
3490 } | 3496 } |
3491 | 3497 |
3492 fi | 3498 fi |
3493 | 3499 |
3494 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3500 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3495 echo "configure:3496: checking for off_t" >&5 | 3501 echo "configure:3502: checking for off_t" >&5 |
3496 | 3502 |
3497 cat > conftest.$ac_ext <<EOF | 3503 cat > conftest.$ac_ext <<EOF |
3498 #line 3499 "configure" | 3504 #line 3505 "configure" |
3499 #include "confdefs.h" | 3505 #include "confdefs.h" |
3500 #include <sys/types.h> | 3506 #include <sys/types.h> |
3501 #if STDC_HEADERS | 3507 #if STDC_HEADERS |
3502 #include <stdlib.h> | 3508 #include <stdlib.h> |
3503 #include <stddef.h> | 3509 #include <stddef.h> |
3525 | 3531 |
3526 fi | 3532 fi |
3527 | 3533 |
3528 | 3534 |
3529 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3535 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3530 echo "configure:3531: checking for struct timeval" >&5 | 3536 echo "configure:3537: checking for struct timeval" >&5 |
3531 cat > conftest.$ac_ext <<EOF | 3537 cat > conftest.$ac_ext <<EOF |
3532 #line 3533 "configure" | 3538 #line 3539 "configure" |
3533 #include "confdefs.h" | 3539 #include "confdefs.h" |
3534 #ifdef TIME_WITH_SYS_TIME | 3540 #ifdef TIME_WITH_SYS_TIME |
3535 #include <sys/time.h> | 3541 #include <sys/time.h> |
3536 #include <time.h> | 3542 #include <time.h> |
3537 #else | 3543 #else |
3543 #endif | 3549 #endif |
3544 int main() { | 3550 int main() { |
3545 static struct timeval x; x.tv_sec = x.tv_usec; | 3551 static struct timeval x; x.tv_sec = x.tv_usec; |
3546 ; return 0; } | 3552 ; return 0; } |
3547 EOF | 3553 EOF |
3548 if { (eval echo configure:3549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3554 if { (eval echo configure:3555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3549 rm -rf conftest* | 3555 rm -rf conftest* |
3550 echo "$ac_t""yes" 1>&6 | 3556 echo "$ac_t""yes" 1>&6 |
3551 HAVE_TIMEVAL=yes | 3557 HAVE_TIMEVAL=yes |
3552 { test "$extra_verbose" = "yes" && cat << \EOF | 3558 { test "$extra_verbose" = "yes" && cat << \EOF |
3553 Defining HAVE_TIMEVAL | 3559 Defining HAVE_TIMEVAL |
3565 HAVE_TIMEVAL=no | 3571 HAVE_TIMEVAL=no |
3566 fi | 3572 fi |
3567 rm -f conftest* | 3573 rm -f conftest* |
3568 | 3574 |
3569 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3575 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3570 echo "configure:3571: checking whether struct tm is in sys/time.h or time.h" >&5 | 3576 echo "configure:3577: checking whether struct tm is in sys/time.h or time.h" >&5 |
3571 | 3577 |
3572 cat > conftest.$ac_ext <<EOF | 3578 cat > conftest.$ac_ext <<EOF |
3573 #line 3574 "configure" | 3579 #line 3580 "configure" |
3574 #include "confdefs.h" | 3580 #include "confdefs.h" |
3575 #include <sys/types.h> | 3581 #include <sys/types.h> |
3576 #include <time.h> | 3582 #include <time.h> |
3577 int main() { | 3583 int main() { |
3578 struct tm *tp; tp->tm_sec; | 3584 struct tm *tp; tp->tm_sec; |
3579 ; return 0; } | 3585 ; return 0; } |
3580 EOF | 3586 EOF |
3581 if { (eval echo configure:3582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3587 if { (eval echo configure:3588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3582 rm -rf conftest* | 3588 rm -rf conftest* |
3583 ac_cv_struct_tm=time.h | 3589 ac_cv_struct_tm=time.h |
3584 else | 3590 else |
3585 echo "configure: failed program was:" >&5 | 3591 echo "configure: failed program was:" >&5 |
3586 cat conftest.$ac_ext >&5 | 3592 cat conftest.$ac_ext >&5 |
3600 } | 3606 } |
3601 | 3607 |
3602 fi | 3608 fi |
3603 | 3609 |
3604 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3610 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3605 echo "configure:3606: checking for tm_zone in struct tm" >&5 | 3611 echo "configure:3612: checking for tm_zone in struct tm" >&5 |
3606 | 3612 |
3607 cat > conftest.$ac_ext <<EOF | 3613 cat > conftest.$ac_ext <<EOF |
3608 #line 3609 "configure" | 3614 #line 3615 "configure" |
3609 #include "confdefs.h" | 3615 #include "confdefs.h" |
3610 #include <sys/types.h> | 3616 #include <sys/types.h> |
3611 #include <$ac_cv_struct_tm> | 3617 #include <$ac_cv_struct_tm> |
3612 int main() { | 3618 int main() { |
3613 struct tm tm; tm.tm_zone; | 3619 struct tm tm; tm.tm_zone; |
3614 ; return 0; } | 3620 ; return 0; } |
3615 EOF | 3621 EOF |
3616 if { (eval echo configure:3617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3622 if { (eval echo configure:3623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3617 rm -rf conftest* | 3623 rm -rf conftest* |
3618 ac_cv_struct_tm_zone=yes | 3624 ac_cv_struct_tm_zone=yes |
3619 else | 3625 else |
3620 echo "configure: failed program was:" >&5 | 3626 echo "configure: failed program was:" >&5 |
3621 cat conftest.$ac_ext >&5 | 3627 cat conftest.$ac_ext >&5 |
3634 EOF | 3640 EOF |
3635 } | 3641 } |
3636 | 3642 |
3637 else | 3643 else |
3638 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3644 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3639 echo "configure:3640: checking for tzname" >&5 | 3645 echo "configure:3646: checking for tzname" >&5 |
3640 | 3646 |
3641 cat > conftest.$ac_ext <<EOF | 3647 cat > conftest.$ac_ext <<EOF |
3642 #line 3643 "configure" | 3648 #line 3649 "configure" |
3643 #include "confdefs.h" | 3649 #include "confdefs.h" |
3644 #include <time.h> | 3650 #include <time.h> |
3645 #ifndef tzname /* For SGI. */ | 3651 #ifndef tzname /* For SGI. */ |
3646 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3652 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3647 #endif | 3653 #endif |
3648 int main() { | 3654 int main() { |
3649 atoi(*tzname); | 3655 atoi(*tzname); |
3650 ; return 0; } | 3656 ; return 0; } |
3651 EOF | 3657 EOF |
3652 if { (eval echo configure:3653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3658 if { (eval echo configure:3659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3653 rm -rf conftest* | 3659 rm -rf conftest* |
3654 ac_cv_var_tzname=yes | 3660 ac_cv_var_tzname=yes |
3655 else | 3661 else |
3656 echo "configure: failed program was:" >&5 | 3662 echo "configure: failed program was:" >&5 |
3657 cat conftest.$ac_ext >&5 | 3663 cat conftest.$ac_ext >&5 |
3673 fi | 3679 fi |
3674 fi | 3680 fi |
3675 | 3681 |
3676 | 3682 |
3677 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3683 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3678 echo "configure:3679: checking for working const" >&5 | 3684 echo "configure:3685: checking for working const" >&5 |
3679 | 3685 |
3680 cat > conftest.$ac_ext <<EOF | 3686 cat > conftest.$ac_ext <<EOF |
3681 #line 3682 "configure" | 3687 #line 3688 "configure" |
3682 #include "confdefs.h" | 3688 #include "confdefs.h" |
3683 | 3689 |
3684 int main() { | 3690 int main() { |
3685 | 3691 |
3686 /* Ultrix mips cc rejects this. */ | 3692 /* Ultrix mips cc rejects this. */ |
3725 const int foo = 10; | 3731 const int foo = 10; |
3726 } | 3732 } |
3727 | 3733 |
3728 ; return 0; } | 3734 ; return 0; } |
3729 EOF | 3735 EOF |
3730 if { (eval echo configure:3731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3736 if { (eval echo configure:3737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3731 rm -rf conftest* | 3737 rm -rf conftest* |
3732 ac_cv_c_const=yes | 3738 ac_cv_c_const=yes |
3733 else | 3739 else |
3734 echo "configure: failed program was:" >&5 | 3740 echo "configure: failed program was:" >&5 |
3735 cat conftest.$ac_ext >&5 | 3741 cat conftest.$ac_ext >&5 |
3750 | 3756 |
3751 fi | 3757 fi |
3752 | 3758 |
3753 | 3759 |
3754 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3760 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3755 echo "configure:3756: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3761 echo "configure:3762: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3756 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3762 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3757 | 3763 |
3758 cat > conftestmake <<\EOF | 3764 cat > conftestmake <<\EOF |
3759 all: | 3765 all: |
3760 @echo 'ac_maketemp="${MAKE}"' | 3766 @echo 'ac_maketemp="${MAKE}"' |
3775 SET_MAKE="MAKE=${MAKE-make}" | 3781 SET_MAKE="MAKE=${MAKE-make}" |
3776 fi | 3782 fi |
3777 | 3783 |
3778 | 3784 |
3779 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3785 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3780 echo "configure:3781: checking whether byte ordering is bigendian" >&5 | 3786 echo "configure:3787: checking whether byte ordering is bigendian" >&5 |
3781 | 3787 |
3782 ac_cv_c_bigendian=unknown | 3788 ac_cv_c_bigendian=unknown |
3783 # See if sys/param.h defines the BYTE_ORDER macro. | 3789 # See if sys/param.h defines the BYTE_ORDER macro. |
3784 cat > conftest.$ac_ext <<EOF | 3790 cat > conftest.$ac_ext <<EOF |
3785 #line 3786 "configure" | 3791 #line 3792 "configure" |
3786 #include "confdefs.h" | 3792 #include "confdefs.h" |
3787 #include <sys/types.h> | 3793 #include <sys/types.h> |
3788 #include <sys/param.h> | 3794 #include <sys/param.h> |
3789 int main() { | 3795 int main() { |
3790 | 3796 |
3791 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3797 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3792 bogus endian macros | 3798 bogus endian macros |
3793 #endif | 3799 #endif |
3794 ; return 0; } | 3800 ; return 0; } |
3795 EOF | 3801 EOF |
3796 if { (eval echo configure:3797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3802 if { (eval echo configure:3803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3797 rm -rf conftest* | 3803 rm -rf conftest* |
3798 # It does; now see whether it defined to BIG_ENDIAN or not. | 3804 # It does; now see whether it defined to BIG_ENDIAN or not. |
3799 cat > conftest.$ac_ext <<EOF | 3805 cat > conftest.$ac_ext <<EOF |
3800 #line 3801 "configure" | 3806 #line 3807 "configure" |
3801 #include "confdefs.h" | 3807 #include "confdefs.h" |
3802 #include <sys/types.h> | 3808 #include <sys/types.h> |
3803 #include <sys/param.h> | 3809 #include <sys/param.h> |
3804 int main() { | 3810 int main() { |
3805 | 3811 |
3806 #if BYTE_ORDER != BIG_ENDIAN | 3812 #if BYTE_ORDER != BIG_ENDIAN |
3807 not big endian | 3813 not big endian |
3808 #endif | 3814 #endif |
3809 ; return 0; } | 3815 ; return 0; } |
3810 EOF | 3816 EOF |
3811 if { (eval echo configure:3812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3817 if { (eval echo configure:3818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3812 rm -rf conftest* | 3818 rm -rf conftest* |
3813 ac_cv_c_bigendian=yes | 3819 ac_cv_c_bigendian=yes |
3814 else | 3820 else |
3815 echo "configure: failed program was:" >&5 | 3821 echo "configure: failed program was:" >&5 |
3816 cat conftest.$ac_ext >&5 | 3822 cat conftest.$ac_ext >&5 |
3823 cat conftest.$ac_ext >&5 | 3829 cat conftest.$ac_ext >&5 |
3824 fi | 3830 fi |
3825 rm -f conftest* | 3831 rm -f conftest* |
3826 if test $ac_cv_c_bigendian = unknown; then | 3832 if test $ac_cv_c_bigendian = unknown; then |
3827 cat > conftest.$ac_ext <<EOF | 3833 cat > conftest.$ac_ext <<EOF |
3828 #line 3829 "configure" | 3834 #line 3835 "configure" |
3829 #include "confdefs.h" | 3835 #include "confdefs.h" |
3830 main () { | 3836 main () { |
3831 /* Are we little or big endian? From Harbison&Steele. */ | 3837 /* Are we little or big endian? From Harbison&Steele. */ |
3832 union | 3838 union |
3833 { | 3839 { |
3836 } u; | 3842 } u; |
3837 u.l = 1; | 3843 u.l = 1; |
3838 exit (u.c[sizeof (long) - 1] == 1); | 3844 exit (u.c[sizeof (long) - 1] == 1); |
3839 } | 3845 } |
3840 EOF | 3846 EOF |
3841 if { (eval echo configure:3842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3847 if { (eval echo configure:3848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3842 then | 3848 then |
3843 ac_cv_c_bigendian=no | 3849 ac_cv_c_bigendian=no |
3844 else | 3850 else |
3845 conftest_rc="$?" | 3851 conftest_rc="$?" |
3846 echo "configure: failed program was:" >&5 | 3852 echo "configure: failed program was:" >&5 |
3863 | 3869 |
3864 fi | 3870 fi |
3865 | 3871 |
3866 | 3872 |
3867 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3873 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3868 echo "configure:3869: checking size of short" >&5 | 3874 echo "configure:3875: checking size of short" >&5 |
3869 | 3875 |
3870 cat > conftest.$ac_ext <<EOF | 3876 cat > conftest.$ac_ext <<EOF |
3871 #line 3872 "configure" | 3877 #line 3878 "configure" |
3872 #include "confdefs.h" | 3878 #include "confdefs.h" |
3873 #include <stdio.h> | 3879 #include <stdio.h> |
3874 main() | 3880 main() |
3875 { | 3881 { |
3876 FILE *f=fopen("conftestval", "w"); | 3882 FILE *f=fopen("conftestval", "w"); |
3877 if (!f) exit(1); | 3883 if (!f) exit(1); |
3878 fprintf(f, "%d\n", sizeof(short)); | 3884 fprintf(f, "%d\n", sizeof(short)); |
3879 exit(0); | 3885 exit(0); |
3880 } | 3886 } |
3881 EOF | 3887 EOF |
3882 if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3888 if { (eval echo configure:3889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3883 then | 3889 then |
3884 ac_cv_sizeof_short=`cat conftestval` | 3890 ac_cv_sizeof_short=`cat conftestval` |
3885 else | 3891 else |
3886 conftest_rc="$?" | 3892 conftest_rc="$?" |
3887 echo "configure: failed program was:" >&5 | 3893 echo "configure: failed program was:" >&5 |
3905 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3911 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3906 echo "*** PANIC *** Please examine config.log for compilation errors." | 3912 echo "*** PANIC *** Please examine config.log for compilation errors." |
3907 exit 1 | 3913 exit 1 |
3908 fi | 3914 fi |
3909 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3915 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3910 echo "configure:3911: checking size of int" >&5 | 3916 echo "configure:3917: checking size of int" >&5 |
3911 | 3917 |
3912 cat > conftest.$ac_ext <<EOF | 3918 cat > conftest.$ac_ext <<EOF |
3913 #line 3914 "configure" | 3919 #line 3920 "configure" |
3914 #include "confdefs.h" | 3920 #include "confdefs.h" |
3915 #include <stdio.h> | 3921 #include <stdio.h> |
3916 main() | 3922 main() |
3917 { | 3923 { |
3918 FILE *f=fopen("conftestval", "w"); | 3924 FILE *f=fopen("conftestval", "w"); |
3919 if (!f) exit(1); | 3925 if (!f) exit(1); |
3920 fprintf(f, "%d\n", sizeof(int)); | 3926 fprintf(f, "%d\n", sizeof(int)); |
3921 exit(0); | 3927 exit(0); |
3922 } | 3928 } |
3923 EOF | 3929 EOF |
3924 if { (eval echo configure:3925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3930 if { (eval echo configure:3931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3925 then | 3931 then |
3926 ac_cv_sizeof_int=`cat conftestval` | 3932 ac_cv_sizeof_int=`cat conftestval` |
3927 else | 3933 else |
3928 conftest_rc="$?" | 3934 conftest_rc="$?" |
3929 echo "configure: failed program was:" >&5 | 3935 echo "configure: failed program was:" >&5 |
3941 EOF | 3947 EOF |
3942 } | 3948 } |
3943 | 3949 |
3944 | 3950 |
3945 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3951 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3946 echo "configure:3947: checking size of long" >&5 | 3952 echo "configure:3953: checking size of long" >&5 |
3947 | 3953 |
3948 cat > conftest.$ac_ext <<EOF | 3954 cat > conftest.$ac_ext <<EOF |
3949 #line 3950 "configure" | 3955 #line 3956 "configure" |
3950 #include "confdefs.h" | 3956 #include "confdefs.h" |
3951 #include <stdio.h> | 3957 #include <stdio.h> |
3952 main() | 3958 main() |
3953 { | 3959 { |
3954 FILE *f=fopen("conftestval", "w"); | 3960 FILE *f=fopen("conftestval", "w"); |
3955 if (!f) exit(1); | 3961 if (!f) exit(1); |
3956 fprintf(f, "%d\n", sizeof(long)); | 3962 fprintf(f, "%d\n", sizeof(long)); |
3957 exit(0); | 3963 exit(0); |
3958 } | 3964 } |
3959 EOF | 3965 EOF |
3960 if { (eval echo configure:3961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3966 if { (eval echo configure:3967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3961 then | 3967 then |
3962 ac_cv_sizeof_long=`cat conftestval` | 3968 ac_cv_sizeof_long=`cat conftestval` |
3963 else | 3969 else |
3964 conftest_rc="$?" | 3970 conftest_rc="$?" |
3965 echo "configure: failed program was:" >&5 | 3971 echo "configure: failed program was:" >&5 |
3977 EOF | 3983 EOF |
3978 } | 3984 } |
3979 | 3985 |
3980 | 3986 |
3981 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3987 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3982 echo "configure:3983: checking size of long long" >&5 | 3988 echo "configure:3989: checking size of long long" >&5 |
3983 | 3989 |
3984 cat > conftest.$ac_ext <<EOF | 3990 cat > conftest.$ac_ext <<EOF |
3985 #line 3986 "configure" | 3991 #line 3992 "configure" |
3986 #include "confdefs.h" | 3992 #include "confdefs.h" |
3987 #include <stdio.h> | 3993 #include <stdio.h> |
3988 main() | 3994 main() |
3989 { | 3995 { |
3990 FILE *f=fopen("conftestval", "w"); | 3996 FILE *f=fopen("conftestval", "w"); |
3991 if (!f) exit(1); | 3997 if (!f) exit(1); |
3992 fprintf(f, "%d\n", sizeof(long long)); | 3998 fprintf(f, "%d\n", sizeof(long long)); |
3993 exit(0); | 3999 exit(0); |
3994 } | 4000 } |
3995 EOF | 4001 EOF |
3996 if { (eval echo configure:3997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4002 if { (eval echo configure:4003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3997 then | 4003 then |
3998 ac_cv_sizeof_long_long=`cat conftestval` | 4004 ac_cv_sizeof_long_long=`cat conftestval` |
3999 else | 4005 else |
4000 conftest_rc="$?" | 4006 conftest_rc="$?" |
4001 echo "configure: failed program was:" >&5 | 4007 echo "configure: failed program was:" >&5 |
4013 EOF | 4019 EOF |
4014 } | 4020 } |
4015 | 4021 |
4016 | 4022 |
4017 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4023 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4018 echo "configure:4019: checking size of void *" >&5 | 4024 echo "configure:4025: checking size of void *" >&5 |
4019 | 4025 |
4020 cat > conftest.$ac_ext <<EOF | 4026 cat > conftest.$ac_ext <<EOF |
4021 #line 4022 "configure" | 4027 #line 4028 "configure" |
4022 #include "confdefs.h" | 4028 #include "confdefs.h" |
4023 #include <stdio.h> | 4029 #include <stdio.h> |
4024 main() | 4030 main() |
4025 { | 4031 { |
4026 FILE *f=fopen("conftestval", "w"); | 4032 FILE *f=fopen("conftestval", "w"); |
4027 if (!f) exit(1); | 4033 if (!f) exit(1); |
4028 fprintf(f, "%d\n", sizeof(void *)); | 4034 fprintf(f, "%d\n", sizeof(void *)); |
4029 exit(0); | 4035 exit(0); |
4030 } | 4036 } |
4031 EOF | 4037 EOF |
4032 if { (eval echo configure:4033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4038 if { (eval echo configure:4039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4033 then | 4039 then |
4034 ac_cv_sizeof_void_p=`cat conftestval` | 4040 ac_cv_sizeof_void_p=`cat conftestval` |
4035 else | 4041 else |
4036 conftest_rc="$?" | 4042 conftest_rc="$?" |
4037 echo "configure: failed program was:" >&5 | 4043 echo "configure: failed program was:" >&5 |
4050 } | 4056 } |
4051 | 4057 |
4052 | 4058 |
4053 | 4059 |
4054 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4060 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4055 echo "configure:4056: checking for long file names" >&5 | 4061 echo "configure:4062: checking for long file names" >&5 |
4056 | 4062 |
4057 ac_cv_sys_long_file_names=yes | 4063 ac_cv_sys_long_file_names=yes |
4058 # Test for long file names in all the places we know might matter: | 4064 # Test for long file names in all the places we know might matter: |
4059 # . the current directory, where building will happen | 4065 # . the current directory, where building will happen |
4060 # $prefix/lib where we will be installing things | 4066 # $prefix/lib where we will be installing things |
4097 fi | 4103 fi |
4098 | 4104 |
4099 | 4105 |
4100 | 4106 |
4101 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4107 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4102 echo "configure:4103: checking for sin in -lm" >&5 | 4108 echo "configure:4109: checking for sin in -lm" >&5 |
4103 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4109 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4104 | 4110 |
4105 xe_check_libs=" -lm " | 4111 xe_check_libs=" -lm " |
4106 cat > conftest.$ac_ext <<EOF | 4112 cat > conftest.$ac_ext <<EOF |
4107 #line 4108 "configure" | 4113 #line 4114 "configure" |
4108 #include "confdefs.h" | 4114 #include "confdefs.h" |
4109 /* Override any gcc2 internal prototype to avoid an error. */ | 4115 /* Override any gcc2 internal prototype to avoid an error. */ |
4110 /* We use char because int might match the return type of a gcc2 | 4116 /* We use char because int might match the return type of a gcc2 |
4111 builtin and then its argument prototype would still apply. */ | 4117 builtin and then its argument prototype would still apply. */ |
4112 char sin(); | 4118 char sin(); |
4113 | 4119 |
4114 int main() { | 4120 int main() { |
4115 sin() | 4121 sin() |
4116 ; return 0; } | 4122 ; return 0; } |
4117 EOF | 4123 EOF |
4118 if { (eval echo configure:4119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4124 if { (eval echo configure:4125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4119 rm -rf conftest* | 4125 rm -rf conftest* |
4120 eval "ac_cv_lib_$ac_lib_var=yes" | 4126 eval "ac_cv_lib_$ac_lib_var=yes" |
4121 else | 4127 else |
4122 echo "configure: failed program was:" >&5 | 4128 echo "configure: failed program was:" >&5 |
4123 cat conftest.$ac_ext >&5 | 4129 cat conftest.$ac_ext >&5 |
4155 EOF | 4161 EOF |
4156 } | 4162 } |
4157 | 4163 |
4158 | 4164 |
4159 cat > conftest.$ac_ext <<EOF | 4165 cat > conftest.$ac_ext <<EOF |
4160 #line 4161 "configure" | 4166 #line 4167 "configure" |
4161 #include "confdefs.h" | 4167 #include "confdefs.h" |
4162 #include <math.h> | 4168 #include <math.h> |
4163 int main() { | 4169 int main() { |
4164 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4170 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4165 ; return 0; } | 4171 ; return 0; } |
4166 EOF | 4172 EOF |
4167 if { (eval echo configure:4168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4173 if { (eval echo configure:4174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4168 rm -rf conftest* | 4174 rm -rf conftest* |
4169 { test "$extra_verbose" = "yes" && cat << \EOF | 4175 { test "$extra_verbose" = "yes" && cat << \EOF |
4170 Defining HAVE_INVERSE_HYPERBOLIC | 4176 Defining HAVE_INVERSE_HYPERBOLIC |
4171 EOF | 4177 EOF |
4172 cat >> confdefs.h <<\EOF | 4178 cat >> confdefs.h <<\EOF |
4179 cat conftest.$ac_ext >&5 | 4185 cat conftest.$ac_ext >&5 |
4180 fi | 4186 fi |
4181 rm -f conftest* | 4187 rm -f conftest* |
4182 | 4188 |
4183 echo "checking type of mail spool file locking" 1>&6 | 4189 echo "checking type of mail spool file locking" 1>&6 |
4184 echo "configure:4185: checking type of mail spool file locking" >&5 | 4190 echo "configure:4191: checking type of mail spool file locking" >&5 |
4185 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4191 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
4186 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4192 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
4187 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4193 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
4188 Defining REAL_MAIL_USE_LOCKF | 4194 Defining REAL_MAIL_USE_LOCKF |
4189 EOF | 4195 EOF |
4203 else mail_locking="dot-locking" | 4209 else mail_locking="dot-locking" |
4204 fi | 4210 fi |
4205 | 4211 |
4206 | 4212 |
4207 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 4213 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
4208 echo "configure:4209: checking for kstat_open in -lkstat" >&5 | 4214 echo "configure:4215: checking for kstat_open in -lkstat" >&5 |
4209 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 4215 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
4210 | 4216 |
4211 xe_check_libs=" -lkstat " | 4217 xe_check_libs=" -lkstat " |
4212 cat > conftest.$ac_ext <<EOF | 4218 cat > conftest.$ac_ext <<EOF |
4213 #line 4214 "configure" | 4219 #line 4220 "configure" |
4214 #include "confdefs.h" | 4220 #include "confdefs.h" |
4215 /* Override any gcc2 internal prototype to avoid an error. */ | 4221 /* Override any gcc2 internal prototype to avoid an error. */ |
4216 /* We use char because int might match the return type of a gcc2 | 4222 /* We use char because int might match the return type of a gcc2 |
4217 builtin and then its argument prototype would still apply. */ | 4223 builtin and then its argument prototype would still apply. */ |
4218 char kstat_open(); | 4224 char kstat_open(); |
4219 | 4225 |
4220 int main() { | 4226 int main() { |
4221 kstat_open() | 4227 kstat_open() |
4222 ; return 0; } | 4228 ; return 0; } |
4223 EOF | 4229 EOF |
4224 if { (eval echo configure:4225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4230 if { (eval echo configure:4231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4225 rm -rf conftest* | 4231 rm -rf conftest* |
4226 eval "ac_cv_lib_$ac_lib_var=yes" | 4232 eval "ac_cv_lib_$ac_lib_var=yes" |
4227 else | 4233 else |
4228 echo "configure: failed program was:" >&5 | 4234 echo "configure: failed program was:" >&5 |
4229 cat conftest.$ac_ext >&5 | 4235 cat conftest.$ac_ext >&5 |
4253 | 4259 |
4254 | 4260 |
4255 | 4261 |
4256 | 4262 |
4257 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4263 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
4258 echo "configure:4259: checking for kvm_read in -lkvm" >&5 | 4264 echo "configure:4265: checking for kvm_read in -lkvm" >&5 |
4259 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4265 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
4260 | 4266 |
4261 xe_check_libs=" -lkvm " | 4267 xe_check_libs=" -lkvm " |
4262 cat > conftest.$ac_ext <<EOF | 4268 cat > conftest.$ac_ext <<EOF |
4263 #line 4264 "configure" | 4269 #line 4270 "configure" |
4264 #include "confdefs.h" | 4270 #include "confdefs.h" |
4265 /* Override any gcc2 internal prototype to avoid an error. */ | 4271 /* Override any gcc2 internal prototype to avoid an error. */ |
4266 /* We use char because int might match the return type of a gcc2 | 4272 /* We use char because int might match the return type of a gcc2 |
4267 builtin and then its argument prototype would still apply. */ | 4273 builtin and then its argument prototype would still apply. */ |
4268 char kvm_read(); | 4274 char kvm_read(); |
4269 | 4275 |
4270 int main() { | 4276 int main() { |
4271 kvm_read() | 4277 kvm_read() |
4272 ; return 0; } | 4278 ; return 0; } |
4273 EOF | 4279 EOF |
4274 if { (eval echo configure:4275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4280 if { (eval echo configure:4281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4275 rm -rf conftest* | 4281 rm -rf conftest* |
4276 eval "ac_cv_lib_$ac_lib_var=yes" | 4282 eval "ac_cv_lib_$ac_lib_var=yes" |
4277 else | 4283 else |
4278 echo "configure: failed program was:" >&5 | 4284 echo "configure: failed program was:" >&5 |
4279 cat conftest.$ac_ext >&5 | 4285 cat conftest.$ac_ext >&5 |
4304 | 4310 |
4305 | 4311 |
4306 case "$opsys" in decosf*) | 4312 case "$opsys" in decosf*) |
4307 | 4313 |
4308 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4314 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4309 echo "configure:4310: checking for cma_open in -lpthreads" >&5 | 4315 echo "configure:4316: checking for cma_open in -lpthreads" >&5 |
4310 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4316 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4311 | 4317 |
4312 xe_check_libs=" -lpthreads " | 4318 xe_check_libs=" -lpthreads " |
4313 cat > conftest.$ac_ext <<EOF | 4319 cat > conftest.$ac_ext <<EOF |
4314 #line 4315 "configure" | 4320 #line 4321 "configure" |
4315 #include "confdefs.h" | 4321 #include "confdefs.h" |
4316 /* Override any gcc2 internal prototype to avoid an error. */ | 4322 /* Override any gcc2 internal prototype to avoid an error. */ |
4317 /* We use char because int might match the return type of a gcc2 | 4323 /* We use char because int might match the return type of a gcc2 |
4318 builtin and then its argument prototype would still apply. */ | 4324 builtin and then its argument prototype would still apply. */ |
4319 char cma_open(); | 4325 char cma_open(); |
4320 | 4326 |
4321 int main() { | 4327 int main() { |
4322 cma_open() | 4328 cma_open() |
4323 ; return 0; } | 4329 ; return 0; } |
4324 EOF | 4330 EOF |
4325 if { (eval echo configure:4326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4331 if { (eval echo configure:4332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4326 rm -rf conftest* | 4332 rm -rf conftest* |
4327 eval "ac_cv_lib_$ac_lib_var=yes" | 4333 eval "ac_cv_lib_$ac_lib_var=yes" |
4328 else | 4334 else |
4329 echo "configure: failed program was:" >&5 | 4335 echo "configure: failed program was:" >&5 |
4330 cat conftest.$ac_ext >&5 | 4336 cat conftest.$ac_ext >&5 |
4356 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4362 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4357 c_switch_site="$c_switch_site -threads" ;; | 4363 c_switch_site="$c_switch_site -threads" ;; |
4358 esac | 4364 esac |
4359 | 4365 |
4360 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4366 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4361 echo "configure:4362: checking whether the -xildoff compiler flag is required" >&5 | 4367 echo "configure:4368: checking whether the -xildoff compiler flag is required" >&5 |
4362 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4368 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4363 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4369 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4364 then echo "$ac_t""no" 1>&6; | 4370 then echo "$ac_t""no" 1>&6; |
4365 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 | 4371 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 |
4366 fi | 4372 fi |
4367 else echo "$ac_t""no" 1>&6 | 4373 else echo "$ac_t""no" 1>&6 |
4368 fi | 4374 fi |
4369 | 4375 |
4370 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4376 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4371 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4377 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4372 echo "configure:4373: checking for \"-z ignore\" linker flag" >&5 | 4378 echo "configure:4379: checking for \"-z ignore\" linker flag" >&5 |
4373 case "`ld -h 2>&1`" in | 4379 case "`ld -h 2>&1`" in |
4374 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4380 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4375 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4381 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4376 *) echo "$ac_t""no" 1>&6 ;; | 4382 *) echo "$ac_t""no" 1>&6 ;; |
4377 esac | 4383 esac |
4378 fi | 4384 fi |
4379 | 4385 |
4380 | 4386 |
4381 echo "checking "for specified window system"" 1>&6 | 4387 echo "checking "for specified window system"" 1>&6 |
4382 echo "configure:4383: checking "for specified window system"" >&5 | 4388 echo "configure:4389: checking "for specified window system"" >&5 |
4383 | 4389 |
4384 if test "$with_x11" != "no"; then | 4390 if test "$with_x11" != "no"; then |
4385 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4391 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4386 window_system=x11 with_x11=yes | 4392 window_system=x11 with_x11=yes |
4387 | 4393 |
4410 # If we find X, set shell vars x_includes and x_libraries to the | 4416 # If we find X, set shell vars x_includes and x_libraries to the |
4411 # paths, otherwise set no_x=yes. | 4417 # paths, otherwise set no_x=yes. |
4412 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4418 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4413 # --without-x overrides everything else, but does not touch the cache. | 4419 # --without-x overrides everything else, but does not touch the cache. |
4414 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4420 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4415 echo "configure:4416: checking for X" >&5 | 4421 echo "configure:4422: checking for X" >&5 |
4416 | 4422 |
4417 # Check whether --with-x or --without-x was given. | 4423 # Check whether --with-x or --without-x was given. |
4418 if test "${with_x+set}" = set; then | 4424 if test "${with_x+set}" = set; then |
4419 withval="$with_x" | 4425 withval="$with_x" |
4420 : | 4426 : |
4470 # Guess where to find include files, by looking for this one X11 .h file. | 4476 # Guess where to find include files, by looking for this one X11 .h file. |
4471 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4477 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4472 | 4478 |
4473 # First, try using that file with no special directory specified. | 4479 # First, try using that file with no special directory specified. |
4474 cat > conftest.$ac_ext <<EOF | 4480 cat > conftest.$ac_ext <<EOF |
4475 #line 4476 "configure" | 4481 #line 4482 "configure" |
4476 #include "confdefs.h" | 4482 #include "confdefs.h" |
4477 #include <$x_direct_test_include> | 4483 #include <$x_direct_test_include> |
4478 EOF | 4484 EOF |
4479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4485 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4480 { (eval echo configure:4481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4486 { (eval echo configure:4487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4481 ac_err=`grep -v '^ *+' conftest.out` | 4487 ac_err=`grep -v '^ *+' conftest.out` |
4482 if test -z "$ac_err"; then | 4488 if test -z "$ac_err"; then |
4483 rm -rf conftest* | 4489 rm -rf conftest* |
4484 # We can compile using X headers with no special include directory. | 4490 # We can compile using X headers with no special include directory. |
4485 ac_x_includes= | 4491 ac_x_includes= |
4544 # See if we find them without any special options. | 4550 # See if we find them without any special options. |
4545 # Don't add to $LIBS permanently. | 4551 # Don't add to $LIBS permanently. |
4546 ac_save_LIBS="$LIBS" | 4552 ac_save_LIBS="$LIBS" |
4547 LIBS="-l$x_direct_test_library $LIBS" | 4553 LIBS="-l$x_direct_test_library $LIBS" |
4548 cat > conftest.$ac_ext <<EOF | 4554 cat > conftest.$ac_ext <<EOF |
4549 #line 4550 "configure" | 4555 #line 4556 "configure" |
4550 #include "confdefs.h" | 4556 #include "confdefs.h" |
4551 | 4557 |
4552 int main() { | 4558 int main() { |
4553 ${x_direct_test_function}() | 4559 ${x_direct_test_function}() |
4554 ; return 0; } | 4560 ; return 0; } |
4555 EOF | 4561 EOF |
4556 if { (eval echo configure:4557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4562 if { (eval echo configure:4563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4557 rm -rf conftest* | 4563 rm -rf conftest* |
4558 LIBS="$ac_save_LIBS" | 4564 LIBS="$ac_save_LIBS" |
4559 # We can link X programs with no special library path. | 4565 # We can link X programs with no special library path. |
4560 ac_x_libraries= | 4566 ac_x_libraries= |
4561 else | 4567 else |
4660 # For Solaris; some versions of Sun CC require a space after -R and | 4666 # For Solaris; some versions of Sun CC require a space after -R and |
4661 # others require no space. Words are not sufficient . . . . | 4667 # others require no space. Words are not sufficient . . . . |
4662 case "`(uname -sr) 2>/dev/null`" in | 4668 case "`(uname -sr) 2>/dev/null`" in |
4663 "SunOS 5"*) | 4669 "SunOS 5"*) |
4664 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4670 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4665 echo "configure:4666: checking whether -R must be followed by a space" >&5 | 4671 echo "configure:4672: checking whether -R must be followed by a space" >&5 |
4666 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4672 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4667 cat > conftest.$ac_ext <<EOF | 4673 cat > conftest.$ac_ext <<EOF |
4668 #line 4669 "configure" | 4674 #line 4675 "configure" |
4669 #include "confdefs.h" | 4675 #include "confdefs.h" |
4670 | 4676 |
4671 int main() { | 4677 int main() { |
4672 | 4678 |
4673 ; return 0; } | 4679 ; return 0; } |
4674 EOF | 4680 EOF |
4675 if { (eval echo configure:4676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4681 if { (eval echo configure:4682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4676 rm -rf conftest* | 4682 rm -rf conftest* |
4677 ac_R_nospace=yes | 4683 ac_R_nospace=yes |
4678 else | 4684 else |
4679 echo "configure: failed program was:" >&5 | 4685 echo "configure: failed program was:" >&5 |
4680 cat conftest.$ac_ext >&5 | 4686 cat conftest.$ac_ext >&5 |
4686 echo "$ac_t""no" 1>&6 | 4692 echo "$ac_t""no" 1>&6 |
4687 X_LIBS="$X_LIBS -R$x_libraries" | 4693 X_LIBS="$X_LIBS -R$x_libraries" |
4688 else | 4694 else |
4689 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4695 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4690 cat > conftest.$ac_ext <<EOF | 4696 cat > conftest.$ac_ext <<EOF |
4691 #line 4692 "configure" | 4697 #line 4698 "configure" |
4692 #include "confdefs.h" | 4698 #include "confdefs.h" |
4693 | 4699 |
4694 int main() { | 4700 int main() { |
4695 | 4701 |
4696 ; return 0; } | 4702 ; return 0; } |
4697 EOF | 4703 EOF |
4698 if { (eval echo configure:4699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4704 if { (eval echo configure:4705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4699 rm -rf conftest* | 4705 rm -rf conftest* |
4700 ac_R_space=yes | 4706 ac_R_space=yes |
4701 else | 4707 else |
4702 echo "configure: failed program was:" >&5 | 4708 echo "configure: failed program was:" >&5 |
4703 cat conftest.$ac_ext >&5 | 4709 cat conftest.$ac_ext >&5 |
4729 if test "$with_dnet" = "no" ; then | 4735 if test "$with_dnet" = "no" ; then |
4730 ac_cv_lib_dnet_dnet_ntoa=no | 4736 ac_cv_lib_dnet_dnet_ntoa=no |
4731 else | 4737 else |
4732 | 4738 |
4733 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4739 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4734 echo "configure:4735: checking for dnet_ntoa in -ldnet" >&5 | 4740 echo "configure:4741: checking for dnet_ntoa in -ldnet" >&5 |
4735 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4741 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4736 | 4742 |
4737 xe_check_libs=" -ldnet " | 4743 xe_check_libs=" -ldnet " |
4738 cat > conftest.$ac_ext <<EOF | 4744 cat > conftest.$ac_ext <<EOF |
4739 #line 4740 "configure" | 4745 #line 4746 "configure" |
4740 #include "confdefs.h" | 4746 #include "confdefs.h" |
4741 /* Override any gcc2 internal prototype to avoid an error. */ | 4747 /* Override any gcc2 internal prototype to avoid an error. */ |
4742 /* We use char because int might match the return type of a gcc2 | 4748 /* We use char because int might match the return type of a gcc2 |
4743 builtin and then its argument prototype would still apply. */ | 4749 builtin and then its argument prototype would still apply. */ |
4744 char dnet_ntoa(); | 4750 char dnet_ntoa(); |
4745 | 4751 |
4746 int main() { | 4752 int main() { |
4747 dnet_ntoa() | 4753 dnet_ntoa() |
4748 ; return 0; } | 4754 ; return 0; } |
4749 EOF | 4755 EOF |
4750 if { (eval echo configure:4751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4756 if { (eval echo configure:4757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4751 rm -rf conftest* | 4757 rm -rf conftest* |
4752 eval "ac_cv_lib_$ac_lib_var=yes" | 4758 eval "ac_cv_lib_$ac_lib_var=yes" |
4753 else | 4759 else |
4754 echo "configure: failed program was:" >&5 | 4760 echo "configure: failed program was:" >&5 |
4755 cat conftest.$ac_ext >&5 | 4761 cat conftest.$ac_ext >&5 |
4769 fi | 4775 fi |
4770 | 4776 |
4771 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4777 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4772 | 4778 |
4773 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4779 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4774 echo "configure:4775: checking for dnet_ntoa in -ldnet_stub" >&5 | 4780 echo "configure:4781: checking for dnet_ntoa in -ldnet_stub" >&5 |
4775 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4781 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4776 | 4782 |
4777 xe_check_libs=" -ldnet_stub " | 4783 xe_check_libs=" -ldnet_stub " |
4778 cat > conftest.$ac_ext <<EOF | 4784 cat > conftest.$ac_ext <<EOF |
4779 #line 4780 "configure" | 4785 #line 4786 "configure" |
4780 #include "confdefs.h" | 4786 #include "confdefs.h" |
4781 /* Override any gcc2 internal prototype to avoid an error. */ | 4787 /* Override any gcc2 internal prototype to avoid an error. */ |
4782 /* We use char because int might match the return type of a gcc2 | 4788 /* We use char because int might match the return type of a gcc2 |
4783 builtin and then its argument prototype would still apply. */ | 4789 builtin and then its argument prototype would still apply. */ |
4784 char dnet_ntoa(); | 4790 char dnet_ntoa(); |
4785 | 4791 |
4786 int main() { | 4792 int main() { |
4787 dnet_ntoa() | 4793 dnet_ntoa() |
4788 ; return 0; } | 4794 ; return 0; } |
4789 EOF | 4795 EOF |
4790 if { (eval echo configure:4791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4796 if { (eval echo configure:4797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4791 rm -rf conftest* | 4797 rm -rf conftest* |
4792 eval "ac_cv_lib_$ac_lib_var=yes" | 4798 eval "ac_cv_lib_$ac_lib_var=yes" |
4793 else | 4799 else |
4794 echo "configure: failed program was:" >&5 | 4800 echo "configure: failed program was:" >&5 |
4795 cat conftest.$ac_ext >&5 | 4801 cat conftest.$ac_ext >&5 |
4814 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4820 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4815 # needs -lnsl. | 4821 # needs -lnsl. |
4816 # The nsl library prevents programs from opening the X display | 4822 # The nsl library prevents programs from opening the X display |
4817 # on Irix 5.2, according to dickey@clark.net. | 4823 # on Irix 5.2, according to dickey@clark.net. |
4818 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4824 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4819 echo "configure:4820: checking for gethostbyname" >&5 | 4825 echo "configure:4826: checking for gethostbyname" >&5 |
4820 | 4826 |
4821 cat > conftest.$ac_ext <<EOF | 4827 cat > conftest.$ac_ext <<EOF |
4822 #line 4823 "configure" | 4828 #line 4829 "configure" |
4823 #include "confdefs.h" | 4829 #include "confdefs.h" |
4824 /* System header to define __stub macros and hopefully few prototypes, | 4830 /* System header to define __stub macros and hopefully few prototypes, |
4825 which can conflict with char gethostbyname(); below. */ | 4831 which can conflict with char gethostbyname(); below. */ |
4826 #include <assert.h> | 4832 #include <assert.h> |
4827 /* Override any gcc2 internal prototype to avoid an error. */ | 4833 /* Override any gcc2 internal prototype to avoid an error. */ |
4840 gethostbyname(); | 4846 gethostbyname(); |
4841 #endif | 4847 #endif |
4842 | 4848 |
4843 ; return 0; } | 4849 ; return 0; } |
4844 EOF | 4850 EOF |
4845 if { (eval echo configure:4846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4851 if { (eval echo configure:4852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4846 rm -rf conftest* | 4852 rm -rf conftest* |
4847 eval "ac_cv_func_gethostbyname=yes" | 4853 eval "ac_cv_func_gethostbyname=yes" |
4848 else | 4854 else |
4849 echo "configure: failed program was:" >&5 | 4855 echo "configure: failed program was:" >&5 |
4850 cat conftest.$ac_ext >&5 | 4856 cat conftest.$ac_ext >&5 |
4861 fi | 4867 fi |
4862 | 4868 |
4863 if test $ac_cv_func_gethostbyname = no; then | 4869 if test $ac_cv_func_gethostbyname = no; then |
4864 | 4870 |
4865 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4871 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4866 echo "configure:4867: checking for gethostbyname in -lnsl" >&5 | 4872 echo "configure:4873: checking for gethostbyname in -lnsl" >&5 |
4867 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4873 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4868 | 4874 |
4869 xe_check_libs=" -lnsl " | 4875 xe_check_libs=" -lnsl " |
4870 cat > conftest.$ac_ext <<EOF | 4876 cat > conftest.$ac_ext <<EOF |
4871 #line 4872 "configure" | 4877 #line 4878 "configure" |
4872 #include "confdefs.h" | 4878 #include "confdefs.h" |
4873 /* Override any gcc2 internal prototype to avoid an error. */ | 4879 /* Override any gcc2 internal prototype to avoid an error. */ |
4874 /* We use char because int might match the return type of a gcc2 | 4880 /* We use char because int might match the return type of a gcc2 |
4875 builtin and then its argument prototype would still apply. */ | 4881 builtin and then its argument prototype would still apply. */ |
4876 char gethostbyname(); | 4882 char gethostbyname(); |
4877 | 4883 |
4878 int main() { | 4884 int main() { |
4879 gethostbyname() | 4885 gethostbyname() |
4880 ; return 0; } | 4886 ; return 0; } |
4881 EOF | 4887 EOF |
4882 if { (eval echo configure:4883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4888 if { (eval echo configure:4889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4883 rm -rf conftest* | 4889 rm -rf conftest* |
4884 eval "ac_cv_lib_$ac_lib_var=yes" | 4890 eval "ac_cv_lib_$ac_lib_var=yes" |
4885 else | 4891 else |
4886 echo "configure: failed program was:" >&5 | 4892 echo "configure: failed program was:" >&5 |
4887 cat conftest.$ac_ext >&5 | 4893 cat conftest.$ac_ext >&5 |
4907 # on later versions), says simon@lia.di.epfl.ch: it contains | 4913 # on later versions), says simon@lia.di.epfl.ch: it contains |
4908 # gethostby* variants that don't use the nameserver (or something). | 4914 # gethostby* variants that don't use the nameserver (or something). |
4909 # -lsocket must be given before -lnsl if both are needed. | 4915 # -lsocket must be given before -lnsl if both are needed. |
4910 # We assume that if connect needs -lnsl, so does gethostbyname. | 4916 # We assume that if connect needs -lnsl, so does gethostbyname. |
4911 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4917 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4912 echo "configure:4913: checking for connect" >&5 | 4918 echo "configure:4919: checking for connect" >&5 |
4913 | 4919 |
4914 cat > conftest.$ac_ext <<EOF | 4920 cat > conftest.$ac_ext <<EOF |
4915 #line 4916 "configure" | 4921 #line 4922 "configure" |
4916 #include "confdefs.h" | 4922 #include "confdefs.h" |
4917 /* System header to define __stub macros and hopefully few prototypes, | 4923 /* System header to define __stub macros and hopefully few prototypes, |
4918 which can conflict with char connect(); below. */ | 4924 which can conflict with char connect(); below. */ |
4919 #include <assert.h> | 4925 #include <assert.h> |
4920 /* Override any gcc2 internal prototype to avoid an error. */ | 4926 /* Override any gcc2 internal prototype to avoid an error. */ |
4933 connect(); | 4939 connect(); |
4934 #endif | 4940 #endif |
4935 | 4941 |
4936 ; return 0; } | 4942 ; return 0; } |
4937 EOF | 4943 EOF |
4938 if { (eval echo configure:4939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4944 if { (eval echo configure:4945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4939 rm -rf conftest* | 4945 rm -rf conftest* |
4940 eval "ac_cv_func_connect=yes" | 4946 eval "ac_cv_func_connect=yes" |
4941 else | 4947 else |
4942 echo "configure: failed program was:" >&5 | 4948 echo "configure: failed program was:" >&5 |
4943 cat conftest.$ac_ext >&5 | 4949 cat conftest.$ac_ext >&5 |
4956 if test $ac_cv_func_connect = no; then | 4962 if test $ac_cv_func_connect = no; then |
4957 | 4963 |
4958 xe_msg_checking="for connect in -lsocket" | 4964 xe_msg_checking="for connect in -lsocket" |
4959 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4965 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4960 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4966 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4961 echo "configure:4962: checking "$xe_msg_checking"" >&5 | 4967 echo "configure:4968: checking "$xe_msg_checking"" >&5 |
4962 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4968 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4963 | 4969 |
4964 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4970 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4965 cat > conftest.$ac_ext <<EOF | 4971 cat > conftest.$ac_ext <<EOF |
4966 #line 4967 "configure" | 4972 #line 4973 "configure" |
4967 #include "confdefs.h" | 4973 #include "confdefs.h" |
4968 /* Override any gcc2 internal prototype to avoid an error. */ | 4974 /* Override any gcc2 internal prototype to avoid an error. */ |
4969 /* We use char because int might match the return type of a gcc2 | 4975 /* We use char because int might match the return type of a gcc2 |
4970 builtin and then its argument prototype would still apply. */ | 4976 builtin and then its argument prototype would still apply. */ |
4971 char connect(); | 4977 char connect(); |
4972 | 4978 |
4973 int main() { | 4979 int main() { |
4974 connect() | 4980 connect() |
4975 ; return 0; } | 4981 ; return 0; } |
4976 EOF | 4982 EOF |
4977 if { (eval echo configure:4978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4983 if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4978 rm -rf conftest* | 4984 rm -rf conftest* |
4979 eval "ac_cv_lib_$ac_lib_var=yes" | 4985 eval "ac_cv_lib_$ac_lib_var=yes" |
4980 else | 4986 else |
4981 echo "configure: failed program was:" >&5 | 4987 echo "configure: failed program was:" >&5 |
4982 cat conftest.$ac_ext >&5 | 4988 cat conftest.$ac_ext >&5 |
4996 | 5002 |
4997 fi | 5003 fi |
4998 | 5004 |
4999 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5005 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
5000 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5006 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
5001 echo "configure:5002: checking for remove" >&5 | 5007 echo "configure:5008: checking for remove" >&5 |
5002 | 5008 |
5003 cat > conftest.$ac_ext <<EOF | 5009 cat > conftest.$ac_ext <<EOF |
5004 #line 5005 "configure" | 5010 #line 5011 "configure" |
5005 #include "confdefs.h" | 5011 #include "confdefs.h" |
5006 /* System header to define __stub macros and hopefully few prototypes, | 5012 /* System header to define __stub macros and hopefully few prototypes, |
5007 which can conflict with char remove(); below. */ | 5013 which can conflict with char remove(); below. */ |
5008 #include <assert.h> | 5014 #include <assert.h> |
5009 /* Override any gcc2 internal prototype to avoid an error. */ | 5015 /* Override any gcc2 internal prototype to avoid an error. */ |
5022 remove(); | 5028 remove(); |
5023 #endif | 5029 #endif |
5024 | 5030 |
5025 ; return 0; } | 5031 ; return 0; } |
5026 EOF | 5032 EOF |
5027 if { (eval echo configure:5028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5033 if { (eval echo configure:5034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5028 rm -rf conftest* | 5034 rm -rf conftest* |
5029 eval "ac_cv_func_remove=yes" | 5035 eval "ac_cv_func_remove=yes" |
5030 else | 5036 else |
5031 echo "configure: failed program was:" >&5 | 5037 echo "configure: failed program was:" >&5 |
5032 cat conftest.$ac_ext >&5 | 5038 cat conftest.$ac_ext >&5 |
5043 fi | 5049 fi |
5044 | 5050 |
5045 if test $ac_cv_func_remove = no; then | 5051 if test $ac_cv_func_remove = no; then |
5046 | 5052 |
5047 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5053 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
5048 echo "configure:5049: checking for remove in -lposix" >&5 | 5054 echo "configure:5055: checking for remove in -lposix" >&5 |
5049 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5055 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
5050 | 5056 |
5051 xe_check_libs=" -lposix " | 5057 xe_check_libs=" -lposix " |
5052 cat > conftest.$ac_ext <<EOF | 5058 cat > conftest.$ac_ext <<EOF |
5053 #line 5054 "configure" | 5059 #line 5060 "configure" |
5054 #include "confdefs.h" | 5060 #include "confdefs.h" |
5055 /* Override any gcc2 internal prototype to avoid an error. */ | 5061 /* Override any gcc2 internal prototype to avoid an error. */ |
5056 /* We use char because int might match the return type of a gcc2 | 5062 /* We use char because int might match the return type of a gcc2 |
5057 builtin and then its argument prototype would still apply. */ | 5063 builtin and then its argument prototype would still apply. */ |
5058 char remove(); | 5064 char remove(); |
5059 | 5065 |
5060 int main() { | 5066 int main() { |
5061 remove() | 5067 remove() |
5062 ; return 0; } | 5068 ; return 0; } |
5063 EOF | 5069 EOF |
5064 if { (eval echo configure:5065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5070 if { (eval echo configure:5071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5065 rm -rf conftest* | 5071 rm -rf conftest* |
5066 eval "ac_cv_lib_$ac_lib_var=yes" | 5072 eval "ac_cv_lib_$ac_lib_var=yes" |
5067 else | 5073 else |
5068 echo "configure: failed program was:" >&5 | 5074 echo "configure: failed program was:" >&5 |
5069 cat conftest.$ac_ext >&5 | 5075 cat conftest.$ac_ext >&5 |
5083 | 5089 |
5084 fi | 5090 fi |
5085 | 5091 |
5086 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5092 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5087 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5093 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5088 echo "configure:5089: checking for shmat" >&5 | 5094 echo "configure:5095: checking for shmat" >&5 |
5089 | 5095 |
5090 cat > conftest.$ac_ext <<EOF | 5096 cat > conftest.$ac_ext <<EOF |
5091 #line 5092 "configure" | 5097 #line 5098 "configure" |
5092 #include "confdefs.h" | 5098 #include "confdefs.h" |
5093 /* System header to define __stub macros and hopefully few prototypes, | 5099 /* System header to define __stub macros and hopefully few prototypes, |
5094 which can conflict with char shmat(); below. */ | 5100 which can conflict with char shmat(); below. */ |
5095 #include <assert.h> | 5101 #include <assert.h> |
5096 /* Override any gcc2 internal prototype to avoid an error. */ | 5102 /* Override any gcc2 internal prototype to avoid an error. */ |
5109 shmat(); | 5115 shmat(); |
5110 #endif | 5116 #endif |
5111 | 5117 |
5112 ; return 0; } | 5118 ; return 0; } |
5113 EOF | 5119 EOF |
5114 if { (eval echo configure:5115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5120 if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5115 rm -rf conftest* | 5121 rm -rf conftest* |
5116 eval "ac_cv_func_shmat=yes" | 5122 eval "ac_cv_func_shmat=yes" |
5117 else | 5123 else |
5118 echo "configure: failed program was:" >&5 | 5124 echo "configure: failed program was:" >&5 |
5119 cat conftest.$ac_ext >&5 | 5125 cat conftest.$ac_ext >&5 |
5130 fi | 5136 fi |
5131 | 5137 |
5132 if test $ac_cv_func_shmat = no; then | 5138 if test $ac_cv_func_shmat = no; then |
5133 | 5139 |
5134 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5140 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5135 echo "configure:5136: checking for shmat in -lipc" >&5 | 5141 echo "configure:5142: checking for shmat in -lipc" >&5 |
5136 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5142 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5137 | 5143 |
5138 xe_check_libs=" -lipc " | 5144 xe_check_libs=" -lipc " |
5139 cat > conftest.$ac_ext <<EOF | 5145 cat > conftest.$ac_ext <<EOF |
5140 #line 5141 "configure" | 5146 #line 5147 "configure" |
5141 #include "confdefs.h" | 5147 #include "confdefs.h" |
5142 /* Override any gcc2 internal prototype to avoid an error. */ | 5148 /* Override any gcc2 internal prototype to avoid an error. */ |
5143 /* We use char because int might match the return type of a gcc2 | 5149 /* We use char because int might match the return type of a gcc2 |
5144 builtin and then its argument prototype would still apply. */ | 5150 builtin and then its argument prototype would still apply. */ |
5145 char shmat(); | 5151 char shmat(); |
5146 | 5152 |
5147 int main() { | 5153 int main() { |
5148 shmat() | 5154 shmat() |
5149 ; return 0; } | 5155 ; return 0; } |
5150 EOF | 5156 EOF |
5151 if { (eval echo configure:5152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5157 if { (eval echo configure:5158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5152 rm -rf conftest* | 5158 rm -rf conftest* |
5153 eval "ac_cv_lib_$ac_lib_var=yes" | 5159 eval "ac_cv_lib_$ac_lib_var=yes" |
5154 else | 5160 else |
5155 echo "configure: failed program was:" >&5 | 5161 echo "configure: failed program was:" >&5 |
5156 cat conftest.$ac_ext >&5 | 5162 cat conftest.$ac_ext >&5 |
5180 # These have to be linked with before -lX11, unlike the other | 5186 # These have to be linked with before -lX11, unlike the other |
5181 # libraries we check for below, so use a different variable. | 5187 # libraries we check for below, so use a different variable. |
5182 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5188 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5183 | 5189 |
5184 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 5190 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
5185 echo "configure:5186: checking for IceConnectionNumber in -lICE" >&5 | 5191 echo "configure:5192: checking for IceConnectionNumber in -lICE" >&5 |
5186 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5192 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5187 | 5193 |
5188 xe_check_libs=" -lICE " | 5194 xe_check_libs=" -lICE " |
5189 cat > conftest.$ac_ext <<EOF | 5195 cat > conftest.$ac_ext <<EOF |
5190 #line 5191 "configure" | 5196 #line 5197 "configure" |
5191 #include "confdefs.h" | 5197 #include "confdefs.h" |
5192 /* Override any gcc2 internal prototype to avoid an error. */ | 5198 /* Override any gcc2 internal prototype to avoid an error. */ |
5193 /* We use char because int might match the return type of a gcc2 | 5199 /* We use char because int might match the return type of a gcc2 |
5194 builtin and then its argument prototype would still apply. */ | 5200 builtin and then its argument prototype would still apply. */ |
5195 char IceConnectionNumber(); | 5201 char IceConnectionNumber(); |
5196 | 5202 |
5197 int main() { | 5203 int main() { |
5198 IceConnectionNumber() | 5204 IceConnectionNumber() |
5199 ; return 0; } | 5205 ; return 0; } |
5200 EOF | 5206 EOF |
5201 if { (eval echo configure:5202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5207 if { (eval echo configure:5208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5202 rm -rf conftest* | 5208 rm -rf conftest* |
5203 eval "ac_cv_lib_$ac_lib_var=yes" | 5209 eval "ac_cv_lib_$ac_lib_var=yes" |
5204 else | 5210 else |
5205 echo "configure: failed program was:" >&5 | 5211 echo "configure: failed program was:" >&5 |
5206 cat conftest.$ac_ext >&5 | 5212 cat conftest.$ac_ext >&5 |
5365 EOF | 5371 EOF |
5366 } | 5372 } |
5367 | 5373 |
5368 | 5374 |
5369 echo "checking for X defines extracted by xmkmf" 1>&6 | 5375 echo "checking for X defines extracted by xmkmf" 1>&6 |
5370 echo "configure:5371: checking for X defines extracted by xmkmf" >&5 | 5376 echo "configure:5377: checking for X defines extracted by xmkmf" >&5 |
5371 rm -fr conftestdir | 5377 rm -fr conftestdir |
5372 if mkdir conftestdir; then | 5378 if mkdir conftestdir; then |
5373 cd conftestdir | 5379 cd conftestdir |
5374 cat > Imakefile <<'EOF' | 5380 cat > Imakefile <<'EOF' |
5375 xetest: | 5381 xetest: |
5397 done | 5403 done |
5398 fi | 5404 fi |
5399 | 5405 |
5400 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5406 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5401 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5407 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5402 echo "configure:5403: checking for X11/Intrinsic.h" >&5 | 5408 echo "configure:5409: checking for X11/Intrinsic.h" >&5 |
5403 | 5409 |
5404 cat > conftest.$ac_ext <<EOF | 5410 cat > conftest.$ac_ext <<EOF |
5405 #line 5406 "configure" | 5411 #line 5412 "configure" |
5406 #include "confdefs.h" | 5412 #include "confdefs.h" |
5407 #include <X11/Intrinsic.h> | 5413 #include <X11/Intrinsic.h> |
5408 EOF | 5414 EOF |
5409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5410 { (eval echo configure:5411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5416 { (eval echo configure:5417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5411 ac_err=`grep -v '^ *+' conftest.out` | 5417 ac_err=`grep -v '^ *+' conftest.out` |
5412 if test -z "$ac_err"; then | 5418 if test -z "$ac_err"; then |
5413 rm -rf conftest* | 5419 rm -rf conftest* |
5414 eval "ac_cv_header_$ac_safe=yes" | 5420 eval "ac_cv_header_$ac_safe=yes" |
5415 else | 5421 else |
5429 fi | 5435 fi |
5430 | 5436 |
5431 | 5437 |
5432 | 5438 |
5433 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5439 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5434 echo "configure:5435: checking for XOpenDisplay in -lX11" >&5 | 5440 echo "configure:5441: checking for XOpenDisplay in -lX11" >&5 |
5435 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5441 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5436 | 5442 |
5437 xe_check_libs=" -lX11 " | 5443 xe_check_libs=" -lX11 " |
5438 cat > conftest.$ac_ext <<EOF | 5444 cat > conftest.$ac_ext <<EOF |
5439 #line 5440 "configure" | 5445 #line 5446 "configure" |
5440 #include "confdefs.h" | 5446 #include "confdefs.h" |
5441 /* Override any gcc2 internal prototype to avoid an error. */ | 5447 /* Override any gcc2 internal prototype to avoid an error. */ |
5442 /* We use char because int might match the return type of a gcc2 | 5448 /* We use char because int might match the return type of a gcc2 |
5443 builtin and then its argument prototype would still apply. */ | 5449 builtin and then its argument prototype would still apply. */ |
5444 char XOpenDisplay(); | 5450 char XOpenDisplay(); |
5445 | 5451 |
5446 int main() { | 5452 int main() { |
5447 XOpenDisplay() | 5453 XOpenDisplay() |
5448 ; return 0; } | 5454 ; return 0; } |
5449 EOF | 5455 EOF |
5450 if { (eval echo configure:5451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5456 if { (eval echo configure:5457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5451 rm -rf conftest* | 5457 rm -rf conftest* |
5452 eval "ac_cv_lib_$ac_lib_var=yes" | 5458 eval "ac_cv_lib_$ac_lib_var=yes" |
5453 else | 5459 else |
5454 echo "configure: failed program was:" >&5 | 5460 echo "configure: failed program was:" >&5 |
5455 cat conftest.$ac_ext >&5 | 5461 cat conftest.$ac_ext >&5 |
5470 if test "$have_lib_x11" != "yes"; then | 5476 if test "$have_lib_x11" != "yes"; then |
5471 | 5477 |
5472 xe_msg_checking="for XGetFontProperty in -lX11" | 5478 xe_msg_checking="for XGetFontProperty in -lX11" |
5473 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5479 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5474 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5480 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5475 echo "configure:5476: checking "$xe_msg_checking"" >&5 | 5481 echo "configure:5482: checking "$xe_msg_checking"" >&5 |
5476 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5482 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5477 | 5483 |
5478 xe_check_libs=" -lX11 -b i486-linuxaout" | 5484 xe_check_libs=" -lX11 -b i486-linuxaout" |
5479 cat > conftest.$ac_ext <<EOF | 5485 cat > conftest.$ac_ext <<EOF |
5480 #line 5481 "configure" | 5486 #line 5487 "configure" |
5481 #include "confdefs.h" | 5487 #include "confdefs.h" |
5482 /* Override any gcc2 internal prototype to avoid an error. */ | 5488 /* Override any gcc2 internal prototype to avoid an error. */ |
5483 /* We use char because int might match the return type of a gcc2 | 5489 /* We use char because int might match the return type of a gcc2 |
5484 builtin and then its argument prototype would still apply. */ | 5490 builtin and then its argument prototype would still apply. */ |
5485 char XGetFontProperty(); | 5491 char XGetFontProperty(); |
5486 | 5492 |
5487 int main() { | 5493 int main() { |
5488 XGetFontProperty() | 5494 XGetFontProperty() |
5489 ; return 0; } | 5495 ; return 0; } |
5490 EOF | 5496 EOF |
5491 if { (eval echo configure:5492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5497 if { (eval echo configure:5498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5492 rm -rf conftest* | 5498 rm -rf conftest* |
5493 eval "ac_cv_lib_$ac_lib_var=yes" | 5499 eval "ac_cv_lib_$ac_lib_var=yes" |
5494 else | 5500 else |
5495 echo "configure: failed program was:" >&5 | 5501 echo "configure: failed program was:" >&5 |
5496 cat conftest.$ac_ext >&5 | 5502 cat conftest.$ac_ext >&5 |
5513 libs_x="-lX11" | 5519 libs_x="-lX11" |
5514 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5520 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5515 | 5521 |
5516 | 5522 |
5517 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5523 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5518 echo "configure:5519: checking for XShapeSelectInput in -lXext" >&5 | 5524 echo "configure:5525: checking for XShapeSelectInput in -lXext" >&5 |
5519 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5525 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5520 | 5526 |
5521 xe_check_libs=" -lXext " | 5527 xe_check_libs=" -lXext " |
5522 cat > conftest.$ac_ext <<EOF | 5528 cat > conftest.$ac_ext <<EOF |
5523 #line 5524 "configure" | 5529 #line 5530 "configure" |
5524 #include "confdefs.h" | 5530 #include "confdefs.h" |
5525 /* Override any gcc2 internal prototype to avoid an error. */ | 5531 /* Override any gcc2 internal prototype to avoid an error. */ |
5526 /* We use char because int might match the return type of a gcc2 | 5532 /* We use char because int might match the return type of a gcc2 |
5527 builtin and then its argument prototype would still apply. */ | 5533 builtin and then its argument prototype would still apply. */ |
5528 char XShapeSelectInput(); | 5534 char XShapeSelectInput(); |
5529 | 5535 |
5530 int main() { | 5536 int main() { |
5531 XShapeSelectInput() | 5537 XShapeSelectInput() |
5532 ; return 0; } | 5538 ; return 0; } |
5533 EOF | 5539 EOF |
5534 if { (eval echo configure:5535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5540 if { (eval echo configure:5541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5535 rm -rf conftest* | 5541 rm -rf conftest* |
5536 eval "ac_cv_lib_$ac_lib_var=yes" | 5542 eval "ac_cv_lib_$ac_lib_var=yes" |
5537 else | 5543 else |
5538 echo "configure: failed program was:" >&5 | 5544 echo "configure: failed program was:" >&5 |
5539 cat conftest.$ac_ext >&5 | 5545 cat conftest.$ac_ext >&5 |
5552 | 5558 |
5553 | 5559 |
5554 | 5560 |
5555 | 5561 |
5556 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5562 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5557 echo "configure:5558: checking for XtOpenDisplay in -lXt" >&5 | 5563 echo "configure:5564: checking for XtOpenDisplay in -lXt" >&5 |
5558 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5564 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5559 | 5565 |
5560 xe_check_libs=" -lXt " | 5566 xe_check_libs=" -lXt " |
5561 cat > conftest.$ac_ext <<EOF | 5567 cat > conftest.$ac_ext <<EOF |
5562 #line 5563 "configure" | 5568 #line 5569 "configure" |
5563 #include "confdefs.h" | 5569 #include "confdefs.h" |
5564 /* Override any gcc2 internal prototype to avoid an error. */ | 5570 /* Override any gcc2 internal prototype to avoid an error. */ |
5565 /* We use char because int might match the return type of a gcc2 | 5571 /* We use char because int might match the return type of a gcc2 |
5566 builtin and then its argument prototype would still apply. */ | 5572 builtin and then its argument prototype would still apply. */ |
5567 char XtOpenDisplay(); | 5573 char XtOpenDisplay(); |
5568 | 5574 |
5569 int main() { | 5575 int main() { |
5570 XtOpenDisplay() | 5576 XtOpenDisplay() |
5571 ; return 0; } | 5577 ; return 0; } |
5572 EOF | 5578 EOF |
5573 if { (eval echo configure:5574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5579 if { (eval echo configure:5580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5574 rm -rf conftest* | 5580 rm -rf conftest* |
5575 eval "ac_cv_lib_$ac_lib_var=yes" | 5581 eval "ac_cv_lib_$ac_lib_var=yes" |
5576 else | 5582 else |
5577 echo "configure: failed program was:" >&5 | 5583 echo "configure: failed program was:" >&5 |
5578 cat conftest.$ac_ext >&5 | 5584 cat conftest.$ac_ext >&5 |
5591 fi | 5597 fi |
5592 | 5598 |
5593 | 5599 |
5594 | 5600 |
5595 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5601 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5596 echo "configure:5597: checking the version of X11 being used" >&5 | 5602 echo "configure:5603: checking the version of X11 being used" >&5 |
5597 cat > conftest.$ac_ext <<EOF | 5603 cat > conftest.$ac_ext <<EOF |
5598 #line 5599 "configure" | 5604 #line 5605 "configure" |
5599 #include "confdefs.h" | 5605 #include "confdefs.h" |
5600 #include <X11/Intrinsic.h> | 5606 #include <X11/Intrinsic.h> |
5601 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5607 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5602 EOF | 5608 EOF |
5603 if { (eval echo configure:5604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5609 if { (eval echo configure:5610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5604 then | 5610 then |
5605 ./conftest foobar; x11_release=$? | 5611 ./conftest foobar; x11_release=$? |
5606 else | 5612 else |
5607 conftest_rc="$?" | 5613 conftest_rc="$?" |
5608 echo "configure: failed program was:" >&5 | 5614 echo "configure: failed program was:" >&5 |
5623 | 5629 |
5624 for ac_hdr in X11/Xlocale.h | 5630 for ac_hdr in X11/Xlocale.h |
5625 do | 5631 do |
5626 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5632 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5627 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5633 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5628 echo "configure:5629: checking for $ac_hdr" >&5 | 5634 echo "configure:5635: checking for $ac_hdr" >&5 |
5629 | 5635 |
5630 cat > conftest.$ac_ext <<EOF | 5636 cat > conftest.$ac_ext <<EOF |
5631 #line 5632 "configure" | 5637 #line 5638 "configure" |
5632 #include "confdefs.h" | 5638 #include "confdefs.h" |
5633 #include <$ac_hdr> | 5639 #include <$ac_hdr> |
5634 EOF | 5640 EOF |
5635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5636 { (eval echo configure:5637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5642 { (eval echo configure:5643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5637 ac_err=`grep -v '^ *+' conftest.out` | 5643 ac_err=`grep -v '^ *+' conftest.out` |
5638 if test -z "$ac_err"; then | 5644 if test -z "$ac_err"; then |
5639 rm -rf conftest* | 5645 rm -rf conftest* |
5640 eval "ac_cv_header_$ac_safe=yes" | 5646 eval "ac_cv_header_$ac_safe=yes" |
5641 else | 5647 else |
5662 fi | 5668 fi |
5663 done | 5669 done |
5664 | 5670 |
5665 | 5671 |
5666 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5672 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5667 echo "configure:5668: checking for XFree86" >&5 | 5673 echo "configure:5674: checking for XFree86" >&5 |
5668 if test -d "/usr/X386/include" -o \ | 5674 if test -d "/usr/X386/include" -o \ |
5669 -f "/etc/XF86Config" -o \ | 5675 -f "/etc/XF86Config" -o \ |
5670 -f "/etc/X11/XF86Config" -o \ | 5676 -f "/etc/X11/XF86Config" -o \ |
5671 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5677 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5672 echo "$ac_t""yes" 1>&6 | 5678 echo "$ac_t""yes" 1>&6 |
5682 echo "$ac_t""no" 1>&6 | 5688 echo "$ac_t""no" 1>&6 |
5683 fi | 5689 fi |
5684 | 5690 |
5685 test -z "$with_xmu" && { | 5691 test -z "$with_xmu" && { |
5686 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5692 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5687 echo "configure:5688: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5693 echo "configure:5694: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5688 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5694 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5689 | 5695 |
5690 xe_check_libs=" -lXmu " | 5696 xe_check_libs=" -lXmu " |
5691 cat > conftest.$ac_ext <<EOF | 5697 cat > conftest.$ac_ext <<EOF |
5692 #line 5693 "configure" | 5698 #line 5699 "configure" |
5693 #include "confdefs.h" | 5699 #include "confdefs.h" |
5694 /* Override any gcc2 internal prototype to avoid an error. */ | 5700 /* Override any gcc2 internal prototype to avoid an error. */ |
5695 /* We use char because int might match the return type of a gcc2 | 5701 /* We use char because int might match the return type of a gcc2 |
5696 builtin and then its argument prototype would still apply. */ | 5702 builtin and then its argument prototype would still apply. */ |
5697 char XmuReadBitmapDataFromFile(); | 5703 char XmuReadBitmapDataFromFile(); |
5698 | 5704 |
5699 int main() { | 5705 int main() { |
5700 XmuReadBitmapDataFromFile() | 5706 XmuReadBitmapDataFromFile() |
5701 ; return 0; } | 5707 ; return 0; } |
5702 EOF | 5708 EOF |
5703 if { (eval echo configure:5704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5709 if { (eval echo configure:5710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5704 rm -rf conftest* | 5710 rm -rf conftest* |
5705 eval "ac_cv_lib_$ac_lib_var=yes" | 5711 eval "ac_cv_lib_$ac_lib_var=yes" |
5706 else | 5712 else |
5707 echo "configure: failed program was:" >&5 | 5713 echo "configure: failed program was:" >&5 |
5708 cat conftest.$ac_ext >&5 | 5714 cat conftest.$ac_ext >&5 |
5737 | 5743 |
5738 fi | 5744 fi |
5739 | 5745 |
5740 | 5746 |
5741 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5747 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5742 echo "configure:5743: checking for main in -lXbsd" >&5 | 5748 echo "configure:5749: checking for main in -lXbsd" >&5 |
5743 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5749 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5744 | 5750 |
5745 xe_check_libs=" -lXbsd " | 5751 xe_check_libs=" -lXbsd " |
5746 cat > conftest.$ac_ext <<EOF | 5752 cat > conftest.$ac_ext <<EOF |
5747 #line 5748 "configure" | 5753 #line 5754 "configure" |
5748 #include "confdefs.h" | 5754 #include "confdefs.h" |
5749 | 5755 |
5750 int main() { | 5756 int main() { |
5751 main() | 5757 main() |
5752 ; return 0; } | 5758 ; return 0; } |
5753 EOF | 5759 EOF |
5754 if { (eval echo configure:5755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5760 if { (eval echo configure:5761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5755 rm -rf conftest* | 5761 rm -rf conftest* |
5756 eval "ac_cv_lib_$ac_lib_var=yes" | 5762 eval "ac_cv_lib_$ac_lib_var=yes" |
5757 else | 5763 else |
5758 echo "configure: failed program was:" >&5 | 5764 echo "configure: failed program was:" >&5 |
5759 cat conftest.$ac_ext >&5 | 5765 cat conftest.$ac_ext >&5 |
5786 fi | 5792 fi |
5787 | 5793 |
5788 fi | 5794 fi |
5789 if test "$with_msw" != "no"; then | 5795 if test "$with_msw" != "no"; then |
5790 echo "checking for MS-Windows" 1>&6 | 5796 echo "checking for MS-Windows" 1>&6 |
5791 echo "configure:5792: checking for MS-Windows" >&5 | 5797 echo "configure:5798: checking for MS-Windows" >&5 |
5792 | 5798 |
5793 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5799 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
5794 echo "configure:5795: checking for main in -lgdi32" >&5 | 5800 echo "configure:5801: checking for main in -lgdi32" >&5 |
5795 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5801 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
5796 | 5802 |
5797 xe_check_libs=" -lgdi32 " | 5803 xe_check_libs=" -lgdi32 " |
5798 cat > conftest.$ac_ext <<EOF | 5804 cat > conftest.$ac_ext <<EOF |
5799 #line 5800 "configure" | 5805 #line 5806 "configure" |
5800 #include "confdefs.h" | 5806 #include "confdefs.h" |
5801 | 5807 |
5802 int main() { | 5808 int main() { |
5803 main() | 5809 main() |
5804 ; return 0; } | 5810 ; return 0; } |
5805 EOF | 5811 EOF |
5806 if { (eval echo configure:5807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5812 if { (eval echo configure:5813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5807 rm -rf conftest* | 5813 rm -rf conftest* |
5808 eval "ac_cv_lib_$ac_lib_var=yes" | 5814 eval "ac_cv_lib_$ac_lib_var=yes" |
5809 else | 5815 else |
5810 echo "configure: failed program was:" >&5 | 5816 echo "configure: failed program was:" >&5 |
5811 cat conftest.$ac_ext >&5 | 5817 cat conftest.$ac_ext >&5 |
5832 EOF | 5838 EOF |
5833 } | 5839 } |
5834 | 5840 |
5835 install_pp="$blddir/lib-src/installexe.sh" | 5841 install_pp="$blddir/lib-src/installexe.sh" |
5836 libs_system="$libs_system -lshell32 -lgdi32 -luser32 -lcomctl32" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32 -lcomctl32\" to \$libs_system"; fi | 5842 libs_system="$libs_system -lshell32 -lgdi32 -luser32 -lcomctl32" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32 -lcomctl32\" to \$libs_system"; fi |
5843 test "$with_dragndrop" != no && dragndrop_proto="$dragndrop_proto msw" && if test "$extra_verbose" = "yes"; then echo " Appending \"msw\" to \$dragndrop_proto"; fi | |
5837 if test "$window_system" != x11; then | 5844 if test "$window_system" != x11; then |
5838 window_system=msw | 5845 window_system=msw |
5839 test "$with_scrollbars" != "no" && with_scrollbars=msw \ | 5846 test "$with_scrollbars" != "no" && with_scrollbars=msw \ |
5840 && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then | 5847 && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then |
5841 echo " xemacs will be linked with \"scrollbar-msw.o\"" | 5848 echo " xemacs will be linked with \"scrollbar-msw.o\"" |
5865 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 5872 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
5866 echo " xemacs will be linked with \"dialog-msw.o\"" | 5873 echo " xemacs will be linked with \"dialog-msw.o\"" |
5867 fi | 5874 fi |
5868 fi | 5875 fi |
5869 cat > conftest.$ac_ext <<EOF | 5876 cat > conftest.$ac_ext <<EOF |
5870 #line 5871 "configure" | 5877 #line 5878 "configure" |
5871 #include "confdefs.h" | 5878 #include "confdefs.h" |
5872 #include <fcntl.h> | 5879 #include <fcntl.h> |
5873 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 5880 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
5874 EOF | 5881 EOF |
5875 if { (eval echo configure:5876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5882 if { (eval echo configure:5883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5876 then | 5883 then |
5877 { test "$extra_verbose" = "yes" && cat << \EOF | 5884 { test "$extra_verbose" = "yes" && cat << \EOF |
5878 Defining HAVE_MSG_SELECT | 5885 Defining HAVE_MSG_SELECT |
5879 EOF | 5886 EOF |
5880 cat >> confdefs.h <<\EOF | 5887 cat >> confdefs.h <<\EOF |
5949 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5956 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5950 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5957 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5951 esac | 5958 esac |
5952 | 5959 |
5953 echo "checking for session-management option" 1>&6 | 5960 echo "checking for session-management option" 1>&6 |
5954 echo "configure:5955: checking for session-management option" >&5; | 5961 echo "configure:5962: checking for session-management option" >&5; |
5955 if test "$with_session" != "no"; then | 5962 if test "$with_session" != "no"; then |
5956 { test "$extra_verbose" = "yes" && cat << \EOF | 5963 { test "$extra_verbose" = "yes" && cat << \EOF |
5957 Defining HAVE_SESSION | 5964 Defining HAVE_SESSION |
5958 EOF | 5965 EOF |
5959 cat >> confdefs.h <<\EOF | 5966 cat >> confdefs.h <<\EOF |
5964 fi | 5971 fi |
5965 | 5972 |
5966 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5973 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5967 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5974 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5968 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5975 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5969 echo "configure:5970: checking for X11/Xauth.h" >&5 | 5976 echo "configure:5977: checking for X11/Xauth.h" >&5 |
5970 | 5977 |
5971 cat > conftest.$ac_ext <<EOF | 5978 cat > conftest.$ac_ext <<EOF |
5972 #line 5973 "configure" | 5979 #line 5980 "configure" |
5973 #include "confdefs.h" | 5980 #include "confdefs.h" |
5974 #include <X11/Xauth.h> | 5981 #include <X11/Xauth.h> |
5975 EOF | 5982 EOF |
5976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5977 { (eval echo configure:5978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5984 { (eval echo configure:5985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5978 ac_err=`grep -v '^ *+' conftest.out` | 5985 ac_err=`grep -v '^ *+' conftest.out` |
5979 if test -z "$ac_err"; then | 5986 if test -z "$ac_err"; then |
5980 rm -rf conftest* | 5987 rm -rf conftest* |
5981 eval "ac_cv_header_$ac_safe=yes" | 5988 eval "ac_cv_header_$ac_safe=yes" |
5982 else | 5989 else |
5995 with_xauth=no | 6002 with_xauth=no |
5996 fi | 6003 fi |
5997 } | 6004 } |
5998 test -z "$with_xauth" && { | 6005 test -z "$with_xauth" && { |
5999 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6006 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6000 echo "configure:6001: checking for XauGetAuthByAddr in -lXau" >&5 | 6007 echo "configure:6008: checking for XauGetAuthByAddr in -lXau" >&5 |
6001 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6008 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6002 | 6009 |
6003 xe_check_libs=" -lXau " | 6010 xe_check_libs=" -lXau " |
6004 cat > conftest.$ac_ext <<EOF | 6011 cat > conftest.$ac_ext <<EOF |
6005 #line 6006 "configure" | 6012 #line 6013 "configure" |
6006 #include "confdefs.h" | 6013 #include "confdefs.h" |
6007 /* Override any gcc2 internal prototype to avoid an error. */ | 6014 /* Override any gcc2 internal prototype to avoid an error. */ |
6008 /* We use char because int might match the return type of a gcc2 | 6015 /* We use char because int might match the return type of a gcc2 |
6009 builtin and then its argument prototype would still apply. */ | 6016 builtin and then its argument prototype would still apply. */ |
6010 char XauGetAuthByAddr(); | 6017 char XauGetAuthByAddr(); |
6011 | 6018 |
6012 int main() { | 6019 int main() { |
6013 XauGetAuthByAddr() | 6020 XauGetAuthByAddr() |
6014 ; return 0; } | 6021 ; return 0; } |
6015 EOF | 6022 EOF |
6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6023 if { (eval echo configure:6024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6017 rm -rf conftest* | 6024 rm -rf conftest* |
6018 eval "ac_cv_lib_$ac_lib_var=yes" | 6025 eval "ac_cv_lib_$ac_lib_var=yes" |
6019 else | 6026 else |
6020 echo "configure: failed program was:" >&5 | 6027 echo "configure: failed program was:" >&5 |
6021 cat conftest.$ac_ext >&5 | 6028 cat conftest.$ac_ext >&5 |
6056 | 6063 |
6057 if test "$with_tooltalk" != "no" ; then | 6064 if test "$with_tooltalk" != "no" ; then |
6058 for dir in "" "Tt/" "desktop/" ; do | 6065 for dir in "" "Tt/" "desktop/" ; do |
6059 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6066 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6060 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6067 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6061 echo "configure:6062: checking for ${dir}tt_c.h" >&5 | 6068 echo "configure:6069: checking for ${dir}tt_c.h" >&5 |
6062 | 6069 |
6063 cat > conftest.$ac_ext <<EOF | 6070 cat > conftest.$ac_ext <<EOF |
6064 #line 6065 "configure" | 6071 #line 6072 "configure" |
6065 #include "confdefs.h" | 6072 #include "confdefs.h" |
6066 #include <${dir}tt_c.h> | 6073 #include <${dir}tt_c.h> |
6067 EOF | 6074 EOF |
6068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6075 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6069 { (eval echo configure:6070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6076 { (eval echo configure:6077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6070 ac_err=`grep -v '^ *+' conftest.out` | 6077 ac_err=`grep -v '^ *+' conftest.out` |
6071 if test -z "$ac_err"; then | 6078 if test -z "$ac_err"; then |
6072 rm -rf conftest* | 6079 rm -rf conftest* |
6073 eval "ac_cv_header_$ac_safe=yes" | 6080 eval "ac_cv_header_$ac_safe=yes" |
6074 else | 6081 else |
6100 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6107 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6101 | 6108 |
6102 xe_msg_checking="for tt_message_create in -ltt" | 6109 xe_msg_checking="for tt_message_create in -ltt" |
6103 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6110 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6104 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6111 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6105 echo "configure:6106: checking "$xe_msg_checking"" >&5 | 6112 echo "configure:6113: checking "$xe_msg_checking"" >&5 |
6106 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6113 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6107 | 6114 |
6108 xe_check_libs=" -ltt $extra_libs" | 6115 xe_check_libs=" -ltt $extra_libs" |
6109 cat > conftest.$ac_ext <<EOF | 6116 cat > conftest.$ac_ext <<EOF |
6110 #line 6111 "configure" | 6117 #line 6118 "configure" |
6111 #include "confdefs.h" | 6118 #include "confdefs.h" |
6112 /* Override any gcc2 internal prototype to avoid an error. */ | 6119 /* Override any gcc2 internal prototype to avoid an error. */ |
6113 /* We use char because int might match the return type of a gcc2 | 6120 /* We use char because int might match the return type of a gcc2 |
6114 builtin and then its argument prototype would still apply. */ | 6121 builtin and then its argument prototype would still apply. */ |
6115 char tt_message_create(); | 6122 char tt_message_create(); |
6116 | 6123 |
6117 int main() { | 6124 int main() { |
6118 tt_message_create() | 6125 tt_message_create() |
6119 ; return 0; } | 6126 ; return 0; } |
6120 EOF | 6127 EOF |
6121 if { (eval echo configure:6122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6128 if { (eval echo configure:6129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6122 rm -rf conftest* | 6129 rm -rf conftest* |
6123 eval "ac_cv_lib_$ac_lib_var=yes" | 6130 eval "ac_cv_lib_$ac_lib_var=yes" |
6124 else | 6131 else |
6125 echo "configure: failed program was:" >&5 | 6132 echo "configure: failed program was:" >&5 |
6126 cat conftest.$ac_ext >&5 | 6133 cat conftest.$ac_ext >&5 |
6173 fi | 6180 fi |
6174 fi | 6181 fi |
6175 | 6182 |
6176 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6183 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6177 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6184 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6178 echo "configure:6179: checking for Dt/Dt.h" >&5 | 6185 echo "configure:6186: checking for Dt/Dt.h" >&5 |
6179 | 6186 |
6180 cat > conftest.$ac_ext <<EOF | 6187 cat > conftest.$ac_ext <<EOF |
6181 #line 6182 "configure" | 6188 #line 6189 "configure" |
6182 #include "confdefs.h" | 6189 #include "confdefs.h" |
6183 #include <Dt/Dt.h> | 6190 #include <Dt/Dt.h> |
6184 EOF | 6191 EOF |
6185 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6192 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6186 { (eval echo configure:6187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6193 { (eval echo configure:6194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6187 ac_err=`grep -v '^ *+' conftest.out` | 6194 ac_err=`grep -v '^ *+' conftest.out` |
6188 if test -z "$ac_err"; then | 6195 if test -z "$ac_err"; then |
6189 rm -rf conftest* | 6196 rm -rf conftest* |
6190 eval "ac_cv_header_$ac_safe=yes" | 6197 eval "ac_cv_header_$ac_safe=yes" |
6191 else | 6198 else |
6204 with_cde=no | 6211 with_cde=no |
6205 fi | 6212 fi |
6206 } | 6213 } |
6207 test -z "$with_cde" && { | 6214 test -z "$with_cde" && { |
6208 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6215 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6209 echo "configure:6210: checking for DtDndDragStart in -lDtSvc" >&5 | 6216 echo "configure:6217: checking for DtDndDragStart in -lDtSvc" >&5 |
6210 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6217 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6211 | 6218 |
6212 xe_check_libs=" -lDtSvc " | 6219 xe_check_libs=" -lDtSvc " |
6213 cat > conftest.$ac_ext <<EOF | 6220 cat > conftest.$ac_ext <<EOF |
6214 #line 6215 "configure" | 6221 #line 6222 "configure" |
6215 #include "confdefs.h" | 6222 #include "confdefs.h" |
6216 /* Override any gcc2 internal prototype to avoid an error. */ | 6223 /* Override any gcc2 internal prototype to avoid an error. */ |
6217 /* We use char because int might match the return type of a gcc2 | 6224 /* We use char because int might match the return type of a gcc2 |
6218 builtin and then its argument prototype would still apply. */ | 6225 builtin and then its argument prototype would still apply. */ |
6219 char DtDndDragStart(); | 6226 char DtDndDragStart(); |
6220 | 6227 |
6221 int main() { | 6228 int main() { |
6222 DtDndDragStart() | 6229 DtDndDragStart() |
6223 ; return 0; } | 6230 ; return 0; } |
6224 EOF | 6231 EOF |
6225 if { (eval echo configure:6226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6232 if { (eval echo configure:6233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6226 rm -rf conftest* | 6233 rm -rf conftest* |
6227 eval "ac_cv_lib_$ac_lib_var=yes" | 6234 eval "ac_cv_lib_$ac_lib_var=yes" |
6228 else | 6235 else |
6229 echo "configure: failed program was:" >&5 | 6236 echo "configure: failed program was:" >&5 |
6230 cat conftest.$ac_ext >&5 | 6237 cat conftest.$ac_ext >&5 |
6289 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6296 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6290 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6297 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6291 fi | 6298 fi |
6292 | 6299 |
6293 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6300 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6294 echo "configure:6295: checking if drag and drop API is needed" >&5 | 6301 echo "configure:6302: checking if drag and drop API is needed" >&5 |
6295 if test "$with_dragndrop" != "no" ; then | 6302 if test "$with_dragndrop" != "no" ; then |
6296 if test -n "$dragndrop_proto" ; then | 6303 if test -n "$dragndrop_proto" ; then |
6297 with_dragndrop=yes | 6304 with_dragndrop=yes |
6298 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6305 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6299 { test "$extra_verbose" = "yes" && cat << \EOF | 6306 { test "$extra_verbose" = "yes" && cat << \EOF |
6310 echo "$ac_t""no" 1>&6 | 6317 echo "$ac_t""no" 1>&6 |
6311 fi | 6318 fi |
6312 fi | 6319 fi |
6313 | 6320 |
6314 echo "checking for LDAP" 1>&6 | 6321 echo "checking for LDAP" 1>&6 |
6315 echo "configure:6316: checking for LDAP" >&5 | 6322 echo "configure:6323: checking for LDAP" >&5 |
6316 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6323 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6317 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6324 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6318 echo "configure:6319: checking for ldap.h" >&5 | 6325 echo "configure:6326: checking for ldap.h" >&5 |
6319 | 6326 |
6320 cat > conftest.$ac_ext <<EOF | 6327 cat > conftest.$ac_ext <<EOF |
6321 #line 6322 "configure" | 6328 #line 6329 "configure" |
6322 #include "confdefs.h" | 6329 #include "confdefs.h" |
6323 #include <ldap.h> | 6330 #include <ldap.h> |
6324 EOF | 6331 EOF |
6325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6326 { (eval echo configure:6327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6333 { (eval echo configure:6334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6327 ac_err=`grep -v '^ *+' conftest.out` | 6334 ac_err=`grep -v '^ *+' conftest.out` |
6328 if test -z "$ac_err"; then | 6335 if test -z "$ac_err"; then |
6329 rm -rf conftest* | 6336 rm -rf conftest* |
6330 eval "ac_cv_header_$ac_safe=yes" | 6337 eval "ac_cv_header_$ac_safe=yes" |
6331 else | 6338 else |
6344 with_ldap=no | 6351 with_ldap=no |
6345 fi | 6352 fi |
6346 } | 6353 } |
6347 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6354 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6348 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6355 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6349 echo "configure:6350: checking for lber.h" >&5 | 6356 echo "configure:6357: checking for lber.h" >&5 |
6350 | 6357 |
6351 cat > conftest.$ac_ext <<EOF | 6358 cat > conftest.$ac_ext <<EOF |
6352 #line 6353 "configure" | 6359 #line 6360 "configure" |
6353 #include "confdefs.h" | 6360 #include "confdefs.h" |
6354 #include <lber.h> | 6361 #include <lber.h> |
6355 EOF | 6362 EOF |
6356 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6363 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6357 { (eval echo configure:6358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6364 { (eval echo configure:6365: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6358 ac_err=`grep -v '^ *+' conftest.out` | 6365 ac_err=`grep -v '^ *+' conftest.out` |
6359 if test -z "$ac_err"; then | 6366 if test -z "$ac_err"; then |
6360 rm -rf conftest* | 6367 rm -rf conftest* |
6361 eval "ac_cv_header_$ac_safe=yes" | 6368 eval "ac_cv_header_$ac_safe=yes" |
6362 else | 6369 else |
6378 if test "$with_ldap" != "no"; then | 6385 if test "$with_ldap" != "no"; then |
6379 test -z "$with_umich_ldap" && { | 6386 test -z "$with_umich_ldap" && { |
6380 xe_msg_checking="for ldap_open in -lldap" | 6387 xe_msg_checking="for ldap_open in -lldap" |
6381 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6388 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6382 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6389 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6383 echo "configure:6384: checking "$xe_msg_checking"" >&5 | 6390 echo "configure:6391: checking "$xe_msg_checking"" >&5 |
6384 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6391 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6385 | 6392 |
6386 xe_check_libs=" -lldap -llber" | 6393 xe_check_libs=" -lldap -llber" |
6387 cat > conftest.$ac_ext <<EOF | 6394 cat > conftest.$ac_ext <<EOF |
6388 #line 6389 "configure" | 6395 #line 6396 "configure" |
6389 #include "confdefs.h" | 6396 #include "confdefs.h" |
6390 /* Override any gcc2 internal prototype to avoid an error. */ | 6397 /* Override any gcc2 internal prototype to avoid an error. */ |
6391 /* We use char because int might match the return type of a gcc2 | 6398 /* We use char because int might match the return type of a gcc2 |
6392 builtin and then its argument prototype would still apply. */ | 6399 builtin and then its argument prototype would still apply. */ |
6393 char ldap_open(); | 6400 char ldap_open(); |
6394 | 6401 |
6395 int main() { | 6402 int main() { |
6396 ldap_open() | 6403 ldap_open() |
6397 ; return 0; } | 6404 ; return 0; } |
6398 EOF | 6405 EOF |
6399 if { (eval echo configure:6400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6406 if { (eval echo configure:6407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6400 rm -rf conftest* | 6407 rm -rf conftest* |
6401 eval "ac_cv_lib_$ac_lib_var=yes" | 6408 eval "ac_cv_lib_$ac_lib_var=yes" |
6402 else | 6409 else |
6403 echo "configure: failed program was:" >&5 | 6410 echo "configure: failed program was:" >&5 |
6404 cat conftest.$ac_ext >&5 | 6411 cat conftest.$ac_ext >&5 |
6417 fi | 6424 fi |
6418 | 6425 |
6419 } | 6426 } |
6420 test "$with_umich_ldap" = "no" && { | 6427 test "$with_umich_ldap" = "no" && { |
6421 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6428 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
6422 echo "configure:6423: checking for ldap_set_option in -lldap10" >&5 | 6429 echo "configure:6430: checking for ldap_set_option in -lldap10" >&5 |
6423 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6430 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
6424 | 6431 |
6425 xe_check_libs=" -lldap10 " | 6432 xe_check_libs=" -lldap10 " |
6426 cat > conftest.$ac_ext <<EOF | 6433 cat > conftest.$ac_ext <<EOF |
6427 #line 6428 "configure" | 6434 #line 6435 "configure" |
6428 #include "confdefs.h" | 6435 #include "confdefs.h" |
6429 /* Override any gcc2 internal prototype to avoid an error. */ | 6436 /* Override any gcc2 internal prototype to avoid an error. */ |
6430 /* We use char because int might match the return type of a gcc2 | 6437 /* We use char because int might match the return type of a gcc2 |
6431 builtin and then its argument prototype would still apply. */ | 6438 builtin and then its argument prototype would still apply. */ |
6432 char ldap_set_option(); | 6439 char ldap_set_option(); |
6433 | 6440 |
6434 int main() { | 6441 int main() { |
6435 ldap_set_option() | 6442 ldap_set_option() |
6436 ; return 0; } | 6443 ; return 0; } |
6437 EOF | 6444 EOF |
6438 if { (eval echo configure:6439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6445 if { (eval echo configure:6446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6439 rm -rf conftest* | 6446 rm -rf conftest* |
6440 eval "ac_cv_lib_$ac_lib_var=yes" | 6447 eval "ac_cv_lib_$ac_lib_var=yes" |
6441 else | 6448 else |
6442 echo "configure: failed program was:" >&5 | 6449 echo "configure: failed program was:" >&5 |
6443 cat conftest.$ac_ext >&5 | 6450 cat conftest.$ac_ext >&5 |
6497 fi | 6504 fi |
6498 | 6505 |
6499 | 6506 |
6500 if test "$window_system" != "none"; then | 6507 if test "$window_system" != "none"; then |
6501 echo "checking for graphics libraries" 1>&6 | 6508 echo "checking for graphics libraries" 1>&6 |
6502 echo "configure:6503: checking for graphics libraries" >&5 | 6509 echo "configure:6510: checking for graphics libraries" >&5 |
6503 | 6510 |
6504 xpm_problem="" | 6511 xpm_problem="" |
6505 if test -z "$with_xpm"; then | 6512 if test -z "$with_xpm"; then |
6506 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6513 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6507 echo "configure:6508: checking for Xpm - no older than 3.4f" >&5 | 6514 echo "configure:6515: checking for Xpm - no older than 3.4f" >&5 |
6508 xe_check_libs=-lXpm | 6515 xe_check_libs=-lXpm |
6509 cat > conftest.$ac_ext <<EOF | 6516 cat > conftest.$ac_ext <<EOF |
6510 #line 6511 "configure" | 6517 #line 6518 "configure" |
6511 #include "confdefs.h" | 6518 #include "confdefs.h" |
6512 #include <X11/xpm.h> | 6519 #include <X11/xpm.h> |
6513 int main(int c, char **v) { | 6520 int main(int c, char **v) { |
6514 return c == 1 ? 0 : | 6521 return c == 1 ? 0 : |
6515 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6522 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6516 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6523 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6517 EOF | 6524 EOF |
6518 if { (eval echo configure:6519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6525 if { (eval echo configure:6526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6519 then | 6526 then |
6520 ./conftest dummy_arg; xpm_status=$?; | 6527 ./conftest dummy_arg; xpm_status=$?; |
6521 if test "$xpm_status" = "0"; then | 6528 if test "$xpm_status" = "0"; then |
6522 with_xpm=yes; | 6529 with_xpm=yes; |
6523 else | 6530 else |
6555 EOF | 6562 EOF |
6556 } | 6563 } |
6557 | 6564 |
6558 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6565 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6559 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6566 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
6560 echo "configure:6561: checking for \"FOR_MSW\" xpm" >&5 | 6567 echo "configure:6568: checking for \"FOR_MSW\" xpm" >&5 |
6561 xe_check_libs=-lXpm | 6568 xe_check_libs=-lXpm |
6562 cat > conftest.$ac_ext <<EOF | 6569 cat > conftest.$ac_ext <<EOF |
6563 #line 6564 "configure" | 6570 #line 6571 "configure" |
6564 #include "confdefs.h" | 6571 #include "confdefs.h" |
6565 | 6572 |
6566 int main() { | 6573 int main() { |
6567 XpmCreatePixmapFromData() | 6574 XpmCreatePixmapFromData() |
6568 ; return 0; } | 6575 ; return 0; } |
6569 EOF | 6576 EOF |
6570 if { (eval echo configure:6571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6577 if { (eval echo configure:6578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6571 rm -rf conftest* | 6578 rm -rf conftest* |
6572 xpm_for_msw=no | 6579 xpm_for_msw=no |
6573 else | 6580 else |
6574 echo "configure: failed program was:" >&5 | 6581 echo "configure: failed program was:" >&5 |
6575 cat conftest.$ac_ext >&5 | 6582 cat conftest.$ac_ext >&5 |
6607 fi | 6614 fi |
6608 | 6615 |
6609 if test "$with_png $with_tiff" != "no no"; then | 6616 if test "$with_png $with_tiff" != "no no"; then |
6610 | 6617 |
6611 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6618 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
6612 echo "configure:6613: checking for inflate in -lc" >&5 | 6619 echo "configure:6620: checking for inflate in -lc" >&5 |
6613 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6620 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
6614 | 6621 |
6615 xe_check_libs=" -lc " | 6622 xe_check_libs=" -lc " |
6616 cat > conftest.$ac_ext <<EOF | 6623 cat > conftest.$ac_ext <<EOF |
6617 #line 6618 "configure" | 6624 #line 6625 "configure" |
6618 #include "confdefs.h" | 6625 #include "confdefs.h" |
6619 /* Override any gcc2 internal prototype to avoid an error. */ | 6626 /* Override any gcc2 internal prototype to avoid an error. */ |
6620 /* We use char because int might match the return type of a gcc2 | 6627 /* We use char because int might match the return type of a gcc2 |
6621 builtin and then its argument prototype would still apply. */ | 6628 builtin and then its argument prototype would still apply. */ |
6622 char inflate(); | 6629 char inflate(); |
6623 | 6630 |
6624 int main() { | 6631 int main() { |
6625 inflate() | 6632 inflate() |
6626 ; return 0; } | 6633 ; return 0; } |
6627 EOF | 6634 EOF |
6628 if { (eval echo configure:6629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6635 if { (eval echo configure:6636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6629 rm -rf conftest* | 6636 rm -rf conftest* |
6630 eval "ac_cv_lib_$ac_lib_var=yes" | 6637 eval "ac_cv_lib_$ac_lib_var=yes" |
6631 else | 6638 else |
6632 echo "configure: failed program was:" >&5 | 6639 echo "configure: failed program was:" >&5 |
6633 cat conftest.$ac_ext >&5 | 6640 cat conftest.$ac_ext >&5 |
6642 : | 6649 : |
6643 else | 6650 else |
6644 echo "$ac_t""no" 1>&6 | 6651 echo "$ac_t""no" 1>&6 |
6645 | 6652 |
6646 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6653 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
6647 echo "configure:6648: checking for inflate in -lz" >&5 | 6654 echo "configure:6655: checking for inflate in -lz" >&5 |
6648 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6655 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
6649 | 6656 |
6650 xe_check_libs=" -lz " | 6657 xe_check_libs=" -lz " |
6651 cat > conftest.$ac_ext <<EOF | 6658 cat > conftest.$ac_ext <<EOF |
6652 #line 6653 "configure" | 6659 #line 6660 "configure" |
6653 #include "confdefs.h" | 6660 #include "confdefs.h" |
6654 /* Override any gcc2 internal prototype to avoid an error. */ | 6661 /* Override any gcc2 internal prototype to avoid an error. */ |
6655 /* We use char because int might match the return type of a gcc2 | 6662 /* We use char because int might match the return type of a gcc2 |
6656 builtin and then its argument prototype would still apply. */ | 6663 builtin and then its argument prototype would still apply. */ |
6657 char inflate(); | 6664 char inflate(); |
6658 | 6665 |
6659 int main() { | 6666 int main() { |
6660 inflate() | 6667 inflate() |
6661 ; return 0; } | 6668 ; return 0; } |
6662 EOF | 6669 EOF |
6663 if { (eval echo configure:6664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6670 if { (eval echo configure:6671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6664 rm -rf conftest* | 6671 rm -rf conftest* |
6665 eval "ac_cv_lib_$ac_lib_var=yes" | 6672 eval "ac_cv_lib_$ac_lib_var=yes" |
6666 else | 6673 else |
6667 echo "configure: failed program was:" >&5 | 6674 echo "configure: failed program was:" >&5 |
6668 cat conftest.$ac_ext >&5 | 6675 cat conftest.$ac_ext >&5 |
6677 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6684 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
6678 else | 6685 else |
6679 echo "$ac_t""no" 1>&6 | 6686 echo "$ac_t""no" 1>&6 |
6680 | 6687 |
6681 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6688 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
6682 echo "configure:6683: checking for inflate in -lgz" >&5 | 6689 echo "configure:6690: checking for inflate in -lgz" >&5 |
6683 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6690 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
6684 | 6691 |
6685 xe_check_libs=" -lgz " | 6692 xe_check_libs=" -lgz " |
6686 cat > conftest.$ac_ext <<EOF | 6693 cat > conftest.$ac_ext <<EOF |
6687 #line 6688 "configure" | 6694 #line 6695 "configure" |
6688 #include "confdefs.h" | 6695 #include "confdefs.h" |
6689 /* Override any gcc2 internal prototype to avoid an error. */ | 6696 /* Override any gcc2 internal prototype to avoid an error. */ |
6690 /* We use char because int might match the return type of a gcc2 | 6697 /* We use char because int might match the return type of a gcc2 |
6691 builtin and then its argument prototype would still apply. */ | 6698 builtin and then its argument prototype would still apply. */ |
6692 char inflate(); | 6699 char inflate(); |
6693 | 6700 |
6694 int main() { | 6701 int main() { |
6695 inflate() | 6702 inflate() |
6696 ; return 0; } | 6703 ; return 0; } |
6697 EOF | 6704 EOF |
6698 if { (eval echo configure:6699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6705 if { (eval echo configure:6706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6699 rm -rf conftest* | 6706 rm -rf conftest* |
6700 eval "ac_cv_lib_$ac_lib_var=yes" | 6707 eval "ac_cv_lib_$ac_lib_var=yes" |
6701 else | 6708 else |
6702 echo "configure: failed program was:" >&5 | 6709 echo "configure: failed program was:" >&5 |
6703 cat conftest.$ac_ext >&5 | 6710 cat conftest.$ac_ext >&5 |
6723 | 6730 |
6724 fi | 6731 fi |
6725 | 6732 |
6726 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6733 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6727 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6734 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6728 echo "configure:6729: checking for jpeglib.h" >&5 | 6735 echo "configure:6736: checking for jpeglib.h" >&5 |
6729 | 6736 |
6730 cat > conftest.$ac_ext <<EOF | 6737 cat > conftest.$ac_ext <<EOF |
6731 #line 6732 "configure" | 6738 #line 6739 "configure" |
6732 #include "confdefs.h" | 6739 #include "confdefs.h" |
6733 #include <jpeglib.h> | 6740 #include <jpeglib.h> |
6734 EOF | 6741 EOF |
6735 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6736 { (eval echo configure:6737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6743 { (eval echo configure:6744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6737 ac_err=`grep -v '^ *+' conftest.out` | 6744 ac_err=`grep -v '^ *+' conftest.out` |
6738 if test -z "$ac_err"; then | 6745 if test -z "$ac_err"; then |
6739 rm -rf conftest* | 6746 rm -rf conftest* |
6740 eval "ac_cv_header_$ac_safe=yes" | 6747 eval "ac_cv_header_$ac_safe=yes" |
6741 else | 6748 else |
6754 with_jpeg=no | 6761 with_jpeg=no |
6755 fi | 6762 fi |
6756 } | 6763 } |
6757 test -z "$with_jpeg" && { | 6764 test -z "$with_jpeg" && { |
6758 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6765 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6759 echo "configure:6760: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6766 echo "configure:6767: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6760 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6767 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6761 | 6768 |
6762 xe_check_libs=" -ljpeg " | 6769 xe_check_libs=" -ljpeg " |
6763 cat > conftest.$ac_ext <<EOF | 6770 cat > conftest.$ac_ext <<EOF |
6764 #line 6765 "configure" | 6771 #line 6772 "configure" |
6765 #include "confdefs.h" | 6772 #include "confdefs.h" |
6766 /* Override any gcc2 internal prototype to avoid an error. */ | 6773 /* Override any gcc2 internal prototype to avoid an error. */ |
6767 /* We use char because int might match the return type of a gcc2 | 6774 /* We use char because int might match the return type of a gcc2 |
6768 builtin and then its argument prototype would still apply. */ | 6775 builtin and then its argument prototype would still apply. */ |
6769 char jpeg_destroy_decompress(); | 6776 char jpeg_destroy_decompress(); |
6770 | 6777 |
6771 int main() { | 6778 int main() { |
6772 jpeg_destroy_decompress() | 6779 jpeg_destroy_decompress() |
6773 ; return 0; } | 6780 ; return 0; } |
6774 EOF | 6781 EOF |
6775 if { (eval echo configure:6776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6782 if { (eval echo configure:6783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6776 rm -rf conftest* | 6783 rm -rf conftest* |
6777 eval "ac_cv_lib_$ac_lib_var=yes" | 6784 eval "ac_cv_lib_$ac_lib_var=yes" |
6778 else | 6785 else |
6779 echo "configure: failed program was:" >&5 | 6786 echo "configure: failed program was:" >&5 |
6780 cat conftest.$ac_ext >&5 | 6787 cat conftest.$ac_ext >&5 |
6806 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6813 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6807 fi | 6814 fi |
6808 | 6815 |
6809 png_problem="" | 6816 png_problem="" |
6810 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6817 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6811 echo "configure:6812: checking for pow" >&5 | 6818 echo "configure:6819: checking for pow" >&5 |
6812 | 6819 |
6813 cat > conftest.$ac_ext <<EOF | 6820 cat > conftest.$ac_ext <<EOF |
6814 #line 6815 "configure" | 6821 #line 6822 "configure" |
6815 #include "confdefs.h" | 6822 #include "confdefs.h" |
6816 /* System header to define __stub macros and hopefully few prototypes, | 6823 /* System header to define __stub macros and hopefully few prototypes, |
6817 which can conflict with char pow(); below. */ | 6824 which can conflict with char pow(); below. */ |
6818 #include <assert.h> | 6825 #include <assert.h> |
6819 /* Override any gcc2 internal prototype to avoid an error. */ | 6826 /* Override any gcc2 internal prototype to avoid an error. */ |
6832 pow(); | 6839 pow(); |
6833 #endif | 6840 #endif |
6834 | 6841 |
6835 ; return 0; } | 6842 ; return 0; } |
6836 EOF | 6843 EOF |
6837 if { (eval echo configure:6838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6844 if { (eval echo configure:6845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6838 rm -rf conftest* | 6845 rm -rf conftest* |
6839 eval "ac_cv_func_pow=yes" | 6846 eval "ac_cv_func_pow=yes" |
6840 else | 6847 else |
6841 echo "configure: failed program was:" >&5 | 6848 echo "configure: failed program was:" >&5 |
6842 cat conftest.$ac_ext >&5 | 6849 cat conftest.$ac_ext >&5 |
6853 with_png=no | 6860 with_png=no |
6854 fi | 6861 fi |
6855 } | 6862 } |
6856 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6863 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
6857 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6864 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
6858 echo "configure:6859: checking for png.h" >&5 | 6865 echo "configure:6866: checking for png.h" >&5 |
6859 | 6866 |
6860 cat > conftest.$ac_ext <<EOF | 6867 cat > conftest.$ac_ext <<EOF |
6861 #line 6862 "configure" | 6868 #line 6869 "configure" |
6862 #include "confdefs.h" | 6869 #include "confdefs.h" |
6863 #include <png.h> | 6870 #include <png.h> |
6864 EOF | 6871 EOF |
6865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6866 { (eval echo configure:6867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6873 { (eval echo configure:6874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6867 ac_err=`grep -v '^ *+' conftest.out` | 6874 ac_err=`grep -v '^ *+' conftest.out` |
6868 if test -z "$ac_err"; then | 6875 if test -z "$ac_err"; then |
6869 rm -rf conftest* | 6876 rm -rf conftest* |
6870 eval "ac_cv_header_$ac_safe=yes" | 6877 eval "ac_cv_header_$ac_safe=yes" |
6871 else | 6878 else |
6884 with_png=no | 6891 with_png=no |
6885 fi | 6892 fi |
6886 } | 6893 } |
6887 test -z "$with_png" && { | 6894 test -z "$with_png" && { |
6888 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 6895 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
6889 echo "configure:6890: checking for png_read_image in -lpng" >&5 | 6896 echo "configure:6897: checking for png_read_image in -lpng" >&5 |
6890 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6897 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
6891 | 6898 |
6892 xe_check_libs=" -lpng " | 6899 xe_check_libs=" -lpng " |
6893 cat > conftest.$ac_ext <<EOF | 6900 cat > conftest.$ac_ext <<EOF |
6894 #line 6895 "configure" | 6901 #line 6902 "configure" |
6895 #include "confdefs.h" | 6902 #include "confdefs.h" |
6896 /* Override any gcc2 internal prototype to avoid an error. */ | 6903 /* Override any gcc2 internal prototype to avoid an error. */ |
6897 /* We use char because int might match the return type of a gcc2 | 6904 /* We use char because int might match the return type of a gcc2 |
6898 builtin and then its argument prototype would still apply. */ | 6905 builtin and then its argument prototype would still apply. */ |
6899 char png_read_image(); | 6906 char png_read_image(); |
6900 | 6907 |
6901 int main() { | 6908 int main() { |
6902 png_read_image() | 6909 png_read_image() |
6903 ; return 0; } | 6910 ; return 0; } |
6904 EOF | 6911 EOF |
6905 if { (eval echo configure:6906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6912 if { (eval echo configure:6913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6906 rm -rf conftest* | 6913 rm -rf conftest* |
6907 eval "ac_cv_lib_$ac_lib_var=yes" | 6914 eval "ac_cv_lib_$ac_lib_var=yes" |
6908 else | 6915 else |
6909 echo "configure: failed program was:" >&5 | 6916 echo "configure: failed program was:" >&5 |
6910 cat conftest.$ac_ext >&5 | 6917 cat conftest.$ac_ext >&5 |
6923 fi | 6930 fi |
6924 | 6931 |
6925 } | 6932 } |
6926 if test -z "$with_png"; then | 6933 if test -z "$with_png"; then |
6927 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 6934 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
6928 echo "configure:6929: checking for workable png version information" >&5 | 6935 echo "configure:6936: checking for workable png version information" >&5 |
6929 xe_check_libs="-lpng -lz" | 6936 xe_check_libs="-lpng -lz" |
6930 cat > conftest.$ac_ext <<EOF | 6937 cat > conftest.$ac_ext <<EOF |
6931 #line 6932 "configure" | 6938 #line 6939 "configure" |
6932 #include "confdefs.h" | 6939 #include "confdefs.h" |
6933 #include <png.h> | 6940 #include <png.h> |
6934 int main(int c, char **v) { | 6941 int main(int c, char **v) { |
6935 if (c == 1) return 0; | 6942 if (c == 1) return 0; |
6936 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 6943 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
6937 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 6944 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
6938 EOF | 6945 EOF |
6939 if { (eval echo configure:6940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6946 if { (eval echo configure:6947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6940 then | 6947 then |
6941 ./conftest dummy_arg; png_status=$?; | 6948 ./conftest dummy_arg; png_status=$?; |
6942 if test "$png_status" = "0"; then | 6949 if test "$png_status" = "0"; then |
6943 with_png=yes; | 6950 with_png=yes; |
6944 else | 6951 else |
6977 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 6984 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
6978 fi | 6985 fi |
6979 | 6986 |
6980 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 6987 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
6981 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 6988 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
6982 echo "configure:6983: checking for tiffio.h" >&5 | 6989 echo "configure:6990: checking for tiffio.h" >&5 |
6983 | 6990 |
6984 cat > conftest.$ac_ext <<EOF | 6991 cat > conftest.$ac_ext <<EOF |
6985 #line 6986 "configure" | 6992 #line 6993 "configure" |
6986 #include "confdefs.h" | 6993 #include "confdefs.h" |
6987 #include <tiffio.h> | 6994 #include <tiffio.h> |
6988 EOF | 6995 EOF |
6989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6996 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6990 { (eval echo configure:6991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6997 { (eval echo configure:6998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6991 ac_err=`grep -v '^ *+' conftest.out` | 6998 ac_err=`grep -v '^ *+' conftest.out` |
6992 if test -z "$ac_err"; then | 6999 if test -z "$ac_err"; then |
6993 rm -rf conftest* | 7000 rm -rf conftest* |
6994 eval "ac_cv_header_$ac_safe=yes" | 7001 eval "ac_cv_header_$ac_safe=yes" |
6995 else | 7002 else |
7008 with_tiff=no | 7015 with_tiff=no |
7009 fi | 7016 fi |
7010 } | 7017 } |
7011 test -z "$with_tiff" && { | 7018 test -z "$with_tiff" && { |
7012 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7019 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
7013 echo "configure:7014: checking for TIFFClientOpen in -ltiff" >&5 | 7020 echo "configure:7021: checking for TIFFClientOpen in -ltiff" >&5 |
7014 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7021 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
7015 | 7022 |
7016 xe_check_libs=" -ltiff " | 7023 xe_check_libs=" -ltiff " |
7017 cat > conftest.$ac_ext <<EOF | 7024 cat > conftest.$ac_ext <<EOF |
7018 #line 7019 "configure" | 7025 #line 7026 "configure" |
7019 #include "confdefs.h" | 7026 #include "confdefs.h" |
7020 /* Override any gcc2 internal prototype to avoid an error. */ | 7027 /* Override any gcc2 internal prototype to avoid an error. */ |
7021 /* We use char because int might match the return type of a gcc2 | 7028 /* We use char because int might match the return type of a gcc2 |
7022 builtin and then its argument prototype would still apply. */ | 7029 builtin and then its argument prototype would still apply. */ |
7023 char TIFFClientOpen(); | 7030 char TIFFClientOpen(); |
7024 | 7031 |
7025 int main() { | 7032 int main() { |
7026 TIFFClientOpen() | 7033 TIFFClientOpen() |
7027 ; return 0; } | 7034 ; return 0; } |
7028 EOF | 7035 EOF |
7029 if { (eval echo configure:7030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7036 if { (eval echo configure:7037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7030 rm -rf conftest* | 7037 rm -rf conftest* |
7031 eval "ac_cv_lib_$ac_lib_var=yes" | 7038 eval "ac_cv_lib_$ac_lib_var=yes" |
7032 else | 7039 else |
7033 echo "configure: failed program was:" >&5 | 7040 echo "configure: failed program was:" >&5 |
7034 cat conftest.$ac_ext >&5 | 7041 cat conftest.$ac_ext >&5 |
7063 | 7070 |
7064 | 7071 |
7065 if test "$with_x11" = "yes"; then | 7072 if test "$with_x11" = "yes"; then |
7066 | 7073 |
7067 echo "checking for X11 graphics libraries" 1>&6 | 7074 echo "checking for X11 graphics libraries" 1>&6 |
7068 echo "configure:7069: checking for X11 graphics libraries" >&5 | 7075 echo "configure:7076: checking for X11 graphics libraries" >&5 |
7069 | 7076 |
7070 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7077 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
7071 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7078 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
7072 echo "configure:7073: checking for compface.h" >&5 | 7079 echo "configure:7080: checking for compface.h" >&5 |
7073 | 7080 |
7074 cat > conftest.$ac_ext <<EOF | 7081 cat > conftest.$ac_ext <<EOF |
7075 #line 7076 "configure" | 7082 #line 7083 "configure" |
7076 #include "confdefs.h" | 7083 #include "confdefs.h" |
7077 #include <compface.h> | 7084 #include <compface.h> |
7078 EOF | 7085 EOF |
7079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7086 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7080 { (eval echo configure:7081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7087 { (eval echo configure:7088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7081 ac_err=`grep -v '^ *+' conftest.out` | 7088 ac_err=`grep -v '^ *+' conftest.out` |
7082 if test -z "$ac_err"; then | 7089 if test -z "$ac_err"; then |
7083 rm -rf conftest* | 7090 rm -rf conftest* |
7084 eval "ac_cv_header_$ac_safe=yes" | 7091 eval "ac_cv_header_$ac_safe=yes" |
7085 else | 7092 else |
7098 with_xface=no | 7105 with_xface=no |
7099 fi | 7106 fi |
7100 } | 7107 } |
7101 test -z "$with_xface" && { | 7108 test -z "$with_xface" && { |
7102 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7109 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7103 echo "configure:7104: checking for UnGenFace in -lcompface" >&5 | 7110 echo "configure:7111: checking for UnGenFace in -lcompface" >&5 |
7104 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7111 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7105 | 7112 |
7106 xe_check_libs=" -lcompface " | 7113 xe_check_libs=" -lcompface " |
7107 cat > conftest.$ac_ext <<EOF | 7114 cat > conftest.$ac_ext <<EOF |
7108 #line 7109 "configure" | 7115 #line 7116 "configure" |
7109 #include "confdefs.h" | 7116 #include "confdefs.h" |
7110 /* Override any gcc2 internal prototype to avoid an error. */ | 7117 /* Override any gcc2 internal prototype to avoid an error. */ |
7111 /* We use char because int might match the return type of a gcc2 | 7118 /* We use char because int might match the return type of a gcc2 |
7112 builtin and then its argument prototype would still apply. */ | 7119 builtin and then its argument prototype would still apply. */ |
7113 char UnGenFace(); | 7120 char UnGenFace(); |
7114 | 7121 |
7115 int main() { | 7122 int main() { |
7116 UnGenFace() | 7123 UnGenFace() |
7117 ; return 0; } | 7124 ; return 0; } |
7118 EOF | 7125 EOF |
7119 if { (eval echo configure:7120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7126 if { (eval echo configure:7127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7120 rm -rf conftest* | 7127 rm -rf conftest* |
7121 eval "ac_cv_lib_$ac_lib_var=yes" | 7128 eval "ac_cv_lib_$ac_lib_var=yes" |
7122 else | 7129 else |
7123 echo "configure: failed program was:" >&5 | 7130 echo "configure: failed program was:" >&5 |
7124 cat conftest.$ac_ext >&5 | 7131 cat conftest.$ac_ext >&5 |
7150 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 7157 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
7151 fi | 7158 fi |
7152 | 7159 |
7153 | 7160 |
7154 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7161 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
7155 echo "configure:7156: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7162 echo "configure:7163: checking for XawScrollbarSetThumb in -lXaw" >&5 |
7156 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7163 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7157 | 7164 |
7158 xe_check_libs=" -lXaw " | 7165 xe_check_libs=" -lXaw " |
7159 cat > conftest.$ac_ext <<EOF | 7166 cat > conftest.$ac_ext <<EOF |
7160 #line 7161 "configure" | 7167 #line 7168 "configure" |
7161 #include "confdefs.h" | 7168 #include "confdefs.h" |
7162 /* Override any gcc2 internal prototype to avoid an error. */ | 7169 /* Override any gcc2 internal prototype to avoid an error. */ |
7163 /* We use char because int might match the return type of a gcc2 | 7170 /* We use char because int might match the return type of a gcc2 |
7164 builtin and then its argument prototype would still apply. */ | 7171 builtin and then its argument prototype would still apply. */ |
7165 char XawScrollbarSetThumb(); | 7172 char XawScrollbarSetThumb(); |
7166 | 7173 |
7167 int main() { | 7174 int main() { |
7168 XawScrollbarSetThumb() | 7175 XawScrollbarSetThumb() |
7169 ; return 0; } | 7176 ; return 0; } |
7170 EOF | 7177 EOF |
7171 if { (eval echo configure:7172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7178 if { (eval echo configure:7179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7172 rm -rf conftest* | 7179 rm -rf conftest* |
7173 eval "ac_cv_lib_$ac_lib_var=yes" | 7180 eval "ac_cv_lib_$ac_lib_var=yes" |
7174 else | 7181 else |
7175 echo "configure: failed program was:" >&5 | 7182 echo "configure: failed program was:" >&5 |
7176 cat conftest.$ac_ext >&5 | 7183 cat conftest.$ac_ext >&5 |
7190 | 7197 |
7191 | 7198 |
7192 | 7199 |
7193 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7200 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7194 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7201 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7195 echo "configure:7196: checking for Xm/Xm.h" >&5 | 7202 echo "configure:7203: checking for Xm/Xm.h" >&5 |
7196 | 7203 |
7197 cat > conftest.$ac_ext <<EOF | 7204 cat > conftest.$ac_ext <<EOF |
7198 #line 7199 "configure" | 7205 #line 7206 "configure" |
7199 #include "confdefs.h" | 7206 #include "confdefs.h" |
7200 #include <Xm/Xm.h> | 7207 #include <Xm/Xm.h> |
7201 EOF | 7208 EOF |
7202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7209 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7203 { (eval echo configure:7204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7210 { (eval echo configure:7211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7204 ac_err=`grep -v '^ *+' conftest.out` | 7211 ac_err=`grep -v '^ *+' conftest.out` |
7205 if test -z "$ac_err"; then | 7212 if test -z "$ac_err"; then |
7206 rm -rf conftest* | 7213 rm -rf conftest* |
7207 eval "ac_cv_header_$ac_safe=yes" | 7214 eval "ac_cv_header_$ac_safe=yes" |
7208 else | 7215 else |
7215 rm -f conftest* | 7222 rm -f conftest* |
7216 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7223 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7217 echo "$ac_t""yes" 1>&6 | 7224 echo "$ac_t""yes" 1>&6 |
7218 | 7225 |
7219 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7226 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7220 echo "configure:7221: checking for XmStringFree in -lXm" >&5 | 7227 echo "configure:7228: checking for XmStringFree in -lXm" >&5 |
7221 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7228 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7222 | 7229 |
7223 xe_check_libs=" -lXm " | 7230 xe_check_libs=" -lXm " |
7224 cat > conftest.$ac_ext <<EOF | 7231 cat > conftest.$ac_ext <<EOF |
7225 #line 7226 "configure" | 7232 #line 7233 "configure" |
7226 #include "confdefs.h" | 7233 #include "confdefs.h" |
7227 /* Override any gcc2 internal prototype to avoid an error. */ | 7234 /* Override any gcc2 internal prototype to avoid an error. */ |
7228 /* We use char because int might match the return type of a gcc2 | 7235 /* We use char because int might match the return type of a gcc2 |
7229 builtin and then its argument prototype would still apply. */ | 7236 builtin and then its argument prototype would still apply. */ |
7230 char XmStringFree(); | 7237 char XmStringFree(); |
7231 | 7238 |
7232 int main() { | 7239 int main() { |
7233 XmStringFree() | 7240 XmStringFree() |
7234 ; return 0; } | 7241 ; return 0; } |
7235 EOF | 7242 EOF |
7236 if { (eval echo configure:7237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7243 if { (eval echo configure:7244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7237 rm -rf conftest* | 7244 rm -rf conftest* |
7238 eval "ac_cv_lib_$ac_lib_var=yes" | 7245 eval "ac_cv_lib_$ac_lib_var=yes" |
7239 else | 7246 else |
7240 echo "configure: failed program was:" >&5 | 7247 echo "configure: failed program was:" >&5 |
7241 cat conftest.$ac_ext >&5 | 7248 cat conftest.$ac_ext >&5 |
7260 fi | 7267 fi |
7261 | 7268 |
7262 | 7269 |
7263 if test "$have_motif" = "yes"; then | 7270 if test "$have_motif" = "yes"; then |
7264 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7271 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7265 echo "configure:7266: checking for Lesstif" >&5 | 7272 echo "configure:7273: checking for Lesstif" >&5 |
7266 cat > conftest.$ac_ext <<EOF | 7273 cat > conftest.$ac_ext <<EOF |
7267 #line 7268 "configure" | 7274 #line 7275 "configure" |
7268 #include "confdefs.h" | 7275 #include "confdefs.h" |
7269 #include <Xm/Xm.h> | 7276 #include <Xm/Xm.h> |
7270 #ifdef LESSTIF_VERSION | 7277 #ifdef LESSTIF_VERSION |
7271 yes | 7278 yes |
7272 #endif | 7279 #endif |
7546 fi | 7553 fi |
7547 fi | 7554 fi |
7548 | 7555 |
7549 if test "$with_mule" = "yes" ; then | 7556 if test "$with_mule" = "yes" ; then |
7550 echo "checking for Mule-related features" 1>&6 | 7557 echo "checking for Mule-related features" 1>&6 |
7551 echo "configure:7552: checking for Mule-related features" >&5 | 7558 echo "configure:7559: checking for Mule-related features" >&5 |
7552 { test "$extra_verbose" = "yes" && cat << \EOF | 7559 { test "$extra_verbose" = "yes" && cat << \EOF |
7553 Defining MULE | 7560 Defining MULE |
7554 EOF | 7561 EOF |
7555 cat >> confdefs.h <<\EOF | 7562 cat >> confdefs.h <<\EOF |
7556 #define MULE 1 | 7563 #define MULE 1 |
7571 | 7578 |
7572 for ac_hdr in libintl.h | 7579 for ac_hdr in libintl.h |
7573 do | 7580 do |
7574 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7581 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7575 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7582 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7576 echo "configure:7577: checking for $ac_hdr" >&5 | 7583 echo "configure:7584: checking for $ac_hdr" >&5 |
7577 | 7584 |
7578 cat > conftest.$ac_ext <<EOF | 7585 cat > conftest.$ac_ext <<EOF |
7579 #line 7580 "configure" | 7586 #line 7587 "configure" |
7580 #include "confdefs.h" | 7587 #include "confdefs.h" |
7581 #include <$ac_hdr> | 7588 #include <$ac_hdr> |
7582 EOF | 7589 EOF |
7583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7584 { (eval echo configure:7585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7591 { (eval echo configure:7592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7585 ac_err=`grep -v '^ *+' conftest.out` | 7592 ac_err=`grep -v '^ *+' conftest.out` |
7586 if test -z "$ac_err"; then | 7593 if test -z "$ac_err"; then |
7587 rm -rf conftest* | 7594 rm -rf conftest* |
7588 eval "ac_cv_header_$ac_safe=yes" | 7595 eval "ac_cv_header_$ac_safe=yes" |
7589 else | 7596 else |
7610 fi | 7617 fi |
7611 done | 7618 done |
7612 | 7619 |
7613 | 7620 |
7614 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7621 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7615 echo "configure:7616: checking for strerror in -lintl" >&5 | 7622 echo "configure:7623: checking for strerror in -lintl" >&5 |
7616 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7623 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7617 | 7624 |
7618 xe_check_libs=" -lintl " | 7625 xe_check_libs=" -lintl " |
7619 cat > conftest.$ac_ext <<EOF | 7626 cat > conftest.$ac_ext <<EOF |
7620 #line 7621 "configure" | 7627 #line 7628 "configure" |
7621 #include "confdefs.h" | 7628 #include "confdefs.h" |
7622 /* Override any gcc2 internal prototype to avoid an error. */ | 7629 /* Override any gcc2 internal prototype to avoid an error. */ |
7623 /* We use char because int might match the return type of a gcc2 | 7630 /* We use char because int might match the return type of a gcc2 |
7624 builtin and then its argument prototype would still apply. */ | 7631 builtin and then its argument prototype would still apply. */ |
7625 char strerror(); | 7632 char strerror(); |
7626 | 7633 |
7627 int main() { | 7634 int main() { |
7628 strerror() | 7635 strerror() |
7629 ; return 0; } | 7636 ; return 0; } |
7630 EOF | 7637 EOF |
7631 if { (eval echo configure:7632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7638 if { (eval echo configure:7639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7632 rm -rf conftest* | 7639 rm -rf conftest* |
7633 eval "ac_cv_lib_$ac_lib_var=yes" | 7640 eval "ac_cv_lib_$ac_lib_var=yes" |
7634 else | 7641 else |
7635 echo "configure: failed program was:" >&5 | 7642 echo "configure: failed program was:" >&5 |
7636 cat conftest.$ac_ext >&5 | 7643 cat conftest.$ac_ext >&5 |
7659 fi | 7666 fi |
7660 | 7667 |
7661 | 7668 |
7662 | 7669 |
7663 echo "checking for Mule input methods" 1>&6 | 7670 echo "checking for Mule input methods" 1>&6 |
7664 echo "configure:7665: checking for Mule input methods" >&5 | 7671 echo "configure:7672: checking for Mule input methods" >&5 |
7665 case "$with_xim" in "" | "yes" ) | 7672 case "$with_xim" in "" | "yes" ) |
7666 echo "checking for XIM" 1>&6 | 7673 echo "checking for XIM" 1>&6 |
7667 echo "configure:7668: checking for XIM" >&5 | 7674 echo "configure:7675: checking for XIM" >&5 |
7668 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7675 if test "$have_lesstif" = "yes"; then with_xim=xlib |
7669 else | 7676 else |
7670 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7677 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7671 echo "configure:7672: checking for XmImMbLookupString in -lXm" >&5 | 7678 echo "configure:7679: checking for XmImMbLookupString in -lXm" >&5 |
7672 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7679 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7673 | 7680 |
7674 xe_check_libs=" -lXm " | 7681 xe_check_libs=" -lXm " |
7675 cat > conftest.$ac_ext <<EOF | 7682 cat > conftest.$ac_ext <<EOF |
7676 #line 7677 "configure" | 7683 #line 7684 "configure" |
7677 #include "confdefs.h" | 7684 #include "confdefs.h" |
7678 /* Override any gcc2 internal prototype to avoid an error. */ | 7685 /* Override any gcc2 internal prototype to avoid an error. */ |
7679 /* We use char because int might match the return type of a gcc2 | 7686 /* We use char because int might match the return type of a gcc2 |
7680 builtin and then its argument prototype would still apply. */ | 7687 builtin and then its argument prototype would still apply. */ |
7681 char XmImMbLookupString(); | 7688 char XmImMbLookupString(); |
7682 | 7689 |
7683 int main() { | 7690 int main() { |
7684 XmImMbLookupString() | 7691 XmImMbLookupString() |
7685 ; return 0; } | 7692 ; return 0; } |
7686 EOF | 7693 EOF |
7687 if { (eval echo configure:7688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7694 if { (eval echo configure:7695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7688 rm -rf conftest* | 7695 rm -rf conftest* |
7689 eval "ac_cv_lib_$ac_lib_var=yes" | 7696 eval "ac_cv_lib_$ac_lib_var=yes" |
7690 else | 7697 else |
7691 echo "configure: failed program was:" >&5 | 7698 echo "configure: failed program was:" >&5 |
7692 cat conftest.$ac_ext >&5 | 7699 cat conftest.$ac_ext >&5 |
7748 fi | 7755 fi |
7749 fi | 7756 fi |
7750 | 7757 |
7751 if test "$with_xfs" = "yes" ; then | 7758 if test "$with_xfs" = "yes" ; then |
7752 echo "checking for XFontSet" 1>&6 | 7759 echo "checking for XFontSet" 1>&6 |
7753 echo "configure:7754: checking for XFontSet" >&5 | 7760 echo "configure:7761: checking for XFontSet" >&5 |
7754 | 7761 |
7755 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7762 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7756 echo "configure:7757: checking for XmbDrawString in -lX11" >&5 | 7763 echo "configure:7764: checking for XmbDrawString in -lX11" >&5 |
7757 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7764 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7758 | 7765 |
7759 xe_check_libs=" -lX11 " | 7766 xe_check_libs=" -lX11 " |
7760 cat > conftest.$ac_ext <<EOF | 7767 cat > conftest.$ac_ext <<EOF |
7761 #line 7762 "configure" | 7768 #line 7769 "configure" |
7762 #include "confdefs.h" | 7769 #include "confdefs.h" |
7763 /* Override any gcc2 internal prototype to avoid an error. */ | 7770 /* Override any gcc2 internal prototype to avoid an error. */ |
7764 /* We use char because int might match the return type of a gcc2 | 7771 /* We use char because int might match the return type of a gcc2 |
7765 builtin and then its argument prototype would still apply. */ | 7772 builtin and then its argument prototype would still apply. */ |
7766 char XmbDrawString(); | 7773 char XmbDrawString(); |
7767 | 7774 |
7768 int main() { | 7775 int main() { |
7769 XmbDrawString() | 7776 XmbDrawString() |
7770 ; return 0; } | 7777 ; return 0; } |
7771 EOF | 7778 EOF |
7772 if { (eval echo configure:7773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7779 if { (eval echo configure:7780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7773 rm -rf conftest* | 7780 rm -rf conftest* |
7774 eval "ac_cv_lib_$ac_lib_var=yes" | 7781 eval "ac_cv_lib_$ac_lib_var=yes" |
7775 else | 7782 else |
7776 echo "configure: failed program was:" >&5 | 7783 echo "configure: failed program was:" >&5 |
7777 cat conftest.$ac_ext >&5 | 7784 cat conftest.$ac_ext >&5 |
7807 fi | 7814 fi |
7808 fi | 7815 fi |
7809 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7816 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7810 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7817 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7811 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7818 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7812 echo "configure:7813: checking for wnn/jllib.h" >&5 | 7819 echo "configure:7820: checking for wnn/jllib.h" >&5 |
7813 | 7820 |
7814 cat > conftest.$ac_ext <<EOF | 7821 cat > conftest.$ac_ext <<EOF |
7815 #line 7816 "configure" | 7822 #line 7823 "configure" |
7816 #include "confdefs.h" | 7823 #include "confdefs.h" |
7817 #include <wnn/jllib.h> | 7824 #include <wnn/jllib.h> |
7818 EOF | 7825 EOF |
7819 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7820 { (eval echo configure:7821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7827 { (eval echo configure:7828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7821 ac_err=`grep -v '^ *+' conftest.out` | 7828 ac_err=`grep -v '^ *+' conftest.out` |
7822 if test -z "$ac_err"; then | 7829 if test -z "$ac_err"; then |
7823 rm -rf conftest* | 7830 rm -rf conftest* |
7824 eval "ac_cv_header_$ac_safe=yes" | 7831 eval "ac_cv_header_$ac_safe=yes" |
7825 else | 7832 else |
7840 } | 7847 } |
7841 if test "$with_wnn" != "no"; then | 7848 if test "$with_wnn" != "no"; then |
7842 for ac_func in crypt | 7849 for ac_func in crypt |
7843 do | 7850 do |
7844 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7845 echo "configure:7846: checking for $ac_func" >&5 | 7852 echo "configure:7853: checking for $ac_func" >&5 |
7846 | 7853 |
7847 cat > conftest.$ac_ext <<EOF | 7854 cat > conftest.$ac_ext <<EOF |
7848 #line 7849 "configure" | 7855 #line 7856 "configure" |
7849 #include "confdefs.h" | 7856 #include "confdefs.h" |
7850 /* System header to define __stub macros and hopefully few prototypes, | 7857 /* System header to define __stub macros and hopefully few prototypes, |
7851 which can conflict with char $ac_func(); below. */ | 7858 which can conflict with char $ac_func(); below. */ |
7852 #include <assert.h> | 7859 #include <assert.h> |
7853 /* Override any gcc2 internal prototype to avoid an error. */ | 7860 /* Override any gcc2 internal prototype to avoid an error. */ |
7866 $ac_func(); | 7873 $ac_func(); |
7867 #endif | 7874 #endif |
7868 | 7875 |
7869 ; return 0; } | 7876 ; return 0; } |
7870 EOF | 7877 EOF |
7871 if { (eval echo configure:7872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7878 if { (eval echo configure:7879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7872 rm -rf conftest* | 7879 rm -rf conftest* |
7873 eval "ac_cv_func_$ac_func=yes" | 7880 eval "ac_cv_func_$ac_func=yes" |
7874 else | 7881 else |
7875 echo "configure: failed program was:" >&5 | 7882 echo "configure: failed program was:" >&5 |
7876 cat conftest.$ac_ext >&5 | 7883 cat conftest.$ac_ext >&5 |
7895 fi | 7902 fi |
7896 done | 7903 done |
7897 | 7904 |
7898 test "$ac_cv_func_crypt" != "yes" && { | 7905 test "$ac_cv_func_crypt" != "yes" && { |
7899 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7906 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7900 echo "configure:7901: checking for crypt in -lcrypt" >&5 | 7907 echo "configure:7908: checking for crypt in -lcrypt" >&5 |
7901 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7908 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7902 | 7909 |
7903 xe_check_libs=" -lcrypt " | 7910 xe_check_libs=" -lcrypt " |
7904 cat > conftest.$ac_ext <<EOF | 7911 cat > conftest.$ac_ext <<EOF |
7905 #line 7906 "configure" | 7912 #line 7913 "configure" |
7906 #include "confdefs.h" | 7913 #include "confdefs.h" |
7907 /* Override any gcc2 internal prototype to avoid an error. */ | 7914 /* Override any gcc2 internal prototype to avoid an error. */ |
7908 /* We use char because int might match the return type of a gcc2 | 7915 /* We use char because int might match the return type of a gcc2 |
7909 builtin and then its argument prototype would still apply. */ | 7916 builtin and then its argument prototype would still apply. */ |
7910 char crypt(); | 7917 char crypt(); |
7911 | 7918 |
7912 int main() { | 7919 int main() { |
7913 crypt() | 7920 crypt() |
7914 ; return 0; } | 7921 ; return 0; } |
7915 EOF | 7922 EOF |
7916 if { (eval echo configure:7917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7923 if { (eval echo configure:7924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7917 rm -rf conftest* | 7924 rm -rf conftest* |
7918 eval "ac_cv_lib_$ac_lib_var=yes" | 7925 eval "ac_cv_lib_$ac_lib_var=yes" |
7919 else | 7926 else |
7920 echo "configure: failed program was:" >&5 | 7927 echo "configure: failed program was:" >&5 |
7921 cat conftest.$ac_ext >&5 | 7928 cat conftest.$ac_ext >&5 |
7943 echo "$ac_t""no" 1>&6 | 7950 echo "$ac_t""no" 1>&6 |
7944 fi | 7951 fi |
7945 | 7952 |
7946 } | 7953 } |
7947 fi | 7954 fi |
7948 test -z "$with_wnn" && { | 7955 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
7956 | |
7949 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7957 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7950 echo "configure:7951: checking for jl_dic_list_e in -lwnn" >&5 | 7958 echo "configure:7959: checking for jl_dic_list_e in -lwnn" >&5 |
7951 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7959 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7952 | 7960 |
7953 xe_check_libs=" -lwnn " | 7961 xe_check_libs=" -lwnn " |
7954 cat > conftest.$ac_ext <<EOF | 7962 cat > conftest.$ac_ext <<EOF |
7955 #line 7956 "configure" | 7963 #line 7964 "configure" |
7956 #include "confdefs.h" | 7964 #include "confdefs.h" |
7957 /* Override any gcc2 internal prototype to avoid an error. */ | 7965 /* Override any gcc2 internal prototype to avoid an error. */ |
7958 /* We use char because int might match the return type of a gcc2 | 7966 /* We use char because int might match the return type of a gcc2 |
7959 builtin and then its argument prototype would still apply. */ | 7967 builtin and then its argument prototype would still apply. */ |
7960 char jl_dic_list_e(); | 7968 char jl_dic_list_e(); |
7961 | 7969 |
7962 int main() { | 7970 int main() { |
7963 jl_dic_list_e() | 7971 jl_dic_list_e() |
7964 ; return 0; } | 7972 ; return 0; } |
7965 EOF | 7973 EOF |
7966 if { (eval echo configure:7967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7974 if { (eval echo configure:7975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7967 rm -rf conftest* | 7975 rm -rf conftest* |
7968 eval "ac_cv_lib_$ac_lib_var=yes" | 7976 eval "ac_cv_lib_$ac_lib_var=yes" |
7969 else | 7977 else |
7970 echo "configure: failed program was:" >&5 | 7978 echo "configure: failed program was:" >&5 |
7971 cat conftest.$ac_ext >&5 | 7979 cat conftest.$ac_ext >&5 |
7975 rm -f conftest* | 7983 rm -f conftest* |
7976 xe_check_libs="" | 7984 xe_check_libs="" |
7977 | 7985 |
7978 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 7986 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
7979 echo "$ac_t""yes" 1>&6 | 7987 echo "$ac_t""yes" 1>&6 |
7980 : | 7988 libwnn=wnn |
7989 else | |
7990 echo "$ac_t""no" 1>&6 | |
7991 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | |
7992 echo "configure:7993: checking for jl_dic_list_e in -lwnn4" >&5 | |
7993 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | |
7994 | |
7995 xe_check_libs=" -lwnn4 " | |
7996 cat > conftest.$ac_ext <<EOF | |
7997 #line 7998 "configure" | |
7998 #include "confdefs.h" | |
7999 /* Override any gcc2 internal prototype to avoid an error. */ | |
8000 /* We use char because int might match the return type of a gcc2 | |
8001 builtin and then its argument prototype would still apply. */ | |
8002 char jl_dic_list_e(); | |
8003 | |
8004 int main() { | |
8005 jl_dic_list_e() | |
8006 ; return 0; } | |
8007 EOF | |
8008 if { (eval echo configure:8009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
8009 rm -rf conftest* | |
8010 eval "ac_cv_lib_$ac_lib_var=yes" | |
8011 else | |
8012 echo "configure: failed program was:" >&5 | |
8013 cat conftest.$ac_ext >&5 | |
8014 rm -rf conftest* | |
8015 eval "ac_cv_lib_$ac_lib_var=no" | |
8016 fi | |
8017 rm -f conftest* | |
8018 xe_check_libs="" | |
8019 | |
8020 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
8021 echo "$ac_t""yes" 1>&6 | |
8022 libwnn=wnn4 | |
8023 else | |
8024 echo "$ac_t""no" 1>&6 | |
8025 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | |
8026 echo "configure:8027: checking for jl_dic_list_e in -lwnn6" >&5 | |
8027 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | |
8028 | |
8029 xe_check_libs=" -lwnn6 " | |
8030 cat > conftest.$ac_ext <<EOF | |
8031 #line 8032 "configure" | |
8032 #include "confdefs.h" | |
8033 /* Override any gcc2 internal prototype to avoid an error. */ | |
8034 /* We use char because int might match the return type of a gcc2 | |
8035 builtin and then its argument prototype would still apply. */ | |
8036 char jl_dic_list_e(); | |
8037 | |
8038 int main() { | |
8039 jl_dic_list_e() | |
8040 ; return 0; } | |
8041 EOF | |
8042 if { (eval echo configure:8043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
8043 rm -rf conftest* | |
8044 eval "ac_cv_lib_$ac_lib_var=yes" | |
8045 else | |
8046 echo "configure: failed program was:" >&5 | |
8047 cat conftest.$ac_ext >&5 | |
8048 rm -rf conftest* | |
8049 eval "ac_cv_lib_$ac_lib_var=no" | |
8050 fi | |
8051 rm -f conftest* | |
8052 xe_check_libs="" | |
8053 | |
8054 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
8055 echo "$ac_t""yes" 1>&6 | |
8056 libwnn=wnn6 | |
8057 else | |
8058 echo "$ac_t""no" 1>&6 | |
8059 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | |
8060 echo "configure:8061: checking for dic_list_e in -lwnn6_fromsrc" >&5 | |
8061 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | |
8062 | |
8063 xe_check_libs=" -lwnn6_fromsrc " | |
8064 cat > conftest.$ac_ext <<EOF | |
8065 #line 8066 "configure" | |
8066 #include "confdefs.h" | |
8067 /* Override any gcc2 internal prototype to avoid an error. */ | |
8068 /* We use char because int might match the return type of a gcc2 | |
8069 builtin and then its argument prototype would still apply. */ | |
8070 char dic_list_e(); | |
8071 | |
8072 int main() { | |
8073 dic_list_e() | |
8074 ; return 0; } | |
8075 EOF | |
8076 if { (eval echo configure:8077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
8077 rm -rf conftest* | |
8078 eval "ac_cv_lib_$ac_lib_var=yes" | |
8079 else | |
8080 echo "configure: failed program was:" >&5 | |
8081 cat conftest.$ac_ext >&5 | |
8082 rm -rf conftest* | |
8083 eval "ac_cv_lib_$ac_lib_var=no" | |
8084 fi | |
8085 rm -f conftest* | |
8086 xe_check_libs="" | |
8087 | |
8088 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
8089 echo "$ac_t""yes" 1>&6 | |
8090 libwnn=wnn6_fromsrc | |
7981 else | 8091 else |
7982 echo "$ac_t""no" 1>&6 | 8092 echo "$ac_t""no" 1>&6 |
7983 with_wnn=no | 8093 with_wnn=no |
7984 fi | 8094 fi |
7985 | 8095 |
7986 } | 8096 |
8097 fi | |
8098 | |
8099 | |
8100 fi | |
8101 | |
8102 | |
8103 fi | |
8104 | |
8105 | |
8106 fi | |
7987 test -z "$with_wnn" && with_wnn=yes | 8107 test -z "$with_wnn" && with_wnn=yes |
7988 if test "$with_wnn" = "yes"; then | 8108 if test "$with_wnn" = "yes"; then |
7989 { test "$extra_verbose" = "yes" && cat << \EOF | 8109 { test "$extra_verbose" = "yes" && cat << \EOF |
7990 Defining HAVE_WNN | 8110 Defining HAVE_WNN |
7991 EOF | 8111 EOF |
7992 cat >> confdefs.h <<\EOF | 8112 cat >> confdefs.h <<\EOF |
7993 #define HAVE_WNN 1 | 8113 #define HAVE_WNN 1 |
7994 EOF | 8114 EOF |
7995 } | 8115 } |
7996 | 8116 |
7997 libs_x="-lwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lwnn\" to \$libs_x"; fi | 8117 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
7998 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 8118 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
7999 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8119 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
8000 fi | 8120 fi |
8001 if test "$with_wnn6" != "no"; then | 8121 if test "$with_wnn6" != "no"; then |
8002 | 8122 |
8003 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 8123 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
8004 echo "configure:8005: checking for jl_fi_dic_list in -lwnn" >&5 | 8124 echo "configure:8125: checking for jl_fi_dic_list in -l$libwnn" >&5 |
8005 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8125 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
8006 | 8126 |
8007 xe_check_libs=" -lwnn " | 8127 xe_check_libs=" -l$libwnn " |
8008 cat > conftest.$ac_ext <<EOF | 8128 cat > conftest.$ac_ext <<EOF |
8009 #line 8010 "configure" | 8129 #line 8130 "configure" |
8010 #include "confdefs.h" | 8130 #include "confdefs.h" |
8011 /* Override any gcc2 internal prototype to avoid an error. */ | 8131 /* Override any gcc2 internal prototype to avoid an error. */ |
8012 /* We use char because int might match the return type of a gcc2 | 8132 /* We use char because int might match the return type of a gcc2 |
8013 builtin and then its argument prototype would still apply. */ | 8133 builtin and then its argument prototype would still apply. */ |
8014 char jl_fi_dic_list(); | 8134 char jl_fi_dic_list(); |
8015 | 8135 |
8016 int main() { | 8136 int main() { |
8017 jl_fi_dic_list() | 8137 jl_fi_dic_list() |
8018 ; return 0; } | 8138 ; return 0; } |
8019 EOF | 8139 EOF |
8020 if { (eval echo configure:8021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8140 if { (eval echo configure:8141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8021 rm -rf conftest* | 8141 rm -rf conftest* |
8022 eval "ac_cv_lib_$ac_lib_var=yes" | 8142 eval "ac_cv_lib_$ac_lib_var=yes" |
8023 else | 8143 else |
8024 echo "configure: failed program was:" >&5 | 8144 echo "configure: failed program was:" >&5 |
8025 cat conftest.$ac_ext >&5 | 8145 cat conftest.$ac_ext >&5 |
8050 | 8170 |
8051 canna_includes_found=no | 8171 canna_includes_found=no |
8052 if test "$with_canna" != "no"; then | 8172 if test "$with_canna" != "no"; then |
8053 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8173 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8054 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8174 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8055 echo "configure:8056: checking for canna/jrkanji.h" >&5 | 8175 echo "configure:8176: checking for canna/jrkanji.h" >&5 |
8056 | 8176 |
8057 cat > conftest.$ac_ext <<EOF | 8177 cat > conftest.$ac_ext <<EOF |
8058 #line 8059 "configure" | 8178 #line 8179 "configure" |
8059 #include "confdefs.h" | 8179 #include "confdefs.h" |
8060 #include <canna/jrkanji.h> | 8180 #include <canna/jrkanji.h> |
8061 EOF | 8181 EOF |
8062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8182 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8063 { (eval echo configure:8064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8183 { (eval echo configure:8184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8064 ac_err=`grep -v '^ *+' conftest.out` | 8184 ac_err=`grep -v '^ *+' conftest.out` |
8065 if test -z "$ac_err"; then | 8185 if test -z "$ac_err"; then |
8066 rm -rf conftest* | 8186 rm -rf conftest* |
8067 eval "ac_cv_header_$ac_safe=yes" | 8187 eval "ac_cv_header_$ac_safe=yes" |
8068 else | 8188 else |
8085 -d "/usr/local/canna/include"; then | 8205 -d "/usr/local/canna/include"; then |
8086 save_c_switch_site="$c_switch_site" | 8206 save_c_switch_site="$c_switch_site" |
8087 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8207 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8088 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8208 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8089 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8209 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8090 echo "configure:8091: checking for canna/jrkanji.h" >&5 | 8210 echo "configure:8211: checking for canna/jrkanji.h" >&5 |
8091 | 8211 |
8092 cat > conftest.$ac_ext <<EOF | 8212 cat > conftest.$ac_ext <<EOF |
8093 #line 8094 "configure" | 8213 #line 8214 "configure" |
8094 #include "confdefs.h" | 8214 #include "confdefs.h" |
8095 #include <canna/jrkanji.h> | 8215 #include <canna/jrkanji.h> |
8096 EOF | 8216 EOF |
8097 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8098 { (eval echo configure:8099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8218 { (eval echo configure:8219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8099 ac_err=`grep -v '^ *+' conftest.out` | 8219 ac_err=`grep -v '^ *+' conftest.out` |
8100 if test -z "$ac_err"; then | 8220 if test -z "$ac_err"; then |
8101 rm -rf conftest* | 8221 rm -rf conftest* |
8102 eval "ac_cv_header_$ac_safe=yes" | 8222 eval "ac_cv_header_$ac_safe=yes" |
8103 else | 8223 else |
8121 fi | 8241 fi |
8122 fi | 8242 fi |
8123 | 8243 |
8124 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8244 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8125 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8245 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8126 echo "configure:8127: checking for canna/RK.h" >&5 | 8246 echo "configure:8247: checking for canna/RK.h" >&5 |
8127 | 8247 |
8128 cat > conftest.$ac_ext <<EOF | 8248 cat > conftest.$ac_ext <<EOF |
8129 #line 8130 "configure" | 8249 #line 8250 "configure" |
8130 #include "confdefs.h" | 8250 #include "confdefs.h" |
8131 #include <canna/RK.h> | 8251 #include <canna/RK.h> |
8132 EOF | 8252 EOF |
8133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8134 { (eval echo configure:8135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8254 { (eval echo configure:8255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8135 ac_err=`grep -v '^ *+' conftest.out` | 8255 ac_err=`grep -v '^ *+' conftest.out` |
8136 if test -z "$ac_err"; then | 8256 if test -z "$ac_err"; then |
8137 rm -rf conftest* | 8257 rm -rf conftest* |
8138 eval "ac_cv_header_$ac_safe=yes" | 8258 eval "ac_cv_header_$ac_safe=yes" |
8139 else | 8259 else |
8152 with_canna=no | 8272 with_canna=no |
8153 fi | 8273 fi |
8154 } | 8274 } |
8155 test -z "$with_canna" && { | 8275 test -z "$with_canna" && { |
8156 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8276 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8157 echo "configure:8158: checking for RkBgnBun in -lRKC" >&5 | 8277 echo "configure:8278: checking for RkBgnBun in -lRKC" >&5 |
8158 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8278 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8159 | 8279 |
8160 xe_check_libs=" -lRKC " | 8280 xe_check_libs=" -lRKC " |
8161 cat > conftest.$ac_ext <<EOF | 8281 cat > conftest.$ac_ext <<EOF |
8162 #line 8163 "configure" | 8282 #line 8283 "configure" |
8163 #include "confdefs.h" | 8283 #include "confdefs.h" |
8164 /* Override any gcc2 internal prototype to avoid an error. */ | 8284 /* Override any gcc2 internal prototype to avoid an error. */ |
8165 /* We use char because int might match the return type of a gcc2 | 8285 /* We use char because int might match the return type of a gcc2 |
8166 builtin and then its argument prototype would still apply. */ | 8286 builtin and then its argument prototype would still apply. */ |
8167 char RkBgnBun(); | 8287 char RkBgnBun(); |
8168 | 8288 |
8169 int main() { | 8289 int main() { |
8170 RkBgnBun() | 8290 RkBgnBun() |
8171 ; return 0; } | 8291 ; return 0; } |
8172 EOF | 8292 EOF |
8173 if { (eval echo configure:8174: \"$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 |
8174 rm -rf conftest* | 8294 rm -rf conftest* |
8175 eval "ac_cv_lib_$ac_lib_var=yes" | 8295 eval "ac_cv_lib_$ac_lib_var=yes" |
8176 else | 8296 else |
8177 echo "configure: failed program was:" >&5 | 8297 echo "configure: failed program was:" >&5 |
8178 cat conftest.$ac_ext >&5 | 8298 cat conftest.$ac_ext >&5 |
8191 fi | 8311 fi |
8192 | 8312 |
8193 } | 8313 } |
8194 test -z "$with_canna" && { | 8314 test -z "$with_canna" && { |
8195 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8315 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8196 echo "configure:8197: checking for jrKanjiControl in -lcanna" >&5 | 8316 echo "configure:8317: checking for jrKanjiControl in -lcanna" >&5 |
8197 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8317 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8198 | 8318 |
8199 xe_check_libs=" -lcanna " | 8319 xe_check_libs=" -lcanna " |
8200 cat > conftest.$ac_ext <<EOF | 8320 cat > conftest.$ac_ext <<EOF |
8201 #line 8202 "configure" | 8321 #line 8322 "configure" |
8202 #include "confdefs.h" | 8322 #include "confdefs.h" |
8203 /* Override any gcc2 internal prototype to avoid an error. */ | 8323 /* Override any gcc2 internal prototype to avoid an error. */ |
8204 /* We use char because int might match the return type of a gcc2 | 8324 /* We use char because int might match the return type of a gcc2 |
8205 builtin and then its argument prototype would still apply. */ | 8325 builtin and then its argument prototype would still apply. */ |
8206 char jrKanjiControl(); | 8326 char jrKanjiControl(); |
8207 | 8327 |
8208 int main() { | 8328 int main() { |
8209 jrKanjiControl() | 8329 jrKanjiControl() |
8210 ; return 0; } | 8330 ; return 0; } |
8211 EOF | 8331 EOF |
8212 if { (eval echo configure:8213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8332 if { (eval echo configure:8333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8213 rm -rf conftest* | 8333 rm -rf conftest* |
8214 eval "ac_cv_lib_$ac_lib_var=yes" | 8334 eval "ac_cv_lib_$ac_lib_var=yes" |
8215 else | 8335 else |
8216 echo "configure: failed program was:" >&5 | 8336 echo "configure: failed program was:" >&5 |
8217 cat conftest.$ac_ext >&5 | 8337 cat conftest.$ac_ext >&5 |
8256 | 8376 |
8257 if test "$need_motif" = "yes" ; then | 8377 if test "$need_motif" = "yes" ; then |
8258 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8378 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8259 | 8379 |
8260 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8380 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8261 echo "configure:8262: checking for layout_object_getvalue in -li18n" >&5 | 8381 echo "configure:8382: checking for layout_object_getvalue in -li18n" >&5 |
8262 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8382 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8263 | 8383 |
8264 xe_check_libs=" -li18n " | 8384 xe_check_libs=" -li18n " |
8265 cat > conftest.$ac_ext <<EOF | 8385 cat > conftest.$ac_ext <<EOF |
8266 #line 8267 "configure" | 8386 #line 8387 "configure" |
8267 #include "confdefs.h" | 8387 #include "confdefs.h" |
8268 /* Override any gcc2 internal prototype to avoid an error. */ | 8388 /* Override any gcc2 internal prototype to avoid an error. */ |
8269 /* We use char because int might match the return type of a gcc2 | 8389 /* We use char because int might match the return type of a gcc2 |
8270 builtin and then its argument prototype would still apply. */ | 8390 builtin and then its argument prototype would still apply. */ |
8271 char layout_object_getvalue(); | 8391 char layout_object_getvalue(); |
8272 | 8392 |
8273 int main() { | 8393 int main() { |
8274 layout_object_getvalue() | 8394 layout_object_getvalue() |
8275 ; return 0; } | 8395 ; return 0; } |
8276 EOF | 8396 EOF |
8277 if { (eval echo configure:8278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8397 if { (eval echo configure:8398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8278 rm -rf conftest* | 8398 rm -rf conftest* |
8279 eval "ac_cv_lib_$ac_lib_var=yes" | 8399 eval "ac_cv_lib_$ac_lib_var=yes" |
8280 else | 8400 else |
8281 echo "configure: failed program was:" >&5 | 8401 echo "configure: failed program was:" >&5 |
8282 cat conftest.$ac_ext >&5 | 8402 cat conftest.$ac_ext >&5 |
8358 fi | 8478 fi |
8359 | 8479 |
8360 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 | 8480 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 |
8361 do | 8481 do |
8362 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8482 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8363 echo "configure:8364: checking for $ac_func" >&5 | 8483 echo "configure:8484: checking for $ac_func" >&5 |
8364 | 8484 |
8365 cat > conftest.$ac_ext <<EOF | 8485 cat > conftest.$ac_ext <<EOF |
8366 #line 8367 "configure" | 8486 #line 8487 "configure" |
8367 #include "confdefs.h" | 8487 #include "confdefs.h" |
8368 /* System header to define __stub macros and hopefully few prototypes, | 8488 /* System header to define __stub macros and hopefully few prototypes, |
8369 which can conflict with char $ac_func(); below. */ | 8489 which can conflict with char $ac_func(); below. */ |
8370 #include <assert.h> | 8490 #include <assert.h> |
8371 /* Override any gcc2 internal prototype to avoid an error. */ | 8491 /* Override any gcc2 internal prototype to avoid an error. */ |
8384 $ac_func(); | 8504 $ac_func(); |
8385 #endif | 8505 #endif |
8386 | 8506 |
8387 ; return 0; } | 8507 ; return 0; } |
8388 EOF | 8508 EOF |
8389 if { (eval echo configure:8390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8509 if { (eval echo configure:8510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8390 rm -rf conftest* | 8510 rm -rf conftest* |
8391 eval "ac_cv_func_$ac_func=yes" | 8511 eval "ac_cv_func_$ac_func=yes" |
8392 else | 8512 else |
8393 echo "configure: failed program was:" >&5 | 8513 echo "configure: failed program was:" >&5 |
8394 cat conftest.$ac_ext >&5 | 8514 cat conftest.$ac_ext >&5 |
8418 case "$opsys" in | 8538 case "$opsys" in |
8419 linuxaout* | bsdos3* | freebsd* | decosf4-0* | aix4* ) extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then | 8539 linuxaout* | bsdos3* | freebsd* | decosf4-0* | aix4* ) extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then |
8420 echo " xemacs will be linked with \"realpath.o\"" | 8540 echo " xemacs will be linked with \"realpath.o\"" |
8421 fi ;; | 8541 fi ;; |
8422 * ) | 8542 * ) |
8423 for ac_func in realpath | 8543 case "$canonical" in |
8544 *-*-sysv4.2uw2* ) extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then | |
8545 echo " xemacs will be linked with \"realpath.o\"" | |
8546 fi ;; | |
8547 * ) for ac_func in realpath | |
8424 do | 8548 do |
8425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8549 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8426 echo "configure:8427: checking for $ac_func" >&5 | 8550 echo "configure:8551: checking for $ac_func" >&5 |
8427 | 8551 |
8428 cat > conftest.$ac_ext <<EOF | 8552 cat > conftest.$ac_ext <<EOF |
8429 #line 8430 "configure" | 8553 #line 8554 "configure" |
8430 #include "confdefs.h" | 8554 #include "confdefs.h" |
8431 /* System header to define __stub macros and hopefully few prototypes, | 8555 /* System header to define __stub macros and hopefully few prototypes, |
8432 which can conflict with char $ac_func(); below. */ | 8556 which can conflict with char $ac_func(); below. */ |
8433 #include <assert.h> | 8557 #include <assert.h> |
8434 /* Override any gcc2 internal prototype to avoid an error. */ | 8558 /* Override any gcc2 internal prototype to avoid an error. */ |
8447 $ac_func(); | 8571 $ac_func(); |
8448 #endif | 8572 #endif |
8449 | 8573 |
8450 ; return 0; } | 8574 ; return 0; } |
8451 EOF | 8575 EOF |
8452 if { (eval echo configure:8453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8576 if { (eval echo configure:8577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8453 rm -rf conftest* | 8577 rm -rf conftest* |
8454 eval "ac_cv_func_$ac_func=yes" | 8578 eval "ac_cv_func_$ac_func=yes" |
8455 else | 8579 else |
8456 echo "configure: failed program was:" >&5 | 8580 echo "configure: failed program was:" >&5 |
8457 cat conftest.$ac_ext >&5 | 8581 cat conftest.$ac_ext >&5 |
8474 else | 8598 else |
8475 echo "$ac_t""no" 1>&6 | 8599 echo "$ac_t""no" 1>&6 |
8476 fi | 8600 fi |
8477 done | 8601 done |
8478 | 8602 |
8479 test "$ac_cv_func_realpath" != "yes" && extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then | 8603 test "$ac_cv_func_realpath" != "yes" && extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then |
8480 echo " xemacs will be linked with \"realpath.o\"" | 8604 echo " xemacs will be linked with \"realpath.o\"" |
8481 fi ;; | 8605 fi ;; |
8606 esac ;; | |
8482 esac | 8607 esac |
8483 | 8608 |
8484 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8609 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8485 echo "configure:8486: checking whether netdb declares h_errno" >&5 | 8610 echo "configure:8611: checking whether netdb declares h_errno" >&5 |
8486 cat > conftest.$ac_ext <<EOF | 8611 cat > conftest.$ac_ext <<EOF |
8487 #line 8488 "configure" | 8612 #line 8613 "configure" |
8488 #include "confdefs.h" | 8613 #include "confdefs.h" |
8489 #include <netdb.h> | 8614 #include <netdb.h> |
8490 int main() { | 8615 int main() { |
8491 return h_errno; | 8616 return h_errno; |
8492 ; return 0; } | 8617 ; return 0; } |
8493 EOF | 8618 EOF |
8494 if { (eval echo configure:8495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8619 if { (eval echo configure:8620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8495 rm -rf conftest* | 8620 rm -rf conftest* |
8496 echo "$ac_t""yes" 1>&6 | 8621 echo "$ac_t""yes" 1>&6 |
8497 { test "$extra_verbose" = "yes" && cat << \EOF | 8622 { test "$extra_verbose" = "yes" && cat << \EOF |
8498 Defining HAVE_H_ERRNO | 8623 Defining HAVE_H_ERRNO |
8499 EOF | 8624 EOF |
8509 echo "$ac_t""no" 1>&6 | 8634 echo "$ac_t""no" 1>&6 |
8510 fi | 8635 fi |
8511 rm -f conftest* | 8636 rm -f conftest* |
8512 | 8637 |
8513 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8638 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8514 echo "configure:8515: checking for sigsetjmp" >&5 | 8639 echo "configure:8640: checking for sigsetjmp" >&5 |
8515 cat > conftest.$ac_ext <<EOF | 8640 cat > conftest.$ac_ext <<EOF |
8516 #line 8517 "configure" | 8641 #line 8642 "configure" |
8517 #include "confdefs.h" | 8642 #include "confdefs.h" |
8518 #include <setjmp.h> | 8643 #include <setjmp.h> |
8519 int main() { | 8644 int main() { |
8520 sigjmp_buf bar; sigsetjmp (bar, 0); | 8645 sigjmp_buf bar; sigsetjmp (bar, 0); |
8521 ; return 0; } | 8646 ; return 0; } |
8522 EOF | 8647 EOF |
8523 if { (eval echo configure:8524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8648 if { (eval echo configure:8649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8524 rm -rf conftest* | 8649 rm -rf conftest* |
8525 echo "$ac_t""yes" 1>&6 | 8650 echo "$ac_t""yes" 1>&6 |
8526 { test "$extra_verbose" = "yes" && cat << \EOF | 8651 { test "$extra_verbose" = "yes" && cat << \EOF |
8527 Defining HAVE_SIGSETJMP | 8652 Defining HAVE_SIGSETJMP |
8528 EOF | 8653 EOF |
8538 echo "$ac_t""no" 1>&6 | 8663 echo "$ac_t""no" 1>&6 |
8539 fi | 8664 fi |
8540 rm -f conftest* | 8665 rm -f conftest* |
8541 | 8666 |
8542 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8667 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
8543 echo "configure:8544: checking whether localtime caches TZ" >&5 | 8668 echo "configure:8669: checking whether localtime caches TZ" >&5 |
8544 | 8669 |
8545 if test "$ac_cv_func_tzset" = "yes"; then | 8670 if test "$ac_cv_func_tzset" = "yes"; then |
8546 cat > conftest.$ac_ext <<EOF | 8671 cat > conftest.$ac_ext <<EOF |
8547 #line 8548 "configure" | 8672 #line 8673 "configure" |
8548 #include "confdefs.h" | 8673 #include "confdefs.h" |
8549 #include <time.h> | 8674 #include <time.h> |
8550 #if STDC_HEADERS | 8675 #if STDC_HEADERS |
8551 # include <stdlib.h> | 8676 # include <stdlib.h> |
8552 #endif | 8677 #endif |
8577 if (localtime (&now)->tm_hour != hour_unset) | 8702 if (localtime (&now)->tm_hour != hour_unset) |
8578 exit (1); | 8703 exit (1); |
8579 exit (0); | 8704 exit (0); |
8580 } | 8705 } |
8581 EOF | 8706 EOF |
8582 if { (eval echo configure:8583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8707 if { (eval echo configure:8708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8583 then | 8708 then |
8584 emacs_cv_localtime_cache=no | 8709 emacs_cv_localtime_cache=no |
8585 else | 8710 else |
8586 conftest_rc="$?" | 8711 conftest_rc="$?" |
8587 echo "configure: failed program was:" >&5 | 8712 echo "configure: failed program was:" >&5 |
8607 | 8732 |
8608 fi | 8733 fi |
8609 | 8734 |
8610 if test "$HAVE_TIMEVAL" = "yes"; then | 8735 if test "$HAVE_TIMEVAL" = "yes"; then |
8611 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8736 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
8612 echo "configure:8613: checking whether gettimeofday accepts one or two arguments" >&5 | 8737 echo "configure:8738: checking whether gettimeofday accepts one or two arguments" >&5 |
8613 cat > conftest.$ac_ext <<EOF | 8738 cat > conftest.$ac_ext <<EOF |
8614 #line 8615 "configure" | 8739 #line 8740 "configure" |
8615 #include "confdefs.h" | 8740 #include "confdefs.h" |
8616 | 8741 |
8617 #ifdef TIME_WITH_SYS_TIME | 8742 #ifdef TIME_WITH_SYS_TIME |
8618 #include <sys/time.h> | 8743 #include <sys/time.h> |
8619 #include <time.h> | 8744 #include <time.h> |
8631 struct timezone dummy; | 8756 struct timezone dummy; |
8632 gettimeofday (&time, &dummy); | 8757 gettimeofday (&time, &dummy); |
8633 | 8758 |
8634 ; return 0; } | 8759 ; return 0; } |
8635 EOF | 8760 EOF |
8636 if { (eval echo configure:8637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8761 if { (eval echo configure:8762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8637 rm -rf conftest* | 8762 rm -rf conftest* |
8638 echo "$ac_t""two" 1>&6 | 8763 echo "$ac_t""two" 1>&6 |
8639 else | 8764 else |
8640 echo "configure: failed program was:" >&5 | 8765 echo "configure: failed program was:" >&5 |
8641 cat conftest.$ac_ext >&5 | 8766 cat conftest.$ac_ext >&5 |
8653 rm -f conftest* | 8778 rm -f conftest* |
8654 fi | 8779 fi |
8655 | 8780 |
8656 | 8781 |
8657 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8782 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
8658 echo "configure:8659: checking for inline" >&5 | 8783 echo "configure:8784: checking for inline" >&5 |
8659 | 8784 |
8660 ac_cv_c_inline=no | 8785 ac_cv_c_inline=no |
8661 for ac_kw in inline __inline__ __inline; do | 8786 for ac_kw in inline __inline__ __inline; do |
8662 cat > conftest.$ac_ext <<EOF | 8787 cat > conftest.$ac_ext <<EOF |
8663 #line 8664 "configure" | 8788 #line 8789 "configure" |
8664 #include "confdefs.h" | 8789 #include "confdefs.h" |
8665 | 8790 |
8666 int main() { | 8791 int main() { |
8667 } $ac_kw foo() { | 8792 } $ac_kw foo() { |
8668 ; return 0; } | 8793 ; return 0; } |
8669 EOF | 8794 EOF |
8670 if { (eval echo configure:8671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8795 if { (eval echo configure:8796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8671 rm -rf conftest* | 8796 rm -rf conftest* |
8672 ac_cv_c_inline=$ac_kw; break | 8797 ac_cv_c_inline=$ac_kw; break |
8673 else | 8798 else |
8674 echo "configure: failed program was:" >&5 | 8799 echo "configure: failed program was:" >&5 |
8675 cat conftest.$ac_ext >&5 | 8800 cat conftest.$ac_ext >&5 |
8715 | 8840 |
8716 | 8841 |
8717 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8842 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
8718 # for constant arguments. Useless! | 8843 # for constant arguments. Useless! |
8719 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8844 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
8720 echo "configure:8721: checking for working alloca.h" >&5 | 8845 echo "configure:8846: checking for working alloca.h" >&5 |
8721 | 8846 |
8722 cat > conftest.$ac_ext <<EOF | 8847 cat > conftest.$ac_ext <<EOF |
8723 #line 8724 "configure" | 8848 #line 8849 "configure" |
8724 #include "confdefs.h" | 8849 #include "confdefs.h" |
8725 #include <alloca.h> | 8850 #include <alloca.h> |
8726 int main() { | 8851 int main() { |
8727 char *p = alloca(2 * sizeof(int)); | 8852 char *p = alloca(2 * sizeof(int)); |
8728 ; return 0; } | 8853 ; return 0; } |
8729 EOF | 8854 EOF |
8730 if { (eval echo configure:8731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8855 if { (eval echo configure:8856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8731 rm -rf conftest* | 8856 rm -rf conftest* |
8732 ac_cv_header_alloca_h=yes | 8857 ac_cv_header_alloca_h=yes |
8733 else | 8858 else |
8734 echo "configure: failed program was:" >&5 | 8859 echo "configure: failed program was:" >&5 |
8735 cat conftest.$ac_ext >&5 | 8860 cat conftest.$ac_ext >&5 |
8749 } | 8874 } |
8750 | 8875 |
8751 fi | 8876 fi |
8752 | 8877 |
8753 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8878 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
8754 echo "configure:8755: checking for alloca" >&5 | 8879 echo "configure:8880: checking for alloca" >&5 |
8755 | 8880 |
8756 cat > conftest.$ac_ext <<EOF | 8881 cat > conftest.$ac_ext <<EOF |
8757 #line 8758 "configure" | 8882 #line 8883 "configure" |
8758 #include "confdefs.h" | 8883 #include "confdefs.h" |
8759 | 8884 |
8760 #ifdef __GNUC__ | 8885 #ifdef __GNUC__ |
8761 # define alloca __builtin_alloca | 8886 # define alloca __builtin_alloca |
8762 #else | 8887 #else |
8775 | 8900 |
8776 int main() { | 8901 int main() { |
8777 char *p = (char *) alloca(1); | 8902 char *p = (char *) alloca(1); |
8778 ; return 0; } | 8903 ; return 0; } |
8779 EOF | 8904 EOF |
8780 if { (eval echo configure:8781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8905 if { (eval echo configure:8906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8781 rm -rf conftest* | 8906 rm -rf conftest* |
8782 ac_cv_func_alloca_works=yes | 8907 ac_cv_func_alloca_works=yes |
8783 else | 8908 else |
8784 echo "configure: failed program was:" >&5 | 8909 echo "configure: failed program was:" >&5 |
8785 cat conftest.$ac_ext >&5 | 8910 cat conftest.$ac_ext >&5 |
8814 EOF | 8939 EOF |
8815 } | 8940 } |
8816 | 8941 |
8817 | 8942 |
8818 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8943 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
8819 echo "configure:8820: checking whether alloca needs Cray hooks" >&5 | 8944 echo "configure:8945: checking whether alloca needs Cray hooks" >&5 |
8820 | 8945 |
8821 cat > conftest.$ac_ext <<EOF | 8946 cat > conftest.$ac_ext <<EOF |
8822 #line 8823 "configure" | 8947 #line 8948 "configure" |
8823 #include "confdefs.h" | 8948 #include "confdefs.h" |
8824 #if defined(CRAY) && ! defined(CRAY2) | 8949 #if defined(CRAY) && ! defined(CRAY2) |
8825 webecray | 8950 webecray |
8826 #else | 8951 #else |
8827 wenotbecray | 8952 wenotbecray |
8841 | 8966 |
8842 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8967 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
8843 if test $ac_cv_os_cray = yes; then | 8968 if test $ac_cv_os_cray = yes; then |
8844 for ac_func in _getb67 GETB67 getb67; do | 8969 for ac_func in _getb67 GETB67 getb67; do |
8845 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8970 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8846 echo "configure:8847: checking for $ac_func" >&5 | 8971 echo "configure:8972: checking for $ac_func" >&5 |
8847 | 8972 |
8848 cat > conftest.$ac_ext <<EOF | 8973 cat > conftest.$ac_ext <<EOF |
8849 #line 8850 "configure" | 8974 #line 8975 "configure" |
8850 #include "confdefs.h" | 8975 #include "confdefs.h" |
8851 /* System header to define __stub macros and hopefully few prototypes, | 8976 /* System header to define __stub macros and hopefully few prototypes, |
8852 which can conflict with char $ac_func(); below. */ | 8977 which can conflict with char $ac_func(); below. */ |
8853 #include <assert.h> | 8978 #include <assert.h> |
8854 /* Override any gcc2 internal prototype to avoid an error. */ | 8979 /* Override any gcc2 internal prototype to avoid an error. */ |
8867 $ac_func(); | 8992 $ac_func(); |
8868 #endif | 8993 #endif |
8869 | 8994 |
8870 ; return 0; } | 8995 ; return 0; } |
8871 EOF | 8996 EOF |
8872 if { (eval echo configure:8873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8997 if { (eval echo configure:8998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8873 rm -rf conftest* | 8998 rm -rf conftest* |
8874 eval "ac_cv_func_$ac_func=yes" | 8999 eval "ac_cv_func_$ac_func=yes" |
8875 else | 9000 else |
8876 echo "configure: failed program was:" >&5 | 9001 echo "configure: failed program was:" >&5 |
8877 cat conftest.$ac_ext >&5 | 9002 cat conftest.$ac_ext >&5 |
8897 | 9022 |
8898 done | 9023 done |
8899 fi | 9024 fi |
8900 | 9025 |
8901 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9026 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
8902 echo "configure:8903: checking stack direction for C alloca" >&5 | 9027 echo "configure:9028: checking stack direction for C alloca" >&5 |
8903 | 9028 |
8904 cat > conftest.$ac_ext <<EOF | 9029 cat > conftest.$ac_ext <<EOF |
8905 #line 8906 "configure" | 9030 #line 9031 "configure" |
8906 #include "confdefs.h" | 9031 #include "confdefs.h" |
8907 find_stack_direction () | 9032 find_stack_direction () |
8908 { | 9033 { |
8909 static char *addr = 0; | 9034 static char *addr = 0; |
8910 auto char dummy; | 9035 auto char dummy; |
8919 main () | 9044 main () |
8920 { | 9045 { |
8921 exit (find_stack_direction() < 0); | 9046 exit (find_stack_direction() < 0); |
8922 } | 9047 } |
8923 EOF | 9048 EOF |
8924 if { (eval echo configure:8925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9049 if { (eval echo configure:9050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8925 then | 9050 then |
8926 ac_cv_c_stack_direction=1 | 9051 ac_cv_c_stack_direction=1 |
8927 else | 9052 else |
8928 conftest_rc="$?" | 9053 conftest_rc="$?" |
8929 echo "configure: failed program was:" >&5 | 9054 echo "configure: failed program was:" >&5 |
8948 echo " xemacs will be linked with \"$ALLOCA\"" | 9073 echo " xemacs will be linked with \"$ALLOCA\"" |
8949 fi | 9074 fi |
8950 | 9075 |
8951 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9076 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8952 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9077 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8953 echo "configure:8954: checking for vfork.h" >&5 | 9078 echo "configure:9079: checking for vfork.h" >&5 |
8954 | 9079 |
8955 cat > conftest.$ac_ext <<EOF | 9080 cat > conftest.$ac_ext <<EOF |
8956 #line 8957 "configure" | 9081 #line 9082 "configure" |
8957 #include "confdefs.h" | 9082 #include "confdefs.h" |
8958 #include <vfork.h> | 9083 #include <vfork.h> |
8959 EOF | 9084 EOF |
8960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8961 { (eval echo configure:8962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9086 { (eval echo configure:9087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8962 ac_err=`grep -v '^ *+' conftest.out` | 9087 ac_err=`grep -v '^ *+' conftest.out` |
8963 if test -z "$ac_err"; then | 9088 if test -z "$ac_err"; then |
8964 rm -rf conftest* | 9089 rm -rf conftest* |
8965 eval "ac_cv_header_$ac_safe=yes" | 9090 eval "ac_cv_header_$ac_safe=yes" |
8966 else | 9091 else |
8984 else | 9109 else |
8985 echo "$ac_t""no" 1>&6 | 9110 echo "$ac_t""no" 1>&6 |
8986 fi | 9111 fi |
8987 | 9112 |
8988 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9113 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8989 echo "configure:8990: checking for working vfork" >&5 | 9114 echo "configure:9115: checking for working vfork" >&5 |
8990 | 9115 |
8991 cat > conftest.$ac_ext <<EOF | 9116 cat > conftest.$ac_ext <<EOF |
8992 #line 8993 "configure" | 9117 #line 9118 "configure" |
8993 #include "confdefs.h" | 9118 #include "confdefs.h" |
8994 /* Thanks to Paul Eggert for this test. */ | 9119 /* Thanks to Paul Eggert for this test. */ |
8995 #include <stdio.h> | 9120 #include <stdio.h> |
8996 #include <sys/types.h> | 9121 #include <sys/types.h> |
8997 #include <sys/stat.h> | 9122 #include <sys/stat.h> |
9082 || fstat(fileno(stdout), &st) != 0 | 9207 || fstat(fileno(stdout), &st) != 0 |
9083 ); | 9208 ); |
9084 } | 9209 } |
9085 } | 9210 } |
9086 EOF | 9211 EOF |
9087 if { (eval echo configure:9088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9212 if { (eval echo configure:9213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9088 then | 9213 then |
9089 ac_cv_func_vfork_works=yes | 9214 ac_cv_func_vfork_works=yes |
9090 else | 9215 else |
9091 conftest_rc="$?" | 9216 conftest_rc="$?" |
9092 echo "configure: failed program was:" >&5 | 9217 echo "configure: failed program was:" >&5 |
9108 | 9233 |
9109 fi | 9234 fi |
9110 | 9235 |
9111 | 9236 |
9112 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9237 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9113 echo "configure:9114: checking for working strcoll" >&5 | 9238 echo "configure:9239: checking for working strcoll" >&5 |
9114 | 9239 |
9115 cat > conftest.$ac_ext <<EOF | 9240 cat > conftest.$ac_ext <<EOF |
9116 #line 9117 "configure" | 9241 #line 9242 "configure" |
9117 #include "confdefs.h" | 9242 #include "confdefs.h" |
9118 #include <string.h> | 9243 #include <string.h> |
9119 main () | 9244 main () |
9120 { | 9245 { |
9121 exit (strcoll ("abc", "def") >= 0 || | 9246 exit (strcoll ("abc", "def") >= 0 || |
9122 strcoll ("ABC", "DEF") >= 0 || | 9247 strcoll ("ABC", "DEF") >= 0 || |
9123 strcoll ("123", "456") >= 0); | 9248 strcoll ("123", "456") >= 0); |
9124 } | 9249 } |
9125 EOF | 9250 EOF |
9126 if { (eval echo configure:9127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9251 if { (eval echo configure:9252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9127 then | 9252 then |
9128 ac_cv_func_strcoll_works=yes | 9253 ac_cv_func_strcoll_works=yes |
9129 else | 9254 else |
9130 conftest_rc="$?" | 9255 conftest_rc="$?" |
9131 echo "configure: failed program was:" >&5 | 9256 echo "configure: failed program was:" >&5 |
9149 | 9274 |
9150 | 9275 |
9151 for ac_func in getpgrp | 9276 for ac_func in getpgrp |
9152 do | 9277 do |
9153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9154 echo "configure:9155: checking for $ac_func" >&5 | 9279 echo "configure:9280: checking for $ac_func" >&5 |
9155 | 9280 |
9156 cat > conftest.$ac_ext <<EOF | 9281 cat > conftest.$ac_ext <<EOF |
9157 #line 9158 "configure" | 9282 #line 9283 "configure" |
9158 #include "confdefs.h" | 9283 #include "confdefs.h" |
9159 /* System header to define __stub macros and hopefully few prototypes, | 9284 /* System header to define __stub macros and hopefully few prototypes, |
9160 which can conflict with char $ac_func(); below. */ | 9285 which can conflict with char $ac_func(); below. */ |
9161 #include <assert.h> | 9286 #include <assert.h> |
9162 /* Override any gcc2 internal prototype to avoid an error. */ | 9287 /* Override any gcc2 internal prototype to avoid an error. */ |
9175 $ac_func(); | 9300 $ac_func(); |
9176 #endif | 9301 #endif |
9177 | 9302 |
9178 ; return 0; } | 9303 ; return 0; } |
9179 EOF | 9304 EOF |
9180 if { (eval echo configure:9181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9305 if { (eval echo configure:9306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9181 rm -rf conftest* | 9306 rm -rf conftest* |
9182 eval "ac_cv_func_$ac_func=yes" | 9307 eval "ac_cv_func_$ac_func=yes" |
9183 else | 9308 else |
9184 echo "configure: failed program was:" >&5 | 9309 echo "configure: failed program was:" >&5 |
9185 cat conftest.$ac_ext >&5 | 9310 cat conftest.$ac_ext >&5 |
9203 echo "$ac_t""no" 1>&6 | 9328 echo "$ac_t""no" 1>&6 |
9204 fi | 9329 fi |
9205 done | 9330 done |
9206 | 9331 |
9207 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9332 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9208 echo "configure:9209: checking whether getpgrp takes no argument" >&5 | 9333 echo "configure:9334: checking whether getpgrp takes no argument" >&5 |
9209 | 9334 |
9210 cat > conftest.$ac_ext <<EOF | 9335 cat > conftest.$ac_ext <<EOF |
9211 #line 9212 "configure" | 9336 #line 9337 "configure" |
9212 #include "confdefs.h" | 9337 #include "confdefs.h" |
9213 | 9338 |
9214 /* | 9339 /* |
9215 * If this system has a BSD-style getpgrp(), | 9340 * If this system has a BSD-style getpgrp(), |
9216 * which takes a pid argument, exit unsuccessfully. | 9341 * which takes a pid argument, exit unsuccessfully. |
9261 exit(s>>8); | 9386 exit(s>>8); |
9262 } | 9387 } |
9263 } | 9388 } |
9264 | 9389 |
9265 EOF | 9390 EOF |
9266 if { (eval echo configure:9267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9391 if { (eval echo configure:9392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9267 then | 9392 then |
9268 ac_cv_func_getpgrp_void=yes | 9393 ac_cv_func_getpgrp_void=yes |
9269 else | 9394 else |
9270 conftest_rc="$?" | 9395 conftest_rc="$?" |
9271 echo "configure: failed program was:" >&5 | 9396 echo "configure: failed program was:" >&5 |
9288 | 9413 |
9289 fi | 9414 fi |
9290 | 9415 |
9291 | 9416 |
9292 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9417 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9293 echo "configure:9294: checking for working mmap" >&5 | 9418 echo "configure:9419: checking for working mmap" >&5 |
9294 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9419 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9295 cat > conftest.$ac_ext <<EOF | 9420 cat > conftest.$ac_ext <<EOF |
9296 #line 9297 "configure" | 9421 #line 9422 "configure" |
9297 #include "confdefs.h" | 9422 #include "confdefs.h" |
9298 #include <stdio.h> | 9423 #include <stdio.h> |
9299 #include <unistd.h> | 9424 #include <unistd.h> |
9300 #include <fcntl.h> | 9425 #include <fcntl.h> |
9301 #include <sys/mman.h> | 9426 #include <sys/mman.h> |
9324 return 0; | 9449 return 0; |
9325 perror ("conftest: mmap failed"); | 9450 perror ("conftest: mmap failed"); |
9326 return 1; | 9451 return 1; |
9327 } | 9452 } |
9328 EOF | 9453 EOF |
9329 if { (eval echo configure:9330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9454 if { (eval echo configure:9455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9330 then | 9455 then |
9331 have_mmap=yes | 9456 have_mmap=yes |
9332 else | 9457 else |
9333 conftest_rc="$?" | 9458 conftest_rc="$?" |
9334 echo "configure: failed program was:" >&5 | 9459 echo "configure: failed program was:" >&5 |
9349 | 9474 |
9350 for ac_hdr in unistd.h | 9475 for ac_hdr in unistd.h |
9351 do | 9476 do |
9352 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9477 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9353 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9478 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9354 echo "configure:9355: checking for $ac_hdr" >&5 | 9479 echo "configure:9480: checking for $ac_hdr" >&5 |
9355 | 9480 |
9356 cat > conftest.$ac_ext <<EOF | 9481 cat > conftest.$ac_ext <<EOF |
9357 #line 9358 "configure" | 9482 #line 9483 "configure" |
9358 #include "confdefs.h" | 9483 #include "confdefs.h" |
9359 #include <$ac_hdr> | 9484 #include <$ac_hdr> |
9360 EOF | 9485 EOF |
9361 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9362 { (eval echo configure:9363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9487 { (eval echo configure:9488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9363 ac_err=`grep -v '^ *+' conftest.out` | 9488 ac_err=`grep -v '^ *+' conftest.out` |
9364 if test -z "$ac_err"; then | 9489 if test -z "$ac_err"; then |
9365 rm -rf conftest* | 9490 rm -rf conftest* |
9366 eval "ac_cv_header_$ac_safe=yes" | 9491 eval "ac_cv_header_$ac_safe=yes" |
9367 else | 9492 else |
9389 done | 9514 done |
9390 | 9515 |
9391 for ac_func in getpagesize | 9516 for ac_func in getpagesize |
9392 do | 9517 do |
9393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9518 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9394 echo "configure:9395: checking for $ac_func" >&5 | 9519 echo "configure:9520: checking for $ac_func" >&5 |
9395 | 9520 |
9396 cat > conftest.$ac_ext <<EOF | 9521 cat > conftest.$ac_ext <<EOF |
9397 #line 9398 "configure" | 9522 #line 9523 "configure" |
9398 #include "confdefs.h" | 9523 #include "confdefs.h" |
9399 /* System header to define __stub macros and hopefully few prototypes, | 9524 /* System header to define __stub macros and hopefully few prototypes, |
9400 which can conflict with char $ac_func(); below. */ | 9525 which can conflict with char $ac_func(); below. */ |
9401 #include <assert.h> | 9526 #include <assert.h> |
9402 /* Override any gcc2 internal prototype to avoid an error. */ | 9527 /* Override any gcc2 internal prototype to avoid an error. */ |
9415 $ac_func(); | 9540 $ac_func(); |
9416 #endif | 9541 #endif |
9417 | 9542 |
9418 ; return 0; } | 9543 ; return 0; } |
9419 EOF | 9544 EOF |
9420 if { (eval echo configure:9421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9545 if { (eval echo configure:9546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9421 rm -rf conftest* | 9546 rm -rf conftest* |
9422 eval "ac_cv_func_$ac_func=yes" | 9547 eval "ac_cv_func_$ac_func=yes" |
9423 else | 9548 else |
9424 echo "configure: failed program was:" >&5 | 9549 echo "configure: failed program was:" >&5 |
9425 cat conftest.$ac_ext >&5 | 9550 cat conftest.$ac_ext >&5 |
9443 echo "$ac_t""no" 1>&6 | 9568 echo "$ac_t""no" 1>&6 |
9444 fi | 9569 fi |
9445 done | 9570 done |
9446 | 9571 |
9447 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9572 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9448 echo "configure:9449: checking for working mmap" >&5 | 9573 echo "configure:9574: checking for working mmap" >&5 |
9449 | 9574 |
9450 cat > conftest.$ac_ext <<EOF | 9575 cat > conftest.$ac_ext <<EOF |
9451 #line 9452 "configure" | 9576 #line 9577 "configure" |
9452 #include "confdefs.h" | 9577 #include "confdefs.h" |
9453 | 9578 |
9454 /* Thanks to Mike Haertel and Jim Avera for this test. | 9579 /* Thanks to Mike Haertel and Jim Avera for this test. |
9455 Here is a matrix of mmap possibilities: | 9580 Here is a matrix of mmap possibilities: |
9456 mmap private not fixed | 9581 mmap private not fixed |
9586 unlink("conftestmmap"); | 9711 unlink("conftestmmap"); |
9587 exit(0); | 9712 exit(0); |
9588 } | 9713 } |
9589 | 9714 |
9590 EOF | 9715 EOF |
9591 if { (eval echo configure:9592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9716 if { (eval echo configure:9717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9592 then | 9717 then |
9593 ac_cv_func_mmap_fixed_mapped=yes | 9718 ac_cv_func_mmap_fixed_mapped=yes |
9594 else | 9719 else |
9595 conftest_rc="$?" | 9720 conftest_rc="$?" |
9596 echo "configure: failed program was:" >&5 | 9721 echo "configure: failed program was:" >&5 |
9624 } | 9749 } |
9625 | 9750 |
9626 | 9751 |
9627 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9752 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9628 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9753 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9629 echo "configure:9630: checking for termios.h" >&5 | 9754 echo "configure:9755: checking for termios.h" >&5 |
9630 | 9755 |
9631 cat > conftest.$ac_ext <<EOF | 9756 cat > conftest.$ac_ext <<EOF |
9632 #line 9633 "configure" | 9757 #line 9758 "configure" |
9633 #include "confdefs.h" | 9758 #include "confdefs.h" |
9634 #include <termios.h> | 9759 #include <termios.h> |
9635 EOF | 9760 EOF |
9636 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9637 { (eval echo configure:9638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9762 { (eval echo configure:9763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9638 ac_err=`grep -v '^ *+' conftest.out` | 9763 ac_err=`grep -v '^ *+' conftest.out` |
9639 if test -z "$ac_err"; then | 9764 if test -z "$ac_err"; then |
9640 rm -rf conftest* | 9765 rm -rf conftest* |
9641 eval "ac_cv_header_$ac_safe=yes" | 9766 eval "ac_cv_header_$ac_safe=yes" |
9642 else | 9767 else |
9675 | 9800 |
9676 else | 9801 else |
9677 echo "$ac_t""no" 1>&6 | 9802 echo "$ac_t""no" 1>&6 |
9678 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9803 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
9679 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9804 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
9680 echo "configure:9681: checking for termio.h" >&5 | 9805 echo "configure:9806: checking for termio.h" >&5 |
9681 | 9806 |
9682 cat > conftest.$ac_ext <<EOF | 9807 cat > conftest.$ac_ext <<EOF |
9683 #line 9684 "configure" | 9808 #line 9809 "configure" |
9684 #include "confdefs.h" | 9809 #include "confdefs.h" |
9685 #include <termio.h> | 9810 #include <termio.h> |
9686 EOF | 9811 EOF |
9687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9688 { (eval echo configure:9689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9813 { (eval echo configure:9814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9689 ac_err=`grep -v '^ *+' conftest.out` | 9814 ac_err=`grep -v '^ *+' conftest.out` |
9690 if test -z "$ac_err"; then | 9815 if test -z "$ac_err"; then |
9691 rm -rf conftest* | 9816 rm -rf conftest* |
9692 eval "ac_cv_header_$ac_safe=yes" | 9817 eval "ac_cv_header_$ac_safe=yes" |
9693 else | 9818 else |
9715 fi | 9840 fi |
9716 | 9841 |
9717 | 9842 |
9718 | 9843 |
9719 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9844 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
9720 echo "configure:9721: checking for socket" >&5 | 9845 echo "configure:9846: checking for socket" >&5 |
9721 | 9846 |
9722 cat > conftest.$ac_ext <<EOF | 9847 cat > conftest.$ac_ext <<EOF |
9723 #line 9724 "configure" | 9848 #line 9849 "configure" |
9724 #include "confdefs.h" | 9849 #include "confdefs.h" |
9725 /* System header to define __stub macros and hopefully few prototypes, | 9850 /* System header to define __stub macros and hopefully few prototypes, |
9726 which can conflict with char socket(); below. */ | 9851 which can conflict with char socket(); below. */ |
9727 #include <assert.h> | 9852 #include <assert.h> |
9728 /* Override any gcc2 internal prototype to avoid an error. */ | 9853 /* Override any gcc2 internal prototype to avoid an error. */ |
9741 socket(); | 9866 socket(); |
9742 #endif | 9867 #endif |
9743 | 9868 |
9744 ; return 0; } | 9869 ; return 0; } |
9745 EOF | 9870 EOF |
9746 if { (eval echo configure:9747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9871 if { (eval echo configure:9872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9747 rm -rf conftest* | 9872 rm -rf conftest* |
9748 eval "ac_cv_func_socket=yes" | 9873 eval "ac_cv_func_socket=yes" |
9749 else | 9874 else |
9750 echo "configure: failed program was:" >&5 | 9875 echo "configure: failed program was:" >&5 |
9751 cat conftest.$ac_ext >&5 | 9876 cat conftest.$ac_ext >&5 |
9756 | 9881 |
9757 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 9882 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
9758 echo "$ac_t""yes" 1>&6 | 9883 echo "$ac_t""yes" 1>&6 |
9759 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 9884 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
9760 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 9885 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
9761 echo "configure:9762: checking for netinet/in.h" >&5 | 9886 echo "configure:9887: checking for netinet/in.h" >&5 |
9762 | 9887 |
9763 cat > conftest.$ac_ext <<EOF | 9888 cat > conftest.$ac_ext <<EOF |
9764 #line 9765 "configure" | 9889 #line 9890 "configure" |
9765 #include "confdefs.h" | 9890 #include "confdefs.h" |
9766 #include <netinet/in.h> | 9891 #include <netinet/in.h> |
9767 EOF | 9892 EOF |
9768 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9769 { (eval echo configure:9770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9894 { (eval echo configure:9895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9770 ac_err=`grep -v '^ *+' conftest.out` | 9895 ac_err=`grep -v '^ *+' conftest.out` |
9771 if test -z "$ac_err"; then | 9896 if test -z "$ac_err"; then |
9772 rm -rf conftest* | 9897 rm -rf conftest* |
9773 eval "ac_cv_header_$ac_safe=yes" | 9898 eval "ac_cv_header_$ac_safe=yes" |
9774 else | 9899 else |
9781 rm -f conftest* | 9906 rm -f conftest* |
9782 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9907 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9783 echo "$ac_t""yes" 1>&6 | 9908 echo "$ac_t""yes" 1>&6 |
9784 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 9909 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
9785 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 9910 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
9786 echo "configure:9787: checking for arpa/inet.h" >&5 | 9911 echo "configure:9912: checking for arpa/inet.h" >&5 |
9787 | 9912 |
9788 cat > conftest.$ac_ext <<EOF | 9913 cat > conftest.$ac_ext <<EOF |
9789 #line 9790 "configure" | 9914 #line 9915 "configure" |
9790 #include "confdefs.h" | 9915 #include "confdefs.h" |
9791 #include <arpa/inet.h> | 9916 #include <arpa/inet.h> |
9792 EOF | 9917 EOF |
9793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9918 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9794 { (eval echo configure:9795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9919 { (eval echo configure:9920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9795 ac_err=`grep -v '^ *+' conftest.out` | 9920 ac_err=`grep -v '^ *+' conftest.out` |
9796 if test -z "$ac_err"; then | 9921 if test -z "$ac_err"; then |
9797 rm -rf conftest* | 9922 rm -rf conftest* |
9798 eval "ac_cv_header_$ac_safe=yes" | 9923 eval "ac_cv_header_$ac_safe=yes" |
9799 else | 9924 else |
9814 #define HAVE_SOCKETS 1 | 9939 #define HAVE_SOCKETS 1 |
9815 EOF | 9940 EOF |
9816 } | 9941 } |
9817 | 9942 |
9818 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 9943 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
9819 echo "configure:9820: checking "for sun_len member in struct sockaddr_un"" >&5 | 9944 echo "configure:9945: checking "for sun_len member in struct sockaddr_un"" >&5 |
9820 cat > conftest.$ac_ext <<EOF | 9945 cat > conftest.$ac_ext <<EOF |
9821 #line 9822 "configure" | 9946 #line 9947 "configure" |
9822 #include "confdefs.h" | 9947 #include "confdefs.h" |
9823 | 9948 |
9824 #include <sys/types.h> | 9949 #include <sys/types.h> |
9825 #include <sys/socket.h> | 9950 #include <sys/socket.h> |
9826 #include <sys/un.h> | 9951 #include <sys/un.h> |
9827 | 9952 |
9828 int main() { | 9953 int main() { |
9829 static struct sockaddr_un x; x.sun_len = 1; | 9954 static struct sockaddr_un x; x.sun_len = 1; |
9830 ; return 0; } | 9955 ; return 0; } |
9831 EOF | 9956 EOF |
9832 if { (eval echo configure:9833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9957 if { (eval echo configure:9958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9833 rm -rf conftest* | 9958 rm -rf conftest* |
9834 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9959 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9835 Defining HAVE_SOCKADDR_SUN_LEN | 9960 Defining HAVE_SOCKADDR_SUN_LEN |
9836 EOF | 9961 EOF |
9837 cat >> confdefs.h <<\EOF | 9962 cat >> confdefs.h <<\EOF |
9845 rm -rf conftest* | 9970 rm -rf conftest* |
9846 echo "$ac_t""no" 1>&6 | 9971 echo "$ac_t""no" 1>&6 |
9847 fi | 9972 fi |
9848 rm -f conftest* | 9973 rm -f conftest* |
9849 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 9974 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
9850 echo "configure:9851: checking "for ip_mreq struct in netinet/in.h"" >&5 | 9975 echo "configure:9976: checking "for ip_mreq struct in netinet/in.h"" >&5 |
9851 cat > conftest.$ac_ext <<EOF | 9976 cat > conftest.$ac_ext <<EOF |
9852 #line 9853 "configure" | 9977 #line 9978 "configure" |
9853 #include "confdefs.h" | 9978 #include "confdefs.h" |
9854 | 9979 |
9855 #include <sys/types.h> | 9980 #include <sys/types.h> |
9856 #include <netinet/in.h> | 9981 #include <netinet/in.h> |
9857 | 9982 |
9858 int main() { | 9983 int main() { |
9859 static struct ip_mreq x; | 9984 static struct ip_mreq x; |
9860 ; return 0; } | 9985 ; return 0; } |
9861 EOF | 9986 EOF |
9862 if { (eval echo configure:9863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9987 if { (eval echo configure:9988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9863 rm -rf conftest* | 9988 rm -rf conftest* |
9864 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9989 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9865 Defining HAVE_MULTICAST | 9990 Defining HAVE_MULTICAST |
9866 EOF | 9991 EOF |
9867 cat >> confdefs.h <<\EOF | 9992 cat >> confdefs.h <<\EOF |
9888 echo "$ac_t""no" 1>&6 | 10013 echo "$ac_t""no" 1>&6 |
9889 fi | 10014 fi |
9890 | 10015 |
9891 | 10016 |
9892 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10017 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
9893 echo "configure:9894: checking for msgget" >&5 | 10018 echo "configure:10019: checking for msgget" >&5 |
9894 | 10019 |
9895 cat > conftest.$ac_ext <<EOF | 10020 cat > conftest.$ac_ext <<EOF |
9896 #line 9897 "configure" | 10021 #line 10022 "configure" |
9897 #include "confdefs.h" | 10022 #include "confdefs.h" |
9898 /* System header to define __stub macros and hopefully few prototypes, | 10023 /* System header to define __stub macros and hopefully few prototypes, |
9899 which can conflict with char msgget(); below. */ | 10024 which can conflict with char msgget(); below. */ |
9900 #include <assert.h> | 10025 #include <assert.h> |
9901 /* Override any gcc2 internal prototype to avoid an error. */ | 10026 /* Override any gcc2 internal prototype to avoid an error. */ |
9914 msgget(); | 10039 msgget(); |
9915 #endif | 10040 #endif |
9916 | 10041 |
9917 ; return 0; } | 10042 ; return 0; } |
9918 EOF | 10043 EOF |
9919 if { (eval echo configure:9920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10044 if { (eval echo configure:10045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9920 rm -rf conftest* | 10045 rm -rf conftest* |
9921 eval "ac_cv_func_msgget=yes" | 10046 eval "ac_cv_func_msgget=yes" |
9922 else | 10047 else |
9923 echo "configure: failed program was:" >&5 | 10048 echo "configure: failed program was:" >&5 |
9924 cat conftest.$ac_ext >&5 | 10049 cat conftest.$ac_ext >&5 |
9929 | 10054 |
9930 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10055 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
9931 echo "$ac_t""yes" 1>&6 | 10056 echo "$ac_t""yes" 1>&6 |
9932 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10057 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
9933 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10058 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
9934 echo "configure:9935: checking for sys/ipc.h" >&5 | 10059 echo "configure:10060: checking for sys/ipc.h" >&5 |
9935 | 10060 |
9936 cat > conftest.$ac_ext <<EOF | 10061 cat > conftest.$ac_ext <<EOF |
9937 #line 9938 "configure" | 10062 #line 10063 "configure" |
9938 #include "confdefs.h" | 10063 #include "confdefs.h" |
9939 #include <sys/ipc.h> | 10064 #include <sys/ipc.h> |
9940 EOF | 10065 EOF |
9941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10066 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9942 { (eval echo configure:9943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10067 { (eval echo configure:10068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9943 ac_err=`grep -v '^ *+' conftest.out` | 10068 ac_err=`grep -v '^ *+' conftest.out` |
9944 if test -z "$ac_err"; then | 10069 if test -z "$ac_err"; then |
9945 rm -rf conftest* | 10070 rm -rf conftest* |
9946 eval "ac_cv_header_$ac_safe=yes" | 10071 eval "ac_cv_header_$ac_safe=yes" |
9947 else | 10072 else |
9954 rm -f conftest* | 10079 rm -f conftest* |
9955 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10080 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9956 echo "$ac_t""yes" 1>&6 | 10081 echo "$ac_t""yes" 1>&6 |
9957 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10082 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
9958 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10083 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
9959 echo "configure:9960: checking for sys/msg.h" >&5 | 10084 echo "configure:10085: checking for sys/msg.h" >&5 |
9960 | 10085 |
9961 cat > conftest.$ac_ext <<EOF | 10086 cat > conftest.$ac_ext <<EOF |
9962 #line 9963 "configure" | 10087 #line 10088 "configure" |
9963 #include "confdefs.h" | 10088 #include "confdefs.h" |
9964 #include <sys/msg.h> | 10089 #include <sys/msg.h> |
9965 EOF | 10090 EOF |
9966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10091 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9967 { (eval echo configure:9968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10092 { (eval echo configure:10093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9968 ac_err=`grep -v '^ *+' conftest.out` | 10093 ac_err=`grep -v '^ *+' conftest.out` |
9969 if test -z "$ac_err"; then | 10094 if test -z "$ac_err"; then |
9970 rm -rf conftest* | 10095 rm -rf conftest* |
9971 eval "ac_cv_header_$ac_safe=yes" | 10096 eval "ac_cv_header_$ac_safe=yes" |
9972 else | 10097 else |
10000 fi | 10125 fi |
10001 | 10126 |
10002 | 10127 |
10003 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10128 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
10004 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10129 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
10005 echo "configure:10006: checking for dirent.h" >&5 | 10130 echo "configure:10131: checking for dirent.h" >&5 |
10006 | 10131 |
10007 cat > conftest.$ac_ext <<EOF | 10132 cat > conftest.$ac_ext <<EOF |
10008 #line 10009 "configure" | 10133 #line 10134 "configure" |
10009 #include "confdefs.h" | 10134 #include "confdefs.h" |
10010 #include <dirent.h> | 10135 #include <dirent.h> |
10011 EOF | 10136 EOF |
10012 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10013 { (eval echo configure:10014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10138 { (eval echo configure:10139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10014 ac_err=`grep -v '^ *+' conftest.out` | 10139 ac_err=`grep -v '^ *+' conftest.out` |
10015 if test -z "$ac_err"; then | 10140 if test -z "$ac_err"; then |
10016 rm -rf conftest* | 10141 rm -rf conftest* |
10017 eval "ac_cv_header_$ac_safe=yes" | 10142 eval "ac_cv_header_$ac_safe=yes" |
10018 else | 10143 else |
10035 | 10160 |
10036 else | 10161 else |
10037 echo "$ac_t""no" 1>&6 | 10162 echo "$ac_t""no" 1>&6 |
10038 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10163 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
10039 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10164 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
10040 echo "configure:10041: checking for sys/dir.h" >&5 | 10165 echo "configure:10166: checking for sys/dir.h" >&5 |
10041 | 10166 |
10042 cat > conftest.$ac_ext <<EOF | 10167 cat > conftest.$ac_ext <<EOF |
10043 #line 10044 "configure" | 10168 #line 10169 "configure" |
10044 #include "confdefs.h" | 10169 #include "confdefs.h" |
10045 #include <sys/dir.h> | 10170 #include <sys/dir.h> |
10046 EOF | 10171 EOF |
10047 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10048 { (eval echo configure:10049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10173 { (eval echo configure:10174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10049 ac_err=`grep -v '^ *+' conftest.out` | 10174 ac_err=`grep -v '^ *+' conftest.out` |
10050 if test -z "$ac_err"; then | 10175 if test -z "$ac_err"; then |
10051 rm -rf conftest* | 10176 rm -rf conftest* |
10052 eval "ac_cv_header_$ac_safe=yes" | 10177 eval "ac_cv_header_$ac_safe=yes" |
10053 else | 10178 else |
10076 fi | 10201 fi |
10077 | 10202 |
10078 | 10203 |
10079 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10204 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
10080 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10205 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
10081 echo "configure:10082: checking for nlist.h" >&5 | 10206 echo "configure:10207: checking for nlist.h" >&5 |
10082 | 10207 |
10083 cat > conftest.$ac_ext <<EOF | 10208 cat > conftest.$ac_ext <<EOF |
10084 #line 10085 "configure" | 10209 #line 10210 "configure" |
10085 #include "confdefs.h" | 10210 #include "confdefs.h" |
10086 #include <nlist.h> | 10211 #include <nlist.h> |
10087 EOF | 10212 EOF |
10088 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10089 { (eval echo configure:10090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10214 { (eval echo configure:10215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10090 ac_err=`grep -v '^ *+' conftest.out` | 10215 ac_err=`grep -v '^ *+' conftest.out` |
10091 if test -z "$ac_err"; then | 10216 if test -z "$ac_err"; then |
10092 rm -rf conftest* | 10217 rm -rf conftest* |
10093 eval "ac_cv_header_$ac_safe=yes" | 10218 eval "ac_cv_header_$ac_safe=yes" |
10094 else | 10219 else |
10114 fi | 10239 fi |
10115 | 10240 |
10116 | 10241 |
10117 | 10242 |
10118 echo "checking "for sound support"" 1>&6 | 10243 echo "checking "for sound support"" 1>&6 |
10119 echo "configure:10120: checking "for sound support"" >&5 | 10244 echo "configure:10245: checking "for sound support"" >&5 |
10120 case "$with_sound" in | 10245 case "$with_sound" in |
10121 native | both ) with_native_sound=yes;; | 10246 native | both ) with_native_sound=yes;; |
10122 nas | no ) with_native_sound=no;; | 10247 nas | no ) with_native_sound=no;; |
10123 esac | 10248 esac |
10124 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10249 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
10125 | 10250 |
10126 if test "$with_native_sound" != "no"; then | 10251 if test "$with_native_sound" != "no"; then |
10127 if test -n "$native_sound_lib"; then | 10252 if test -n "$native_sound_lib"; then |
10128 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10253 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
10129 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10254 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
10130 echo "configure:10131: checking for multimedia/audio_device.h" >&5 | 10255 echo "configure:10256: checking for multimedia/audio_device.h" >&5 |
10131 | 10256 |
10132 cat > conftest.$ac_ext <<EOF | 10257 cat > conftest.$ac_ext <<EOF |
10133 #line 10134 "configure" | 10258 #line 10259 "configure" |
10134 #include "confdefs.h" | 10259 #include "confdefs.h" |
10135 #include <multimedia/audio_device.h> | 10260 #include <multimedia/audio_device.h> |
10136 EOF | 10261 EOF |
10137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10138 { (eval echo configure:10139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10263 { (eval echo configure:10264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10139 ac_err=`grep -v '^ *+' conftest.out` | 10264 ac_err=`grep -v '^ *+' conftest.out` |
10140 if test -z "$ac_err"; then | 10265 if test -z "$ac_err"; then |
10141 rm -rf conftest* | 10266 rm -rf conftest* |
10142 eval "ac_cv_header_$ac_safe=yes" | 10267 eval "ac_cv_header_$ac_safe=yes" |
10143 else | 10268 else |
10181 case "$canonical" in | 10306 case "$canonical" in |
10182 *-sgi-* ) | 10307 *-sgi-* ) |
10183 if test -z "$native_sound_lib"; then | 10308 if test -z "$native_sound_lib"; then |
10184 | 10309 |
10185 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10310 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
10186 echo "configure:10187: checking for ALopenport in -laudio" >&5 | 10311 echo "configure:10312: checking for ALopenport in -laudio" >&5 |
10187 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10312 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
10188 | 10313 |
10189 xe_check_libs=" -laudio " | 10314 xe_check_libs=" -laudio " |
10190 cat > conftest.$ac_ext <<EOF | 10315 cat > conftest.$ac_ext <<EOF |
10191 #line 10192 "configure" | 10316 #line 10317 "configure" |
10192 #include "confdefs.h" | 10317 #include "confdefs.h" |
10193 /* Override any gcc2 internal prototype to avoid an error. */ | 10318 /* Override any gcc2 internal prototype to avoid an error. */ |
10194 /* We use char because int might match the return type of a gcc2 | 10319 /* We use char because int might match the return type of a gcc2 |
10195 builtin and then its argument prototype would still apply. */ | 10320 builtin and then its argument prototype would still apply. */ |
10196 char ALopenport(); | 10321 char ALopenport(); |
10197 | 10322 |
10198 int main() { | 10323 int main() { |
10199 ALopenport() | 10324 ALopenport() |
10200 ; return 0; } | 10325 ; return 0; } |
10201 EOF | 10326 EOF |
10202 if { (eval echo configure:10203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10327 if { (eval echo configure:10328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10203 rm -rf conftest* | 10328 rm -rf conftest* |
10204 eval "ac_cv_lib_$ac_lib_var=yes" | 10329 eval "ac_cv_lib_$ac_lib_var=yes" |
10205 else | 10330 else |
10206 echo "configure: failed program was:" >&5 | 10331 echo "configure: failed program was:" >&5 |
10207 cat conftest.$ac_ext >&5 | 10332 cat conftest.$ac_ext >&5 |
10228 fi ;; | 10353 fi ;; |
10229 hppa*-hp-hpux* ) | 10354 hppa*-hp-hpux* ) |
10230 if test -z "$native_sound_lib"; then | 10355 if test -z "$native_sound_lib"; then |
10231 | 10356 |
10232 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10357 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
10233 echo "configure:10234: checking for AOpenAudio in -lAlib" >&5 | 10358 echo "configure:10359: checking for AOpenAudio in -lAlib" >&5 |
10234 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10359 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
10235 | 10360 |
10236 xe_check_libs=" -lAlib " | 10361 xe_check_libs=" -lAlib " |
10237 cat > conftest.$ac_ext <<EOF | 10362 cat > conftest.$ac_ext <<EOF |
10238 #line 10239 "configure" | 10363 #line 10364 "configure" |
10239 #include "confdefs.h" | 10364 #include "confdefs.h" |
10240 /* Override any gcc2 internal prototype to avoid an error. */ | 10365 /* Override any gcc2 internal prototype to avoid an error. */ |
10241 /* We use char because int might match the return type of a gcc2 | 10366 /* We use char because int might match the return type of a gcc2 |
10242 builtin and then its argument prototype would still apply. */ | 10367 builtin and then its argument prototype would still apply. */ |
10243 char AOpenAudio(); | 10368 char AOpenAudio(); |
10244 | 10369 |
10245 int main() { | 10370 int main() { |
10246 AOpenAudio() | 10371 AOpenAudio() |
10247 ; return 0; } | 10372 ; return 0; } |
10248 EOF | 10373 EOF |
10249 if { (eval echo configure:10250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10374 if { (eval echo configure:10375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10250 rm -rf conftest* | 10375 rm -rf conftest* |
10251 eval "ac_cv_lib_$ac_lib_var=yes" | 10376 eval "ac_cv_lib_$ac_lib_var=yes" |
10252 else | 10377 else |
10253 echo "configure: failed program was:" >&5 | 10378 echo "configure: failed program was:" >&5 |
10254 cat conftest.$ac_ext >&5 | 10379 cat conftest.$ac_ext >&5 |
10282 | 10407 |
10283 if test -z "$sound_found"; then | 10408 if test -z "$sound_found"; then |
10284 for dir in "machine" "sys" "linux"; do | 10409 for dir in "machine" "sys" "linux"; do |
10285 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10410 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10286 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10411 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10287 echo "configure:10288: checking for ${dir}/soundcard.h" >&5 | 10412 echo "configure:10413: checking for ${dir}/soundcard.h" >&5 |
10288 | 10413 |
10289 cat > conftest.$ac_ext <<EOF | 10414 cat > conftest.$ac_ext <<EOF |
10290 #line 10291 "configure" | 10415 #line 10416 "configure" |
10291 #include "confdefs.h" | 10416 #include "confdefs.h" |
10292 #include <${dir}/soundcard.h> | 10417 #include <${dir}/soundcard.h> |
10293 EOF | 10418 EOF |
10294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10295 { (eval echo configure:10296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10420 { (eval echo configure:10421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10296 ac_err=`grep -v '^ *+' conftest.out` | 10421 ac_err=`grep -v '^ *+' conftest.out` |
10297 if test -z "$ac_err"; then | 10422 if test -z "$ac_err"; then |
10298 rm -rf conftest* | 10423 rm -rf conftest* |
10299 eval "ac_cv_header_$ac_safe=yes" | 10424 eval "ac_cv_header_$ac_safe=yes" |
10300 else | 10425 else |
10360 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10485 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10361 echo " xemacs will be linked with \"nas.o\"" | 10486 echo " xemacs will be linked with \"nas.o\"" |
10362 fi | 10487 fi |
10363 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10488 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10364 cat > conftest.$ac_ext <<EOF | 10489 cat > conftest.$ac_ext <<EOF |
10365 #line 10366 "configure" | 10490 #line 10491 "configure" |
10366 #include "confdefs.h" | 10491 #include "confdefs.h" |
10367 #include <audio/Xtutil.h> | 10492 #include <audio/Xtutil.h> |
10368 EOF | 10493 EOF |
10369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10370 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10495 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10387 | 10512 |
10388 test -z "$with_tty" && with_tty=yes | 10513 test -z "$with_tty" && with_tty=yes |
10389 | 10514 |
10390 if test "$with_tty" = "yes" ; then | 10515 if test "$with_tty" = "yes" ; then |
10391 echo "checking for TTY-related features" 1>&6 | 10516 echo "checking for TTY-related features" 1>&6 |
10392 echo "configure:10393: checking for TTY-related features" >&5 | 10517 echo "configure:10518: checking for TTY-related features" >&5 |
10393 { test "$extra_verbose" = "yes" && cat << \EOF | 10518 { test "$extra_verbose" = "yes" && cat << \EOF |
10394 Defining HAVE_TTY | 10519 Defining HAVE_TTY |
10395 EOF | 10520 EOF |
10396 cat >> confdefs.h <<\EOF | 10521 cat >> confdefs.h <<\EOF |
10397 #define HAVE_TTY 1 | 10522 #define HAVE_TTY 1 |
10403 fi | 10528 fi |
10404 | 10529 |
10405 if test -z "$with_ncurses"; then | 10530 if test -z "$with_ncurses"; then |
10406 | 10531 |
10407 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10532 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10408 echo "configure:10409: checking for tgetent in -lncurses" >&5 | 10533 echo "configure:10534: checking for tgetent in -lncurses" >&5 |
10409 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10534 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10410 | 10535 |
10411 xe_check_libs=" -lncurses " | 10536 xe_check_libs=" -lncurses " |
10412 cat > conftest.$ac_ext <<EOF | 10537 cat > conftest.$ac_ext <<EOF |
10413 #line 10414 "configure" | 10538 #line 10539 "configure" |
10414 #include "confdefs.h" | 10539 #include "confdefs.h" |
10415 /* Override any gcc2 internal prototype to avoid an error. */ | 10540 /* Override any gcc2 internal prototype to avoid an error. */ |
10416 /* We use char because int might match the return type of a gcc2 | 10541 /* We use char because int might match the return type of a gcc2 |
10417 builtin and then its argument prototype would still apply. */ | 10542 builtin and then its argument prototype would still apply. */ |
10418 char tgetent(); | 10543 char tgetent(); |
10419 | 10544 |
10420 int main() { | 10545 int main() { |
10421 tgetent() | 10546 tgetent() |
10422 ; return 0; } | 10547 ; return 0; } |
10423 EOF | 10548 EOF |
10424 if { (eval echo configure:10425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10549 if { (eval echo configure:10550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10425 rm -rf conftest* | 10550 rm -rf conftest* |
10426 eval "ac_cv_lib_$ac_lib_var=yes" | 10551 eval "ac_cv_lib_$ac_lib_var=yes" |
10427 else | 10552 else |
10428 echo "configure: failed program was:" >&5 | 10553 echo "configure: failed program was:" >&5 |
10429 cat conftest.$ac_ext >&5 | 10554 cat conftest.$ac_ext >&5 |
10452 EOF | 10577 EOF |
10453 } | 10578 } |
10454 | 10579 |
10455 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10580 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10456 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10581 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10457 echo "configure:10458: checking for ncurses/curses.h" >&5 | 10582 echo "configure:10583: checking for ncurses/curses.h" >&5 |
10458 | 10583 |
10459 cat > conftest.$ac_ext <<EOF | 10584 cat > conftest.$ac_ext <<EOF |
10460 #line 10461 "configure" | 10585 #line 10586 "configure" |
10461 #include "confdefs.h" | 10586 #include "confdefs.h" |
10462 #include <ncurses/curses.h> | 10587 #include <ncurses/curses.h> |
10463 EOF | 10588 EOF |
10464 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10589 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10465 { (eval echo configure:10466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10590 { (eval echo configure:10591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10466 ac_err=`grep -v '^ *+' conftest.out` | 10591 ac_err=`grep -v '^ *+' conftest.out` |
10467 if test -z "$ac_err"; then | 10592 if test -z "$ac_err"; then |
10468 rm -rf conftest* | 10593 rm -rf conftest* |
10469 eval "ac_cv_header_$ac_safe=yes" | 10594 eval "ac_cv_header_$ac_safe=yes" |
10470 else | 10595 else |
10482 echo "$ac_t""no" 1>&6 | 10607 echo "$ac_t""no" 1>&6 |
10483 fi | 10608 fi |
10484 | 10609 |
10485 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10610 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10486 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10611 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10487 echo "configure:10488: checking for ncurses/term.h" >&5 | 10612 echo "configure:10613: checking for ncurses/term.h" >&5 |
10488 | 10613 |
10489 cat > conftest.$ac_ext <<EOF | 10614 cat > conftest.$ac_ext <<EOF |
10490 #line 10491 "configure" | 10615 #line 10616 "configure" |
10491 #include "confdefs.h" | 10616 #include "confdefs.h" |
10492 #include <ncurses/term.h> | 10617 #include <ncurses/term.h> |
10493 EOF | 10618 EOF |
10494 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10619 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10495 { (eval echo configure:10496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10620 { (eval echo configure:10621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10496 ac_err=`grep -v '^ *+' conftest.out` | 10621 ac_err=`grep -v '^ *+' conftest.out` |
10497 if test -z "$ac_err"; then | 10622 if test -z "$ac_err"; then |
10498 rm -rf conftest* | 10623 rm -rf conftest* |
10499 eval "ac_cv_header_$ac_safe=yes" | 10624 eval "ac_cv_header_$ac_safe=yes" |
10500 else | 10625 else |
10520 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10645 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10521 save_c_switch_site="$c_switch_site" | 10646 save_c_switch_site="$c_switch_site" |
10522 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10647 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10523 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10648 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10524 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10649 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10525 echo "configure:10526: checking for ncurses/curses.h" >&5 | 10650 echo "configure:10651: checking for ncurses/curses.h" >&5 |
10526 | 10651 |
10527 cat > conftest.$ac_ext <<EOF | 10652 cat > conftest.$ac_ext <<EOF |
10528 #line 10529 "configure" | 10653 #line 10654 "configure" |
10529 #include "confdefs.h" | 10654 #include "confdefs.h" |
10530 #include <ncurses/curses.h> | 10655 #include <ncurses/curses.h> |
10531 EOF | 10656 EOF |
10532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10533 { (eval echo configure:10534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10658 { (eval echo configure:10659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10534 ac_err=`grep -v '^ *+' conftest.out` | 10659 ac_err=`grep -v '^ *+' conftest.out` |
10535 if test -z "$ac_err"; then | 10660 if test -z "$ac_err"; then |
10536 rm -rf conftest* | 10661 rm -rf conftest* |
10537 eval "ac_cv_header_$ac_safe=yes" | 10662 eval "ac_cv_header_$ac_safe=yes" |
10538 else | 10663 else |
10563 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10688 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10564 else | 10689 else |
10565 for lib in curses termlib termcap; do | 10690 for lib in curses termlib termcap; do |
10566 | 10691 |
10567 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10692 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10568 echo "configure:10569: checking for tgetent in -l$lib" >&5 | 10693 echo "configure:10694: checking for tgetent in -l$lib" >&5 |
10569 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10694 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10570 | 10695 |
10571 xe_check_libs=" -l$lib " | 10696 xe_check_libs=" -l$lib " |
10572 cat > conftest.$ac_ext <<EOF | 10697 cat > conftest.$ac_ext <<EOF |
10573 #line 10574 "configure" | 10698 #line 10699 "configure" |
10574 #include "confdefs.h" | 10699 #include "confdefs.h" |
10575 /* Override any gcc2 internal prototype to avoid an error. */ | 10700 /* Override any gcc2 internal prototype to avoid an error. */ |
10576 /* We use char because int might match the return type of a gcc2 | 10701 /* We use char because int might match the return type of a gcc2 |
10577 builtin and then its argument prototype would still apply. */ | 10702 builtin and then its argument prototype would still apply. */ |
10578 char tgetent(); | 10703 char tgetent(); |
10579 | 10704 |
10580 int main() { | 10705 int main() { |
10581 tgetent() | 10706 tgetent() |
10582 ; return 0; } | 10707 ; return 0; } |
10583 EOF | 10708 EOF |
10584 if { (eval echo configure:10585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10709 if { (eval echo configure:10710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10585 rm -rf conftest* | 10710 rm -rf conftest* |
10586 eval "ac_cv_lib_$ac_lib_var=yes" | 10711 eval "ac_cv_lib_$ac_lib_var=yes" |
10587 else | 10712 else |
10588 echo "configure: failed program was:" >&5 | 10713 echo "configure: failed program was:" >&5 |
10589 cat conftest.$ac_ext >&5 | 10714 cat conftest.$ac_ext >&5 |
10610 if test -n "$libs_termcap"; then | 10735 if test -n "$libs_termcap"; then |
10611 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10736 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10612 else | 10737 else |
10613 | 10738 |
10614 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10739 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10615 echo "configure:10616: checking for tgetent in -lcurses" >&5 | 10740 echo "configure:10741: checking for tgetent in -lcurses" >&5 |
10616 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10741 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10617 | 10742 |
10618 xe_check_libs=" -lcurses " | 10743 xe_check_libs=" -lcurses " |
10619 cat > conftest.$ac_ext <<EOF | 10744 cat > conftest.$ac_ext <<EOF |
10620 #line 10621 "configure" | 10745 #line 10746 "configure" |
10621 #include "confdefs.h" | 10746 #include "confdefs.h" |
10622 /* Override any gcc2 internal prototype to avoid an error. */ | 10747 /* Override any gcc2 internal prototype to avoid an error. */ |
10623 /* We use char because int might match the return type of a gcc2 | 10748 /* We use char because int might match the return type of a gcc2 |
10624 builtin and then its argument prototype would still apply. */ | 10749 builtin and then its argument prototype would still apply. */ |
10625 char tgetent(); | 10750 char tgetent(); |
10626 | 10751 |
10627 int main() { | 10752 int main() { |
10628 tgetent() | 10753 tgetent() |
10629 ; return 0; } | 10754 ; return 0; } |
10630 EOF | 10755 EOF |
10631 if { (eval echo configure:10632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10756 if { (eval echo configure:10757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10632 rm -rf conftest* | 10757 rm -rf conftest* |
10633 eval "ac_cv_lib_$ac_lib_var=yes" | 10758 eval "ac_cv_lib_$ac_lib_var=yes" |
10634 else | 10759 else |
10635 echo "configure: failed program was:" >&5 | 10760 echo "configure: failed program was:" >&5 |
10636 cat conftest.$ac_ext >&5 | 10761 cat conftest.$ac_ext >&5 |
10644 echo "$ac_t""yes" 1>&6 | 10769 echo "$ac_t""yes" 1>&6 |
10645 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10770 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
10646 else | 10771 else |
10647 echo "$ac_t""no" 1>&6 | 10772 echo "$ac_t""no" 1>&6 |
10648 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10773 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
10649 echo "configure:10650: checking for tgetent in -ltermcap" >&5 | 10774 echo "configure:10775: checking for tgetent in -ltermcap" >&5 |
10650 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10775 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
10651 | 10776 |
10652 xe_check_libs=" -ltermcap " | 10777 xe_check_libs=" -ltermcap " |
10653 cat > conftest.$ac_ext <<EOF | 10778 cat > conftest.$ac_ext <<EOF |
10654 #line 10655 "configure" | 10779 #line 10780 "configure" |
10655 #include "confdefs.h" | 10780 #include "confdefs.h" |
10656 /* Override any gcc2 internal prototype to avoid an error. */ | 10781 /* Override any gcc2 internal prototype to avoid an error. */ |
10657 /* We use char because int might match the return type of a gcc2 | 10782 /* We use char because int might match the return type of a gcc2 |
10658 builtin and then its argument prototype would still apply. */ | 10783 builtin and then its argument prototype would still apply. */ |
10659 char tgetent(); | 10784 char tgetent(); |
10660 | 10785 |
10661 int main() { | 10786 int main() { |
10662 tgetent() | 10787 tgetent() |
10663 ; return 0; } | 10788 ; return 0; } |
10664 EOF | 10789 EOF |
10665 if { (eval echo configure:10666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10790 if { (eval echo configure:10791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10666 rm -rf conftest* | 10791 rm -rf conftest* |
10667 eval "ac_cv_lib_$ac_lib_var=yes" | 10792 eval "ac_cv_lib_$ac_lib_var=yes" |
10668 else | 10793 else |
10669 echo "configure: failed program was:" >&5 | 10794 echo "configure: failed program was:" >&5 |
10670 cat conftest.$ac_ext >&5 | 10795 cat conftest.$ac_ext >&5 |
10708 } | 10833 } |
10709 | 10834 |
10710 | 10835 |
10711 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 10836 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
10712 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 10837 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
10713 echo "configure:10714: checking for gpm.h" >&5 | 10838 echo "configure:10839: checking for gpm.h" >&5 |
10714 | 10839 |
10715 cat > conftest.$ac_ext <<EOF | 10840 cat > conftest.$ac_ext <<EOF |
10716 #line 10717 "configure" | 10841 #line 10842 "configure" |
10717 #include "confdefs.h" | 10842 #include "confdefs.h" |
10718 #include <gpm.h> | 10843 #include <gpm.h> |
10719 EOF | 10844 EOF |
10720 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10721 { (eval echo configure:10722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10846 { (eval echo configure:10847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10722 ac_err=`grep -v '^ *+' conftest.out` | 10847 ac_err=`grep -v '^ *+' conftest.out` |
10723 if test -z "$ac_err"; then | 10848 if test -z "$ac_err"; then |
10724 rm -rf conftest* | 10849 rm -rf conftest* |
10725 eval "ac_cv_header_$ac_safe=yes" | 10850 eval "ac_cv_header_$ac_safe=yes" |
10726 else | 10851 else |
10739 with_gpm=no | 10864 with_gpm=no |
10740 fi | 10865 fi |
10741 } | 10866 } |
10742 test -z "$with_gpm" && { | 10867 test -z "$with_gpm" && { |
10743 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 10868 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
10744 echo "configure:10745: checking for Gpm_Open in -lgpm" >&5 | 10869 echo "configure:10870: checking for Gpm_Open in -lgpm" >&5 |
10745 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 10870 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
10746 | 10871 |
10747 xe_check_libs=" -lgpm " | 10872 xe_check_libs=" -lgpm " |
10748 cat > conftest.$ac_ext <<EOF | 10873 cat > conftest.$ac_ext <<EOF |
10749 #line 10750 "configure" | 10874 #line 10875 "configure" |
10750 #include "confdefs.h" | 10875 #include "confdefs.h" |
10751 /* Override any gcc2 internal prototype to avoid an error. */ | 10876 /* Override any gcc2 internal prototype to avoid an error. */ |
10752 /* We use char because int might match the return type of a gcc2 | 10877 /* We use char because int might match the return type of a gcc2 |
10753 builtin and then its argument prototype would still apply. */ | 10878 builtin and then its argument prototype would still apply. */ |
10754 char Gpm_Open(); | 10879 char Gpm_Open(); |
10755 | 10880 |
10756 int main() { | 10881 int main() { |
10757 Gpm_Open() | 10882 Gpm_Open() |
10758 ; return 0; } | 10883 ; return 0; } |
10759 EOF | 10884 EOF |
10760 if { (eval echo configure:10761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10885 if { (eval echo configure:10886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10761 rm -rf conftest* | 10886 rm -rf conftest* |
10762 eval "ac_cv_lib_$ac_lib_var=yes" | 10887 eval "ac_cv_lib_$ac_lib_var=yes" |
10763 else | 10888 else |
10764 echo "configure: failed program was:" >&5 | 10889 echo "configure: failed program was:" >&5 |
10765 cat conftest.$ac_ext >&5 | 10890 cat conftest.$ac_ext >&5 |
10804 echo " xemacs will be linked with \"event-unixoid.o\"" | 10929 echo " xemacs will be linked with \"event-unixoid.o\"" |
10805 fi | 10930 fi |
10806 | 10931 |
10807 | 10932 |
10808 echo "checking for database support" 1>&6 | 10933 echo "checking for database support" 1>&6 |
10809 echo "configure:10810: checking for database support" >&5 | 10934 echo "configure:10935: checking for database support" >&5 |
10810 | 10935 |
10811 if test "$with_database_gnudbm" != "no"; then | 10936 if test "$with_database_gnudbm" != "no"; then |
10812 for ac_hdr in ndbm.h | 10937 for ac_hdr in ndbm.h |
10813 do | 10938 do |
10814 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10939 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10815 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10940 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10816 echo "configure:10817: checking for $ac_hdr" >&5 | 10941 echo "configure:10942: checking for $ac_hdr" >&5 |
10817 | 10942 |
10818 cat > conftest.$ac_ext <<EOF | 10943 cat > conftest.$ac_ext <<EOF |
10819 #line 10820 "configure" | 10944 #line 10945 "configure" |
10820 #include "confdefs.h" | 10945 #include "confdefs.h" |
10821 #include <$ac_hdr> | 10946 #include <$ac_hdr> |
10822 EOF | 10947 EOF |
10823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10948 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10824 { (eval echo configure:10825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10949 { (eval echo configure:10950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10825 ac_err=`grep -v '^ *+' conftest.out` | 10950 ac_err=`grep -v '^ *+' conftest.out` |
10826 if test -z "$ac_err"; then | 10951 if test -z "$ac_err"; then |
10827 rm -rf conftest* | 10952 rm -rf conftest* |
10828 eval "ac_cv_header_$ac_safe=yes" | 10953 eval "ac_cv_header_$ac_safe=yes" |
10829 else | 10954 else |
10851 done | 10976 done |
10852 | 10977 |
10853 if test "$have_ndbm_h" = "yes"; then | 10978 if test "$have_ndbm_h" = "yes"; then |
10854 | 10979 |
10855 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 10980 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
10856 echo "configure:10857: checking for dbm_open in -lgdbm" >&5 | 10981 echo "configure:10982: checking for dbm_open in -lgdbm" >&5 |
10857 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10982 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10858 | 10983 |
10859 xe_check_libs=" -lgdbm " | 10984 xe_check_libs=" -lgdbm " |
10860 cat > conftest.$ac_ext <<EOF | 10985 cat > conftest.$ac_ext <<EOF |
10861 #line 10862 "configure" | 10986 #line 10987 "configure" |
10862 #include "confdefs.h" | 10987 #include "confdefs.h" |
10863 /* Override any gcc2 internal prototype to avoid an error. */ | 10988 /* Override any gcc2 internal prototype to avoid an error. */ |
10864 /* We use char because int might match the return type of a gcc2 | 10989 /* We use char because int might match the return type of a gcc2 |
10865 builtin and then its argument prototype would still apply. */ | 10990 builtin and then its argument prototype would still apply. */ |
10866 char dbm_open(); | 10991 char dbm_open(); |
10867 | 10992 |
10868 int main() { | 10993 int main() { |
10869 dbm_open() | 10994 dbm_open() |
10870 ; return 0; } | 10995 ; return 0; } |
10871 EOF | 10996 EOF |
10872 if { (eval echo configure:10873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10997 if { (eval echo configure:10998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10873 rm -rf conftest* | 10998 rm -rf conftest* |
10874 eval "ac_cv_lib_$ac_lib_var=yes" | 10999 eval "ac_cv_lib_$ac_lib_var=yes" |
10875 else | 11000 else |
10876 echo "configure: failed program was:" >&5 | 11001 echo "configure: failed program was:" >&5 |
10877 cat conftest.$ac_ext >&5 | 11002 cat conftest.$ac_ext >&5 |
10890 | 11015 |
10891 | 11016 |
10892 fi | 11017 fi |
10893 if test "$with_database_gnudbm" != "yes"; then | 11018 if test "$with_database_gnudbm" != "yes"; then |
10894 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11019 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10895 echo "configure:10896: checking for dbm_open" >&5 | 11020 echo "configure:11021: checking for dbm_open" >&5 |
10896 | 11021 |
10897 cat > conftest.$ac_ext <<EOF | 11022 cat > conftest.$ac_ext <<EOF |
10898 #line 10899 "configure" | 11023 #line 11024 "configure" |
10899 #include "confdefs.h" | 11024 #include "confdefs.h" |
10900 /* System header to define __stub macros and hopefully few prototypes, | 11025 /* System header to define __stub macros and hopefully few prototypes, |
10901 which can conflict with char dbm_open(); below. */ | 11026 which can conflict with char dbm_open(); below. */ |
10902 #include <assert.h> | 11027 #include <assert.h> |
10903 /* Override any gcc2 internal prototype to avoid an error. */ | 11028 /* Override any gcc2 internal prototype to avoid an error. */ |
10916 dbm_open(); | 11041 dbm_open(); |
10917 #endif | 11042 #endif |
10918 | 11043 |
10919 ; return 0; } | 11044 ; return 0; } |
10920 EOF | 11045 EOF |
10921 if { (eval echo configure:10922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11046 if { (eval echo configure:11047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10922 rm -rf conftest* | 11047 rm -rf conftest* |
10923 eval "ac_cv_func_dbm_open=yes" | 11048 eval "ac_cv_func_dbm_open=yes" |
10924 else | 11049 else |
10925 echo "configure: failed program was:" >&5 | 11050 echo "configure: failed program was:" >&5 |
10926 cat conftest.$ac_ext >&5 | 11051 cat conftest.$ac_ext >&5 |
10952 fi | 11077 fi |
10953 fi | 11078 fi |
10954 | 11079 |
10955 if test "$with_database_dbm" != "no"; then | 11080 if test "$with_database_dbm" != "no"; then |
10956 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11081 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10957 echo "configure:10958: checking for dbm_open" >&5 | 11082 echo "configure:11083: checking for dbm_open" >&5 |
10958 | 11083 |
10959 cat > conftest.$ac_ext <<EOF | 11084 cat > conftest.$ac_ext <<EOF |
10960 #line 10961 "configure" | 11085 #line 11086 "configure" |
10961 #include "confdefs.h" | 11086 #include "confdefs.h" |
10962 /* System header to define __stub macros and hopefully few prototypes, | 11087 /* System header to define __stub macros and hopefully few prototypes, |
10963 which can conflict with char dbm_open(); below. */ | 11088 which can conflict with char dbm_open(); below. */ |
10964 #include <assert.h> | 11089 #include <assert.h> |
10965 /* Override any gcc2 internal prototype to avoid an error. */ | 11090 /* Override any gcc2 internal prototype to avoid an error. */ |
10978 dbm_open(); | 11103 dbm_open(); |
10979 #endif | 11104 #endif |
10980 | 11105 |
10981 ; return 0; } | 11106 ; return 0; } |
10982 EOF | 11107 EOF |
10983 if { (eval echo configure:10984: \"$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 |
10984 rm -rf conftest* | 11109 rm -rf conftest* |
10985 eval "ac_cv_func_dbm_open=yes" | 11110 eval "ac_cv_func_dbm_open=yes" |
10986 else | 11111 else |
10987 echo "configure: failed program was:" >&5 | 11112 echo "configure: failed program was:" >&5 |
10988 cat conftest.$ac_ext >&5 | 11113 cat conftest.$ac_ext >&5 |
10999 fi | 11124 fi |
11000 | 11125 |
11001 if test "$need_libdbm" != "no"; then | 11126 if test "$need_libdbm" != "no"; then |
11002 | 11127 |
11003 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11128 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
11004 echo "configure:11005: checking for dbm_open in -ldbm" >&5 | 11129 echo "configure:11130: checking for dbm_open in -ldbm" >&5 |
11005 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11130 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11006 | 11131 |
11007 xe_check_libs=" -ldbm " | 11132 xe_check_libs=" -ldbm " |
11008 cat > conftest.$ac_ext <<EOF | 11133 cat > conftest.$ac_ext <<EOF |
11009 #line 11010 "configure" | 11134 #line 11135 "configure" |
11010 #include "confdefs.h" | 11135 #include "confdefs.h" |
11011 /* Override any gcc2 internal prototype to avoid an error. */ | 11136 /* Override any gcc2 internal prototype to avoid an error. */ |
11012 /* We use char because int might match the return type of a gcc2 | 11137 /* We use char because int might match the return type of a gcc2 |
11013 builtin and then its argument prototype would still apply. */ | 11138 builtin and then its argument prototype would still apply. */ |
11014 char dbm_open(); | 11139 char dbm_open(); |
11015 | 11140 |
11016 int main() { | 11141 int main() { |
11017 dbm_open() | 11142 dbm_open() |
11018 ; return 0; } | 11143 ; return 0; } |
11019 EOF | 11144 EOF |
11020 if { (eval echo configure:11021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11145 if { (eval echo configure:11146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11021 rm -rf conftest* | 11146 rm -rf conftest* |
11022 eval "ac_cv_lib_$ac_lib_var=yes" | 11147 eval "ac_cv_lib_$ac_lib_var=yes" |
11023 else | 11148 else |
11024 echo "configure: failed program was:" >&5 | 11149 echo "configure: failed program was:" >&5 |
11025 cat conftest.$ac_ext >&5 | 11150 cat conftest.$ac_ext >&5 |
11052 fi | 11177 fi |
11053 fi | 11178 fi |
11054 | 11179 |
11055 if test "$with_database_berkdb" != "no"; then | 11180 if test "$with_database_berkdb" != "no"; then |
11056 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11181 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
11057 echo "configure:11058: checking for Berkeley db.h" >&5 | 11182 echo "configure:11183: checking for Berkeley db.h" >&5 |
11058 for path in "db/db.h" "db.h"; do | 11183 for path in "db/db.h" "db.h"; do |
11059 cat > conftest.$ac_ext <<EOF | 11184 cat > conftest.$ac_ext <<EOF |
11060 #line 11061 "configure" | 11185 #line 11186 "configure" |
11061 #include "confdefs.h" | 11186 #include "confdefs.h" |
11062 #ifdef HAVE_INTTYPES_H | 11187 #ifdef HAVE_INTTYPES_H |
11063 #define __BIT_TYPES_DEFINED__ | 11188 #define __BIT_TYPES_DEFINED__ |
11064 #include <inttypes.h> | 11189 #include <inttypes.h> |
11065 typedef uint8_t u_int8_t; | 11190 typedef uint8_t u_int8_t; |
11073 | 11198 |
11074 int main() { | 11199 int main() { |
11075 | 11200 |
11076 ; return 0; } | 11201 ; return 0; } |
11077 EOF | 11202 EOF |
11078 if { (eval echo configure:11079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11203 if { (eval echo configure:11204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11079 rm -rf conftest* | 11204 rm -rf conftest* |
11080 db_h_path="$path"; break | 11205 db_h_path="$path"; break |
11081 else | 11206 else |
11082 echo "configure: failed program was:" >&5 | 11207 echo "configure: failed program was:" >&5 |
11083 cat conftest.$ac_ext >&5 | 11208 cat conftest.$ac_ext >&5 |
11089 else echo "$ac_t""$db_h_path" 1>&6 | 11214 else echo "$ac_t""$db_h_path" 1>&6 |
11090 fi | 11215 fi |
11091 | 11216 |
11092 if test "$with_database_berkdb" != "no"; then | 11217 if test "$with_database_berkdb" != "no"; then |
11093 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11218 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
11094 echo "configure:11095: checking for Berkeley DB version" >&5 | 11219 echo "configure:11220: checking for Berkeley DB version" >&5 |
11095 cat > conftest.$ac_ext <<EOF | 11220 cat > conftest.$ac_ext <<EOF |
11096 #line 11097 "configure" | 11221 #line 11222 "configure" |
11097 #include "confdefs.h" | 11222 #include "confdefs.h" |
11098 #include <$db_h_path> | 11223 #include <$db_h_path> |
11099 #if DB_VERSION_MAJOR > 1 | 11224 #if DB_VERSION_MAJOR > 1 |
11100 yes | 11225 yes |
11101 #endif | 11226 #endif |
11110 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11235 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
11111 fi | 11236 fi |
11112 rm -f conftest* | 11237 rm -f conftest* |
11113 | 11238 |
11114 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11239 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
11115 echo "configure:11116: checking for $dbfunc" >&5 | 11240 echo "configure:11241: checking for $dbfunc" >&5 |
11116 | 11241 |
11117 cat > conftest.$ac_ext <<EOF | 11242 cat > conftest.$ac_ext <<EOF |
11118 #line 11119 "configure" | 11243 #line 11244 "configure" |
11119 #include "confdefs.h" | 11244 #include "confdefs.h" |
11120 /* System header to define __stub macros and hopefully few prototypes, | 11245 /* System header to define __stub macros and hopefully few prototypes, |
11121 which can conflict with char $dbfunc(); below. */ | 11246 which can conflict with char $dbfunc(); below. */ |
11122 #include <assert.h> | 11247 #include <assert.h> |
11123 /* Override any gcc2 internal prototype to avoid an error. */ | 11248 /* Override any gcc2 internal prototype to avoid an error. */ |
11136 $dbfunc(); | 11261 $dbfunc(); |
11137 #endif | 11262 #endif |
11138 | 11263 |
11139 ; return 0; } | 11264 ; return 0; } |
11140 EOF | 11265 EOF |
11141 if { (eval echo configure:11142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11266 if { (eval echo configure:11267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11142 rm -rf conftest* | 11267 rm -rf conftest* |
11143 eval "ac_cv_func_$dbfunc=yes" | 11268 eval "ac_cv_func_$dbfunc=yes" |
11144 else | 11269 else |
11145 echo "configure: failed program was:" >&5 | 11270 echo "configure: failed program was:" >&5 |
11146 cat conftest.$ac_ext >&5 | 11271 cat conftest.$ac_ext >&5 |
11155 else | 11280 else |
11156 echo "$ac_t""no" 1>&6 | 11281 echo "$ac_t""no" 1>&6 |
11157 | 11282 |
11158 | 11283 |
11159 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11284 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
11160 echo "configure:11161: checking for $dbfunc in -ldb" >&5 | 11285 echo "configure:11286: checking for $dbfunc in -ldb" >&5 |
11161 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11286 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
11162 | 11287 |
11163 xe_check_libs=" -ldb " | 11288 xe_check_libs=" -ldb " |
11164 cat > conftest.$ac_ext <<EOF | 11289 cat > conftest.$ac_ext <<EOF |
11165 #line 11166 "configure" | 11290 #line 11291 "configure" |
11166 #include "confdefs.h" | 11291 #include "confdefs.h" |
11167 /* Override any gcc2 internal prototype to avoid an error. */ | 11292 /* Override any gcc2 internal prototype to avoid an error. */ |
11168 /* We use char because int might match the return type of a gcc2 | 11293 /* We use char because int might match the return type of a gcc2 |
11169 builtin and then its argument prototype would still apply. */ | 11294 builtin and then its argument prototype would still apply. */ |
11170 char $dbfunc(); | 11295 char $dbfunc(); |
11171 | 11296 |
11172 int main() { | 11297 int main() { |
11173 $dbfunc() | 11298 $dbfunc() |
11174 ; return 0; } | 11299 ; return 0; } |
11175 EOF | 11300 EOF |
11176 if { (eval echo configure:11177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11301 if { (eval echo configure:11302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11177 rm -rf conftest* | 11302 rm -rf conftest* |
11178 eval "ac_cv_lib_$ac_lib_var=yes" | 11303 eval "ac_cv_lib_$ac_lib_var=yes" |
11179 else | 11304 else |
11180 echo "configure: failed program was:" >&5 | 11305 echo "configure: failed program was:" >&5 |
11181 cat conftest.$ac_ext >&5 | 11306 cat conftest.$ac_ext >&5 |
11235 fi | 11360 fi |
11236 | 11361 |
11237 if test "$with_socks" = "yes"; then | 11362 if test "$with_socks" = "yes"; then |
11238 | 11363 |
11239 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11364 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
11240 echo "configure:11241: checking for SOCKSinit in -lsocks" >&5 | 11365 echo "configure:11366: checking for SOCKSinit in -lsocks" >&5 |
11241 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11366 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
11242 | 11367 |
11243 xe_check_libs=" -lsocks " | 11368 xe_check_libs=" -lsocks " |
11244 cat > conftest.$ac_ext <<EOF | 11369 cat > conftest.$ac_ext <<EOF |
11245 #line 11246 "configure" | 11370 #line 11371 "configure" |
11246 #include "confdefs.h" | 11371 #include "confdefs.h" |
11247 /* Override any gcc2 internal prototype to avoid an error. */ | 11372 /* Override any gcc2 internal prototype to avoid an error. */ |
11248 /* We use char because int might match the return type of a gcc2 | 11373 /* We use char because int might match the return type of a gcc2 |
11249 builtin and then its argument prototype would still apply. */ | 11374 builtin and then its argument prototype would still apply. */ |
11250 char SOCKSinit(); | 11375 char SOCKSinit(); |
11251 | 11376 |
11252 int main() { | 11377 int main() { |
11253 SOCKSinit() | 11378 SOCKSinit() |
11254 ; return 0; } | 11379 ; return 0; } |
11255 EOF | 11380 EOF |
11256 if { (eval echo configure:11257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11381 if { (eval echo configure:11382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11257 rm -rf conftest* | 11382 rm -rf conftest* |
11258 eval "ac_cv_lib_$ac_lib_var=yes" | 11383 eval "ac_cv_lib_$ac_lib_var=yes" |
11259 else | 11384 else |
11260 echo "configure: failed program was:" >&5 | 11385 echo "configure: failed program was:" >&5 |
11261 cat conftest.$ac_ext >&5 | 11386 cat conftest.$ac_ext >&5 |
11304 } | 11429 } |
11305 | 11430 |
11306 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 11431 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
11307 fi | 11432 fi |
11308 | 11433 |
11434 test -z "$with_shlib" && test "$opsys $machine" = "cygwin32 intel386" && with_shlib=no | |
11435 | |
11309 for ac_hdr in dlfcn.h | 11436 for ac_hdr in dlfcn.h |
11310 do | 11437 do |
11311 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11438 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11312 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11439 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11313 echo "configure:11314: checking for $ac_hdr" >&5 | 11440 echo "configure:11441: checking for $ac_hdr" >&5 |
11314 | 11441 |
11315 cat > conftest.$ac_ext <<EOF | 11442 cat > conftest.$ac_ext <<EOF |
11316 #line 11317 "configure" | 11443 #line 11444 "configure" |
11317 #include "confdefs.h" | 11444 #include "confdefs.h" |
11318 #include <$ac_hdr> | 11445 #include <$ac_hdr> |
11319 EOF | 11446 EOF |
11320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11447 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11321 { (eval echo configure:11322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11448 { (eval echo configure:11449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11322 ac_err=`grep -v '^ *+' conftest.out` | 11449 ac_err=`grep -v '^ *+' conftest.out` |
11323 if test -z "$ac_err"; then | 11450 if test -z "$ac_err"; then |
11324 rm -rf conftest* | 11451 rm -rf conftest* |
11325 eval "ac_cv_header_$ac_safe=yes" | 11452 eval "ac_cv_header_$ac_safe=yes" |
11326 else | 11453 else |
11347 fi | 11474 fi |
11348 done | 11475 done |
11349 | 11476 |
11350 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11477 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11351 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11478 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11352 echo "configure:11353: checking for dlopen in -ldl" >&5 | 11479 echo "configure:11480: checking for dlopen in -ldl" >&5 |
11353 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11480 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11354 | 11481 |
11355 xe_check_libs=" -ldl " | 11482 xe_check_libs=" -ldl " |
11356 cat > conftest.$ac_ext <<EOF | 11483 cat > conftest.$ac_ext <<EOF |
11357 #line 11358 "configure" | 11484 #line 11485 "configure" |
11358 #include "confdefs.h" | 11485 #include "confdefs.h" |
11359 /* Override any gcc2 internal prototype to avoid an error. */ | 11486 /* Override any gcc2 internal prototype to avoid an error. */ |
11360 /* We use char because int might match the return type of a gcc2 | 11487 /* We use char because int might match the return type of a gcc2 |
11361 builtin and then its argument prototype would still apply. */ | 11488 builtin and then its argument prototype would still apply. */ |
11362 char dlopen(); | 11489 char dlopen(); |
11363 | 11490 |
11364 int main() { | 11491 int main() { |
11365 dlopen() | 11492 dlopen() |
11366 ; return 0; } | 11493 ; return 0; } |
11367 EOF | 11494 EOF |
11368 if { (eval echo configure:11369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11495 if { (eval echo configure:11496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11369 rm -rf conftest* | 11496 rm -rf conftest* |
11370 eval "ac_cv_lib_$ac_lib_var=yes" | 11497 eval "ac_cv_lib_$ac_lib_var=yes" |
11371 else | 11498 else |
11372 echo "configure: failed program was:" >&5 | 11499 echo "configure: failed program was:" >&5 |
11373 cat conftest.$ac_ext >&5 | 11500 cat conftest.$ac_ext >&5 |
11392 fi | 11519 fi |
11393 | 11520 |
11394 } | 11521 } |
11395 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11522 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11396 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11523 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11397 echo "configure:11398: checking for _dlopen in -lc" >&5 | 11524 echo "configure:11525: checking for _dlopen in -lc" >&5 |
11398 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11525 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11399 | 11526 |
11400 xe_check_libs=" -lc " | 11527 xe_check_libs=" -lc " |
11401 cat > conftest.$ac_ext <<EOF | 11528 cat > conftest.$ac_ext <<EOF |
11402 #line 11403 "configure" | 11529 #line 11530 "configure" |
11403 #include "confdefs.h" | 11530 #include "confdefs.h" |
11404 /* Override any gcc2 internal prototype to avoid an error. */ | 11531 /* Override any gcc2 internal prototype to avoid an error. */ |
11405 /* We use char because int might match the return type of a gcc2 | 11532 /* We use char because int might match the return type of a gcc2 |
11406 builtin and then its argument prototype would still apply. */ | 11533 builtin and then its argument prototype would still apply. */ |
11407 char _dlopen(); | 11534 char _dlopen(); |
11408 | 11535 |
11409 int main() { | 11536 int main() { |
11410 _dlopen() | 11537 _dlopen() |
11411 ; return 0; } | 11538 ; return 0; } |
11412 EOF | 11539 EOF |
11413 if { (eval echo configure:11414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11540 if { (eval echo configure:11541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11414 rm -rf conftest* | 11541 rm -rf conftest* |
11415 eval "ac_cv_lib_$ac_lib_var=yes" | 11542 eval "ac_cv_lib_$ac_lib_var=yes" |
11416 else | 11543 else |
11417 echo "configure: failed program was:" >&5 | 11544 echo "configure: failed program was:" >&5 |
11418 cat conftest.$ac_ext >&5 | 11545 cat conftest.$ac_ext >&5 |
11437 fi | 11564 fi |
11438 | 11565 |
11439 } | 11566 } |
11440 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11567 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11441 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11568 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11442 echo "configure:11443: checking for dlopen in -lc" >&5 | 11569 echo "configure:11570: checking for dlopen in -lc" >&5 |
11443 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11570 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11444 | 11571 |
11445 xe_check_libs=" -lc " | 11572 xe_check_libs=" -lc " |
11446 cat > conftest.$ac_ext <<EOF | 11573 cat > conftest.$ac_ext <<EOF |
11447 #line 11448 "configure" | 11574 #line 11575 "configure" |
11448 #include "confdefs.h" | 11575 #include "confdefs.h" |
11449 /* Override any gcc2 internal prototype to avoid an error. */ | 11576 /* Override any gcc2 internal prototype to avoid an error. */ |
11450 /* We use char because int might match the return type of a gcc2 | 11577 /* We use char because int might match the return type of a gcc2 |
11451 builtin and then its argument prototype would still apply. */ | 11578 builtin and then its argument prototype would still apply. */ |
11452 char dlopen(); | 11579 char dlopen(); |
11453 | 11580 |
11454 int main() { | 11581 int main() { |
11455 dlopen() | 11582 dlopen() |
11456 ; return 0; } | 11583 ; return 0; } |
11457 EOF | 11584 EOF |
11458 if { (eval echo configure:11459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11585 if { (eval echo configure:11586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11459 rm -rf conftest* | 11586 rm -rf conftest* |
11460 eval "ac_cv_lib_$ac_lib_var=yes" | 11587 eval "ac_cv_lib_$ac_lib_var=yes" |
11461 else | 11588 else |
11462 echo "configure: failed program was:" >&5 | 11589 echo "configure: failed program was:" >&5 |
11463 cat conftest.$ac_ext >&5 | 11590 cat conftest.$ac_ext >&5 |
11482 fi | 11609 fi |
11483 | 11610 |
11484 } | 11611 } |
11485 test -z "$with_shlib" && { | 11612 test -z "$with_shlib" && { |
11486 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11613 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11487 echo "configure:11488: checking for shl_load in -ldld" >&5 | 11614 echo "configure:11615: checking for shl_load in -ldld" >&5 |
11488 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11615 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11489 | 11616 |
11490 xe_check_libs=" -ldld " | 11617 xe_check_libs=" -ldld " |
11491 cat > conftest.$ac_ext <<EOF | 11618 cat > conftest.$ac_ext <<EOF |
11492 #line 11493 "configure" | 11619 #line 11620 "configure" |
11493 #include "confdefs.h" | 11620 #include "confdefs.h" |
11494 /* Override any gcc2 internal prototype to avoid an error. */ | 11621 /* Override any gcc2 internal prototype to avoid an error. */ |
11495 /* We use char because int might match the return type of a gcc2 | 11622 /* We use char because int might match the return type of a gcc2 |
11496 builtin and then its argument prototype would still apply. */ | 11623 builtin and then its argument prototype would still apply. */ |
11497 char shl_load(); | 11624 char shl_load(); |
11498 | 11625 |
11499 int main() { | 11626 int main() { |
11500 shl_load() | 11627 shl_load() |
11501 ; return 0; } | 11628 ; return 0; } |
11502 EOF | 11629 EOF |
11503 if { (eval echo configure:11504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11630 if { (eval echo configure:11631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11504 rm -rf conftest* | 11631 rm -rf conftest* |
11505 eval "ac_cv_lib_$ac_lib_var=yes" | 11632 eval "ac_cv_lib_$ac_lib_var=yes" |
11506 else | 11633 else |
11507 echo "configure: failed program was:" >&5 | 11634 echo "configure: failed program was:" >&5 |
11508 cat conftest.$ac_ext >&5 | 11635 cat conftest.$ac_ext >&5 |
11527 fi | 11654 fi |
11528 | 11655 |
11529 } | 11656 } |
11530 test -z "$with_shlib" && { | 11657 test -z "$with_shlib" && { |
11531 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11658 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11532 echo "configure:11533: checking for dld_init in -ldld" >&5 | 11659 echo "configure:11660: checking for dld_init in -ldld" >&5 |
11533 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11660 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11534 | 11661 |
11535 xe_check_libs=" -ldld " | 11662 xe_check_libs=" -ldld " |
11536 cat > conftest.$ac_ext <<EOF | 11663 cat > conftest.$ac_ext <<EOF |
11537 #line 11538 "configure" | 11664 #line 11665 "configure" |
11538 #include "confdefs.h" | 11665 #include "confdefs.h" |
11539 /* Override any gcc2 internal prototype to avoid an error. */ | 11666 /* Override any gcc2 internal prototype to avoid an error. */ |
11540 /* We use char because int might match the return type of a gcc2 | 11667 /* We use char because int might match the return type of a gcc2 |
11541 builtin and then its argument prototype would still apply. */ | 11668 builtin and then its argument prototype would still apply. */ |
11542 char dld_init(); | 11669 char dld_init(); |
11543 | 11670 |
11544 int main() { | 11671 int main() { |
11545 dld_init() | 11672 dld_init() |
11546 ; return 0; } | 11673 ; return 0; } |
11547 EOF | 11674 EOF |
11548 if { (eval echo configure:11549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11675 if { (eval echo configure:11676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11549 rm -rf conftest* | 11676 rm -rf conftest* |
11550 eval "ac_cv_lib_$ac_lib_var=yes" | 11677 eval "ac_cv_lib_$ac_lib_var=yes" |
11551 else | 11678 else |
11552 echo "configure: failed program was:" >&5 | 11679 echo "configure: failed program was:" >&5 |
11553 cat conftest.$ac_ext >&5 | 11680 cat conftest.$ac_ext >&5 |
11593 dll_lflags="-shared" | 11720 dll_lflags="-shared" |
11594 dll_cflags="-r" | 11721 dll_cflags="-r" |
11595 dll_oflags="-o " | 11722 dll_oflags="-o " |
11596 | 11723 |
11597 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11724 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
11598 echo "configure:11599: checking how to build a shared library" >&5 | 11725 echo "configure:11726: checking how to build a shared library" >&5 |
11599 case `uname -rs` in | 11726 case `uname -rs` in |
11600 UNIX_SV*|UNIX_System_V*) | 11727 UNIX_SV*|UNIX_System_V*) |
11601 dll_lflags="-G" | 11728 dll_lflags="-G" |
11602 dll_cflags=-Kpic | 11729 dll_cflags=-Kpic |
11603 dll_ld="ld" | 11730 dll_ld="ld" |
11684 | 11811 |
11685 | 11812 |
11686 for ac_func in dlerror | 11813 for ac_func in dlerror |
11687 do | 11814 do |
11688 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11815 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11689 echo "configure:11690: checking for $ac_func" >&5 | 11816 echo "configure:11817: checking for $ac_func" >&5 |
11690 | 11817 |
11691 cat > conftest.$ac_ext <<EOF | 11818 cat > conftest.$ac_ext <<EOF |
11692 #line 11693 "configure" | 11819 #line 11820 "configure" |
11693 #include "confdefs.h" | 11820 #include "confdefs.h" |
11694 /* System header to define __stub macros and hopefully few prototypes, | 11821 /* System header to define __stub macros and hopefully few prototypes, |
11695 which can conflict with char $ac_func(); below. */ | 11822 which can conflict with char $ac_func(); below. */ |
11696 #include <assert.h> | 11823 #include <assert.h> |
11697 /* Override any gcc2 internal prototype to avoid an error. */ | 11824 /* Override any gcc2 internal prototype to avoid an error. */ |
11710 $ac_func(); | 11837 $ac_func(); |
11711 #endif | 11838 #endif |
11712 | 11839 |
11713 ; return 0; } | 11840 ; return 0; } |
11714 EOF | 11841 EOF |
11715 if { (eval echo configure:11716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11842 if { (eval echo configure:11843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11716 rm -rf conftest* | 11843 rm -rf conftest* |
11717 eval "ac_cv_func_$ac_func=yes" | 11844 eval "ac_cv_func_$ac_func=yes" |
11718 else | 11845 else |
11719 echo "configure: failed program was:" >&5 | 11846 echo "configure: failed program was:" >&5 |
11720 cat conftest.$ac_ext >&5 | 11847 cat conftest.$ac_ext >&5 |
11746 *) ;; | 11873 *) ;; |
11747 esac | 11874 esac |
11748 fi | 11875 fi |
11749 | 11876 |
11750 cat > conftest.$ac_ext <<EOF | 11877 cat > conftest.$ac_ext <<EOF |
11751 #line 11752 "configure" | 11878 #line 11879 "configure" |
11752 #include "confdefs.h" | 11879 #include "confdefs.h" |
11753 int main(int c,char *v[]){return 0;} | 11880 int main(int c,char *v[]){return 0;} |
11754 EOF | 11881 EOF |
11755 if { (eval echo configure:11756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11882 if { (eval echo configure:11883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11756 then | 11883 then |
11757 : | 11884 : |
11758 else | 11885 else |
11759 conftest_rc="$?" | 11886 conftest_rc="$?" |
11760 echo "configure: failed program was:" >&5 | 11887 echo "configure: failed program was:" >&5 |