Mercurial > hg > xemacs-beta
comparison configure @ 377:d883f39b8495 r21-2b4
Import from CVS: tag r21-2b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:05:42 +0200 |
parents | a300bb07d72d |
children | 8626e4521993 |
comparison
equal
deleted
inserted
replaced
376:e2295b4d9f2e | 377:d883f39b8495 |
---|---|
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 ;; |
1369 esac | 1375 esac |
1370 ;; | 1376 ;; |
1371 | 1377 |
1372 m68k-*-linux* ) machine=m68k opsys=linux ;; | 1378 m68k-*-linux* ) machine=m68k opsys=linux ;; |
1373 | 1379 |
1380 arm-*-linux* ) machine=arm opsys=linux ;; | |
1381 | |
1374 esac | 1382 esac |
1375 | 1383 |
1376 if test -z "$machine" -o -z "$opsys"; then | 1384 if test -z "$machine" -o -z "$opsys"; then |
1377 (echo "$progname: XEmacs hasn't been ported to \`$canonical' systems." | 1385 (echo "$progname: XEmacs hasn't been ported to \`$canonical' systems." |
1378 echo "$progname: Check \`etc/MACHINES' for recognized configuration names." | 1386 echo "$progname: Check \`etc/MACHINES' for recognized configuration names." |
1467 xe_save_CFLAGS="$CFLAGS" | 1475 xe_save_CFLAGS="$CFLAGS" |
1468 | 1476 |
1469 # Extract the first word of "gcc", so it can be a program name with args. | 1477 # Extract the first word of "gcc", so it can be a program name with args. |
1470 set dummy gcc; ac_word=$2 | 1478 set dummy gcc; ac_word=$2 |
1471 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1479 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1472 echo "configure:1473: checking for $ac_word" >&5 | 1480 echo "configure:1481: checking for $ac_word" >&5 |
1473 | 1481 |
1474 if test -n "$CC"; then | 1482 if test -n "$CC"; then |
1475 ac_cv_prog_CC="$CC" # Let the user override the test. | 1483 ac_cv_prog_CC="$CC" # Let the user override the test. |
1476 else | 1484 else |
1477 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1485 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1493 | 1501 |
1494 if test -z "$CC"; then | 1502 if test -z "$CC"; then |
1495 # Extract the first word of "cc", so it can be a program name with args. | 1503 # Extract the first word of "cc", so it can be a program name with args. |
1496 set dummy cc; ac_word=$2 | 1504 set dummy cc; ac_word=$2 |
1497 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1505 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1498 echo "configure:1499: checking for $ac_word" >&5 | 1506 echo "configure:1507: checking for $ac_word" >&5 |
1499 | 1507 |
1500 if test -n "$CC"; then | 1508 if test -n "$CC"; then |
1501 ac_cv_prog_CC="$CC" # Let the user override the test. | 1509 ac_cv_prog_CC="$CC" # Let the user override the test. |
1502 else | 1510 else |
1503 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1511 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1538 | 1546 |
1539 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1547 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1540 fi | 1548 fi |
1541 | 1549 |
1542 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1550 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 | 1551 echo "configure:1552: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1544 | 1552 |
1545 ac_ext=c | 1553 ac_ext=c |
1546 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1554 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' | 1555 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' | 1556 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' | 1558 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' | 1559 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1552 cross_compiling=no | 1560 cross_compiling=no |
1553 | 1561 |
1554 cat > conftest.$ac_ext <<EOF | 1562 cat > conftest.$ac_ext <<EOF |
1555 #line 1556 "configure" | 1563 #line 1564 "configure" |
1556 #include "confdefs.h" | 1564 #include "confdefs.h" |
1557 main(){return(0);} | 1565 main(){return(0);} |
1558 EOF | 1566 EOF |
1559 if { (eval echo configure:1560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1567 if { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1560 ac_cv_prog_cc_works=yes | 1568 ac_cv_prog_cc_works=yes |
1561 # If we can't run a trivial program, we are probably using a cross compiler. | 1569 # If we can't run a trivial program, we are probably using a cross compiler. |
1562 if (./conftest; exit) 2>/dev/null; then | 1570 if (./conftest; exit) 2>/dev/null; then |
1563 ac_cv_prog_cc_cross=no | 1571 ac_cv_prog_cc_cross=no |
1564 else | 1572 else |
1574 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1582 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1575 if test $ac_cv_prog_cc_works = no; then | 1583 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; } | 1584 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1577 fi | 1585 fi |
1578 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1586 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 | 1587 echo "configure:1588: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1580 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1588 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1581 cross_compiling=$ac_cv_prog_cc_cross | 1589 cross_compiling=$ac_cv_prog_cc_cross |
1582 | 1590 |
1583 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1591 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 | 1592 echo "configure:1593: checking whether we are using GNU C" >&5 |
1585 | 1593 |
1586 cat > conftest.c <<EOF | 1594 cat > conftest.c <<EOF |
1587 #ifdef __GNUC__ | 1595 #ifdef __GNUC__ |
1588 yes; | 1596 yes; |
1589 #endif | 1597 #endif |
1590 EOF | 1598 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 | 1599 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1592 ac_cv_prog_gcc=yes | 1600 ac_cv_prog_gcc=yes |
1593 else | 1601 else |
1594 ac_cv_prog_gcc=no | 1602 ac_cv_prog_gcc=no |
1595 fi | 1603 fi |
1596 | 1604 |
1600 GCC=yes | 1608 GCC=yes |
1601 ac_test_CFLAGS="${CFLAGS+set}" | 1609 ac_test_CFLAGS="${CFLAGS+set}" |
1602 ac_save_CFLAGS="$CFLAGS" | 1610 ac_save_CFLAGS="$CFLAGS" |
1603 CFLAGS= | 1611 CFLAGS= |
1604 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1612 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1605 echo "configure:1606: checking whether ${CC-cc} accepts -g" >&5 | 1613 echo "configure:1614: checking whether ${CC-cc} accepts -g" >&5 |
1606 | 1614 |
1607 echo 'void f(){}' > conftest.c | 1615 echo 'void f(){}' > conftest.c |
1608 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1616 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1609 ac_cv_prog_cc_g=yes | 1617 ac_cv_prog_cc_g=yes |
1610 else | 1618 else |
1629 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1637 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1630 CC=${NON_GNU_CC-cc} | 1638 CC=${NON_GNU_CC-cc} |
1631 # Extract the first word of "gcc", so it can be a program name with args. | 1639 # Extract the first word of "gcc", so it can be a program name with args. |
1632 set dummy gcc; ac_word=$2 | 1640 set dummy gcc; ac_word=$2 |
1633 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1641 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1634 echo "configure:1635: checking for $ac_word" >&5 | 1642 echo "configure:1643: checking for $ac_word" >&5 |
1635 | 1643 |
1636 if test -n "$CC"; then | 1644 if test -n "$CC"; then |
1637 ac_cv_prog_CC="$CC" # Let the user override the test. | 1645 ac_cv_prog_CC="$CC" # Let the user override the test. |
1638 else | 1646 else |
1639 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1647 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1655 | 1663 |
1656 if test -z "$CC"; then | 1664 if test -z "$CC"; then |
1657 # Extract the first word of "cc", so it can be a program name with args. | 1665 # Extract the first word of "cc", so it can be a program name with args. |
1658 set dummy cc; ac_word=$2 | 1666 set dummy cc; ac_word=$2 |
1659 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1667 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1660 echo "configure:1661: checking for $ac_word" >&5 | 1668 echo "configure:1669: checking for $ac_word" >&5 |
1661 | 1669 |
1662 if test -n "$CC"; then | 1670 if test -n "$CC"; then |
1663 ac_cv_prog_CC="$CC" # Let the user override the test. | 1671 ac_cv_prog_CC="$CC" # Let the user override the test. |
1664 else | 1672 else |
1665 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1673 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1700 | 1708 |
1701 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1709 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1702 fi | 1710 fi |
1703 | 1711 |
1704 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1712 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 | 1713 echo "configure:1714: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1706 | 1714 |
1707 ac_ext=c | 1715 ac_ext=c |
1708 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1716 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' | 1717 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' | 1718 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' | 1720 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' | 1721 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1714 cross_compiling=no | 1722 cross_compiling=no |
1715 | 1723 |
1716 cat > conftest.$ac_ext <<EOF | 1724 cat > conftest.$ac_ext <<EOF |
1717 #line 1718 "configure" | 1725 #line 1726 "configure" |
1718 #include "confdefs.h" | 1726 #include "confdefs.h" |
1719 main(){return(0);} | 1727 main(){return(0);} |
1720 EOF | 1728 EOF |
1721 if { (eval echo configure:1722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1729 if { (eval echo configure:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1722 ac_cv_prog_cc_works=yes | 1730 ac_cv_prog_cc_works=yes |
1723 # If we can't run a trivial program, we are probably using a cross compiler. | 1731 # If we can't run a trivial program, we are probably using a cross compiler. |
1724 if (./conftest; exit) 2>/dev/null; then | 1732 if (./conftest; exit) 2>/dev/null; then |
1725 ac_cv_prog_cc_cross=no | 1733 ac_cv_prog_cc_cross=no |
1726 else | 1734 else |
1736 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1744 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1737 if test $ac_cv_prog_cc_works = no; then | 1745 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; } | 1746 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1739 fi | 1747 fi |
1740 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1748 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 | 1749 echo "configure:1750: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1742 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1750 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1743 cross_compiling=$ac_cv_prog_cc_cross | 1751 cross_compiling=$ac_cv_prog_cc_cross |
1744 | 1752 |
1745 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1753 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 | 1754 echo "configure:1755: checking whether we are using GNU C" >&5 |
1747 | 1755 |
1748 cat > conftest.c <<EOF | 1756 cat > conftest.c <<EOF |
1749 #ifdef __GNUC__ | 1757 #ifdef __GNUC__ |
1750 yes; | 1758 yes; |
1751 #endif | 1759 #endif |
1752 EOF | 1760 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 | 1761 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1754 ac_cv_prog_gcc=yes | 1762 ac_cv_prog_gcc=yes |
1755 else | 1763 else |
1756 ac_cv_prog_gcc=no | 1764 ac_cv_prog_gcc=no |
1757 fi | 1765 fi |
1758 | 1766 |
1762 GCC=yes | 1770 GCC=yes |
1763 ac_test_CFLAGS="${CFLAGS+set}" | 1771 ac_test_CFLAGS="${CFLAGS+set}" |
1764 ac_save_CFLAGS="$CFLAGS" | 1772 ac_save_CFLAGS="$CFLAGS" |
1765 CFLAGS= | 1773 CFLAGS= |
1766 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1774 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1767 echo "configure:1768: checking whether ${CC-cc} accepts -g" >&5 | 1775 echo "configure:1776: checking whether ${CC-cc} accepts -g" >&5 |
1768 | 1776 |
1769 echo 'void f(){}' > conftest.c | 1777 echo 'void f(){}' > conftest.c |
1770 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1778 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1771 ac_cv_prog_cc_g=yes | 1779 ac_cv_prog_cc_g=yes |
1772 else | 1780 else |
1791 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1799 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1792 CC=gcc | 1800 CC=gcc |
1793 # Extract the first word of "gcc", so it can be a program name with args. | 1801 # Extract the first word of "gcc", so it can be a program name with args. |
1794 set dummy gcc; ac_word=$2 | 1802 set dummy gcc; ac_word=$2 |
1795 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1803 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1796 echo "configure:1797: checking for $ac_word" >&5 | 1804 echo "configure:1805: checking for $ac_word" >&5 |
1797 | 1805 |
1798 if test -n "$CC"; then | 1806 if test -n "$CC"; then |
1799 ac_cv_prog_CC="$CC" # Let the user override the test. | 1807 ac_cv_prog_CC="$CC" # Let the user override the test. |
1800 else | 1808 else |
1801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1809 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1817 | 1825 |
1818 if test -z "$CC"; then | 1826 if test -z "$CC"; then |
1819 # Extract the first word of "cc", so it can be a program name with args. | 1827 # Extract the first word of "cc", so it can be a program name with args. |
1820 set dummy cc; ac_word=$2 | 1828 set dummy cc; ac_word=$2 |
1821 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1829 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1822 echo "configure:1823: checking for $ac_word" >&5 | 1830 echo "configure:1831: checking for $ac_word" >&5 |
1823 | 1831 |
1824 if test -n "$CC"; then | 1832 if test -n "$CC"; then |
1825 ac_cv_prog_CC="$CC" # Let the user override the test. | 1833 ac_cv_prog_CC="$CC" # Let the user override the test. |
1826 else | 1834 else |
1827 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1835 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1862 | 1870 |
1863 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1871 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1864 fi | 1872 fi |
1865 | 1873 |
1866 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1874 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 | 1875 echo "configure:1876: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1868 | 1876 |
1869 ac_ext=c | 1877 ac_ext=c |
1870 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1878 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' | 1879 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' | 1880 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' | 1882 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' | 1883 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1876 cross_compiling=no | 1884 cross_compiling=no |
1877 | 1885 |
1878 cat > conftest.$ac_ext <<EOF | 1886 cat > conftest.$ac_ext <<EOF |
1879 #line 1880 "configure" | 1887 #line 1888 "configure" |
1880 #include "confdefs.h" | 1888 #include "confdefs.h" |
1881 main(){return(0);} | 1889 main(){return(0);} |
1882 EOF | 1890 EOF |
1883 if { (eval echo configure:1884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1891 if { (eval echo configure:1892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1884 ac_cv_prog_cc_works=yes | 1892 ac_cv_prog_cc_works=yes |
1885 # If we can't run a trivial program, we are probably using a cross compiler. | 1893 # If we can't run a trivial program, we are probably using a cross compiler. |
1886 if (./conftest; exit) 2>/dev/null; then | 1894 if (./conftest; exit) 2>/dev/null; then |
1887 ac_cv_prog_cc_cross=no | 1895 ac_cv_prog_cc_cross=no |
1888 else | 1896 else |
1898 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1906 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1899 if test $ac_cv_prog_cc_works = no; then | 1907 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; } | 1908 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1901 fi | 1909 fi |
1902 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1910 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 | 1911 echo "configure:1912: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1904 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1912 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1905 cross_compiling=$ac_cv_prog_cc_cross | 1913 cross_compiling=$ac_cv_prog_cc_cross |
1906 | 1914 |
1907 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1915 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 | 1916 echo "configure:1917: checking whether we are using GNU C" >&5 |
1909 | 1917 |
1910 cat > conftest.c <<EOF | 1918 cat > conftest.c <<EOF |
1911 #ifdef __GNUC__ | 1919 #ifdef __GNUC__ |
1912 yes; | 1920 yes; |
1913 #endif | 1921 #endif |
1914 EOF | 1922 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 | 1923 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1916 ac_cv_prog_gcc=yes | 1924 ac_cv_prog_gcc=yes |
1917 else | 1925 else |
1918 ac_cv_prog_gcc=no | 1926 ac_cv_prog_gcc=no |
1919 fi | 1927 fi |
1920 | 1928 |
1924 GCC=yes | 1932 GCC=yes |
1925 ac_test_CFLAGS="${CFLAGS+set}" | 1933 ac_test_CFLAGS="${CFLAGS+set}" |
1926 ac_save_CFLAGS="$CFLAGS" | 1934 ac_save_CFLAGS="$CFLAGS" |
1927 CFLAGS= | 1935 CFLAGS= |
1928 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1936 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1929 echo "configure:1930: checking whether ${CC-cc} accepts -g" >&5 | 1937 echo "configure:1938: checking whether ${CC-cc} accepts -g" >&5 |
1930 | 1938 |
1931 echo 'void f(){}' > conftest.c | 1939 echo 'void f(){}' > conftest.c |
1932 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1940 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1933 ac_cv_prog_cc_g=yes | 1941 ac_cv_prog_cc_g=yes |
1934 else | 1942 else |
1957 test -n "$CPP" -a -d "$CPP" && CPP= | 1965 test -n "$CPP" -a -d "$CPP" && CPP= |
1958 | 1966 |
1959 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1967 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1960 | 1968 |
1961 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1969 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 | 1970 echo "configure:1971: checking how to run the C preprocessor" >&5 |
1963 # On Suns, sometimes $CPP names a directory. | 1971 # On Suns, sometimes $CPP names a directory. |
1964 if test -n "$CPP" && test -d "$CPP"; then | 1972 if test -n "$CPP" && test -d "$CPP"; then |
1965 CPP= | 1973 CPP= |
1966 fi | 1974 fi |
1967 if test -z "$CPP"; then | 1975 if test -z "$CPP"; then |
1970 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1978 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1971 CPP="${CC-cc} -E" | 1979 CPP="${CC-cc} -E" |
1972 # On the NeXT, cc -E runs the code through the compiler's parser, | 1980 # On the NeXT, cc -E runs the code through the compiler's parser, |
1973 # not just through cpp. | 1981 # not just through cpp. |
1974 cat > conftest.$ac_ext <<EOF | 1982 cat > conftest.$ac_ext <<EOF |
1975 #line 1976 "configure" | 1983 #line 1984 "configure" |
1976 #include "confdefs.h" | 1984 #include "confdefs.h" |
1977 #include <assert.h> | 1985 #include <assert.h> |
1978 Syntax Error | 1986 Syntax Error |
1979 EOF | 1987 EOF |
1980 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1988 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; } | 1989 { (eval echo configure:1990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1982 ac_err=`grep -v '^ *+' conftest.out` | 1990 ac_err=`grep -v '^ *+' conftest.out` |
1983 if test -z "$ac_err"; then | 1991 if test -z "$ac_err"; then |
1984 : | 1992 : |
1985 else | 1993 else |
1986 echo "$ac_err" >&5 | 1994 echo "$ac_err" >&5 |
1987 echo "configure: failed program was:" >&5 | 1995 echo "configure: failed program was:" >&5 |
1988 cat conftest.$ac_ext >&5 | 1996 cat conftest.$ac_ext >&5 |
1989 rm -rf conftest* | 1997 rm -rf conftest* |
1990 CPP="${CC-cc} -E -traditional-cpp" | 1998 CPP="${CC-cc} -E -traditional-cpp" |
1991 cat > conftest.$ac_ext <<EOF | 1999 cat > conftest.$ac_ext <<EOF |
1992 #line 1993 "configure" | 2000 #line 2001 "configure" |
1993 #include "confdefs.h" | 2001 #include "confdefs.h" |
1994 #include <assert.h> | 2002 #include <assert.h> |
1995 Syntax Error | 2003 Syntax Error |
1996 EOF | 2004 EOF |
1997 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2005 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; } | 2006 { (eval echo configure:2007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1999 ac_err=`grep -v '^ *+' conftest.out` | 2007 ac_err=`grep -v '^ *+' conftest.out` |
2000 if test -z "$ac_err"; then | 2008 if test -z "$ac_err"; then |
2001 : | 2009 : |
2002 else | 2010 else |
2003 echo "$ac_err" >&5 | 2011 echo "$ac_err" >&5 |
2016 fi | 2024 fi |
2017 echo "$ac_t""$CPP" 1>&6 | 2025 echo "$ac_t""$CPP" 1>&6 |
2018 | 2026 |
2019 | 2027 |
2020 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2028 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2021 echo "configure:2022: checking for AIX" >&5 | 2029 echo "configure:2030: checking for AIX" >&5 |
2022 cat > conftest.$ac_ext <<EOF | 2030 cat > conftest.$ac_ext <<EOF |
2023 #line 2024 "configure" | 2031 #line 2032 "configure" |
2024 #include "confdefs.h" | 2032 #include "confdefs.h" |
2025 #ifdef _AIX | 2033 #ifdef _AIX |
2026 yes | 2034 yes |
2027 #endif | 2035 #endif |
2028 | 2036 |
2045 rm -f conftest* | 2053 rm -f conftest* |
2046 | 2054 |
2047 | 2055 |
2048 | 2056 |
2049 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2057 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2050 echo "configure:2051: checking for GNU libc" >&5 | 2058 echo "configure:2059: checking for GNU libc" >&5 |
2051 cat > conftest.$ac_ext <<EOF | 2059 cat > conftest.$ac_ext <<EOF |
2052 #line 2053 "configure" | 2060 #line 2061 "configure" |
2053 #include "confdefs.h" | 2061 #include "confdefs.h" |
2054 #include <features.h> | 2062 #include <features.h> |
2055 int main() { | 2063 int main() { |
2056 | 2064 |
2057 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2065 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2059 ******* ======= ******** &&&&&&&& | 2067 ******* ======= ******** &&&&&&&& |
2060 #endif | 2068 #endif |
2061 | 2069 |
2062 ; return 0; } | 2070 ; return 0; } |
2063 EOF | 2071 EOF |
2064 if { (eval echo configure:2065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2072 if { (eval echo configure:2073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2065 rm -rf conftest* | 2073 rm -rf conftest* |
2066 have_glibc=yes | 2074 have_glibc=yes |
2067 else | 2075 else |
2068 echo "configure: failed program was:" >&5 | 2076 echo "configure: failed program was:" >&5 |
2069 cat conftest.$ac_ext >&5 | 2077 cat conftest.$ac_ext >&5 |
2081 } | 2089 } |
2082 | 2090 |
2083 | 2091 |
2084 | 2092 |
2085 cat > conftest.$ac_ext <<EOF | 2093 cat > conftest.$ac_ext <<EOF |
2086 #line 2087 "configure" | 2094 #line 2095 "configure" |
2087 #include "confdefs.h" | 2095 #include "confdefs.h" |
2088 int main () { | 2096 int main () { |
2089 #if defined __SUNPRO_C | 2097 #if defined __SUNPRO_C |
2090 return 11; | 2098 return 11; |
2091 #elif defined __DECC | 2099 #elif defined __DECC |
2093 #else | 2101 #else |
2094 return 0; | 2102 return 0; |
2095 #endif | 2103 #endif |
2096 } | 2104 } |
2097 EOF | 2105 EOF |
2098 if { (eval echo configure:2099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2106 if { (eval echo configure:2107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2099 then | 2107 then |
2100 : | 2108 : |
2101 else | 2109 else |
2102 conftest_rc="$?" | 2110 conftest_rc="$?" |
2103 echo "configure: failed program was:" >&5 | 2111 echo "configure: failed program was:" >&5 |
2363 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2371 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2364 echo " xemacs will be linked with \"$unexec\"" | 2372 echo " xemacs will be linked with \"$unexec\"" |
2365 fi | 2373 fi |
2366 | 2374 |
2367 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2375 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2368 echo "configure:2369: checking for dynodump" >&5 | 2376 echo "configure:2377: checking for dynodump" >&5 |
2369 if test "$unexec" != "unexsol2.o"; then | 2377 if test "$unexec" != "unexsol2.o"; then |
2370 echo "$ac_t""no" 1>&6 | 2378 echo "$ac_t""no" 1>&6 |
2371 else | 2379 else |
2372 echo "$ac_t""yes" 1>&6 | 2380 echo "$ac_t""yes" 1>&6 |
2373 { test "$extra_verbose" = "yes" && cat << \EOF | 2381 { test "$extra_verbose" = "yes" && cat << \EOF |
2401 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2409 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 | 2410 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2403 done | 2411 done |
2404 | 2412 |
2405 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2413 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2406 echo "configure:2407: checking for terminateAndUnload in -lC" >&5 | 2414 echo "configure:2415: checking for terminateAndUnload in -lC" >&5 |
2407 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2415 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2408 | 2416 |
2409 xe_check_libs=" -lC " | 2417 xe_check_libs=" -lC " |
2410 cat > conftest.$ac_ext <<EOF | 2418 cat > conftest.$ac_ext <<EOF |
2411 #line 2412 "configure" | 2419 #line 2420 "configure" |
2412 #include "confdefs.h" | 2420 #include "confdefs.h" |
2413 /* Override any gcc2 internal prototype to avoid an error. */ | 2421 /* Override any gcc2 internal prototype to avoid an error. */ |
2414 /* We use char because int might match the return type of a gcc2 | 2422 /* We use char because int might match the return type of a gcc2 |
2415 builtin and then its argument prototype would still apply. */ | 2423 builtin and then its argument prototype would still apply. */ |
2416 char terminateAndUnload(); | 2424 char terminateAndUnload(); |
2417 | 2425 |
2418 int main() { | 2426 int main() { |
2419 terminateAndUnload() | 2427 terminateAndUnload() |
2420 ; return 0; } | 2428 ; return 0; } |
2421 EOF | 2429 EOF |
2422 if { (eval echo configure:2423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2430 if { (eval echo configure:2431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2423 rm -rf conftest* | 2431 rm -rf conftest* |
2424 eval "ac_cv_lib_$ac_lib_var=yes" | 2432 eval "ac_cv_lib_$ac_lib_var=yes" |
2425 else | 2433 else |
2426 echo "configure: failed program was:" >&5 | 2434 echo "configure: failed program was:" >&5 |
2427 cat conftest.$ac_ext >&5 | 2435 cat conftest.$ac_ext >&5 |
2501 esac | 2509 esac |
2502 fi | 2510 fi |
2503 | 2511 |
2504 if test "$add_runtime_path" = "yes"; then | 2512 if test "$add_runtime_path" = "yes"; then |
2505 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2513 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2506 echo "configure:2507: checking "for runtime libraries flag"" >&5 | 2514 echo "configure:2515: checking "for runtime libraries flag"" >&5 |
2507 case "$opsys" in | 2515 case "$opsys" in |
2508 sol2 ) dash_r = "-R" ;; | 2516 sol2 ) dash_r="-R" ;; |
2509 decosf* | linux* ) dash_r = "-rpath " ;; | 2517 decosf* | linux* ) dash_r="-rpath " ;; |
2510 *) | 2518 *) |
2511 dash_r="" | 2519 dash_r="" |
2512 for try_dash_r in "-R" "-R " "-rpath "; do | 2520 for try_dash_r in "-R" "-R " "-rpath "; do |
2513 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2521 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2514 | 2522 |
2523 esac | 2531 esac |
2524 shift | 2532 shift |
2525 done | 2533 done |
2526 fi | 2534 fi |
2527 cat > conftest.$ac_ext <<EOF | 2535 cat > conftest.$ac_ext <<EOF |
2528 #line 2529 "configure" | 2536 #line 2537 "configure" |
2529 #include "confdefs.h" | 2537 #include "confdefs.h" |
2530 | 2538 |
2531 int main() { | 2539 int main() { |
2532 | 2540 |
2533 ; return 0; } | 2541 ; return 0; } |
2534 EOF | 2542 EOF |
2535 if { (eval echo configure:2536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2543 if { (eval echo configure:2544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2536 rm -rf conftest* | 2544 rm -rf conftest* |
2537 dash_r="$try_dash_r" | 2545 dash_r="$try_dash_r" |
2538 else | 2546 else |
2539 echo "configure: failed program was:" >&5 | 2547 echo "configure: failed program was:" >&5 |
2540 cat conftest.$ac_ext >&5 | 2548 cat conftest.$ac_ext >&5 |
2631 else | 2639 else |
2632 doug_lea_malloc=no | 2640 doug_lea_malloc=no |
2633 fi | 2641 fi |
2634 after_morecore_hook_exists=yes | 2642 after_morecore_hook_exists=yes |
2635 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2643 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2636 echo "configure:2637: checking for malloc_get_state" >&5 | 2644 echo "configure:2645: checking for malloc_get_state" >&5 |
2637 | 2645 |
2638 cat > conftest.$ac_ext <<EOF | 2646 cat > conftest.$ac_ext <<EOF |
2639 #line 2640 "configure" | 2647 #line 2648 "configure" |
2640 #include "confdefs.h" | 2648 #include "confdefs.h" |
2641 /* System header to define __stub macros and hopefully few prototypes, | 2649 /* System header to define __stub macros and hopefully few prototypes, |
2642 which can conflict with char malloc_get_state(); below. */ | 2650 which can conflict with char malloc_get_state(); below. */ |
2643 #include <assert.h> | 2651 #include <assert.h> |
2644 /* Override any gcc2 internal prototype to avoid an error. */ | 2652 /* Override any gcc2 internal prototype to avoid an error. */ |
2657 malloc_get_state(); | 2665 malloc_get_state(); |
2658 #endif | 2666 #endif |
2659 | 2667 |
2660 ; return 0; } | 2668 ; return 0; } |
2661 EOF | 2669 EOF |
2662 if { (eval echo configure:2663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2670 if { (eval echo configure:2671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2663 rm -rf conftest* | 2671 rm -rf conftest* |
2664 eval "ac_cv_func_malloc_get_state=yes" | 2672 eval "ac_cv_func_malloc_get_state=yes" |
2665 else | 2673 else |
2666 echo "configure: failed program was:" >&5 | 2674 echo "configure: failed program was:" >&5 |
2667 cat conftest.$ac_ext >&5 | 2675 cat conftest.$ac_ext >&5 |
2677 echo "$ac_t""no" 1>&6 | 2685 echo "$ac_t""no" 1>&6 |
2678 doug_lea_malloc=no | 2686 doug_lea_malloc=no |
2679 fi | 2687 fi |
2680 | 2688 |
2681 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2689 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2682 echo "configure:2683: checking for malloc_set_state" >&5 | 2690 echo "configure:2691: checking for malloc_set_state" >&5 |
2683 | 2691 |
2684 cat > conftest.$ac_ext <<EOF | 2692 cat > conftest.$ac_ext <<EOF |
2685 #line 2686 "configure" | 2693 #line 2694 "configure" |
2686 #include "confdefs.h" | 2694 #include "confdefs.h" |
2687 /* System header to define __stub macros and hopefully few prototypes, | 2695 /* System header to define __stub macros and hopefully few prototypes, |
2688 which can conflict with char malloc_set_state(); below. */ | 2696 which can conflict with char malloc_set_state(); below. */ |
2689 #include <assert.h> | 2697 #include <assert.h> |
2690 /* Override any gcc2 internal prototype to avoid an error. */ | 2698 /* Override any gcc2 internal prototype to avoid an error. */ |
2703 malloc_set_state(); | 2711 malloc_set_state(); |
2704 #endif | 2712 #endif |
2705 | 2713 |
2706 ; return 0; } | 2714 ; return 0; } |
2707 EOF | 2715 EOF |
2708 if { (eval echo configure:2709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2716 if { (eval echo configure:2717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2709 rm -rf conftest* | 2717 rm -rf conftest* |
2710 eval "ac_cv_func_malloc_set_state=yes" | 2718 eval "ac_cv_func_malloc_set_state=yes" |
2711 else | 2719 else |
2712 echo "configure: failed program was:" >&5 | 2720 echo "configure: failed program was:" >&5 |
2713 cat conftest.$ac_ext >&5 | 2721 cat conftest.$ac_ext >&5 |
2723 echo "$ac_t""no" 1>&6 | 2731 echo "$ac_t""no" 1>&6 |
2724 doug_lea_malloc=no | 2732 doug_lea_malloc=no |
2725 fi | 2733 fi |
2726 | 2734 |
2727 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2735 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
2728 echo "configure:2729: checking whether __after_morecore_hook exists" >&5 | 2736 echo "configure:2737: checking whether __after_morecore_hook exists" >&5 |
2729 cat > conftest.$ac_ext <<EOF | 2737 cat > conftest.$ac_ext <<EOF |
2730 #line 2731 "configure" | 2738 #line 2739 "configure" |
2731 #include "confdefs.h" | 2739 #include "confdefs.h" |
2732 extern void (* __after_morecore_hook)(); | 2740 extern void (* __after_morecore_hook)(); |
2733 int main() { | 2741 int main() { |
2734 __after_morecore_hook = 0 | 2742 __after_morecore_hook = 0 |
2735 ; return 0; } | 2743 ; return 0; } |
2736 EOF | 2744 EOF |
2737 if { (eval echo configure:2738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2745 if { (eval echo configure:2746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2738 rm -rf conftest* | 2746 rm -rf conftest* |
2739 echo "$ac_t""yes" 1>&6 | 2747 echo "$ac_t""yes" 1>&6 |
2740 else | 2748 else |
2741 echo "configure: failed program was:" >&5 | 2749 echo "configure: failed program was:" >&5 |
2742 cat conftest.$ac_ext >&5 | 2750 cat conftest.$ac_ext >&5 |
2791 | 2799 |
2792 | 2800 |
2793 # Extract the first word of "ranlib", so it can be a program name with args. | 2801 # Extract the first word of "ranlib", so it can be a program name with args. |
2794 set dummy ranlib; ac_word=$2 | 2802 set dummy ranlib; ac_word=$2 |
2795 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2803 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2796 echo "configure:2797: checking for $ac_word" >&5 | 2804 echo "configure:2805: checking for $ac_word" >&5 |
2797 | 2805 |
2798 if test -n "$RANLIB"; then | 2806 if test -n "$RANLIB"; then |
2799 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2807 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2800 else | 2808 else |
2801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2809 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2844 # AIX /bin/install | 2852 # AIX /bin/install |
2845 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2853 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2846 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2854 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2847 # ./install, which can be erroneously created by make from ./install.sh. | 2855 # ./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 | 2856 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2849 echo "configure:2850: checking for a BSD compatible install" >&5 | 2857 echo "configure:2858: checking for a BSD compatible install" >&5 |
2850 if test -z "$INSTALL"; then | 2858 if test -z "$INSTALL"; then |
2851 | 2859 |
2852 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2860 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2853 for ac_dir in $PATH; do | 2861 for ac_dir in $PATH; do |
2854 # Account for people who put trailing slashes in PATH elements. | 2862 # Account for people who put trailing slashes in PATH elements. |
2895 for ac_prog in 'bison -y' byacc | 2903 for ac_prog in 'bison -y' byacc |
2896 do | 2904 do |
2897 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2905 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2898 set dummy $ac_prog; ac_word=$2 | 2906 set dummy $ac_prog; ac_word=$2 |
2899 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2907 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2900 echo "configure:2901: checking for $ac_word" >&5 | 2908 echo "configure:2909: checking for $ac_word" >&5 |
2901 | 2909 |
2902 if test -n "$YACC"; then | 2910 if test -n "$YACC"; then |
2903 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2911 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2904 else | 2912 else |
2905 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2913 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2926 | 2934 |
2927 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2935 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2928 do | 2936 do |
2929 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2937 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2930 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2938 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2931 echo "configure:2932: checking for $ac_hdr" >&5 | 2939 echo "configure:2940: checking for $ac_hdr" >&5 |
2932 | 2940 |
2933 cat > conftest.$ac_ext <<EOF | 2941 cat > conftest.$ac_ext <<EOF |
2934 #line 2935 "configure" | 2942 #line 2943 "configure" |
2935 #include "confdefs.h" | 2943 #include "confdefs.h" |
2936 #include <$ac_hdr> | 2944 #include <$ac_hdr> |
2937 EOF | 2945 EOF |
2938 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2946 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; } | 2947 { (eval echo configure:2948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2940 ac_err=`grep -v '^ *+' conftest.out` | 2948 ac_err=`grep -v '^ *+' conftest.out` |
2941 if test -z "$ac_err"; then | 2949 if test -z "$ac_err"; then |
2942 rm -rf conftest* | 2950 rm -rf conftest* |
2943 eval "ac_cv_header_$ac_safe=yes" | 2951 eval "ac_cv_header_$ac_safe=yes" |
2944 else | 2952 else |
2963 else | 2971 else |
2964 echo "$ac_t""no" 1>&6 | 2972 echo "$ac_t""no" 1>&6 |
2965 fi | 2973 fi |
2966 done | 2974 done |
2967 | 2975 |
2968 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin32/version.h | 2976 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h |
2969 do | 2977 do |
2970 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2978 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2971 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2979 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2972 echo "configure:2973: checking for $ac_hdr" >&5 | 2980 echo "configure:2981: checking for $ac_hdr" >&5 |
2973 | 2981 |
2974 cat > conftest.$ac_ext <<EOF | 2982 cat > conftest.$ac_ext <<EOF |
2975 #line 2976 "configure" | 2983 #line 2984 "configure" |
2976 #include "confdefs.h" | 2984 #include "confdefs.h" |
2977 #include <$ac_hdr> | 2985 #include <$ac_hdr> |
2978 EOF | 2986 EOF |
2979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2987 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; } | 2988 { (eval echo configure:2989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2981 ac_err=`grep -v '^ *+' conftest.out` | 2989 ac_err=`grep -v '^ *+' conftest.out` |
2982 if test -z "$ac_err"; then | 2990 if test -z "$ac_err"; then |
2983 rm -rf conftest* | 2991 rm -rf conftest* |
2984 eval "ac_cv_header_$ac_safe=yes" | 2992 eval "ac_cv_header_$ac_safe=yes" |
2985 else | 2993 else |
3008 | 3016 |
3009 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 3017 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
3010 do | 3018 do |
3011 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3019 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3012 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3020 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3013 echo "configure:3014: checking for $ac_hdr" >&5 | 3021 echo "configure:3022: checking for $ac_hdr" >&5 |
3014 | 3022 |
3015 cat > conftest.$ac_ext <<EOF | 3023 cat > conftest.$ac_ext <<EOF |
3016 #line 3017 "configure" | 3024 #line 3025 "configure" |
3017 #include "confdefs.h" | 3025 #include "confdefs.h" |
3018 #include <$ac_hdr> | 3026 #include <$ac_hdr> |
3019 EOF | 3027 EOF |
3020 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3028 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; } | 3029 { (eval echo configure:3030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3022 ac_err=`grep -v '^ *+' conftest.out` | 3030 ac_err=`grep -v '^ *+' conftest.out` |
3023 if test -z "$ac_err"; then | 3031 if test -z "$ac_err"; then |
3024 rm -rf conftest* | 3032 rm -rf conftest* |
3025 eval "ac_cv_header_$ac_safe=yes" | 3033 eval "ac_cv_header_$ac_safe=yes" |
3026 else | 3034 else |
3046 echo "$ac_t""no" 1>&6 | 3054 echo "$ac_t""no" 1>&6 |
3047 fi | 3055 fi |
3048 done | 3056 done |
3049 | 3057 |
3050 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3058 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 | 3059 echo "configure:3060: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3052 | 3060 |
3053 cat > conftest.$ac_ext <<EOF | 3061 cat > conftest.$ac_ext <<EOF |
3054 #line 3055 "configure" | 3062 #line 3063 "configure" |
3055 #include "confdefs.h" | 3063 #include "confdefs.h" |
3056 #include <sys/types.h> | 3064 #include <sys/types.h> |
3057 #include <sys/wait.h> | 3065 #include <sys/wait.h> |
3058 #ifndef WEXITSTATUS | 3066 #ifndef WEXITSTATUS |
3059 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3067 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3065 int s; | 3073 int s; |
3066 wait (&s); | 3074 wait (&s); |
3067 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3075 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3068 ; return 0; } | 3076 ; return 0; } |
3069 EOF | 3077 EOF |
3070 if { (eval echo configure:3071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3078 if { (eval echo configure:3079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3071 rm -rf conftest* | 3079 rm -rf conftest* |
3072 ac_cv_header_sys_wait_h=yes | 3080 ac_cv_header_sys_wait_h=yes |
3073 else | 3081 else |
3074 echo "configure: failed program was:" >&5 | 3082 echo "configure: failed program was:" >&5 |
3075 cat conftest.$ac_ext >&5 | 3083 cat conftest.$ac_ext >&5 |
3089 } | 3097 } |
3090 | 3098 |
3091 fi | 3099 fi |
3092 | 3100 |
3093 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3101 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3094 echo "configure:3095: checking for ANSI C header files" >&5 | 3102 echo "configure:3103: checking for ANSI C header files" >&5 |
3095 | 3103 |
3096 cat > conftest.$ac_ext <<EOF | 3104 cat > conftest.$ac_ext <<EOF |
3097 #line 3098 "configure" | 3105 #line 3106 "configure" |
3098 #include "confdefs.h" | 3106 #include "confdefs.h" |
3099 #include <stdlib.h> | 3107 #include <stdlib.h> |
3100 #include <stdarg.h> | 3108 #include <stdarg.h> |
3101 #include <string.h> | 3109 #include <string.h> |
3102 #include <float.h> | 3110 #include <float.h> |
3103 EOF | 3111 EOF |
3104 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3112 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; } | 3113 { (eval echo configure:3114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3106 ac_err=`grep -v '^ *+' conftest.out` | 3114 ac_err=`grep -v '^ *+' conftest.out` |
3107 if test -z "$ac_err"; then | 3115 if test -z "$ac_err"; then |
3108 rm -rf conftest* | 3116 rm -rf conftest* |
3109 ac_cv_header_stdc=yes | 3117 ac_cv_header_stdc=yes |
3110 else | 3118 else |
3117 rm -f conftest* | 3125 rm -f conftest* |
3118 | 3126 |
3119 if test $ac_cv_header_stdc = yes; then | 3127 if test $ac_cv_header_stdc = yes; then |
3120 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3128 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3121 cat > conftest.$ac_ext <<EOF | 3129 cat > conftest.$ac_ext <<EOF |
3122 #line 3123 "configure" | 3130 #line 3131 "configure" |
3123 #include "confdefs.h" | 3131 #include "confdefs.h" |
3124 #include <string.h> | 3132 #include <string.h> |
3125 EOF | 3133 EOF |
3126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3127 egrep "memchr" >/dev/null 2>&1; then | 3135 egrep "memchr" >/dev/null 2>&1; then |
3135 fi | 3143 fi |
3136 | 3144 |
3137 if test $ac_cv_header_stdc = yes; then | 3145 if test $ac_cv_header_stdc = yes; then |
3138 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3146 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3139 cat > conftest.$ac_ext <<EOF | 3147 cat > conftest.$ac_ext <<EOF |
3140 #line 3141 "configure" | 3148 #line 3149 "configure" |
3141 #include "confdefs.h" | 3149 #include "confdefs.h" |
3142 #include <stdlib.h> | 3150 #include <stdlib.h> |
3143 EOF | 3151 EOF |
3144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3145 egrep "free" >/dev/null 2>&1; then | 3153 egrep "free" >/dev/null 2>&1; then |
3153 fi | 3161 fi |
3154 | 3162 |
3155 if test $ac_cv_header_stdc = yes; then | 3163 if test $ac_cv_header_stdc = yes; then |
3156 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3164 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3157 cat > conftest.$ac_ext <<EOF | 3165 cat > conftest.$ac_ext <<EOF |
3158 #line 3159 "configure" | 3166 #line 3167 "configure" |
3159 #include "confdefs.h" | 3167 #include "confdefs.h" |
3160 #include <ctype.h> | 3168 #include <ctype.h> |
3161 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3169 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3162 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3170 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3163 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3171 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3164 int main () { int i; for (i = 0; i < 256; i++) | 3172 int main () { int i; for (i = 0; i < 256; i++) |
3165 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3173 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3166 exit (0); } | 3174 exit (0); } |
3167 | 3175 |
3168 EOF | 3176 EOF |
3169 if { (eval echo configure:3170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3177 if { (eval echo configure:3178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3170 then | 3178 then |
3171 : | 3179 : |
3172 else | 3180 else |
3173 conftest_rc="$?" | 3181 conftest_rc="$?" |
3174 echo "configure: failed program was:" >&5 | 3182 echo "configure: failed program was:" >&5 |
3190 } | 3198 } |
3191 | 3199 |
3192 fi | 3200 fi |
3193 | 3201 |
3194 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3202 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 | 3203 echo "configure:3204: checking whether time.h and sys/time.h may both be included" >&5 |
3196 | 3204 |
3197 cat > conftest.$ac_ext <<EOF | 3205 cat > conftest.$ac_ext <<EOF |
3198 #line 3199 "configure" | 3206 #line 3207 "configure" |
3199 #include "confdefs.h" | 3207 #include "confdefs.h" |
3200 #include <sys/types.h> | 3208 #include <sys/types.h> |
3201 #include <sys/time.h> | 3209 #include <sys/time.h> |
3202 #include <time.h> | 3210 #include <time.h> |
3203 int main() { | 3211 int main() { |
3204 struct tm *tp; | 3212 struct tm *tp; |
3205 ; return 0; } | 3213 ; return 0; } |
3206 EOF | 3214 EOF |
3207 if { (eval echo configure:3208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3215 if { (eval echo configure:3216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3208 rm -rf conftest* | 3216 rm -rf conftest* |
3209 ac_cv_header_time=yes | 3217 ac_cv_header_time=yes |
3210 else | 3218 else |
3211 echo "configure: failed program was:" >&5 | 3219 echo "configure: failed program was:" >&5 |
3212 cat conftest.$ac_ext >&5 | 3220 cat conftest.$ac_ext >&5 |
3226 } | 3234 } |
3227 | 3235 |
3228 fi | 3236 fi |
3229 | 3237 |
3230 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3238 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 | 3239 echo "configure:3240: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3232 | 3240 |
3233 cat > conftest.$ac_ext <<EOF | 3241 cat > conftest.$ac_ext <<EOF |
3234 #line 3235 "configure" | 3242 #line 3243 "configure" |
3235 #include "confdefs.h" | 3243 #include "confdefs.h" |
3236 #include <sys/types.h> | 3244 #include <sys/types.h> |
3237 #include <signal.h> | 3245 #include <signal.h> |
3238 /* NetBSD declares sys_siglist in unistd.h. */ | 3246 /* NetBSD declares sys_siglist in unistd.h. */ |
3239 #ifdef HAVE_UNISTD_H | 3247 #ifdef HAVE_UNISTD_H |
3241 #endif | 3249 #endif |
3242 int main() { | 3250 int main() { |
3243 char *msg = *(sys_siglist + 1); | 3251 char *msg = *(sys_siglist + 1); |
3244 ; return 0; } | 3252 ; return 0; } |
3245 EOF | 3253 EOF |
3246 if { (eval echo configure:3247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3254 if { (eval echo configure:3255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3247 rm -rf conftest* | 3255 rm -rf conftest* |
3248 ac_cv_decl_sys_siglist=yes | 3256 ac_cv_decl_sys_siglist=yes |
3249 else | 3257 else |
3250 echo "configure: failed program was:" >&5 | 3258 echo "configure: failed program was:" >&5 |
3251 cat conftest.$ac_ext >&5 | 3259 cat conftest.$ac_ext >&5 |
3266 | 3274 |
3267 fi | 3275 fi |
3268 | 3276 |
3269 | 3277 |
3270 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3278 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3271 echo "configure:3272: checking for struct utimbuf" >&5 | 3279 echo "configure:3280: checking for struct utimbuf" >&5 |
3272 cat > conftest.$ac_ext <<EOF | 3280 cat > conftest.$ac_ext <<EOF |
3273 #line 3274 "configure" | 3281 #line 3282 "configure" |
3274 #include "confdefs.h" | 3282 #include "confdefs.h" |
3275 #ifdef TIME_WITH_SYS_TIME | 3283 #ifdef TIME_WITH_SYS_TIME |
3276 #include <sys/time.h> | 3284 #include <sys/time.h> |
3277 #include <time.h> | 3285 #include <time.h> |
3278 #else | 3286 #else |
3287 #endif | 3295 #endif |
3288 int main() { | 3296 int main() { |
3289 static struct utimbuf x; x.actime = x.modtime; | 3297 static struct utimbuf x; x.actime = x.modtime; |
3290 ; return 0; } | 3298 ; return 0; } |
3291 EOF | 3299 EOF |
3292 if { (eval echo configure:3293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3300 if { (eval echo configure:3301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3293 rm -rf conftest* | 3301 rm -rf conftest* |
3294 echo "$ac_t""yes" 1>&6 | 3302 echo "$ac_t""yes" 1>&6 |
3295 { test "$extra_verbose" = "yes" && cat << \EOF | 3303 { test "$extra_verbose" = "yes" && cat << \EOF |
3296 Defining HAVE_STRUCT_UTIMBUF | 3304 Defining HAVE_STRUCT_UTIMBUF |
3297 EOF | 3305 EOF |
3307 echo "$ac_t""no" 1>&6 | 3315 echo "$ac_t""no" 1>&6 |
3308 fi | 3316 fi |
3309 rm -f conftest* | 3317 rm -f conftest* |
3310 | 3318 |
3311 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3319 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3312 echo "configure:3313: checking return type of signal handlers" >&5 | 3320 echo "configure:3321: checking return type of signal handlers" >&5 |
3313 | 3321 |
3314 cat > conftest.$ac_ext <<EOF | 3322 cat > conftest.$ac_ext <<EOF |
3315 #line 3316 "configure" | 3323 #line 3324 "configure" |
3316 #include "confdefs.h" | 3324 #include "confdefs.h" |
3317 #include <sys/types.h> | 3325 #include <sys/types.h> |
3318 #include <signal.h> | 3326 #include <signal.h> |
3319 #ifdef signal | 3327 #ifdef signal |
3320 #undef signal | 3328 #undef signal |
3327 | 3335 |
3328 int main() { | 3336 int main() { |
3329 int i; | 3337 int i; |
3330 ; return 0; } | 3338 ; return 0; } |
3331 EOF | 3339 EOF |
3332 if { (eval echo configure:3333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3340 if { (eval echo configure:3341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3333 rm -rf conftest* | 3341 rm -rf conftest* |
3334 ac_cv_type_signal=void | 3342 ac_cv_type_signal=void |
3335 else | 3343 else |
3336 echo "configure: failed program was:" >&5 | 3344 echo "configure: failed program was:" >&5 |
3337 cat conftest.$ac_ext >&5 | 3345 cat conftest.$ac_ext >&5 |
3349 EOF | 3357 EOF |
3350 } | 3358 } |
3351 | 3359 |
3352 | 3360 |
3353 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3361 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3354 echo "configure:3355: checking for size_t" >&5 | 3362 echo "configure:3363: checking for size_t" >&5 |
3355 | 3363 |
3356 cat > conftest.$ac_ext <<EOF | 3364 cat > conftest.$ac_ext <<EOF |
3357 #line 3358 "configure" | 3365 #line 3366 "configure" |
3358 #include "confdefs.h" | 3366 #include "confdefs.h" |
3359 #include <sys/types.h> | 3367 #include <sys/types.h> |
3360 #if STDC_HEADERS | 3368 #if STDC_HEADERS |
3361 #include <stdlib.h> | 3369 #include <stdlib.h> |
3362 #include <stddef.h> | 3370 #include <stddef.h> |
3383 } | 3391 } |
3384 | 3392 |
3385 fi | 3393 fi |
3386 | 3394 |
3387 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3395 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3388 echo "configure:3389: checking for pid_t" >&5 | 3396 echo "configure:3397: checking for pid_t" >&5 |
3389 | 3397 |
3390 cat > conftest.$ac_ext <<EOF | 3398 cat > conftest.$ac_ext <<EOF |
3391 #line 3392 "configure" | 3399 #line 3400 "configure" |
3392 #include "confdefs.h" | 3400 #include "confdefs.h" |
3393 #include <sys/types.h> | 3401 #include <sys/types.h> |
3394 #if STDC_HEADERS | 3402 #if STDC_HEADERS |
3395 #include <stdlib.h> | 3403 #include <stdlib.h> |
3396 #include <stddef.h> | 3404 #include <stddef.h> |
3417 } | 3425 } |
3418 | 3426 |
3419 fi | 3427 fi |
3420 | 3428 |
3421 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3429 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 | 3430 echo "configure:3431: checking for uid_t in sys/types.h" >&5 |
3423 | 3431 |
3424 cat > conftest.$ac_ext <<EOF | 3432 cat > conftest.$ac_ext <<EOF |
3425 #line 3426 "configure" | 3433 #line 3434 "configure" |
3426 #include "confdefs.h" | 3434 #include "confdefs.h" |
3427 #include <sys/types.h> | 3435 #include <sys/types.h> |
3428 EOF | 3436 EOF |
3429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3430 egrep "uid_t" >/dev/null 2>&1; then | 3438 egrep "uid_t" >/dev/null 2>&1; then |
3456 } | 3464 } |
3457 | 3465 |
3458 fi | 3466 fi |
3459 | 3467 |
3460 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3468 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3461 echo "configure:3462: checking for mode_t" >&5 | 3469 echo "configure:3470: checking for mode_t" >&5 |
3462 | 3470 |
3463 cat > conftest.$ac_ext <<EOF | 3471 cat > conftest.$ac_ext <<EOF |
3464 #line 3465 "configure" | 3472 #line 3473 "configure" |
3465 #include "confdefs.h" | 3473 #include "confdefs.h" |
3466 #include <sys/types.h> | 3474 #include <sys/types.h> |
3467 #if STDC_HEADERS | 3475 #if STDC_HEADERS |
3468 #include <stdlib.h> | 3476 #include <stdlib.h> |
3469 #include <stddef.h> | 3477 #include <stddef.h> |
3490 } | 3498 } |
3491 | 3499 |
3492 fi | 3500 fi |
3493 | 3501 |
3494 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3502 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3495 echo "configure:3496: checking for off_t" >&5 | 3503 echo "configure:3504: checking for off_t" >&5 |
3496 | 3504 |
3497 cat > conftest.$ac_ext <<EOF | 3505 cat > conftest.$ac_ext <<EOF |
3498 #line 3499 "configure" | 3506 #line 3507 "configure" |
3499 #include "confdefs.h" | 3507 #include "confdefs.h" |
3500 #include <sys/types.h> | 3508 #include <sys/types.h> |
3501 #if STDC_HEADERS | 3509 #if STDC_HEADERS |
3502 #include <stdlib.h> | 3510 #include <stdlib.h> |
3503 #include <stddef.h> | 3511 #include <stddef.h> |
3525 | 3533 |
3526 fi | 3534 fi |
3527 | 3535 |
3528 | 3536 |
3529 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3537 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3530 echo "configure:3531: checking for struct timeval" >&5 | 3538 echo "configure:3539: checking for struct timeval" >&5 |
3531 cat > conftest.$ac_ext <<EOF | 3539 cat > conftest.$ac_ext <<EOF |
3532 #line 3533 "configure" | 3540 #line 3541 "configure" |
3533 #include "confdefs.h" | 3541 #include "confdefs.h" |
3534 #ifdef TIME_WITH_SYS_TIME | 3542 #ifdef TIME_WITH_SYS_TIME |
3535 #include <sys/time.h> | 3543 #include <sys/time.h> |
3536 #include <time.h> | 3544 #include <time.h> |
3537 #else | 3545 #else |
3543 #endif | 3551 #endif |
3544 int main() { | 3552 int main() { |
3545 static struct timeval x; x.tv_sec = x.tv_usec; | 3553 static struct timeval x; x.tv_sec = x.tv_usec; |
3546 ; return 0; } | 3554 ; return 0; } |
3547 EOF | 3555 EOF |
3548 if { (eval echo configure:3549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3556 if { (eval echo configure:3557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3549 rm -rf conftest* | 3557 rm -rf conftest* |
3550 echo "$ac_t""yes" 1>&6 | 3558 echo "$ac_t""yes" 1>&6 |
3551 HAVE_TIMEVAL=yes | 3559 HAVE_TIMEVAL=yes |
3552 { test "$extra_verbose" = "yes" && cat << \EOF | 3560 { test "$extra_verbose" = "yes" && cat << \EOF |
3553 Defining HAVE_TIMEVAL | 3561 Defining HAVE_TIMEVAL |
3565 HAVE_TIMEVAL=no | 3573 HAVE_TIMEVAL=no |
3566 fi | 3574 fi |
3567 rm -f conftest* | 3575 rm -f conftest* |
3568 | 3576 |
3569 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3577 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 | 3578 echo "configure:3579: checking whether struct tm is in sys/time.h or time.h" >&5 |
3571 | 3579 |
3572 cat > conftest.$ac_ext <<EOF | 3580 cat > conftest.$ac_ext <<EOF |
3573 #line 3574 "configure" | 3581 #line 3582 "configure" |
3574 #include "confdefs.h" | 3582 #include "confdefs.h" |
3575 #include <sys/types.h> | 3583 #include <sys/types.h> |
3576 #include <time.h> | 3584 #include <time.h> |
3577 int main() { | 3585 int main() { |
3578 struct tm *tp; tp->tm_sec; | 3586 struct tm *tp; tp->tm_sec; |
3579 ; return 0; } | 3587 ; return 0; } |
3580 EOF | 3588 EOF |
3581 if { (eval echo configure:3582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3589 if { (eval echo configure:3590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3582 rm -rf conftest* | 3590 rm -rf conftest* |
3583 ac_cv_struct_tm=time.h | 3591 ac_cv_struct_tm=time.h |
3584 else | 3592 else |
3585 echo "configure: failed program was:" >&5 | 3593 echo "configure: failed program was:" >&5 |
3586 cat conftest.$ac_ext >&5 | 3594 cat conftest.$ac_ext >&5 |
3600 } | 3608 } |
3601 | 3609 |
3602 fi | 3610 fi |
3603 | 3611 |
3604 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3612 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 | 3613 echo "configure:3614: checking for tm_zone in struct tm" >&5 |
3606 | 3614 |
3607 cat > conftest.$ac_ext <<EOF | 3615 cat > conftest.$ac_ext <<EOF |
3608 #line 3609 "configure" | 3616 #line 3617 "configure" |
3609 #include "confdefs.h" | 3617 #include "confdefs.h" |
3610 #include <sys/types.h> | 3618 #include <sys/types.h> |
3611 #include <$ac_cv_struct_tm> | 3619 #include <$ac_cv_struct_tm> |
3612 int main() { | 3620 int main() { |
3613 struct tm tm; tm.tm_zone; | 3621 struct tm tm; tm.tm_zone; |
3614 ; return 0; } | 3622 ; return 0; } |
3615 EOF | 3623 EOF |
3616 if { (eval echo configure:3617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3624 if { (eval echo configure:3625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3617 rm -rf conftest* | 3625 rm -rf conftest* |
3618 ac_cv_struct_tm_zone=yes | 3626 ac_cv_struct_tm_zone=yes |
3619 else | 3627 else |
3620 echo "configure: failed program was:" >&5 | 3628 echo "configure: failed program was:" >&5 |
3621 cat conftest.$ac_ext >&5 | 3629 cat conftest.$ac_ext >&5 |
3634 EOF | 3642 EOF |
3635 } | 3643 } |
3636 | 3644 |
3637 else | 3645 else |
3638 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3646 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3639 echo "configure:3640: checking for tzname" >&5 | 3647 echo "configure:3648: checking for tzname" >&5 |
3640 | 3648 |
3641 cat > conftest.$ac_ext <<EOF | 3649 cat > conftest.$ac_ext <<EOF |
3642 #line 3643 "configure" | 3650 #line 3651 "configure" |
3643 #include "confdefs.h" | 3651 #include "confdefs.h" |
3644 #include <time.h> | 3652 #include <time.h> |
3645 #ifndef tzname /* For SGI. */ | 3653 #ifndef tzname /* For SGI. */ |
3646 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3654 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3647 #endif | 3655 #endif |
3648 int main() { | 3656 int main() { |
3649 atoi(*tzname); | 3657 atoi(*tzname); |
3650 ; return 0; } | 3658 ; return 0; } |
3651 EOF | 3659 EOF |
3652 if { (eval echo configure:3653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3660 if { (eval echo configure:3661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3653 rm -rf conftest* | 3661 rm -rf conftest* |
3654 ac_cv_var_tzname=yes | 3662 ac_cv_var_tzname=yes |
3655 else | 3663 else |
3656 echo "configure: failed program was:" >&5 | 3664 echo "configure: failed program was:" >&5 |
3657 cat conftest.$ac_ext >&5 | 3665 cat conftest.$ac_ext >&5 |
3673 fi | 3681 fi |
3674 fi | 3682 fi |
3675 | 3683 |
3676 | 3684 |
3677 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3685 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3678 echo "configure:3679: checking for working const" >&5 | 3686 echo "configure:3687: checking for working const" >&5 |
3679 | 3687 |
3680 cat > conftest.$ac_ext <<EOF | 3688 cat > conftest.$ac_ext <<EOF |
3681 #line 3682 "configure" | 3689 #line 3690 "configure" |
3682 #include "confdefs.h" | 3690 #include "confdefs.h" |
3683 | 3691 |
3684 int main() { | 3692 int main() { |
3685 | 3693 |
3686 /* Ultrix mips cc rejects this. */ | 3694 /* Ultrix mips cc rejects this. */ |
3725 const int foo = 10; | 3733 const int foo = 10; |
3726 } | 3734 } |
3727 | 3735 |
3728 ; return 0; } | 3736 ; return 0; } |
3729 EOF | 3737 EOF |
3730 if { (eval echo configure:3731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3738 if { (eval echo configure:3739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3731 rm -rf conftest* | 3739 rm -rf conftest* |
3732 ac_cv_c_const=yes | 3740 ac_cv_c_const=yes |
3733 else | 3741 else |
3734 echo "configure: failed program was:" >&5 | 3742 echo "configure: failed program was:" >&5 |
3735 cat conftest.$ac_ext >&5 | 3743 cat conftest.$ac_ext >&5 |
3750 | 3758 |
3751 fi | 3759 fi |
3752 | 3760 |
3753 | 3761 |
3754 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3762 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3755 echo "configure:3756: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3763 echo "configure:3764: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3756 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3764 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3757 | 3765 |
3758 cat > conftestmake <<\EOF | 3766 cat > conftestmake <<\EOF |
3759 all: | 3767 all: |
3760 @echo 'ac_maketemp="${MAKE}"' | 3768 @echo 'ac_maketemp="${MAKE}"' |
3775 SET_MAKE="MAKE=${MAKE-make}" | 3783 SET_MAKE="MAKE=${MAKE-make}" |
3776 fi | 3784 fi |
3777 | 3785 |
3778 | 3786 |
3779 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3787 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3780 echo "configure:3781: checking whether byte ordering is bigendian" >&5 | 3788 echo "configure:3789: checking whether byte ordering is bigendian" >&5 |
3781 | 3789 |
3782 ac_cv_c_bigendian=unknown | 3790 ac_cv_c_bigendian=unknown |
3783 # See if sys/param.h defines the BYTE_ORDER macro. | 3791 # See if sys/param.h defines the BYTE_ORDER macro. |
3784 cat > conftest.$ac_ext <<EOF | 3792 cat > conftest.$ac_ext <<EOF |
3785 #line 3786 "configure" | 3793 #line 3794 "configure" |
3786 #include "confdefs.h" | 3794 #include "confdefs.h" |
3787 #include <sys/types.h> | 3795 #include <sys/types.h> |
3788 #include <sys/param.h> | 3796 #include <sys/param.h> |
3789 int main() { | 3797 int main() { |
3790 | 3798 |
3791 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3799 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3792 bogus endian macros | 3800 bogus endian macros |
3793 #endif | 3801 #endif |
3794 ; return 0; } | 3802 ; return 0; } |
3795 EOF | 3803 EOF |
3796 if { (eval echo configure:3797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3804 if { (eval echo configure:3805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3797 rm -rf conftest* | 3805 rm -rf conftest* |
3798 # It does; now see whether it defined to BIG_ENDIAN or not. | 3806 # It does; now see whether it defined to BIG_ENDIAN or not. |
3799 cat > conftest.$ac_ext <<EOF | 3807 cat > conftest.$ac_ext <<EOF |
3800 #line 3801 "configure" | 3808 #line 3809 "configure" |
3801 #include "confdefs.h" | 3809 #include "confdefs.h" |
3802 #include <sys/types.h> | 3810 #include <sys/types.h> |
3803 #include <sys/param.h> | 3811 #include <sys/param.h> |
3804 int main() { | 3812 int main() { |
3805 | 3813 |
3806 #if BYTE_ORDER != BIG_ENDIAN | 3814 #if BYTE_ORDER != BIG_ENDIAN |
3807 not big endian | 3815 not big endian |
3808 #endif | 3816 #endif |
3809 ; return 0; } | 3817 ; return 0; } |
3810 EOF | 3818 EOF |
3811 if { (eval echo configure:3812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3819 if { (eval echo configure:3820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3812 rm -rf conftest* | 3820 rm -rf conftest* |
3813 ac_cv_c_bigendian=yes | 3821 ac_cv_c_bigendian=yes |
3814 else | 3822 else |
3815 echo "configure: failed program was:" >&5 | 3823 echo "configure: failed program was:" >&5 |
3816 cat conftest.$ac_ext >&5 | 3824 cat conftest.$ac_ext >&5 |
3823 cat conftest.$ac_ext >&5 | 3831 cat conftest.$ac_ext >&5 |
3824 fi | 3832 fi |
3825 rm -f conftest* | 3833 rm -f conftest* |
3826 if test $ac_cv_c_bigendian = unknown; then | 3834 if test $ac_cv_c_bigendian = unknown; then |
3827 cat > conftest.$ac_ext <<EOF | 3835 cat > conftest.$ac_ext <<EOF |
3828 #line 3829 "configure" | 3836 #line 3837 "configure" |
3829 #include "confdefs.h" | 3837 #include "confdefs.h" |
3830 main () { | 3838 main () { |
3831 /* Are we little or big endian? From Harbison&Steele. */ | 3839 /* Are we little or big endian? From Harbison&Steele. */ |
3832 union | 3840 union |
3833 { | 3841 { |
3836 } u; | 3844 } u; |
3837 u.l = 1; | 3845 u.l = 1; |
3838 exit (u.c[sizeof (long) - 1] == 1); | 3846 exit (u.c[sizeof (long) - 1] == 1); |
3839 } | 3847 } |
3840 EOF | 3848 EOF |
3841 if { (eval echo configure:3842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3849 if { (eval echo configure:3850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3842 then | 3850 then |
3843 ac_cv_c_bigendian=no | 3851 ac_cv_c_bigendian=no |
3844 else | 3852 else |
3845 conftest_rc="$?" | 3853 conftest_rc="$?" |
3846 echo "configure: failed program was:" >&5 | 3854 echo "configure: failed program was:" >&5 |
3863 | 3871 |
3864 fi | 3872 fi |
3865 | 3873 |
3866 | 3874 |
3867 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3875 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3868 echo "configure:3869: checking size of short" >&5 | 3876 echo "configure:3877: checking size of short" >&5 |
3869 | 3877 |
3870 cat > conftest.$ac_ext <<EOF | 3878 cat > conftest.$ac_ext <<EOF |
3871 #line 3872 "configure" | 3879 #line 3880 "configure" |
3872 #include "confdefs.h" | 3880 #include "confdefs.h" |
3873 #include <stdio.h> | 3881 #include <stdio.h> |
3874 main() | 3882 main() |
3875 { | 3883 { |
3876 FILE *f=fopen("conftestval", "w"); | 3884 FILE *f=fopen("conftestval", "w"); |
3877 if (!f) exit(1); | 3885 if (!f) exit(1); |
3878 fprintf(f, "%d\n", sizeof(short)); | 3886 fprintf(f, "%d\n", sizeof(short)); |
3879 exit(0); | 3887 exit(0); |
3880 } | 3888 } |
3881 EOF | 3889 EOF |
3882 if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3890 if { (eval echo configure:3891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3883 then | 3891 then |
3884 ac_cv_sizeof_short=`cat conftestval` | 3892 ac_cv_sizeof_short=`cat conftestval` |
3885 else | 3893 else |
3886 conftest_rc="$?" | 3894 conftest_rc="$?" |
3887 echo "configure: failed program was:" >&5 | 3895 echo "configure: failed program was:" >&5 |
3905 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3913 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3906 echo "*** PANIC *** Please examine config.log for compilation errors." | 3914 echo "*** PANIC *** Please examine config.log for compilation errors." |
3907 exit 1 | 3915 exit 1 |
3908 fi | 3916 fi |
3909 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3917 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3910 echo "configure:3911: checking size of int" >&5 | 3918 echo "configure:3919: checking size of int" >&5 |
3911 | 3919 |
3912 cat > conftest.$ac_ext <<EOF | 3920 cat > conftest.$ac_ext <<EOF |
3913 #line 3914 "configure" | 3921 #line 3922 "configure" |
3914 #include "confdefs.h" | 3922 #include "confdefs.h" |
3915 #include <stdio.h> | 3923 #include <stdio.h> |
3916 main() | 3924 main() |
3917 { | 3925 { |
3918 FILE *f=fopen("conftestval", "w"); | 3926 FILE *f=fopen("conftestval", "w"); |
3919 if (!f) exit(1); | 3927 if (!f) exit(1); |
3920 fprintf(f, "%d\n", sizeof(int)); | 3928 fprintf(f, "%d\n", sizeof(int)); |
3921 exit(0); | 3929 exit(0); |
3922 } | 3930 } |
3923 EOF | 3931 EOF |
3924 if { (eval echo configure:3925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3932 if { (eval echo configure:3933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3925 then | 3933 then |
3926 ac_cv_sizeof_int=`cat conftestval` | 3934 ac_cv_sizeof_int=`cat conftestval` |
3927 else | 3935 else |
3928 conftest_rc="$?" | 3936 conftest_rc="$?" |
3929 echo "configure: failed program was:" >&5 | 3937 echo "configure: failed program was:" >&5 |
3941 EOF | 3949 EOF |
3942 } | 3950 } |
3943 | 3951 |
3944 | 3952 |
3945 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3953 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3946 echo "configure:3947: checking size of long" >&5 | 3954 echo "configure:3955: checking size of long" >&5 |
3947 | 3955 |
3948 cat > conftest.$ac_ext <<EOF | 3956 cat > conftest.$ac_ext <<EOF |
3949 #line 3950 "configure" | 3957 #line 3958 "configure" |
3950 #include "confdefs.h" | 3958 #include "confdefs.h" |
3951 #include <stdio.h> | 3959 #include <stdio.h> |
3952 main() | 3960 main() |
3953 { | 3961 { |
3954 FILE *f=fopen("conftestval", "w"); | 3962 FILE *f=fopen("conftestval", "w"); |
3955 if (!f) exit(1); | 3963 if (!f) exit(1); |
3956 fprintf(f, "%d\n", sizeof(long)); | 3964 fprintf(f, "%d\n", sizeof(long)); |
3957 exit(0); | 3965 exit(0); |
3958 } | 3966 } |
3959 EOF | 3967 EOF |
3960 if { (eval echo configure:3961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3968 if { (eval echo configure:3969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3961 then | 3969 then |
3962 ac_cv_sizeof_long=`cat conftestval` | 3970 ac_cv_sizeof_long=`cat conftestval` |
3963 else | 3971 else |
3964 conftest_rc="$?" | 3972 conftest_rc="$?" |
3965 echo "configure: failed program was:" >&5 | 3973 echo "configure: failed program was:" >&5 |
3977 EOF | 3985 EOF |
3978 } | 3986 } |
3979 | 3987 |
3980 | 3988 |
3981 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3989 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3982 echo "configure:3983: checking size of long long" >&5 | 3990 echo "configure:3991: checking size of long long" >&5 |
3983 | 3991 |
3984 cat > conftest.$ac_ext <<EOF | 3992 cat > conftest.$ac_ext <<EOF |
3985 #line 3986 "configure" | 3993 #line 3994 "configure" |
3986 #include "confdefs.h" | 3994 #include "confdefs.h" |
3987 #include <stdio.h> | 3995 #include <stdio.h> |
3988 main() | 3996 main() |
3989 { | 3997 { |
3990 FILE *f=fopen("conftestval", "w"); | 3998 FILE *f=fopen("conftestval", "w"); |
3991 if (!f) exit(1); | 3999 if (!f) exit(1); |
3992 fprintf(f, "%d\n", sizeof(long long)); | 4000 fprintf(f, "%d\n", sizeof(long long)); |
3993 exit(0); | 4001 exit(0); |
3994 } | 4002 } |
3995 EOF | 4003 EOF |
3996 if { (eval echo configure:3997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4004 if { (eval echo configure:4005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3997 then | 4005 then |
3998 ac_cv_sizeof_long_long=`cat conftestval` | 4006 ac_cv_sizeof_long_long=`cat conftestval` |
3999 else | 4007 else |
4000 conftest_rc="$?" | 4008 conftest_rc="$?" |
4001 echo "configure: failed program was:" >&5 | 4009 echo "configure: failed program was:" >&5 |
4013 EOF | 4021 EOF |
4014 } | 4022 } |
4015 | 4023 |
4016 | 4024 |
4017 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4025 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4018 echo "configure:4019: checking size of void *" >&5 | 4026 echo "configure:4027: checking size of void *" >&5 |
4019 | 4027 |
4020 cat > conftest.$ac_ext <<EOF | 4028 cat > conftest.$ac_ext <<EOF |
4021 #line 4022 "configure" | 4029 #line 4030 "configure" |
4022 #include "confdefs.h" | 4030 #include "confdefs.h" |
4023 #include <stdio.h> | 4031 #include <stdio.h> |
4024 main() | 4032 main() |
4025 { | 4033 { |
4026 FILE *f=fopen("conftestval", "w"); | 4034 FILE *f=fopen("conftestval", "w"); |
4027 if (!f) exit(1); | 4035 if (!f) exit(1); |
4028 fprintf(f, "%d\n", sizeof(void *)); | 4036 fprintf(f, "%d\n", sizeof(void *)); |
4029 exit(0); | 4037 exit(0); |
4030 } | 4038 } |
4031 EOF | 4039 EOF |
4032 if { (eval echo configure:4033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4040 if { (eval echo configure:4041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4033 then | 4041 then |
4034 ac_cv_sizeof_void_p=`cat conftestval` | 4042 ac_cv_sizeof_void_p=`cat conftestval` |
4035 else | 4043 else |
4036 conftest_rc="$?" | 4044 conftest_rc="$?" |
4037 echo "configure: failed program was:" >&5 | 4045 echo "configure: failed program was:" >&5 |
4050 } | 4058 } |
4051 | 4059 |
4052 | 4060 |
4053 | 4061 |
4054 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4062 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4055 echo "configure:4056: checking for long file names" >&5 | 4063 echo "configure:4064: checking for long file names" >&5 |
4056 | 4064 |
4057 ac_cv_sys_long_file_names=yes | 4065 ac_cv_sys_long_file_names=yes |
4058 # Test for long file names in all the places we know might matter: | 4066 # Test for long file names in all the places we know might matter: |
4059 # . the current directory, where building will happen | 4067 # . the current directory, where building will happen |
4060 # $prefix/lib where we will be installing things | 4068 # $prefix/lib where we will be installing things |
4097 fi | 4105 fi |
4098 | 4106 |
4099 | 4107 |
4100 | 4108 |
4101 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4109 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4102 echo "configure:4103: checking for sin in -lm" >&5 | 4110 echo "configure:4111: checking for sin in -lm" >&5 |
4103 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4111 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4104 | 4112 |
4105 xe_check_libs=" -lm " | 4113 xe_check_libs=" -lm " |
4106 cat > conftest.$ac_ext <<EOF | 4114 cat > conftest.$ac_ext <<EOF |
4107 #line 4108 "configure" | 4115 #line 4116 "configure" |
4108 #include "confdefs.h" | 4116 #include "confdefs.h" |
4109 /* Override any gcc2 internal prototype to avoid an error. */ | 4117 /* Override any gcc2 internal prototype to avoid an error. */ |
4110 /* We use char because int might match the return type of a gcc2 | 4118 /* We use char because int might match the return type of a gcc2 |
4111 builtin and then its argument prototype would still apply. */ | 4119 builtin and then its argument prototype would still apply. */ |
4112 char sin(); | 4120 char sin(); |
4113 | 4121 |
4114 int main() { | 4122 int main() { |
4115 sin() | 4123 sin() |
4116 ; return 0; } | 4124 ; return 0; } |
4117 EOF | 4125 EOF |
4118 if { (eval echo configure:4119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4126 if { (eval echo configure:4127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4119 rm -rf conftest* | 4127 rm -rf conftest* |
4120 eval "ac_cv_lib_$ac_lib_var=yes" | 4128 eval "ac_cv_lib_$ac_lib_var=yes" |
4121 else | 4129 else |
4122 echo "configure: failed program was:" >&5 | 4130 echo "configure: failed program was:" >&5 |
4123 cat conftest.$ac_ext >&5 | 4131 cat conftest.$ac_ext >&5 |
4155 EOF | 4163 EOF |
4156 } | 4164 } |
4157 | 4165 |
4158 | 4166 |
4159 cat > conftest.$ac_ext <<EOF | 4167 cat > conftest.$ac_ext <<EOF |
4160 #line 4161 "configure" | 4168 #line 4169 "configure" |
4161 #include "confdefs.h" | 4169 #include "confdefs.h" |
4162 #include <math.h> | 4170 #include <math.h> |
4163 int main() { | 4171 int main() { |
4164 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4172 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4165 ; return 0; } | 4173 ; return 0; } |
4166 EOF | 4174 EOF |
4167 if { (eval echo configure:4168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4175 if { (eval echo configure:4176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4168 rm -rf conftest* | 4176 rm -rf conftest* |
4169 { test "$extra_verbose" = "yes" && cat << \EOF | 4177 { test "$extra_verbose" = "yes" && cat << \EOF |
4170 Defining HAVE_INVERSE_HYPERBOLIC | 4178 Defining HAVE_INVERSE_HYPERBOLIC |
4171 EOF | 4179 EOF |
4172 cat >> confdefs.h <<\EOF | 4180 cat >> confdefs.h <<\EOF |
4179 cat conftest.$ac_ext >&5 | 4187 cat conftest.$ac_ext >&5 |
4180 fi | 4188 fi |
4181 rm -f conftest* | 4189 rm -f conftest* |
4182 | 4190 |
4183 echo "checking type of mail spool file locking" 1>&6 | 4191 echo "checking type of mail spool file locking" 1>&6 |
4184 echo "configure:4185: checking type of mail spool file locking" >&5 | 4192 echo "configure:4193: checking type of mail spool file locking" >&5 |
4185 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4193 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 | 4194 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 | 4195 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
4188 Defining REAL_MAIL_USE_LOCKF | 4196 Defining REAL_MAIL_USE_LOCKF |
4189 EOF | 4197 EOF |
4203 else mail_locking="dot-locking" | 4211 else mail_locking="dot-locking" |
4204 fi | 4212 fi |
4205 | 4213 |
4206 | 4214 |
4207 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 4215 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
4208 echo "configure:4209: checking for kstat_open in -lkstat" >&5 | 4216 echo "configure:4217: checking for kstat_open in -lkstat" >&5 |
4209 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 4217 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
4210 | 4218 |
4211 xe_check_libs=" -lkstat " | 4219 xe_check_libs=" -lkstat " |
4212 cat > conftest.$ac_ext <<EOF | 4220 cat > conftest.$ac_ext <<EOF |
4213 #line 4214 "configure" | 4221 #line 4222 "configure" |
4214 #include "confdefs.h" | 4222 #include "confdefs.h" |
4215 /* Override any gcc2 internal prototype to avoid an error. */ | 4223 /* Override any gcc2 internal prototype to avoid an error. */ |
4216 /* We use char because int might match the return type of a gcc2 | 4224 /* We use char because int might match the return type of a gcc2 |
4217 builtin and then its argument prototype would still apply. */ | 4225 builtin and then its argument prototype would still apply. */ |
4218 char kstat_open(); | 4226 char kstat_open(); |
4219 | 4227 |
4220 int main() { | 4228 int main() { |
4221 kstat_open() | 4229 kstat_open() |
4222 ; return 0; } | 4230 ; return 0; } |
4223 EOF | 4231 EOF |
4224 if { (eval echo configure:4225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4232 if { (eval echo configure:4233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4225 rm -rf conftest* | 4233 rm -rf conftest* |
4226 eval "ac_cv_lib_$ac_lib_var=yes" | 4234 eval "ac_cv_lib_$ac_lib_var=yes" |
4227 else | 4235 else |
4228 echo "configure: failed program was:" >&5 | 4236 echo "configure: failed program was:" >&5 |
4229 cat conftest.$ac_ext >&5 | 4237 cat conftest.$ac_ext >&5 |
4253 | 4261 |
4254 | 4262 |
4255 | 4263 |
4256 | 4264 |
4257 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4265 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
4258 echo "configure:4259: checking for kvm_read in -lkvm" >&5 | 4266 echo "configure:4267: checking for kvm_read in -lkvm" >&5 |
4259 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4267 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
4260 | 4268 |
4261 xe_check_libs=" -lkvm " | 4269 xe_check_libs=" -lkvm " |
4262 cat > conftest.$ac_ext <<EOF | 4270 cat > conftest.$ac_ext <<EOF |
4263 #line 4264 "configure" | 4271 #line 4272 "configure" |
4264 #include "confdefs.h" | 4272 #include "confdefs.h" |
4265 /* Override any gcc2 internal prototype to avoid an error. */ | 4273 /* Override any gcc2 internal prototype to avoid an error. */ |
4266 /* We use char because int might match the return type of a gcc2 | 4274 /* We use char because int might match the return type of a gcc2 |
4267 builtin and then its argument prototype would still apply. */ | 4275 builtin and then its argument prototype would still apply. */ |
4268 char kvm_read(); | 4276 char kvm_read(); |
4269 | 4277 |
4270 int main() { | 4278 int main() { |
4271 kvm_read() | 4279 kvm_read() |
4272 ; return 0; } | 4280 ; return 0; } |
4273 EOF | 4281 EOF |
4274 if { (eval echo configure:4275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4282 if { (eval echo configure:4283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4275 rm -rf conftest* | 4283 rm -rf conftest* |
4276 eval "ac_cv_lib_$ac_lib_var=yes" | 4284 eval "ac_cv_lib_$ac_lib_var=yes" |
4277 else | 4285 else |
4278 echo "configure: failed program was:" >&5 | 4286 echo "configure: failed program was:" >&5 |
4279 cat conftest.$ac_ext >&5 | 4287 cat conftest.$ac_ext >&5 |
4304 | 4312 |
4305 | 4313 |
4306 case "$opsys" in decosf*) | 4314 case "$opsys" in decosf*) |
4307 | 4315 |
4308 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4316 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4309 echo "configure:4310: checking for cma_open in -lpthreads" >&5 | 4317 echo "configure:4318: checking for cma_open in -lpthreads" >&5 |
4310 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4318 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4311 | 4319 |
4312 xe_check_libs=" -lpthreads " | 4320 xe_check_libs=" -lpthreads " |
4313 cat > conftest.$ac_ext <<EOF | 4321 cat > conftest.$ac_ext <<EOF |
4314 #line 4315 "configure" | 4322 #line 4323 "configure" |
4315 #include "confdefs.h" | 4323 #include "confdefs.h" |
4316 /* Override any gcc2 internal prototype to avoid an error. */ | 4324 /* Override any gcc2 internal prototype to avoid an error. */ |
4317 /* We use char because int might match the return type of a gcc2 | 4325 /* We use char because int might match the return type of a gcc2 |
4318 builtin and then its argument prototype would still apply. */ | 4326 builtin and then its argument prototype would still apply. */ |
4319 char cma_open(); | 4327 char cma_open(); |
4320 | 4328 |
4321 int main() { | 4329 int main() { |
4322 cma_open() | 4330 cma_open() |
4323 ; return 0; } | 4331 ; return 0; } |
4324 EOF | 4332 EOF |
4325 if { (eval echo configure:4326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4333 if { (eval echo configure:4334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4326 rm -rf conftest* | 4334 rm -rf conftest* |
4327 eval "ac_cv_lib_$ac_lib_var=yes" | 4335 eval "ac_cv_lib_$ac_lib_var=yes" |
4328 else | 4336 else |
4329 echo "configure: failed program was:" >&5 | 4337 echo "configure: failed program was:" >&5 |
4330 cat conftest.$ac_ext >&5 | 4338 cat conftest.$ac_ext >&5 |
4356 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4364 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4357 c_switch_site="$c_switch_site -threads" ;; | 4365 c_switch_site="$c_switch_site -threads" ;; |
4358 esac | 4366 esac |
4359 | 4367 |
4360 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4368 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 | 4369 echo "configure:4370: 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 | 4370 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 ; | 4371 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4364 then echo "$ac_t""no" 1>&6; | 4372 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 | 4373 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 | 4374 fi |
4367 else echo "$ac_t""no" 1>&6 | 4375 else echo "$ac_t""no" 1>&6 |
4368 fi | 4376 fi |
4369 | 4377 |
4370 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4378 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4371 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4379 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4372 echo "configure:4373: checking for \"-z ignore\" linker flag" >&5 | 4380 echo "configure:4381: checking for \"-z ignore\" linker flag" >&5 |
4373 case "`ld -h 2>&1`" in | 4381 case "`ld -h 2>&1`" in |
4374 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4382 *-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 ;; | 4383 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 ;; | 4384 *) echo "$ac_t""no" 1>&6 ;; |
4377 esac | 4385 esac |
4378 fi | 4386 fi |
4379 | 4387 |
4380 | 4388 |
4381 echo "checking "for specified window system"" 1>&6 | 4389 echo "checking "for specified window system"" 1>&6 |
4382 echo "configure:4383: checking "for specified window system"" >&5 | 4390 echo "configure:4391: checking "for specified window system"" >&5 |
4383 | 4391 |
4384 if test "$with_x11" != "no"; then | 4392 if test "$with_x11" != "no"; then |
4385 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4393 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4386 window_system=x11 with_x11=yes | 4394 window_system=x11 with_x11=yes |
4387 | 4395 |
4410 # If we find X, set shell vars x_includes and x_libraries to the | 4418 # If we find X, set shell vars x_includes and x_libraries to the |
4411 # paths, otherwise set no_x=yes. | 4419 # paths, otherwise set no_x=yes. |
4412 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4420 # 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. | 4421 # --without-x overrides everything else, but does not touch the cache. |
4414 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4422 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4415 echo "configure:4416: checking for X" >&5 | 4423 echo "configure:4424: checking for X" >&5 |
4416 | 4424 |
4417 # Check whether --with-x or --without-x was given. | 4425 # Check whether --with-x or --without-x was given. |
4418 if test "${with_x+set}" = set; then | 4426 if test "${with_x+set}" = set; then |
4419 withval="$with_x" | 4427 withval="$with_x" |
4420 : | 4428 : |
4470 # Guess where to find include files, by looking for this one X11 .h file. | 4478 # 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 | 4479 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4472 | 4480 |
4473 # First, try using that file with no special directory specified. | 4481 # First, try using that file with no special directory specified. |
4474 cat > conftest.$ac_ext <<EOF | 4482 cat > conftest.$ac_ext <<EOF |
4475 #line 4476 "configure" | 4483 #line 4484 "configure" |
4476 #include "confdefs.h" | 4484 #include "confdefs.h" |
4477 #include <$x_direct_test_include> | 4485 #include <$x_direct_test_include> |
4478 EOF | 4486 EOF |
4479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4487 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; } | 4488 { (eval echo configure:4489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4481 ac_err=`grep -v '^ *+' conftest.out` | 4489 ac_err=`grep -v '^ *+' conftest.out` |
4482 if test -z "$ac_err"; then | 4490 if test -z "$ac_err"; then |
4483 rm -rf conftest* | 4491 rm -rf conftest* |
4484 # We can compile using X headers with no special include directory. | 4492 # We can compile using X headers with no special include directory. |
4485 ac_x_includes= | 4493 ac_x_includes= |
4544 # See if we find them without any special options. | 4552 # See if we find them without any special options. |
4545 # Don't add to $LIBS permanently. | 4553 # Don't add to $LIBS permanently. |
4546 ac_save_LIBS="$LIBS" | 4554 ac_save_LIBS="$LIBS" |
4547 LIBS="-l$x_direct_test_library $LIBS" | 4555 LIBS="-l$x_direct_test_library $LIBS" |
4548 cat > conftest.$ac_ext <<EOF | 4556 cat > conftest.$ac_ext <<EOF |
4549 #line 4550 "configure" | 4557 #line 4558 "configure" |
4550 #include "confdefs.h" | 4558 #include "confdefs.h" |
4551 | 4559 |
4552 int main() { | 4560 int main() { |
4553 ${x_direct_test_function}() | 4561 ${x_direct_test_function}() |
4554 ; return 0; } | 4562 ; return 0; } |
4555 EOF | 4563 EOF |
4556 if { (eval echo configure:4557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4564 if { (eval echo configure:4565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4557 rm -rf conftest* | 4565 rm -rf conftest* |
4558 LIBS="$ac_save_LIBS" | 4566 LIBS="$ac_save_LIBS" |
4559 # We can link X programs with no special library path. | 4567 # We can link X programs with no special library path. |
4560 ac_x_libraries= | 4568 ac_x_libraries= |
4561 else | 4569 else |
4660 # For Solaris; some versions of Sun CC require a space after -R and | 4668 # For Solaris; some versions of Sun CC require a space after -R and |
4661 # others require no space. Words are not sufficient . . . . | 4669 # others require no space. Words are not sufficient . . . . |
4662 case "`(uname -sr) 2>/dev/null`" in | 4670 case "`(uname -sr) 2>/dev/null`" in |
4663 "SunOS 5"*) | 4671 "SunOS 5"*) |
4664 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4672 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 | 4673 echo "configure:4674: checking whether -R must be followed by a space" >&5 |
4666 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4674 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4667 cat > conftest.$ac_ext <<EOF | 4675 cat > conftest.$ac_ext <<EOF |
4668 #line 4669 "configure" | 4676 #line 4677 "configure" |
4669 #include "confdefs.h" | 4677 #include "confdefs.h" |
4670 | 4678 |
4671 int main() { | 4679 int main() { |
4672 | 4680 |
4673 ; return 0; } | 4681 ; return 0; } |
4674 EOF | 4682 EOF |
4675 if { (eval echo configure:4676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4683 if { (eval echo configure:4684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4676 rm -rf conftest* | 4684 rm -rf conftest* |
4677 ac_R_nospace=yes | 4685 ac_R_nospace=yes |
4678 else | 4686 else |
4679 echo "configure: failed program was:" >&5 | 4687 echo "configure: failed program was:" >&5 |
4680 cat conftest.$ac_ext >&5 | 4688 cat conftest.$ac_ext >&5 |
4686 echo "$ac_t""no" 1>&6 | 4694 echo "$ac_t""no" 1>&6 |
4687 X_LIBS="$X_LIBS -R$x_libraries" | 4695 X_LIBS="$X_LIBS -R$x_libraries" |
4688 else | 4696 else |
4689 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4697 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4690 cat > conftest.$ac_ext <<EOF | 4698 cat > conftest.$ac_ext <<EOF |
4691 #line 4692 "configure" | 4699 #line 4700 "configure" |
4692 #include "confdefs.h" | 4700 #include "confdefs.h" |
4693 | 4701 |
4694 int main() { | 4702 int main() { |
4695 | 4703 |
4696 ; return 0; } | 4704 ; return 0; } |
4697 EOF | 4705 EOF |
4698 if { (eval echo configure:4699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4706 if { (eval echo configure:4707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4699 rm -rf conftest* | 4707 rm -rf conftest* |
4700 ac_R_space=yes | 4708 ac_R_space=yes |
4701 else | 4709 else |
4702 echo "configure: failed program was:" >&5 | 4710 echo "configure: failed program was:" >&5 |
4703 cat conftest.$ac_ext >&5 | 4711 cat conftest.$ac_ext >&5 |
4729 if test "$with_dnet" = "no" ; then | 4737 if test "$with_dnet" = "no" ; then |
4730 ac_cv_lib_dnet_dnet_ntoa=no | 4738 ac_cv_lib_dnet_dnet_ntoa=no |
4731 else | 4739 else |
4732 | 4740 |
4733 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4741 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4734 echo "configure:4735: checking for dnet_ntoa in -ldnet" >&5 | 4742 echo "configure:4743: checking for dnet_ntoa in -ldnet" >&5 |
4735 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4743 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4736 | 4744 |
4737 xe_check_libs=" -ldnet " | 4745 xe_check_libs=" -ldnet " |
4738 cat > conftest.$ac_ext <<EOF | 4746 cat > conftest.$ac_ext <<EOF |
4739 #line 4740 "configure" | 4747 #line 4748 "configure" |
4740 #include "confdefs.h" | 4748 #include "confdefs.h" |
4741 /* Override any gcc2 internal prototype to avoid an error. */ | 4749 /* Override any gcc2 internal prototype to avoid an error. */ |
4742 /* We use char because int might match the return type of a gcc2 | 4750 /* We use char because int might match the return type of a gcc2 |
4743 builtin and then its argument prototype would still apply. */ | 4751 builtin and then its argument prototype would still apply. */ |
4744 char dnet_ntoa(); | 4752 char dnet_ntoa(); |
4745 | 4753 |
4746 int main() { | 4754 int main() { |
4747 dnet_ntoa() | 4755 dnet_ntoa() |
4748 ; return 0; } | 4756 ; return 0; } |
4749 EOF | 4757 EOF |
4750 if { (eval echo configure:4751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4758 if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4751 rm -rf conftest* | 4759 rm -rf conftest* |
4752 eval "ac_cv_lib_$ac_lib_var=yes" | 4760 eval "ac_cv_lib_$ac_lib_var=yes" |
4753 else | 4761 else |
4754 echo "configure: failed program was:" >&5 | 4762 echo "configure: failed program was:" >&5 |
4755 cat conftest.$ac_ext >&5 | 4763 cat conftest.$ac_ext >&5 |
4769 fi | 4777 fi |
4770 | 4778 |
4771 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4779 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4772 | 4780 |
4773 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4781 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 | 4782 echo "configure:4783: checking for dnet_ntoa in -ldnet_stub" >&5 |
4775 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4783 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4776 | 4784 |
4777 xe_check_libs=" -ldnet_stub " | 4785 xe_check_libs=" -ldnet_stub " |
4778 cat > conftest.$ac_ext <<EOF | 4786 cat > conftest.$ac_ext <<EOF |
4779 #line 4780 "configure" | 4787 #line 4788 "configure" |
4780 #include "confdefs.h" | 4788 #include "confdefs.h" |
4781 /* Override any gcc2 internal prototype to avoid an error. */ | 4789 /* Override any gcc2 internal prototype to avoid an error. */ |
4782 /* We use char because int might match the return type of a gcc2 | 4790 /* We use char because int might match the return type of a gcc2 |
4783 builtin and then its argument prototype would still apply. */ | 4791 builtin and then its argument prototype would still apply. */ |
4784 char dnet_ntoa(); | 4792 char dnet_ntoa(); |
4785 | 4793 |
4786 int main() { | 4794 int main() { |
4787 dnet_ntoa() | 4795 dnet_ntoa() |
4788 ; return 0; } | 4796 ; return 0; } |
4789 EOF | 4797 EOF |
4790 if { (eval echo configure:4791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4798 if { (eval echo configure:4799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4791 rm -rf conftest* | 4799 rm -rf conftest* |
4792 eval "ac_cv_lib_$ac_lib_var=yes" | 4800 eval "ac_cv_lib_$ac_lib_var=yes" |
4793 else | 4801 else |
4794 echo "configure: failed program was:" >&5 | 4802 echo "configure: failed program was:" >&5 |
4795 cat conftest.$ac_ext >&5 | 4803 cat conftest.$ac_ext >&5 |
4814 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4822 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4815 # needs -lnsl. | 4823 # needs -lnsl. |
4816 # The nsl library prevents programs from opening the X display | 4824 # The nsl library prevents programs from opening the X display |
4817 # on Irix 5.2, according to dickey@clark.net. | 4825 # on Irix 5.2, according to dickey@clark.net. |
4818 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4826 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4819 echo "configure:4820: checking for gethostbyname" >&5 | 4827 echo "configure:4828: checking for gethostbyname" >&5 |
4820 | 4828 |
4821 cat > conftest.$ac_ext <<EOF | 4829 cat > conftest.$ac_ext <<EOF |
4822 #line 4823 "configure" | 4830 #line 4831 "configure" |
4823 #include "confdefs.h" | 4831 #include "confdefs.h" |
4824 /* System header to define __stub macros and hopefully few prototypes, | 4832 /* System header to define __stub macros and hopefully few prototypes, |
4825 which can conflict with char gethostbyname(); below. */ | 4833 which can conflict with char gethostbyname(); below. */ |
4826 #include <assert.h> | 4834 #include <assert.h> |
4827 /* Override any gcc2 internal prototype to avoid an error. */ | 4835 /* Override any gcc2 internal prototype to avoid an error. */ |
4840 gethostbyname(); | 4848 gethostbyname(); |
4841 #endif | 4849 #endif |
4842 | 4850 |
4843 ; return 0; } | 4851 ; return 0; } |
4844 EOF | 4852 EOF |
4845 if { (eval echo configure:4846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4853 if { (eval echo configure:4854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4846 rm -rf conftest* | 4854 rm -rf conftest* |
4847 eval "ac_cv_func_gethostbyname=yes" | 4855 eval "ac_cv_func_gethostbyname=yes" |
4848 else | 4856 else |
4849 echo "configure: failed program was:" >&5 | 4857 echo "configure: failed program was:" >&5 |
4850 cat conftest.$ac_ext >&5 | 4858 cat conftest.$ac_ext >&5 |
4861 fi | 4869 fi |
4862 | 4870 |
4863 if test $ac_cv_func_gethostbyname = no; then | 4871 if test $ac_cv_func_gethostbyname = no; then |
4864 | 4872 |
4865 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4873 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4866 echo "configure:4867: checking for gethostbyname in -lnsl" >&5 | 4874 echo "configure:4875: checking for gethostbyname in -lnsl" >&5 |
4867 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4875 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4868 | 4876 |
4869 xe_check_libs=" -lnsl " | 4877 xe_check_libs=" -lnsl " |
4870 cat > conftest.$ac_ext <<EOF | 4878 cat > conftest.$ac_ext <<EOF |
4871 #line 4872 "configure" | 4879 #line 4880 "configure" |
4872 #include "confdefs.h" | 4880 #include "confdefs.h" |
4873 /* Override any gcc2 internal prototype to avoid an error. */ | 4881 /* Override any gcc2 internal prototype to avoid an error. */ |
4874 /* We use char because int might match the return type of a gcc2 | 4882 /* We use char because int might match the return type of a gcc2 |
4875 builtin and then its argument prototype would still apply. */ | 4883 builtin and then its argument prototype would still apply. */ |
4876 char gethostbyname(); | 4884 char gethostbyname(); |
4877 | 4885 |
4878 int main() { | 4886 int main() { |
4879 gethostbyname() | 4887 gethostbyname() |
4880 ; return 0; } | 4888 ; return 0; } |
4881 EOF | 4889 EOF |
4882 if { (eval echo configure:4883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4890 if { (eval echo configure:4891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4883 rm -rf conftest* | 4891 rm -rf conftest* |
4884 eval "ac_cv_lib_$ac_lib_var=yes" | 4892 eval "ac_cv_lib_$ac_lib_var=yes" |
4885 else | 4893 else |
4886 echo "configure: failed program was:" >&5 | 4894 echo "configure: failed program was:" >&5 |
4887 cat conftest.$ac_ext >&5 | 4895 cat conftest.$ac_ext >&5 |
4907 # on later versions), says simon@lia.di.epfl.ch: it contains | 4915 # on later versions), says simon@lia.di.epfl.ch: it contains |
4908 # gethostby* variants that don't use the nameserver (or something). | 4916 # gethostby* variants that don't use the nameserver (or something). |
4909 # -lsocket must be given before -lnsl if both are needed. | 4917 # -lsocket must be given before -lnsl if both are needed. |
4910 # We assume that if connect needs -lnsl, so does gethostbyname. | 4918 # We assume that if connect needs -lnsl, so does gethostbyname. |
4911 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4919 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4912 echo "configure:4913: checking for connect" >&5 | 4920 echo "configure:4921: checking for connect" >&5 |
4913 | 4921 |
4914 cat > conftest.$ac_ext <<EOF | 4922 cat > conftest.$ac_ext <<EOF |
4915 #line 4916 "configure" | 4923 #line 4924 "configure" |
4916 #include "confdefs.h" | 4924 #include "confdefs.h" |
4917 /* System header to define __stub macros and hopefully few prototypes, | 4925 /* System header to define __stub macros and hopefully few prototypes, |
4918 which can conflict with char connect(); below. */ | 4926 which can conflict with char connect(); below. */ |
4919 #include <assert.h> | 4927 #include <assert.h> |
4920 /* Override any gcc2 internal prototype to avoid an error. */ | 4928 /* Override any gcc2 internal prototype to avoid an error. */ |
4933 connect(); | 4941 connect(); |
4934 #endif | 4942 #endif |
4935 | 4943 |
4936 ; return 0; } | 4944 ; return 0; } |
4937 EOF | 4945 EOF |
4938 if { (eval echo configure:4939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4946 if { (eval echo configure:4947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4939 rm -rf conftest* | 4947 rm -rf conftest* |
4940 eval "ac_cv_func_connect=yes" | 4948 eval "ac_cv_func_connect=yes" |
4941 else | 4949 else |
4942 echo "configure: failed program was:" >&5 | 4950 echo "configure: failed program was:" >&5 |
4943 cat conftest.$ac_ext >&5 | 4951 cat conftest.$ac_ext >&5 |
4956 if test $ac_cv_func_connect = no; then | 4964 if test $ac_cv_func_connect = no; then |
4957 | 4965 |
4958 xe_msg_checking="for connect in -lsocket" | 4966 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" | 4967 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 | 4968 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4961 echo "configure:4962: checking "$xe_msg_checking"" >&5 | 4969 echo "configure:4970: checking "$xe_msg_checking"" >&5 |
4962 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4970 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4963 | 4971 |
4964 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4972 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4965 cat > conftest.$ac_ext <<EOF | 4973 cat > conftest.$ac_ext <<EOF |
4966 #line 4967 "configure" | 4974 #line 4975 "configure" |
4967 #include "confdefs.h" | 4975 #include "confdefs.h" |
4968 /* Override any gcc2 internal prototype to avoid an error. */ | 4976 /* Override any gcc2 internal prototype to avoid an error. */ |
4969 /* We use char because int might match the return type of a gcc2 | 4977 /* We use char because int might match the return type of a gcc2 |
4970 builtin and then its argument prototype would still apply. */ | 4978 builtin and then its argument prototype would still apply. */ |
4971 char connect(); | 4979 char connect(); |
4972 | 4980 |
4973 int main() { | 4981 int main() { |
4974 connect() | 4982 connect() |
4975 ; return 0; } | 4983 ; return 0; } |
4976 EOF | 4984 EOF |
4977 if { (eval echo configure:4978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4985 if { (eval echo configure:4986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4978 rm -rf conftest* | 4986 rm -rf conftest* |
4979 eval "ac_cv_lib_$ac_lib_var=yes" | 4987 eval "ac_cv_lib_$ac_lib_var=yes" |
4980 else | 4988 else |
4981 echo "configure: failed program was:" >&5 | 4989 echo "configure: failed program was:" >&5 |
4982 cat conftest.$ac_ext >&5 | 4990 cat conftest.$ac_ext >&5 |
4996 | 5004 |
4997 fi | 5005 fi |
4998 | 5006 |
4999 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5007 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
5000 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5008 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
5001 echo "configure:5002: checking for remove" >&5 | 5009 echo "configure:5010: checking for remove" >&5 |
5002 | 5010 |
5003 cat > conftest.$ac_ext <<EOF | 5011 cat > conftest.$ac_ext <<EOF |
5004 #line 5005 "configure" | 5012 #line 5013 "configure" |
5005 #include "confdefs.h" | 5013 #include "confdefs.h" |
5006 /* System header to define __stub macros and hopefully few prototypes, | 5014 /* System header to define __stub macros and hopefully few prototypes, |
5007 which can conflict with char remove(); below. */ | 5015 which can conflict with char remove(); below. */ |
5008 #include <assert.h> | 5016 #include <assert.h> |
5009 /* Override any gcc2 internal prototype to avoid an error. */ | 5017 /* Override any gcc2 internal prototype to avoid an error. */ |
5022 remove(); | 5030 remove(); |
5023 #endif | 5031 #endif |
5024 | 5032 |
5025 ; return 0; } | 5033 ; return 0; } |
5026 EOF | 5034 EOF |
5027 if { (eval echo configure:5028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5035 if { (eval echo configure:5036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5028 rm -rf conftest* | 5036 rm -rf conftest* |
5029 eval "ac_cv_func_remove=yes" | 5037 eval "ac_cv_func_remove=yes" |
5030 else | 5038 else |
5031 echo "configure: failed program was:" >&5 | 5039 echo "configure: failed program was:" >&5 |
5032 cat conftest.$ac_ext >&5 | 5040 cat conftest.$ac_ext >&5 |
5043 fi | 5051 fi |
5044 | 5052 |
5045 if test $ac_cv_func_remove = no; then | 5053 if test $ac_cv_func_remove = no; then |
5046 | 5054 |
5047 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5055 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
5048 echo "configure:5049: checking for remove in -lposix" >&5 | 5056 echo "configure:5057: checking for remove in -lposix" >&5 |
5049 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5057 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
5050 | 5058 |
5051 xe_check_libs=" -lposix " | 5059 xe_check_libs=" -lposix " |
5052 cat > conftest.$ac_ext <<EOF | 5060 cat > conftest.$ac_ext <<EOF |
5053 #line 5054 "configure" | 5061 #line 5062 "configure" |
5054 #include "confdefs.h" | 5062 #include "confdefs.h" |
5055 /* Override any gcc2 internal prototype to avoid an error. */ | 5063 /* Override any gcc2 internal prototype to avoid an error. */ |
5056 /* We use char because int might match the return type of a gcc2 | 5064 /* We use char because int might match the return type of a gcc2 |
5057 builtin and then its argument prototype would still apply. */ | 5065 builtin and then its argument prototype would still apply. */ |
5058 char remove(); | 5066 char remove(); |
5059 | 5067 |
5060 int main() { | 5068 int main() { |
5061 remove() | 5069 remove() |
5062 ; return 0; } | 5070 ; return 0; } |
5063 EOF | 5071 EOF |
5064 if { (eval echo configure:5065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5072 if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5065 rm -rf conftest* | 5073 rm -rf conftest* |
5066 eval "ac_cv_lib_$ac_lib_var=yes" | 5074 eval "ac_cv_lib_$ac_lib_var=yes" |
5067 else | 5075 else |
5068 echo "configure: failed program was:" >&5 | 5076 echo "configure: failed program was:" >&5 |
5069 cat conftest.$ac_ext >&5 | 5077 cat conftest.$ac_ext >&5 |
5083 | 5091 |
5084 fi | 5092 fi |
5085 | 5093 |
5086 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5094 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5087 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5095 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5088 echo "configure:5089: checking for shmat" >&5 | 5096 echo "configure:5097: checking for shmat" >&5 |
5089 | 5097 |
5090 cat > conftest.$ac_ext <<EOF | 5098 cat > conftest.$ac_ext <<EOF |
5091 #line 5092 "configure" | 5099 #line 5100 "configure" |
5092 #include "confdefs.h" | 5100 #include "confdefs.h" |
5093 /* System header to define __stub macros and hopefully few prototypes, | 5101 /* System header to define __stub macros and hopefully few prototypes, |
5094 which can conflict with char shmat(); below. */ | 5102 which can conflict with char shmat(); below. */ |
5095 #include <assert.h> | 5103 #include <assert.h> |
5096 /* Override any gcc2 internal prototype to avoid an error. */ | 5104 /* Override any gcc2 internal prototype to avoid an error. */ |
5109 shmat(); | 5117 shmat(); |
5110 #endif | 5118 #endif |
5111 | 5119 |
5112 ; return 0; } | 5120 ; return 0; } |
5113 EOF | 5121 EOF |
5114 if { (eval echo configure:5115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5122 if { (eval echo configure:5123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5115 rm -rf conftest* | 5123 rm -rf conftest* |
5116 eval "ac_cv_func_shmat=yes" | 5124 eval "ac_cv_func_shmat=yes" |
5117 else | 5125 else |
5118 echo "configure: failed program was:" >&5 | 5126 echo "configure: failed program was:" >&5 |
5119 cat conftest.$ac_ext >&5 | 5127 cat conftest.$ac_ext >&5 |
5130 fi | 5138 fi |
5131 | 5139 |
5132 if test $ac_cv_func_shmat = no; then | 5140 if test $ac_cv_func_shmat = no; then |
5133 | 5141 |
5134 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5142 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5135 echo "configure:5136: checking for shmat in -lipc" >&5 | 5143 echo "configure:5144: checking for shmat in -lipc" >&5 |
5136 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5144 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5137 | 5145 |
5138 xe_check_libs=" -lipc " | 5146 xe_check_libs=" -lipc " |
5139 cat > conftest.$ac_ext <<EOF | 5147 cat > conftest.$ac_ext <<EOF |
5140 #line 5141 "configure" | 5148 #line 5149 "configure" |
5141 #include "confdefs.h" | 5149 #include "confdefs.h" |
5142 /* Override any gcc2 internal prototype to avoid an error. */ | 5150 /* Override any gcc2 internal prototype to avoid an error. */ |
5143 /* We use char because int might match the return type of a gcc2 | 5151 /* We use char because int might match the return type of a gcc2 |
5144 builtin and then its argument prototype would still apply. */ | 5152 builtin and then its argument prototype would still apply. */ |
5145 char shmat(); | 5153 char shmat(); |
5146 | 5154 |
5147 int main() { | 5155 int main() { |
5148 shmat() | 5156 shmat() |
5149 ; return 0; } | 5157 ; return 0; } |
5150 EOF | 5158 EOF |
5151 if { (eval echo configure:5152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5159 if { (eval echo configure:5160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5152 rm -rf conftest* | 5160 rm -rf conftest* |
5153 eval "ac_cv_lib_$ac_lib_var=yes" | 5161 eval "ac_cv_lib_$ac_lib_var=yes" |
5154 else | 5162 else |
5155 echo "configure: failed program was:" >&5 | 5163 echo "configure: failed program was:" >&5 |
5156 cat conftest.$ac_ext >&5 | 5164 cat conftest.$ac_ext >&5 |
5180 # These have to be linked with before -lX11, unlike the other | 5188 # These have to be linked with before -lX11, unlike the other |
5181 # libraries we check for below, so use a different variable. | 5189 # libraries we check for below, so use a different variable. |
5182 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5190 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5183 | 5191 |
5184 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 5192 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
5185 echo "configure:5186: checking for IceConnectionNumber in -lICE" >&5 | 5193 echo "configure:5194: checking for IceConnectionNumber in -lICE" >&5 |
5186 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5194 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5187 | 5195 |
5188 xe_check_libs=" -lICE " | 5196 xe_check_libs=" -lICE " |
5189 cat > conftest.$ac_ext <<EOF | 5197 cat > conftest.$ac_ext <<EOF |
5190 #line 5191 "configure" | 5198 #line 5199 "configure" |
5191 #include "confdefs.h" | 5199 #include "confdefs.h" |
5192 /* Override any gcc2 internal prototype to avoid an error. */ | 5200 /* Override any gcc2 internal prototype to avoid an error. */ |
5193 /* We use char because int might match the return type of a gcc2 | 5201 /* We use char because int might match the return type of a gcc2 |
5194 builtin and then its argument prototype would still apply. */ | 5202 builtin and then its argument prototype would still apply. */ |
5195 char IceConnectionNumber(); | 5203 char IceConnectionNumber(); |
5196 | 5204 |
5197 int main() { | 5205 int main() { |
5198 IceConnectionNumber() | 5206 IceConnectionNumber() |
5199 ; return 0; } | 5207 ; return 0; } |
5200 EOF | 5208 EOF |
5201 if { (eval echo configure:5202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5209 if { (eval echo configure:5210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5202 rm -rf conftest* | 5210 rm -rf conftest* |
5203 eval "ac_cv_lib_$ac_lib_var=yes" | 5211 eval "ac_cv_lib_$ac_lib_var=yes" |
5204 else | 5212 else |
5205 echo "configure: failed program was:" >&5 | 5213 echo "configure: failed program was:" >&5 |
5206 cat conftest.$ac_ext >&5 | 5214 cat conftest.$ac_ext >&5 |
5365 EOF | 5373 EOF |
5366 } | 5374 } |
5367 | 5375 |
5368 | 5376 |
5369 echo "checking for X defines extracted by xmkmf" 1>&6 | 5377 echo "checking for X defines extracted by xmkmf" 1>&6 |
5370 echo "configure:5371: checking for X defines extracted by xmkmf" >&5 | 5378 echo "configure:5379: checking for X defines extracted by xmkmf" >&5 |
5371 rm -fr conftestdir | 5379 rm -fr conftestdir |
5372 if mkdir conftestdir; then | 5380 if mkdir conftestdir; then |
5373 cd conftestdir | 5381 cd conftestdir |
5374 cat > Imakefile <<'EOF' | 5382 cat > Imakefile <<'EOF' |
5375 xetest: | 5383 xetest: |
5397 done | 5405 done |
5398 fi | 5406 fi |
5399 | 5407 |
5400 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5408 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5401 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5409 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5402 echo "configure:5403: checking for X11/Intrinsic.h" >&5 | 5410 echo "configure:5411: checking for X11/Intrinsic.h" >&5 |
5403 | 5411 |
5404 cat > conftest.$ac_ext <<EOF | 5412 cat > conftest.$ac_ext <<EOF |
5405 #line 5406 "configure" | 5413 #line 5414 "configure" |
5406 #include "confdefs.h" | 5414 #include "confdefs.h" |
5407 #include <X11/Intrinsic.h> | 5415 #include <X11/Intrinsic.h> |
5408 EOF | 5416 EOF |
5409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5417 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; } | 5418 { (eval echo configure:5419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5411 ac_err=`grep -v '^ *+' conftest.out` | 5419 ac_err=`grep -v '^ *+' conftest.out` |
5412 if test -z "$ac_err"; then | 5420 if test -z "$ac_err"; then |
5413 rm -rf conftest* | 5421 rm -rf conftest* |
5414 eval "ac_cv_header_$ac_safe=yes" | 5422 eval "ac_cv_header_$ac_safe=yes" |
5415 else | 5423 else |
5429 fi | 5437 fi |
5430 | 5438 |
5431 | 5439 |
5432 | 5440 |
5433 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5441 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5434 echo "configure:5435: checking for XOpenDisplay in -lX11" >&5 | 5442 echo "configure:5443: checking for XOpenDisplay in -lX11" >&5 |
5435 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5443 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5436 | 5444 |
5437 xe_check_libs=" -lX11 " | 5445 xe_check_libs=" -lX11 " |
5438 cat > conftest.$ac_ext <<EOF | 5446 cat > conftest.$ac_ext <<EOF |
5439 #line 5440 "configure" | 5447 #line 5448 "configure" |
5440 #include "confdefs.h" | 5448 #include "confdefs.h" |
5441 /* Override any gcc2 internal prototype to avoid an error. */ | 5449 /* Override any gcc2 internal prototype to avoid an error. */ |
5442 /* We use char because int might match the return type of a gcc2 | 5450 /* We use char because int might match the return type of a gcc2 |
5443 builtin and then its argument prototype would still apply. */ | 5451 builtin and then its argument prototype would still apply. */ |
5444 char XOpenDisplay(); | 5452 char XOpenDisplay(); |
5445 | 5453 |
5446 int main() { | 5454 int main() { |
5447 XOpenDisplay() | 5455 XOpenDisplay() |
5448 ; return 0; } | 5456 ; return 0; } |
5449 EOF | 5457 EOF |
5450 if { (eval echo configure:5451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5458 if { (eval echo configure:5459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5451 rm -rf conftest* | 5459 rm -rf conftest* |
5452 eval "ac_cv_lib_$ac_lib_var=yes" | 5460 eval "ac_cv_lib_$ac_lib_var=yes" |
5453 else | 5461 else |
5454 echo "configure: failed program was:" >&5 | 5462 echo "configure: failed program was:" >&5 |
5455 cat conftest.$ac_ext >&5 | 5463 cat conftest.$ac_ext >&5 |
5470 if test "$have_lib_x11" != "yes"; then | 5478 if test "$have_lib_x11" != "yes"; then |
5471 | 5479 |
5472 xe_msg_checking="for XGetFontProperty in -lX11" | 5480 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" | 5481 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 | 5482 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5475 echo "configure:5476: checking "$xe_msg_checking"" >&5 | 5483 echo "configure:5484: checking "$xe_msg_checking"" >&5 |
5476 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5484 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5477 | 5485 |
5478 xe_check_libs=" -lX11 -b i486-linuxaout" | 5486 xe_check_libs=" -lX11 -b i486-linuxaout" |
5479 cat > conftest.$ac_ext <<EOF | 5487 cat > conftest.$ac_ext <<EOF |
5480 #line 5481 "configure" | 5488 #line 5489 "configure" |
5481 #include "confdefs.h" | 5489 #include "confdefs.h" |
5482 /* Override any gcc2 internal prototype to avoid an error. */ | 5490 /* Override any gcc2 internal prototype to avoid an error. */ |
5483 /* We use char because int might match the return type of a gcc2 | 5491 /* We use char because int might match the return type of a gcc2 |
5484 builtin and then its argument prototype would still apply. */ | 5492 builtin and then its argument prototype would still apply. */ |
5485 char XGetFontProperty(); | 5493 char XGetFontProperty(); |
5486 | 5494 |
5487 int main() { | 5495 int main() { |
5488 XGetFontProperty() | 5496 XGetFontProperty() |
5489 ; return 0; } | 5497 ; return 0; } |
5490 EOF | 5498 EOF |
5491 if { (eval echo configure:5492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5499 if { (eval echo configure:5500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5492 rm -rf conftest* | 5500 rm -rf conftest* |
5493 eval "ac_cv_lib_$ac_lib_var=yes" | 5501 eval "ac_cv_lib_$ac_lib_var=yes" |
5494 else | 5502 else |
5495 echo "configure: failed program was:" >&5 | 5503 echo "configure: failed program was:" >&5 |
5496 cat conftest.$ac_ext >&5 | 5504 cat conftest.$ac_ext >&5 |
5513 libs_x="-lX11" | 5521 libs_x="-lX11" |
5514 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5522 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5515 | 5523 |
5516 | 5524 |
5517 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5525 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5518 echo "configure:5519: checking for XShapeSelectInput in -lXext" >&5 | 5526 echo "configure:5527: checking for XShapeSelectInput in -lXext" >&5 |
5519 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5527 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5520 | 5528 |
5521 xe_check_libs=" -lXext " | 5529 xe_check_libs=" -lXext " |
5522 cat > conftest.$ac_ext <<EOF | 5530 cat > conftest.$ac_ext <<EOF |
5523 #line 5524 "configure" | 5531 #line 5532 "configure" |
5524 #include "confdefs.h" | 5532 #include "confdefs.h" |
5525 /* Override any gcc2 internal prototype to avoid an error. */ | 5533 /* Override any gcc2 internal prototype to avoid an error. */ |
5526 /* We use char because int might match the return type of a gcc2 | 5534 /* We use char because int might match the return type of a gcc2 |
5527 builtin and then its argument prototype would still apply. */ | 5535 builtin and then its argument prototype would still apply. */ |
5528 char XShapeSelectInput(); | 5536 char XShapeSelectInput(); |
5529 | 5537 |
5530 int main() { | 5538 int main() { |
5531 XShapeSelectInput() | 5539 XShapeSelectInput() |
5532 ; return 0; } | 5540 ; return 0; } |
5533 EOF | 5541 EOF |
5534 if { (eval echo configure:5535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5542 if { (eval echo configure:5543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5535 rm -rf conftest* | 5543 rm -rf conftest* |
5536 eval "ac_cv_lib_$ac_lib_var=yes" | 5544 eval "ac_cv_lib_$ac_lib_var=yes" |
5537 else | 5545 else |
5538 echo "configure: failed program was:" >&5 | 5546 echo "configure: failed program was:" >&5 |
5539 cat conftest.$ac_ext >&5 | 5547 cat conftest.$ac_ext >&5 |
5552 | 5560 |
5553 | 5561 |
5554 | 5562 |
5555 | 5563 |
5556 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5564 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5557 echo "configure:5558: checking for XtOpenDisplay in -lXt" >&5 | 5565 echo "configure:5566: checking for XtOpenDisplay in -lXt" >&5 |
5558 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5566 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5559 | 5567 |
5560 xe_check_libs=" -lXt " | 5568 xe_check_libs=" -lXt " |
5561 cat > conftest.$ac_ext <<EOF | 5569 cat > conftest.$ac_ext <<EOF |
5562 #line 5563 "configure" | 5570 #line 5571 "configure" |
5563 #include "confdefs.h" | 5571 #include "confdefs.h" |
5564 /* Override any gcc2 internal prototype to avoid an error. */ | 5572 /* Override any gcc2 internal prototype to avoid an error. */ |
5565 /* We use char because int might match the return type of a gcc2 | 5573 /* We use char because int might match the return type of a gcc2 |
5566 builtin and then its argument prototype would still apply. */ | 5574 builtin and then its argument prototype would still apply. */ |
5567 char XtOpenDisplay(); | 5575 char XtOpenDisplay(); |
5568 | 5576 |
5569 int main() { | 5577 int main() { |
5570 XtOpenDisplay() | 5578 XtOpenDisplay() |
5571 ; return 0; } | 5579 ; return 0; } |
5572 EOF | 5580 EOF |
5573 if { (eval echo configure:5574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5581 if { (eval echo configure:5582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5574 rm -rf conftest* | 5582 rm -rf conftest* |
5575 eval "ac_cv_lib_$ac_lib_var=yes" | 5583 eval "ac_cv_lib_$ac_lib_var=yes" |
5576 else | 5584 else |
5577 echo "configure: failed program was:" >&5 | 5585 echo "configure: failed program was:" >&5 |
5578 cat conftest.$ac_ext >&5 | 5586 cat conftest.$ac_ext >&5 |
5591 fi | 5599 fi |
5592 | 5600 |
5593 | 5601 |
5594 | 5602 |
5595 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5603 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 | 5604 echo "configure:5605: checking the version of X11 being used" >&5 |
5597 cat > conftest.$ac_ext <<EOF | 5605 cat > conftest.$ac_ext <<EOF |
5598 #line 5599 "configure" | 5606 #line 5607 "configure" |
5599 #include "confdefs.h" | 5607 #include "confdefs.h" |
5600 #include <X11/Intrinsic.h> | 5608 #include <X11/Intrinsic.h> |
5601 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5609 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5602 EOF | 5610 EOF |
5603 if { (eval echo configure:5604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5611 if { (eval echo configure:5612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5604 then | 5612 then |
5605 ./conftest foobar; x11_release=$? | 5613 ./conftest foobar; x11_release=$? |
5606 else | 5614 else |
5607 conftest_rc="$?" | 5615 conftest_rc="$?" |
5608 echo "configure: failed program was:" >&5 | 5616 echo "configure: failed program was:" >&5 |
5623 | 5631 |
5624 for ac_hdr in X11/Xlocale.h | 5632 for ac_hdr in X11/Xlocale.h |
5625 do | 5633 do |
5626 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5634 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5627 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5635 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5628 echo "configure:5629: checking for $ac_hdr" >&5 | 5636 echo "configure:5637: checking for $ac_hdr" >&5 |
5629 | 5637 |
5630 cat > conftest.$ac_ext <<EOF | 5638 cat > conftest.$ac_ext <<EOF |
5631 #line 5632 "configure" | 5639 #line 5640 "configure" |
5632 #include "confdefs.h" | 5640 #include "confdefs.h" |
5633 #include <$ac_hdr> | 5641 #include <$ac_hdr> |
5634 EOF | 5642 EOF |
5635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5643 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; } | 5644 { (eval echo configure:5645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5637 ac_err=`grep -v '^ *+' conftest.out` | 5645 ac_err=`grep -v '^ *+' conftest.out` |
5638 if test -z "$ac_err"; then | 5646 if test -z "$ac_err"; then |
5639 rm -rf conftest* | 5647 rm -rf conftest* |
5640 eval "ac_cv_header_$ac_safe=yes" | 5648 eval "ac_cv_header_$ac_safe=yes" |
5641 else | 5649 else |
5662 fi | 5670 fi |
5663 done | 5671 done |
5664 | 5672 |
5665 | 5673 |
5666 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5674 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5667 echo "configure:5668: checking for XFree86" >&5 | 5675 echo "configure:5676: checking for XFree86" >&5 |
5668 if test -d "/usr/X386/include" -o \ | 5676 if test -d "/usr/X386/include" -o \ |
5669 -f "/etc/XF86Config" -o \ | 5677 -f "/etc/XF86Config" -o \ |
5670 -f "/etc/X11/XF86Config" -o \ | 5678 -f "/etc/X11/XF86Config" -o \ |
5671 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5679 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5672 echo "$ac_t""yes" 1>&6 | 5680 echo "$ac_t""yes" 1>&6 |
5682 echo "$ac_t""no" 1>&6 | 5690 echo "$ac_t""no" 1>&6 |
5683 fi | 5691 fi |
5684 | 5692 |
5685 test -z "$with_xmu" && { | 5693 test -z "$with_xmu" && { |
5686 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5694 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5687 echo "configure:5688: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5695 echo "configure:5696: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5688 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5696 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5689 | 5697 |
5690 xe_check_libs=" -lXmu " | 5698 xe_check_libs=" -lXmu " |
5691 cat > conftest.$ac_ext <<EOF | 5699 cat > conftest.$ac_ext <<EOF |
5692 #line 5693 "configure" | 5700 #line 5701 "configure" |
5693 #include "confdefs.h" | 5701 #include "confdefs.h" |
5694 /* Override any gcc2 internal prototype to avoid an error. */ | 5702 /* Override any gcc2 internal prototype to avoid an error. */ |
5695 /* We use char because int might match the return type of a gcc2 | 5703 /* We use char because int might match the return type of a gcc2 |
5696 builtin and then its argument prototype would still apply. */ | 5704 builtin and then its argument prototype would still apply. */ |
5697 char XmuReadBitmapDataFromFile(); | 5705 char XmuReadBitmapDataFromFile(); |
5698 | 5706 |
5699 int main() { | 5707 int main() { |
5700 XmuReadBitmapDataFromFile() | 5708 XmuReadBitmapDataFromFile() |
5701 ; return 0; } | 5709 ; return 0; } |
5702 EOF | 5710 EOF |
5703 if { (eval echo configure:5704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5711 if { (eval echo configure:5712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5704 rm -rf conftest* | 5712 rm -rf conftest* |
5705 eval "ac_cv_lib_$ac_lib_var=yes" | 5713 eval "ac_cv_lib_$ac_lib_var=yes" |
5706 else | 5714 else |
5707 echo "configure: failed program was:" >&5 | 5715 echo "configure: failed program was:" >&5 |
5708 cat conftest.$ac_ext >&5 | 5716 cat conftest.$ac_ext >&5 |
5737 | 5745 |
5738 fi | 5746 fi |
5739 | 5747 |
5740 | 5748 |
5741 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5749 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5742 echo "configure:5743: checking for main in -lXbsd" >&5 | 5750 echo "configure:5751: checking for main in -lXbsd" >&5 |
5743 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5751 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5744 | 5752 |
5745 xe_check_libs=" -lXbsd " | 5753 xe_check_libs=" -lXbsd " |
5746 cat > conftest.$ac_ext <<EOF | 5754 cat > conftest.$ac_ext <<EOF |
5747 #line 5748 "configure" | 5755 #line 5756 "configure" |
5748 #include "confdefs.h" | 5756 #include "confdefs.h" |
5749 | 5757 |
5750 int main() { | 5758 int main() { |
5751 main() | 5759 main() |
5752 ; return 0; } | 5760 ; return 0; } |
5753 EOF | 5761 EOF |
5754 if { (eval echo configure:5755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5762 if { (eval echo configure:5763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5755 rm -rf conftest* | 5763 rm -rf conftest* |
5756 eval "ac_cv_lib_$ac_lib_var=yes" | 5764 eval "ac_cv_lib_$ac_lib_var=yes" |
5757 else | 5765 else |
5758 echo "configure: failed program was:" >&5 | 5766 echo "configure: failed program was:" >&5 |
5759 cat conftest.$ac_ext >&5 | 5767 cat conftest.$ac_ext >&5 |
5786 fi | 5794 fi |
5787 | 5795 |
5788 fi | 5796 fi |
5789 if test "$with_msw" != "no"; then | 5797 if test "$with_msw" != "no"; then |
5790 echo "checking for MS-Windows" 1>&6 | 5798 echo "checking for MS-Windows" 1>&6 |
5791 echo "configure:5792: checking for MS-Windows" >&5 | 5799 echo "configure:5800: checking for MS-Windows" >&5 |
5792 | 5800 |
5793 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5801 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
5794 echo "configure:5795: checking for main in -lgdi32" >&5 | 5802 echo "configure:5803: checking for main in -lgdi32" >&5 |
5795 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5803 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
5796 | 5804 |
5797 xe_check_libs=" -lgdi32 " | 5805 xe_check_libs=" -lgdi32 " |
5798 cat > conftest.$ac_ext <<EOF | 5806 cat > conftest.$ac_ext <<EOF |
5799 #line 5800 "configure" | 5807 #line 5808 "configure" |
5800 #include "confdefs.h" | 5808 #include "confdefs.h" |
5801 | 5809 |
5802 int main() { | 5810 int main() { |
5803 main() | 5811 main() |
5804 ; return 0; } | 5812 ; return 0; } |
5805 EOF | 5813 EOF |
5806 if { (eval echo configure:5807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5814 if { (eval echo configure:5815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5807 rm -rf conftest* | 5815 rm -rf conftest* |
5808 eval "ac_cv_lib_$ac_lib_var=yes" | 5816 eval "ac_cv_lib_$ac_lib_var=yes" |
5809 else | 5817 else |
5810 echo "configure: failed program was:" >&5 | 5818 echo "configure: failed program was:" >&5 |
5811 cat conftest.$ac_ext >&5 | 5819 cat conftest.$ac_ext >&5 |
5866 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 5874 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
5867 echo " xemacs will be linked with \"dialog-msw.o\"" | 5875 echo " xemacs will be linked with \"dialog-msw.o\"" |
5868 fi | 5876 fi |
5869 fi | 5877 fi |
5870 cat > conftest.$ac_ext <<EOF | 5878 cat > conftest.$ac_ext <<EOF |
5871 #line 5872 "configure" | 5879 #line 5880 "configure" |
5872 #include "confdefs.h" | 5880 #include "confdefs.h" |
5873 #include <fcntl.h> | 5881 #include <fcntl.h> |
5874 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 5882 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
5875 EOF | 5883 EOF |
5876 if { (eval echo configure:5877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5884 if { (eval echo configure:5885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5877 then | 5885 then |
5878 { test "$extra_verbose" = "yes" && cat << \EOF | 5886 { test "$extra_verbose" = "yes" && cat << \EOF |
5879 Defining HAVE_MSG_SELECT | 5887 Defining HAVE_MSG_SELECT |
5880 EOF | 5888 EOF |
5881 cat >> confdefs.h <<\EOF | 5889 cat >> confdefs.h <<\EOF |
5950 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5958 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5951 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5959 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5952 esac | 5960 esac |
5953 | 5961 |
5954 echo "checking for session-management option" 1>&6 | 5962 echo "checking for session-management option" 1>&6 |
5955 echo "configure:5956: checking for session-management option" >&5; | 5963 echo "configure:5964: checking for session-management option" >&5; |
5956 if test "$with_session" != "no"; then | 5964 if test "$with_session" != "no"; then |
5957 { test "$extra_verbose" = "yes" && cat << \EOF | 5965 { test "$extra_verbose" = "yes" && cat << \EOF |
5958 Defining HAVE_SESSION | 5966 Defining HAVE_SESSION |
5959 EOF | 5967 EOF |
5960 cat >> confdefs.h <<\EOF | 5968 cat >> confdefs.h <<\EOF |
5965 fi | 5973 fi |
5966 | 5974 |
5967 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5975 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5968 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5976 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5969 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5977 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5970 echo "configure:5971: checking for X11/Xauth.h" >&5 | 5978 echo "configure:5979: checking for X11/Xauth.h" >&5 |
5971 | 5979 |
5972 cat > conftest.$ac_ext <<EOF | 5980 cat > conftest.$ac_ext <<EOF |
5973 #line 5974 "configure" | 5981 #line 5982 "configure" |
5974 #include "confdefs.h" | 5982 #include "confdefs.h" |
5975 #include <X11/Xauth.h> | 5983 #include <X11/Xauth.h> |
5976 EOF | 5984 EOF |
5977 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5985 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5978 { (eval echo configure:5979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5986 { (eval echo configure:5987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5979 ac_err=`grep -v '^ *+' conftest.out` | 5987 ac_err=`grep -v '^ *+' conftest.out` |
5980 if test -z "$ac_err"; then | 5988 if test -z "$ac_err"; then |
5981 rm -rf conftest* | 5989 rm -rf conftest* |
5982 eval "ac_cv_header_$ac_safe=yes" | 5990 eval "ac_cv_header_$ac_safe=yes" |
5983 else | 5991 else |
5996 with_xauth=no | 6004 with_xauth=no |
5997 fi | 6005 fi |
5998 } | 6006 } |
5999 test -z "$with_xauth" && { | 6007 test -z "$with_xauth" && { |
6000 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6008 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6001 echo "configure:6002: checking for XauGetAuthByAddr in -lXau" >&5 | 6009 echo "configure:6010: checking for XauGetAuthByAddr in -lXau" >&5 |
6002 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6010 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6003 | 6011 |
6004 xe_check_libs=" -lXau " | 6012 xe_check_libs=" -lXau " |
6005 cat > conftest.$ac_ext <<EOF | 6013 cat > conftest.$ac_ext <<EOF |
6006 #line 6007 "configure" | 6014 #line 6015 "configure" |
6007 #include "confdefs.h" | 6015 #include "confdefs.h" |
6008 /* Override any gcc2 internal prototype to avoid an error. */ | 6016 /* Override any gcc2 internal prototype to avoid an error. */ |
6009 /* We use char because int might match the return type of a gcc2 | 6017 /* We use char because int might match the return type of a gcc2 |
6010 builtin and then its argument prototype would still apply. */ | 6018 builtin and then its argument prototype would still apply. */ |
6011 char XauGetAuthByAddr(); | 6019 char XauGetAuthByAddr(); |
6012 | 6020 |
6013 int main() { | 6021 int main() { |
6014 XauGetAuthByAddr() | 6022 XauGetAuthByAddr() |
6015 ; return 0; } | 6023 ; return 0; } |
6016 EOF | 6024 EOF |
6017 if { (eval echo configure:6018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6025 if { (eval echo configure:6026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6018 rm -rf conftest* | 6026 rm -rf conftest* |
6019 eval "ac_cv_lib_$ac_lib_var=yes" | 6027 eval "ac_cv_lib_$ac_lib_var=yes" |
6020 else | 6028 else |
6021 echo "configure: failed program was:" >&5 | 6029 echo "configure: failed program was:" >&5 |
6022 cat conftest.$ac_ext >&5 | 6030 cat conftest.$ac_ext >&5 |
6057 | 6065 |
6058 if test "$with_tooltalk" != "no" ; then | 6066 if test "$with_tooltalk" != "no" ; then |
6059 for dir in "" "Tt/" "desktop/" ; do | 6067 for dir in "" "Tt/" "desktop/" ; do |
6060 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6068 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6061 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6069 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6062 echo "configure:6063: checking for ${dir}tt_c.h" >&5 | 6070 echo "configure:6071: checking for ${dir}tt_c.h" >&5 |
6063 | 6071 |
6064 cat > conftest.$ac_ext <<EOF | 6072 cat > conftest.$ac_ext <<EOF |
6065 #line 6066 "configure" | 6073 #line 6074 "configure" |
6066 #include "confdefs.h" | 6074 #include "confdefs.h" |
6067 #include <${dir}tt_c.h> | 6075 #include <${dir}tt_c.h> |
6068 EOF | 6076 EOF |
6069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6070 { (eval echo configure:6071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6078 { (eval echo configure:6079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6071 ac_err=`grep -v '^ *+' conftest.out` | 6079 ac_err=`grep -v '^ *+' conftest.out` |
6072 if test -z "$ac_err"; then | 6080 if test -z "$ac_err"; then |
6073 rm -rf conftest* | 6081 rm -rf conftest* |
6074 eval "ac_cv_header_$ac_safe=yes" | 6082 eval "ac_cv_header_$ac_safe=yes" |
6075 else | 6083 else |
6101 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6109 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6102 | 6110 |
6103 xe_msg_checking="for tt_message_create in -ltt" | 6111 xe_msg_checking="for tt_message_create in -ltt" |
6104 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6112 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6105 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6113 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6106 echo "configure:6107: checking "$xe_msg_checking"" >&5 | 6114 echo "configure:6115: checking "$xe_msg_checking"" >&5 |
6107 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6115 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6108 | 6116 |
6109 xe_check_libs=" -ltt $extra_libs" | 6117 xe_check_libs=" -ltt $extra_libs" |
6110 cat > conftest.$ac_ext <<EOF | 6118 cat > conftest.$ac_ext <<EOF |
6111 #line 6112 "configure" | 6119 #line 6120 "configure" |
6112 #include "confdefs.h" | 6120 #include "confdefs.h" |
6113 /* Override any gcc2 internal prototype to avoid an error. */ | 6121 /* Override any gcc2 internal prototype to avoid an error. */ |
6114 /* We use char because int might match the return type of a gcc2 | 6122 /* We use char because int might match the return type of a gcc2 |
6115 builtin and then its argument prototype would still apply. */ | 6123 builtin and then its argument prototype would still apply. */ |
6116 char tt_message_create(); | 6124 char tt_message_create(); |
6117 | 6125 |
6118 int main() { | 6126 int main() { |
6119 tt_message_create() | 6127 tt_message_create() |
6120 ; return 0; } | 6128 ; return 0; } |
6121 EOF | 6129 EOF |
6122 if { (eval echo configure:6123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6130 if { (eval echo configure:6131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6123 rm -rf conftest* | 6131 rm -rf conftest* |
6124 eval "ac_cv_lib_$ac_lib_var=yes" | 6132 eval "ac_cv_lib_$ac_lib_var=yes" |
6125 else | 6133 else |
6126 echo "configure: failed program was:" >&5 | 6134 echo "configure: failed program was:" >&5 |
6127 cat conftest.$ac_ext >&5 | 6135 cat conftest.$ac_ext >&5 |
6174 fi | 6182 fi |
6175 fi | 6183 fi |
6176 | 6184 |
6177 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6185 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6178 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6186 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6179 echo "configure:6180: checking for Dt/Dt.h" >&5 | 6187 echo "configure:6188: checking for Dt/Dt.h" >&5 |
6180 | 6188 |
6181 cat > conftest.$ac_ext <<EOF | 6189 cat > conftest.$ac_ext <<EOF |
6182 #line 6183 "configure" | 6190 #line 6191 "configure" |
6183 #include "confdefs.h" | 6191 #include "confdefs.h" |
6184 #include <Dt/Dt.h> | 6192 #include <Dt/Dt.h> |
6185 EOF | 6193 EOF |
6186 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6194 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6187 { (eval echo configure:6188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6195 { (eval echo configure:6196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6188 ac_err=`grep -v '^ *+' conftest.out` | 6196 ac_err=`grep -v '^ *+' conftest.out` |
6189 if test -z "$ac_err"; then | 6197 if test -z "$ac_err"; then |
6190 rm -rf conftest* | 6198 rm -rf conftest* |
6191 eval "ac_cv_header_$ac_safe=yes" | 6199 eval "ac_cv_header_$ac_safe=yes" |
6192 else | 6200 else |
6205 with_cde=no | 6213 with_cde=no |
6206 fi | 6214 fi |
6207 } | 6215 } |
6208 test -z "$with_cde" && { | 6216 test -z "$with_cde" && { |
6209 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6217 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6210 echo "configure:6211: checking for DtDndDragStart in -lDtSvc" >&5 | 6218 echo "configure:6219: checking for DtDndDragStart in -lDtSvc" >&5 |
6211 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6219 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6212 | 6220 |
6213 xe_check_libs=" -lDtSvc " | 6221 xe_check_libs=" -lDtSvc " |
6214 cat > conftest.$ac_ext <<EOF | 6222 cat > conftest.$ac_ext <<EOF |
6215 #line 6216 "configure" | 6223 #line 6224 "configure" |
6216 #include "confdefs.h" | 6224 #include "confdefs.h" |
6217 /* Override any gcc2 internal prototype to avoid an error. */ | 6225 /* Override any gcc2 internal prototype to avoid an error. */ |
6218 /* We use char because int might match the return type of a gcc2 | 6226 /* We use char because int might match the return type of a gcc2 |
6219 builtin and then its argument prototype would still apply. */ | 6227 builtin and then its argument prototype would still apply. */ |
6220 char DtDndDragStart(); | 6228 char DtDndDragStart(); |
6221 | 6229 |
6222 int main() { | 6230 int main() { |
6223 DtDndDragStart() | 6231 DtDndDragStart() |
6224 ; return 0; } | 6232 ; return 0; } |
6225 EOF | 6233 EOF |
6226 if { (eval echo configure:6227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6234 if { (eval echo configure:6235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6227 rm -rf conftest* | 6235 rm -rf conftest* |
6228 eval "ac_cv_lib_$ac_lib_var=yes" | 6236 eval "ac_cv_lib_$ac_lib_var=yes" |
6229 else | 6237 else |
6230 echo "configure: failed program was:" >&5 | 6238 echo "configure: failed program was:" >&5 |
6231 cat conftest.$ac_ext >&5 | 6239 cat conftest.$ac_ext >&5 |
6290 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6298 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6291 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6299 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6292 fi | 6300 fi |
6293 | 6301 |
6294 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6302 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6295 echo "configure:6296: checking if drag and drop API is needed" >&5 | 6303 echo "configure:6304: checking if drag and drop API is needed" >&5 |
6296 if test "$with_dragndrop" != "no" ; then | 6304 if test "$with_dragndrop" != "no" ; then |
6297 if test -n "$dragndrop_proto" ; then | 6305 if test -n "$dragndrop_proto" ; then |
6298 with_dragndrop=yes | 6306 with_dragndrop=yes |
6299 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6307 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6300 { test "$extra_verbose" = "yes" && cat << \EOF | 6308 { test "$extra_verbose" = "yes" && cat << \EOF |
6311 echo "$ac_t""no" 1>&6 | 6319 echo "$ac_t""no" 1>&6 |
6312 fi | 6320 fi |
6313 fi | 6321 fi |
6314 | 6322 |
6315 echo "checking for LDAP" 1>&6 | 6323 echo "checking for LDAP" 1>&6 |
6316 echo "configure:6317: checking for LDAP" >&5 | 6324 echo "configure:6325: checking for LDAP" >&5 |
6317 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6325 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6318 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6326 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6319 echo "configure:6320: checking for ldap.h" >&5 | 6327 echo "configure:6328: checking for ldap.h" >&5 |
6320 | 6328 |
6321 cat > conftest.$ac_ext <<EOF | 6329 cat > conftest.$ac_ext <<EOF |
6322 #line 6323 "configure" | 6330 #line 6331 "configure" |
6323 #include "confdefs.h" | 6331 #include "confdefs.h" |
6324 #include <ldap.h> | 6332 #include <ldap.h> |
6325 EOF | 6333 EOF |
6326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6327 { (eval echo configure:6328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6335 { (eval echo configure:6336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6328 ac_err=`grep -v '^ *+' conftest.out` | 6336 ac_err=`grep -v '^ *+' conftest.out` |
6329 if test -z "$ac_err"; then | 6337 if test -z "$ac_err"; then |
6330 rm -rf conftest* | 6338 rm -rf conftest* |
6331 eval "ac_cv_header_$ac_safe=yes" | 6339 eval "ac_cv_header_$ac_safe=yes" |
6332 else | 6340 else |
6345 with_ldap=no | 6353 with_ldap=no |
6346 fi | 6354 fi |
6347 } | 6355 } |
6348 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6356 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6349 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6357 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6350 echo "configure:6351: checking for lber.h" >&5 | 6358 echo "configure:6359: checking for lber.h" >&5 |
6351 | 6359 |
6352 cat > conftest.$ac_ext <<EOF | 6360 cat > conftest.$ac_ext <<EOF |
6353 #line 6354 "configure" | 6361 #line 6362 "configure" |
6354 #include "confdefs.h" | 6362 #include "confdefs.h" |
6355 #include <lber.h> | 6363 #include <lber.h> |
6356 EOF | 6364 EOF |
6357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6358 { (eval echo configure:6359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6366 { (eval echo configure:6367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6359 ac_err=`grep -v '^ *+' conftest.out` | 6367 ac_err=`grep -v '^ *+' conftest.out` |
6360 if test -z "$ac_err"; then | 6368 if test -z "$ac_err"; then |
6361 rm -rf conftest* | 6369 rm -rf conftest* |
6362 eval "ac_cv_header_$ac_safe=yes" | 6370 eval "ac_cv_header_$ac_safe=yes" |
6363 else | 6371 else |
6379 if test "$with_ldap" != "no"; then | 6387 if test "$with_ldap" != "no"; then |
6380 test -z "$with_umich_ldap" && { | 6388 test -z "$with_umich_ldap" && { |
6381 xe_msg_checking="for ldap_open in -lldap" | 6389 xe_msg_checking="for ldap_open in -lldap" |
6382 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6390 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6383 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6391 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6384 echo "configure:6385: checking "$xe_msg_checking"" >&5 | 6392 echo "configure:6393: checking "$xe_msg_checking"" >&5 |
6385 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6393 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6386 | 6394 |
6387 xe_check_libs=" -lldap -llber" | 6395 xe_check_libs=" -lldap -llber" |
6388 cat > conftest.$ac_ext <<EOF | 6396 cat > conftest.$ac_ext <<EOF |
6389 #line 6390 "configure" | 6397 #line 6398 "configure" |
6390 #include "confdefs.h" | 6398 #include "confdefs.h" |
6391 /* Override any gcc2 internal prototype to avoid an error. */ | 6399 /* Override any gcc2 internal prototype to avoid an error. */ |
6392 /* We use char because int might match the return type of a gcc2 | 6400 /* We use char because int might match the return type of a gcc2 |
6393 builtin and then its argument prototype would still apply. */ | 6401 builtin and then its argument prototype would still apply. */ |
6394 char ldap_open(); | 6402 char ldap_open(); |
6395 | 6403 |
6396 int main() { | 6404 int main() { |
6397 ldap_open() | 6405 ldap_open() |
6398 ; return 0; } | 6406 ; return 0; } |
6399 EOF | 6407 EOF |
6400 if { (eval echo configure:6401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6408 if { (eval echo configure:6409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6401 rm -rf conftest* | 6409 rm -rf conftest* |
6402 eval "ac_cv_lib_$ac_lib_var=yes" | 6410 eval "ac_cv_lib_$ac_lib_var=yes" |
6403 else | 6411 else |
6404 echo "configure: failed program was:" >&5 | 6412 echo "configure: failed program was:" >&5 |
6405 cat conftest.$ac_ext >&5 | 6413 cat conftest.$ac_ext >&5 |
6418 fi | 6426 fi |
6419 | 6427 |
6420 } | 6428 } |
6421 test "$with_umich_ldap" = "no" && { | 6429 test "$with_umich_ldap" = "no" && { |
6422 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6430 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
6423 echo "configure:6424: checking for ldap_set_option in -lldap10" >&5 | 6431 echo "configure:6432: checking for ldap_set_option in -lldap10" >&5 |
6424 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6432 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
6425 | 6433 |
6426 xe_check_libs=" -lldap10 " | 6434 xe_check_libs=" -lldap10 " |
6427 cat > conftest.$ac_ext <<EOF | 6435 cat > conftest.$ac_ext <<EOF |
6428 #line 6429 "configure" | 6436 #line 6437 "configure" |
6429 #include "confdefs.h" | 6437 #include "confdefs.h" |
6430 /* Override any gcc2 internal prototype to avoid an error. */ | 6438 /* Override any gcc2 internal prototype to avoid an error. */ |
6431 /* We use char because int might match the return type of a gcc2 | 6439 /* We use char because int might match the return type of a gcc2 |
6432 builtin and then its argument prototype would still apply. */ | 6440 builtin and then its argument prototype would still apply. */ |
6433 char ldap_set_option(); | 6441 char ldap_set_option(); |
6434 | 6442 |
6435 int main() { | 6443 int main() { |
6436 ldap_set_option() | 6444 ldap_set_option() |
6437 ; return 0; } | 6445 ; return 0; } |
6438 EOF | 6446 EOF |
6439 if { (eval echo configure:6440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6447 if { (eval echo configure:6448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6440 rm -rf conftest* | 6448 rm -rf conftest* |
6441 eval "ac_cv_lib_$ac_lib_var=yes" | 6449 eval "ac_cv_lib_$ac_lib_var=yes" |
6442 else | 6450 else |
6443 echo "configure: failed program was:" >&5 | 6451 echo "configure: failed program was:" >&5 |
6444 cat conftest.$ac_ext >&5 | 6452 cat conftest.$ac_ext >&5 |
6498 fi | 6506 fi |
6499 | 6507 |
6500 | 6508 |
6501 if test "$window_system" != "none"; then | 6509 if test "$window_system" != "none"; then |
6502 echo "checking for graphics libraries" 1>&6 | 6510 echo "checking for graphics libraries" 1>&6 |
6503 echo "configure:6504: checking for graphics libraries" >&5 | 6511 echo "configure:6512: checking for graphics libraries" >&5 |
6504 | 6512 |
6505 xpm_problem="" | 6513 xpm_problem="" |
6506 if test -z "$with_xpm"; then | 6514 if test -z "$with_xpm"; then |
6507 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6515 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6508 echo "configure:6509: checking for Xpm - no older than 3.4f" >&5 | 6516 echo "configure:6517: checking for Xpm - no older than 3.4f" >&5 |
6509 xe_check_libs=-lXpm | 6517 xe_check_libs=-lXpm |
6510 cat > conftest.$ac_ext <<EOF | 6518 cat > conftest.$ac_ext <<EOF |
6511 #line 6512 "configure" | 6519 #line 6520 "configure" |
6512 #include "confdefs.h" | 6520 #include "confdefs.h" |
6513 #include <X11/xpm.h> | 6521 #include <X11/xpm.h> |
6514 int main(int c, char **v) { | 6522 int main(int c, char **v) { |
6515 return c == 1 ? 0 : | 6523 return c == 1 ? 0 : |
6516 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6524 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6517 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6525 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6518 EOF | 6526 EOF |
6519 if { (eval echo configure:6520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6527 if { (eval echo configure:6528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6520 then | 6528 then |
6521 ./conftest dummy_arg; xpm_status=$?; | 6529 ./conftest dummy_arg; xpm_status=$?; |
6522 if test "$xpm_status" = "0"; then | 6530 if test "$xpm_status" = "0"; then |
6523 with_xpm=yes; | 6531 with_xpm=yes; |
6524 else | 6532 else |
6556 EOF | 6564 EOF |
6557 } | 6565 } |
6558 | 6566 |
6559 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6567 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6560 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6568 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
6561 echo "configure:6562: checking for \"FOR_MSW\" xpm" >&5 | 6569 echo "configure:6570: checking for \"FOR_MSW\" xpm" >&5 |
6562 xe_check_libs=-lXpm | 6570 xe_check_libs=-lXpm |
6563 cat > conftest.$ac_ext <<EOF | 6571 cat > conftest.$ac_ext <<EOF |
6564 #line 6565 "configure" | 6572 #line 6573 "configure" |
6565 #include "confdefs.h" | 6573 #include "confdefs.h" |
6566 | 6574 |
6567 int main() { | 6575 int main() { |
6568 XpmCreatePixmapFromData() | 6576 XpmCreatePixmapFromData() |
6569 ; return 0; } | 6577 ; return 0; } |
6570 EOF | 6578 EOF |
6571 if { (eval echo configure:6572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6579 if { (eval echo configure:6580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6572 rm -rf conftest* | 6580 rm -rf conftest* |
6573 xpm_for_msw=no | 6581 xpm_for_msw=no |
6574 else | 6582 else |
6575 echo "configure: failed program was:" >&5 | 6583 echo "configure: failed program was:" >&5 |
6576 cat conftest.$ac_ext >&5 | 6584 cat conftest.$ac_ext >&5 |
6608 fi | 6616 fi |
6609 | 6617 |
6610 if test "$with_png $with_tiff" != "no no"; then | 6618 if test "$with_png $with_tiff" != "no no"; then |
6611 | 6619 |
6612 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6620 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
6613 echo "configure:6614: checking for inflate in -lc" >&5 | 6621 echo "configure:6622: checking for inflate in -lc" >&5 |
6614 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6622 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
6615 | 6623 |
6616 xe_check_libs=" -lc " | 6624 xe_check_libs=" -lc " |
6617 cat > conftest.$ac_ext <<EOF | 6625 cat > conftest.$ac_ext <<EOF |
6618 #line 6619 "configure" | 6626 #line 6627 "configure" |
6619 #include "confdefs.h" | 6627 #include "confdefs.h" |
6620 /* Override any gcc2 internal prototype to avoid an error. */ | 6628 /* Override any gcc2 internal prototype to avoid an error. */ |
6621 /* We use char because int might match the return type of a gcc2 | 6629 /* We use char because int might match the return type of a gcc2 |
6622 builtin and then its argument prototype would still apply. */ | 6630 builtin and then its argument prototype would still apply. */ |
6623 char inflate(); | 6631 char inflate(); |
6624 | 6632 |
6625 int main() { | 6633 int main() { |
6626 inflate() | 6634 inflate() |
6627 ; return 0; } | 6635 ; return 0; } |
6628 EOF | 6636 EOF |
6629 if { (eval echo configure:6630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6637 if { (eval echo configure:6638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6630 rm -rf conftest* | 6638 rm -rf conftest* |
6631 eval "ac_cv_lib_$ac_lib_var=yes" | 6639 eval "ac_cv_lib_$ac_lib_var=yes" |
6632 else | 6640 else |
6633 echo "configure: failed program was:" >&5 | 6641 echo "configure: failed program was:" >&5 |
6634 cat conftest.$ac_ext >&5 | 6642 cat conftest.$ac_ext >&5 |
6643 : | 6651 : |
6644 else | 6652 else |
6645 echo "$ac_t""no" 1>&6 | 6653 echo "$ac_t""no" 1>&6 |
6646 | 6654 |
6647 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6655 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
6648 echo "configure:6649: checking for inflate in -lz" >&5 | 6656 echo "configure:6657: checking for inflate in -lz" >&5 |
6649 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6657 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
6650 | 6658 |
6651 xe_check_libs=" -lz " | 6659 xe_check_libs=" -lz " |
6652 cat > conftest.$ac_ext <<EOF | 6660 cat > conftest.$ac_ext <<EOF |
6653 #line 6654 "configure" | 6661 #line 6662 "configure" |
6654 #include "confdefs.h" | 6662 #include "confdefs.h" |
6655 /* Override any gcc2 internal prototype to avoid an error. */ | 6663 /* Override any gcc2 internal prototype to avoid an error. */ |
6656 /* We use char because int might match the return type of a gcc2 | 6664 /* We use char because int might match the return type of a gcc2 |
6657 builtin and then its argument prototype would still apply. */ | 6665 builtin and then its argument prototype would still apply. */ |
6658 char inflate(); | 6666 char inflate(); |
6659 | 6667 |
6660 int main() { | 6668 int main() { |
6661 inflate() | 6669 inflate() |
6662 ; return 0; } | 6670 ; return 0; } |
6663 EOF | 6671 EOF |
6664 if { (eval echo configure:6665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6672 if { (eval echo configure:6673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6665 rm -rf conftest* | 6673 rm -rf conftest* |
6666 eval "ac_cv_lib_$ac_lib_var=yes" | 6674 eval "ac_cv_lib_$ac_lib_var=yes" |
6667 else | 6675 else |
6668 echo "configure: failed program was:" >&5 | 6676 echo "configure: failed program was:" >&5 |
6669 cat conftest.$ac_ext >&5 | 6677 cat conftest.$ac_ext >&5 |
6678 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6686 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
6679 else | 6687 else |
6680 echo "$ac_t""no" 1>&6 | 6688 echo "$ac_t""no" 1>&6 |
6681 | 6689 |
6682 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6690 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
6683 echo "configure:6684: checking for inflate in -lgz" >&5 | 6691 echo "configure:6692: checking for inflate in -lgz" >&5 |
6684 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6692 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
6685 | 6693 |
6686 xe_check_libs=" -lgz " | 6694 xe_check_libs=" -lgz " |
6687 cat > conftest.$ac_ext <<EOF | 6695 cat > conftest.$ac_ext <<EOF |
6688 #line 6689 "configure" | 6696 #line 6697 "configure" |
6689 #include "confdefs.h" | 6697 #include "confdefs.h" |
6690 /* Override any gcc2 internal prototype to avoid an error. */ | 6698 /* Override any gcc2 internal prototype to avoid an error. */ |
6691 /* We use char because int might match the return type of a gcc2 | 6699 /* We use char because int might match the return type of a gcc2 |
6692 builtin and then its argument prototype would still apply. */ | 6700 builtin and then its argument prototype would still apply. */ |
6693 char inflate(); | 6701 char inflate(); |
6694 | 6702 |
6695 int main() { | 6703 int main() { |
6696 inflate() | 6704 inflate() |
6697 ; return 0; } | 6705 ; return 0; } |
6698 EOF | 6706 EOF |
6699 if { (eval echo configure:6700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6707 if { (eval echo configure:6708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6700 rm -rf conftest* | 6708 rm -rf conftest* |
6701 eval "ac_cv_lib_$ac_lib_var=yes" | 6709 eval "ac_cv_lib_$ac_lib_var=yes" |
6702 else | 6710 else |
6703 echo "configure: failed program was:" >&5 | 6711 echo "configure: failed program was:" >&5 |
6704 cat conftest.$ac_ext >&5 | 6712 cat conftest.$ac_ext >&5 |
6724 | 6732 |
6725 fi | 6733 fi |
6726 | 6734 |
6727 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6735 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6728 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6736 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6729 echo "configure:6730: checking for jpeglib.h" >&5 | 6737 echo "configure:6738: checking for jpeglib.h" >&5 |
6730 | 6738 |
6731 cat > conftest.$ac_ext <<EOF | 6739 cat > conftest.$ac_ext <<EOF |
6732 #line 6733 "configure" | 6740 #line 6741 "configure" |
6733 #include "confdefs.h" | 6741 #include "confdefs.h" |
6734 #include <jpeglib.h> | 6742 #include <jpeglib.h> |
6735 EOF | 6743 EOF |
6736 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6737 { (eval echo configure:6738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6745 { (eval echo configure:6746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6738 ac_err=`grep -v '^ *+' conftest.out` | 6746 ac_err=`grep -v '^ *+' conftest.out` |
6739 if test -z "$ac_err"; then | 6747 if test -z "$ac_err"; then |
6740 rm -rf conftest* | 6748 rm -rf conftest* |
6741 eval "ac_cv_header_$ac_safe=yes" | 6749 eval "ac_cv_header_$ac_safe=yes" |
6742 else | 6750 else |
6755 with_jpeg=no | 6763 with_jpeg=no |
6756 fi | 6764 fi |
6757 } | 6765 } |
6758 test -z "$with_jpeg" && { | 6766 test -z "$with_jpeg" && { |
6759 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6767 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6760 echo "configure:6761: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6768 echo "configure:6769: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6761 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6769 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6762 | 6770 |
6763 xe_check_libs=" -ljpeg " | 6771 xe_check_libs=" -ljpeg " |
6764 cat > conftest.$ac_ext <<EOF | 6772 cat > conftest.$ac_ext <<EOF |
6765 #line 6766 "configure" | 6773 #line 6774 "configure" |
6766 #include "confdefs.h" | 6774 #include "confdefs.h" |
6767 /* Override any gcc2 internal prototype to avoid an error. */ | 6775 /* Override any gcc2 internal prototype to avoid an error. */ |
6768 /* We use char because int might match the return type of a gcc2 | 6776 /* We use char because int might match the return type of a gcc2 |
6769 builtin and then its argument prototype would still apply. */ | 6777 builtin and then its argument prototype would still apply. */ |
6770 char jpeg_destroy_decompress(); | 6778 char jpeg_destroy_decompress(); |
6771 | 6779 |
6772 int main() { | 6780 int main() { |
6773 jpeg_destroy_decompress() | 6781 jpeg_destroy_decompress() |
6774 ; return 0; } | 6782 ; return 0; } |
6775 EOF | 6783 EOF |
6776 if { (eval echo configure:6777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6784 if { (eval echo configure:6785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6777 rm -rf conftest* | 6785 rm -rf conftest* |
6778 eval "ac_cv_lib_$ac_lib_var=yes" | 6786 eval "ac_cv_lib_$ac_lib_var=yes" |
6779 else | 6787 else |
6780 echo "configure: failed program was:" >&5 | 6788 echo "configure: failed program was:" >&5 |
6781 cat conftest.$ac_ext >&5 | 6789 cat conftest.$ac_ext >&5 |
6807 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6815 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6808 fi | 6816 fi |
6809 | 6817 |
6810 png_problem="" | 6818 png_problem="" |
6811 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6819 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6812 echo "configure:6813: checking for pow" >&5 | 6820 echo "configure:6821: checking for pow" >&5 |
6813 | 6821 |
6814 cat > conftest.$ac_ext <<EOF | 6822 cat > conftest.$ac_ext <<EOF |
6815 #line 6816 "configure" | 6823 #line 6824 "configure" |
6816 #include "confdefs.h" | 6824 #include "confdefs.h" |
6817 /* System header to define __stub macros and hopefully few prototypes, | 6825 /* System header to define __stub macros and hopefully few prototypes, |
6818 which can conflict with char pow(); below. */ | 6826 which can conflict with char pow(); below. */ |
6819 #include <assert.h> | 6827 #include <assert.h> |
6820 /* Override any gcc2 internal prototype to avoid an error. */ | 6828 /* Override any gcc2 internal prototype to avoid an error. */ |
6833 pow(); | 6841 pow(); |
6834 #endif | 6842 #endif |
6835 | 6843 |
6836 ; return 0; } | 6844 ; return 0; } |
6837 EOF | 6845 EOF |
6838 if { (eval echo configure:6839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6846 if { (eval echo configure:6847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6839 rm -rf conftest* | 6847 rm -rf conftest* |
6840 eval "ac_cv_func_pow=yes" | 6848 eval "ac_cv_func_pow=yes" |
6841 else | 6849 else |
6842 echo "configure: failed program was:" >&5 | 6850 echo "configure: failed program was:" >&5 |
6843 cat conftest.$ac_ext >&5 | 6851 cat conftest.$ac_ext >&5 |
6854 with_png=no | 6862 with_png=no |
6855 fi | 6863 fi |
6856 } | 6864 } |
6857 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6865 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
6858 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6866 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
6859 echo "configure:6860: checking for png.h" >&5 | 6867 echo "configure:6868: checking for png.h" >&5 |
6860 | 6868 |
6861 cat > conftest.$ac_ext <<EOF | 6869 cat > conftest.$ac_ext <<EOF |
6862 #line 6863 "configure" | 6870 #line 6871 "configure" |
6863 #include "confdefs.h" | 6871 #include "confdefs.h" |
6864 #include <png.h> | 6872 #include <png.h> |
6865 EOF | 6873 EOF |
6866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6867 { (eval echo configure:6868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6875 { (eval echo configure:6876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6868 ac_err=`grep -v '^ *+' conftest.out` | 6876 ac_err=`grep -v '^ *+' conftest.out` |
6869 if test -z "$ac_err"; then | 6877 if test -z "$ac_err"; then |
6870 rm -rf conftest* | 6878 rm -rf conftest* |
6871 eval "ac_cv_header_$ac_safe=yes" | 6879 eval "ac_cv_header_$ac_safe=yes" |
6872 else | 6880 else |
6885 with_png=no | 6893 with_png=no |
6886 fi | 6894 fi |
6887 } | 6895 } |
6888 test -z "$with_png" && { | 6896 test -z "$with_png" && { |
6889 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 6897 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
6890 echo "configure:6891: checking for png_read_image in -lpng" >&5 | 6898 echo "configure:6899: checking for png_read_image in -lpng" >&5 |
6891 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6899 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
6892 | 6900 |
6893 xe_check_libs=" -lpng " | 6901 xe_check_libs=" -lpng " |
6894 cat > conftest.$ac_ext <<EOF | 6902 cat > conftest.$ac_ext <<EOF |
6895 #line 6896 "configure" | 6903 #line 6904 "configure" |
6896 #include "confdefs.h" | 6904 #include "confdefs.h" |
6897 /* Override any gcc2 internal prototype to avoid an error. */ | 6905 /* Override any gcc2 internal prototype to avoid an error. */ |
6898 /* We use char because int might match the return type of a gcc2 | 6906 /* We use char because int might match the return type of a gcc2 |
6899 builtin and then its argument prototype would still apply. */ | 6907 builtin and then its argument prototype would still apply. */ |
6900 char png_read_image(); | 6908 char png_read_image(); |
6901 | 6909 |
6902 int main() { | 6910 int main() { |
6903 png_read_image() | 6911 png_read_image() |
6904 ; return 0; } | 6912 ; return 0; } |
6905 EOF | 6913 EOF |
6906 if { (eval echo configure:6907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6914 if { (eval echo configure:6915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6907 rm -rf conftest* | 6915 rm -rf conftest* |
6908 eval "ac_cv_lib_$ac_lib_var=yes" | 6916 eval "ac_cv_lib_$ac_lib_var=yes" |
6909 else | 6917 else |
6910 echo "configure: failed program was:" >&5 | 6918 echo "configure: failed program was:" >&5 |
6911 cat conftest.$ac_ext >&5 | 6919 cat conftest.$ac_ext >&5 |
6924 fi | 6932 fi |
6925 | 6933 |
6926 } | 6934 } |
6927 if test -z "$with_png"; then | 6935 if test -z "$with_png"; then |
6928 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 6936 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
6929 echo "configure:6930: checking for workable png version information" >&5 | 6937 echo "configure:6938: checking for workable png version information" >&5 |
6930 xe_check_libs="-lpng -lz" | 6938 xe_check_libs="-lpng -lz" |
6931 cat > conftest.$ac_ext <<EOF | 6939 cat > conftest.$ac_ext <<EOF |
6932 #line 6933 "configure" | 6940 #line 6941 "configure" |
6933 #include "confdefs.h" | 6941 #include "confdefs.h" |
6934 #include <png.h> | 6942 #include <png.h> |
6935 int main(int c, char **v) { | 6943 int main(int c, char **v) { |
6936 if (c == 1) return 0; | 6944 if (c == 1) return 0; |
6937 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 6945 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
6938 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 6946 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
6939 EOF | 6947 EOF |
6940 if { (eval echo configure:6941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6948 if { (eval echo configure:6949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6941 then | 6949 then |
6942 ./conftest dummy_arg; png_status=$?; | 6950 ./conftest dummy_arg; png_status=$?; |
6943 if test "$png_status" = "0"; then | 6951 if test "$png_status" = "0"; then |
6944 with_png=yes; | 6952 with_png=yes; |
6945 else | 6953 else |
6978 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 6986 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
6979 fi | 6987 fi |
6980 | 6988 |
6981 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 6989 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
6982 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 6990 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
6983 echo "configure:6984: checking for tiffio.h" >&5 | 6991 echo "configure:6992: checking for tiffio.h" >&5 |
6984 | 6992 |
6985 cat > conftest.$ac_ext <<EOF | 6993 cat > conftest.$ac_ext <<EOF |
6986 #line 6987 "configure" | 6994 #line 6995 "configure" |
6987 #include "confdefs.h" | 6995 #include "confdefs.h" |
6988 #include <tiffio.h> | 6996 #include <tiffio.h> |
6989 EOF | 6997 EOF |
6990 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6991 { (eval echo configure:6992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6999 { (eval echo configure:7000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6992 ac_err=`grep -v '^ *+' conftest.out` | 7000 ac_err=`grep -v '^ *+' conftest.out` |
6993 if test -z "$ac_err"; then | 7001 if test -z "$ac_err"; then |
6994 rm -rf conftest* | 7002 rm -rf conftest* |
6995 eval "ac_cv_header_$ac_safe=yes" | 7003 eval "ac_cv_header_$ac_safe=yes" |
6996 else | 7004 else |
7009 with_tiff=no | 7017 with_tiff=no |
7010 fi | 7018 fi |
7011 } | 7019 } |
7012 test -z "$with_tiff" && { | 7020 test -z "$with_tiff" && { |
7013 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7021 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
7014 echo "configure:7015: checking for TIFFClientOpen in -ltiff" >&5 | 7022 echo "configure:7023: checking for TIFFClientOpen in -ltiff" >&5 |
7015 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7023 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
7016 | 7024 |
7017 xe_check_libs=" -ltiff " | 7025 xe_check_libs=" -ltiff " |
7018 cat > conftest.$ac_ext <<EOF | 7026 cat > conftest.$ac_ext <<EOF |
7019 #line 7020 "configure" | 7027 #line 7028 "configure" |
7020 #include "confdefs.h" | 7028 #include "confdefs.h" |
7021 /* Override any gcc2 internal prototype to avoid an error. */ | 7029 /* Override any gcc2 internal prototype to avoid an error. */ |
7022 /* We use char because int might match the return type of a gcc2 | 7030 /* We use char because int might match the return type of a gcc2 |
7023 builtin and then its argument prototype would still apply. */ | 7031 builtin and then its argument prototype would still apply. */ |
7024 char TIFFClientOpen(); | 7032 char TIFFClientOpen(); |
7025 | 7033 |
7026 int main() { | 7034 int main() { |
7027 TIFFClientOpen() | 7035 TIFFClientOpen() |
7028 ; return 0; } | 7036 ; return 0; } |
7029 EOF | 7037 EOF |
7030 if { (eval echo configure:7031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7038 if { (eval echo configure:7039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7031 rm -rf conftest* | 7039 rm -rf conftest* |
7032 eval "ac_cv_lib_$ac_lib_var=yes" | 7040 eval "ac_cv_lib_$ac_lib_var=yes" |
7033 else | 7041 else |
7034 echo "configure: failed program was:" >&5 | 7042 echo "configure: failed program was:" >&5 |
7035 cat conftest.$ac_ext >&5 | 7043 cat conftest.$ac_ext >&5 |
7064 | 7072 |
7065 | 7073 |
7066 if test "$with_x11" = "yes"; then | 7074 if test "$with_x11" = "yes"; then |
7067 | 7075 |
7068 echo "checking for X11 graphics libraries" 1>&6 | 7076 echo "checking for X11 graphics libraries" 1>&6 |
7069 echo "configure:7070: checking for X11 graphics libraries" >&5 | 7077 echo "configure:7078: checking for X11 graphics libraries" >&5 |
7070 | 7078 |
7071 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7079 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
7072 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7080 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
7073 echo "configure:7074: checking for compface.h" >&5 | 7081 echo "configure:7082: checking for compface.h" >&5 |
7074 | 7082 |
7075 cat > conftest.$ac_ext <<EOF | 7083 cat > conftest.$ac_ext <<EOF |
7076 #line 7077 "configure" | 7084 #line 7085 "configure" |
7077 #include "confdefs.h" | 7085 #include "confdefs.h" |
7078 #include <compface.h> | 7086 #include <compface.h> |
7079 EOF | 7087 EOF |
7080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7088 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7081 { (eval echo configure:7082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7089 { (eval echo configure:7090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7082 ac_err=`grep -v '^ *+' conftest.out` | 7090 ac_err=`grep -v '^ *+' conftest.out` |
7083 if test -z "$ac_err"; then | 7091 if test -z "$ac_err"; then |
7084 rm -rf conftest* | 7092 rm -rf conftest* |
7085 eval "ac_cv_header_$ac_safe=yes" | 7093 eval "ac_cv_header_$ac_safe=yes" |
7086 else | 7094 else |
7099 with_xface=no | 7107 with_xface=no |
7100 fi | 7108 fi |
7101 } | 7109 } |
7102 test -z "$with_xface" && { | 7110 test -z "$with_xface" && { |
7103 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7111 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7104 echo "configure:7105: checking for UnGenFace in -lcompface" >&5 | 7112 echo "configure:7113: checking for UnGenFace in -lcompface" >&5 |
7105 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7113 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7106 | 7114 |
7107 xe_check_libs=" -lcompface " | 7115 xe_check_libs=" -lcompface " |
7108 cat > conftest.$ac_ext <<EOF | 7116 cat > conftest.$ac_ext <<EOF |
7109 #line 7110 "configure" | 7117 #line 7118 "configure" |
7110 #include "confdefs.h" | 7118 #include "confdefs.h" |
7111 /* Override any gcc2 internal prototype to avoid an error. */ | 7119 /* Override any gcc2 internal prototype to avoid an error. */ |
7112 /* We use char because int might match the return type of a gcc2 | 7120 /* We use char because int might match the return type of a gcc2 |
7113 builtin and then its argument prototype would still apply. */ | 7121 builtin and then its argument prototype would still apply. */ |
7114 char UnGenFace(); | 7122 char UnGenFace(); |
7115 | 7123 |
7116 int main() { | 7124 int main() { |
7117 UnGenFace() | 7125 UnGenFace() |
7118 ; return 0; } | 7126 ; return 0; } |
7119 EOF | 7127 EOF |
7120 if { (eval echo configure:7121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7128 if { (eval echo configure:7129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7121 rm -rf conftest* | 7129 rm -rf conftest* |
7122 eval "ac_cv_lib_$ac_lib_var=yes" | 7130 eval "ac_cv_lib_$ac_lib_var=yes" |
7123 else | 7131 else |
7124 echo "configure: failed program was:" >&5 | 7132 echo "configure: failed program was:" >&5 |
7125 cat conftest.$ac_ext >&5 | 7133 cat conftest.$ac_ext >&5 |
7151 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 7159 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
7152 fi | 7160 fi |
7153 | 7161 |
7154 | 7162 |
7155 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7163 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
7156 echo "configure:7157: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7164 echo "configure:7165: checking for XawScrollbarSetThumb in -lXaw" >&5 |
7157 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7165 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7158 | 7166 |
7159 xe_check_libs=" -lXaw " | 7167 xe_check_libs=" -lXaw " |
7160 cat > conftest.$ac_ext <<EOF | 7168 cat > conftest.$ac_ext <<EOF |
7161 #line 7162 "configure" | 7169 #line 7170 "configure" |
7162 #include "confdefs.h" | 7170 #include "confdefs.h" |
7163 /* Override any gcc2 internal prototype to avoid an error. */ | 7171 /* Override any gcc2 internal prototype to avoid an error. */ |
7164 /* We use char because int might match the return type of a gcc2 | 7172 /* We use char because int might match the return type of a gcc2 |
7165 builtin and then its argument prototype would still apply. */ | 7173 builtin and then its argument prototype would still apply. */ |
7166 char XawScrollbarSetThumb(); | 7174 char XawScrollbarSetThumb(); |
7167 | 7175 |
7168 int main() { | 7176 int main() { |
7169 XawScrollbarSetThumb() | 7177 XawScrollbarSetThumb() |
7170 ; return 0; } | 7178 ; return 0; } |
7171 EOF | 7179 EOF |
7172 if { (eval echo configure:7173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7180 if { (eval echo configure:7181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7173 rm -rf conftest* | 7181 rm -rf conftest* |
7174 eval "ac_cv_lib_$ac_lib_var=yes" | 7182 eval "ac_cv_lib_$ac_lib_var=yes" |
7175 else | 7183 else |
7176 echo "configure: failed program was:" >&5 | 7184 echo "configure: failed program was:" >&5 |
7177 cat conftest.$ac_ext >&5 | 7185 cat conftest.$ac_ext >&5 |
7191 | 7199 |
7192 | 7200 |
7193 | 7201 |
7194 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7202 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7195 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7203 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7196 echo "configure:7197: checking for Xm/Xm.h" >&5 | 7204 echo "configure:7205: checking for Xm/Xm.h" >&5 |
7197 | 7205 |
7198 cat > conftest.$ac_ext <<EOF | 7206 cat > conftest.$ac_ext <<EOF |
7199 #line 7200 "configure" | 7207 #line 7208 "configure" |
7200 #include "confdefs.h" | 7208 #include "confdefs.h" |
7201 #include <Xm/Xm.h> | 7209 #include <Xm/Xm.h> |
7202 EOF | 7210 EOF |
7203 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7204 { (eval echo configure:7205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7212 { (eval echo configure:7213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7205 ac_err=`grep -v '^ *+' conftest.out` | 7213 ac_err=`grep -v '^ *+' conftest.out` |
7206 if test -z "$ac_err"; then | 7214 if test -z "$ac_err"; then |
7207 rm -rf conftest* | 7215 rm -rf conftest* |
7208 eval "ac_cv_header_$ac_safe=yes" | 7216 eval "ac_cv_header_$ac_safe=yes" |
7209 else | 7217 else |
7216 rm -f conftest* | 7224 rm -f conftest* |
7217 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7225 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7218 echo "$ac_t""yes" 1>&6 | 7226 echo "$ac_t""yes" 1>&6 |
7219 | 7227 |
7220 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7228 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7221 echo "configure:7222: checking for XmStringFree in -lXm" >&5 | 7229 echo "configure:7230: checking for XmStringFree in -lXm" >&5 |
7222 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7230 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7223 | 7231 |
7224 xe_check_libs=" -lXm " | 7232 xe_check_libs=" -lXm " |
7225 cat > conftest.$ac_ext <<EOF | 7233 cat > conftest.$ac_ext <<EOF |
7226 #line 7227 "configure" | 7234 #line 7235 "configure" |
7227 #include "confdefs.h" | 7235 #include "confdefs.h" |
7228 /* Override any gcc2 internal prototype to avoid an error. */ | 7236 /* Override any gcc2 internal prototype to avoid an error. */ |
7229 /* We use char because int might match the return type of a gcc2 | 7237 /* We use char because int might match the return type of a gcc2 |
7230 builtin and then its argument prototype would still apply. */ | 7238 builtin and then its argument prototype would still apply. */ |
7231 char XmStringFree(); | 7239 char XmStringFree(); |
7232 | 7240 |
7233 int main() { | 7241 int main() { |
7234 XmStringFree() | 7242 XmStringFree() |
7235 ; return 0; } | 7243 ; return 0; } |
7236 EOF | 7244 EOF |
7237 if { (eval echo configure:7238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7245 if { (eval echo configure:7246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7238 rm -rf conftest* | 7246 rm -rf conftest* |
7239 eval "ac_cv_lib_$ac_lib_var=yes" | 7247 eval "ac_cv_lib_$ac_lib_var=yes" |
7240 else | 7248 else |
7241 echo "configure: failed program was:" >&5 | 7249 echo "configure: failed program was:" >&5 |
7242 cat conftest.$ac_ext >&5 | 7250 cat conftest.$ac_ext >&5 |
7261 fi | 7269 fi |
7262 | 7270 |
7263 | 7271 |
7264 if test "$have_motif" = "yes"; then | 7272 if test "$have_motif" = "yes"; then |
7265 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7273 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7266 echo "configure:7267: checking for Lesstif" >&5 | 7274 echo "configure:7275: checking for Lesstif" >&5 |
7267 cat > conftest.$ac_ext <<EOF | 7275 cat > conftest.$ac_ext <<EOF |
7268 #line 7269 "configure" | 7276 #line 7277 "configure" |
7269 #include "confdefs.h" | 7277 #include "confdefs.h" |
7270 #include <Xm/Xm.h> | 7278 #include <Xm/Xm.h> |
7271 #ifdef LESSTIF_VERSION | 7279 #ifdef LESSTIF_VERSION |
7272 yes | 7280 yes |
7273 #endif | 7281 #endif |
7547 fi | 7555 fi |
7548 fi | 7556 fi |
7549 | 7557 |
7550 if test "$with_mule" = "yes" ; then | 7558 if test "$with_mule" = "yes" ; then |
7551 echo "checking for Mule-related features" 1>&6 | 7559 echo "checking for Mule-related features" 1>&6 |
7552 echo "configure:7553: checking for Mule-related features" >&5 | 7560 echo "configure:7561: checking for Mule-related features" >&5 |
7553 { test "$extra_verbose" = "yes" && cat << \EOF | 7561 { test "$extra_verbose" = "yes" && cat << \EOF |
7554 Defining MULE | 7562 Defining MULE |
7555 EOF | 7563 EOF |
7556 cat >> confdefs.h <<\EOF | 7564 cat >> confdefs.h <<\EOF |
7557 #define MULE 1 | 7565 #define MULE 1 |
7572 | 7580 |
7573 for ac_hdr in libintl.h | 7581 for ac_hdr in libintl.h |
7574 do | 7582 do |
7575 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7583 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7576 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7584 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7577 echo "configure:7578: checking for $ac_hdr" >&5 | 7585 echo "configure:7586: checking for $ac_hdr" >&5 |
7578 | 7586 |
7579 cat > conftest.$ac_ext <<EOF | 7587 cat > conftest.$ac_ext <<EOF |
7580 #line 7581 "configure" | 7588 #line 7589 "configure" |
7581 #include "confdefs.h" | 7589 #include "confdefs.h" |
7582 #include <$ac_hdr> | 7590 #include <$ac_hdr> |
7583 EOF | 7591 EOF |
7584 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7592 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7585 { (eval echo configure:7586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7593 { (eval echo configure:7594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7586 ac_err=`grep -v '^ *+' conftest.out` | 7594 ac_err=`grep -v '^ *+' conftest.out` |
7587 if test -z "$ac_err"; then | 7595 if test -z "$ac_err"; then |
7588 rm -rf conftest* | 7596 rm -rf conftest* |
7589 eval "ac_cv_header_$ac_safe=yes" | 7597 eval "ac_cv_header_$ac_safe=yes" |
7590 else | 7598 else |
7611 fi | 7619 fi |
7612 done | 7620 done |
7613 | 7621 |
7614 | 7622 |
7615 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7623 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7616 echo "configure:7617: checking for strerror in -lintl" >&5 | 7624 echo "configure:7625: checking for strerror in -lintl" >&5 |
7617 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7625 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7618 | 7626 |
7619 xe_check_libs=" -lintl " | 7627 xe_check_libs=" -lintl " |
7620 cat > conftest.$ac_ext <<EOF | 7628 cat > conftest.$ac_ext <<EOF |
7621 #line 7622 "configure" | 7629 #line 7630 "configure" |
7622 #include "confdefs.h" | 7630 #include "confdefs.h" |
7623 /* Override any gcc2 internal prototype to avoid an error. */ | 7631 /* Override any gcc2 internal prototype to avoid an error. */ |
7624 /* We use char because int might match the return type of a gcc2 | 7632 /* We use char because int might match the return type of a gcc2 |
7625 builtin and then its argument prototype would still apply. */ | 7633 builtin and then its argument prototype would still apply. */ |
7626 char strerror(); | 7634 char strerror(); |
7627 | 7635 |
7628 int main() { | 7636 int main() { |
7629 strerror() | 7637 strerror() |
7630 ; return 0; } | 7638 ; return 0; } |
7631 EOF | 7639 EOF |
7632 if { (eval echo configure:7633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7640 if { (eval echo configure:7641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7633 rm -rf conftest* | 7641 rm -rf conftest* |
7634 eval "ac_cv_lib_$ac_lib_var=yes" | 7642 eval "ac_cv_lib_$ac_lib_var=yes" |
7635 else | 7643 else |
7636 echo "configure: failed program was:" >&5 | 7644 echo "configure: failed program was:" >&5 |
7637 cat conftest.$ac_ext >&5 | 7645 cat conftest.$ac_ext >&5 |
7660 fi | 7668 fi |
7661 | 7669 |
7662 | 7670 |
7663 | 7671 |
7664 echo "checking for Mule input methods" 1>&6 | 7672 echo "checking for Mule input methods" 1>&6 |
7665 echo "configure:7666: checking for Mule input methods" >&5 | 7673 echo "configure:7674: checking for Mule input methods" >&5 |
7666 case "$with_xim" in "" | "yes" ) | 7674 case "$with_xim" in "" | "yes" ) |
7667 echo "checking for XIM" 1>&6 | 7675 echo "checking for XIM" 1>&6 |
7668 echo "configure:7669: checking for XIM" >&5 | 7676 echo "configure:7677: checking for XIM" >&5 |
7669 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7677 if test "$have_lesstif" = "yes"; then with_xim=xlib |
7670 else | 7678 else |
7671 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7679 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7672 echo "configure:7673: checking for XmImMbLookupString in -lXm" >&5 | 7680 echo "configure:7681: checking for XmImMbLookupString in -lXm" >&5 |
7673 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7681 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7674 | 7682 |
7675 xe_check_libs=" -lXm " | 7683 xe_check_libs=" -lXm " |
7676 cat > conftest.$ac_ext <<EOF | 7684 cat > conftest.$ac_ext <<EOF |
7677 #line 7678 "configure" | 7685 #line 7686 "configure" |
7678 #include "confdefs.h" | 7686 #include "confdefs.h" |
7679 /* Override any gcc2 internal prototype to avoid an error. */ | 7687 /* Override any gcc2 internal prototype to avoid an error. */ |
7680 /* We use char because int might match the return type of a gcc2 | 7688 /* We use char because int might match the return type of a gcc2 |
7681 builtin and then its argument prototype would still apply. */ | 7689 builtin and then its argument prototype would still apply. */ |
7682 char XmImMbLookupString(); | 7690 char XmImMbLookupString(); |
7683 | 7691 |
7684 int main() { | 7692 int main() { |
7685 XmImMbLookupString() | 7693 XmImMbLookupString() |
7686 ; return 0; } | 7694 ; return 0; } |
7687 EOF | 7695 EOF |
7688 if { (eval echo configure:7689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7696 if { (eval echo configure:7697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7689 rm -rf conftest* | 7697 rm -rf conftest* |
7690 eval "ac_cv_lib_$ac_lib_var=yes" | 7698 eval "ac_cv_lib_$ac_lib_var=yes" |
7691 else | 7699 else |
7692 echo "configure: failed program was:" >&5 | 7700 echo "configure: failed program was:" >&5 |
7693 cat conftest.$ac_ext >&5 | 7701 cat conftest.$ac_ext >&5 |
7749 fi | 7757 fi |
7750 fi | 7758 fi |
7751 | 7759 |
7752 if test "$with_xfs" = "yes" ; then | 7760 if test "$with_xfs" = "yes" ; then |
7753 echo "checking for XFontSet" 1>&6 | 7761 echo "checking for XFontSet" 1>&6 |
7754 echo "configure:7755: checking for XFontSet" >&5 | 7762 echo "configure:7763: checking for XFontSet" >&5 |
7755 | 7763 |
7756 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7764 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7757 echo "configure:7758: checking for XmbDrawString in -lX11" >&5 | 7765 echo "configure:7766: checking for XmbDrawString in -lX11" >&5 |
7758 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7766 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7759 | 7767 |
7760 xe_check_libs=" -lX11 " | 7768 xe_check_libs=" -lX11 " |
7761 cat > conftest.$ac_ext <<EOF | 7769 cat > conftest.$ac_ext <<EOF |
7762 #line 7763 "configure" | 7770 #line 7771 "configure" |
7763 #include "confdefs.h" | 7771 #include "confdefs.h" |
7764 /* Override any gcc2 internal prototype to avoid an error. */ | 7772 /* Override any gcc2 internal prototype to avoid an error. */ |
7765 /* We use char because int might match the return type of a gcc2 | 7773 /* We use char because int might match the return type of a gcc2 |
7766 builtin and then its argument prototype would still apply. */ | 7774 builtin and then its argument prototype would still apply. */ |
7767 char XmbDrawString(); | 7775 char XmbDrawString(); |
7768 | 7776 |
7769 int main() { | 7777 int main() { |
7770 XmbDrawString() | 7778 XmbDrawString() |
7771 ; return 0; } | 7779 ; return 0; } |
7772 EOF | 7780 EOF |
7773 if { (eval echo configure:7774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7781 if { (eval echo configure:7782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7774 rm -rf conftest* | 7782 rm -rf conftest* |
7775 eval "ac_cv_lib_$ac_lib_var=yes" | 7783 eval "ac_cv_lib_$ac_lib_var=yes" |
7776 else | 7784 else |
7777 echo "configure: failed program was:" >&5 | 7785 echo "configure: failed program was:" >&5 |
7778 cat conftest.$ac_ext >&5 | 7786 cat conftest.$ac_ext >&5 |
7808 fi | 7816 fi |
7809 fi | 7817 fi |
7810 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7818 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7811 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7819 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7812 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7820 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7813 echo "configure:7814: checking for wnn/jllib.h" >&5 | 7821 echo "configure:7822: checking for wnn/jllib.h" >&5 |
7814 | 7822 |
7815 cat > conftest.$ac_ext <<EOF | 7823 cat > conftest.$ac_ext <<EOF |
7816 #line 7817 "configure" | 7824 #line 7825 "configure" |
7817 #include "confdefs.h" | 7825 #include "confdefs.h" |
7818 #include <wnn/jllib.h> | 7826 #include <wnn/jllib.h> |
7819 EOF | 7827 EOF |
7820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7828 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7821 { (eval echo configure:7822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7829 { (eval echo configure:7830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7822 ac_err=`grep -v '^ *+' conftest.out` | 7830 ac_err=`grep -v '^ *+' conftest.out` |
7823 if test -z "$ac_err"; then | 7831 if test -z "$ac_err"; then |
7824 rm -rf conftest* | 7832 rm -rf conftest* |
7825 eval "ac_cv_header_$ac_safe=yes" | 7833 eval "ac_cv_header_$ac_safe=yes" |
7826 else | 7834 else |
7841 } | 7849 } |
7842 if test "$with_wnn" != "no"; then | 7850 if test "$with_wnn" != "no"; then |
7843 for ac_func in crypt | 7851 for ac_func in crypt |
7844 do | 7852 do |
7845 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7846 echo "configure:7847: checking for $ac_func" >&5 | 7854 echo "configure:7855: checking for $ac_func" >&5 |
7847 | 7855 |
7848 cat > conftest.$ac_ext <<EOF | 7856 cat > conftest.$ac_ext <<EOF |
7849 #line 7850 "configure" | 7857 #line 7858 "configure" |
7850 #include "confdefs.h" | 7858 #include "confdefs.h" |
7851 /* System header to define __stub macros and hopefully few prototypes, | 7859 /* System header to define __stub macros and hopefully few prototypes, |
7852 which can conflict with char $ac_func(); below. */ | 7860 which can conflict with char $ac_func(); below. */ |
7853 #include <assert.h> | 7861 #include <assert.h> |
7854 /* Override any gcc2 internal prototype to avoid an error. */ | 7862 /* Override any gcc2 internal prototype to avoid an error. */ |
7867 $ac_func(); | 7875 $ac_func(); |
7868 #endif | 7876 #endif |
7869 | 7877 |
7870 ; return 0; } | 7878 ; return 0; } |
7871 EOF | 7879 EOF |
7872 if { (eval echo configure:7873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7880 if { (eval echo configure:7881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7873 rm -rf conftest* | 7881 rm -rf conftest* |
7874 eval "ac_cv_func_$ac_func=yes" | 7882 eval "ac_cv_func_$ac_func=yes" |
7875 else | 7883 else |
7876 echo "configure: failed program was:" >&5 | 7884 echo "configure: failed program was:" >&5 |
7877 cat conftest.$ac_ext >&5 | 7885 cat conftest.$ac_ext >&5 |
7896 fi | 7904 fi |
7897 done | 7905 done |
7898 | 7906 |
7899 test "$ac_cv_func_crypt" != "yes" && { | 7907 test "$ac_cv_func_crypt" != "yes" && { |
7900 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7908 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7901 echo "configure:7902: checking for crypt in -lcrypt" >&5 | 7909 echo "configure:7910: checking for crypt in -lcrypt" >&5 |
7902 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7910 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7903 | 7911 |
7904 xe_check_libs=" -lcrypt " | 7912 xe_check_libs=" -lcrypt " |
7905 cat > conftest.$ac_ext <<EOF | 7913 cat > conftest.$ac_ext <<EOF |
7906 #line 7907 "configure" | 7914 #line 7915 "configure" |
7907 #include "confdefs.h" | 7915 #include "confdefs.h" |
7908 /* Override any gcc2 internal prototype to avoid an error. */ | 7916 /* Override any gcc2 internal prototype to avoid an error. */ |
7909 /* We use char because int might match the return type of a gcc2 | 7917 /* We use char because int might match the return type of a gcc2 |
7910 builtin and then its argument prototype would still apply. */ | 7918 builtin and then its argument prototype would still apply. */ |
7911 char crypt(); | 7919 char crypt(); |
7912 | 7920 |
7913 int main() { | 7921 int main() { |
7914 crypt() | 7922 crypt() |
7915 ; return 0; } | 7923 ; return 0; } |
7916 EOF | 7924 EOF |
7917 if { (eval echo configure:7918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7925 if { (eval echo configure:7926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7918 rm -rf conftest* | 7926 rm -rf conftest* |
7919 eval "ac_cv_lib_$ac_lib_var=yes" | 7927 eval "ac_cv_lib_$ac_lib_var=yes" |
7920 else | 7928 else |
7921 echo "configure: failed program was:" >&5 | 7929 echo "configure: failed program was:" >&5 |
7922 cat conftest.$ac_ext >&5 | 7930 cat conftest.$ac_ext >&5 |
7944 echo "$ac_t""no" 1>&6 | 7952 echo "$ac_t""no" 1>&6 |
7945 fi | 7953 fi |
7946 | 7954 |
7947 } | 7955 } |
7948 fi | 7956 fi |
7949 test -z "$with_wnn" && { | 7957 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
7958 | |
7950 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7959 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7951 echo "configure:7952: checking for jl_dic_list_e in -lwnn" >&5 | 7960 echo "configure:7961: checking for jl_dic_list_e in -lwnn" >&5 |
7952 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7961 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7953 | 7962 |
7954 xe_check_libs=" -lwnn " | 7963 xe_check_libs=" -lwnn " |
7955 cat > conftest.$ac_ext <<EOF | 7964 cat > conftest.$ac_ext <<EOF |
7956 #line 7957 "configure" | 7965 #line 7966 "configure" |
7957 #include "confdefs.h" | 7966 #include "confdefs.h" |
7958 /* Override any gcc2 internal prototype to avoid an error. */ | 7967 /* Override any gcc2 internal prototype to avoid an error. */ |
7959 /* We use char because int might match the return type of a gcc2 | 7968 /* We use char because int might match the return type of a gcc2 |
7960 builtin and then its argument prototype would still apply. */ | 7969 builtin and then its argument prototype would still apply. */ |
7961 char jl_dic_list_e(); | 7970 char jl_dic_list_e(); |
7962 | 7971 |
7963 int main() { | 7972 int main() { |
7964 jl_dic_list_e() | 7973 jl_dic_list_e() |
7965 ; return 0; } | 7974 ; return 0; } |
7966 EOF | 7975 EOF |
7967 if { (eval echo configure:7968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7976 if { (eval echo configure:7977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7968 rm -rf conftest* | 7977 rm -rf conftest* |
7969 eval "ac_cv_lib_$ac_lib_var=yes" | 7978 eval "ac_cv_lib_$ac_lib_var=yes" |
7970 else | 7979 else |
7971 echo "configure: failed program was:" >&5 | 7980 echo "configure: failed program was:" >&5 |
7972 cat conftest.$ac_ext >&5 | 7981 cat conftest.$ac_ext >&5 |
7976 rm -f conftest* | 7985 rm -f conftest* |
7977 xe_check_libs="" | 7986 xe_check_libs="" |
7978 | 7987 |
7979 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 7988 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
7980 echo "$ac_t""yes" 1>&6 | 7989 echo "$ac_t""yes" 1>&6 |
7981 : | 7990 libwnn=wnn |
7991 else | |
7992 echo "$ac_t""no" 1>&6 | |
7993 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | |
7994 echo "configure:7995: checking for jl_dic_list_e in -lwnn4" >&5 | |
7995 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | |
7996 | |
7997 xe_check_libs=" -lwnn4 " | |
7998 cat > conftest.$ac_ext <<EOF | |
7999 #line 8000 "configure" | |
8000 #include "confdefs.h" | |
8001 /* Override any gcc2 internal prototype to avoid an error. */ | |
8002 /* We use char because int might match the return type of a gcc2 | |
8003 builtin and then its argument prototype would still apply. */ | |
8004 char jl_dic_list_e(); | |
8005 | |
8006 int main() { | |
8007 jl_dic_list_e() | |
8008 ; return 0; } | |
8009 EOF | |
8010 if { (eval echo configure:8011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
8011 rm -rf conftest* | |
8012 eval "ac_cv_lib_$ac_lib_var=yes" | |
8013 else | |
8014 echo "configure: failed program was:" >&5 | |
8015 cat conftest.$ac_ext >&5 | |
8016 rm -rf conftest* | |
8017 eval "ac_cv_lib_$ac_lib_var=no" | |
8018 fi | |
8019 rm -f conftest* | |
8020 xe_check_libs="" | |
8021 | |
8022 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
8023 echo "$ac_t""yes" 1>&6 | |
8024 libwnn=wnn4 | |
8025 else | |
8026 echo "$ac_t""no" 1>&6 | |
8027 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | |
8028 echo "configure:8029: checking for jl_dic_list_e in -lwnn6" >&5 | |
8029 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | |
8030 | |
8031 xe_check_libs=" -lwnn6 " | |
8032 cat > conftest.$ac_ext <<EOF | |
8033 #line 8034 "configure" | |
8034 #include "confdefs.h" | |
8035 /* Override any gcc2 internal prototype to avoid an error. */ | |
8036 /* We use char because int might match the return type of a gcc2 | |
8037 builtin and then its argument prototype would still apply. */ | |
8038 char jl_dic_list_e(); | |
8039 | |
8040 int main() { | |
8041 jl_dic_list_e() | |
8042 ; return 0; } | |
8043 EOF | |
8044 if { (eval echo configure:8045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
8045 rm -rf conftest* | |
8046 eval "ac_cv_lib_$ac_lib_var=yes" | |
8047 else | |
8048 echo "configure: failed program was:" >&5 | |
8049 cat conftest.$ac_ext >&5 | |
8050 rm -rf conftest* | |
8051 eval "ac_cv_lib_$ac_lib_var=no" | |
8052 fi | |
8053 rm -f conftest* | |
8054 xe_check_libs="" | |
8055 | |
8056 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
8057 echo "$ac_t""yes" 1>&6 | |
8058 libwnn=wnn6 | |
8059 else | |
8060 echo "$ac_t""no" 1>&6 | |
8061 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | |
8062 echo "configure:8063: checking for dic_list_e in -lwnn6_fromsrc" >&5 | |
8063 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | |
8064 | |
8065 xe_check_libs=" -lwnn6_fromsrc " | |
8066 cat > conftest.$ac_ext <<EOF | |
8067 #line 8068 "configure" | |
8068 #include "confdefs.h" | |
8069 /* Override any gcc2 internal prototype to avoid an error. */ | |
8070 /* We use char because int might match the return type of a gcc2 | |
8071 builtin and then its argument prototype would still apply. */ | |
8072 char dic_list_e(); | |
8073 | |
8074 int main() { | |
8075 dic_list_e() | |
8076 ; return 0; } | |
8077 EOF | |
8078 if { (eval echo configure:8079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
8079 rm -rf conftest* | |
8080 eval "ac_cv_lib_$ac_lib_var=yes" | |
8081 else | |
8082 echo "configure: failed program was:" >&5 | |
8083 cat conftest.$ac_ext >&5 | |
8084 rm -rf conftest* | |
8085 eval "ac_cv_lib_$ac_lib_var=no" | |
8086 fi | |
8087 rm -f conftest* | |
8088 xe_check_libs="" | |
8089 | |
8090 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
8091 echo "$ac_t""yes" 1>&6 | |
8092 libwnn=wnn6_fromsrc | |
7982 else | 8093 else |
7983 echo "$ac_t""no" 1>&6 | 8094 echo "$ac_t""no" 1>&6 |
7984 with_wnn=no | 8095 with_wnn=no |
7985 fi | 8096 fi |
7986 | 8097 |
7987 } | 8098 |
8099 fi | |
8100 | |
8101 | |
8102 fi | |
8103 | |
8104 | |
8105 fi | |
8106 | |
8107 | |
8108 fi | |
7988 test -z "$with_wnn" && with_wnn=yes | 8109 test -z "$with_wnn" && with_wnn=yes |
7989 if test "$with_wnn" = "yes"; then | 8110 if test "$with_wnn" = "yes"; then |
7990 { test "$extra_verbose" = "yes" && cat << \EOF | 8111 { test "$extra_verbose" = "yes" && cat << \EOF |
7991 Defining HAVE_WNN | 8112 Defining HAVE_WNN |
7992 EOF | 8113 EOF |
7993 cat >> confdefs.h <<\EOF | 8114 cat >> confdefs.h <<\EOF |
7994 #define HAVE_WNN 1 | 8115 #define HAVE_WNN 1 |
7995 EOF | 8116 EOF |
7996 } | 8117 } |
7997 | 8118 |
7998 libs_x="-lwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lwnn\" to \$libs_x"; fi | 8119 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
7999 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 8120 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
8000 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8121 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
8001 fi | 8122 fi |
8002 if test "$with_wnn6" != "no"; then | 8123 if test "$with_wnn6" != "no"; then |
8003 | 8124 |
8004 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 8125 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
8005 echo "configure:8006: checking for jl_fi_dic_list in -lwnn" >&5 | 8126 echo "configure:8127: checking for jl_fi_dic_list in -l$libwnn" >&5 |
8006 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8127 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
8007 | 8128 |
8008 xe_check_libs=" -lwnn " | 8129 xe_check_libs=" -l$libwnn " |
8009 cat > conftest.$ac_ext <<EOF | 8130 cat > conftest.$ac_ext <<EOF |
8010 #line 8011 "configure" | 8131 #line 8132 "configure" |
8011 #include "confdefs.h" | 8132 #include "confdefs.h" |
8012 /* Override any gcc2 internal prototype to avoid an error. */ | 8133 /* Override any gcc2 internal prototype to avoid an error. */ |
8013 /* We use char because int might match the return type of a gcc2 | 8134 /* We use char because int might match the return type of a gcc2 |
8014 builtin and then its argument prototype would still apply. */ | 8135 builtin and then its argument prototype would still apply. */ |
8015 char jl_fi_dic_list(); | 8136 char jl_fi_dic_list(); |
8016 | 8137 |
8017 int main() { | 8138 int main() { |
8018 jl_fi_dic_list() | 8139 jl_fi_dic_list() |
8019 ; return 0; } | 8140 ; return 0; } |
8020 EOF | 8141 EOF |
8021 if { (eval echo configure:8022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8142 if { (eval echo configure:8143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8022 rm -rf conftest* | 8143 rm -rf conftest* |
8023 eval "ac_cv_lib_$ac_lib_var=yes" | 8144 eval "ac_cv_lib_$ac_lib_var=yes" |
8024 else | 8145 else |
8025 echo "configure: failed program was:" >&5 | 8146 echo "configure: failed program was:" >&5 |
8026 cat conftest.$ac_ext >&5 | 8147 cat conftest.$ac_ext >&5 |
8051 | 8172 |
8052 canna_includes_found=no | 8173 canna_includes_found=no |
8053 if test "$with_canna" != "no"; then | 8174 if test "$with_canna" != "no"; then |
8054 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8175 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8055 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8176 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8056 echo "configure:8057: checking for canna/jrkanji.h" >&5 | 8177 echo "configure:8178: checking for canna/jrkanji.h" >&5 |
8057 | 8178 |
8058 cat > conftest.$ac_ext <<EOF | 8179 cat > conftest.$ac_ext <<EOF |
8059 #line 8060 "configure" | 8180 #line 8181 "configure" |
8060 #include "confdefs.h" | 8181 #include "confdefs.h" |
8061 #include <canna/jrkanji.h> | 8182 #include <canna/jrkanji.h> |
8062 EOF | 8183 EOF |
8063 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8064 { (eval echo configure:8065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8185 { (eval echo configure:8186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8065 ac_err=`grep -v '^ *+' conftest.out` | 8186 ac_err=`grep -v '^ *+' conftest.out` |
8066 if test -z "$ac_err"; then | 8187 if test -z "$ac_err"; then |
8067 rm -rf conftest* | 8188 rm -rf conftest* |
8068 eval "ac_cv_header_$ac_safe=yes" | 8189 eval "ac_cv_header_$ac_safe=yes" |
8069 else | 8190 else |
8086 -d "/usr/local/canna/include"; then | 8207 -d "/usr/local/canna/include"; then |
8087 save_c_switch_site="$c_switch_site" | 8208 save_c_switch_site="$c_switch_site" |
8088 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8209 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8089 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8210 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8090 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8211 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8091 echo "configure:8092: checking for canna/jrkanji.h" >&5 | 8212 echo "configure:8213: checking for canna/jrkanji.h" >&5 |
8092 | 8213 |
8093 cat > conftest.$ac_ext <<EOF | 8214 cat > conftest.$ac_ext <<EOF |
8094 #line 8095 "configure" | 8215 #line 8216 "configure" |
8095 #include "confdefs.h" | 8216 #include "confdefs.h" |
8096 #include <canna/jrkanji.h> | 8217 #include <canna/jrkanji.h> |
8097 EOF | 8218 EOF |
8098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8099 { (eval echo configure:8100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8220 { (eval echo configure:8221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8100 ac_err=`grep -v '^ *+' conftest.out` | 8221 ac_err=`grep -v '^ *+' conftest.out` |
8101 if test -z "$ac_err"; then | 8222 if test -z "$ac_err"; then |
8102 rm -rf conftest* | 8223 rm -rf conftest* |
8103 eval "ac_cv_header_$ac_safe=yes" | 8224 eval "ac_cv_header_$ac_safe=yes" |
8104 else | 8225 else |
8122 fi | 8243 fi |
8123 fi | 8244 fi |
8124 | 8245 |
8125 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8246 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8126 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8247 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8127 echo "configure:8128: checking for canna/RK.h" >&5 | 8248 echo "configure:8249: checking for canna/RK.h" >&5 |
8128 | 8249 |
8129 cat > conftest.$ac_ext <<EOF | 8250 cat > conftest.$ac_ext <<EOF |
8130 #line 8131 "configure" | 8251 #line 8252 "configure" |
8131 #include "confdefs.h" | 8252 #include "confdefs.h" |
8132 #include <canna/RK.h> | 8253 #include <canna/RK.h> |
8133 EOF | 8254 EOF |
8134 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8255 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8135 { (eval echo configure:8136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8256 { (eval echo configure:8257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8136 ac_err=`grep -v '^ *+' conftest.out` | 8257 ac_err=`grep -v '^ *+' conftest.out` |
8137 if test -z "$ac_err"; then | 8258 if test -z "$ac_err"; then |
8138 rm -rf conftest* | 8259 rm -rf conftest* |
8139 eval "ac_cv_header_$ac_safe=yes" | 8260 eval "ac_cv_header_$ac_safe=yes" |
8140 else | 8261 else |
8153 with_canna=no | 8274 with_canna=no |
8154 fi | 8275 fi |
8155 } | 8276 } |
8156 test -z "$with_canna" && { | 8277 test -z "$with_canna" && { |
8157 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8278 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8158 echo "configure:8159: checking for RkBgnBun in -lRKC" >&5 | 8279 echo "configure:8280: checking for RkBgnBun in -lRKC" >&5 |
8159 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8280 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8160 | 8281 |
8161 xe_check_libs=" -lRKC " | 8282 xe_check_libs=" -lRKC " |
8162 cat > conftest.$ac_ext <<EOF | 8283 cat > conftest.$ac_ext <<EOF |
8163 #line 8164 "configure" | 8284 #line 8285 "configure" |
8164 #include "confdefs.h" | 8285 #include "confdefs.h" |
8165 /* Override any gcc2 internal prototype to avoid an error. */ | 8286 /* Override any gcc2 internal prototype to avoid an error. */ |
8166 /* We use char because int might match the return type of a gcc2 | 8287 /* We use char because int might match the return type of a gcc2 |
8167 builtin and then its argument prototype would still apply. */ | 8288 builtin and then its argument prototype would still apply. */ |
8168 char RkBgnBun(); | 8289 char RkBgnBun(); |
8169 | 8290 |
8170 int main() { | 8291 int main() { |
8171 RkBgnBun() | 8292 RkBgnBun() |
8172 ; return 0; } | 8293 ; return 0; } |
8173 EOF | 8294 EOF |
8174 if { (eval echo configure:8175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8295 if { (eval echo configure:8296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8175 rm -rf conftest* | 8296 rm -rf conftest* |
8176 eval "ac_cv_lib_$ac_lib_var=yes" | 8297 eval "ac_cv_lib_$ac_lib_var=yes" |
8177 else | 8298 else |
8178 echo "configure: failed program was:" >&5 | 8299 echo "configure: failed program was:" >&5 |
8179 cat conftest.$ac_ext >&5 | 8300 cat conftest.$ac_ext >&5 |
8192 fi | 8313 fi |
8193 | 8314 |
8194 } | 8315 } |
8195 test -z "$with_canna" && { | 8316 test -z "$with_canna" && { |
8196 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8317 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8197 echo "configure:8198: checking for jrKanjiControl in -lcanna" >&5 | 8318 echo "configure:8319: checking for jrKanjiControl in -lcanna" >&5 |
8198 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8319 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8199 | 8320 |
8200 xe_check_libs=" -lcanna " | 8321 xe_check_libs=" -lcanna " |
8201 cat > conftest.$ac_ext <<EOF | 8322 cat > conftest.$ac_ext <<EOF |
8202 #line 8203 "configure" | 8323 #line 8324 "configure" |
8203 #include "confdefs.h" | 8324 #include "confdefs.h" |
8204 /* Override any gcc2 internal prototype to avoid an error. */ | 8325 /* Override any gcc2 internal prototype to avoid an error. */ |
8205 /* We use char because int might match the return type of a gcc2 | 8326 /* We use char because int might match the return type of a gcc2 |
8206 builtin and then its argument prototype would still apply. */ | 8327 builtin and then its argument prototype would still apply. */ |
8207 char jrKanjiControl(); | 8328 char jrKanjiControl(); |
8208 | 8329 |
8209 int main() { | 8330 int main() { |
8210 jrKanjiControl() | 8331 jrKanjiControl() |
8211 ; return 0; } | 8332 ; return 0; } |
8212 EOF | 8333 EOF |
8213 if { (eval echo configure:8214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8334 if { (eval echo configure:8335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8214 rm -rf conftest* | 8335 rm -rf conftest* |
8215 eval "ac_cv_lib_$ac_lib_var=yes" | 8336 eval "ac_cv_lib_$ac_lib_var=yes" |
8216 else | 8337 else |
8217 echo "configure: failed program was:" >&5 | 8338 echo "configure: failed program was:" >&5 |
8218 cat conftest.$ac_ext >&5 | 8339 cat conftest.$ac_ext >&5 |
8257 | 8378 |
8258 if test "$need_motif" = "yes" ; then | 8379 if test "$need_motif" = "yes" ; then |
8259 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8380 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8260 | 8381 |
8261 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8382 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8262 echo "configure:8263: checking for layout_object_getvalue in -li18n" >&5 | 8383 echo "configure:8384: checking for layout_object_getvalue in -li18n" >&5 |
8263 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8384 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8264 | 8385 |
8265 xe_check_libs=" -li18n " | 8386 xe_check_libs=" -li18n " |
8266 cat > conftest.$ac_ext <<EOF | 8387 cat > conftest.$ac_ext <<EOF |
8267 #line 8268 "configure" | 8388 #line 8389 "configure" |
8268 #include "confdefs.h" | 8389 #include "confdefs.h" |
8269 /* Override any gcc2 internal prototype to avoid an error. */ | 8390 /* Override any gcc2 internal prototype to avoid an error. */ |
8270 /* We use char because int might match the return type of a gcc2 | 8391 /* We use char because int might match the return type of a gcc2 |
8271 builtin and then its argument prototype would still apply. */ | 8392 builtin and then its argument prototype would still apply. */ |
8272 char layout_object_getvalue(); | 8393 char layout_object_getvalue(); |
8273 | 8394 |
8274 int main() { | 8395 int main() { |
8275 layout_object_getvalue() | 8396 layout_object_getvalue() |
8276 ; return 0; } | 8397 ; return 0; } |
8277 EOF | 8398 EOF |
8278 if { (eval echo configure:8279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8399 if { (eval echo configure:8400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8279 rm -rf conftest* | 8400 rm -rf conftest* |
8280 eval "ac_cv_lib_$ac_lib_var=yes" | 8401 eval "ac_cv_lib_$ac_lib_var=yes" |
8281 else | 8402 else |
8282 echo "configure: failed program was:" >&5 | 8403 echo "configure: failed program was:" >&5 |
8283 cat conftest.$ac_ext >&5 | 8404 cat conftest.$ac_ext >&5 |
8359 fi | 8480 fi |
8360 | 8481 |
8361 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 | 8482 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 |
8362 do | 8483 do |
8363 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8484 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8364 echo "configure:8365: checking for $ac_func" >&5 | 8485 echo "configure:8486: checking for $ac_func" >&5 |
8365 | 8486 |
8366 cat > conftest.$ac_ext <<EOF | 8487 cat > conftest.$ac_ext <<EOF |
8367 #line 8368 "configure" | 8488 #line 8489 "configure" |
8368 #include "confdefs.h" | 8489 #include "confdefs.h" |
8369 /* System header to define __stub macros and hopefully few prototypes, | 8490 /* System header to define __stub macros and hopefully few prototypes, |
8370 which can conflict with char $ac_func(); below. */ | 8491 which can conflict with char $ac_func(); below. */ |
8371 #include <assert.h> | 8492 #include <assert.h> |
8372 /* Override any gcc2 internal prototype to avoid an error. */ | 8493 /* Override any gcc2 internal prototype to avoid an error. */ |
8385 $ac_func(); | 8506 $ac_func(); |
8386 #endif | 8507 #endif |
8387 | 8508 |
8388 ; return 0; } | 8509 ; return 0; } |
8389 EOF | 8510 EOF |
8390 if { (eval echo configure:8391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8511 if { (eval echo configure:8512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8391 rm -rf conftest* | 8512 rm -rf conftest* |
8392 eval "ac_cv_func_$ac_func=yes" | 8513 eval "ac_cv_func_$ac_func=yes" |
8393 else | 8514 else |
8394 echo "configure: failed program was:" >&5 | 8515 echo "configure: failed program was:" >&5 |
8395 cat conftest.$ac_ext >&5 | 8516 cat conftest.$ac_ext >&5 |
8419 case "$opsys" in | 8540 case "$opsys" in |
8420 linuxaout* | bsdos3* | freebsd* | decosf4-0* | aix4* ) extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then | 8541 linuxaout* | bsdos3* | freebsd* | decosf4-0* | aix4* ) extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then |
8421 echo " xemacs will be linked with \"realpath.o\"" | 8542 echo " xemacs will be linked with \"realpath.o\"" |
8422 fi ;; | 8543 fi ;; |
8423 * ) | 8544 * ) |
8424 for ac_func in realpath | 8545 case "$canonical" in |
8546 *-*-sysv4.2uw2* ) extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then | |
8547 echo " xemacs will be linked with \"realpath.o\"" | |
8548 fi ;; | |
8549 * ) for ac_func in realpath | |
8425 do | 8550 do |
8426 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8427 echo "configure:8428: checking for $ac_func" >&5 | 8552 echo "configure:8553: checking for $ac_func" >&5 |
8428 | 8553 |
8429 cat > conftest.$ac_ext <<EOF | 8554 cat > conftest.$ac_ext <<EOF |
8430 #line 8431 "configure" | 8555 #line 8556 "configure" |
8431 #include "confdefs.h" | 8556 #include "confdefs.h" |
8432 /* System header to define __stub macros and hopefully few prototypes, | 8557 /* System header to define __stub macros and hopefully few prototypes, |
8433 which can conflict with char $ac_func(); below. */ | 8558 which can conflict with char $ac_func(); below. */ |
8434 #include <assert.h> | 8559 #include <assert.h> |
8435 /* Override any gcc2 internal prototype to avoid an error. */ | 8560 /* Override any gcc2 internal prototype to avoid an error. */ |
8448 $ac_func(); | 8573 $ac_func(); |
8449 #endif | 8574 #endif |
8450 | 8575 |
8451 ; return 0; } | 8576 ; return 0; } |
8452 EOF | 8577 EOF |
8453 if { (eval echo configure:8454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8578 if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8454 rm -rf conftest* | 8579 rm -rf conftest* |
8455 eval "ac_cv_func_$ac_func=yes" | 8580 eval "ac_cv_func_$ac_func=yes" |
8456 else | 8581 else |
8457 echo "configure: failed program was:" >&5 | 8582 echo "configure: failed program was:" >&5 |
8458 cat conftest.$ac_ext >&5 | 8583 cat conftest.$ac_ext >&5 |
8475 else | 8600 else |
8476 echo "$ac_t""no" 1>&6 | 8601 echo "$ac_t""no" 1>&6 |
8477 fi | 8602 fi |
8478 done | 8603 done |
8479 | 8604 |
8480 test "$ac_cv_func_realpath" != "yes" && extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then | 8605 test "$ac_cv_func_realpath" != "yes" && extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then |
8481 echo " xemacs will be linked with \"realpath.o\"" | 8606 echo " xemacs will be linked with \"realpath.o\"" |
8482 fi ;; | 8607 fi ;; |
8608 esac ;; | |
8483 esac | 8609 esac |
8484 | 8610 |
8485 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8611 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8486 echo "configure:8487: checking whether netdb declares h_errno" >&5 | 8612 echo "configure:8613: checking whether netdb declares h_errno" >&5 |
8487 cat > conftest.$ac_ext <<EOF | 8613 cat > conftest.$ac_ext <<EOF |
8488 #line 8489 "configure" | 8614 #line 8615 "configure" |
8489 #include "confdefs.h" | 8615 #include "confdefs.h" |
8490 #include <netdb.h> | 8616 #include <netdb.h> |
8491 int main() { | 8617 int main() { |
8492 return h_errno; | 8618 return h_errno; |
8493 ; return 0; } | 8619 ; return 0; } |
8494 EOF | 8620 EOF |
8495 if { (eval echo configure:8496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8621 if { (eval echo configure:8622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8496 rm -rf conftest* | 8622 rm -rf conftest* |
8497 echo "$ac_t""yes" 1>&6 | 8623 echo "$ac_t""yes" 1>&6 |
8498 { test "$extra_verbose" = "yes" && cat << \EOF | 8624 { test "$extra_verbose" = "yes" && cat << \EOF |
8499 Defining HAVE_H_ERRNO | 8625 Defining HAVE_H_ERRNO |
8500 EOF | 8626 EOF |
8510 echo "$ac_t""no" 1>&6 | 8636 echo "$ac_t""no" 1>&6 |
8511 fi | 8637 fi |
8512 rm -f conftest* | 8638 rm -f conftest* |
8513 | 8639 |
8514 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8640 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8515 echo "configure:8516: checking for sigsetjmp" >&5 | 8641 echo "configure:8642: checking for sigsetjmp" >&5 |
8516 cat > conftest.$ac_ext <<EOF | 8642 cat > conftest.$ac_ext <<EOF |
8517 #line 8518 "configure" | 8643 #line 8644 "configure" |
8518 #include "confdefs.h" | 8644 #include "confdefs.h" |
8519 #include <setjmp.h> | 8645 #include <setjmp.h> |
8520 int main() { | 8646 int main() { |
8521 sigjmp_buf bar; sigsetjmp (bar, 0); | 8647 sigjmp_buf bar; sigsetjmp (bar, 0); |
8522 ; return 0; } | 8648 ; return 0; } |
8523 EOF | 8649 EOF |
8524 if { (eval echo configure:8525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8650 if { (eval echo configure:8651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8525 rm -rf conftest* | 8651 rm -rf conftest* |
8526 echo "$ac_t""yes" 1>&6 | 8652 echo "$ac_t""yes" 1>&6 |
8527 { test "$extra_verbose" = "yes" && cat << \EOF | 8653 { test "$extra_verbose" = "yes" && cat << \EOF |
8528 Defining HAVE_SIGSETJMP | 8654 Defining HAVE_SIGSETJMP |
8529 EOF | 8655 EOF |
8539 echo "$ac_t""no" 1>&6 | 8665 echo "$ac_t""no" 1>&6 |
8540 fi | 8666 fi |
8541 rm -f conftest* | 8667 rm -f conftest* |
8542 | 8668 |
8543 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8669 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
8544 echo "configure:8545: checking whether localtime caches TZ" >&5 | 8670 echo "configure:8671: checking whether localtime caches TZ" >&5 |
8545 | 8671 |
8546 if test "$ac_cv_func_tzset" = "yes"; then | 8672 if test "$ac_cv_func_tzset" = "yes"; then |
8547 cat > conftest.$ac_ext <<EOF | 8673 cat > conftest.$ac_ext <<EOF |
8548 #line 8549 "configure" | 8674 #line 8675 "configure" |
8549 #include "confdefs.h" | 8675 #include "confdefs.h" |
8550 #include <time.h> | 8676 #include <time.h> |
8551 #if STDC_HEADERS | 8677 #if STDC_HEADERS |
8552 # include <stdlib.h> | 8678 # include <stdlib.h> |
8553 #endif | 8679 #endif |
8578 if (localtime (&now)->tm_hour != hour_unset) | 8704 if (localtime (&now)->tm_hour != hour_unset) |
8579 exit (1); | 8705 exit (1); |
8580 exit (0); | 8706 exit (0); |
8581 } | 8707 } |
8582 EOF | 8708 EOF |
8583 if { (eval echo configure:8584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8709 if { (eval echo configure:8710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8584 then | 8710 then |
8585 emacs_cv_localtime_cache=no | 8711 emacs_cv_localtime_cache=no |
8586 else | 8712 else |
8587 conftest_rc="$?" | 8713 conftest_rc="$?" |
8588 echo "configure: failed program was:" >&5 | 8714 echo "configure: failed program was:" >&5 |
8608 | 8734 |
8609 fi | 8735 fi |
8610 | 8736 |
8611 if test "$HAVE_TIMEVAL" = "yes"; then | 8737 if test "$HAVE_TIMEVAL" = "yes"; then |
8612 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8738 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
8613 echo "configure:8614: checking whether gettimeofday accepts one or two arguments" >&5 | 8739 echo "configure:8740: checking whether gettimeofday accepts one or two arguments" >&5 |
8614 cat > conftest.$ac_ext <<EOF | 8740 cat > conftest.$ac_ext <<EOF |
8615 #line 8616 "configure" | 8741 #line 8742 "configure" |
8616 #include "confdefs.h" | 8742 #include "confdefs.h" |
8617 | 8743 |
8618 #ifdef TIME_WITH_SYS_TIME | 8744 #ifdef TIME_WITH_SYS_TIME |
8619 #include <sys/time.h> | 8745 #include <sys/time.h> |
8620 #include <time.h> | 8746 #include <time.h> |
8632 struct timezone dummy; | 8758 struct timezone dummy; |
8633 gettimeofday (&time, &dummy); | 8759 gettimeofday (&time, &dummy); |
8634 | 8760 |
8635 ; return 0; } | 8761 ; return 0; } |
8636 EOF | 8762 EOF |
8637 if { (eval echo configure:8638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8763 if { (eval echo configure:8764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8638 rm -rf conftest* | 8764 rm -rf conftest* |
8639 echo "$ac_t""two" 1>&6 | 8765 echo "$ac_t""two" 1>&6 |
8640 else | 8766 else |
8641 echo "configure: failed program was:" >&5 | 8767 echo "configure: failed program was:" >&5 |
8642 cat conftest.$ac_ext >&5 | 8768 cat conftest.$ac_ext >&5 |
8654 rm -f conftest* | 8780 rm -f conftest* |
8655 fi | 8781 fi |
8656 | 8782 |
8657 | 8783 |
8658 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8784 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
8659 echo "configure:8660: checking for inline" >&5 | 8785 echo "configure:8786: checking for inline" >&5 |
8660 | 8786 |
8661 ac_cv_c_inline=no | 8787 ac_cv_c_inline=no |
8662 for ac_kw in inline __inline__ __inline; do | 8788 for ac_kw in inline __inline__ __inline; do |
8663 cat > conftest.$ac_ext <<EOF | 8789 cat > conftest.$ac_ext <<EOF |
8664 #line 8665 "configure" | 8790 #line 8791 "configure" |
8665 #include "confdefs.h" | 8791 #include "confdefs.h" |
8666 | 8792 |
8667 int main() { | 8793 int main() { |
8668 } $ac_kw foo() { | 8794 } $ac_kw foo() { |
8669 ; return 0; } | 8795 ; return 0; } |
8670 EOF | 8796 EOF |
8671 if { (eval echo configure:8672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8797 if { (eval echo configure:8798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8672 rm -rf conftest* | 8798 rm -rf conftest* |
8673 ac_cv_c_inline=$ac_kw; break | 8799 ac_cv_c_inline=$ac_kw; break |
8674 else | 8800 else |
8675 echo "configure: failed program was:" >&5 | 8801 echo "configure: failed program was:" >&5 |
8676 cat conftest.$ac_ext >&5 | 8802 cat conftest.$ac_ext >&5 |
8716 | 8842 |
8717 | 8843 |
8718 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8844 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
8719 # for constant arguments. Useless! | 8845 # for constant arguments. Useless! |
8720 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8846 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
8721 echo "configure:8722: checking for working alloca.h" >&5 | 8847 echo "configure:8848: checking for working alloca.h" >&5 |
8722 | 8848 |
8723 cat > conftest.$ac_ext <<EOF | 8849 cat > conftest.$ac_ext <<EOF |
8724 #line 8725 "configure" | 8850 #line 8851 "configure" |
8725 #include "confdefs.h" | 8851 #include "confdefs.h" |
8726 #include <alloca.h> | 8852 #include <alloca.h> |
8727 int main() { | 8853 int main() { |
8728 char *p = alloca(2 * sizeof(int)); | 8854 char *p = alloca(2 * sizeof(int)); |
8729 ; return 0; } | 8855 ; return 0; } |
8730 EOF | 8856 EOF |
8731 if { (eval echo configure:8732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8857 if { (eval echo configure:8858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8732 rm -rf conftest* | 8858 rm -rf conftest* |
8733 ac_cv_header_alloca_h=yes | 8859 ac_cv_header_alloca_h=yes |
8734 else | 8860 else |
8735 echo "configure: failed program was:" >&5 | 8861 echo "configure: failed program was:" >&5 |
8736 cat conftest.$ac_ext >&5 | 8862 cat conftest.$ac_ext >&5 |
8750 } | 8876 } |
8751 | 8877 |
8752 fi | 8878 fi |
8753 | 8879 |
8754 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8880 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
8755 echo "configure:8756: checking for alloca" >&5 | 8881 echo "configure:8882: checking for alloca" >&5 |
8756 | 8882 |
8757 cat > conftest.$ac_ext <<EOF | 8883 cat > conftest.$ac_ext <<EOF |
8758 #line 8759 "configure" | 8884 #line 8885 "configure" |
8759 #include "confdefs.h" | 8885 #include "confdefs.h" |
8760 | 8886 |
8761 #ifdef __GNUC__ | 8887 #ifdef __GNUC__ |
8762 # define alloca __builtin_alloca | 8888 # define alloca __builtin_alloca |
8763 #else | 8889 #else |
8776 | 8902 |
8777 int main() { | 8903 int main() { |
8778 char *p = (char *) alloca(1); | 8904 char *p = (char *) alloca(1); |
8779 ; return 0; } | 8905 ; return 0; } |
8780 EOF | 8906 EOF |
8781 if { (eval echo configure:8782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8907 if { (eval echo configure:8908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8782 rm -rf conftest* | 8908 rm -rf conftest* |
8783 ac_cv_func_alloca_works=yes | 8909 ac_cv_func_alloca_works=yes |
8784 else | 8910 else |
8785 echo "configure: failed program was:" >&5 | 8911 echo "configure: failed program was:" >&5 |
8786 cat conftest.$ac_ext >&5 | 8912 cat conftest.$ac_ext >&5 |
8815 EOF | 8941 EOF |
8816 } | 8942 } |
8817 | 8943 |
8818 | 8944 |
8819 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8945 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
8820 echo "configure:8821: checking whether alloca needs Cray hooks" >&5 | 8946 echo "configure:8947: checking whether alloca needs Cray hooks" >&5 |
8821 | 8947 |
8822 cat > conftest.$ac_ext <<EOF | 8948 cat > conftest.$ac_ext <<EOF |
8823 #line 8824 "configure" | 8949 #line 8950 "configure" |
8824 #include "confdefs.h" | 8950 #include "confdefs.h" |
8825 #if defined(CRAY) && ! defined(CRAY2) | 8951 #if defined(CRAY) && ! defined(CRAY2) |
8826 webecray | 8952 webecray |
8827 #else | 8953 #else |
8828 wenotbecray | 8954 wenotbecray |
8842 | 8968 |
8843 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8969 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
8844 if test $ac_cv_os_cray = yes; then | 8970 if test $ac_cv_os_cray = yes; then |
8845 for ac_func in _getb67 GETB67 getb67; do | 8971 for ac_func in _getb67 GETB67 getb67; do |
8846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8972 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8847 echo "configure:8848: checking for $ac_func" >&5 | 8973 echo "configure:8974: checking for $ac_func" >&5 |
8848 | 8974 |
8849 cat > conftest.$ac_ext <<EOF | 8975 cat > conftest.$ac_ext <<EOF |
8850 #line 8851 "configure" | 8976 #line 8977 "configure" |
8851 #include "confdefs.h" | 8977 #include "confdefs.h" |
8852 /* System header to define __stub macros and hopefully few prototypes, | 8978 /* System header to define __stub macros and hopefully few prototypes, |
8853 which can conflict with char $ac_func(); below. */ | 8979 which can conflict with char $ac_func(); below. */ |
8854 #include <assert.h> | 8980 #include <assert.h> |
8855 /* Override any gcc2 internal prototype to avoid an error. */ | 8981 /* Override any gcc2 internal prototype to avoid an error. */ |
8868 $ac_func(); | 8994 $ac_func(); |
8869 #endif | 8995 #endif |
8870 | 8996 |
8871 ; return 0; } | 8997 ; return 0; } |
8872 EOF | 8998 EOF |
8873 if { (eval echo configure:8874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8999 if { (eval echo configure:9000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8874 rm -rf conftest* | 9000 rm -rf conftest* |
8875 eval "ac_cv_func_$ac_func=yes" | 9001 eval "ac_cv_func_$ac_func=yes" |
8876 else | 9002 else |
8877 echo "configure: failed program was:" >&5 | 9003 echo "configure: failed program was:" >&5 |
8878 cat conftest.$ac_ext >&5 | 9004 cat conftest.$ac_ext >&5 |
8898 | 9024 |
8899 done | 9025 done |
8900 fi | 9026 fi |
8901 | 9027 |
8902 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9028 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
8903 echo "configure:8904: checking stack direction for C alloca" >&5 | 9029 echo "configure:9030: checking stack direction for C alloca" >&5 |
8904 | 9030 |
8905 cat > conftest.$ac_ext <<EOF | 9031 cat > conftest.$ac_ext <<EOF |
8906 #line 8907 "configure" | 9032 #line 9033 "configure" |
8907 #include "confdefs.h" | 9033 #include "confdefs.h" |
8908 find_stack_direction () | 9034 find_stack_direction () |
8909 { | 9035 { |
8910 static char *addr = 0; | 9036 static char *addr = 0; |
8911 auto char dummy; | 9037 auto char dummy; |
8920 main () | 9046 main () |
8921 { | 9047 { |
8922 exit (find_stack_direction() < 0); | 9048 exit (find_stack_direction() < 0); |
8923 } | 9049 } |
8924 EOF | 9050 EOF |
8925 if { (eval echo configure:8926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9051 if { (eval echo configure:9052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8926 then | 9052 then |
8927 ac_cv_c_stack_direction=1 | 9053 ac_cv_c_stack_direction=1 |
8928 else | 9054 else |
8929 conftest_rc="$?" | 9055 conftest_rc="$?" |
8930 echo "configure: failed program was:" >&5 | 9056 echo "configure: failed program was:" >&5 |
8949 echo " xemacs will be linked with \"$ALLOCA\"" | 9075 echo " xemacs will be linked with \"$ALLOCA\"" |
8950 fi | 9076 fi |
8951 | 9077 |
8952 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9078 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8953 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9079 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8954 echo "configure:8955: checking for vfork.h" >&5 | 9080 echo "configure:9081: checking for vfork.h" >&5 |
8955 | 9081 |
8956 cat > conftest.$ac_ext <<EOF | 9082 cat > conftest.$ac_ext <<EOF |
8957 #line 8958 "configure" | 9083 #line 9084 "configure" |
8958 #include "confdefs.h" | 9084 #include "confdefs.h" |
8959 #include <vfork.h> | 9085 #include <vfork.h> |
8960 EOF | 9086 EOF |
8961 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9087 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8962 { (eval echo configure:8963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9088 { (eval echo configure:9089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8963 ac_err=`grep -v '^ *+' conftest.out` | 9089 ac_err=`grep -v '^ *+' conftest.out` |
8964 if test -z "$ac_err"; then | 9090 if test -z "$ac_err"; then |
8965 rm -rf conftest* | 9091 rm -rf conftest* |
8966 eval "ac_cv_header_$ac_safe=yes" | 9092 eval "ac_cv_header_$ac_safe=yes" |
8967 else | 9093 else |
8985 else | 9111 else |
8986 echo "$ac_t""no" 1>&6 | 9112 echo "$ac_t""no" 1>&6 |
8987 fi | 9113 fi |
8988 | 9114 |
8989 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9115 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8990 echo "configure:8991: checking for working vfork" >&5 | 9116 echo "configure:9117: checking for working vfork" >&5 |
8991 | 9117 |
8992 cat > conftest.$ac_ext <<EOF | 9118 cat > conftest.$ac_ext <<EOF |
8993 #line 8994 "configure" | 9119 #line 9120 "configure" |
8994 #include "confdefs.h" | 9120 #include "confdefs.h" |
8995 /* Thanks to Paul Eggert for this test. */ | 9121 /* Thanks to Paul Eggert for this test. */ |
8996 #include <stdio.h> | 9122 #include <stdio.h> |
8997 #include <sys/types.h> | 9123 #include <sys/types.h> |
8998 #include <sys/stat.h> | 9124 #include <sys/stat.h> |
9083 || fstat(fileno(stdout), &st) != 0 | 9209 || fstat(fileno(stdout), &st) != 0 |
9084 ); | 9210 ); |
9085 } | 9211 } |
9086 } | 9212 } |
9087 EOF | 9213 EOF |
9088 if { (eval echo configure:9089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9214 if { (eval echo configure:9215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9089 then | 9215 then |
9090 ac_cv_func_vfork_works=yes | 9216 ac_cv_func_vfork_works=yes |
9091 else | 9217 else |
9092 conftest_rc="$?" | 9218 conftest_rc="$?" |
9093 echo "configure: failed program was:" >&5 | 9219 echo "configure: failed program was:" >&5 |
9109 | 9235 |
9110 fi | 9236 fi |
9111 | 9237 |
9112 | 9238 |
9113 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9239 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9114 echo "configure:9115: checking for working strcoll" >&5 | 9240 echo "configure:9241: checking for working strcoll" >&5 |
9115 | 9241 |
9116 cat > conftest.$ac_ext <<EOF | 9242 cat > conftest.$ac_ext <<EOF |
9117 #line 9118 "configure" | 9243 #line 9244 "configure" |
9118 #include "confdefs.h" | 9244 #include "confdefs.h" |
9119 #include <string.h> | 9245 #include <string.h> |
9120 main () | 9246 main () |
9121 { | 9247 { |
9122 exit (strcoll ("abc", "def") >= 0 || | 9248 exit (strcoll ("abc", "def") >= 0 || |
9123 strcoll ("ABC", "DEF") >= 0 || | 9249 strcoll ("ABC", "DEF") >= 0 || |
9124 strcoll ("123", "456") >= 0); | 9250 strcoll ("123", "456") >= 0); |
9125 } | 9251 } |
9126 EOF | 9252 EOF |
9127 if { (eval echo configure:9128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9253 if { (eval echo configure:9254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9128 then | 9254 then |
9129 ac_cv_func_strcoll_works=yes | 9255 ac_cv_func_strcoll_works=yes |
9130 else | 9256 else |
9131 conftest_rc="$?" | 9257 conftest_rc="$?" |
9132 echo "configure: failed program was:" >&5 | 9258 echo "configure: failed program was:" >&5 |
9150 | 9276 |
9151 | 9277 |
9152 for ac_func in getpgrp | 9278 for ac_func in getpgrp |
9153 do | 9279 do |
9154 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9280 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9155 echo "configure:9156: checking for $ac_func" >&5 | 9281 echo "configure:9282: checking for $ac_func" >&5 |
9156 | 9282 |
9157 cat > conftest.$ac_ext <<EOF | 9283 cat > conftest.$ac_ext <<EOF |
9158 #line 9159 "configure" | 9284 #line 9285 "configure" |
9159 #include "confdefs.h" | 9285 #include "confdefs.h" |
9160 /* System header to define __stub macros and hopefully few prototypes, | 9286 /* System header to define __stub macros and hopefully few prototypes, |
9161 which can conflict with char $ac_func(); below. */ | 9287 which can conflict with char $ac_func(); below. */ |
9162 #include <assert.h> | 9288 #include <assert.h> |
9163 /* Override any gcc2 internal prototype to avoid an error. */ | 9289 /* Override any gcc2 internal prototype to avoid an error. */ |
9176 $ac_func(); | 9302 $ac_func(); |
9177 #endif | 9303 #endif |
9178 | 9304 |
9179 ; return 0; } | 9305 ; return 0; } |
9180 EOF | 9306 EOF |
9181 if { (eval echo configure:9182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9307 if { (eval echo configure:9308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9182 rm -rf conftest* | 9308 rm -rf conftest* |
9183 eval "ac_cv_func_$ac_func=yes" | 9309 eval "ac_cv_func_$ac_func=yes" |
9184 else | 9310 else |
9185 echo "configure: failed program was:" >&5 | 9311 echo "configure: failed program was:" >&5 |
9186 cat conftest.$ac_ext >&5 | 9312 cat conftest.$ac_ext >&5 |
9204 echo "$ac_t""no" 1>&6 | 9330 echo "$ac_t""no" 1>&6 |
9205 fi | 9331 fi |
9206 done | 9332 done |
9207 | 9333 |
9208 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9334 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9209 echo "configure:9210: checking whether getpgrp takes no argument" >&5 | 9335 echo "configure:9336: checking whether getpgrp takes no argument" >&5 |
9210 | 9336 |
9211 cat > conftest.$ac_ext <<EOF | 9337 cat > conftest.$ac_ext <<EOF |
9212 #line 9213 "configure" | 9338 #line 9339 "configure" |
9213 #include "confdefs.h" | 9339 #include "confdefs.h" |
9214 | 9340 |
9215 /* | 9341 /* |
9216 * If this system has a BSD-style getpgrp(), | 9342 * If this system has a BSD-style getpgrp(), |
9217 * which takes a pid argument, exit unsuccessfully. | 9343 * which takes a pid argument, exit unsuccessfully. |
9262 exit(s>>8); | 9388 exit(s>>8); |
9263 } | 9389 } |
9264 } | 9390 } |
9265 | 9391 |
9266 EOF | 9392 EOF |
9267 if { (eval echo configure:9268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9393 if { (eval echo configure:9394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9268 then | 9394 then |
9269 ac_cv_func_getpgrp_void=yes | 9395 ac_cv_func_getpgrp_void=yes |
9270 else | 9396 else |
9271 conftest_rc="$?" | 9397 conftest_rc="$?" |
9272 echo "configure: failed program was:" >&5 | 9398 echo "configure: failed program was:" >&5 |
9289 | 9415 |
9290 fi | 9416 fi |
9291 | 9417 |
9292 | 9418 |
9293 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9419 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9294 echo "configure:9295: checking for working mmap" >&5 | 9420 echo "configure:9421: checking for working mmap" >&5 |
9295 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9421 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9296 cat > conftest.$ac_ext <<EOF | 9422 cat > conftest.$ac_ext <<EOF |
9297 #line 9298 "configure" | 9423 #line 9424 "configure" |
9298 #include "confdefs.h" | 9424 #include "confdefs.h" |
9299 #include <stdio.h> | 9425 #include <stdio.h> |
9300 #include <unistd.h> | 9426 #include <unistd.h> |
9301 #include <fcntl.h> | 9427 #include <fcntl.h> |
9302 #include <sys/mman.h> | 9428 #include <sys/mman.h> |
9325 return 0; | 9451 return 0; |
9326 perror ("conftest: mmap failed"); | 9452 perror ("conftest: mmap failed"); |
9327 return 1; | 9453 return 1; |
9328 } | 9454 } |
9329 EOF | 9455 EOF |
9330 if { (eval echo configure:9331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9456 if { (eval echo configure:9457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9331 then | 9457 then |
9332 have_mmap=yes | 9458 have_mmap=yes |
9333 else | 9459 else |
9334 conftest_rc="$?" | 9460 conftest_rc="$?" |
9335 echo "configure: failed program was:" >&5 | 9461 echo "configure: failed program was:" >&5 |
9350 | 9476 |
9351 for ac_hdr in unistd.h | 9477 for ac_hdr in unistd.h |
9352 do | 9478 do |
9353 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9479 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9354 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9480 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9355 echo "configure:9356: checking for $ac_hdr" >&5 | 9481 echo "configure:9482: checking for $ac_hdr" >&5 |
9356 | 9482 |
9357 cat > conftest.$ac_ext <<EOF | 9483 cat > conftest.$ac_ext <<EOF |
9358 #line 9359 "configure" | 9484 #line 9485 "configure" |
9359 #include "confdefs.h" | 9485 #include "confdefs.h" |
9360 #include <$ac_hdr> | 9486 #include <$ac_hdr> |
9361 EOF | 9487 EOF |
9362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9488 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9363 { (eval echo configure:9364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9489 { (eval echo configure:9490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9364 ac_err=`grep -v '^ *+' conftest.out` | 9490 ac_err=`grep -v '^ *+' conftest.out` |
9365 if test -z "$ac_err"; then | 9491 if test -z "$ac_err"; then |
9366 rm -rf conftest* | 9492 rm -rf conftest* |
9367 eval "ac_cv_header_$ac_safe=yes" | 9493 eval "ac_cv_header_$ac_safe=yes" |
9368 else | 9494 else |
9390 done | 9516 done |
9391 | 9517 |
9392 for ac_func in getpagesize | 9518 for ac_func in getpagesize |
9393 do | 9519 do |
9394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9395 echo "configure:9396: checking for $ac_func" >&5 | 9521 echo "configure:9522: checking for $ac_func" >&5 |
9396 | 9522 |
9397 cat > conftest.$ac_ext <<EOF | 9523 cat > conftest.$ac_ext <<EOF |
9398 #line 9399 "configure" | 9524 #line 9525 "configure" |
9399 #include "confdefs.h" | 9525 #include "confdefs.h" |
9400 /* System header to define __stub macros and hopefully few prototypes, | 9526 /* System header to define __stub macros and hopefully few prototypes, |
9401 which can conflict with char $ac_func(); below. */ | 9527 which can conflict with char $ac_func(); below. */ |
9402 #include <assert.h> | 9528 #include <assert.h> |
9403 /* Override any gcc2 internal prototype to avoid an error. */ | 9529 /* Override any gcc2 internal prototype to avoid an error. */ |
9416 $ac_func(); | 9542 $ac_func(); |
9417 #endif | 9543 #endif |
9418 | 9544 |
9419 ; return 0; } | 9545 ; return 0; } |
9420 EOF | 9546 EOF |
9421 if { (eval echo configure:9422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9547 if { (eval echo configure:9548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9422 rm -rf conftest* | 9548 rm -rf conftest* |
9423 eval "ac_cv_func_$ac_func=yes" | 9549 eval "ac_cv_func_$ac_func=yes" |
9424 else | 9550 else |
9425 echo "configure: failed program was:" >&5 | 9551 echo "configure: failed program was:" >&5 |
9426 cat conftest.$ac_ext >&5 | 9552 cat conftest.$ac_ext >&5 |
9444 echo "$ac_t""no" 1>&6 | 9570 echo "$ac_t""no" 1>&6 |
9445 fi | 9571 fi |
9446 done | 9572 done |
9447 | 9573 |
9448 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9574 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9449 echo "configure:9450: checking for working mmap" >&5 | 9575 echo "configure:9576: checking for working mmap" >&5 |
9450 | 9576 |
9451 cat > conftest.$ac_ext <<EOF | 9577 cat > conftest.$ac_ext <<EOF |
9452 #line 9453 "configure" | 9578 #line 9579 "configure" |
9453 #include "confdefs.h" | 9579 #include "confdefs.h" |
9454 | 9580 |
9455 /* Thanks to Mike Haertel and Jim Avera for this test. | 9581 /* Thanks to Mike Haertel and Jim Avera for this test. |
9456 Here is a matrix of mmap possibilities: | 9582 Here is a matrix of mmap possibilities: |
9457 mmap private not fixed | 9583 mmap private not fixed |
9587 unlink("conftestmmap"); | 9713 unlink("conftestmmap"); |
9588 exit(0); | 9714 exit(0); |
9589 } | 9715 } |
9590 | 9716 |
9591 EOF | 9717 EOF |
9592 if { (eval echo configure:9593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9718 if { (eval echo configure:9719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9593 then | 9719 then |
9594 ac_cv_func_mmap_fixed_mapped=yes | 9720 ac_cv_func_mmap_fixed_mapped=yes |
9595 else | 9721 else |
9596 conftest_rc="$?" | 9722 conftest_rc="$?" |
9597 echo "configure: failed program was:" >&5 | 9723 echo "configure: failed program was:" >&5 |
9625 } | 9751 } |
9626 | 9752 |
9627 | 9753 |
9628 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9754 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9629 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9755 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9630 echo "configure:9631: checking for termios.h" >&5 | 9756 echo "configure:9757: checking for termios.h" >&5 |
9631 | 9757 |
9632 cat > conftest.$ac_ext <<EOF | 9758 cat > conftest.$ac_ext <<EOF |
9633 #line 9634 "configure" | 9759 #line 9760 "configure" |
9634 #include "confdefs.h" | 9760 #include "confdefs.h" |
9635 #include <termios.h> | 9761 #include <termios.h> |
9636 EOF | 9762 EOF |
9637 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9638 { (eval echo configure:9639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9764 { (eval echo configure:9765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9639 ac_err=`grep -v '^ *+' conftest.out` | 9765 ac_err=`grep -v '^ *+' conftest.out` |
9640 if test -z "$ac_err"; then | 9766 if test -z "$ac_err"; then |
9641 rm -rf conftest* | 9767 rm -rf conftest* |
9642 eval "ac_cv_header_$ac_safe=yes" | 9768 eval "ac_cv_header_$ac_safe=yes" |
9643 else | 9769 else |
9676 | 9802 |
9677 else | 9803 else |
9678 echo "$ac_t""no" 1>&6 | 9804 echo "$ac_t""no" 1>&6 |
9679 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9805 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
9680 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9806 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
9681 echo "configure:9682: checking for termio.h" >&5 | 9807 echo "configure:9808: checking for termio.h" >&5 |
9682 | 9808 |
9683 cat > conftest.$ac_ext <<EOF | 9809 cat > conftest.$ac_ext <<EOF |
9684 #line 9685 "configure" | 9810 #line 9811 "configure" |
9685 #include "confdefs.h" | 9811 #include "confdefs.h" |
9686 #include <termio.h> | 9812 #include <termio.h> |
9687 EOF | 9813 EOF |
9688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9814 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9689 { (eval echo configure:9690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9815 { (eval echo configure:9816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9690 ac_err=`grep -v '^ *+' conftest.out` | 9816 ac_err=`grep -v '^ *+' conftest.out` |
9691 if test -z "$ac_err"; then | 9817 if test -z "$ac_err"; then |
9692 rm -rf conftest* | 9818 rm -rf conftest* |
9693 eval "ac_cv_header_$ac_safe=yes" | 9819 eval "ac_cv_header_$ac_safe=yes" |
9694 else | 9820 else |
9716 fi | 9842 fi |
9717 | 9843 |
9718 | 9844 |
9719 | 9845 |
9720 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9846 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
9721 echo "configure:9722: checking for socket" >&5 | 9847 echo "configure:9848: checking for socket" >&5 |
9722 | 9848 |
9723 cat > conftest.$ac_ext <<EOF | 9849 cat > conftest.$ac_ext <<EOF |
9724 #line 9725 "configure" | 9850 #line 9851 "configure" |
9725 #include "confdefs.h" | 9851 #include "confdefs.h" |
9726 /* System header to define __stub macros and hopefully few prototypes, | 9852 /* System header to define __stub macros and hopefully few prototypes, |
9727 which can conflict with char socket(); below. */ | 9853 which can conflict with char socket(); below. */ |
9728 #include <assert.h> | 9854 #include <assert.h> |
9729 /* Override any gcc2 internal prototype to avoid an error. */ | 9855 /* Override any gcc2 internal prototype to avoid an error. */ |
9742 socket(); | 9868 socket(); |
9743 #endif | 9869 #endif |
9744 | 9870 |
9745 ; return 0; } | 9871 ; return 0; } |
9746 EOF | 9872 EOF |
9747 if { (eval echo configure:9748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9873 if { (eval echo configure:9874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9748 rm -rf conftest* | 9874 rm -rf conftest* |
9749 eval "ac_cv_func_socket=yes" | 9875 eval "ac_cv_func_socket=yes" |
9750 else | 9876 else |
9751 echo "configure: failed program was:" >&5 | 9877 echo "configure: failed program was:" >&5 |
9752 cat conftest.$ac_ext >&5 | 9878 cat conftest.$ac_ext >&5 |
9757 | 9883 |
9758 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 9884 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
9759 echo "$ac_t""yes" 1>&6 | 9885 echo "$ac_t""yes" 1>&6 |
9760 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 9886 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
9761 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 9887 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
9762 echo "configure:9763: checking for netinet/in.h" >&5 | 9888 echo "configure:9889: checking for netinet/in.h" >&5 |
9763 | 9889 |
9764 cat > conftest.$ac_ext <<EOF | 9890 cat > conftest.$ac_ext <<EOF |
9765 #line 9766 "configure" | 9891 #line 9892 "configure" |
9766 #include "confdefs.h" | 9892 #include "confdefs.h" |
9767 #include <netinet/in.h> | 9893 #include <netinet/in.h> |
9768 EOF | 9894 EOF |
9769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9770 { (eval echo configure:9771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9896 { (eval echo configure:9897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9771 ac_err=`grep -v '^ *+' conftest.out` | 9897 ac_err=`grep -v '^ *+' conftest.out` |
9772 if test -z "$ac_err"; then | 9898 if test -z "$ac_err"; then |
9773 rm -rf conftest* | 9899 rm -rf conftest* |
9774 eval "ac_cv_header_$ac_safe=yes" | 9900 eval "ac_cv_header_$ac_safe=yes" |
9775 else | 9901 else |
9782 rm -f conftest* | 9908 rm -f conftest* |
9783 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9909 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9784 echo "$ac_t""yes" 1>&6 | 9910 echo "$ac_t""yes" 1>&6 |
9785 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 9911 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
9786 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 9912 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
9787 echo "configure:9788: checking for arpa/inet.h" >&5 | 9913 echo "configure:9914: checking for arpa/inet.h" >&5 |
9788 | 9914 |
9789 cat > conftest.$ac_ext <<EOF | 9915 cat > conftest.$ac_ext <<EOF |
9790 #line 9791 "configure" | 9916 #line 9917 "configure" |
9791 #include "confdefs.h" | 9917 #include "confdefs.h" |
9792 #include <arpa/inet.h> | 9918 #include <arpa/inet.h> |
9793 EOF | 9919 EOF |
9794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9795 { (eval echo configure:9796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9921 { (eval echo configure:9922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9796 ac_err=`grep -v '^ *+' conftest.out` | 9922 ac_err=`grep -v '^ *+' conftest.out` |
9797 if test -z "$ac_err"; then | 9923 if test -z "$ac_err"; then |
9798 rm -rf conftest* | 9924 rm -rf conftest* |
9799 eval "ac_cv_header_$ac_safe=yes" | 9925 eval "ac_cv_header_$ac_safe=yes" |
9800 else | 9926 else |
9815 #define HAVE_SOCKETS 1 | 9941 #define HAVE_SOCKETS 1 |
9816 EOF | 9942 EOF |
9817 } | 9943 } |
9818 | 9944 |
9819 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 9945 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
9820 echo "configure:9821: checking "for sun_len member in struct sockaddr_un"" >&5 | 9946 echo "configure:9947: checking "for sun_len member in struct sockaddr_un"" >&5 |
9821 cat > conftest.$ac_ext <<EOF | 9947 cat > conftest.$ac_ext <<EOF |
9822 #line 9823 "configure" | 9948 #line 9949 "configure" |
9823 #include "confdefs.h" | 9949 #include "confdefs.h" |
9824 | 9950 |
9825 #include <sys/types.h> | 9951 #include <sys/types.h> |
9826 #include <sys/socket.h> | 9952 #include <sys/socket.h> |
9827 #include <sys/un.h> | 9953 #include <sys/un.h> |
9828 | 9954 |
9829 int main() { | 9955 int main() { |
9830 static struct sockaddr_un x; x.sun_len = 1; | 9956 static struct sockaddr_un x; x.sun_len = 1; |
9831 ; return 0; } | 9957 ; return 0; } |
9832 EOF | 9958 EOF |
9833 if { (eval echo configure:9834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9959 if { (eval echo configure:9960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9834 rm -rf conftest* | 9960 rm -rf conftest* |
9835 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9961 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9836 Defining HAVE_SOCKADDR_SUN_LEN | 9962 Defining HAVE_SOCKADDR_SUN_LEN |
9837 EOF | 9963 EOF |
9838 cat >> confdefs.h <<\EOF | 9964 cat >> confdefs.h <<\EOF |
9846 rm -rf conftest* | 9972 rm -rf conftest* |
9847 echo "$ac_t""no" 1>&6 | 9973 echo "$ac_t""no" 1>&6 |
9848 fi | 9974 fi |
9849 rm -f conftest* | 9975 rm -f conftest* |
9850 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 9976 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
9851 echo "configure:9852: checking "for ip_mreq struct in netinet/in.h"" >&5 | 9977 echo "configure:9978: checking "for ip_mreq struct in netinet/in.h"" >&5 |
9852 cat > conftest.$ac_ext <<EOF | 9978 cat > conftest.$ac_ext <<EOF |
9853 #line 9854 "configure" | 9979 #line 9980 "configure" |
9854 #include "confdefs.h" | 9980 #include "confdefs.h" |
9855 | 9981 |
9856 #include <sys/types.h> | 9982 #include <sys/types.h> |
9857 #include <netinet/in.h> | 9983 #include <netinet/in.h> |
9858 | 9984 |
9859 int main() { | 9985 int main() { |
9860 static struct ip_mreq x; | 9986 static struct ip_mreq x; |
9861 ; return 0; } | 9987 ; return 0; } |
9862 EOF | 9988 EOF |
9863 if { (eval echo configure:9864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9989 if { (eval echo configure:9990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9864 rm -rf conftest* | 9990 rm -rf conftest* |
9865 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9991 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9866 Defining HAVE_MULTICAST | 9992 Defining HAVE_MULTICAST |
9867 EOF | 9993 EOF |
9868 cat >> confdefs.h <<\EOF | 9994 cat >> confdefs.h <<\EOF |
9889 echo "$ac_t""no" 1>&6 | 10015 echo "$ac_t""no" 1>&6 |
9890 fi | 10016 fi |
9891 | 10017 |
9892 | 10018 |
9893 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10019 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
9894 echo "configure:9895: checking for msgget" >&5 | 10020 echo "configure:10021: checking for msgget" >&5 |
9895 | 10021 |
9896 cat > conftest.$ac_ext <<EOF | 10022 cat > conftest.$ac_ext <<EOF |
9897 #line 9898 "configure" | 10023 #line 10024 "configure" |
9898 #include "confdefs.h" | 10024 #include "confdefs.h" |
9899 /* System header to define __stub macros and hopefully few prototypes, | 10025 /* System header to define __stub macros and hopefully few prototypes, |
9900 which can conflict with char msgget(); below. */ | 10026 which can conflict with char msgget(); below. */ |
9901 #include <assert.h> | 10027 #include <assert.h> |
9902 /* Override any gcc2 internal prototype to avoid an error. */ | 10028 /* Override any gcc2 internal prototype to avoid an error. */ |
9915 msgget(); | 10041 msgget(); |
9916 #endif | 10042 #endif |
9917 | 10043 |
9918 ; return 0; } | 10044 ; return 0; } |
9919 EOF | 10045 EOF |
9920 if { (eval echo configure:9921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10046 if { (eval echo configure:10047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9921 rm -rf conftest* | 10047 rm -rf conftest* |
9922 eval "ac_cv_func_msgget=yes" | 10048 eval "ac_cv_func_msgget=yes" |
9923 else | 10049 else |
9924 echo "configure: failed program was:" >&5 | 10050 echo "configure: failed program was:" >&5 |
9925 cat conftest.$ac_ext >&5 | 10051 cat conftest.$ac_ext >&5 |
9930 | 10056 |
9931 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10057 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
9932 echo "$ac_t""yes" 1>&6 | 10058 echo "$ac_t""yes" 1>&6 |
9933 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10059 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
9934 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10060 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
9935 echo "configure:9936: checking for sys/ipc.h" >&5 | 10061 echo "configure:10062: checking for sys/ipc.h" >&5 |
9936 | 10062 |
9937 cat > conftest.$ac_ext <<EOF | 10063 cat > conftest.$ac_ext <<EOF |
9938 #line 9939 "configure" | 10064 #line 10065 "configure" |
9939 #include "confdefs.h" | 10065 #include "confdefs.h" |
9940 #include <sys/ipc.h> | 10066 #include <sys/ipc.h> |
9941 EOF | 10067 EOF |
9942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9943 { (eval echo configure:9944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10069 { (eval echo configure:10070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9944 ac_err=`grep -v '^ *+' conftest.out` | 10070 ac_err=`grep -v '^ *+' conftest.out` |
9945 if test -z "$ac_err"; then | 10071 if test -z "$ac_err"; then |
9946 rm -rf conftest* | 10072 rm -rf conftest* |
9947 eval "ac_cv_header_$ac_safe=yes" | 10073 eval "ac_cv_header_$ac_safe=yes" |
9948 else | 10074 else |
9955 rm -f conftest* | 10081 rm -f conftest* |
9956 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10082 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9957 echo "$ac_t""yes" 1>&6 | 10083 echo "$ac_t""yes" 1>&6 |
9958 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10084 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
9959 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10085 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
9960 echo "configure:9961: checking for sys/msg.h" >&5 | 10086 echo "configure:10087: checking for sys/msg.h" >&5 |
9961 | 10087 |
9962 cat > conftest.$ac_ext <<EOF | 10088 cat > conftest.$ac_ext <<EOF |
9963 #line 9964 "configure" | 10089 #line 10090 "configure" |
9964 #include "confdefs.h" | 10090 #include "confdefs.h" |
9965 #include <sys/msg.h> | 10091 #include <sys/msg.h> |
9966 EOF | 10092 EOF |
9967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10093 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9968 { (eval echo configure:9969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10094 { (eval echo configure:10095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9969 ac_err=`grep -v '^ *+' conftest.out` | 10095 ac_err=`grep -v '^ *+' conftest.out` |
9970 if test -z "$ac_err"; then | 10096 if test -z "$ac_err"; then |
9971 rm -rf conftest* | 10097 rm -rf conftest* |
9972 eval "ac_cv_header_$ac_safe=yes" | 10098 eval "ac_cv_header_$ac_safe=yes" |
9973 else | 10099 else |
10001 fi | 10127 fi |
10002 | 10128 |
10003 | 10129 |
10004 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10130 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
10005 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10131 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
10006 echo "configure:10007: checking for dirent.h" >&5 | 10132 echo "configure:10133: checking for dirent.h" >&5 |
10007 | 10133 |
10008 cat > conftest.$ac_ext <<EOF | 10134 cat > conftest.$ac_ext <<EOF |
10009 #line 10010 "configure" | 10135 #line 10136 "configure" |
10010 #include "confdefs.h" | 10136 #include "confdefs.h" |
10011 #include <dirent.h> | 10137 #include <dirent.h> |
10012 EOF | 10138 EOF |
10013 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10139 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10014 { (eval echo configure:10015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10140 { (eval echo configure:10141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10015 ac_err=`grep -v '^ *+' conftest.out` | 10141 ac_err=`grep -v '^ *+' conftest.out` |
10016 if test -z "$ac_err"; then | 10142 if test -z "$ac_err"; then |
10017 rm -rf conftest* | 10143 rm -rf conftest* |
10018 eval "ac_cv_header_$ac_safe=yes" | 10144 eval "ac_cv_header_$ac_safe=yes" |
10019 else | 10145 else |
10036 | 10162 |
10037 else | 10163 else |
10038 echo "$ac_t""no" 1>&6 | 10164 echo "$ac_t""no" 1>&6 |
10039 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10165 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
10040 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10166 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
10041 echo "configure:10042: checking for sys/dir.h" >&5 | 10167 echo "configure:10168: checking for sys/dir.h" >&5 |
10042 | 10168 |
10043 cat > conftest.$ac_ext <<EOF | 10169 cat > conftest.$ac_ext <<EOF |
10044 #line 10045 "configure" | 10170 #line 10171 "configure" |
10045 #include "confdefs.h" | 10171 #include "confdefs.h" |
10046 #include <sys/dir.h> | 10172 #include <sys/dir.h> |
10047 EOF | 10173 EOF |
10048 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10049 { (eval echo configure:10050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10175 { (eval echo configure:10176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10050 ac_err=`grep -v '^ *+' conftest.out` | 10176 ac_err=`grep -v '^ *+' conftest.out` |
10051 if test -z "$ac_err"; then | 10177 if test -z "$ac_err"; then |
10052 rm -rf conftest* | 10178 rm -rf conftest* |
10053 eval "ac_cv_header_$ac_safe=yes" | 10179 eval "ac_cv_header_$ac_safe=yes" |
10054 else | 10180 else |
10077 fi | 10203 fi |
10078 | 10204 |
10079 | 10205 |
10080 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10206 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
10081 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10207 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
10082 echo "configure:10083: checking for nlist.h" >&5 | 10208 echo "configure:10209: checking for nlist.h" >&5 |
10083 | 10209 |
10084 cat > conftest.$ac_ext <<EOF | 10210 cat > conftest.$ac_ext <<EOF |
10085 #line 10086 "configure" | 10211 #line 10212 "configure" |
10086 #include "confdefs.h" | 10212 #include "confdefs.h" |
10087 #include <nlist.h> | 10213 #include <nlist.h> |
10088 EOF | 10214 EOF |
10089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10090 { (eval echo configure:10091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10216 { (eval echo configure:10217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10091 ac_err=`grep -v '^ *+' conftest.out` | 10217 ac_err=`grep -v '^ *+' conftest.out` |
10092 if test -z "$ac_err"; then | 10218 if test -z "$ac_err"; then |
10093 rm -rf conftest* | 10219 rm -rf conftest* |
10094 eval "ac_cv_header_$ac_safe=yes" | 10220 eval "ac_cv_header_$ac_safe=yes" |
10095 else | 10221 else |
10115 fi | 10241 fi |
10116 | 10242 |
10117 | 10243 |
10118 | 10244 |
10119 echo "checking "for sound support"" 1>&6 | 10245 echo "checking "for sound support"" 1>&6 |
10120 echo "configure:10121: checking "for sound support"" >&5 | 10246 echo "configure:10247: checking "for sound support"" >&5 |
10121 case "$with_sound" in | 10247 case "$with_sound" in |
10122 native | both ) with_native_sound=yes;; | 10248 native | both ) with_native_sound=yes;; |
10123 nas | no ) with_native_sound=no;; | 10249 nas | no ) with_native_sound=no;; |
10124 esac | 10250 esac |
10125 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10251 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
10126 | 10252 |
10127 if test "$with_native_sound" != "no"; then | 10253 if test "$with_native_sound" != "no"; then |
10128 if test -n "$native_sound_lib"; then | 10254 if test -n "$native_sound_lib"; then |
10129 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10255 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
10130 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10256 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
10131 echo "configure:10132: checking for multimedia/audio_device.h" >&5 | 10257 echo "configure:10258: checking for multimedia/audio_device.h" >&5 |
10132 | 10258 |
10133 cat > conftest.$ac_ext <<EOF | 10259 cat > conftest.$ac_ext <<EOF |
10134 #line 10135 "configure" | 10260 #line 10261 "configure" |
10135 #include "confdefs.h" | 10261 #include "confdefs.h" |
10136 #include <multimedia/audio_device.h> | 10262 #include <multimedia/audio_device.h> |
10137 EOF | 10263 EOF |
10138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10264 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10139 { (eval echo configure:10140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10265 { (eval echo configure:10266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10140 ac_err=`grep -v '^ *+' conftest.out` | 10266 ac_err=`grep -v '^ *+' conftest.out` |
10141 if test -z "$ac_err"; then | 10267 if test -z "$ac_err"; then |
10142 rm -rf conftest* | 10268 rm -rf conftest* |
10143 eval "ac_cv_header_$ac_safe=yes" | 10269 eval "ac_cv_header_$ac_safe=yes" |
10144 else | 10270 else |
10182 case "$canonical" in | 10308 case "$canonical" in |
10183 *-sgi-* ) | 10309 *-sgi-* ) |
10184 if test -z "$native_sound_lib"; then | 10310 if test -z "$native_sound_lib"; then |
10185 | 10311 |
10186 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10312 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
10187 echo "configure:10188: checking for ALopenport in -laudio" >&5 | 10313 echo "configure:10314: checking for ALopenport in -laudio" >&5 |
10188 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10314 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
10189 | 10315 |
10190 xe_check_libs=" -laudio " | 10316 xe_check_libs=" -laudio " |
10191 cat > conftest.$ac_ext <<EOF | 10317 cat > conftest.$ac_ext <<EOF |
10192 #line 10193 "configure" | 10318 #line 10319 "configure" |
10193 #include "confdefs.h" | 10319 #include "confdefs.h" |
10194 /* Override any gcc2 internal prototype to avoid an error. */ | 10320 /* Override any gcc2 internal prototype to avoid an error. */ |
10195 /* We use char because int might match the return type of a gcc2 | 10321 /* We use char because int might match the return type of a gcc2 |
10196 builtin and then its argument prototype would still apply. */ | 10322 builtin and then its argument prototype would still apply. */ |
10197 char ALopenport(); | 10323 char ALopenport(); |
10198 | 10324 |
10199 int main() { | 10325 int main() { |
10200 ALopenport() | 10326 ALopenport() |
10201 ; return 0; } | 10327 ; return 0; } |
10202 EOF | 10328 EOF |
10203 if { (eval echo configure:10204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10329 if { (eval echo configure:10330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10204 rm -rf conftest* | 10330 rm -rf conftest* |
10205 eval "ac_cv_lib_$ac_lib_var=yes" | 10331 eval "ac_cv_lib_$ac_lib_var=yes" |
10206 else | 10332 else |
10207 echo "configure: failed program was:" >&5 | 10333 echo "configure: failed program was:" >&5 |
10208 cat conftest.$ac_ext >&5 | 10334 cat conftest.$ac_ext >&5 |
10229 fi ;; | 10355 fi ;; |
10230 hppa*-hp-hpux* ) | 10356 hppa*-hp-hpux* ) |
10231 if test -z "$native_sound_lib"; then | 10357 if test -z "$native_sound_lib"; then |
10232 | 10358 |
10233 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10359 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
10234 echo "configure:10235: checking for AOpenAudio in -lAlib" >&5 | 10360 echo "configure:10361: checking for AOpenAudio in -lAlib" >&5 |
10235 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10361 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
10236 | 10362 |
10237 xe_check_libs=" -lAlib " | 10363 xe_check_libs=" -lAlib " |
10238 cat > conftest.$ac_ext <<EOF | 10364 cat > conftest.$ac_ext <<EOF |
10239 #line 10240 "configure" | 10365 #line 10366 "configure" |
10240 #include "confdefs.h" | 10366 #include "confdefs.h" |
10241 /* Override any gcc2 internal prototype to avoid an error. */ | 10367 /* Override any gcc2 internal prototype to avoid an error. */ |
10242 /* We use char because int might match the return type of a gcc2 | 10368 /* We use char because int might match the return type of a gcc2 |
10243 builtin and then its argument prototype would still apply. */ | 10369 builtin and then its argument prototype would still apply. */ |
10244 char AOpenAudio(); | 10370 char AOpenAudio(); |
10245 | 10371 |
10246 int main() { | 10372 int main() { |
10247 AOpenAudio() | 10373 AOpenAudio() |
10248 ; return 0; } | 10374 ; return 0; } |
10249 EOF | 10375 EOF |
10250 if { (eval echo configure:10251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10376 if { (eval echo configure:10377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10251 rm -rf conftest* | 10377 rm -rf conftest* |
10252 eval "ac_cv_lib_$ac_lib_var=yes" | 10378 eval "ac_cv_lib_$ac_lib_var=yes" |
10253 else | 10379 else |
10254 echo "configure: failed program was:" >&5 | 10380 echo "configure: failed program was:" >&5 |
10255 cat conftest.$ac_ext >&5 | 10381 cat conftest.$ac_ext >&5 |
10283 | 10409 |
10284 if test -z "$sound_found"; then | 10410 if test -z "$sound_found"; then |
10285 for dir in "machine" "sys" "linux"; do | 10411 for dir in "machine" "sys" "linux"; do |
10286 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10412 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10287 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10413 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10288 echo "configure:10289: checking for ${dir}/soundcard.h" >&5 | 10414 echo "configure:10415: checking for ${dir}/soundcard.h" >&5 |
10289 | 10415 |
10290 cat > conftest.$ac_ext <<EOF | 10416 cat > conftest.$ac_ext <<EOF |
10291 #line 10292 "configure" | 10417 #line 10418 "configure" |
10292 #include "confdefs.h" | 10418 #include "confdefs.h" |
10293 #include <${dir}/soundcard.h> | 10419 #include <${dir}/soundcard.h> |
10294 EOF | 10420 EOF |
10295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10296 { (eval echo configure:10297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10422 { (eval echo configure:10423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10297 ac_err=`grep -v '^ *+' conftest.out` | 10423 ac_err=`grep -v '^ *+' conftest.out` |
10298 if test -z "$ac_err"; then | 10424 if test -z "$ac_err"; then |
10299 rm -rf conftest* | 10425 rm -rf conftest* |
10300 eval "ac_cv_header_$ac_safe=yes" | 10426 eval "ac_cv_header_$ac_safe=yes" |
10301 else | 10427 else |
10361 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10487 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10362 echo " xemacs will be linked with \"nas.o\"" | 10488 echo " xemacs will be linked with \"nas.o\"" |
10363 fi | 10489 fi |
10364 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10490 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10365 cat > conftest.$ac_ext <<EOF | 10491 cat > conftest.$ac_ext <<EOF |
10366 #line 10367 "configure" | 10492 #line 10493 "configure" |
10367 #include "confdefs.h" | 10493 #include "confdefs.h" |
10368 #include <audio/Xtutil.h> | 10494 #include <audio/Xtutil.h> |
10369 EOF | 10495 EOF |
10370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10371 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10497 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10388 | 10514 |
10389 test -z "$with_tty" && with_tty=yes | 10515 test -z "$with_tty" && with_tty=yes |
10390 | 10516 |
10391 if test "$with_tty" = "yes" ; then | 10517 if test "$with_tty" = "yes" ; then |
10392 echo "checking for TTY-related features" 1>&6 | 10518 echo "checking for TTY-related features" 1>&6 |
10393 echo "configure:10394: checking for TTY-related features" >&5 | 10519 echo "configure:10520: checking for TTY-related features" >&5 |
10394 { test "$extra_verbose" = "yes" && cat << \EOF | 10520 { test "$extra_verbose" = "yes" && cat << \EOF |
10395 Defining HAVE_TTY | 10521 Defining HAVE_TTY |
10396 EOF | 10522 EOF |
10397 cat >> confdefs.h <<\EOF | 10523 cat >> confdefs.h <<\EOF |
10398 #define HAVE_TTY 1 | 10524 #define HAVE_TTY 1 |
10404 fi | 10530 fi |
10405 | 10531 |
10406 if test -z "$with_ncurses"; then | 10532 if test -z "$with_ncurses"; then |
10407 | 10533 |
10408 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10534 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10409 echo "configure:10410: checking for tgetent in -lncurses" >&5 | 10535 echo "configure:10536: checking for tgetent in -lncurses" >&5 |
10410 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10536 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10411 | 10537 |
10412 xe_check_libs=" -lncurses " | 10538 xe_check_libs=" -lncurses " |
10413 cat > conftest.$ac_ext <<EOF | 10539 cat > conftest.$ac_ext <<EOF |
10414 #line 10415 "configure" | 10540 #line 10541 "configure" |
10415 #include "confdefs.h" | 10541 #include "confdefs.h" |
10416 /* Override any gcc2 internal prototype to avoid an error. */ | 10542 /* Override any gcc2 internal prototype to avoid an error. */ |
10417 /* We use char because int might match the return type of a gcc2 | 10543 /* We use char because int might match the return type of a gcc2 |
10418 builtin and then its argument prototype would still apply. */ | 10544 builtin and then its argument prototype would still apply. */ |
10419 char tgetent(); | 10545 char tgetent(); |
10420 | 10546 |
10421 int main() { | 10547 int main() { |
10422 tgetent() | 10548 tgetent() |
10423 ; return 0; } | 10549 ; return 0; } |
10424 EOF | 10550 EOF |
10425 if { (eval echo configure:10426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10551 if { (eval echo configure:10552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10426 rm -rf conftest* | 10552 rm -rf conftest* |
10427 eval "ac_cv_lib_$ac_lib_var=yes" | 10553 eval "ac_cv_lib_$ac_lib_var=yes" |
10428 else | 10554 else |
10429 echo "configure: failed program was:" >&5 | 10555 echo "configure: failed program was:" >&5 |
10430 cat conftest.$ac_ext >&5 | 10556 cat conftest.$ac_ext >&5 |
10453 EOF | 10579 EOF |
10454 } | 10580 } |
10455 | 10581 |
10456 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10582 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10457 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10583 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10458 echo "configure:10459: checking for ncurses/curses.h" >&5 | 10584 echo "configure:10585: checking for ncurses/curses.h" >&5 |
10459 | 10585 |
10460 cat > conftest.$ac_ext <<EOF | 10586 cat > conftest.$ac_ext <<EOF |
10461 #line 10462 "configure" | 10587 #line 10588 "configure" |
10462 #include "confdefs.h" | 10588 #include "confdefs.h" |
10463 #include <ncurses/curses.h> | 10589 #include <ncurses/curses.h> |
10464 EOF | 10590 EOF |
10465 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10466 { (eval echo configure:10467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10592 { (eval echo configure:10593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10467 ac_err=`grep -v '^ *+' conftest.out` | 10593 ac_err=`grep -v '^ *+' conftest.out` |
10468 if test -z "$ac_err"; then | 10594 if test -z "$ac_err"; then |
10469 rm -rf conftest* | 10595 rm -rf conftest* |
10470 eval "ac_cv_header_$ac_safe=yes" | 10596 eval "ac_cv_header_$ac_safe=yes" |
10471 else | 10597 else |
10483 echo "$ac_t""no" 1>&6 | 10609 echo "$ac_t""no" 1>&6 |
10484 fi | 10610 fi |
10485 | 10611 |
10486 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10612 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10487 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10613 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10488 echo "configure:10489: checking for ncurses/term.h" >&5 | 10614 echo "configure:10615: checking for ncurses/term.h" >&5 |
10489 | 10615 |
10490 cat > conftest.$ac_ext <<EOF | 10616 cat > conftest.$ac_ext <<EOF |
10491 #line 10492 "configure" | 10617 #line 10618 "configure" |
10492 #include "confdefs.h" | 10618 #include "confdefs.h" |
10493 #include <ncurses/term.h> | 10619 #include <ncurses/term.h> |
10494 EOF | 10620 EOF |
10495 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10496 { (eval echo configure:10497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10622 { (eval echo configure:10623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10497 ac_err=`grep -v '^ *+' conftest.out` | 10623 ac_err=`grep -v '^ *+' conftest.out` |
10498 if test -z "$ac_err"; then | 10624 if test -z "$ac_err"; then |
10499 rm -rf conftest* | 10625 rm -rf conftest* |
10500 eval "ac_cv_header_$ac_safe=yes" | 10626 eval "ac_cv_header_$ac_safe=yes" |
10501 else | 10627 else |
10521 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10647 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10522 save_c_switch_site="$c_switch_site" | 10648 save_c_switch_site="$c_switch_site" |
10523 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10649 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10524 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10650 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10525 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10651 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10526 echo "configure:10527: checking for ncurses/curses.h" >&5 | 10652 echo "configure:10653: checking for ncurses/curses.h" >&5 |
10527 | 10653 |
10528 cat > conftest.$ac_ext <<EOF | 10654 cat > conftest.$ac_ext <<EOF |
10529 #line 10530 "configure" | 10655 #line 10656 "configure" |
10530 #include "confdefs.h" | 10656 #include "confdefs.h" |
10531 #include <ncurses/curses.h> | 10657 #include <ncurses/curses.h> |
10532 EOF | 10658 EOF |
10533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10534 { (eval echo configure:10535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10660 { (eval echo configure:10661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10535 ac_err=`grep -v '^ *+' conftest.out` | 10661 ac_err=`grep -v '^ *+' conftest.out` |
10536 if test -z "$ac_err"; then | 10662 if test -z "$ac_err"; then |
10537 rm -rf conftest* | 10663 rm -rf conftest* |
10538 eval "ac_cv_header_$ac_safe=yes" | 10664 eval "ac_cv_header_$ac_safe=yes" |
10539 else | 10665 else |
10564 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10690 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10565 else | 10691 else |
10566 for lib in curses termlib termcap; do | 10692 for lib in curses termlib termcap; do |
10567 | 10693 |
10568 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10694 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10569 echo "configure:10570: checking for tgetent in -l$lib" >&5 | 10695 echo "configure:10696: checking for tgetent in -l$lib" >&5 |
10570 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10696 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10571 | 10697 |
10572 xe_check_libs=" -l$lib " | 10698 xe_check_libs=" -l$lib " |
10573 cat > conftest.$ac_ext <<EOF | 10699 cat > conftest.$ac_ext <<EOF |
10574 #line 10575 "configure" | 10700 #line 10701 "configure" |
10575 #include "confdefs.h" | 10701 #include "confdefs.h" |
10576 /* Override any gcc2 internal prototype to avoid an error. */ | 10702 /* Override any gcc2 internal prototype to avoid an error. */ |
10577 /* We use char because int might match the return type of a gcc2 | 10703 /* We use char because int might match the return type of a gcc2 |
10578 builtin and then its argument prototype would still apply. */ | 10704 builtin and then its argument prototype would still apply. */ |
10579 char tgetent(); | 10705 char tgetent(); |
10580 | 10706 |
10581 int main() { | 10707 int main() { |
10582 tgetent() | 10708 tgetent() |
10583 ; return 0; } | 10709 ; return 0; } |
10584 EOF | 10710 EOF |
10585 if { (eval echo configure:10586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10711 if { (eval echo configure:10712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10586 rm -rf conftest* | 10712 rm -rf conftest* |
10587 eval "ac_cv_lib_$ac_lib_var=yes" | 10713 eval "ac_cv_lib_$ac_lib_var=yes" |
10588 else | 10714 else |
10589 echo "configure: failed program was:" >&5 | 10715 echo "configure: failed program was:" >&5 |
10590 cat conftest.$ac_ext >&5 | 10716 cat conftest.$ac_ext >&5 |
10611 if test -n "$libs_termcap"; then | 10737 if test -n "$libs_termcap"; then |
10612 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10738 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10613 else | 10739 else |
10614 | 10740 |
10615 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10741 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10616 echo "configure:10617: checking for tgetent in -lcurses" >&5 | 10742 echo "configure:10743: checking for tgetent in -lcurses" >&5 |
10617 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10743 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10618 | 10744 |
10619 xe_check_libs=" -lcurses " | 10745 xe_check_libs=" -lcurses " |
10620 cat > conftest.$ac_ext <<EOF | 10746 cat > conftest.$ac_ext <<EOF |
10621 #line 10622 "configure" | 10747 #line 10748 "configure" |
10622 #include "confdefs.h" | 10748 #include "confdefs.h" |
10623 /* Override any gcc2 internal prototype to avoid an error. */ | 10749 /* Override any gcc2 internal prototype to avoid an error. */ |
10624 /* We use char because int might match the return type of a gcc2 | 10750 /* We use char because int might match the return type of a gcc2 |
10625 builtin and then its argument prototype would still apply. */ | 10751 builtin and then its argument prototype would still apply. */ |
10626 char tgetent(); | 10752 char tgetent(); |
10627 | 10753 |
10628 int main() { | 10754 int main() { |
10629 tgetent() | 10755 tgetent() |
10630 ; return 0; } | 10756 ; return 0; } |
10631 EOF | 10757 EOF |
10632 if { (eval echo configure:10633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10758 if { (eval echo configure:10759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10633 rm -rf conftest* | 10759 rm -rf conftest* |
10634 eval "ac_cv_lib_$ac_lib_var=yes" | 10760 eval "ac_cv_lib_$ac_lib_var=yes" |
10635 else | 10761 else |
10636 echo "configure: failed program was:" >&5 | 10762 echo "configure: failed program was:" >&5 |
10637 cat conftest.$ac_ext >&5 | 10763 cat conftest.$ac_ext >&5 |
10645 echo "$ac_t""yes" 1>&6 | 10771 echo "$ac_t""yes" 1>&6 |
10646 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10772 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
10647 else | 10773 else |
10648 echo "$ac_t""no" 1>&6 | 10774 echo "$ac_t""no" 1>&6 |
10649 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10775 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
10650 echo "configure:10651: checking for tgetent in -ltermcap" >&5 | 10776 echo "configure:10777: checking for tgetent in -ltermcap" >&5 |
10651 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10777 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
10652 | 10778 |
10653 xe_check_libs=" -ltermcap " | 10779 xe_check_libs=" -ltermcap " |
10654 cat > conftest.$ac_ext <<EOF | 10780 cat > conftest.$ac_ext <<EOF |
10655 #line 10656 "configure" | 10781 #line 10782 "configure" |
10656 #include "confdefs.h" | 10782 #include "confdefs.h" |
10657 /* Override any gcc2 internal prototype to avoid an error. */ | 10783 /* Override any gcc2 internal prototype to avoid an error. */ |
10658 /* We use char because int might match the return type of a gcc2 | 10784 /* We use char because int might match the return type of a gcc2 |
10659 builtin and then its argument prototype would still apply. */ | 10785 builtin and then its argument prototype would still apply. */ |
10660 char tgetent(); | 10786 char tgetent(); |
10661 | 10787 |
10662 int main() { | 10788 int main() { |
10663 tgetent() | 10789 tgetent() |
10664 ; return 0; } | 10790 ; return 0; } |
10665 EOF | 10791 EOF |
10666 if { (eval echo configure:10667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10792 if { (eval echo configure:10793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10667 rm -rf conftest* | 10793 rm -rf conftest* |
10668 eval "ac_cv_lib_$ac_lib_var=yes" | 10794 eval "ac_cv_lib_$ac_lib_var=yes" |
10669 else | 10795 else |
10670 echo "configure: failed program was:" >&5 | 10796 echo "configure: failed program was:" >&5 |
10671 cat conftest.$ac_ext >&5 | 10797 cat conftest.$ac_ext >&5 |
10709 } | 10835 } |
10710 | 10836 |
10711 | 10837 |
10712 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 10838 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
10713 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 10839 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
10714 echo "configure:10715: checking for gpm.h" >&5 | 10840 echo "configure:10841: checking for gpm.h" >&5 |
10715 | 10841 |
10716 cat > conftest.$ac_ext <<EOF | 10842 cat > conftest.$ac_ext <<EOF |
10717 #line 10718 "configure" | 10843 #line 10844 "configure" |
10718 #include "confdefs.h" | 10844 #include "confdefs.h" |
10719 #include <gpm.h> | 10845 #include <gpm.h> |
10720 EOF | 10846 EOF |
10721 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10722 { (eval echo configure:10723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10848 { (eval echo configure:10849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10723 ac_err=`grep -v '^ *+' conftest.out` | 10849 ac_err=`grep -v '^ *+' conftest.out` |
10724 if test -z "$ac_err"; then | 10850 if test -z "$ac_err"; then |
10725 rm -rf conftest* | 10851 rm -rf conftest* |
10726 eval "ac_cv_header_$ac_safe=yes" | 10852 eval "ac_cv_header_$ac_safe=yes" |
10727 else | 10853 else |
10740 with_gpm=no | 10866 with_gpm=no |
10741 fi | 10867 fi |
10742 } | 10868 } |
10743 test -z "$with_gpm" && { | 10869 test -z "$with_gpm" && { |
10744 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 10870 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
10745 echo "configure:10746: checking for Gpm_Open in -lgpm" >&5 | 10871 echo "configure:10872: checking for Gpm_Open in -lgpm" >&5 |
10746 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 10872 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
10747 | 10873 |
10748 xe_check_libs=" -lgpm " | 10874 xe_check_libs=" -lgpm " |
10749 cat > conftest.$ac_ext <<EOF | 10875 cat > conftest.$ac_ext <<EOF |
10750 #line 10751 "configure" | 10876 #line 10877 "configure" |
10751 #include "confdefs.h" | 10877 #include "confdefs.h" |
10752 /* Override any gcc2 internal prototype to avoid an error. */ | 10878 /* Override any gcc2 internal prototype to avoid an error. */ |
10753 /* We use char because int might match the return type of a gcc2 | 10879 /* We use char because int might match the return type of a gcc2 |
10754 builtin and then its argument prototype would still apply. */ | 10880 builtin and then its argument prototype would still apply. */ |
10755 char Gpm_Open(); | 10881 char Gpm_Open(); |
10756 | 10882 |
10757 int main() { | 10883 int main() { |
10758 Gpm_Open() | 10884 Gpm_Open() |
10759 ; return 0; } | 10885 ; return 0; } |
10760 EOF | 10886 EOF |
10761 if { (eval echo configure:10762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10887 if { (eval echo configure:10888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10762 rm -rf conftest* | 10888 rm -rf conftest* |
10763 eval "ac_cv_lib_$ac_lib_var=yes" | 10889 eval "ac_cv_lib_$ac_lib_var=yes" |
10764 else | 10890 else |
10765 echo "configure: failed program was:" >&5 | 10891 echo "configure: failed program was:" >&5 |
10766 cat conftest.$ac_ext >&5 | 10892 cat conftest.$ac_ext >&5 |
10805 echo " xemacs will be linked with \"event-unixoid.o\"" | 10931 echo " xemacs will be linked with \"event-unixoid.o\"" |
10806 fi | 10932 fi |
10807 | 10933 |
10808 | 10934 |
10809 echo "checking for database support" 1>&6 | 10935 echo "checking for database support" 1>&6 |
10810 echo "configure:10811: checking for database support" >&5 | 10936 echo "configure:10937: checking for database support" >&5 |
10811 | 10937 |
10812 if test "$with_database_gnudbm" != "no"; then | 10938 if test "$with_database_gnudbm" != "no"; then |
10813 for ac_hdr in ndbm.h | 10939 for ac_hdr in ndbm.h |
10814 do | 10940 do |
10815 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10941 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10816 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10942 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10817 echo "configure:10818: checking for $ac_hdr" >&5 | 10943 echo "configure:10944: checking for $ac_hdr" >&5 |
10818 | 10944 |
10819 cat > conftest.$ac_ext <<EOF | 10945 cat > conftest.$ac_ext <<EOF |
10820 #line 10821 "configure" | 10946 #line 10947 "configure" |
10821 #include "confdefs.h" | 10947 #include "confdefs.h" |
10822 #include <$ac_hdr> | 10948 #include <$ac_hdr> |
10823 EOF | 10949 EOF |
10824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10950 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10825 { (eval echo configure:10826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10951 { (eval echo configure:10952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10826 ac_err=`grep -v '^ *+' conftest.out` | 10952 ac_err=`grep -v '^ *+' conftest.out` |
10827 if test -z "$ac_err"; then | 10953 if test -z "$ac_err"; then |
10828 rm -rf conftest* | 10954 rm -rf conftest* |
10829 eval "ac_cv_header_$ac_safe=yes" | 10955 eval "ac_cv_header_$ac_safe=yes" |
10830 else | 10956 else |
10852 done | 10978 done |
10853 | 10979 |
10854 if test "$have_ndbm_h" = "yes"; then | 10980 if test "$have_ndbm_h" = "yes"; then |
10855 | 10981 |
10856 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 10982 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
10857 echo "configure:10858: checking for dbm_open in -lgdbm" >&5 | 10983 echo "configure:10984: checking for dbm_open in -lgdbm" >&5 |
10858 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10984 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10859 | 10985 |
10860 xe_check_libs=" -lgdbm " | 10986 xe_check_libs=" -lgdbm " |
10861 cat > conftest.$ac_ext <<EOF | 10987 cat > conftest.$ac_ext <<EOF |
10862 #line 10863 "configure" | 10988 #line 10989 "configure" |
10863 #include "confdefs.h" | 10989 #include "confdefs.h" |
10864 /* Override any gcc2 internal prototype to avoid an error. */ | 10990 /* Override any gcc2 internal prototype to avoid an error. */ |
10865 /* We use char because int might match the return type of a gcc2 | 10991 /* We use char because int might match the return type of a gcc2 |
10866 builtin and then its argument prototype would still apply. */ | 10992 builtin and then its argument prototype would still apply. */ |
10867 char dbm_open(); | 10993 char dbm_open(); |
10868 | 10994 |
10869 int main() { | 10995 int main() { |
10870 dbm_open() | 10996 dbm_open() |
10871 ; return 0; } | 10997 ; return 0; } |
10872 EOF | 10998 EOF |
10873 if { (eval echo configure:10874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10999 if { (eval echo configure:11000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10874 rm -rf conftest* | 11000 rm -rf conftest* |
10875 eval "ac_cv_lib_$ac_lib_var=yes" | 11001 eval "ac_cv_lib_$ac_lib_var=yes" |
10876 else | 11002 else |
10877 echo "configure: failed program was:" >&5 | 11003 echo "configure: failed program was:" >&5 |
10878 cat conftest.$ac_ext >&5 | 11004 cat conftest.$ac_ext >&5 |
10891 | 11017 |
10892 | 11018 |
10893 fi | 11019 fi |
10894 if test "$with_database_gnudbm" != "yes"; then | 11020 if test "$with_database_gnudbm" != "yes"; then |
10895 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11021 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10896 echo "configure:10897: checking for dbm_open" >&5 | 11022 echo "configure:11023: checking for dbm_open" >&5 |
10897 | 11023 |
10898 cat > conftest.$ac_ext <<EOF | 11024 cat > conftest.$ac_ext <<EOF |
10899 #line 10900 "configure" | 11025 #line 11026 "configure" |
10900 #include "confdefs.h" | 11026 #include "confdefs.h" |
10901 /* System header to define __stub macros and hopefully few prototypes, | 11027 /* System header to define __stub macros and hopefully few prototypes, |
10902 which can conflict with char dbm_open(); below. */ | 11028 which can conflict with char dbm_open(); below. */ |
10903 #include <assert.h> | 11029 #include <assert.h> |
10904 /* Override any gcc2 internal prototype to avoid an error. */ | 11030 /* Override any gcc2 internal prototype to avoid an error. */ |
10917 dbm_open(); | 11043 dbm_open(); |
10918 #endif | 11044 #endif |
10919 | 11045 |
10920 ; return 0; } | 11046 ; return 0; } |
10921 EOF | 11047 EOF |
10922 if { (eval echo configure:10923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11048 if { (eval echo configure:11049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10923 rm -rf conftest* | 11049 rm -rf conftest* |
10924 eval "ac_cv_func_dbm_open=yes" | 11050 eval "ac_cv_func_dbm_open=yes" |
10925 else | 11051 else |
10926 echo "configure: failed program was:" >&5 | 11052 echo "configure: failed program was:" >&5 |
10927 cat conftest.$ac_ext >&5 | 11053 cat conftest.$ac_ext >&5 |
10953 fi | 11079 fi |
10954 fi | 11080 fi |
10955 | 11081 |
10956 if test "$with_database_dbm" != "no"; then | 11082 if test "$with_database_dbm" != "no"; then |
10957 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11083 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10958 echo "configure:10959: checking for dbm_open" >&5 | 11084 echo "configure:11085: checking for dbm_open" >&5 |
10959 | 11085 |
10960 cat > conftest.$ac_ext <<EOF | 11086 cat > conftest.$ac_ext <<EOF |
10961 #line 10962 "configure" | 11087 #line 11088 "configure" |
10962 #include "confdefs.h" | 11088 #include "confdefs.h" |
10963 /* System header to define __stub macros and hopefully few prototypes, | 11089 /* System header to define __stub macros and hopefully few prototypes, |
10964 which can conflict with char dbm_open(); below. */ | 11090 which can conflict with char dbm_open(); below. */ |
10965 #include <assert.h> | 11091 #include <assert.h> |
10966 /* Override any gcc2 internal prototype to avoid an error. */ | 11092 /* Override any gcc2 internal prototype to avoid an error. */ |
10979 dbm_open(); | 11105 dbm_open(); |
10980 #endif | 11106 #endif |
10981 | 11107 |
10982 ; return 0; } | 11108 ; return 0; } |
10983 EOF | 11109 EOF |
10984 if { (eval echo configure:10985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11110 if { (eval echo configure:11111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10985 rm -rf conftest* | 11111 rm -rf conftest* |
10986 eval "ac_cv_func_dbm_open=yes" | 11112 eval "ac_cv_func_dbm_open=yes" |
10987 else | 11113 else |
10988 echo "configure: failed program was:" >&5 | 11114 echo "configure: failed program was:" >&5 |
10989 cat conftest.$ac_ext >&5 | 11115 cat conftest.$ac_ext >&5 |
11000 fi | 11126 fi |
11001 | 11127 |
11002 if test "$need_libdbm" != "no"; then | 11128 if test "$need_libdbm" != "no"; then |
11003 | 11129 |
11004 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11130 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
11005 echo "configure:11006: checking for dbm_open in -ldbm" >&5 | 11131 echo "configure:11132: checking for dbm_open in -ldbm" >&5 |
11006 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11132 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11007 | 11133 |
11008 xe_check_libs=" -ldbm " | 11134 xe_check_libs=" -ldbm " |
11009 cat > conftest.$ac_ext <<EOF | 11135 cat > conftest.$ac_ext <<EOF |
11010 #line 11011 "configure" | 11136 #line 11137 "configure" |
11011 #include "confdefs.h" | 11137 #include "confdefs.h" |
11012 /* Override any gcc2 internal prototype to avoid an error. */ | 11138 /* Override any gcc2 internal prototype to avoid an error. */ |
11013 /* We use char because int might match the return type of a gcc2 | 11139 /* We use char because int might match the return type of a gcc2 |
11014 builtin and then its argument prototype would still apply. */ | 11140 builtin and then its argument prototype would still apply. */ |
11015 char dbm_open(); | 11141 char dbm_open(); |
11016 | 11142 |
11017 int main() { | 11143 int main() { |
11018 dbm_open() | 11144 dbm_open() |
11019 ; return 0; } | 11145 ; return 0; } |
11020 EOF | 11146 EOF |
11021 if { (eval echo configure:11022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11147 if { (eval echo configure:11148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11022 rm -rf conftest* | 11148 rm -rf conftest* |
11023 eval "ac_cv_lib_$ac_lib_var=yes" | 11149 eval "ac_cv_lib_$ac_lib_var=yes" |
11024 else | 11150 else |
11025 echo "configure: failed program was:" >&5 | 11151 echo "configure: failed program was:" >&5 |
11026 cat conftest.$ac_ext >&5 | 11152 cat conftest.$ac_ext >&5 |
11053 fi | 11179 fi |
11054 fi | 11180 fi |
11055 | 11181 |
11056 if test "$with_database_berkdb" != "no"; then | 11182 if test "$with_database_berkdb" != "no"; then |
11057 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11183 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
11058 echo "configure:11059: checking for Berkeley db.h" >&5 | 11184 echo "configure:11185: checking for Berkeley db.h" >&5 |
11059 for path in "db/db.h" "db.h"; do | 11185 for path in "db/db.h" "db.h"; do |
11060 cat > conftest.$ac_ext <<EOF | 11186 cat > conftest.$ac_ext <<EOF |
11061 #line 11062 "configure" | 11187 #line 11188 "configure" |
11062 #include "confdefs.h" | 11188 #include "confdefs.h" |
11063 #ifdef HAVE_INTTYPES_H | 11189 #ifdef HAVE_INTTYPES_H |
11064 #define __BIT_TYPES_DEFINED__ | 11190 #define __BIT_TYPES_DEFINED__ |
11065 #include <inttypes.h> | 11191 #include <inttypes.h> |
11066 typedef uint8_t u_int8_t; | 11192 typedef uint8_t u_int8_t; |
11074 | 11200 |
11075 int main() { | 11201 int main() { |
11076 | 11202 |
11077 ; return 0; } | 11203 ; return 0; } |
11078 EOF | 11204 EOF |
11079 if { (eval echo configure:11080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11205 if { (eval echo configure:11206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11080 rm -rf conftest* | 11206 rm -rf conftest* |
11081 db_h_path="$path"; break | 11207 db_h_path="$path"; break |
11082 else | 11208 else |
11083 echo "configure: failed program was:" >&5 | 11209 echo "configure: failed program was:" >&5 |
11084 cat conftest.$ac_ext >&5 | 11210 cat conftest.$ac_ext >&5 |
11090 else echo "$ac_t""$db_h_path" 1>&6 | 11216 else echo "$ac_t""$db_h_path" 1>&6 |
11091 fi | 11217 fi |
11092 | 11218 |
11093 if test "$with_database_berkdb" != "no"; then | 11219 if test "$with_database_berkdb" != "no"; then |
11094 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11220 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
11095 echo "configure:11096: checking for Berkeley DB version" >&5 | 11221 echo "configure:11222: checking for Berkeley DB version" >&5 |
11096 cat > conftest.$ac_ext <<EOF | 11222 cat > conftest.$ac_ext <<EOF |
11097 #line 11098 "configure" | 11223 #line 11224 "configure" |
11098 #include "confdefs.h" | 11224 #include "confdefs.h" |
11099 #include <$db_h_path> | 11225 #include <$db_h_path> |
11100 #if DB_VERSION_MAJOR > 1 | 11226 #if DB_VERSION_MAJOR > 1 |
11101 yes | 11227 yes |
11102 #endif | 11228 #endif |
11111 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11237 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
11112 fi | 11238 fi |
11113 rm -f conftest* | 11239 rm -f conftest* |
11114 | 11240 |
11115 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11241 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
11116 echo "configure:11117: checking for $dbfunc" >&5 | 11242 echo "configure:11243: checking for $dbfunc" >&5 |
11117 | 11243 |
11118 cat > conftest.$ac_ext <<EOF | 11244 cat > conftest.$ac_ext <<EOF |
11119 #line 11120 "configure" | 11245 #line 11246 "configure" |
11120 #include "confdefs.h" | 11246 #include "confdefs.h" |
11121 /* System header to define __stub macros and hopefully few prototypes, | 11247 /* System header to define __stub macros and hopefully few prototypes, |
11122 which can conflict with char $dbfunc(); below. */ | 11248 which can conflict with char $dbfunc(); below. */ |
11123 #include <assert.h> | 11249 #include <assert.h> |
11124 /* Override any gcc2 internal prototype to avoid an error. */ | 11250 /* Override any gcc2 internal prototype to avoid an error. */ |
11137 $dbfunc(); | 11263 $dbfunc(); |
11138 #endif | 11264 #endif |
11139 | 11265 |
11140 ; return 0; } | 11266 ; return 0; } |
11141 EOF | 11267 EOF |
11142 if { (eval echo configure:11143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11268 if { (eval echo configure:11269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11143 rm -rf conftest* | 11269 rm -rf conftest* |
11144 eval "ac_cv_func_$dbfunc=yes" | 11270 eval "ac_cv_func_$dbfunc=yes" |
11145 else | 11271 else |
11146 echo "configure: failed program was:" >&5 | 11272 echo "configure: failed program was:" >&5 |
11147 cat conftest.$ac_ext >&5 | 11273 cat conftest.$ac_ext >&5 |
11156 else | 11282 else |
11157 echo "$ac_t""no" 1>&6 | 11283 echo "$ac_t""no" 1>&6 |
11158 | 11284 |
11159 | 11285 |
11160 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11286 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
11161 echo "configure:11162: checking for $dbfunc in -ldb" >&5 | 11287 echo "configure:11288: checking for $dbfunc in -ldb" >&5 |
11162 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11288 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
11163 | 11289 |
11164 xe_check_libs=" -ldb " | 11290 xe_check_libs=" -ldb " |
11165 cat > conftest.$ac_ext <<EOF | 11291 cat > conftest.$ac_ext <<EOF |
11166 #line 11167 "configure" | 11292 #line 11293 "configure" |
11167 #include "confdefs.h" | 11293 #include "confdefs.h" |
11168 /* Override any gcc2 internal prototype to avoid an error. */ | 11294 /* Override any gcc2 internal prototype to avoid an error. */ |
11169 /* We use char because int might match the return type of a gcc2 | 11295 /* We use char because int might match the return type of a gcc2 |
11170 builtin and then its argument prototype would still apply. */ | 11296 builtin and then its argument prototype would still apply. */ |
11171 char $dbfunc(); | 11297 char $dbfunc(); |
11172 | 11298 |
11173 int main() { | 11299 int main() { |
11174 $dbfunc() | 11300 $dbfunc() |
11175 ; return 0; } | 11301 ; return 0; } |
11176 EOF | 11302 EOF |
11177 if { (eval echo configure:11178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11303 if { (eval echo configure:11304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11178 rm -rf conftest* | 11304 rm -rf conftest* |
11179 eval "ac_cv_lib_$ac_lib_var=yes" | 11305 eval "ac_cv_lib_$ac_lib_var=yes" |
11180 else | 11306 else |
11181 echo "configure: failed program was:" >&5 | 11307 echo "configure: failed program was:" >&5 |
11182 cat conftest.$ac_ext >&5 | 11308 cat conftest.$ac_ext >&5 |
11236 fi | 11362 fi |
11237 | 11363 |
11238 if test "$with_socks" = "yes"; then | 11364 if test "$with_socks" = "yes"; then |
11239 | 11365 |
11240 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11366 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
11241 echo "configure:11242: checking for SOCKSinit in -lsocks" >&5 | 11367 echo "configure:11368: checking for SOCKSinit in -lsocks" >&5 |
11242 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11368 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
11243 | 11369 |
11244 xe_check_libs=" -lsocks " | 11370 xe_check_libs=" -lsocks " |
11245 cat > conftest.$ac_ext <<EOF | 11371 cat > conftest.$ac_ext <<EOF |
11246 #line 11247 "configure" | 11372 #line 11373 "configure" |
11247 #include "confdefs.h" | 11373 #include "confdefs.h" |
11248 /* Override any gcc2 internal prototype to avoid an error. */ | 11374 /* Override any gcc2 internal prototype to avoid an error. */ |
11249 /* We use char because int might match the return type of a gcc2 | 11375 /* We use char because int might match the return type of a gcc2 |
11250 builtin and then its argument prototype would still apply. */ | 11376 builtin and then its argument prototype would still apply. */ |
11251 char SOCKSinit(); | 11377 char SOCKSinit(); |
11252 | 11378 |
11253 int main() { | 11379 int main() { |
11254 SOCKSinit() | 11380 SOCKSinit() |
11255 ; return 0; } | 11381 ; return 0; } |
11256 EOF | 11382 EOF |
11257 if { (eval echo configure:11258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11383 if { (eval echo configure:11384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11258 rm -rf conftest* | 11384 rm -rf conftest* |
11259 eval "ac_cv_lib_$ac_lib_var=yes" | 11385 eval "ac_cv_lib_$ac_lib_var=yes" |
11260 else | 11386 else |
11261 echo "configure: failed program was:" >&5 | 11387 echo "configure: failed program was:" >&5 |
11262 cat conftest.$ac_ext >&5 | 11388 cat conftest.$ac_ext >&5 |
11311 | 11437 |
11312 for ac_hdr in dlfcn.h | 11438 for ac_hdr in dlfcn.h |
11313 do | 11439 do |
11314 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11440 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11315 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11441 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11316 echo "configure:11317: checking for $ac_hdr" >&5 | 11442 echo "configure:11443: checking for $ac_hdr" >&5 |
11317 | 11443 |
11318 cat > conftest.$ac_ext <<EOF | 11444 cat > conftest.$ac_ext <<EOF |
11319 #line 11320 "configure" | 11445 #line 11446 "configure" |
11320 #include "confdefs.h" | 11446 #include "confdefs.h" |
11321 #include <$ac_hdr> | 11447 #include <$ac_hdr> |
11322 EOF | 11448 EOF |
11323 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11449 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11324 { (eval echo configure:11325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11450 { (eval echo configure:11451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11325 ac_err=`grep -v '^ *+' conftest.out` | 11451 ac_err=`grep -v '^ *+' conftest.out` |
11326 if test -z "$ac_err"; then | 11452 if test -z "$ac_err"; then |
11327 rm -rf conftest* | 11453 rm -rf conftest* |
11328 eval "ac_cv_header_$ac_safe=yes" | 11454 eval "ac_cv_header_$ac_safe=yes" |
11329 else | 11455 else |
11350 fi | 11476 fi |
11351 done | 11477 done |
11352 | 11478 |
11353 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11479 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11354 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11480 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11355 echo "configure:11356: checking for dlopen in -ldl" >&5 | 11481 echo "configure:11482: checking for dlopen in -ldl" >&5 |
11356 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11482 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11357 | 11483 |
11358 xe_check_libs=" -ldl " | 11484 xe_check_libs=" -ldl " |
11359 cat > conftest.$ac_ext <<EOF | 11485 cat > conftest.$ac_ext <<EOF |
11360 #line 11361 "configure" | 11486 #line 11487 "configure" |
11361 #include "confdefs.h" | 11487 #include "confdefs.h" |
11362 /* Override any gcc2 internal prototype to avoid an error. */ | 11488 /* Override any gcc2 internal prototype to avoid an error. */ |
11363 /* We use char because int might match the return type of a gcc2 | 11489 /* We use char because int might match the return type of a gcc2 |
11364 builtin and then its argument prototype would still apply. */ | 11490 builtin and then its argument prototype would still apply. */ |
11365 char dlopen(); | 11491 char dlopen(); |
11366 | 11492 |
11367 int main() { | 11493 int main() { |
11368 dlopen() | 11494 dlopen() |
11369 ; return 0; } | 11495 ; return 0; } |
11370 EOF | 11496 EOF |
11371 if { (eval echo configure:11372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11497 if { (eval echo configure:11498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11372 rm -rf conftest* | 11498 rm -rf conftest* |
11373 eval "ac_cv_lib_$ac_lib_var=yes" | 11499 eval "ac_cv_lib_$ac_lib_var=yes" |
11374 else | 11500 else |
11375 echo "configure: failed program was:" >&5 | 11501 echo "configure: failed program was:" >&5 |
11376 cat conftest.$ac_ext >&5 | 11502 cat conftest.$ac_ext >&5 |
11395 fi | 11521 fi |
11396 | 11522 |
11397 } | 11523 } |
11398 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11524 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11399 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11525 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11400 echo "configure:11401: checking for _dlopen in -lc" >&5 | 11526 echo "configure:11527: checking for _dlopen in -lc" >&5 |
11401 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11527 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11402 | 11528 |
11403 xe_check_libs=" -lc " | 11529 xe_check_libs=" -lc " |
11404 cat > conftest.$ac_ext <<EOF | 11530 cat > conftest.$ac_ext <<EOF |
11405 #line 11406 "configure" | 11531 #line 11532 "configure" |
11406 #include "confdefs.h" | 11532 #include "confdefs.h" |
11407 /* Override any gcc2 internal prototype to avoid an error. */ | 11533 /* Override any gcc2 internal prototype to avoid an error. */ |
11408 /* We use char because int might match the return type of a gcc2 | 11534 /* We use char because int might match the return type of a gcc2 |
11409 builtin and then its argument prototype would still apply. */ | 11535 builtin and then its argument prototype would still apply. */ |
11410 char _dlopen(); | 11536 char _dlopen(); |
11411 | 11537 |
11412 int main() { | 11538 int main() { |
11413 _dlopen() | 11539 _dlopen() |
11414 ; return 0; } | 11540 ; return 0; } |
11415 EOF | 11541 EOF |
11416 if { (eval echo configure:11417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11542 if { (eval echo configure:11543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11417 rm -rf conftest* | 11543 rm -rf conftest* |
11418 eval "ac_cv_lib_$ac_lib_var=yes" | 11544 eval "ac_cv_lib_$ac_lib_var=yes" |
11419 else | 11545 else |
11420 echo "configure: failed program was:" >&5 | 11546 echo "configure: failed program was:" >&5 |
11421 cat conftest.$ac_ext >&5 | 11547 cat conftest.$ac_ext >&5 |
11440 fi | 11566 fi |
11441 | 11567 |
11442 } | 11568 } |
11443 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11569 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11444 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11570 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11445 echo "configure:11446: checking for dlopen in -lc" >&5 | 11571 echo "configure:11572: checking for dlopen in -lc" >&5 |
11446 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11572 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11447 | 11573 |
11448 xe_check_libs=" -lc " | 11574 xe_check_libs=" -lc " |
11449 cat > conftest.$ac_ext <<EOF | 11575 cat > conftest.$ac_ext <<EOF |
11450 #line 11451 "configure" | 11576 #line 11577 "configure" |
11451 #include "confdefs.h" | 11577 #include "confdefs.h" |
11452 /* Override any gcc2 internal prototype to avoid an error. */ | 11578 /* Override any gcc2 internal prototype to avoid an error. */ |
11453 /* We use char because int might match the return type of a gcc2 | 11579 /* We use char because int might match the return type of a gcc2 |
11454 builtin and then its argument prototype would still apply. */ | 11580 builtin and then its argument prototype would still apply. */ |
11455 char dlopen(); | 11581 char dlopen(); |
11456 | 11582 |
11457 int main() { | 11583 int main() { |
11458 dlopen() | 11584 dlopen() |
11459 ; return 0; } | 11585 ; return 0; } |
11460 EOF | 11586 EOF |
11461 if { (eval echo configure:11462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11587 if { (eval echo configure:11588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11462 rm -rf conftest* | 11588 rm -rf conftest* |
11463 eval "ac_cv_lib_$ac_lib_var=yes" | 11589 eval "ac_cv_lib_$ac_lib_var=yes" |
11464 else | 11590 else |
11465 echo "configure: failed program was:" >&5 | 11591 echo "configure: failed program was:" >&5 |
11466 cat conftest.$ac_ext >&5 | 11592 cat conftest.$ac_ext >&5 |
11485 fi | 11611 fi |
11486 | 11612 |
11487 } | 11613 } |
11488 test -z "$with_shlib" && { | 11614 test -z "$with_shlib" && { |
11489 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11615 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11490 echo "configure:11491: checking for shl_load in -ldld" >&5 | 11616 echo "configure:11617: checking for shl_load in -ldld" >&5 |
11491 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11617 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11492 | 11618 |
11493 xe_check_libs=" -ldld " | 11619 xe_check_libs=" -ldld " |
11494 cat > conftest.$ac_ext <<EOF | 11620 cat > conftest.$ac_ext <<EOF |
11495 #line 11496 "configure" | 11621 #line 11622 "configure" |
11496 #include "confdefs.h" | 11622 #include "confdefs.h" |
11497 /* Override any gcc2 internal prototype to avoid an error. */ | 11623 /* Override any gcc2 internal prototype to avoid an error. */ |
11498 /* We use char because int might match the return type of a gcc2 | 11624 /* We use char because int might match the return type of a gcc2 |
11499 builtin and then its argument prototype would still apply. */ | 11625 builtin and then its argument prototype would still apply. */ |
11500 char shl_load(); | 11626 char shl_load(); |
11501 | 11627 |
11502 int main() { | 11628 int main() { |
11503 shl_load() | 11629 shl_load() |
11504 ; return 0; } | 11630 ; return 0; } |
11505 EOF | 11631 EOF |
11506 if { (eval echo configure:11507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11632 if { (eval echo configure:11633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11507 rm -rf conftest* | 11633 rm -rf conftest* |
11508 eval "ac_cv_lib_$ac_lib_var=yes" | 11634 eval "ac_cv_lib_$ac_lib_var=yes" |
11509 else | 11635 else |
11510 echo "configure: failed program was:" >&5 | 11636 echo "configure: failed program was:" >&5 |
11511 cat conftest.$ac_ext >&5 | 11637 cat conftest.$ac_ext >&5 |
11530 fi | 11656 fi |
11531 | 11657 |
11532 } | 11658 } |
11533 test -z "$with_shlib" && { | 11659 test -z "$with_shlib" && { |
11534 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11660 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11535 echo "configure:11536: checking for dld_init in -ldld" >&5 | 11661 echo "configure:11662: checking for dld_init in -ldld" >&5 |
11536 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11662 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11537 | 11663 |
11538 xe_check_libs=" -ldld " | 11664 xe_check_libs=" -ldld " |
11539 cat > conftest.$ac_ext <<EOF | 11665 cat > conftest.$ac_ext <<EOF |
11540 #line 11541 "configure" | 11666 #line 11667 "configure" |
11541 #include "confdefs.h" | 11667 #include "confdefs.h" |
11542 /* Override any gcc2 internal prototype to avoid an error. */ | 11668 /* Override any gcc2 internal prototype to avoid an error. */ |
11543 /* We use char because int might match the return type of a gcc2 | 11669 /* We use char because int might match the return type of a gcc2 |
11544 builtin and then its argument prototype would still apply. */ | 11670 builtin and then its argument prototype would still apply. */ |
11545 char dld_init(); | 11671 char dld_init(); |
11546 | 11672 |
11547 int main() { | 11673 int main() { |
11548 dld_init() | 11674 dld_init() |
11549 ; return 0; } | 11675 ; return 0; } |
11550 EOF | 11676 EOF |
11551 if { (eval echo configure:11552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11677 if { (eval echo configure:11678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11552 rm -rf conftest* | 11678 rm -rf conftest* |
11553 eval "ac_cv_lib_$ac_lib_var=yes" | 11679 eval "ac_cv_lib_$ac_lib_var=yes" |
11554 else | 11680 else |
11555 echo "configure: failed program was:" >&5 | 11681 echo "configure: failed program was:" >&5 |
11556 cat conftest.$ac_ext >&5 | 11682 cat conftest.$ac_ext >&5 |
11596 dll_lflags="-shared" | 11722 dll_lflags="-shared" |
11597 dll_cflags="-r" | 11723 dll_cflags="-r" |
11598 dll_oflags="-o " | 11724 dll_oflags="-o " |
11599 | 11725 |
11600 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11726 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
11601 echo "configure:11602: checking how to build a shared library" >&5 | 11727 echo "configure:11728: checking how to build a shared library" >&5 |
11602 case `uname -rs` in | 11728 case `uname -rs` in |
11603 UNIX_SV*|UNIX_System_V*) | 11729 UNIX_SV*|UNIX_System_V*) |
11604 dll_lflags="-G" | 11730 dll_lflags="-G" |
11605 dll_cflags=-Kpic | 11731 dll_cflags=-Kpic |
11606 dll_ld="ld" | 11732 dll_ld="ld" |
11687 | 11813 |
11688 | 11814 |
11689 for ac_func in dlerror | 11815 for ac_func in dlerror |
11690 do | 11816 do |
11691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11692 echo "configure:11693: checking for $ac_func" >&5 | 11818 echo "configure:11819: checking for $ac_func" >&5 |
11693 | 11819 |
11694 cat > conftest.$ac_ext <<EOF | 11820 cat > conftest.$ac_ext <<EOF |
11695 #line 11696 "configure" | 11821 #line 11822 "configure" |
11696 #include "confdefs.h" | 11822 #include "confdefs.h" |
11697 /* System header to define __stub macros and hopefully few prototypes, | 11823 /* System header to define __stub macros and hopefully few prototypes, |
11698 which can conflict with char $ac_func(); below. */ | 11824 which can conflict with char $ac_func(); below. */ |
11699 #include <assert.h> | 11825 #include <assert.h> |
11700 /* Override any gcc2 internal prototype to avoid an error. */ | 11826 /* Override any gcc2 internal prototype to avoid an error. */ |
11713 $ac_func(); | 11839 $ac_func(); |
11714 #endif | 11840 #endif |
11715 | 11841 |
11716 ; return 0; } | 11842 ; return 0; } |
11717 EOF | 11843 EOF |
11718 if { (eval echo configure:11719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11844 if { (eval echo configure:11845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11719 rm -rf conftest* | 11845 rm -rf conftest* |
11720 eval "ac_cv_func_$ac_func=yes" | 11846 eval "ac_cv_func_$ac_func=yes" |
11721 else | 11847 else |
11722 echo "configure: failed program was:" >&5 | 11848 echo "configure: failed program was:" >&5 |
11723 cat conftest.$ac_ext >&5 | 11849 cat conftest.$ac_ext >&5 |
11749 *) ;; | 11875 *) ;; |
11750 esac | 11876 esac |
11751 fi | 11877 fi |
11752 | 11878 |
11753 cat > conftest.$ac_ext <<EOF | 11879 cat > conftest.$ac_ext <<EOF |
11754 #line 11755 "configure" | 11880 #line 11881 "configure" |
11755 #include "confdefs.h" | 11881 #include "confdefs.h" |
11756 int main(int c,char *v[]){return 0;} | 11882 int main(int c,char *v[]){return 0;} |
11757 EOF | 11883 EOF |
11758 if { (eval echo configure:11759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11884 if { (eval echo configure:11885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11759 then | 11885 then |
11760 : | 11886 : |
11761 else | 11887 else |
11762 conftest_rc="$?" | 11888 conftest_rc="$?" |
11763 echo "configure: failed program was:" >&5 | 11889 echo "configure: failed program was:" >&5 |