Mercurial > hg > xemacs-beta
comparison configure @ 286:57709be46d1b r21-0b41
Import from CVS: tag r21-0b41
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:35:03 +0200 |
parents | 558f606b08ae |
children | e11d67e05968 |
comparison
equal
deleted
inserted
replaced
285:9a3756523c1b | 286:57709be46d1b |
---|---|
1015 esac | 1015 esac |
1016 | 1016 |
1017 case "$canonical" in | 1017 case "$canonical" in |
1018 *-*-linux* ) opsys=linux ;; | 1018 *-*-linux* ) opsys=linux ;; |
1019 *-*-netbsd* ) opsys=netbsd ;; | 1019 *-*-netbsd* ) opsys=netbsd ;; |
1020 *-*-openbsd* ) opsys=openbsd ;; | |
1020 *-*-nextstep* ) opsys=nextstep ;; | 1021 *-*-nextstep* ) opsys=nextstep ;; |
1021 *-*-vms ) opsys=vms ;; | 1022 *-*-vms ) opsys=vms ;; |
1022 | 1023 |
1023 *-dec-osf1.3 | *-dec-osf2* ) opsys=decosf1-3 ;; | 1024 *-dec-osf1.3 | *-dec-osf2* ) opsys=decosf1-3 ;; |
1024 *-dec-osf1.2 | *-dec-osf1* ) opsys=decosf1-2 ;; | 1025 *-dec-osf1.2 | *-dec-osf1* ) opsys=decosf1-2 ;; |
1068 machine=hp9000s300 ;; | 1069 machine=hp9000s300 ;; |
1069 pc532-*-netbsd* | ns32k-*-netbsd* ) machine=ns32000 ;; | 1070 pc532-*-netbsd* | ns32k-*-netbsd* ) machine=ns32000 ;; |
1070 pmax-*-netbsd* | mips-*-netbsd* ) machine=pmax ;; | 1071 pmax-*-netbsd* | mips-*-netbsd* ) machine=pmax ;; |
1071 esac | 1072 esac |
1072 ;; | 1073 ;; |
1074 | |
1075 *-*-openbsd* ) | |
1076 case "${canonical}" in | |
1077 alpha*-*-openbsd*) machine=alpha ;; | |
1078 i386-*-openbsd*) machine=intel386 ;; | |
1079 m68k-*-openbsd*) machine=hp9000s300 ;; | |
1080 mipsel-*-openbsd*) machine=pmax ;; | |
1081 ns32k-*-openbsd*) machine=ns32000 ;; | |
1082 sparc-*-openbsd*) machine=sparc ;; | |
1083 vax-*-openbsd*) machine=vax ;; | |
1084 esac | |
1085 ;; | |
1073 | 1086 |
1074 arm-acorn-riscix1.1* ) machine=acorn opsys=riscix1-1 ;; | 1087 arm-acorn-riscix1.1* ) machine=acorn opsys=riscix1-1 ;; |
1075 arm-acorn-riscix1.2* | arm-acorn-riscix ) machine=acorn opsys=riscix1-2 ;; | 1088 arm-acorn-riscix1.2* | arm-acorn-riscix ) machine=acorn opsys=riscix1-2 ;; |
1076 | 1089 |
1077 fx80-alliant-* ) machine=alliant4 opsys=bsd4-2 ;; | 1090 fx80-alliant-* ) machine=alliant4 opsys=bsd4-2 ;; |
1454 xe_save_CFLAGS="$CFLAGS" | 1467 xe_save_CFLAGS="$CFLAGS" |
1455 | 1468 |
1456 # Extract the first word of "gcc", so it can be a program name with args. | 1469 # Extract the first word of "gcc", so it can be a program name with args. |
1457 set dummy gcc; ac_word=$2 | 1470 set dummy gcc; ac_word=$2 |
1458 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1471 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1459 echo "configure:1460: checking for $ac_word" >&5 | 1472 echo "configure:1473: checking for $ac_word" >&5 |
1460 | 1473 |
1461 if test -n "$CC"; then | 1474 if test -n "$CC"; then |
1462 ac_cv_prog_CC="$CC" # Let the user override the test. | 1475 ac_cv_prog_CC="$CC" # Let the user override the test. |
1463 else | 1476 else |
1464 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1477 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1480 | 1493 |
1481 if test -z "$CC"; then | 1494 if test -z "$CC"; then |
1482 # Extract the first word of "cc", so it can be a program name with args. | 1495 # Extract the first word of "cc", so it can be a program name with args. |
1483 set dummy cc; ac_word=$2 | 1496 set dummy cc; ac_word=$2 |
1484 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1497 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1485 echo "configure:1486: checking for $ac_word" >&5 | 1498 echo "configure:1499: checking for $ac_word" >&5 |
1486 | 1499 |
1487 if test -n "$CC"; then | 1500 if test -n "$CC"; then |
1488 ac_cv_prog_CC="$CC" # Let the user override the test. | 1501 ac_cv_prog_CC="$CC" # Let the user override the test. |
1489 else | 1502 else |
1490 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1503 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1525 | 1538 |
1526 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1539 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1527 fi | 1540 fi |
1528 | 1541 |
1529 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1542 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1530 echo "configure:1531: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1543 echo "configure:1544: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1531 | 1544 |
1532 ac_ext=c | 1545 ac_ext=c |
1533 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1546 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1534 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1547 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1535 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1548 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1537 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1550 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1538 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1551 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1539 cross_compiling=no | 1552 cross_compiling=no |
1540 | 1553 |
1541 cat > conftest.$ac_ext <<EOF | 1554 cat > conftest.$ac_ext <<EOF |
1542 #line 1543 "configure" | 1555 #line 1556 "configure" |
1543 #include "confdefs.h" | 1556 #include "confdefs.h" |
1544 main(){return(0);} | 1557 main(){return(0);} |
1545 EOF | 1558 EOF |
1546 if { (eval echo configure:1547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1559 if { (eval echo configure:1560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1547 ac_cv_prog_cc_works=yes | 1560 ac_cv_prog_cc_works=yes |
1548 # If we can't run a trivial program, we are probably using a cross compiler. | 1561 # If we can't run a trivial program, we are probably using a cross compiler. |
1549 if (./conftest; exit) 2>/dev/null; then | 1562 if (./conftest; exit) 2>/dev/null; then |
1550 ac_cv_prog_cc_cross=no | 1563 ac_cv_prog_cc_cross=no |
1551 else | 1564 else |
1561 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1574 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1562 if test $ac_cv_prog_cc_works = no; then | 1575 if test $ac_cv_prog_cc_works = no; then |
1563 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1576 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1564 fi | 1577 fi |
1565 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1578 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1566 echo "configure:1567: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1579 echo "configure:1580: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1567 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1580 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1568 cross_compiling=$ac_cv_prog_cc_cross | 1581 cross_compiling=$ac_cv_prog_cc_cross |
1569 | 1582 |
1570 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1583 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1571 echo "configure:1572: checking whether we are using GNU C" >&5 | 1584 echo "configure:1585: checking whether we are using GNU C" >&5 |
1572 | 1585 |
1573 cat > conftest.c <<EOF | 1586 cat > conftest.c <<EOF |
1574 #ifdef __GNUC__ | 1587 #ifdef __GNUC__ |
1575 yes; | 1588 yes; |
1576 #endif | 1589 #endif |
1577 EOF | 1590 EOF |
1578 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 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 |
1579 ac_cv_prog_gcc=yes | 1592 ac_cv_prog_gcc=yes |
1580 else | 1593 else |
1581 ac_cv_prog_gcc=no | 1594 ac_cv_prog_gcc=no |
1582 fi | 1595 fi |
1583 | 1596 |
1587 GCC=yes | 1600 GCC=yes |
1588 ac_test_CFLAGS="${CFLAGS+set}" | 1601 ac_test_CFLAGS="${CFLAGS+set}" |
1589 ac_save_CFLAGS="$CFLAGS" | 1602 ac_save_CFLAGS="$CFLAGS" |
1590 CFLAGS= | 1603 CFLAGS= |
1591 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1604 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1592 echo "configure:1593: checking whether ${CC-cc} accepts -g" >&5 | 1605 echo "configure:1606: checking whether ${CC-cc} accepts -g" >&5 |
1593 | 1606 |
1594 echo 'void f(){}' > conftest.c | 1607 echo 'void f(){}' > conftest.c |
1595 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1608 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1596 ac_cv_prog_cc_g=yes | 1609 ac_cv_prog_cc_g=yes |
1597 else | 1610 else |
1616 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1629 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1617 CC=${NON_GNU_CC-cc} | 1630 CC=${NON_GNU_CC-cc} |
1618 # Extract the first word of "gcc", so it can be a program name with args. | 1631 # Extract the first word of "gcc", so it can be a program name with args. |
1619 set dummy gcc; ac_word=$2 | 1632 set dummy gcc; ac_word=$2 |
1620 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1633 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1621 echo "configure:1622: checking for $ac_word" >&5 | 1634 echo "configure:1635: checking for $ac_word" >&5 |
1622 | 1635 |
1623 if test -n "$CC"; then | 1636 if test -n "$CC"; then |
1624 ac_cv_prog_CC="$CC" # Let the user override the test. | 1637 ac_cv_prog_CC="$CC" # Let the user override the test. |
1625 else | 1638 else |
1626 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1639 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1642 | 1655 |
1643 if test -z "$CC"; then | 1656 if test -z "$CC"; then |
1644 # Extract the first word of "cc", so it can be a program name with args. | 1657 # Extract the first word of "cc", so it can be a program name with args. |
1645 set dummy cc; ac_word=$2 | 1658 set dummy cc; ac_word=$2 |
1646 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1659 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1647 echo "configure:1648: checking for $ac_word" >&5 | 1660 echo "configure:1661: checking for $ac_word" >&5 |
1648 | 1661 |
1649 if test -n "$CC"; then | 1662 if test -n "$CC"; then |
1650 ac_cv_prog_CC="$CC" # Let the user override the test. | 1663 ac_cv_prog_CC="$CC" # Let the user override the test. |
1651 else | 1664 else |
1652 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1665 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1687 | 1700 |
1688 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1701 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1689 fi | 1702 fi |
1690 | 1703 |
1691 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1704 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1692 echo "configure:1693: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1705 echo "configure:1706: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1693 | 1706 |
1694 ac_ext=c | 1707 ac_ext=c |
1695 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1708 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1696 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1709 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1697 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1710 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1699 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1712 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1700 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1713 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1701 cross_compiling=no | 1714 cross_compiling=no |
1702 | 1715 |
1703 cat > conftest.$ac_ext <<EOF | 1716 cat > conftest.$ac_ext <<EOF |
1704 #line 1705 "configure" | 1717 #line 1718 "configure" |
1705 #include "confdefs.h" | 1718 #include "confdefs.h" |
1706 main(){return(0);} | 1719 main(){return(0);} |
1707 EOF | 1720 EOF |
1708 if { (eval echo configure:1709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1721 if { (eval echo configure:1722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1709 ac_cv_prog_cc_works=yes | 1722 ac_cv_prog_cc_works=yes |
1710 # If we can't run a trivial program, we are probably using a cross compiler. | 1723 # If we can't run a trivial program, we are probably using a cross compiler. |
1711 if (./conftest; exit) 2>/dev/null; then | 1724 if (./conftest; exit) 2>/dev/null; then |
1712 ac_cv_prog_cc_cross=no | 1725 ac_cv_prog_cc_cross=no |
1713 else | 1726 else |
1723 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1736 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1724 if test $ac_cv_prog_cc_works = no; then | 1737 if test $ac_cv_prog_cc_works = no; then |
1725 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1738 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1726 fi | 1739 fi |
1727 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1740 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1728 echo "configure:1729: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1741 echo "configure:1742: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1729 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1742 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1730 cross_compiling=$ac_cv_prog_cc_cross | 1743 cross_compiling=$ac_cv_prog_cc_cross |
1731 | 1744 |
1732 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1745 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1733 echo "configure:1734: checking whether we are using GNU C" >&5 | 1746 echo "configure:1747: checking whether we are using GNU C" >&5 |
1734 | 1747 |
1735 cat > conftest.c <<EOF | 1748 cat > conftest.c <<EOF |
1736 #ifdef __GNUC__ | 1749 #ifdef __GNUC__ |
1737 yes; | 1750 yes; |
1738 #endif | 1751 #endif |
1739 EOF | 1752 EOF |
1740 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 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 |
1741 ac_cv_prog_gcc=yes | 1754 ac_cv_prog_gcc=yes |
1742 else | 1755 else |
1743 ac_cv_prog_gcc=no | 1756 ac_cv_prog_gcc=no |
1744 fi | 1757 fi |
1745 | 1758 |
1749 GCC=yes | 1762 GCC=yes |
1750 ac_test_CFLAGS="${CFLAGS+set}" | 1763 ac_test_CFLAGS="${CFLAGS+set}" |
1751 ac_save_CFLAGS="$CFLAGS" | 1764 ac_save_CFLAGS="$CFLAGS" |
1752 CFLAGS= | 1765 CFLAGS= |
1753 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1766 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1754 echo "configure:1755: checking whether ${CC-cc} accepts -g" >&5 | 1767 echo "configure:1768: checking whether ${CC-cc} accepts -g" >&5 |
1755 | 1768 |
1756 echo 'void f(){}' > conftest.c | 1769 echo 'void f(){}' > conftest.c |
1757 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1770 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1758 ac_cv_prog_cc_g=yes | 1771 ac_cv_prog_cc_g=yes |
1759 else | 1772 else |
1778 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1791 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1779 CC=gcc | 1792 CC=gcc |
1780 # Extract the first word of "gcc", so it can be a program name with args. | 1793 # Extract the first word of "gcc", so it can be a program name with args. |
1781 set dummy gcc; ac_word=$2 | 1794 set dummy gcc; ac_word=$2 |
1782 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1795 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1783 echo "configure:1784: checking for $ac_word" >&5 | 1796 echo "configure:1797: checking for $ac_word" >&5 |
1784 | 1797 |
1785 if test -n "$CC"; then | 1798 if test -n "$CC"; then |
1786 ac_cv_prog_CC="$CC" # Let the user override the test. | 1799 ac_cv_prog_CC="$CC" # Let the user override the test. |
1787 else | 1800 else |
1788 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1804 | 1817 |
1805 if test -z "$CC"; then | 1818 if test -z "$CC"; then |
1806 # Extract the first word of "cc", so it can be a program name with args. | 1819 # Extract the first word of "cc", so it can be a program name with args. |
1807 set dummy cc; ac_word=$2 | 1820 set dummy cc; ac_word=$2 |
1808 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1821 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1809 echo "configure:1810: checking for $ac_word" >&5 | 1822 echo "configure:1823: checking for $ac_word" >&5 |
1810 | 1823 |
1811 if test -n "$CC"; then | 1824 if test -n "$CC"; then |
1812 ac_cv_prog_CC="$CC" # Let the user override the test. | 1825 ac_cv_prog_CC="$CC" # Let the user override the test. |
1813 else | 1826 else |
1814 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1827 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1849 | 1862 |
1850 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1863 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1851 fi | 1864 fi |
1852 | 1865 |
1853 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1866 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1854 echo "configure:1855: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1867 echo "configure:1868: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1855 | 1868 |
1856 ac_ext=c | 1869 ac_ext=c |
1857 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1870 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1858 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1871 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1859 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1872 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1861 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1874 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1862 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1875 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1863 cross_compiling=no | 1876 cross_compiling=no |
1864 | 1877 |
1865 cat > conftest.$ac_ext <<EOF | 1878 cat > conftest.$ac_ext <<EOF |
1866 #line 1867 "configure" | 1879 #line 1880 "configure" |
1867 #include "confdefs.h" | 1880 #include "confdefs.h" |
1868 main(){return(0);} | 1881 main(){return(0);} |
1869 EOF | 1882 EOF |
1870 if { (eval echo configure:1871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1883 if { (eval echo configure:1884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1871 ac_cv_prog_cc_works=yes | 1884 ac_cv_prog_cc_works=yes |
1872 # If we can't run a trivial program, we are probably using a cross compiler. | 1885 # If we can't run a trivial program, we are probably using a cross compiler. |
1873 if (./conftest; exit) 2>/dev/null; then | 1886 if (./conftest; exit) 2>/dev/null; then |
1874 ac_cv_prog_cc_cross=no | 1887 ac_cv_prog_cc_cross=no |
1875 else | 1888 else |
1885 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1898 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1886 if test $ac_cv_prog_cc_works = no; then | 1899 if test $ac_cv_prog_cc_works = no; then |
1887 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1900 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1888 fi | 1901 fi |
1889 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1902 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1890 echo "configure:1891: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1903 echo "configure:1904: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1891 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1904 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1892 cross_compiling=$ac_cv_prog_cc_cross | 1905 cross_compiling=$ac_cv_prog_cc_cross |
1893 | 1906 |
1894 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1907 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1895 echo "configure:1896: checking whether we are using GNU C" >&5 | 1908 echo "configure:1909: checking whether we are using GNU C" >&5 |
1896 | 1909 |
1897 cat > conftest.c <<EOF | 1910 cat > conftest.c <<EOF |
1898 #ifdef __GNUC__ | 1911 #ifdef __GNUC__ |
1899 yes; | 1912 yes; |
1900 #endif | 1913 #endif |
1901 EOF | 1914 EOF |
1902 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 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 |
1903 ac_cv_prog_gcc=yes | 1916 ac_cv_prog_gcc=yes |
1904 else | 1917 else |
1905 ac_cv_prog_gcc=no | 1918 ac_cv_prog_gcc=no |
1906 fi | 1919 fi |
1907 | 1920 |
1911 GCC=yes | 1924 GCC=yes |
1912 ac_test_CFLAGS="${CFLAGS+set}" | 1925 ac_test_CFLAGS="${CFLAGS+set}" |
1913 ac_save_CFLAGS="$CFLAGS" | 1926 ac_save_CFLAGS="$CFLAGS" |
1914 CFLAGS= | 1927 CFLAGS= |
1915 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1928 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1916 echo "configure:1917: checking whether ${CC-cc} accepts -g" >&5 | 1929 echo "configure:1930: checking whether ${CC-cc} accepts -g" >&5 |
1917 | 1930 |
1918 echo 'void f(){}' > conftest.c | 1931 echo 'void f(){}' > conftest.c |
1919 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1932 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1920 ac_cv_prog_cc_g=yes | 1933 ac_cv_prog_cc_g=yes |
1921 else | 1934 else |
1944 test -n "$CPP" -a -d "$CPP" && CPP= | 1957 test -n "$CPP" -a -d "$CPP" && CPP= |
1945 | 1958 |
1946 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1959 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1947 | 1960 |
1948 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1961 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1949 echo "configure:1950: checking how to run the C preprocessor" >&5 | 1962 echo "configure:1963: checking how to run the C preprocessor" >&5 |
1950 # On Suns, sometimes $CPP names a directory. | 1963 # On Suns, sometimes $CPP names a directory. |
1951 if test -n "$CPP" && test -d "$CPP"; then | 1964 if test -n "$CPP" && test -d "$CPP"; then |
1952 CPP= | 1965 CPP= |
1953 fi | 1966 fi |
1954 if test -z "$CPP"; then | 1967 if test -z "$CPP"; then |
1957 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1970 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1958 CPP="${CC-cc} -E" | 1971 CPP="${CC-cc} -E" |
1959 # On the NeXT, cc -E runs the code through the compiler's parser, | 1972 # On the NeXT, cc -E runs the code through the compiler's parser, |
1960 # not just through cpp. | 1973 # not just through cpp. |
1961 cat > conftest.$ac_ext <<EOF | 1974 cat > conftest.$ac_ext <<EOF |
1962 #line 1963 "configure" | 1975 #line 1976 "configure" |
1963 #include "confdefs.h" | 1976 #include "confdefs.h" |
1964 #include <assert.h> | 1977 #include <assert.h> |
1965 Syntax Error | 1978 Syntax Error |
1966 EOF | 1979 EOF |
1967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1980 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1968 { (eval echo configure:1969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1981 { (eval echo configure:1982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1969 ac_err=`grep -v '^ *+' conftest.out` | 1982 ac_err=`grep -v '^ *+' conftest.out` |
1970 if test -z "$ac_err"; then | 1983 if test -z "$ac_err"; then |
1971 : | 1984 : |
1972 else | 1985 else |
1973 echo "$ac_err" >&5 | 1986 echo "$ac_err" >&5 |
1974 echo "configure: failed program was:" >&5 | 1987 echo "configure: failed program was:" >&5 |
1975 cat conftest.$ac_ext >&5 | 1988 cat conftest.$ac_ext >&5 |
1976 rm -rf conftest* | 1989 rm -rf conftest* |
1977 CPP="${CC-cc} -E -traditional-cpp" | 1990 CPP="${CC-cc} -E -traditional-cpp" |
1978 cat > conftest.$ac_ext <<EOF | 1991 cat > conftest.$ac_ext <<EOF |
1979 #line 1980 "configure" | 1992 #line 1993 "configure" |
1980 #include "confdefs.h" | 1993 #include "confdefs.h" |
1981 #include <assert.h> | 1994 #include <assert.h> |
1982 Syntax Error | 1995 Syntax Error |
1983 EOF | 1996 EOF |
1984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1997 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1985 { (eval echo configure:1986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1998 { (eval echo configure:1999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1986 ac_err=`grep -v '^ *+' conftest.out` | 1999 ac_err=`grep -v '^ *+' conftest.out` |
1987 if test -z "$ac_err"; then | 2000 if test -z "$ac_err"; then |
1988 : | 2001 : |
1989 else | 2002 else |
1990 echo "$ac_err" >&5 | 2003 echo "$ac_err" >&5 |
2003 fi | 2016 fi |
2004 echo "$ac_t""$CPP" 1>&6 | 2017 echo "$ac_t""$CPP" 1>&6 |
2005 | 2018 |
2006 | 2019 |
2007 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2020 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2008 echo "configure:2009: checking for AIX" >&5 | 2021 echo "configure:2022: checking for AIX" >&5 |
2009 cat > conftest.$ac_ext <<EOF | 2022 cat > conftest.$ac_ext <<EOF |
2010 #line 2011 "configure" | 2023 #line 2024 "configure" |
2011 #include "confdefs.h" | 2024 #include "confdefs.h" |
2012 #ifdef _AIX | 2025 #ifdef _AIX |
2013 yes | 2026 yes |
2014 #endif | 2027 #endif |
2015 | 2028 |
2032 rm -f conftest* | 2045 rm -f conftest* |
2033 | 2046 |
2034 | 2047 |
2035 | 2048 |
2036 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2049 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2037 echo "configure:2038: checking for GNU libc" >&5 | 2050 echo "configure:2051: checking for GNU libc" >&5 |
2038 cat > conftest.$ac_ext <<EOF | 2051 cat > conftest.$ac_ext <<EOF |
2039 #line 2040 "configure" | 2052 #line 2053 "configure" |
2040 #include "confdefs.h" | 2053 #include "confdefs.h" |
2041 #include <features.h> | 2054 #include <features.h> |
2042 int main() { | 2055 int main() { |
2043 | 2056 |
2044 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2057 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2046 ******* ======= ******** &&&&&&&& | 2059 ******* ======= ******** &&&&&&&& |
2047 #endif | 2060 #endif |
2048 | 2061 |
2049 ; return 0; } | 2062 ; return 0; } |
2050 EOF | 2063 EOF |
2051 if { (eval echo configure:2052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2064 if { (eval echo configure:2065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2052 rm -rf conftest* | 2065 rm -rf conftest* |
2053 have_glibc=yes | 2066 have_glibc=yes |
2054 else | 2067 else |
2055 echo "configure: failed program was:" >&5 | 2068 echo "configure: failed program was:" >&5 |
2056 cat conftest.$ac_ext >&5 | 2069 cat conftest.$ac_ext >&5 |
2067 EOF | 2080 EOF |
2068 } | 2081 } |
2069 | 2082 |
2070 | 2083 |
2071 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 2084 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
2072 echo "configure:2073: checking whether we are using SunPro C" >&5 | 2085 echo "configure:2086: checking whether we are using SunPro C" >&5 |
2073 cat > conftest.$ac_ext <<EOF | 2086 cat > conftest.$ac_ext <<EOF |
2074 #line 2075 "configure" | 2087 #line 2088 "configure" |
2075 #include "confdefs.h" | 2088 #include "confdefs.h" |
2076 | 2089 |
2077 int main() { | 2090 int main() { |
2078 #ifndef __SUNPRO_C | 2091 #ifndef __SUNPRO_C |
2079 #error Not a SunPro compiler :-( | 2092 #error Not a SunPro compiler :-( |
2080 ******* ======= ******** &&&&&&&& | 2093 ******* ======= ******** &&&&&&&& |
2081 #endif | 2094 #endif |
2082 | 2095 |
2083 ; return 0; } | 2096 ; return 0; } |
2084 EOF | 2097 EOF |
2085 if { (eval echo configure:2086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2098 if { (eval echo configure:2099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2086 rm -rf conftest* | 2099 rm -rf conftest* |
2087 __sunpro_c=yes | 2100 __sunpro_c=yes |
2088 else | 2101 else |
2089 echo "configure: failed program was:" >&5 | 2102 echo "configure: failed program was:" >&5 |
2090 cat conftest.$ac_ext >&5 | 2103 cat conftest.$ac_ext >&5 |
2264 | 2277 |
2265 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" | 2278 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" |
2266 | 2279 |
2267 if test "$cflags_specified" = "no"; then | 2280 if test "$cflags_specified" = "no"; then |
2268 if test "$GCC" = "yes"; then | 2281 if test "$GCC" = "yes"; then |
2269 CFLAGS="-g -O2 -Wall -Wno-switch" | 2282 CFLAGS="-g -O3 -Wall -Wno-switch" |
2270 elif test "$__sunpro_c" = "yes"; then | 2283 elif test "$__sunpro_c" = "yes"; then |
2271 case "$opsys" in | 2284 case "$opsys" in |
2272 sol2 ) CFLAGS="-v -xO4" ;; | 2285 sol2 ) CFLAGS="-v -xO4" ;; |
2273 sunos4* ) CFLAGS="-xO2";; | 2286 sunos4* ) CFLAGS="-xO2";; |
2274 esac | 2287 esac |
2340 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2353 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2341 echo " xemacs will be linked with \"$unexec\"" | 2354 echo " xemacs will be linked with \"$unexec\"" |
2342 fi | 2355 fi |
2343 | 2356 |
2344 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2357 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2345 echo "configure:2346: checking for dynodump" >&5 | 2358 echo "configure:2359: checking for dynodump" >&5 |
2346 if test "$unexec" != "unexsol2.o"; then | 2359 if test "$unexec" != "unexsol2.o"; then |
2347 echo "$ac_t""no" 1>&6 | 2360 echo "$ac_t""no" 1>&6 |
2348 else | 2361 else |
2349 echo "$ac_t""yes" 1>&6 | 2362 echo "$ac_t""yes" 1>&6 |
2350 { test "$extra_verbose" = "yes" && cat << \EOF | 2363 { test "$extra_verbose" = "yes" && cat << \EOF |
2440 esac | 2453 esac |
2441 fi | 2454 fi |
2442 | 2455 |
2443 if test "$add_runtime_path" = "yes"; then | 2456 if test "$add_runtime_path" = "yes"; then |
2444 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2457 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2445 echo "configure:2446: checking "for runtime libraries flag"" >&5 | 2458 echo "configure:2459: checking "for runtime libraries flag"" >&5 |
2446 dash_r="" | 2459 dash_r="" |
2447 for try_dash_r in "-R" "-R " "-rpath "; do | 2460 for try_dash_r in "-R" "-R " "-rpath "; do |
2448 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2461 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2449 | 2462 |
2450 if test "$GCC" = "yes"; then | 2463 if test "$GCC" = "yes"; then |
2458 esac | 2471 esac |
2459 shift | 2472 shift |
2460 done | 2473 done |
2461 fi | 2474 fi |
2462 cat > conftest.$ac_ext <<EOF | 2475 cat > conftest.$ac_ext <<EOF |
2463 #line 2464 "configure" | 2476 #line 2477 "configure" |
2464 #include "confdefs.h" | 2477 #include "confdefs.h" |
2465 | 2478 |
2466 int main() { | 2479 int main() { |
2467 | 2480 |
2468 ; return 0; } | 2481 ; return 0; } |
2469 EOF | 2482 EOF |
2470 if { (eval echo configure:2471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2483 if { (eval echo configure:2484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2471 rm -rf conftest* | 2484 rm -rf conftest* |
2472 dash_r="$try_dash_r" | 2485 dash_r="$try_dash_r" |
2473 else | 2486 else |
2474 echo "configure: failed program was:" >&5 | 2487 echo "configure: failed program was:" >&5 |
2475 cat conftest.$ac_ext >&5 | 2488 cat conftest.$ac_ext >&5 |
2565 else | 2578 else |
2566 doug_lea_malloc=no | 2579 doug_lea_malloc=no |
2567 fi | 2580 fi |
2568 after_morecore_hook_exists=yes | 2581 after_morecore_hook_exists=yes |
2569 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2582 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2570 echo "configure:2571: checking for malloc_get_state" >&5 | 2583 echo "configure:2584: checking for malloc_get_state" >&5 |
2571 | 2584 |
2572 cat > conftest.$ac_ext <<EOF | 2585 cat > conftest.$ac_ext <<EOF |
2573 #line 2574 "configure" | 2586 #line 2587 "configure" |
2574 #include "confdefs.h" | 2587 #include "confdefs.h" |
2575 /* System header to define __stub macros and hopefully few prototypes, | 2588 /* System header to define __stub macros and hopefully few prototypes, |
2576 which can conflict with char malloc_get_state(); below. */ | 2589 which can conflict with char malloc_get_state(); below. */ |
2577 #include <assert.h> | 2590 #include <assert.h> |
2578 /* Override any gcc2 internal prototype to avoid an error. */ | 2591 /* Override any gcc2 internal prototype to avoid an error. */ |
2591 malloc_get_state(); | 2604 malloc_get_state(); |
2592 #endif | 2605 #endif |
2593 | 2606 |
2594 ; return 0; } | 2607 ; return 0; } |
2595 EOF | 2608 EOF |
2596 if { (eval echo configure:2597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2609 if { (eval echo configure:2610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2597 rm -rf conftest* | 2610 rm -rf conftest* |
2598 eval "ac_cv_func_malloc_get_state=yes" | 2611 eval "ac_cv_func_malloc_get_state=yes" |
2599 else | 2612 else |
2600 echo "configure: failed program was:" >&5 | 2613 echo "configure: failed program was:" >&5 |
2601 cat conftest.$ac_ext >&5 | 2614 cat conftest.$ac_ext >&5 |
2611 echo "$ac_t""no" 1>&6 | 2624 echo "$ac_t""no" 1>&6 |
2612 doug_lea_malloc=no | 2625 doug_lea_malloc=no |
2613 fi | 2626 fi |
2614 | 2627 |
2615 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2628 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2616 echo "configure:2617: checking for malloc_set_state" >&5 | 2629 echo "configure:2630: checking for malloc_set_state" >&5 |
2617 | 2630 |
2618 cat > conftest.$ac_ext <<EOF | 2631 cat > conftest.$ac_ext <<EOF |
2619 #line 2620 "configure" | 2632 #line 2633 "configure" |
2620 #include "confdefs.h" | 2633 #include "confdefs.h" |
2621 /* System header to define __stub macros and hopefully few prototypes, | 2634 /* System header to define __stub macros and hopefully few prototypes, |
2622 which can conflict with char malloc_set_state(); below. */ | 2635 which can conflict with char malloc_set_state(); below. */ |
2623 #include <assert.h> | 2636 #include <assert.h> |
2624 /* Override any gcc2 internal prototype to avoid an error. */ | 2637 /* Override any gcc2 internal prototype to avoid an error. */ |
2637 malloc_set_state(); | 2650 malloc_set_state(); |
2638 #endif | 2651 #endif |
2639 | 2652 |
2640 ; return 0; } | 2653 ; return 0; } |
2641 EOF | 2654 EOF |
2642 if { (eval echo configure:2643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2655 if { (eval echo configure:2656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2643 rm -rf conftest* | 2656 rm -rf conftest* |
2644 eval "ac_cv_func_malloc_set_state=yes" | 2657 eval "ac_cv_func_malloc_set_state=yes" |
2645 else | 2658 else |
2646 echo "configure: failed program was:" >&5 | 2659 echo "configure: failed program was:" >&5 |
2647 cat conftest.$ac_ext >&5 | 2660 cat conftest.$ac_ext >&5 |
2657 echo "$ac_t""no" 1>&6 | 2670 echo "$ac_t""no" 1>&6 |
2658 doug_lea_malloc=no | 2671 doug_lea_malloc=no |
2659 fi | 2672 fi |
2660 | 2673 |
2661 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2674 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
2662 echo "configure:2663: checking whether __after_morecore_hook exists" >&5 | 2675 echo "configure:2676: checking whether __after_morecore_hook exists" >&5 |
2663 cat > conftest.$ac_ext <<EOF | 2676 cat > conftest.$ac_ext <<EOF |
2664 #line 2665 "configure" | 2677 #line 2678 "configure" |
2665 #include "confdefs.h" | 2678 #include "confdefs.h" |
2666 extern void (* __after_morecore_hook)(); | 2679 extern void (* __after_morecore_hook)(); |
2667 int main() { | 2680 int main() { |
2668 __after_morecore_hook = 0 | 2681 __after_morecore_hook = 0 |
2669 ; return 0; } | 2682 ; return 0; } |
2670 EOF | 2683 EOF |
2671 if { (eval echo configure:2672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2684 if { (eval echo configure:2685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2672 rm -rf conftest* | 2685 rm -rf conftest* |
2673 echo "$ac_t""yes" 1>&6 | 2686 echo "$ac_t""yes" 1>&6 |
2674 else | 2687 else |
2675 echo "configure: failed program was:" >&5 | 2688 echo "configure: failed program was:" >&5 |
2676 cat conftest.$ac_ext >&5 | 2689 cat conftest.$ac_ext >&5 |
2725 | 2738 |
2726 | 2739 |
2727 # Extract the first word of "ranlib", so it can be a program name with args. | 2740 # Extract the first word of "ranlib", so it can be a program name with args. |
2728 set dummy ranlib; ac_word=$2 | 2741 set dummy ranlib; ac_word=$2 |
2729 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2742 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2730 echo "configure:2731: checking for $ac_word" >&5 | 2743 echo "configure:2744: checking for $ac_word" >&5 |
2731 | 2744 |
2732 if test -n "$RANLIB"; then | 2745 if test -n "$RANLIB"; then |
2733 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2746 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2734 else | 2747 else |
2735 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2748 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2778 # AIX /bin/install | 2791 # AIX /bin/install |
2779 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2792 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2780 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2793 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2781 # ./install, which can be erroneously created by make from ./install.sh. | 2794 # ./install, which can be erroneously created by make from ./install.sh. |
2782 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2795 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2783 echo "configure:2784: checking for a BSD compatible install" >&5 | 2796 echo "configure:2797: checking for a BSD compatible install" >&5 |
2784 if test -z "$INSTALL"; then | 2797 if test -z "$INSTALL"; then |
2785 | 2798 |
2786 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2799 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2787 for ac_dir in $PATH; do | 2800 for ac_dir in $PATH; do |
2788 # Account for people who put trailing slashes in PATH elements. | 2801 # Account for people who put trailing slashes in PATH elements. |
2829 for ac_prog in 'bison -y' byacc | 2842 for ac_prog in 'bison -y' byacc |
2830 do | 2843 do |
2831 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2844 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2832 set dummy $ac_prog; ac_word=$2 | 2845 set dummy $ac_prog; ac_word=$2 |
2833 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2846 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2834 echo "configure:2835: checking for $ac_word" >&5 | 2847 echo "configure:2848: checking for $ac_word" >&5 |
2835 | 2848 |
2836 if test -n "$YACC"; then | 2849 if test -n "$YACC"; then |
2837 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2850 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2838 else | 2851 else |
2839 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2852 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2860 | 2873 |
2861 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2874 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2862 do | 2875 do |
2863 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2876 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2864 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2877 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2865 echo "configure:2866: checking for $ac_hdr" >&5 | 2878 echo "configure:2879: checking for $ac_hdr" >&5 |
2866 | 2879 |
2867 cat > conftest.$ac_ext <<EOF | 2880 cat > conftest.$ac_ext <<EOF |
2868 #line 2869 "configure" | 2881 #line 2882 "configure" |
2869 #include "confdefs.h" | 2882 #include "confdefs.h" |
2870 #include <$ac_hdr> | 2883 #include <$ac_hdr> |
2871 EOF | 2884 EOF |
2872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2885 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2873 { (eval echo configure:2874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2886 { (eval echo configure:2887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2874 ac_err=`grep -v '^ *+' conftest.out` | 2887 ac_err=`grep -v '^ *+' conftest.out` |
2875 if test -z "$ac_err"; then | 2888 if test -z "$ac_err"; then |
2876 rm -rf conftest* | 2889 rm -rf conftest* |
2877 eval "ac_cv_header_$ac_safe=yes" | 2890 eval "ac_cv_header_$ac_safe=yes" |
2878 else | 2891 else |
2901 | 2914 |
2902 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2915 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
2903 do | 2916 do |
2904 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2917 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2905 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2918 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2906 echo "configure:2907: checking for $ac_hdr" >&5 | 2919 echo "configure:2920: checking for $ac_hdr" >&5 |
2907 | 2920 |
2908 cat > conftest.$ac_ext <<EOF | 2921 cat > conftest.$ac_ext <<EOF |
2909 #line 2910 "configure" | 2922 #line 2923 "configure" |
2910 #include "confdefs.h" | 2923 #include "confdefs.h" |
2911 #include <$ac_hdr> | 2924 #include <$ac_hdr> |
2912 EOF | 2925 EOF |
2913 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2914 { (eval echo configure:2915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2927 { (eval echo configure:2928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2915 ac_err=`grep -v '^ *+' conftest.out` | 2928 ac_err=`grep -v '^ *+' conftest.out` |
2916 if test -z "$ac_err"; then | 2929 if test -z "$ac_err"; then |
2917 rm -rf conftest* | 2930 rm -rf conftest* |
2918 eval "ac_cv_header_$ac_safe=yes" | 2931 eval "ac_cv_header_$ac_safe=yes" |
2919 else | 2932 else |
2942 | 2955 |
2943 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 2956 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
2944 do | 2957 do |
2945 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2958 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2946 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2959 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2947 echo "configure:2948: checking for $ac_hdr" >&5 | 2960 echo "configure:2961: checking for $ac_hdr" >&5 |
2948 | 2961 |
2949 cat > conftest.$ac_ext <<EOF | 2962 cat > conftest.$ac_ext <<EOF |
2950 #line 2951 "configure" | 2963 #line 2964 "configure" |
2951 #include "confdefs.h" | 2964 #include "confdefs.h" |
2952 #include <$ac_hdr> | 2965 #include <$ac_hdr> |
2953 EOF | 2966 EOF |
2954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2955 { (eval echo configure:2956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2968 { (eval echo configure:2969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2956 ac_err=`grep -v '^ *+' conftest.out` | 2969 ac_err=`grep -v '^ *+' conftest.out` |
2957 if test -z "$ac_err"; then | 2970 if test -z "$ac_err"; then |
2958 rm -rf conftest* | 2971 rm -rf conftest* |
2959 eval "ac_cv_header_$ac_safe=yes" | 2972 eval "ac_cv_header_$ac_safe=yes" |
2960 else | 2973 else |
2980 echo "$ac_t""no" 1>&6 | 2993 echo "$ac_t""no" 1>&6 |
2981 fi | 2994 fi |
2982 done | 2995 done |
2983 | 2996 |
2984 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2997 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
2985 echo "configure:2986: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2998 echo "configure:2999: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2986 | 2999 |
2987 cat > conftest.$ac_ext <<EOF | 3000 cat > conftest.$ac_ext <<EOF |
2988 #line 2989 "configure" | 3001 #line 3002 "configure" |
2989 #include "confdefs.h" | 3002 #include "confdefs.h" |
2990 #include <sys/types.h> | 3003 #include <sys/types.h> |
2991 #include <sys/wait.h> | 3004 #include <sys/wait.h> |
2992 #ifndef WEXITSTATUS | 3005 #ifndef WEXITSTATUS |
2993 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3006 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
2999 int s; | 3012 int s; |
3000 wait (&s); | 3013 wait (&s); |
3001 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3014 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3002 ; return 0; } | 3015 ; return 0; } |
3003 EOF | 3016 EOF |
3004 if { (eval echo configure:3005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3017 if { (eval echo configure:3018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3005 rm -rf conftest* | 3018 rm -rf conftest* |
3006 ac_cv_header_sys_wait_h=yes | 3019 ac_cv_header_sys_wait_h=yes |
3007 else | 3020 else |
3008 echo "configure: failed program was:" >&5 | 3021 echo "configure: failed program was:" >&5 |
3009 cat conftest.$ac_ext >&5 | 3022 cat conftest.$ac_ext >&5 |
3023 } | 3036 } |
3024 | 3037 |
3025 fi | 3038 fi |
3026 | 3039 |
3027 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3040 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3028 echo "configure:3029: checking for ANSI C header files" >&5 | 3041 echo "configure:3042: checking for ANSI C header files" >&5 |
3029 | 3042 |
3030 cat > conftest.$ac_ext <<EOF | 3043 cat > conftest.$ac_ext <<EOF |
3031 #line 3032 "configure" | 3044 #line 3045 "configure" |
3032 #include "confdefs.h" | 3045 #include "confdefs.h" |
3033 #include <stdlib.h> | 3046 #include <stdlib.h> |
3034 #include <stdarg.h> | 3047 #include <stdarg.h> |
3035 #include <string.h> | 3048 #include <string.h> |
3036 #include <float.h> | 3049 #include <float.h> |
3037 EOF | 3050 EOF |
3038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3039 { (eval echo configure:3040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3052 { (eval echo configure:3053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3040 ac_err=`grep -v '^ *+' conftest.out` | 3053 ac_err=`grep -v '^ *+' conftest.out` |
3041 if test -z "$ac_err"; then | 3054 if test -z "$ac_err"; then |
3042 rm -rf conftest* | 3055 rm -rf conftest* |
3043 ac_cv_header_stdc=yes | 3056 ac_cv_header_stdc=yes |
3044 else | 3057 else |
3051 rm -f conftest* | 3064 rm -f conftest* |
3052 | 3065 |
3053 if test $ac_cv_header_stdc = yes; then | 3066 if test $ac_cv_header_stdc = yes; then |
3054 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3067 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3055 cat > conftest.$ac_ext <<EOF | 3068 cat > conftest.$ac_ext <<EOF |
3056 #line 3057 "configure" | 3069 #line 3070 "configure" |
3057 #include "confdefs.h" | 3070 #include "confdefs.h" |
3058 #include <string.h> | 3071 #include <string.h> |
3059 EOF | 3072 EOF |
3060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3061 egrep "memchr" >/dev/null 2>&1; then | 3074 egrep "memchr" >/dev/null 2>&1; then |
3069 fi | 3082 fi |
3070 | 3083 |
3071 if test $ac_cv_header_stdc = yes; then | 3084 if test $ac_cv_header_stdc = yes; then |
3072 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3085 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3073 cat > conftest.$ac_ext <<EOF | 3086 cat > conftest.$ac_ext <<EOF |
3074 #line 3075 "configure" | 3087 #line 3088 "configure" |
3075 #include "confdefs.h" | 3088 #include "confdefs.h" |
3076 #include <stdlib.h> | 3089 #include <stdlib.h> |
3077 EOF | 3090 EOF |
3078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3079 egrep "free" >/dev/null 2>&1; then | 3092 egrep "free" >/dev/null 2>&1; then |
3087 fi | 3100 fi |
3088 | 3101 |
3089 if test $ac_cv_header_stdc = yes; then | 3102 if test $ac_cv_header_stdc = yes; then |
3090 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3103 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3091 cat > conftest.$ac_ext <<EOF | 3104 cat > conftest.$ac_ext <<EOF |
3092 #line 3093 "configure" | 3105 #line 3106 "configure" |
3093 #include "confdefs.h" | 3106 #include "confdefs.h" |
3094 #include <ctype.h> | 3107 #include <ctype.h> |
3095 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3108 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3096 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3109 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3097 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3110 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3098 int main () { int i; for (i = 0; i < 256; i++) | 3111 int main () { int i; for (i = 0; i < 256; i++) |
3099 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3112 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3100 exit (0); } | 3113 exit (0); } |
3101 | 3114 |
3102 EOF | 3115 EOF |
3103 if { (eval echo configure:3104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3116 if { (eval echo configure:3117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3104 then | 3117 then |
3105 : | 3118 : |
3106 else | 3119 else |
3107 echo "configure: failed program was:" >&5 | 3120 echo "configure: failed program was:" >&5 |
3108 cat conftest.$ac_ext >&5 | 3121 cat conftest.$ac_ext >&5 |
3123 } | 3136 } |
3124 | 3137 |
3125 fi | 3138 fi |
3126 | 3139 |
3127 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3140 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3128 echo "configure:3129: checking whether time.h and sys/time.h may both be included" >&5 | 3141 echo "configure:3142: checking whether time.h and sys/time.h may both be included" >&5 |
3129 | 3142 |
3130 cat > conftest.$ac_ext <<EOF | 3143 cat > conftest.$ac_ext <<EOF |
3131 #line 3132 "configure" | 3144 #line 3145 "configure" |
3132 #include "confdefs.h" | 3145 #include "confdefs.h" |
3133 #include <sys/types.h> | 3146 #include <sys/types.h> |
3134 #include <sys/time.h> | 3147 #include <sys/time.h> |
3135 #include <time.h> | 3148 #include <time.h> |
3136 int main() { | 3149 int main() { |
3137 struct tm *tp; | 3150 struct tm *tp; |
3138 ; return 0; } | 3151 ; return 0; } |
3139 EOF | 3152 EOF |
3140 if { (eval echo configure:3141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3153 if { (eval echo configure:3154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3141 rm -rf conftest* | 3154 rm -rf conftest* |
3142 ac_cv_header_time=yes | 3155 ac_cv_header_time=yes |
3143 else | 3156 else |
3144 echo "configure: failed program was:" >&5 | 3157 echo "configure: failed program was:" >&5 |
3145 cat conftest.$ac_ext >&5 | 3158 cat conftest.$ac_ext >&5 |
3159 } | 3172 } |
3160 | 3173 |
3161 fi | 3174 fi |
3162 | 3175 |
3163 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3176 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3164 echo "configure:3165: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3177 echo "configure:3178: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3165 | 3178 |
3166 cat > conftest.$ac_ext <<EOF | 3179 cat > conftest.$ac_ext <<EOF |
3167 #line 3168 "configure" | 3180 #line 3181 "configure" |
3168 #include "confdefs.h" | 3181 #include "confdefs.h" |
3169 #include <sys/types.h> | 3182 #include <sys/types.h> |
3170 #include <signal.h> | 3183 #include <signal.h> |
3171 /* NetBSD declares sys_siglist in unistd.h. */ | 3184 /* NetBSD declares sys_siglist in unistd.h. */ |
3172 #ifdef HAVE_UNISTD_H | 3185 #ifdef HAVE_UNISTD_H |
3174 #endif | 3187 #endif |
3175 int main() { | 3188 int main() { |
3176 char *msg = *(sys_siglist + 1); | 3189 char *msg = *(sys_siglist + 1); |
3177 ; return 0; } | 3190 ; return 0; } |
3178 EOF | 3191 EOF |
3179 if { (eval echo configure:3180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3192 if { (eval echo configure:3193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3180 rm -rf conftest* | 3193 rm -rf conftest* |
3181 ac_cv_decl_sys_siglist=yes | 3194 ac_cv_decl_sys_siglist=yes |
3182 else | 3195 else |
3183 echo "configure: failed program was:" >&5 | 3196 echo "configure: failed program was:" >&5 |
3184 cat conftest.$ac_ext >&5 | 3197 cat conftest.$ac_ext >&5 |
3199 | 3212 |
3200 fi | 3213 fi |
3201 | 3214 |
3202 | 3215 |
3203 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3216 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3204 echo "configure:3205: checking for struct utimbuf" >&5 | 3217 echo "configure:3218: checking for struct utimbuf" >&5 |
3205 cat > conftest.$ac_ext <<EOF | 3218 cat > conftest.$ac_ext <<EOF |
3206 #line 3207 "configure" | 3219 #line 3220 "configure" |
3207 #include "confdefs.h" | 3220 #include "confdefs.h" |
3208 #ifdef TIME_WITH_SYS_TIME | 3221 #ifdef TIME_WITH_SYS_TIME |
3209 #include <sys/time.h> | 3222 #include <sys/time.h> |
3210 #include <time.h> | 3223 #include <time.h> |
3211 #else | 3224 #else |
3220 #endif | 3233 #endif |
3221 int main() { | 3234 int main() { |
3222 static struct utimbuf x; x.actime = x.modtime; | 3235 static struct utimbuf x; x.actime = x.modtime; |
3223 ; return 0; } | 3236 ; return 0; } |
3224 EOF | 3237 EOF |
3225 if { (eval echo configure:3226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3238 if { (eval echo configure:3239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3226 rm -rf conftest* | 3239 rm -rf conftest* |
3227 echo "$ac_t""yes" 1>&6 | 3240 echo "$ac_t""yes" 1>&6 |
3228 { test "$extra_verbose" = "yes" && cat << \EOF | 3241 { test "$extra_verbose" = "yes" && cat << \EOF |
3229 Defining HAVE_STRUCT_UTIMBUF | 3242 Defining HAVE_STRUCT_UTIMBUF |
3230 EOF | 3243 EOF |
3240 echo "$ac_t""no" 1>&6 | 3253 echo "$ac_t""no" 1>&6 |
3241 fi | 3254 fi |
3242 rm -f conftest* | 3255 rm -f conftest* |
3243 | 3256 |
3244 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3257 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3245 echo "configure:3246: checking return type of signal handlers" >&5 | 3258 echo "configure:3259: checking return type of signal handlers" >&5 |
3246 | 3259 |
3247 cat > conftest.$ac_ext <<EOF | 3260 cat > conftest.$ac_ext <<EOF |
3248 #line 3249 "configure" | 3261 #line 3262 "configure" |
3249 #include "confdefs.h" | 3262 #include "confdefs.h" |
3250 #include <sys/types.h> | 3263 #include <sys/types.h> |
3251 #include <signal.h> | 3264 #include <signal.h> |
3252 #ifdef signal | 3265 #ifdef signal |
3253 #undef signal | 3266 #undef signal |
3260 | 3273 |
3261 int main() { | 3274 int main() { |
3262 int i; | 3275 int i; |
3263 ; return 0; } | 3276 ; return 0; } |
3264 EOF | 3277 EOF |
3265 if { (eval echo configure:3266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3278 if { (eval echo configure:3279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3266 rm -rf conftest* | 3279 rm -rf conftest* |
3267 ac_cv_type_signal=void | 3280 ac_cv_type_signal=void |
3268 else | 3281 else |
3269 echo "configure: failed program was:" >&5 | 3282 echo "configure: failed program was:" >&5 |
3270 cat conftest.$ac_ext >&5 | 3283 cat conftest.$ac_ext >&5 |
3282 EOF | 3295 EOF |
3283 } | 3296 } |
3284 | 3297 |
3285 | 3298 |
3286 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3299 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3287 echo "configure:3288: checking for size_t" >&5 | 3300 echo "configure:3301: checking for size_t" >&5 |
3288 | 3301 |
3289 cat > conftest.$ac_ext <<EOF | 3302 cat > conftest.$ac_ext <<EOF |
3290 #line 3291 "configure" | 3303 #line 3304 "configure" |
3291 #include "confdefs.h" | 3304 #include "confdefs.h" |
3292 #include <sys/types.h> | 3305 #include <sys/types.h> |
3293 #if STDC_HEADERS | 3306 #if STDC_HEADERS |
3294 #include <stdlib.h> | 3307 #include <stdlib.h> |
3295 #include <stddef.h> | 3308 #include <stddef.h> |
3316 } | 3329 } |
3317 | 3330 |
3318 fi | 3331 fi |
3319 | 3332 |
3320 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3333 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3321 echo "configure:3322: checking for pid_t" >&5 | 3334 echo "configure:3335: checking for pid_t" >&5 |
3322 | 3335 |
3323 cat > conftest.$ac_ext <<EOF | 3336 cat > conftest.$ac_ext <<EOF |
3324 #line 3325 "configure" | 3337 #line 3338 "configure" |
3325 #include "confdefs.h" | 3338 #include "confdefs.h" |
3326 #include <sys/types.h> | 3339 #include <sys/types.h> |
3327 #if STDC_HEADERS | 3340 #if STDC_HEADERS |
3328 #include <stdlib.h> | 3341 #include <stdlib.h> |
3329 #include <stddef.h> | 3342 #include <stddef.h> |
3350 } | 3363 } |
3351 | 3364 |
3352 fi | 3365 fi |
3353 | 3366 |
3354 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3367 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3355 echo "configure:3356: checking for uid_t in sys/types.h" >&5 | 3368 echo "configure:3369: checking for uid_t in sys/types.h" >&5 |
3356 | 3369 |
3357 cat > conftest.$ac_ext <<EOF | 3370 cat > conftest.$ac_ext <<EOF |
3358 #line 3359 "configure" | 3371 #line 3372 "configure" |
3359 #include "confdefs.h" | 3372 #include "confdefs.h" |
3360 #include <sys/types.h> | 3373 #include <sys/types.h> |
3361 EOF | 3374 EOF |
3362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3363 egrep "uid_t" >/dev/null 2>&1; then | 3376 egrep "uid_t" >/dev/null 2>&1; then |
3389 } | 3402 } |
3390 | 3403 |
3391 fi | 3404 fi |
3392 | 3405 |
3393 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3406 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3394 echo "configure:3395: checking for mode_t" >&5 | 3407 echo "configure:3408: checking for mode_t" >&5 |
3395 | 3408 |
3396 cat > conftest.$ac_ext <<EOF | 3409 cat > conftest.$ac_ext <<EOF |
3397 #line 3398 "configure" | 3410 #line 3411 "configure" |
3398 #include "confdefs.h" | 3411 #include "confdefs.h" |
3399 #include <sys/types.h> | 3412 #include <sys/types.h> |
3400 #if STDC_HEADERS | 3413 #if STDC_HEADERS |
3401 #include <stdlib.h> | 3414 #include <stdlib.h> |
3402 #include <stddef.h> | 3415 #include <stddef.h> |
3423 } | 3436 } |
3424 | 3437 |
3425 fi | 3438 fi |
3426 | 3439 |
3427 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3440 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3428 echo "configure:3429: checking for off_t" >&5 | 3441 echo "configure:3442: checking for off_t" >&5 |
3429 | 3442 |
3430 cat > conftest.$ac_ext <<EOF | 3443 cat > conftest.$ac_ext <<EOF |
3431 #line 3432 "configure" | 3444 #line 3445 "configure" |
3432 #include "confdefs.h" | 3445 #include "confdefs.h" |
3433 #include <sys/types.h> | 3446 #include <sys/types.h> |
3434 #if STDC_HEADERS | 3447 #if STDC_HEADERS |
3435 #include <stdlib.h> | 3448 #include <stdlib.h> |
3436 #include <stddef.h> | 3449 #include <stddef.h> |
3458 | 3471 |
3459 fi | 3472 fi |
3460 | 3473 |
3461 | 3474 |
3462 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3475 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3463 echo "configure:3464: checking for struct timeval" >&5 | 3476 echo "configure:3477: checking for struct timeval" >&5 |
3464 cat > conftest.$ac_ext <<EOF | 3477 cat > conftest.$ac_ext <<EOF |
3465 #line 3466 "configure" | 3478 #line 3479 "configure" |
3466 #include "confdefs.h" | 3479 #include "confdefs.h" |
3467 #ifdef TIME_WITH_SYS_TIME | 3480 #ifdef TIME_WITH_SYS_TIME |
3468 #include <sys/time.h> | 3481 #include <sys/time.h> |
3469 #include <time.h> | 3482 #include <time.h> |
3470 #else | 3483 #else |
3476 #endif | 3489 #endif |
3477 int main() { | 3490 int main() { |
3478 static struct timeval x; x.tv_sec = x.tv_usec; | 3491 static struct timeval x; x.tv_sec = x.tv_usec; |
3479 ; return 0; } | 3492 ; return 0; } |
3480 EOF | 3493 EOF |
3481 if { (eval echo configure:3482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3494 if { (eval echo configure:3495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3482 rm -rf conftest* | 3495 rm -rf conftest* |
3483 echo "$ac_t""yes" 1>&6 | 3496 echo "$ac_t""yes" 1>&6 |
3484 HAVE_TIMEVAL=yes | 3497 HAVE_TIMEVAL=yes |
3485 { test "$extra_verbose" = "yes" && cat << \EOF | 3498 { test "$extra_verbose" = "yes" && cat << \EOF |
3486 Defining HAVE_TIMEVAL | 3499 Defining HAVE_TIMEVAL |
3498 HAVE_TIMEVAL=no | 3511 HAVE_TIMEVAL=no |
3499 fi | 3512 fi |
3500 rm -f conftest* | 3513 rm -f conftest* |
3501 | 3514 |
3502 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3515 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3503 echo "configure:3504: checking whether struct tm is in sys/time.h or time.h" >&5 | 3516 echo "configure:3517: checking whether struct tm is in sys/time.h or time.h" >&5 |
3504 | 3517 |
3505 cat > conftest.$ac_ext <<EOF | 3518 cat > conftest.$ac_ext <<EOF |
3506 #line 3507 "configure" | 3519 #line 3520 "configure" |
3507 #include "confdefs.h" | 3520 #include "confdefs.h" |
3508 #include <sys/types.h> | 3521 #include <sys/types.h> |
3509 #include <time.h> | 3522 #include <time.h> |
3510 int main() { | 3523 int main() { |
3511 struct tm *tp; tp->tm_sec; | 3524 struct tm *tp; tp->tm_sec; |
3512 ; return 0; } | 3525 ; return 0; } |
3513 EOF | 3526 EOF |
3514 if { (eval echo configure:3515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3527 if { (eval echo configure:3528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3515 rm -rf conftest* | 3528 rm -rf conftest* |
3516 ac_cv_struct_tm=time.h | 3529 ac_cv_struct_tm=time.h |
3517 else | 3530 else |
3518 echo "configure: failed program was:" >&5 | 3531 echo "configure: failed program was:" >&5 |
3519 cat conftest.$ac_ext >&5 | 3532 cat conftest.$ac_ext >&5 |
3533 } | 3546 } |
3534 | 3547 |
3535 fi | 3548 fi |
3536 | 3549 |
3537 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3550 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3538 echo "configure:3539: checking for tm_zone in struct tm" >&5 | 3551 echo "configure:3552: checking for tm_zone in struct tm" >&5 |
3539 | 3552 |
3540 cat > conftest.$ac_ext <<EOF | 3553 cat > conftest.$ac_ext <<EOF |
3541 #line 3542 "configure" | 3554 #line 3555 "configure" |
3542 #include "confdefs.h" | 3555 #include "confdefs.h" |
3543 #include <sys/types.h> | 3556 #include <sys/types.h> |
3544 #include <$ac_cv_struct_tm> | 3557 #include <$ac_cv_struct_tm> |
3545 int main() { | 3558 int main() { |
3546 struct tm tm; tm.tm_zone; | 3559 struct tm tm; tm.tm_zone; |
3547 ; return 0; } | 3560 ; return 0; } |
3548 EOF | 3561 EOF |
3549 if { (eval echo configure:3550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3562 if { (eval echo configure:3563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3550 rm -rf conftest* | 3563 rm -rf conftest* |
3551 ac_cv_struct_tm_zone=yes | 3564 ac_cv_struct_tm_zone=yes |
3552 else | 3565 else |
3553 echo "configure: failed program was:" >&5 | 3566 echo "configure: failed program was:" >&5 |
3554 cat conftest.$ac_ext >&5 | 3567 cat conftest.$ac_ext >&5 |
3567 EOF | 3580 EOF |
3568 } | 3581 } |
3569 | 3582 |
3570 else | 3583 else |
3571 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3584 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3572 echo "configure:3573: checking for tzname" >&5 | 3585 echo "configure:3586: checking for tzname" >&5 |
3573 | 3586 |
3574 cat > conftest.$ac_ext <<EOF | 3587 cat > conftest.$ac_ext <<EOF |
3575 #line 3576 "configure" | 3588 #line 3589 "configure" |
3576 #include "confdefs.h" | 3589 #include "confdefs.h" |
3577 #include <time.h> | 3590 #include <time.h> |
3578 #ifndef tzname /* For SGI. */ | 3591 #ifndef tzname /* For SGI. */ |
3579 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3592 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3580 #endif | 3593 #endif |
3581 int main() { | 3594 int main() { |
3582 atoi(*tzname); | 3595 atoi(*tzname); |
3583 ; return 0; } | 3596 ; return 0; } |
3584 EOF | 3597 EOF |
3585 if { (eval echo configure:3586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3598 if { (eval echo configure:3599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3586 rm -rf conftest* | 3599 rm -rf conftest* |
3587 ac_cv_var_tzname=yes | 3600 ac_cv_var_tzname=yes |
3588 else | 3601 else |
3589 echo "configure: failed program was:" >&5 | 3602 echo "configure: failed program was:" >&5 |
3590 cat conftest.$ac_ext >&5 | 3603 cat conftest.$ac_ext >&5 |
3606 fi | 3619 fi |
3607 fi | 3620 fi |
3608 | 3621 |
3609 | 3622 |
3610 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3623 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3611 echo "configure:3612: checking for working const" >&5 | 3624 echo "configure:3625: checking for working const" >&5 |
3612 | 3625 |
3613 cat > conftest.$ac_ext <<EOF | 3626 cat > conftest.$ac_ext <<EOF |
3614 #line 3615 "configure" | 3627 #line 3628 "configure" |
3615 #include "confdefs.h" | 3628 #include "confdefs.h" |
3616 | 3629 |
3617 int main() { | 3630 int main() { |
3618 | 3631 |
3619 /* Ultrix mips cc rejects this. */ | 3632 /* Ultrix mips cc rejects this. */ |
3658 const int foo = 10; | 3671 const int foo = 10; |
3659 } | 3672 } |
3660 | 3673 |
3661 ; return 0; } | 3674 ; return 0; } |
3662 EOF | 3675 EOF |
3663 if { (eval echo configure:3664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3676 if { (eval echo configure:3677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3664 rm -rf conftest* | 3677 rm -rf conftest* |
3665 ac_cv_c_const=yes | 3678 ac_cv_c_const=yes |
3666 else | 3679 else |
3667 echo "configure: failed program was:" >&5 | 3680 echo "configure: failed program was:" >&5 |
3668 cat conftest.$ac_ext >&5 | 3681 cat conftest.$ac_ext >&5 |
3683 | 3696 |
3684 fi | 3697 fi |
3685 | 3698 |
3686 | 3699 |
3687 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3700 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3688 echo "configure:3689: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3701 echo "configure:3702: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3689 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3702 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3690 | 3703 |
3691 cat > conftestmake <<\EOF | 3704 cat > conftestmake <<\EOF |
3692 all: | 3705 all: |
3693 @echo 'ac_maketemp="${MAKE}"' | 3706 @echo 'ac_maketemp="${MAKE}"' |
3708 SET_MAKE="MAKE=${MAKE-make}" | 3721 SET_MAKE="MAKE=${MAKE-make}" |
3709 fi | 3722 fi |
3710 | 3723 |
3711 | 3724 |
3712 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3725 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3713 echo "configure:3714: checking whether byte ordering is bigendian" >&5 | 3726 echo "configure:3727: checking whether byte ordering is bigendian" >&5 |
3714 | 3727 |
3715 ac_cv_c_bigendian=unknown | 3728 ac_cv_c_bigendian=unknown |
3716 # See if sys/param.h defines the BYTE_ORDER macro. | 3729 # See if sys/param.h defines the BYTE_ORDER macro. |
3717 cat > conftest.$ac_ext <<EOF | 3730 cat > conftest.$ac_ext <<EOF |
3718 #line 3719 "configure" | 3731 #line 3732 "configure" |
3719 #include "confdefs.h" | 3732 #include "confdefs.h" |
3720 #include <sys/types.h> | 3733 #include <sys/types.h> |
3721 #include <sys/param.h> | 3734 #include <sys/param.h> |
3722 int main() { | 3735 int main() { |
3723 | 3736 |
3724 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3737 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3725 bogus endian macros | 3738 bogus endian macros |
3726 #endif | 3739 #endif |
3727 ; return 0; } | 3740 ; return 0; } |
3728 EOF | 3741 EOF |
3729 if { (eval echo configure:3730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3742 if { (eval echo configure:3743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3730 rm -rf conftest* | 3743 rm -rf conftest* |
3731 # It does; now see whether it defined to BIG_ENDIAN or not. | 3744 # It does; now see whether it defined to BIG_ENDIAN or not. |
3732 cat > conftest.$ac_ext <<EOF | 3745 cat > conftest.$ac_ext <<EOF |
3733 #line 3734 "configure" | 3746 #line 3747 "configure" |
3734 #include "confdefs.h" | 3747 #include "confdefs.h" |
3735 #include <sys/types.h> | 3748 #include <sys/types.h> |
3736 #include <sys/param.h> | 3749 #include <sys/param.h> |
3737 int main() { | 3750 int main() { |
3738 | 3751 |
3739 #if BYTE_ORDER != BIG_ENDIAN | 3752 #if BYTE_ORDER != BIG_ENDIAN |
3740 not big endian | 3753 not big endian |
3741 #endif | 3754 #endif |
3742 ; return 0; } | 3755 ; return 0; } |
3743 EOF | 3756 EOF |
3744 if { (eval echo configure:3745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3757 if { (eval echo configure:3758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3745 rm -rf conftest* | 3758 rm -rf conftest* |
3746 ac_cv_c_bigendian=yes | 3759 ac_cv_c_bigendian=yes |
3747 else | 3760 else |
3748 echo "configure: failed program was:" >&5 | 3761 echo "configure: failed program was:" >&5 |
3749 cat conftest.$ac_ext >&5 | 3762 cat conftest.$ac_ext >&5 |
3756 cat conftest.$ac_ext >&5 | 3769 cat conftest.$ac_ext >&5 |
3757 fi | 3770 fi |
3758 rm -f conftest* | 3771 rm -f conftest* |
3759 if test $ac_cv_c_bigendian = unknown; then | 3772 if test $ac_cv_c_bigendian = unknown; then |
3760 cat > conftest.$ac_ext <<EOF | 3773 cat > conftest.$ac_ext <<EOF |
3761 #line 3762 "configure" | 3774 #line 3775 "configure" |
3762 #include "confdefs.h" | 3775 #include "confdefs.h" |
3763 main () { | 3776 main () { |
3764 /* Are we little or big endian? From Harbison&Steele. */ | 3777 /* Are we little or big endian? From Harbison&Steele. */ |
3765 union | 3778 union |
3766 { | 3779 { |
3769 } u; | 3782 } u; |
3770 u.l = 1; | 3783 u.l = 1; |
3771 exit (u.c[sizeof (long) - 1] == 1); | 3784 exit (u.c[sizeof (long) - 1] == 1); |
3772 } | 3785 } |
3773 EOF | 3786 EOF |
3774 if { (eval echo configure:3775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3787 if { (eval echo configure:3788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3775 then | 3788 then |
3776 ac_cv_c_bigendian=no | 3789 ac_cv_c_bigendian=no |
3777 else | 3790 else |
3778 echo "configure: failed program was:" >&5 | 3791 echo "configure: failed program was:" >&5 |
3779 cat conftest.$ac_ext >&5 | 3792 cat conftest.$ac_ext >&5 |
3795 | 3808 |
3796 fi | 3809 fi |
3797 | 3810 |
3798 | 3811 |
3799 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3812 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3800 echo "configure:3801: checking size of short" >&5 | 3813 echo "configure:3814: checking size of short" >&5 |
3801 | 3814 |
3802 cat > conftest.$ac_ext <<EOF | 3815 cat > conftest.$ac_ext <<EOF |
3803 #line 3804 "configure" | 3816 #line 3817 "configure" |
3804 #include "confdefs.h" | 3817 #include "confdefs.h" |
3805 #include <stdio.h> | 3818 #include <stdio.h> |
3806 main() | 3819 main() |
3807 { | 3820 { |
3808 FILE *f=fopen("conftestval", "w"); | 3821 FILE *f=fopen("conftestval", "w"); |
3809 if (!f) exit(1); | 3822 if (!f) exit(1); |
3810 fprintf(f, "%d\n", sizeof(short)); | 3823 fprintf(f, "%d\n", sizeof(short)); |
3811 exit(0); | 3824 exit(0); |
3812 } | 3825 } |
3813 EOF | 3826 EOF |
3814 if { (eval echo configure:3815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3827 if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3815 then | 3828 then |
3816 ac_cv_sizeof_short=`cat conftestval` | 3829 ac_cv_sizeof_short=`cat conftestval` |
3817 else | 3830 else |
3818 echo "configure: failed program was:" >&5 | 3831 echo "configure: failed program was:" >&5 |
3819 cat conftest.$ac_ext >&5 | 3832 cat conftest.$ac_ext >&5 |
3836 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3849 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3837 echo "*** PANIC *** Please examine config.log for compilation errors." | 3850 echo "*** PANIC *** Please examine config.log for compilation errors." |
3838 exit 1 | 3851 exit 1 |
3839 fi | 3852 fi |
3840 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3853 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3841 echo "configure:3842: checking size of int" >&5 | 3854 echo "configure:3855: checking size of int" >&5 |
3842 | 3855 |
3843 cat > conftest.$ac_ext <<EOF | 3856 cat > conftest.$ac_ext <<EOF |
3844 #line 3845 "configure" | 3857 #line 3858 "configure" |
3845 #include "confdefs.h" | 3858 #include "confdefs.h" |
3846 #include <stdio.h> | 3859 #include <stdio.h> |
3847 main() | 3860 main() |
3848 { | 3861 { |
3849 FILE *f=fopen("conftestval", "w"); | 3862 FILE *f=fopen("conftestval", "w"); |
3850 if (!f) exit(1); | 3863 if (!f) exit(1); |
3851 fprintf(f, "%d\n", sizeof(int)); | 3864 fprintf(f, "%d\n", sizeof(int)); |
3852 exit(0); | 3865 exit(0); |
3853 } | 3866 } |
3854 EOF | 3867 EOF |
3855 if { (eval echo configure:3856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3868 if { (eval echo configure:3869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3856 then | 3869 then |
3857 ac_cv_sizeof_int=`cat conftestval` | 3870 ac_cv_sizeof_int=`cat conftestval` |
3858 else | 3871 else |
3859 echo "configure: failed program was:" >&5 | 3872 echo "configure: failed program was:" >&5 |
3860 cat conftest.$ac_ext >&5 | 3873 cat conftest.$ac_ext >&5 |
3871 EOF | 3884 EOF |
3872 } | 3885 } |
3873 | 3886 |
3874 | 3887 |
3875 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3888 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3876 echo "configure:3877: checking size of long" >&5 | 3889 echo "configure:3890: checking size of long" >&5 |
3877 | 3890 |
3878 cat > conftest.$ac_ext <<EOF | 3891 cat > conftest.$ac_ext <<EOF |
3879 #line 3880 "configure" | 3892 #line 3893 "configure" |
3880 #include "confdefs.h" | 3893 #include "confdefs.h" |
3881 #include <stdio.h> | 3894 #include <stdio.h> |
3882 main() | 3895 main() |
3883 { | 3896 { |
3884 FILE *f=fopen("conftestval", "w"); | 3897 FILE *f=fopen("conftestval", "w"); |
3885 if (!f) exit(1); | 3898 if (!f) exit(1); |
3886 fprintf(f, "%d\n", sizeof(long)); | 3899 fprintf(f, "%d\n", sizeof(long)); |
3887 exit(0); | 3900 exit(0); |
3888 } | 3901 } |
3889 EOF | 3902 EOF |
3890 if { (eval echo configure:3891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3903 if { (eval echo configure:3904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3891 then | 3904 then |
3892 ac_cv_sizeof_long=`cat conftestval` | 3905 ac_cv_sizeof_long=`cat conftestval` |
3893 else | 3906 else |
3894 echo "configure: failed program was:" >&5 | 3907 echo "configure: failed program was:" >&5 |
3895 cat conftest.$ac_ext >&5 | 3908 cat conftest.$ac_ext >&5 |
3906 EOF | 3919 EOF |
3907 } | 3920 } |
3908 | 3921 |
3909 | 3922 |
3910 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3923 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3911 echo "configure:3912: checking size of long long" >&5 | 3924 echo "configure:3925: checking size of long long" >&5 |
3912 | 3925 |
3913 cat > conftest.$ac_ext <<EOF | 3926 cat > conftest.$ac_ext <<EOF |
3914 #line 3915 "configure" | 3927 #line 3928 "configure" |
3915 #include "confdefs.h" | 3928 #include "confdefs.h" |
3916 #include <stdio.h> | 3929 #include <stdio.h> |
3917 main() | 3930 main() |
3918 { | 3931 { |
3919 FILE *f=fopen("conftestval", "w"); | 3932 FILE *f=fopen("conftestval", "w"); |
3920 if (!f) exit(1); | 3933 if (!f) exit(1); |
3921 fprintf(f, "%d\n", sizeof(long long)); | 3934 fprintf(f, "%d\n", sizeof(long long)); |
3922 exit(0); | 3935 exit(0); |
3923 } | 3936 } |
3924 EOF | 3937 EOF |
3925 if { (eval echo configure:3926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3938 if { (eval echo configure:3939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3926 then | 3939 then |
3927 ac_cv_sizeof_long_long=`cat conftestval` | 3940 ac_cv_sizeof_long_long=`cat conftestval` |
3928 else | 3941 else |
3929 echo "configure: failed program was:" >&5 | 3942 echo "configure: failed program was:" >&5 |
3930 cat conftest.$ac_ext >&5 | 3943 cat conftest.$ac_ext >&5 |
3941 EOF | 3954 EOF |
3942 } | 3955 } |
3943 | 3956 |
3944 | 3957 |
3945 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3958 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
3946 echo "configure:3947: checking size of void *" >&5 | 3959 echo "configure:3960: checking size of void *" >&5 |
3947 | 3960 |
3948 cat > conftest.$ac_ext <<EOF | 3961 cat > conftest.$ac_ext <<EOF |
3949 #line 3950 "configure" | 3962 #line 3963 "configure" |
3950 #include "confdefs.h" | 3963 #include "confdefs.h" |
3951 #include <stdio.h> | 3964 #include <stdio.h> |
3952 main() | 3965 main() |
3953 { | 3966 { |
3954 FILE *f=fopen("conftestval", "w"); | 3967 FILE *f=fopen("conftestval", "w"); |
3955 if (!f) exit(1); | 3968 if (!f) exit(1); |
3956 fprintf(f, "%d\n", sizeof(void *)); | 3969 fprintf(f, "%d\n", sizeof(void *)); |
3957 exit(0); | 3970 exit(0); |
3958 } | 3971 } |
3959 EOF | 3972 EOF |
3960 if { (eval echo configure:3961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3973 if { (eval echo configure:3974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3961 then | 3974 then |
3962 ac_cv_sizeof_void_p=`cat conftestval` | 3975 ac_cv_sizeof_void_p=`cat conftestval` |
3963 else | 3976 else |
3964 echo "configure: failed program was:" >&5 | 3977 echo "configure: failed program was:" >&5 |
3965 cat conftest.$ac_ext >&5 | 3978 cat conftest.$ac_ext >&5 |
3977 } | 3990 } |
3978 | 3991 |
3979 | 3992 |
3980 | 3993 |
3981 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3994 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3982 echo "configure:3983: checking for long file names" >&5 | 3995 echo "configure:3996: checking for long file names" >&5 |
3983 | 3996 |
3984 ac_cv_sys_long_file_names=yes | 3997 ac_cv_sys_long_file_names=yes |
3985 # Test for long file names in all the places we know might matter: | 3998 # Test for long file names in all the places we know might matter: |
3986 # . the current directory, where building will happen | 3999 # . the current directory, where building will happen |
3987 # $prefix/lib where we will be installing things | 4000 # $prefix/lib where we will be installing things |
4024 fi | 4037 fi |
4025 | 4038 |
4026 | 4039 |
4027 | 4040 |
4028 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4041 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4029 echo "configure:4030: checking for sin in -lm" >&5 | 4042 echo "configure:4043: checking for sin in -lm" >&5 |
4030 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4043 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4031 | 4044 |
4032 xe_check_libs=" -lm " | 4045 xe_check_libs=" -lm " |
4033 cat > conftest.$ac_ext <<EOF | 4046 cat > conftest.$ac_ext <<EOF |
4034 #line 4035 "configure" | 4047 #line 4048 "configure" |
4035 #include "confdefs.h" | 4048 #include "confdefs.h" |
4036 /* Override any gcc2 internal prototype to avoid an error. */ | 4049 /* Override any gcc2 internal prototype to avoid an error. */ |
4037 /* We use char because int might match the return type of a gcc2 | 4050 /* We use char because int might match the return type of a gcc2 |
4038 builtin and then its argument prototype would still apply. */ | 4051 builtin and then its argument prototype would still apply. */ |
4039 char sin(); | 4052 char sin(); |
4040 | 4053 |
4041 int main() { | 4054 int main() { |
4042 sin() | 4055 sin() |
4043 ; return 0; } | 4056 ; return 0; } |
4044 EOF | 4057 EOF |
4045 if { (eval echo configure:4046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4058 if { (eval echo configure:4059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4046 rm -rf conftest* | 4059 rm -rf conftest* |
4047 eval "ac_cv_lib_$ac_lib_var=yes" | 4060 eval "ac_cv_lib_$ac_lib_var=yes" |
4048 else | 4061 else |
4049 echo "configure: failed program was:" >&5 | 4062 echo "configure: failed program was:" >&5 |
4050 cat conftest.$ac_ext >&5 | 4063 cat conftest.$ac_ext >&5 |
4082 EOF | 4095 EOF |
4083 } | 4096 } |
4084 | 4097 |
4085 | 4098 |
4086 cat > conftest.$ac_ext <<EOF | 4099 cat > conftest.$ac_ext <<EOF |
4087 #line 4088 "configure" | 4100 #line 4101 "configure" |
4088 #include "confdefs.h" | 4101 #include "confdefs.h" |
4089 #include <math.h> | 4102 #include <math.h> |
4090 int main() { | 4103 int main() { |
4091 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4104 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4092 ; return 0; } | 4105 ; return 0; } |
4093 EOF | 4106 EOF |
4094 if { (eval echo configure:4095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4107 if { (eval echo configure:4108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4095 rm -rf conftest* | 4108 rm -rf conftest* |
4096 { test "$extra_verbose" = "yes" && cat << \EOF | 4109 { test "$extra_verbose" = "yes" && cat << \EOF |
4097 Defining HAVE_INVERSE_HYPERBOLIC | 4110 Defining HAVE_INVERSE_HYPERBOLIC |
4098 EOF | 4111 EOF |
4099 cat >> confdefs.h <<\EOF | 4112 cat >> confdefs.h <<\EOF |
4106 cat conftest.$ac_ext >&5 | 4119 cat conftest.$ac_ext >&5 |
4107 fi | 4120 fi |
4108 rm -f conftest* | 4121 rm -f conftest* |
4109 | 4122 |
4110 echo "checking type of mail spool file locking" 1>&6 | 4123 echo "checking type of mail spool file locking" 1>&6 |
4111 echo "configure:4112: checking type of mail spool file locking" >&5 | 4124 echo "configure:4125: checking type of mail spool file locking" >&5 |
4112 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4125 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
4113 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4126 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
4114 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4127 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
4115 Defining REAL_MAIL_USE_LOCKF | 4128 Defining REAL_MAIL_USE_LOCKF |
4116 EOF | 4129 EOF |
4130 else mail_locking="dot-locking" | 4143 else mail_locking="dot-locking" |
4131 fi | 4144 fi |
4132 | 4145 |
4133 | 4146 |
4134 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 4147 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
4135 echo "configure:4136: checking for kstat_open in -lkstat" >&5 | 4148 echo "configure:4149: checking for kstat_open in -lkstat" >&5 |
4136 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 4149 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
4137 | 4150 |
4138 xe_check_libs=" -lkstat " | 4151 xe_check_libs=" -lkstat " |
4139 cat > conftest.$ac_ext <<EOF | 4152 cat > conftest.$ac_ext <<EOF |
4140 #line 4141 "configure" | 4153 #line 4154 "configure" |
4141 #include "confdefs.h" | 4154 #include "confdefs.h" |
4142 /* Override any gcc2 internal prototype to avoid an error. */ | 4155 /* Override any gcc2 internal prototype to avoid an error. */ |
4143 /* We use char because int might match the return type of a gcc2 | 4156 /* We use char because int might match the return type of a gcc2 |
4144 builtin and then its argument prototype would still apply. */ | 4157 builtin and then its argument prototype would still apply. */ |
4145 char kstat_open(); | 4158 char kstat_open(); |
4146 | 4159 |
4147 int main() { | 4160 int main() { |
4148 kstat_open() | 4161 kstat_open() |
4149 ; return 0; } | 4162 ; return 0; } |
4150 EOF | 4163 EOF |
4151 if { (eval echo configure:4152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4164 if { (eval echo configure:4165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4152 rm -rf conftest* | 4165 rm -rf conftest* |
4153 eval "ac_cv_lib_$ac_lib_var=yes" | 4166 eval "ac_cv_lib_$ac_lib_var=yes" |
4154 else | 4167 else |
4155 echo "configure: failed program was:" >&5 | 4168 echo "configure: failed program was:" >&5 |
4156 cat conftest.$ac_ext >&5 | 4169 cat conftest.$ac_ext >&5 |
4180 | 4193 |
4181 | 4194 |
4182 | 4195 |
4183 | 4196 |
4184 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4197 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
4185 echo "configure:4186: checking for kvm_read in -lkvm" >&5 | 4198 echo "configure:4199: checking for kvm_read in -lkvm" >&5 |
4186 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4199 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
4187 | 4200 |
4188 xe_check_libs=" -lkvm " | 4201 xe_check_libs=" -lkvm " |
4189 cat > conftest.$ac_ext <<EOF | 4202 cat > conftest.$ac_ext <<EOF |
4190 #line 4191 "configure" | 4203 #line 4204 "configure" |
4191 #include "confdefs.h" | 4204 #include "confdefs.h" |
4192 /* Override any gcc2 internal prototype to avoid an error. */ | 4205 /* Override any gcc2 internal prototype to avoid an error. */ |
4193 /* We use char because int might match the return type of a gcc2 | 4206 /* We use char because int might match the return type of a gcc2 |
4194 builtin and then its argument prototype would still apply. */ | 4207 builtin and then its argument prototype would still apply. */ |
4195 char kvm_read(); | 4208 char kvm_read(); |
4196 | 4209 |
4197 int main() { | 4210 int main() { |
4198 kvm_read() | 4211 kvm_read() |
4199 ; return 0; } | 4212 ; return 0; } |
4200 EOF | 4213 EOF |
4201 if { (eval echo configure:4202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4214 if { (eval echo configure:4215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4202 rm -rf conftest* | 4215 rm -rf conftest* |
4203 eval "ac_cv_lib_$ac_lib_var=yes" | 4216 eval "ac_cv_lib_$ac_lib_var=yes" |
4204 else | 4217 else |
4205 echo "configure: failed program was:" >&5 | 4218 echo "configure: failed program was:" >&5 |
4206 cat conftest.$ac_ext >&5 | 4219 cat conftest.$ac_ext >&5 |
4231 | 4244 |
4232 | 4245 |
4233 case "$opsys" in decosf*) | 4246 case "$opsys" in decosf*) |
4234 | 4247 |
4235 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4248 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4236 echo "configure:4237: checking for cma_open in -lpthreads" >&5 | 4249 echo "configure:4250: checking for cma_open in -lpthreads" >&5 |
4237 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4250 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4238 | 4251 |
4239 xe_check_libs=" -lpthreads " | 4252 xe_check_libs=" -lpthreads " |
4240 cat > conftest.$ac_ext <<EOF | 4253 cat > conftest.$ac_ext <<EOF |
4241 #line 4242 "configure" | 4254 #line 4255 "configure" |
4242 #include "confdefs.h" | 4255 #include "confdefs.h" |
4243 /* Override any gcc2 internal prototype to avoid an error. */ | 4256 /* Override any gcc2 internal prototype to avoid an error. */ |
4244 /* We use char because int might match the return type of a gcc2 | 4257 /* We use char because int might match the return type of a gcc2 |
4245 builtin and then its argument prototype would still apply. */ | 4258 builtin and then its argument prototype would still apply. */ |
4246 char cma_open(); | 4259 char cma_open(); |
4247 | 4260 |
4248 int main() { | 4261 int main() { |
4249 cma_open() | 4262 cma_open() |
4250 ; return 0; } | 4263 ; return 0; } |
4251 EOF | 4264 EOF |
4252 if { (eval echo configure:4253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4265 if { (eval echo configure:4266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4253 rm -rf conftest* | 4266 rm -rf conftest* |
4254 eval "ac_cv_lib_$ac_lib_var=yes" | 4267 eval "ac_cv_lib_$ac_lib_var=yes" |
4255 else | 4268 else |
4256 echo "configure: failed program was:" >&5 | 4269 echo "configure: failed program was:" >&5 |
4257 cat conftest.$ac_ext >&5 | 4270 cat conftest.$ac_ext >&5 |
4283 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4296 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4284 c_switch_site="$c_switch_site -threads" ;; | 4297 c_switch_site="$c_switch_site -threads" ;; |
4285 esac | 4298 esac |
4286 | 4299 |
4287 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4300 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4288 echo "configure:4289: checking whether the -xildoff compiler flag is required" >&5 | 4301 echo "configure:4302: checking whether the -xildoff compiler flag is required" >&5 |
4289 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4302 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4290 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4303 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4291 then echo "$ac_t""no" 1>&6; | 4304 then echo "$ac_t""no" 1>&6; |
4292 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 | 4305 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 |
4293 fi | 4306 fi |
4294 else echo "$ac_t""no" 1>&6 | 4307 else echo "$ac_t""no" 1>&6 |
4295 fi | 4308 fi |
4296 | 4309 |
4297 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4310 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4298 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4311 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4299 echo "configure:4300: checking for \"-z ignore\" linker flag" >&5 | 4312 echo "configure:4313: checking for \"-z ignore\" linker flag" >&5 |
4300 case "`ld -h 2>&1`" in | 4313 case "`ld -h 2>&1`" in |
4301 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4314 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4302 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4315 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4303 *) echo "$ac_t""no" 1>&6 ;; | 4316 *) echo "$ac_t""no" 1>&6 ;; |
4304 esac | 4317 esac |
4305 fi | 4318 fi |
4306 | 4319 |
4307 | 4320 |
4308 echo "checking "for specified window system"" 1>&6 | 4321 echo "checking "for specified window system"" 1>&6 |
4309 echo "configure:4310: checking "for specified window system"" >&5 | 4322 echo "configure:4323: checking "for specified window system"" >&5 |
4310 | 4323 |
4311 if test "$with_x11" != "no"; then | 4324 if test "$with_x11" != "no"; then |
4312 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4325 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4313 window_system=x11 with_x11=yes | 4326 window_system=x11 with_x11=yes |
4314 | 4327 |
4337 # If we find X, set shell vars x_includes and x_libraries to the | 4350 # If we find X, set shell vars x_includes and x_libraries to the |
4338 # paths, otherwise set no_x=yes. | 4351 # paths, otherwise set no_x=yes. |
4339 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4352 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4340 # --without-x overrides everything else, but does not touch the cache. | 4353 # --without-x overrides everything else, but does not touch the cache. |
4341 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4354 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4342 echo "configure:4343: checking for X" >&5 | 4355 echo "configure:4356: checking for X" >&5 |
4343 | 4356 |
4344 # Check whether --with-x or --without-x was given. | 4357 # Check whether --with-x or --without-x was given. |
4345 if test "${with_x+set}" = set; then | 4358 if test "${with_x+set}" = set; then |
4346 withval="$with_x" | 4359 withval="$with_x" |
4347 : | 4360 : |
4397 # Guess where to find include files, by looking for this one X11 .h file. | 4410 # Guess where to find include files, by looking for this one X11 .h file. |
4398 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4411 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4399 | 4412 |
4400 # First, try using that file with no special directory specified. | 4413 # First, try using that file with no special directory specified. |
4401 cat > conftest.$ac_ext <<EOF | 4414 cat > conftest.$ac_ext <<EOF |
4402 #line 4403 "configure" | 4415 #line 4416 "configure" |
4403 #include "confdefs.h" | 4416 #include "confdefs.h" |
4404 #include <$x_direct_test_include> | 4417 #include <$x_direct_test_include> |
4405 EOF | 4418 EOF |
4406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4407 { (eval echo configure:4408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4420 { (eval echo configure:4421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4408 ac_err=`grep -v '^ *+' conftest.out` | 4421 ac_err=`grep -v '^ *+' conftest.out` |
4409 if test -z "$ac_err"; then | 4422 if test -z "$ac_err"; then |
4410 rm -rf conftest* | 4423 rm -rf conftest* |
4411 # We can compile using X headers with no special include directory. | 4424 # We can compile using X headers with no special include directory. |
4412 ac_x_includes= | 4425 ac_x_includes= |
4471 # See if we find them without any special options. | 4484 # See if we find them without any special options. |
4472 # Don't add to $LIBS permanently. | 4485 # Don't add to $LIBS permanently. |
4473 ac_save_LIBS="$LIBS" | 4486 ac_save_LIBS="$LIBS" |
4474 LIBS="-l$x_direct_test_library $LIBS" | 4487 LIBS="-l$x_direct_test_library $LIBS" |
4475 cat > conftest.$ac_ext <<EOF | 4488 cat > conftest.$ac_ext <<EOF |
4476 #line 4477 "configure" | 4489 #line 4490 "configure" |
4477 #include "confdefs.h" | 4490 #include "confdefs.h" |
4478 | 4491 |
4479 int main() { | 4492 int main() { |
4480 ${x_direct_test_function}() | 4493 ${x_direct_test_function}() |
4481 ; return 0; } | 4494 ; return 0; } |
4482 EOF | 4495 EOF |
4483 if { (eval echo configure:4484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4496 if { (eval echo configure:4497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4484 rm -rf conftest* | 4497 rm -rf conftest* |
4485 LIBS="$ac_save_LIBS" | 4498 LIBS="$ac_save_LIBS" |
4486 # We can link X programs with no special library path. | 4499 # We can link X programs with no special library path. |
4487 ac_x_libraries= | 4500 ac_x_libraries= |
4488 else | 4501 else |
4587 # For Solaris; some versions of Sun CC require a space after -R and | 4600 # For Solaris; some versions of Sun CC require a space after -R and |
4588 # others require no space. Words are not sufficient . . . . | 4601 # others require no space. Words are not sufficient . . . . |
4589 case "`(uname -sr) 2>/dev/null`" in | 4602 case "`(uname -sr) 2>/dev/null`" in |
4590 "SunOS 5"*) | 4603 "SunOS 5"*) |
4591 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4604 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4592 echo "configure:4593: checking whether -R must be followed by a space" >&5 | 4605 echo "configure:4606: checking whether -R must be followed by a space" >&5 |
4593 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4606 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4594 cat > conftest.$ac_ext <<EOF | 4607 cat > conftest.$ac_ext <<EOF |
4595 #line 4596 "configure" | 4608 #line 4609 "configure" |
4596 #include "confdefs.h" | 4609 #include "confdefs.h" |
4597 | 4610 |
4598 int main() { | 4611 int main() { |
4599 | 4612 |
4600 ; return 0; } | 4613 ; return 0; } |
4601 EOF | 4614 EOF |
4602 if { (eval echo configure:4603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4615 if { (eval echo configure:4616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4603 rm -rf conftest* | 4616 rm -rf conftest* |
4604 ac_R_nospace=yes | 4617 ac_R_nospace=yes |
4605 else | 4618 else |
4606 echo "configure: failed program was:" >&5 | 4619 echo "configure: failed program was:" >&5 |
4607 cat conftest.$ac_ext >&5 | 4620 cat conftest.$ac_ext >&5 |
4613 echo "$ac_t""no" 1>&6 | 4626 echo "$ac_t""no" 1>&6 |
4614 X_LIBS="$X_LIBS -R$x_libraries" | 4627 X_LIBS="$X_LIBS -R$x_libraries" |
4615 else | 4628 else |
4616 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4629 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4617 cat > conftest.$ac_ext <<EOF | 4630 cat > conftest.$ac_ext <<EOF |
4618 #line 4619 "configure" | 4631 #line 4632 "configure" |
4619 #include "confdefs.h" | 4632 #include "confdefs.h" |
4620 | 4633 |
4621 int main() { | 4634 int main() { |
4622 | 4635 |
4623 ; return 0; } | 4636 ; return 0; } |
4624 EOF | 4637 EOF |
4625 if { (eval echo configure:4626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4638 if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4626 rm -rf conftest* | 4639 rm -rf conftest* |
4627 ac_R_space=yes | 4640 ac_R_space=yes |
4628 else | 4641 else |
4629 echo "configure: failed program was:" >&5 | 4642 echo "configure: failed program was:" >&5 |
4630 cat conftest.$ac_ext >&5 | 4643 cat conftest.$ac_ext >&5 |
4656 if test "$with_dnet" = "no" ; then | 4669 if test "$with_dnet" = "no" ; then |
4657 ac_cv_lib_dnet_dnet_ntoa=no | 4670 ac_cv_lib_dnet_dnet_ntoa=no |
4658 else | 4671 else |
4659 | 4672 |
4660 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4673 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4661 echo "configure:4662: checking for dnet_ntoa in -ldnet" >&5 | 4674 echo "configure:4675: checking for dnet_ntoa in -ldnet" >&5 |
4662 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4675 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4663 | 4676 |
4664 xe_check_libs=" -ldnet " | 4677 xe_check_libs=" -ldnet " |
4665 cat > conftest.$ac_ext <<EOF | 4678 cat > conftest.$ac_ext <<EOF |
4666 #line 4667 "configure" | 4679 #line 4680 "configure" |
4667 #include "confdefs.h" | 4680 #include "confdefs.h" |
4668 /* Override any gcc2 internal prototype to avoid an error. */ | 4681 /* Override any gcc2 internal prototype to avoid an error. */ |
4669 /* We use char because int might match the return type of a gcc2 | 4682 /* We use char because int might match the return type of a gcc2 |
4670 builtin and then its argument prototype would still apply. */ | 4683 builtin and then its argument prototype would still apply. */ |
4671 char dnet_ntoa(); | 4684 char dnet_ntoa(); |
4672 | 4685 |
4673 int main() { | 4686 int main() { |
4674 dnet_ntoa() | 4687 dnet_ntoa() |
4675 ; return 0; } | 4688 ; return 0; } |
4676 EOF | 4689 EOF |
4677 if { (eval echo configure:4678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4690 if { (eval echo configure:4691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4678 rm -rf conftest* | 4691 rm -rf conftest* |
4679 eval "ac_cv_lib_$ac_lib_var=yes" | 4692 eval "ac_cv_lib_$ac_lib_var=yes" |
4680 else | 4693 else |
4681 echo "configure: failed program was:" >&5 | 4694 echo "configure: failed program was:" >&5 |
4682 cat conftest.$ac_ext >&5 | 4695 cat conftest.$ac_ext >&5 |
4696 fi | 4709 fi |
4697 | 4710 |
4698 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4711 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4699 | 4712 |
4700 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4713 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4701 echo "configure:4702: checking for dnet_ntoa in -ldnet_stub" >&5 | 4714 echo "configure:4715: checking for dnet_ntoa in -ldnet_stub" >&5 |
4702 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4715 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4703 | 4716 |
4704 xe_check_libs=" -ldnet_stub " | 4717 xe_check_libs=" -ldnet_stub " |
4705 cat > conftest.$ac_ext <<EOF | 4718 cat > conftest.$ac_ext <<EOF |
4706 #line 4707 "configure" | 4719 #line 4720 "configure" |
4707 #include "confdefs.h" | 4720 #include "confdefs.h" |
4708 /* Override any gcc2 internal prototype to avoid an error. */ | 4721 /* Override any gcc2 internal prototype to avoid an error. */ |
4709 /* We use char because int might match the return type of a gcc2 | 4722 /* We use char because int might match the return type of a gcc2 |
4710 builtin and then its argument prototype would still apply. */ | 4723 builtin and then its argument prototype would still apply. */ |
4711 char dnet_ntoa(); | 4724 char dnet_ntoa(); |
4712 | 4725 |
4713 int main() { | 4726 int main() { |
4714 dnet_ntoa() | 4727 dnet_ntoa() |
4715 ; return 0; } | 4728 ; return 0; } |
4716 EOF | 4729 EOF |
4717 if { (eval echo configure:4718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4730 if { (eval echo configure:4731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4718 rm -rf conftest* | 4731 rm -rf conftest* |
4719 eval "ac_cv_lib_$ac_lib_var=yes" | 4732 eval "ac_cv_lib_$ac_lib_var=yes" |
4720 else | 4733 else |
4721 echo "configure: failed program was:" >&5 | 4734 echo "configure: failed program was:" >&5 |
4722 cat conftest.$ac_ext >&5 | 4735 cat conftest.$ac_ext >&5 |
4741 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4754 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4742 # needs -lnsl. | 4755 # needs -lnsl. |
4743 # The nsl library prevents programs from opening the X display | 4756 # The nsl library prevents programs from opening the X display |
4744 # on Irix 5.2, according to dickey@clark.net. | 4757 # on Irix 5.2, according to dickey@clark.net. |
4745 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4758 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4746 echo "configure:4747: checking for gethostbyname" >&5 | 4759 echo "configure:4760: checking for gethostbyname" >&5 |
4747 | 4760 |
4748 cat > conftest.$ac_ext <<EOF | 4761 cat > conftest.$ac_ext <<EOF |
4749 #line 4750 "configure" | 4762 #line 4763 "configure" |
4750 #include "confdefs.h" | 4763 #include "confdefs.h" |
4751 /* System header to define __stub macros and hopefully few prototypes, | 4764 /* System header to define __stub macros and hopefully few prototypes, |
4752 which can conflict with char gethostbyname(); below. */ | 4765 which can conflict with char gethostbyname(); below. */ |
4753 #include <assert.h> | 4766 #include <assert.h> |
4754 /* Override any gcc2 internal prototype to avoid an error. */ | 4767 /* Override any gcc2 internal prototype to avoid an error. */ |
4767 gethostbyname(); | 4780 gethostbyname(); |
4768 #endif | 4781 #endif |
4769 | 4782 |
4770 ; return 0; } | 4783 ; return 0; } |
4771 EOF | 4784 EOF |
4772 if { (eval echo configure:4773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4785 if { (eval echo configure:4786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4773 rm -rf conftest* | 4786 rm -rf conftest* |
4774 eval "ac_cv_func_gethostbyname=yes" | 4787 eval "ac_cv_func_gethostbyname=yes" |
4775 else | 4788 else |
4776 echo "configure: failed program was:" >&5 | 4789 echo "configure: failed program was:" >&5 |
4777 cat conftest.$ac_ext >&5 | 4790 cat conftest.$ac_ext >&5 |
4788 fi | 4801 fi |
4789 | 4802 |
4790 if test $ac_cv_func_gethostbyname = no; then | 4803 if test $ac_cv_func_gethostbyname = no; then |
4791 | 4804 |
4792 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4805 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4793 echo "configure:4794: checking for gethostbyname in -lnsl" >&5 | 4806 echo "configure:4807: checking for gethostbyname in -lnsl" >&5 |
4794 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4807 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4795 | 4808 |
4796 xe_check_libs=" -lnsl " | 4809 xe_check_libs=" -lnsl " |
4797 cat > conftest.$ac_ext <<EOF | 4810 cat > conftest.$ac_ext <<EOF |
4798 #line 4799 "configure" | 4811 #line 4812 "configure" |
4799 #include "confdefs.h" | 4812 #include "confdefs.h" |
4800 /* Override any gcc2 internal prototype to avoid an error. */ | 4813 /* Override any gcc2 internal prototype to avoid an error. */ |
4801 /* We use char because int might match the return type of a gcc2 | 4814 /* We use char because int might match the return type of a gcc2 |
4802 builtin and then its argument prototype would still apply. */ | 4815 builtin and then its argument prototype would still apply. */ |
4803 char gethostbyname(); | 4816 char gethostbyname(); |
4804 | 4817 |
4805 int main() { | 4818 int main() { |
4806 gethostbyname() | 4819 gethostbyname() |
4807 ; return 0; } | 4820 ; return 0; } |
4808 EOF | 4821 EOF |
4809 if { (eval echo configure:4810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4822 if { (eval echo configure:4823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4810 rm -rf conftest* | 4823 rm -rf conftest* |
4811 eval "ac_cv_lib_$ac_lib_var=yes" | 4824 eval "ac_cv_lib_$ac_lib_var=yes" |
4812 else | 4825 else |
4813 echo "configure: failed program was:" >&5 | 4826 echo "configure: failed program was:" >&5 |
4814 cat conftest.$ac_ext >&5 | 4827 cat conftest.$ac_ext >&5 |
4834 # on later versions), says simon@lia.di.epfl.ch: it contains | 4847 # on later versions), says simon@lia.di.epfl.ch: it contains |
4835 # gethostby* variants that don't use the nameserver (or something). | 4848 # gethostby* variants that don't use the nameserver (or something). |
4836 # -lsocket must be given before -lnsl if both are needed. | 4849 # -lsocket must be given before -lnsl if both are needed. |
4837 # We assume that if connect needs -lnsl, so does gethostbyname. | 4850 # We assume that if connect needs -lnsl, so does gethostbyname. |
4838 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4851 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4839 echo "configure:4840: checking for connect" >&5 | 4852 echo "configure:4853: checking for connect" >&5 |
4840 | 4853 |
4841 cat > conftest.$ac_ext <<EOF | 4854 cat > conftest.$ac_ext <<EOF |
4842 #line 4843 "configure" | 4855 #line 4856 "configure" |
4843 #include "confdefs.h" | 4856 #include "confdefs.h" |
4844 /* System header to define __stub macros and hopefully few prototypes, | 4857 /* System header to define __stub macros and hopefully few prototypes, |
4845 which can conflict with char connect(); below. */ | 4858 which can conflict with char connect(); below. */ |
4846 #include <assert.h> | 4859 #include <assert.h> |
4847 /* Override any gcc2 internal prototype to avoid an error. */ | 4860 /* Override any gcc2 internal prototype to avoid an error. */ |
4860 connect(); | 4873 connect(); |
4861 #endif | 4874 #endif |
4862 | 4875 |
4863 ; return 0; } | 4876 ; return 0; } |
4864 EOF | 4877 EOF |
4865 if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4878 if { (eval echo configure:4879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4866 rm -rf conftest* | 4879 rm -rf conftest* |
4867 eval "ac_cv_func_connect=yes" | 4880 eval "ac_cv_func_connect=yes" |
4868 else | 4881 else |
4869 echo "configure: failed program was:" >&5 | 4882 echo "configure: failed program was:" >&5 |
4870 cat conftest.$ac_ext >&5 | 4883 cat conftest.$ac_ext >&5 |
4883 if test $ac_cv_func_connect = no; then | 4896 if test $ac_cv_func_connect = no; then |
4884 | 4897 |
4885 xe_msg_checking="for connect in -lsocket" | 4898 xe_msg_checking="for connect in -lsocket" |
4886 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4899 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4887 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4900 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4888 echo "configure:4889: checking "$xe_msg_checking"" >&5 | 4901 echo "configure:4902: checking "$xe_msg_checking"" >&5 |
4889 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4902 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4890 | 4903 |
4891 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4904 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4892 cat > conftest.$ac_ext <<EOF | 4905 cat > conftest.$ac_ext <<EOF |
4893 #line 4894 "configure" | 4906 #line 4907 "configure" |
4894 #include "confdefs.h" | 4907 #include "confdefs.h" |
4895 /* Override any gcc2 internal prototype to avoid an error. */ | 4908 /* Override any gcc2 internal prototype to avoid an error. */ |
4896 /* We use char because int might match the return type of a gcc2 | 4909 /* We use char because int might match the return type of a gcc2 |
4897 builtin and then its argument prototype would still apply. */ | 4910 builtin and then its argument prototype would still apply. */ |
4898 char connect(); | 4911 char connect(); |
4899 | 4912 |
4900 int main() { | 4913 int main() { |
4901 connect() | 4914 connect() |
4902 ; return 0; } | 4915 ; return 0; } |
4903 EOF | 4916 EOF |
4904 if { (eval echo configure:4905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4917 if { (eval echo configure:4918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4905 rm -rf conftest* | 4918 rm -rf conftest* |
4906 eval "ac_cv_lib_$ac_lib_var=yes" | 4919 eval "ac_cv_lib_$ac_lib_var=yes" |
4907 else | 4920 else |
4908 echo "configure: failed program was:" >&5 | 4921 echo "configure: failed program was:" >&5 |
4909 cat conftest.$ac_ext >&5 | 4922 cat conftest.$ac_ext >&5 |
4923 | 4936 |
4924 fi | 4937 fi |
4925 | 4938 |
4926 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4939 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4927 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4940 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4928 echo "configure:4929: checking for remove" >&5 | 4941 echo "configure:4942: checking for remove" >&5 |
4929 | 4942 |
4930 cat > conftest.$ac_ext <<EOF | 4943 cat > conftest.$ac_ext <<EOF |
4931 #line 4932 "configure" | 4944 #line 4945 "configure" |
4932 #include "confdefs.h" | 4945 #include "confdefs.h" |
4933 /* System header to define __stub macros and hopefully few prototypes, | 4946 /* System header to define __stub macros and hopefully few prototypes, |
4934 which can conflict with char remove(); below. */ | 4947 which can conflict with char remove(); below. */ |
4935 #include <assert.h> | 4948 #include <assert.h> |
4936 /* Override any gcc2 internal prototype to avoid an error. */ | 4949 /* Override any gcc2 internal prototype to avoid an error. */ |
4949 remove(); | 4962 remove(); |
4950 #endif | 4963 #endif |
4951 | 4964 |
4952 ; return 0; } | 4965 ; return 0; } |
4953 EOF | 4966 EOF |
4954 if { (eval echo configure:4955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4967 if { (eval echo configure:4968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4955 rm -rf conftest* | 4968 rm -rf conftest* |
4956 eval "ac_cv_func_remove=yes" | 4969 eval "ac_cv_func_remove=yes" |
4957 else | 4970 else |
4958 echo "configure: failed program was:" >&5 | 4971 echo "configure: failed program was:" >&5 |
4959 cat conftest.$ac_ext >&5 | 4972 cat conftest.$ac_ext >&5 |
4970 fi | 4983 fi |
4971 | 4984 |
4972 if test $ac_cv_func_remove = no; then | 4985 if test $ac_cv_func_remove = no; then |
4973 | 4986 |
4974 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4987 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
4975 echo "configure:4976: checking for remove in -lposix" >&5 | 4988 echo "configure:4989: checking for remove in -lposix" >&5 |
4976 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4989 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
4977 | 4990 |
4978 xe_check_libs=" -lposix " | 4991 xe_check_libs=" -lposix " |
4979 cat > conftest.$ac_ext <<EOF | 4992 cat > conftest.$ac_ext <<EOF |
4980 #line 4981 "configure" | 4993 #line 4994 "configure" |
4981 #include "confdefs.h" | 4994 #include "confdefs.h" |
4982 /* Override any gcc2 internal prototype to avoid an error. */ | 4995 /* Override any gcc2 internal prototype to avoid an error. */ |
4983 /* We use char because int might match the return type of a gcc2 | 4996 /* We use char because int might match the return type of a gcc2 |
4984 builtin and then its argument prototype would still apply. */ | 4997 builtin and then its argument prototype would still apply. */ |
4985 char remove(); | 4998 char remove(); |
4986 | 4999 |
4987 int main() { | 5000 int main() { |
4988 remove() | 5001 remove() |
4989 ; return 0; } | 5002 ; return 0; } |
4990 EOF | 5003 EOF |
4991 if { (eval echo configure:4992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5004 if { (eval echo configure:5005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4992 rm -rf conftest* | 5005 rm -rf conftest* |
4993 eval "ac_cv_lib_$ac_lib_var=yes" | 5006 eval "ac_cv_lib_$ac_lib_var=yes" |
4994 else | 5007 else |
4995 echo "configure: failed program was:" >&5 | 5008 echo "configure: failed program was:" >&5 |
4996 cat conftest.$ac_ext >&5 | 5009 cat conftest.$ac_ext >&5 |
5010 | 5023 |
5011 fi | 5024 fi |
5012 | 5025 |
5013 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5026 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5014 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5027 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5015 echo "configure:5016: checking for shmat" >&5 | 5028 echo "configure:5029: checking for shmat" >&5 |
5016 | 5029 |
5017 cat > conftest.$ac_ext <<EOF | 5030 cat > conftest.$ac_ext <<EOF |
5018 #line 5019 "configure" | 5031 #line 5032 "configure" |
5019 #include "confdefs.h" | 5032 #include "confdefs.h" |
5020 /* System header to define __stub macros and hopefully few prototypes, | 5033 /* System header to define __stub macros and hopefully few prototypes, |
5021 which can conflict with char shmat(); below. */ | 5034 which can conflict with char shmat(); below. */ |
5022 #include <assert.h> | 5035 #include <assert.h> |
5023 /* Override any gcc2 internal prototype to avoid an error. */ | 5036 /* Override any gcc2 internal prototype to avoid an error. */ |
5036 shmat(); | 5049 shmat(); |
5037 #endif | 5050 #endif |
5038 | 5051 |
5039 ; return 0; } | 5052 ; return 0; } |
5040 EOF | 5053 EOF |
5041 if { (eval echo configure:5042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5054 if { (eval echo configure:5055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5042 rm -rf conftest* | 5055 rm -rf conftest* |
5043 eval "ac_cv_func_shmat=yes" | 5056 eval "ac_cv_func_shmat=yes" |
5044 else | 5057 else |
5045 echo "configure: failed program was:" >&5 | 5058 echo "configure: failed program was:" >&5 |
5046 cat conftest.$ac_ext >&5 | 5059 cat conftest.$ac_ext >&5 |
5057 fi | 5070 fi |
5058 | 5071 |
5059 if test $ac_cv_func_shmat = no; then | 5072 if test $ac_cv_func_shmat = no; then |
5060 | 5073 |
5061 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5074 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5062 echo "configure:5063: checking for shmat in -lipc" >&5 | 5075 echo "configure:5076: checking for shmat in -lipc" >&5 |
5063 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5076 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5064 | 5077 |
5065 xe_check_libs=" -lipc " | 5078 xe_check_libs=" -lipc " |
5066 cat > conftest.$ac_ext <<EOF | 5079 cat > conftest.$ac_ext <<EOF |
5067 #line 5068 "configure" | 5080 #line 5081 "configure" |
5068 #include "confdefs.h" | 5081 #include "confdefs.h" |
5069 /* Override any gcc2 internal prototype to avoid an error. */ | 5082 /* Override any gcc2 internal prototype to avoid an error. */ |
5070 /* We use char because int might match the return type of a gcc2 | 5083 /* We use char because int might match the return type of a gcc2 |
5071 builtin and then its argument prototype would still apply. */ | 5084 builtin and then its argument prototype would still apply. */ |
5072 char shmat(); | 5085 char shmat(); |
5073 | 5086 |
5074 int main() { | 5087 int main() { |
5075 shmat() | 5088 shmat() |
5076 ; return 0; } | 5089 ; return 0; } |
5077 EOF | 5090 EOF |
5078 if { (eval echo configure:5079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5091 if { (eval echo configure:5092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5079 rm -rf conftest* | 5092 rm -rf conftest* |
5080 eval "ac_cv_lib_$ac_lib_var=yes" | 5093 eval "ac_cv_lib_$ac_lib_var=yes" |
5081 else | 5094 else |
5082 echo "configure: failed program was:" >&5 | 5095 echo "configure: failed program was:" >&5 |
5083 cat conftest.$ac_ext >&5 | 5096 cat conftest.$ac_ext >&5 |
5107 # These have to be linked with before -lX11, unlike the other | 5120 # These have to be linked with before -lX11, unlike the other |
5108 # libraries we check for below, so use a different variable. | 5121 # libraries we check for below, so use a different variable. |
5109 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5122 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5110 | 5123 |
5111 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 5124 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
5112 echo "configure:5113: checking for IceConnectionNumber in -lICE" >&5 | 5125 echo "configure:5126: checking for IceConnectionNumber in -lICE" >&5 |
5113 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5126 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5114 | 5127 |
5115 xe_check_libs=" -lICE " | 5128 xe_check_libs=" -lICE " |
5116 cat > conftest.$ac_ext <<EOF | 5129 cat > conftest.$ac_ext <<EOF |
5117 #line 5118 "configure" | 5130 #line 5131 "configure" |
5118 #include "confdefs.h" | 5131 #include "confdefs.h" |
5119 /* Override any gcc2 internal prototype to avoid an error. */ | 5132 /* Override any gcc2 internal prototype to avoid an error. */ |
5120 /* We use char because int might match the return type of a gcc2 | 5133 /* We use char because int might match the return type of a gcc2 |
5121 builtin and then its argument prototype would still apply. */ | 5134 builtin and then its argument prototype would still apply. */ |
5122 char IceConnectionNumber(); | 5135 char IceConnectionNumber(); |
5123 | 5136 |
5124 int main() { | 5137 int main() { |
5125 IceConnectionNumber() | 5138 IceConnectionNumber() |
5126 ; return 0; } | 5139 ; return 0; } |
5127 EOF | 5140 EOF |
5128 if { (eval echo configure:5129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5141 if { (eval echo configure:5142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5129 rm -rf conftest* | 5142 rm -rf conftest* |
5130 eval "ac_cv_lib_$ac_lib_var=yes" | 5143 eval "ac_cv_lib_$ac_lib_var=yes" |
5131 else | 5144 else |
5132 echo "configure: failed program was:" >&5 | 5145 echo "configure: failed program was:" >&5 |
5133 cat conftest.$ac_ext >&5 | 5146 cat conftest.$ac_ext >&5 |
5290 EOF | 5303 EOF |
5291 } | 5304 } |
5292 | 5305 |
5293 | 5306 |
5294 echo "checking for X defines extracted by xmkmf" 1>&6 | 5307 echo "checking for X defines extracted by xmkmf" 1>&6 |
5295 echo "configure:5296: checking for X defines extracted by xmkmf" >&5 | 5308 echo "configure:5309: checking for X defines extracted by xmkmf" >&5 |
5296 rm -fr conftestdir | 5309 rm -fr conftestdir |
5297 if mkdir conftestdir; then | 5310 if mkdir conftestdir; then |
5298 cd conftestdir | 5311 cd conftestdir |
5299 cat > Imakefile <<'EOF' | 5312 cat > Imakefile <<'EOF' |
5300 xetest: | 5313 xetest: |
5322 done | 5335 done |
5323 fi | 5336 fi |
5324 | 5337 |
5325 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5338 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5326 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5339 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5327 echo "configure:5328: checking for X11/Intrinsic.h" >&5 | 5340 echo "configure:5341: checking for X11/Intrinsic.h" >&5 |
5328 | 5341 |
5329 cat > conftest.$ac_ext <<EOF | 5342 cat > conftest.$ac_ext <<EOF |
5330 #line 5331 "configure" | 5343 #line 5344 "configure" |
5331 #include "confdefs.h" | 5344 #include "confdefs.h" |
5332 #include <X11/Intrinsic.h> | 5345 #include <X11/Intrinsic.h> |
5333 EOF | 5346 EOF |
5334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5335 { (eval echo configure:5336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5348 { (eval echo configure:5349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5336 ac_err=`grep -v '^ *+' conftest.out` | 5349 ac_err=`grep -v '^ *+' conftest.out` |
5337 if test -z "$ac_err"; then | 5350 if test -z "$ac_err"; then |
5338 rm -rf conftest* | 5351 rm -rf conftest* |
5339 eval "ac_cv_header_$ac_safe=yes" | 5352 eval "ac_cv_header_$ac_safe=yes" |
5340 else | 5353 else |
5354 fi | 5367 fi |
5355 | 5368 |
5356 | 5369 |
5357 | 5370 |
5358 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5371 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5359 echo "configure:5360: checking for XOpenDisplay in -lX11" >&5 | 5372 echo "configure:5373: checking for XOpenDisplay in -lX11" >&5 |
5360 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5373 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5361 | 5374 |
5362 xe_check_libs=" -lX11 " | 5375 xe_check_libs=" -lX11 " |
5363 cat > conftest.$ac_ext <<EOF | 5376 cat > conftest.$ac_ext <<EOF |
5364 #line 5365 "configure" | 5377 #line 5378 "configure" |
5365 #include "confdefs.h" | 5378 #include "confdefs.h" |
5366 /* Override any gcc2 internal prototype to avoid an error. */ | 5379 /* Override any gcc2 internal prototype to avoid an error. */ |
5367 /* We use char because int might match the return type of a gcc2 | 5380 /* We use char because int might match the return type of a gcc2 |
5368 builtin and then its argument prototype would still apply. */ | 5381 builtin and then its argument prototype would still apply. */ |
5369 char XOpenDisplay(); | 5382 char XOpenDisplay(); |
5370 | 5383 |
5371 int main() { | 5384 int main() { |
5372 XOpenDisplay() | 5385 XOpenDisplay() |
5373 ; return 0; } | 5386 ; return 0; } |
5374 EOF | 5387 EOF |
5375 if { (eval echo configure:5376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5388 if { (eval echo configure:5389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5376 rm -rf conftest* | 5389 rm -rf conftest* |
5377 eval "ac_cv_lib_$ac_lib_var=yes" | 5390 eval "ac_cv_lib_$ac_lib_var=yes" |
5378 else | 5391 else |
5379 echo "configure: failed program was:" >&5 | 5392 echo "configure: failed program was:" >&5 |
5380 cat conftest.$ac_ext >&5 | 5393 cat conftest.$ac_ext >&5 |
5395 if test "$have_lib_x11" != "yes"; then | 5408 if test "$have_lib_x11" != "yes"; then |
5396 | 5409 |
5397 xe_msg_checking="for XGetFontProperty in -lX11" | 5410 xe_msg_checking="for XGetFontProperty in -lX11" |
5398 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5411 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5399 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5412 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5400 echo "configure:5401: checking "$xe_msg_checking"" >&5 | 5413 echo "configure:5414: checking "$xe_msg_checking"" >&5 |
5401 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5414 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5402 | 5415 |
5403 xe_check_libs=" -lX11 -b i486-linuxaout" | 5416 xe_check_libs=" -lX11 -b i486-linuxaout" |
5404 cat > conftest.$ac_ext <<EOF | 5417 cat > conftest.$ac_ext <<EOF |
5405 #line 5406 "configure" | 5418 #line 5419 "configure" |
5406 #include "confdefs.h" | 5419 #include "confdefs.h" |
5407 /* Override any gcc2 internal prototype to avoid an error. */ | 5420 /* Override any gcc2 internal prototype to avoid an error. */ |
5408 /* We use char because int might match the return type of a gcc2 | 5421 /* We use char because int might match the return type of a gcc2 |
5409 builtin and then its argument prototype would still apply. */ | 5422 builtin and then its argument prototype would still apply. */ |
5410 char XGetFontProperty(); | 5423 char XGetFontProperty(); |
5411 | 5424 |
5412 int main() { | 5425 int main() { |
5413 XGetFontProperty() | 5426 XGetFontProperty() |
5414 ; return 0; } | 5427 ; return 0; } |
5415 EOF | 5428 EOF |
5416 if { (eval echo configure:5417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5429 if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5417 rm -rf conftest* | 5430 rm -rf conftest* |
5418 eval "ac_cv_lib_$ac_lib_var=yes" | 5431 eval "ac_cv_lib_$ac_lib_var=yes" |
5419 else | 5432 else |
5420 echo "configure: failed program was:" >&5 | 5433 echo "configure: failed program was:" >&5 |
5421 cat conftest.$ac_ext >&5 | 5434 cat conftest.$ac_ext >&5 |
5438 libs_x="-lX11" | 5451 libs_x="-lX11" |
5439 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5452 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5440 | 5453 |
5441 | 5454 |
5442 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5455 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5443 echo "configure:5444: checking for XShapeSelectInput in -lXext" >&5 | 5456 echo "configure:5457: checking for XShapeSelectInput in -lXext" >&5 |
5444 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5457 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5445 | 5458 |
5446 xe_check_libs=" -lXext " | 5459 xe_check_libs=" -lXext " |
5447 cat > conftest.$ac_ext <<EOF | 5460 cat > conftest.$ac_ext <<EOF |
5448 #line 5449 "configure" | 5461 #line 5462 "configure" |
5449 #include "confdefs.h" | 5462 #include "confdefs.h" |
5450 /* Override any gcc2 internal prototype to avoid an error. */ | 5463 /* Override any gcc2 internal prototype to avoid an error. */ |
5451 /* We use char because int might match the return type of a gcc2 | 5464 /* We use char because int might match the return type of a gcc2 |
5452 builtin and then its argument prototype would still apply. */ | 5465 builtin and then its argument prototype would still apply. */ |
5453 char XShapeSelectInput(); | 5466 char XShapeSelectInput(); |
5454 | 5467 |
5455 int main() { | 5468 int main() { |
5456 XShapeSelectInput() | 5469 XShapeSelectInput() |
5457 ; return 0; } | 5470 ; return 0; } |
5458 EOF | 5471 EOF |
5459 if { (eval echo configure:5460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5472 if { (eval echo configure:5473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5460 rm -rf conftest* | 5473 rm -rf conftest* |
5461 eval "ac_cv_lib_$ac_lib_var=yes" | 5474 eval "ac_cv_lib_$ac_lib_var=yes" |
5462 else | 5475 else |
5463 echo "configure: failed program was:" >&5 | 5476 echo "configure: failed program was:" >&5 |
5464 cat conftest.$ac_ext >&5 | 5477 cat conftest.$ac_ext >&5 |
5477 | 5490 |
5478 | 5491 |
5479 | 5492 |
5480 | 5493 |
5481 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5494 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5482 echo "configure:5483: checking for XtOpenDisplay in -lXt" >&5 | 5495 echo "configure:5496: checking for XtOpenDisplay in -lXt" >&5 |
5483 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5496 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5484 | 5497 |
5485 xe_check_libs=" -lXt " | 5498 xe_check_libs=" -lXt " |
5486 cat > conftest.$ac_ext <<EOF | 5499 cat > conftest.$ac_ext <<EOF |
5487 #line 5488 "configure" | 5500 #line 5501 "configure" |
5488 #include "confdefs.h" | 5501 #include "confdefs.h" |
5489 /* Override any gcc2 internal prototype to avoid an error. */ | 5502 /* Override any gcc2 internal prototype to avoid an error. */ |
5490 /* We use char because int might match the return type of a gcc2 | 5503 /* We use char because int might match the return type of a gcc2 |
5491 builtin and then its argument prototype would still apply. */ | 5504 builtin and then its argument prototype would still apply. */ |
5492 char XtOpenDisplay(); | 5505 char XtOpenDisplay(); |
5493 | 5506 |
5494 int main() { | 5507 int main() { |
5495 XtOpenDisplay() | 5508 XtOpenDisplay() |
5496 ; return 0; } | 5509 ; return 0; } |
5497 EOF | 5510 EOF |
5498 if { (eval echo configure:5499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5511 if { (eval echo configure:5512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5499 rm -rf conftest* | 5512 rm -rf conftest* |
5500 eval "ac_cv_lib_$ac_lib_var=yes" | 5513 eval "ac_cv_lib_$ac_lib_var=yes" |
5501 else | 5514 else |
5502 echo "configure: failed program was:" >&5 | 5515 echo "configure: failed program was:" >&5 |
5503 cat conftest.$ac_ext >&5 | 5516 cat conftest.$ac_ext >&5 |
5516 fi | 5529 fi |
5517 | 5530 |
5518 | 5531 |
5519 | 5532 |
5520 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5533 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5521 echo "configure:5522: checking the version of X11 being used" >&5 | 5534 echo "configure:5535: checking the version of X11 being used" >&5 |
5522 cat > conftest.$ac_ext <<EOF | 5535 cat > conftest.$ac_ext <<EOF |
5523 #line 5524 "configure" | 5536 #line 5537 "configure" |
5524 #include "confdefs.h" | 5537 #include "confdefs.h" |
5525 #include <X11/Intrinsic.h> | 5538 #include <X11/Intrinsic.h> |
5526 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5539 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5527 EOF | 5540 EOF |
5528 if { (eval echo configure:5529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5541 if { (eval echo configure:5542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5529 then | 5542 then |
5530 ./conftest foobar; x11_release=$? | 5543 ./conftest foobar; x11_release=$? |
5531 else | 5544 else |
5532 echo "configure: failed program was:" >&5 | 5545 echo "configure: failed program was:" >&5 |
5533 cat conftest.$ac_ext >&5 | 5546 cat conftest.$ac_ext >&5 |
5547 | 5560 |
5548 for ac_hdr in X11/Xlocale.h | 5561 for ac_hdr in X11/Xlocale.h |
5549 do | 5562 do |
5550 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5563 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5551 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5564 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5552 echo "configure:5553: checking for $ac_hdr" >&5 | 5565 echo "configure:5566: checking for $ac_hdr" >&5 |
5553 | 5566 |
5554 cat > conftest.$ac_ext <<EOF | 5567 cat > conftest.$ac_ext <<EOF |
5555 #line 5556 "configure" | 5568 #line 5569 "configure" |
5556 #include "confdefs.h" | 5569 #include "confdefs.h" |
5557 #include <$ac_hdr> | 5570 #include <$ac_hdr> |
5558 EOF | 5571 EOF |
5559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5572 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5560 { (eval echo configure:5561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5573 { (eval echo configure:5574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5561 ac_err=`grep -v '^ *+' conftest.out` | 5574 ac_err=`grep -v '^ *+' conftest.out` |
5562 if test -z "$ac_err"; then | 5575 if test -z "$ac_err"; then |
5563 rm -rf conftest* | 5576 rm -rf conftest* |
5564 eval "ac_cv_header_$ac_safe=yes" | 5577 eval "ac_cv_header_$ac_safe=yes" |
5565 else | 5578 else |
5586 fi | 5599 fi |
5587 done | 5600 done |
5588 | 5601 |
5589 | 5602 |
5590 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5603 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5591 echo "configure:5592: checking for XFree86" >&5 | 5604 echo "configure:5605: checking for XFree86" >&5 |
5592 if test -d "/usr/X386/include" -o \ | 5605 if test -d "/usr/X386/include" -o \ |
5593 -f "/etc/XF86Config" -o \ | 5606 -f "/etc/XF86Config" -o \ |
5594 -f "/etc/X11/XF86Config" -o \ | 5607 -f "/etc/X11/XF86Config" -o \ |
5595 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5608 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5596 echo "$ac_t""yes" 1>&6 | 5609 echo "$ac_t""yes" 1>&6 |
5606 echo "$ac_t""no" 1>&6 | 5619 echo "$ac_t""no" 1>&6 |
5607 fi | 5620 fi |
5608 | 5621 |
5609 test -z "$with_xmu" && { | 5622 test -z "$with_xmu" && { |
5610 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5623 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5611 echo "configure:5612: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5624 echo "configure:5625: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5612 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5625 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5613 | 5626 |
5614 xe_check_libs=" -lXmu " | 5627 xe_check_libs=" -lXmu " |
5615 cat > conftest.$ac_ext <<EOF | 5628 cat > conftest.$ac_ext <<EOF |
5616 #line 5617 "configure" | 5629 #line 5630 "configure" |
5617 #include "confdefs.h" | 5630 #include "confdefs.h" |
5618 /* Override any gcc2 internal prototype to avoid an error. */ | 5631 /* Override any gcc2 internal prototype to avoid an error. */ |
5619 /* We use char because int might match the return type of a gcc2 | 5632 /* We use char because int might match the return type of a gcc2 |
5620 builtin and then its argument prototype would still apply. */ | 5633 builtin and then its argument prototype would still apply. */ |
5621 char XmuReadBitmapDataFromFile(); | 5634 char XmuReadBitmapDataFromFile(); |
5622 | 5635 |
5623 int main() { | 5636 int main() { |
5624 XmuReadBitmapDataFromFile() | 5637 XmuReadBitmapDataFromFile() |
5625 ; return 0; } | 5638 ; return 0; } |
5626 EOF | 5639 EOF |
5627 if { (eval echo configure:5628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5640 if { (eval echo configure:5641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5628 rm -rf conftest* | 5641 rm -rf conftest* |
5629 eval "ac_cv_lib_$ac_lib_var=yes" | 5642 eval "ac_cv_lib_$ac_lib_var=yes" |
5630 else | 5643 else |
5631 echo "configure: failed program was:" >&5 | 5644 echo "configure: failed program was:" >&5 |
5632 cat conftest.$ac_ext >&5 | 5645 cat conftest.$ac_ext >&5 |
5661 | 5674 |
5662 fi | 5675 fi |
5663 | 5676 |
5664 | 5677 |
5665 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5678 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5666 echo "configure:5667: checking for main in -lXbsd" >&5 | 5679 echo "configure:5680: checking for main in -lXbsd" >&5 |
5667 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5680 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5668 | 5681 |
5669 xe_check_libs=" -lXbsd " | 5682 xe_check_libs=" -lXbsd " |
5670 cat > conftest.$ac_ext <<EOF | 5683 cat > conftest.$ac_ext <<EOF |
5671 #line 5672 "configure" | 5684 #line 5685 "configure" |
5672 #include "confdefs.h" | 5685 #include "confdefs.h" |
5673 | 5686 |
5674 int main() { | 5687 int main() { |
5675 main() | 5688 main() |
5676 ; return 0; } | 5689 ; return 0; } |
5677 EOF | 5690 EOF |
5678 if { (eval echo configure:5679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5691 if { (eval echo configure:5692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5679 rm -rf conftest* | 5692 rm -rf conftest* |
5680 eval "ac_cv_lib_$ac_lib_var=yes" | 5693 eval "ac_cv_lib_$ac_lib_var=yes" |
5681 else | 5694 else |
5682 echo "configure: failed program was:" >&5 | 5695 echo "configure: failed program was:" >&5 |
5683 cat conftest.$ac_ext >&5 | 5696 cat conftest.$ac_ext >&5 |
5710 fi | 5723 fi |
5711 | 5724 |
5712 fi | 5725 fi |
5713 if test "$with_msw" != "no"; then | 5726 if test "$with_msw" != "no"; then |
5714 echo "checking for MS-Windows" 1>&6 | 5727 echo "checking for MS-Windows" 1>&6 |
5715 echo "configure:5716: checking for MS-Windows" >&5 | 5728 echo "configure:5729: checking for MS-Windows" >&5 |
5716 | 5729 |
5717 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5730 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
5718 echo "configure:5719: checking for main in -lgdi32" >&5 | 5731 echo "configure:5732: checking for main in -lgdi32" >&5 |
5719 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5732 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
5720 | 5733 |
5721 xe_check_libs=" -lgdi32 " | 5734 xe_check_libs=" -lgdi32 " |
5722 cat > conftest.$ac_ext <<EOF | 5735 cat > conftest.$ac_ext <<EOF |
5723 #line 5724 "configure" | 5736 #line 5737 "configure" |
5724 #include "confdefs.h" | 5737 #include "confdefs.h" |
5725 | 5738 |
5726 int main() { | 5739 int main() { |
5727 main() | 5740 main() |
5728 ; return 0; } | 5741 ; return 0; } |
5729 EOF | 5742 EOF |
5730 if { (eval echo configure:5731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5743 if { (eval echo configure:5744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5731 rm -rf conftest* | 5744 rm -rf conftest* |
5732 eval "ac_cv_lib_$ac_lib_var=yes" | 5745 eval "ac_cv_lib_$ac_lib_var=yes" |
5733 else | 5746 else |
5734 echo "configure: failed program was:" >&5 | 5747 echo "configure: failed program was:" >&5 |
5735 cat conftest.$ac_ext >&5 | 5748 cat conftest.$ac_ext >&5 |
5783 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then | 5796 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then |
5784 echo " xemacs will be linked with \"toolbar-msw.o\"" | 5797 echo " xemacs will be linked with \"toolbar-msw.o\"" |
5785 fi | 5798 fi |
5786 fi | 5799 fi |
5787 cat > conftest.$ac_ext <<EOF | 5800 cat > conftest.$ac_ext <<EOF |
5788 #line 5789 "configure" | 5801 #line 5802 "configure" |
5789 #include "confdefs.h" | 5802 #include "confdefs.h" |
5790 #include <fcntl.h> | 5803 #include <fcntl.h> |
5791 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 5804 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
5792 EOF | 5805 EOF |
5793 if { (eval echo configure:5794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5806 if { (eval echo configure:5807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5794 then | 5807 then |
5795 { test "$extra_verbose" = "yes" && cat << \EOF | 5808 { test "$extra_verbose" = "yes" && cat << \EOF |
5796 Defining HAVE_MSG_SELECT | 5809 Defining HAVE_MSG_SELECT |
5797 EOF | 5810 EOF |
5798 cat >> confdefs.h <<\EOF | 5811 cat >> confdefs.h <<\EOF |
5866 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5879 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5867 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5880 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5868 esac | 5881 esac |
5869 | 5882 |
5870 echo "checking for session-management option" 1>&6 | 5883 echo "checking for session-management option" 1>&6 |
5871 echo "configure:5872: checking for session-management option" >&5; | 5884 echo "configure:5885: checking for session-management option" >&5; |
5872 if test "$with_session" != "no"; then | 5885 if test "$with_session" != "no"; then |
5873 { test "$extra_verbose" = "yes" && cat << \EOF | 5886 { test "$extra_verbose" = "yes" && cat << \EOF |
5874 Defining HAVE_SESSION | 5887 Defining HAVE_SESSION |
5875 EOF | 5888 EOF |
5876 cat >> confdefs.h <<\EOF | 5889 cat >> confdefs.h <<\EOF |
5881 fi | 5894 fi |
5882 | 5895 |
5883 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5896 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5884 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5897 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5885 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5898 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5886 echo "configure:5887: checking for X11/Xauth.h" >&5 | 5899 echo "configure:5900: checking for X11/Xauth.h" >&5 |
5887 | 5900 |
5888 cat > conftest.$ac_ext <<EOF | 5901 cat > conftest.$ac_ext <<EOF |
5889 #line 5890 "configure" | 5902 #line 5903 "configure" |
5890 #include "confdefs.h" | 5903 #include "confdefs.h" |
5891 #include <X11/Xauth.h> | 5904 #include <X11/Xauth.h> |
5892 EOF | 5905 EOF |
5893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5906 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5894 { (eval echo configure:5895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5907 { (eval echo configure:5908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5895 ac_err=`grep -v '^ *+' conftest.out` | 5908 ac_err=`grep -v '^ *+' conftest.out` |
5896 if test -z "$ac_err"; then | 5909 if test -z "$ac_err"; then |
5897 rm -rf conftest* | 5910 rm -rf conftest* |
5898 eval "ac_cv_header_$ac_safe=yes" | 5911 eval "ac_cv_header_$ac_safe=yes" |
5899 else | 5912 else |
5912 with_xauth=no | 5925 with_xauth=no |
5913 fi | 5926 fi |
5914 } | 5927 } |
5915 test -z "$with_xauth" && { | 5928 test -z "$with_xauth" && { |
5916 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5929 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
5917 echo "configure:5918: checking for XauGetAuthByAddr in -lXau" >&5 | 5930 echo "configure:5931: checking for XauGetAuthByAddr in -lXau" >&5 |
5918 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5931 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
5919 | 5932 |
5920 xe_check_libs=" -lXau " | 5933 xe_check_libs=" -lXau " |
5921 cat > conftest.$ac_ext <<EOF | 5934 cat > conftest.$ac_ext <<EOF |
5922 #line 5923 "configure" | 5935 #line 5936 "configure" |
5923 #include "confdefs.h" | 5936 #include "confdefs.h" |
5924 /* Override any gcc2 internal prototype to avoid an error. */ | 5937 /* Override any gcc2 internal prototype to avoid an error. */ |
5925 /* We use char because int might match the return type of a gcc2 | 5938 /* We use char because int might match the return type of a gcc2 |
5926 builtin and then its argument prototype would still apply. */ | 5939 builtin and then its argument prototype would still apply. */ |
5927 char XauGetAuthByAddr(); | 5940 char XauGetAuthByAddr(); |
5928 | 5941 |
5929 int main() { | 5942 int main() { |
5930 XauGetAuthByAddr() | 5943 XauGetAuthByAddr() |
5931 ; return 0; } | 5944 ; return 0; } |
5932 EOF | 5945 EOF |
5933 if { (eval echo configure:5934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5946 if { (eval echo configure:5947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5934 rm -rf conftest* | 5947 rm -rf conftest* |
5935 eval "ac_cv_lib_$ac_lib_var=yes" | 5948 eval "ac_cv_lib_$ac_lib_var=yes" |
5936 else | 5949 else |
5937 echo "configure: failed program was:" >&5 | 5950 echo "configure: failed program was:" >&5 |
5938 cat conftest.$ac_ext >&5 | 5951 cat conftest.$ac_ext >&5 |
5996 | 6009 |
5997 if test "$with_tooltalk" != "no" ; then | 6010 if test "$with_tooltalk" != "no" ; then |
5998 for dir in "" "Tt/" "desktop/" ; do | 6011 for dir in "" "Tt/" "desktop/" ; do |
5999 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6012 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6000 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6013 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6001 echo "configure:6002: checking for ${dir}tt_c.h" >&5 | 6014 echo "configure:6015: checking for ${dir}tt_c.h" >&5 |
6002 | 6015 |
6003 cat > conftest.$ac_ext <<EOF | 6016 cat > conftest.$ac_ext <<EOF |
6004 #line 6005 "configure" | 6017 #line 6018 "configure" |
6005 #include "confdefs.h" | 6018 #include "confdefs.h" |
6006 #include <${dir}tt_c.h> | 6019 #include <${dir}tt_c.h> |
6007 EOF | 6020 EOF |
6008 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6009 { (eval echo configure:6010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6022 { (eval echo configure:6023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6010 ac_err=`grep -v '^ *+' conftest.out` | 6023 ac_err=`grep -v '^ *+' conftest.out` |
6011 if test -z "$ac_err"; then | 6024 if test -z "$ac_err"; then |
6012 rm -rf conftest* | 6025 rm -rf conftest* |
6013 eval "ac_cv_header_$ac_safe=yes" | 6026 eval "ac_cv_header_$ac_safe=yes" |
6014 else | 6027 else |
6040 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6053 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6041 | 6054 |
6042 xe_msg_checking="for tt_message_create in -ltt" | 6055 xe_msg_checking="for tt_message_create in -ltt" |
6043 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6056 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6044 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6057 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6045 echo "configure:6046: checking "$xe_msg_checking"" >&5 | 6058 echo "configure:6059: checking "$xe_msg_checking"" >&5 |
6046 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6059 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6047 | 6060 |
6048 xe_check_libs=" -ltt $extra_libs" | 6061 xe_check_libs=" -ltt $extra_libs" |
6049 cat > conftest.$ac_ext <<EOF | 6062 cat > conftest.$ac_ext <<EOF |
6050 #line 6051 "configure" | 6063 #line 6064 "configure" |
6051 #include "confdefs.h" | 6064 #include "confdefs.h" |
6052 /* Override any gcc2 internal prototype to avoid an error. */ | 6065 /* Override any gcc2 internal prototype to avoid an error. */ |
6053 /* We use char because int might match the return type of a gcc2 | 6066 /* We use char because int might match the return type of a gcc2 |
6054 builtin and then its argument prototype would still apply. */ | 6067 builtin and then its argument prototype would still apply. */ |
6055 char tt_message_create(); | 6068 char tt_message_create(); |
6056 | 6069 |
6057 int main() { | 6070 int main() { |
6058 tt_message_create() | 6071 tt_message_create() |
6059 ; return 0; } | 6072 ; return 0; } |
6060 EOF | 6073 EOF |
6061 if { (eval echo configure:6062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6074 if { (eval echo configure:6075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6062 rm -rf conftest* | 6075 rm -rf conftest* |
6063 eval "ac_cv_lib_$ac_lib_var=yes" | 6076 eval "ac_cv_lib_$ac_lib_var=yes" |
6064 else | 6077 else |
6065 echo "configure: failed program was:" >&5 | 6078 echo "configure: failed program was:" >&5 |
6066 cat conftest.$ac_ext >&5 | 6079 cat conftest.$ac_ext >&5 |
6113 fi | 6126 fi |
6114 fi | 6127 fi |
6115 | 6128 |
6116 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6129 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6117 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6130 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6118 echo "configure:6119: checking for Dt/Dt.h" >&5 | 6131 echo "configure:6132: checking for Dt/Dt.h" >&5 |
6119 | 6132 |
6120 cat > conftest.$ac_ext <<EOF | 6133 cat > conftest.$ac_ext <<EOF |
6121 #line 6122 "configure" | 6134 #line 6135 "configure" |
6122 #include "confdefs.h" | 6135 #include "confdefs.h" |
6123 #include <Dt/Dt.h> | 6136 #include <Dt/Dt.h> |
6124 EOF | 6137 EOF |
6125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6126 { (eval echo configure:6127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6139 { (eval echo configure:6140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6127 ac_err=`grep -v '^ *+' conftest.out` | 6140 ac_err=`grep -v '^ *+' conftest.out` |
6128 if test -z "$ac_err"; then | 6141 if test -z "$ac_err"; then |
6129 rm -rf conftest* | 6142 rm -rf conftest* |
6130 eval "ac_cv_header_$ac_safe=yes" | 6143 eval "ac_cv_header_$ac_safe=yes" |
6131 else | 6144 else |
6144 with_cde=no | 6157 with_cde=no |
6145 fi | 6158 fi |
6146 } | 6159 } |
6147 test -z "$with_cde" && { | 6160 test -z "$with_cde" && { |
6148 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6161 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6149 echo "configure:6150: checking for DtDndDragStart in -lDtSvc" >&5 | 6162 echo "configure:6163: checking for DtDndDragStart in -lDtSvc" >&5 |
6150 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6163 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6151 | 6164 |
6152 xe_check_libs=" -lDtSvc " | 6165 xe_check_libs=" -lDtSvc " |
6153 cat > conftest.$ac_ext <<EOF | 6166 cat > conftest.$ac_ext <<EOF |
6154 #line 6155 "configure" | 6167 #line 6168 "configure" |
6155 #include "confdefs.h" | 6168 #include "confdefs.h" |
6156 /* Override any gcc2 internal prototype to avoid an error. */ | 6169 /* Override any gcc2 internal prototype to avoid an error. */ |
6157 /* We use char because int might match the return type of a gcc2 | 6170 /* We use char because int might match the return type of a gcc2 |
6158 builtin and then its argument prototype would still apply. */ | 6171 builtin and then its argument prototype would still apply. */ |
6159 char DtDndDragStart(); | 6172 char DtDndDragStart(); |
6160 | 6173 |
6161 int main() { | 6174 int main() { |
6162 DtDndDragStart() | 6175 DtDndDragStart() |
6163 ; return 0; } | 6176 ; return 0; } |
6164 EOF | 6177 EOF |
6165 if { (eval echo configure:6166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6178 if { (eval echo configure:6179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6166 rm -rf conftest* | 6179 rm -rf conftest* |
6167 eval "ac_cv_lib_$ac_lib_var=yes" | 6180 eval "ac_cv_lib_$ac_lib_var=yes" |
6168 else | 6181 else |
6169 echo "configure: failed program was:" >&5 | 6182 echo "configure: failed program was:" >&5 |
6170 cat conftest.$ac_ext >&5 | 6183 cat conftest.$ac_ext >&5 |
6202 with_tooltalk=yes # CDE requires Tooltalk | 6215 with_tooltalk=yes # CDE requires Tooltalk |
6203 need_motif=yes # CDE requires Motif | 6216 need_motif=yes # CDE requires Motif |
6204 fi | 6217 fi |
6205 | 6218 |
6206 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6219 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6207 echo "configure:6208: checking if drag and drop API is needed" >&5 | 6220 echo "configure:6221: checking if drag and drop API is needed" >&5 |
6208 if test "$with_dragndrop" != "no" ; then | 6221 if test "$with_dragndrop" != "no" ; then |
6209 if test -n "$dragndrop_proto" ; then | 6222 if test -n "$dragndrop_proto" ; then |
6210 with_dragndrop=yes | 6223 with_dragndrop=yes |
6211 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6224 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6212 { test "$extra_verbose" = "yes" && cat << \EOF | 6225 { test "$extra_verbose" = "yes" && cat << \EOF |
6223 echo "$ac_t""no" 1>&6 | 6236 echo "$ac_t""no" 1>&6 |
6224 fi | 6237 fi |
6225 fi | 6238 fi |
6226 | 6239 |
6227 echo "checking for LDAP" 1>&6 | 6240 echo "checking for LDAP" 1>&6 |
6228 echo "configure:6229: checking for LDAP" >&5 | 6241 echo "configure:6242: checking for LDAP" >&5 |
6229 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6242 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6230 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6243 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6231 echo "configure:6232: checking for ldap.h" >&5 | 6244 echo "configure:6245: checking for ldap.h" >&5 |
6232 | 6245 |
6233 cat > conftest.$ac_ext <<EOF | 6246 cat > conftest.$ac_ext <<EOF |
6234 #line 6235 "configure" | 6247 #line 6248 "configure" |
6235 #include "confdefs.h" | 6248 #include "confdefs.h" |
6236 #include <ldap.h> | 6249 #include <ldap.h> |
6237 EOF | 6250 EOF |
6238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6239 { (eval echo configure:6240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6252 { (eval echo configure:6253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6240 ac_err=`grep -v '^ *+' conftest.out` | 6253 ac_err=`grep -v '^ *+' conftest.out` |
6241 if test -z "$ac_err"; then | 6254 if test -z "$ac_err"; then |
6242 rm -rf conftest* | 6255 rm -rf conftest* |
6243 eval "ac_cv_header_$ac_safe=yes" | 6256 eval "ac_cv_header_$ac_safe=yes" |
6244 else | 6257 else |
6257 with_ldap=no | 6270 with_ldap=no |
6258 fi | 6271 fi |
6259 } | 6272 } |
6260 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6273 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6261 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6274 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6262 echo "configure:6263: checking for lber.h" >&5 | 6275 echo "configure:6276: checking for lber.h" >&5 |
6263 | 6276 |
6264 cat > conftest.$ac_ext <<EOF | 6277 cat > conftest.$ac_ext <<EOF |
6265 #line 6266 "configure" | 6278 #line 6279 "configure" |
6266 #include "confdefs.h" | 6279 #include "confdefs.h" |
6267 #include <lber.h> | 6280 #include <lber.h> |
6268 EOF | 6281 EOF |
6269 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6282 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6270 { (eval echo configure:6271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6283 { (eval echo configure:6284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6271 ac_err=`grep -v '^ *+' conftest.out` | 6284 ac_err=`grep -v '^ *+' conftest.out` |
6272 if test -z "$ac_err"; then | 6285 if test -z "$ac_err"; then |
6273 rm -rf conftest* | 6286 rm -rf conftest* |
6274 eval "ac_cv_header_$ac_safe=yes" | 6287 eval "ac_cv_header_$ac_safe=yes" |
6275 else | 6288 else |
6291 if test "$with_ldap" != "no"; then | 6304 if test "$with_ldap" != "no"; then |
6292 test -z "$with_umich_ldap" && { | 6305 test -z "$with_umich_ldap" && { |
6293 xe_msg_checking="for ldap_open in -lldap" | 6306 xe_msg_checking="for ldap_open in -lldap" |
6294 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6307 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6295 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6308 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6296 echo "configure:6297: checking "$xe_msg_checking"" >&5 | 6309 echo "configure:6310: checking "$xe_msg_checking"" >&5 |
6297 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6310 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6298 | 6311 |
6299 xe_check_libs=" -lldap -llber" | 6312 xe_check_libs=" -lldap -llber" |
6300 cat > conftest.$ac_ext <<EOF | 6313 cat > conftest.$ac_ext <<EOF |
6301 #line 6302 "configure" | 6314 #line 6315 "configure" |
6302 #include "confdefs.h" | 6315 #include "confdefs.h" |
6303 /* Override any gcc2 internal prototype to avoid an error. */ | 6316 /* Override any gcc2 internal prototype to avoid an error. */ |
6304 /* We use char because int might match the return type of a gcc2 | 6317 /* We use char because int might match the return type of a gcc2 |
6305 builtin and then its argument prototype would still apply. */ | 6318 builtin and then its argument prototype would still apply. */ |
6306 char ldap_open(); | 6319 char ldap_open(); |
6307 | 6320 |
6308 int main() { | 6321 int main() { |
6309 ldap_open() | 6322 ldap_open() |
6310 ; return 0; } | 6323 ; return 0; } |
6311 EOF | 6324 EOF |
6312 if { (eval echo configure:6313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6325 if { (eval echo configure:6326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6313 rm -rf conftest* | 6326 rm -rf conftest* |
6314 eval "ac_cv_lib_$ac_lib_var=yes" | 6327 eval "ac_cv_lib_$ac_lib_var=yes" |
6315 else | 6328 else |
6316 echo "configure: failed program was:" >&5 | 6329 echo "configure: failed program was:" >&5 |
6317 cat conftest.$ac_ext >&5 | 6330 cat conftest.$ac_ext >&5 |
6330 fi | 6343 fi |
6331 | 6344 |
6332 } | 6345 } |
6333 test "$with_umich_ldap" = "no" && { | 6346 test "$with_umich_ldap" = "no" && { |
6334 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6347 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
6335 echo "configure:6336: checking for ldap_set_option in -lldap10" >&5 | 6348 echo "configure:6349: checking for ldap_set_option in -lldap10" >&5 |
6336 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6349 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
6337 | 6350 |
6338 xe_check_libs=" -lldap10 " | 6351 xe_check_libs=" -lldap10 " |
6339 cat > conftest.$ac_ext <<EOF | 6352 cat > conftest.$ac_ext <<EOF |
6340 #line 6341 "configure" | 6353 #line 6354 "configure" |
6341 #include "confdefs.h" | 6354 #include "confdefs.h" |
6342 /* Override any gcc2 internal prototype to avoid an error. */ | 6355 /* Override any gcc2 internal prototype to avoid an error. */ |
6343 /* We use char because int might match the return type of a gcc2 | 6356 /* We use char because int might match the return type of a gcc2 |
6344 builtin and then its argument prototype would still apply. */ | 6357 builtin and then its argument prototype would still apply. */ |
6345 char ldap_set_option(); | 6358 char ldap_set_option(); |
6346 | 6359 |
6347 int main() { | 6360 int main() { |
6348 ldap_set_option() | 6361 ldap_set_option() |
6349 ; return 0; } | 6362 ; return 0; } |
6350 EOF | 6363 EOF |
6351 if { (eval echo configure:6352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6364 if { (eval echo configure:6365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6352 rm -rf conftest* | 6365 rm -rf conftest* |
6353 eval "ac_cv_lib_$ac_lib_var=yes" | 6366 eval "ac_cv_lib_$ac_lib_var=yes" |
6354 else | 6367 else |
6355 echo "configure: failed program was:" >&5 | 6368 echo "configure: failed program was:" >&5 |
6356 cat conftest.$ac_ext >&5 | 6369 cat conftest.$ac_ext >&5 |
6410 fi | 6423 fi |
6411 | 6424 |
6412 | 6425 |
6413 if test "$window_system" != "none"; then | 6426 if test "$window_system" != "none"; then |
6414 echo "checking for graphics libraries" 1>&6 | 6427 echo "checking for graphics libraries" 1>&6 |
6415 echo "configure:6416: checking for graphics libraries" >&5 | 6428 echo "configure:6429: checking for graphics libraries" >&5 |
6416 | 6429 |
6417 if test -z "$with_xpm"; then | 6430 if test -z "$with_xpm"; then |
6418 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6431 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6419 echo "configure:6420: checking for Xpm - no older than 3.4f" >&5 | 6432 echo "configure:6433: checking for Xpm - no older than 3.4f" >&5 |
6420 xe_check_libs=-lXpm | 6433 xe_check_libs=-lXpm |
6421 cat > conftest.$ac_ext <<EOF | 6434 cat > conftest.$ac_ext <<EOF |
6422 #line 6423 "configure" | 6435 #line 6436 "configure" |
6423 #include "confdefs.h" | 6436 #include "confdefs.h" |
6424 #include <X11/xpm.h> | 6437 #include <X11/xpm.h> |
6425 int main(int c, char **v) { | 6438 int main(int c, char **v) { |
6426 return c == 1 ? 0 : | 6439 return c == 1 ? 0 : |
6427 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6440 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6428 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6441 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6429 EOF | 6442 EOF |
6430 if { (eval echo configure:6431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6443 if { (eval echo configure:6444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
6431 then | 6444 then |
6432 ./conftest dummy_arg; xpm_status=$?; | 6445 ./conftest dummy_arg; xpm_status=$?; |
6433 if test "$?" = "0"; then | 6446 if test "$?" = "0"; then |
6434 with_xpm=yes; | 6447 with_xpm=yes; |
6435 else | 6448 else |
6466 EOF | 6479 EOF |
6467 } | 6480 } |
6468 | 6481 |
6469 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6482 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6470 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6483 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
6471 echo "configure:6472: checking for \"FOR_MSW\" xpm" >&5 | 6484 echo "configure:6485: checking for \"FOR_MSW\" xpm" >&5 |
6472 xe_check_libs=-lXpm | 6485 xe_check_libs=-lXpm |
6473 cat > conftest.$ac_ext <<EOF | 6486 cat > conftest.$ac_ext <<EOF |
6474 #line 6475 "configure" | 6487 #line 6488 "configure" |
6475 #include "confdefs.h" | 6488 #include "confdefs.h" |
6476 | 6489 |
6477 int main() { | 6490 int main() { |
6478 XpmCreatePixmapFromData() | 6491 XpmCreatePixmapFromData() |
6479 ; return 0; } | 6492 ; return 0; } |
6480 EOF | 6493 EOF |
6481 if { (eval echo configure:6482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6494 if { (eval echo configure:6495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6482 rm -rf conftest* | 6495 rm -rf conftest* |
6483 xpm_for_msw=no | 6496 xpm_for_msw=no |
6484 else | 6497 else |
6485 echo "configure: failed program was:" >&5 | 6498 echo "configure: failed program was:" >&5 |
6486 cat conftest.$ac_ext >&5 | 6499 cat conftest.$ac_ext >&5 |
6503 fi | 6516 fi |
6504 | 6517 |
6505 if test "$with_png $with_tiff" != "no no"; then | 6518 if test "$with_png $with_tiff" != "no no"; then |
6506 | 6519 |
6507 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6520 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
6508 echo "configure:6509: checking for inflate in -lc" >&5 | 6521 echo "configure:6522: checking for inflate in -lc" >&5 |
6509 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6522 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
6510 | 6523 |
6511 xe_check_libs=" -lc " | 6524 xe_check_libs=" -lc " |
6512 cat > conftest.$ac_ext <<EOF | 6525 cat > conftest.$ac_ext <<EOF |
6513 #line 6514 "configure" | 6526 #line 6527 "configure" |
6514 #include "confdefs.h" | 6527 #include "confdefs.h" |
6515 /* Override any gcc2 internal prototype to avoid an error. */ | 6528 /* Override any gcc2 internal prototype to avoid an error. */ |
6516 /* We use char because int might match the return type of a gcc2 | 6529 /* We use char because int might match the return type of a gcc2 |
6517 builtin and then its argument prototype would still apply. */ | 6530 builtin and then its argument prototype would still apply. */ |
6518 char inflate(); | 6531 char inflate(); |
6519 | 6532 |
6520 int main() { | 6533 int main() { |
6521 inflate() | 6534 inflate() |
6522 ; return 0; } | 6535 ; return 0; } |
6523 EOF | 6536 EOF |
6524 if { (eval echo configure:6525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6537 if { (eval echo configure:6538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6525 rm -rf conftest* | 6538 rm -rf conftest* |
6526 eval "ac_cv_lib_$ac_lib_var=yes" | 6539 eval "ac_cv_lib_$ac_lib_var=yes" |
6527 else | 6540 else |
6528 echo "configure: failed program was:" >&5 | 6541 echo "configure: failed program was:" >&5 |
6529 cat conftest.$ac_ext >&5 | 6542 cat conftest.$ac_ext >&5 |
6538 : | 6551 : |
6539 else | 6552 else |
6540 echo "$ac_t""no" 1>&6 | 6553 echo "$ac_t""no" 1>&6 |
6541 | 6554 |
6542 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6555 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
6543 echo "configure:6544: checking for inflate in -lz" >&5 | 6556 echo "configure:6557: checking for inflate in -lz" >&5 |
6544 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6557 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
6545 | 6558 |
6546 xe_check_libs=" -lz " | 6559 xe_check_libs=" -lz " |
6547 cat > conftest.$ac_ext <<EOF | 6560 cat > conftest.$ac_ext <<EOF |
6548 #line 6549 "configure" | 6561 #line 6562 "configure" |
6549 #include "confdefs.h" | 6562 #include "confdefs.h" |
6550 /* Override any gcc2 internal prototype to avoid an error. */ | 6563 /* Override any gcc2 internal prototype to avoid an error. */ |
6551 /* We use char because int might match the return type of a gcc2 | 6564 /* We use char because int might match the return type of a gcc2 |
6552 builtin and then its argument prototype would still apply. */ | 6565 builtin and then its argument prototype would still apply. */ |
6553 char inflate(); | 6566 char inflate(); |
6554 | 6567 |
6555 int main() { | 6568 int main() { |
6556 inflate() | 6569 inflate() |
6557 ; return 0; } | 6570 ; return 0; } |
6558 EOF | 6571 EOF |
6559 if { (eval echo configure:6560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6572 if { (eval echo configure:6573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6560 rm -rf conftest* | 6573 rm -rf conftest* |
6561 eval "ac_cv_lib_$ac_lib_var=yes" | 6574 eval "ac_cv_lib_$ac_lib_var=yes" |
6562 else | 6575 else |
6563 echo "configure: failed program was:" >&5 | 6576 echo "configure: failed program was:" >&5 |
6564 cat conftest.$ac_ext >&5 | 6577 cat conftest.$ac_ext >&5 |
6573 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6586 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
6574 else | 6587 else |
6575 echo "$ac_t""no" 1>&6 | 6588 echo "$ac_t""no" 1>&6 |
6576 | 6589 |
6577 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6590 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
6578 echo "configure:6579: checking for inflate in -lgz" >&5 | 6591 echo "configure:6592: checking for inflate in -lgz" >&5 |
6579 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6592 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
6580 | 6593 |
6581 xe_check_libs=" -lgz " | 6594 xe_check_libs=" -lgz " |
6582 cat > conftest.$ac_ext <<EOF | 6595 cat > conftest.$ac_ext <<EOF |
6583 #line 6584 "configure" | 6596 #line 6597 "configure" |
6584 #include "confdefs.h" | 6597 #include "confdefs.h" |
6585 /* Override any gcc2 internal prototype to avoid an error. */ | 6598 /* Override any gcc2 internal prototype to avoid an error. */ |
6586 /* We use char because int might match the return type of a gcc2 | 6599 /* We use char because int might match the return type of a gcc2 |
6587 builtin and then its argument prototype would still apply. */ | 6600 builtin and then its argument prototype would still apply. */ |
6588 char inflate(); | 6601 char inflate(); |
6589 | 6602 |
6590 int main() { | 6603 int main() { |
6591 inflate() | 6604 inflate() |
6592 ; return 0; } | 6605 ; return 0; } |
6593 EOF | 6606 EOF |
6594 if { (eval echo configure:6595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6607 if { (eval echo configure:6608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6595 rm -rf conftest* | 6608 rm -rf conftest* |
6596 eval "ac_cv_lib_$ac_lib_var=yes" | 6609 eval "ac_cv_lib_$ac_lib_var=yes" |
6597 else | 6610 else |
6598 echo "configure: failed program was:" >&5 | 6611 echo "configure: failed program was:" >&5 |
6599 cat conftest.$ac_ext >&5 | 6612 cat conftest.$ac_ext >&5 |
6618 | 6631 |
6619 | 6632 |
6620 fi | 6633 fi |
6621 | 6634 |
6622 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 | 6635 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 |
6623 echo "configure:6624: checking for giflib - no older than 3.1" >&5 | 6636 echo "configure:6637: checking for giflib - no older than 3.1" >&5 |
6624 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 6637 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
6625 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 6638 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
6626 echo "configure:6627: checking for gif_lib.h" >&5 | 6639 echo "configure:6640: checking for gif_lib.h" >&5 |
6627 | 6640 |
6628 cat > conftest.$ac_ext <<EOF | 6641 cat > conftest.$ac_ext <<EOF |
6629 #line 6630 "configure" | 6642 #line 6643 "configure" |
6630 #include "confdefs.h" | 6643 #include "confdefs.h" |
6631 #include <gif_lib.h> | 6644 #include <gif_lib.h> |
6632 EOF | 6645 EOF |
6633 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6634 { (eval echo configure:6635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6647 { (eval echo configure:6648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6635 ac_err=`grep -v '^ *+' conftest.out` | 6648 ac_err=`grep -v '^ *+' conftest.out` |
6636 if test -z "$ac_err"; then | 6649 if test -z "$ac_err"; then |
6637 rm -rf conftest* | 6650 rm -rf conftest* |
6638 eval "ac_cv_header_$ac_safe=yes" | 6651 eval "ac_cv_header_$ac_safe=yes" |
6639 else | 6652 else |
6652 with_gif=no | 6665 with_gif=no |
6653 fi | 6666 fi |
6654 } | 6667 } |
6655 test -z "$with_gif" && { | 6668 test -z "$with_gif" && { |
6656 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 | 6669 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 |
6657 echo "configure:6658: checking for GetGifError in -lgif" >&5 | 6670 echo "configure:6671: checking for GetGifError in -lgif" >&5 |
6658 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` | 6671 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` |
6659 | 6672 |
6660 xe_check_libs=" -lgif " | 6673 xe_check_libs=" -lgif " |
6661 cat > conftest.$ac_ext <<EOF | 6674 cat > conftest.$ac_ext <<EOF |
6662 #line 6663 "configure" | 6675 #line 6676 "configure" |
6663 #include "confdefs.h" | 6676 #include "confdefs.h" |
6664 /* Override any gcc2 internal prototype to avoid an error. */ | 6677 /* Override any gcc2 internal prototype to avoid an error. */ |
6665 /* We use char because int might match the return type of a gcc2 | 6678 /* We use char because int might match the return type of a gcc2 |
6666 builtin and then its argument prototype would still apply. */ | 6679 builtin and then its argument prototype would still apply. */ |
6667 char GetGifError(); | 6680 char GetGifError(); |
6668 | 6681 |
6669 int main() { | 6682 int main() { |
6670 GetGifError() | 6683 GetGifError() |
6671 ; return 0; } | 6684 ; return 0; } |
6672 EOF | 6685 EOF |
6673 if { (eval echo configure:6674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6686 if { (eval echo configure:6687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6674 rm -rf conftest* | 6687 rm -rf conftest* |
6675 eval "ac_cv_lib_$ac_lib_var=yes" | 6688 eval "ac_cv_lib_$ac_lib_var=yes" |
6676 else | 6689 else |
6677 echo "configure: failed program was:" >&5 | 6690 echo "configure: failed program was:" >&5 |
6678 cat conftest.$ac_ext >&5 | 6691 cat conftest.$ac_ext >&5 |
6704 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi | 6717 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi |
6705 fi | 6718 fi |
6706 | 6719 |
6707 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6720 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6708 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6721 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6709 echo "configure:6710: checking for jpeglib.h" >&5 | 6722 echo "configure:6723: checking for jpeglib.h" >&5 |
6710 | 6723 |
6711 cat > conftest.$ac_ext <<EOF | 6724 cat > conftest.$ac_ext <<EOF |
6712 #line 6713 "configure" | 6725 #line 6726 "configure" |
6713 #include "confdefs.h" | 6726 #include "confdefs.h" |
6714 #include <jpeglib.h> | 6727 #include <jpeglib.h> |
6715 EOF | 6728 EOF |
6716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6729 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6717 { (eval echo configure:6718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6730 { (eval echo configure:6731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6718 ac_err=`grep -v '^ *+' conftest.out` | 6731 ac_err=`grep -v '^ *+' conftest.out` |
6719 if test -z "$ac_err"; then | 6732 if test -z "$ac_err"; then |
6720 rm -rf conftest* | 6733 rm -rf conftest* |
6721 eval "ac_cv_header_$ac_safe=yes" | 6734 eval "ac_cv_header_$ac_safe=yes" |
6722 else | 6735 else |
6735 with_jpeg=no | 6748 with_jpeg=no |
6736 fi | 6749 fi |
6737 } | 6750 } |
6738 test -z "$with_jpeg" && { | 6751 test -z "$with_jpeg" && { |
6739 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6752 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6740 echo "configure:6741: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6753 echo "configure:6754: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6741 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6754 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6742 | 6755 |
6743 xe_check_libs=" -ljpeg " | 6756 xe_check_libs=" -ljpeg " |
6744 cat > conftest.$ac_ext <<EOF | 6757 cat > conftest.$ac_ext <<EOF |
6745 #line 6746 "configure" | 6758 #line 6759 "configure" |
6746 #include "confdefs.h" | 6759 #include "confdefs.h" |
6747 /* Override any gcc2 internal prototype to avoid an error. */ | 6760 /* Override any gcc2 internal prototype to avoid an error. */ |
6748 /* We use char because int might match the return type of a gcc2 | 6761 /* We use char because int might match the return type of a gcc2 |
6749 builtin and then its argument prototype would still apply. */ | 6762 builtin and then its argument prototype would still apply. */ |
6750 char jpeg_destroy_decompress(); | 6763 char jpeg_destroy_decompress(); |
6751 | 6764 |
6752 int main() { | 6765 int main() { |
6753 jpeg_destroy_decompress() | 6766 jpeg_destroy_decompress() |
6754 ; return 0; } | 6767 ; return 0; } |
6755 EOF | 6768 EOF |
6756 if { (eval echo configure:6757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6769 if { (eval echo configure:6770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6757 rm -rf conftest* | 6770 rm -rf conftest* |
6758 eval "ac_cv_lib_$ac_lib_var=yes" | 6771 eval "ac_cv_lib_$ac_lib_var=yes" |
6759 else | 6772 else |
6760 echo "configure: failed program was:" >&5 | 6773 echo "configure: failed program was:" >&5 |
6761 cat conftest.$ac_ext >&5 | 6774 cat conftest.$ac_ext >&5 |
6787 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6800 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6788 fi | 6801 fi |
6789 | 6802 |
6790 if test -z "$with_png"; then | 6803 if test -z "$with_png"; then |
6791 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 | 6804 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 |
6792 echo "configure:6793: checking for png.h - no older than 0.96" >&5 | 6805 echo "configure:6806: checking for png.h - no older than 0.96" >&5 |
6793 cat > conftest.$ac_ext <<EOF | 6806 cat > conftest.$ac_ext <<EOF |
6794 #line 6795 "configure" | 6807 #line 6808 "configure" |
6795 #include "confdefs.h" | 6808 #include "confdefs.h" |
6796 #include <png.h> | 6809 #include <png.h> |
6797 #if PNG_LIBPNG_VER >= 96 | 6810 #if PNG_LIBPNG_VER >= 96 |
6798 yes | 6811 yes |
6799 #endif | 6812 #endif |
6809 fi | 6822 fi |
6810 rm -f conftest* | 6823 rm -f conftest* |
6811 | 6824 |
6812 fi | 6825 fi |
6813 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6826 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6814 echo "configure:6815: checking for pow" >&5 | 6827 echo "configure:6828: checking for pow" >&5 |
6815 | 6828 |
6816 cat > conftest.$ac_ext <<EOF | 6829 cat > conftest.$ac_ext <<EOF |
6817 #line 6818 "configure" | 6830 #line 6831 "configure" |
6818 #include "confdefs.h" | 6831 #include "confdefs.h" |
6819 /* System header to define __stub macros and hopefully few prototypes, | 6832 /* System header to define __stub macros and hopefully few prototypes, |
6820 which can conflict with char pow(); below. */ | 6833 which can conflict with char pow(); below. */ |
6821 #include <assert.h> | 6834 #include <assert.h> |
6822 /* Override any gcc2 internal prototype to avoid an error. */ | 6835 /* Override any gcc2 internal prototype to avoid an error. */ |
6835 pow(); | 6848 pow(); |
6836 #endif | 6849 #endif |
6837 | 6850 |
6838 ; return 0; } | 6851 ; return 0; } |
6839 EOF | 6852 EOF |
6840 if { (eval echo configure:6841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6853 if { (eval echo configure:6854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6841 rm -rf conftest* | 6854 rm -rf conftest* |
6842 eval "ac_cv_func_pow=yes" | 6855 eval "ac_cv_func_pow=yes" |
6843 else | 6856 else |
6844 echo "configure: failed program was:" >&5 | 6857 echo "configure: failed program was:" >&5 |
6845 cat conftest.$ac_ext >&5 | 6858 cat conftest.$ac_ext >&5 |
6856 with_png=no | 6869 with_png=no |
6857 fi | 6870 fi |
6858 } | 6871 } |
6859 test -z "$with_png" && { | 6872 test -z "$with_png" && { |
6860 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 6873 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
6861 echo "configure:6862: checking for png_read_image in -lpng" >&5 | 6874 echo "configure:6875: checking for png_read_image in -lpng" >&5 |
6862 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6875 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
6863 | 6876 |
6864 xe_check_libs=" -lpng " | 6877 xe_check_libs=" -lpng " |
6865 cat > conftest.$ac_ext <<EOF | 6878 cat > conftest.$ac_ext <<EOF |
6866 #line 6867 "configure" | 6879 #line 6880 "configure" |
6867 #include "confdefs.h" | 6880 #include "confdefs.h" |
6868 /* Override any gcc2 internal prototype to avoid an error. */ | 6881 /* Override any gcc2 internal prototype to avoid an error. */ |
6869 /* We use char because int might match the return type of a gcc2 | 6882 /* We use char because int might match the return type of a gcc2 |
6870 builtin and then its argument prototype would still apply. */ | 6883 builtin and then its argument prototype would still apply. */ |
6871 char png_read_image(); | 6884 char png_read_image(); |
6872 | 6885 |
6873 int main() { | 6886 int main() { |
6874 png_read_image() | 6887 png_read_image() |
6875 ; return 0; } | 6888 ; return 0; } |
6876 EOF | 6889 EOF |
6877 if { (eval echo configure:6878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6890 if { (eval echo configure:6891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6878 rm -rf conftest* | 6891 rm -rf conftest* |
6879 eval "ac_cv_lib_$ac_lib_var=yes" | 6892 eval "ac_cv_lib_$ac_lib_var=yes" |
6880 else | 6893 else |
6881 echo "configure: failed program was:" >&5 | 6894 echo "configure: failed program was:" >&5 |
6882 cat conftest.$ac_ext >&5 | 6895 cat conftest.$ac_ext >&5 |
6908 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 6921 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
6909 fi | 6922 fi |
6910 | 6923 |
6911 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 6924 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
6912 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 6925 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
6913 echo "configure:6914: checking for tiffio.h" >&5 | 6926 echo "configure:6927: checking for tiffio.h" >&5 |
6914 | 6927 |
6915 cat > conftest.$ac_ext <<EOF | 6928 cat > conftest.$ac_ext <<EOF |
6916 #line 6917 "configure" | 6929 #line 6930 "configure" |
6917 #include "confdefs.h" | 6930 #include "confdefs.h" |
6918 #include <tiffio.h> | 6931 #include <tiffio.h> |
6919 EOF | 6932 EOF |
6920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6933 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6921 { (eval echo configure:6922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6934 { (eval echo configure:6935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6922 ac_err=`grep -v '^ *+' conftest.out` | 6935 ac_err=`grep -v '^ *+' conftest.out` |
6923 if test -z "$ac_err"; then | 6936 if test -z "$ac_err"; then |
6924 rm -rf conftest* | 6937 rm -rf conftest* |
6925 eval "ac_cv_header_$ac_safe=yes" | 6938 eval "ac_cv_header_$ac_safe=yes" |
6926 else | 6939 else |
6938 echo "$ac_t""no" 1>&6 | 6951 echo "$ac_t""no" 1>&6 |
6939 with_tiff=no | 6952 with_tiff=no |
6940 fi | 6953 fi |
6941 } | 6954 } |
6942 test -z "$with_tiff" && { | 6955 test -z "$with_tiff" && { |
6943 echo $ac_n "checking for TIFFReadScanline in -ltiff""... $ac_c" 1>&6 | 6956 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
6944 echo "configure:6945: checking for TIFFReadScanline in -ltiff" >&5 | 6957 echo "configure:6958: checking for TIFFClientOpen in -ltiff" >&5 |
6945 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` | 6958 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
6946 | 6959 |
6947 xe_check_libs=" -ltiff " | 6960 xe_check_libs=" -ltiff " |
6948 cat > conftest.$ac_ext <<EOF | 6961 cat > conftest.$ac_ext <<EOF |
6949 #line 6950 "configure" | 6962 #line 6963 "configure" |
6950 #include "confdefs.h" | 6963 #include "confdefs.h" |
6951 /* Override any gcc2 internal prototype to avoid an error. */ | 6964 /* Override any gcc2 internal prototype to avoid an error. */ |
6952 /* We use char because int might match the return type of a gcc2 | 6965 /* We use char because int might match the return type of a gcc2 |
6953 builtin and then its argument prototype would still apply. */ | 6966 builtin and then its argument prototype would still apply. */ |
6954 char TIFFReadScanline(); | 6967 char TIFFClientOpen(); |
6955 | 6968 |
6956 int main() { | 6969 int main() { |
6957 TIFFReadScanline() | 6970 TIFFClientOpen() |
6958 ; return 0; } | 6971 ; return 0; } |
6959 EOF | 6972 EOF |
6960 if { (eval echo configure:6961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6973 if { (eval echo configure:6974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6961 rm -rf conftest* | 6974 rm -rf conftest* |
6962 eval "ac_cv_lib_$ac_lib_var=yes" | 6975 eval "ac_cv_lib_$ac_lib_var=yes" |
6963 else | 6976 else |
6964 echo "configure: failed program was:" >&5 | 6977 echo "configure: failed program was:" >&5 |
6965 cat conftest.$ac_ext >&5 | 6978 cat conftest.$ac_ext >&5 |
6994 | 7007 |
6995 | 7008 |
6996 if test "$with_x11" = "yes"; then | 7009 if test "$with_x11" = "yes"; then |
6997 | 7010 |
6998 echo "checking for X11 graphics libraries" 1>&6 | 7011 echo "checking for X11 graphics libraries" 1>&6 |
6999 echo "configure:7000: checking for X11 graphics libraries" >&5 | 7012 echo "configure:7013: checking for X11 graphics libraries" >&5 |
7000 | 7013 |
7001 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7014 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
7002 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7015 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
7003 echo "configure:7004: checking for compface.h" >&5 | 7016 echo "configure:7017: checking for compface.h" >&5 |
7004 | 7017 |
7005 cat > conftest.$ac_ext <<EOF | 7018 cat > conftest.$ac_ext <<EOF |
7006 #line 7007 "configure" | 7019 #line 7020 "configure" |
7007 #include "confdefs.h" | 7020 #include "confdefs.h" |
7008 #include <compface.h> | 7021 #include <compface.h> |
7009 EOF | 7022 EOF |
7010 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7011 { (eval echo configure:7012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7024 { (eval echo configure:7025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7012 ac_err=`grep -v '^ *+' conftest.out` | 7025 ac_err=`grep -v '^ *+' conftest.out` |
7013 if test -z "$ac_err"; then | 7026 if test -z "$ac_err"; then |
7014 rm -rf conftest* | 7027 rm -rf conftest* |
7015 eval "ac_cv_header_$ac_safe=yes" | 7028 eval "ac_cv_header_$ac_safe=yes" |
7016 else | 7029 else |
7029 with_xface=no | 7042 with_xface=no |
7030 fi | 7043 fi |
7031 } | 7044 } |
7032 test -z "$with_xface" && { | 7045 test -z "$with_xface" && { |
7033 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7046 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7034 echo "configure:7035: checking for UnGenFace in -lcompface" >&5 | 7047 echo "configure:7048: checking for UnGenFace in -lcompface" >&5 |
7035 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7048 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7036 | 7049 |
7037 xe_check_libs=" -lcompface " | 7050 xe_check_libs=" -lcompface " |
7038 cat > conftest.$ac_ext <<EOF | 7051 cat > conftest.$ac_ext <<EOF |
7039 #line 7040 "configure" | 7052 #line 7053 "configure" |
7040 #include "confdefs.h" | 7053 #include "confdefs.h" |
7041 /* Override any gcc2 internal prototype to avoid an error. */ | 7054 /* Override any gcc2 internal prototype to avoid an error. */ |
7042 /* We use char because int might match the return type of a gcc2 | 7055 /* We use char because int might match the return type of a gcc2 |
7043 builtin and then its argument prototype would still apply. */ | 7056 builtin and then its argument prototype would still apply. */ |
7044 char UnGenFace(); | 7057 char UnGenFace(); |
7045 | 7058 |
7046 int main() { | 7059 int main() { |
7047 UnGenFace() | 7060 UnGenFace() |
7048 ; return 0; } | 7061 ; return 0; } |
7049 EOF | 7062 EOF |
7050 if { (eval echo configure:7051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7063 if { (eval echo configure:7064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7051 rm -rf conftest* | 7064 rm -rf conftest* |
7052 eval "ac_cv_lib_$ac_lib_var=yes" | 7065 eval "ac_cv_lib_$ac_lib_var=yes" |
7053 else | 7066 else |
7054 echo "configure: failed program was:" >&5 | 7067 echo "configure: failed program was:" >&5 |
7055 cat conftest.$ac_ext >&5 | 7068 cat conftest.$ac_ext >&5 |
7081 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 7094 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
7082 fi | 7095 fi |
7083 | 7096 |
7084 | 7097 |
7085 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7098 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
7086 echo "configure:7087: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7099 echo "configure:7100: checking for XawScrollbarSetThumb in -lXaw" >&5 |
7087 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7100 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7088 | 7101 |
7089 xe_check_libs=" -lXaw " | 7102 xe_check_libs=" -lXaw " |
7090 cat > conftest.$ac_ext <<EOF | 7103 cat > conftest.$ac_ext <<EOF |
7091 #line 7092 "configure" | 7104 #line 7105 "configure" |
7092 #include "confdefs.h" | 7105 #include "confdefs.h" |
7093 /* Override any gcc2 internal prototype to avoid an error. */ | 7106 /* Override any gcc2 internal prototype to avoid an error. */ |
7094 /* We use char because int might match the return type of a gcc2 | 7107 /* We use char because int might match the return type of a gcc2 |
7095 builtin and then its argument prototype would still apply. */ | 7108 builtin and then its argument prototype would still apply. */ |
7096 char XawScrollbarSetThumb(); | 7109 char XawScrollbarSetThumb(); |
7097 | 7110 |
7098 int main() { | 7111 int main() { |
7099 XawScrollbarSetThumb() | 7112 XawScrollbarSetThumb() |
7100 ; return 0; } | 7113 ; return 0; } |
7101 EOF | 7114 EOF |
7102 if { (eval echo configure:7103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7115 if { (eval echo configure:7116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7103 rm -rf conftest* | 7116 rm -rf conftest* |
7104 eval "ac_cv_lib_$ac_lib_var=yes" | 7117 eval "ac_cv_lib_$ac_lib_var=yes" |
7105 else | 7118 else |
7106 echo "configure: failed program was:" >&5 | 7119 echo "configure: failed program was:" >&5 |
7107 cat conftest.$ac_ext >&5 | 7120 cat conftest.$ac_ext >&5 |
7121 | 7134 |
7122 | 7135 |
7123 | 7136 |
7124 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7137 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7125 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7138 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7126 echo "configure:7127: checking for Xm/Xm.h" >&5 | 7139 echo "configure:7140: checking for Xm/Xm.h" >&5 |
7127 | 7140 |
7128 cat > conftest.$ac_ext <<EOF | 7141 cat > conftest.$ac_ext <<EOF |
7129 #line 7130 "configure" | 7142 #line 7143 "configure" |
7130 #include "confdefs.h" | 7143 #include "confdefs.h" |
7131 #include <Xm/Xm.h> | 7144 #include <Xm/Xm.h> |
7132 EOF | 7145 EOF |
7133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7146 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7134 { (eval echo configure:7135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7147 { (eval echo configure:7148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7135 ac_err=`grep -v '^ *+' conftest.out` | 7148 ac_err=`grep -v '^ *+' conftest.out` |
7136 if test -z "$ac_err"; then | 7149 if test -z "$ac_err"; then |
7137 rm -rf conftest* | 7150 rm -rf conftest* |
7138 eval "ac_cv_header_$ac_safe=yes" | 7151 eval "ac_cv_header_$ac_safe=yes" |
7139 else | 7152 else |
7146 rm -f conftest* | 7159 rm -f conftest* |
7147 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7160 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7148 echo "$ac_t""yes" 1>&6 | 7161 echo "$ac_t""yes" 1>&6 |
7149 | 7162 |
7150 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7163 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7151 echo "configure:7152: checking for XmStringFree in -lXm" >&5 | 7164 echo "configure:7165: checking for XmStringFree in -lXm" >&5 |
7152 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7165 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7153 | 7166 |
7154 xe_check_libs=" -lXm " | 7167 xe_check_libs=" -lXm " |
7155 cat > conftest.$ac_ext <<EOF | 7168 cat > conftest.$ac_ext <<EOF |
7156 #line 7157 "configure" | 7169 #line 7170 "configure" |
7157 #include "confdefs.h" | 7170 #include "confdefs.h" |
7158 /* Override any gcc2 internal prototype to avoid an error. */ | 7171 /* Override any gcc2 internal prototype to avoid an error. */ |
7159 /* 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 |
7160 builtin and then its argument prototype would still apply. */ | 7173 builtin and then its argument prototype would still apply. */ |
7161 char XmStringFree(); | 7174 char XmStringFree(); |
7162 | 7175 |
7163 int main() { | 7176 int main() { |
7164 XmStringFree() | 7177 XmStringFree() |
7165 ; return 0; } | 7178 ; return 0; } |
7166 EOF | 7179 EOF |
7167 if { (eval echo configure:7168: \"$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 |
7168 rm -rf conftest* | 7181 rm -rf conftest* |
7169 eval "ac_cv_lib_$ac_lib_var=yes" | 7182 eval "ac_cv_lib_$ac_lib_var=yes" |
7170 else | 7183 else |
7171 echo "configure: failed program was:" >&5 | 7184 echo "configure: failed program was:" >&5 |
7172 cat conftest.$ac_ext >&5 | 7185 cat conftest.$ac_ext >&5 |
7191 fi | 7204 fi |
7192 | 7205 |
7193 | 7206 |
7194 if test "$have_motif" = "yes"; then | 7207 if test "$have_motif" = "yes"; then |
7195 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7208 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7196 echo "configure:7197: checking for Lesstif" >&5 | 7209 echo "configure:7210: checking for Lesstif" >&5 |
7197 cat > conftest.$ac_ext <<EOF | 7210 cat > conftest.$ac_ext <<EOF |
7198 #line 7199 "configure" | 7211 #line 7212 "configure" |
7199 #include "confdefs.h" | 7212 #include "confdefs.h" |
7200 #include <Xm/Xm.h> | 7213 #include <Xm/Xm.h> |
7201 #ifdef LESSTIF_VERSION | 7214 #ifdef LESSTIF_VERSION |
7202 yes | 7215 yes |
7203 #endif | 7216 #endif |
7477 fi | 7490 fi |
7478 fi | 7491 fi |
7479 | 7492 |
7480 if test "$with_mule" = "yes" ; then | 7493 if test "$with_mule" = "yes" ; then |
7481 echo "checking for Mule-related features" 1>&6 | 7494 echo "checking for Mule-related features" 1>&6 |
7482 echo "configure:7483: checking for Mule-related features" >&5 | 7495 echo "configure:7496: checking for Mule-related features" >&5 |
7483 { test "$extra_verbose" = "yes" && cat << \EOF | 7496 { test "$extra_verbose" = "yes" && cat << \EOF |
7484 Defining MULE | 7497 Defining MULE |
7485 EOF | 7498 EOF |
7486 cat >> confdefs.h <<\EOF | 7499 cat >> confdefs.h <<\EOF |
7487 #define MULE 1 | 7500 #define MULE 1 |
7502 | 7515 |
7503 for ac_hdr in libintl.h | 7516 for ac_hdr in libintl.h |
7504 do | 7517 do |
7505 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7518 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7506 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7519 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7507 echo "configure:7508: checking for $ac_hdr" >&5 | 7520 echo "configure:7521: checking for $ac_hdr" >&5 |
7508 | 7521 |
7509 cat > conftest.$ac_ext <<EOF | 7522 cat > conftest.$ac_ext <<EOF |
7510 #line 7511 "configure" | 7523 #line 7524 "configure" |
7511 #include "confdefs.h" | 7524 #include "confdefs.h" |
7512 #include <$ac_hdr> | 7525 #include <$ac_hdr> |
7513 EOF | 7526 EOF |
7514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7527 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7515 { (eval echo configure:7516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7528 { (eval echo configure:7529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7516 ac_err=`grep -v '^ *+' conftest.out` | 7529 ac_err=`grep -v '^ *+' conftest.out` |
7517 if test -z "$ac_err"; then | 7530 if test -z "$ac_err"; then |
7518 rm -rf conftest* | 7531 rm -rf conftest* |
7519 eval "ac_cv_header_$ac_safe=yes" | 7532 eval "ac_cv_header_$ac_safe=yes" |
7520 else | 7533 else |
7541 fi | 7554 fi |
7542 done | 7555 done |
7543 | 7556 |
7544 | 7557 |
7545 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7558 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7546 echo "configure:7547: checking for strerror in -lintl" >&5 | 7559 echo "configure:7560: checking for strerror in -lintl" >&5 |
7547 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7560 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7548 | 7561 |
7549 xe_check_libs=" -lintl " | 7562 xe_check_libs=" -lintl " |
7550 cat > conftest.$ac_ext <<EOF | 7563 cat > conftest.$ac_ext <<EOF |
7551 #line 7552 "configure" | 7564 #line 7565 "configure" |
7552 #include "confdefs.h" | 7565 #include "confdefs.h" |
7553 /* Override any gcc2 internal prototype to avoid an error. */ | 7566 /* Override any gcc2 internal prototype to avoid an error. */ |
7554 /* We use char because int might match the return type of a gcc2 | 7567 /* We use char because int might match the return type of a gcc2 |
7555 builtin and then its argument prototype would still apply. */ | 7568 builtin and then its argument prototype would still apply. */ |
7556 char strerror(); | 7569 char strerror(); |
7557 | 7570 |
7558 int main() { | 7571 int main() { |
7559 strerror() | 7572 strerror() |
7560 ; return 0; } | 7573 ; return 0; } |
7561 EOF | 7574 EOF |
7562 if { (eval echo configure:7563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7575 if { (eval echo configure:7576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7563 rm -rf conftest* | 7576 rm -rf conftest* |
7564 eval "ac_cv_lib_$ac_lib_var=yes" | 7577 eval "ac_cv_lib_$ac_lib_var=yes" |
7565 else | 7578 else |
7566 echo "configure: failed program was:" >&5 | 7579 echo "configure: failed program was:" >&5 |
7567 cat conftest.$ac_ext >&5 | 7580 cat conftest.$ac_ext >&5 |
7590 fi | 7603 fi |
7591 | 7604 |
7592 | 7605 |
7593 | 7606 |
7594 echo "checking for Mule input methods" 1>&6 | 7607 echo "checking for Mule input methods" 1>&6 |
7595 echo "configure:7596: checking for Mule input methods" >&5 | 7608 echo "configure:7609: checking for Mule input methods" >&5 |
7596 case "$with_xim" in "" | "yes" ) | 7609 case "$with_xim" in "" | "yes" ) |
7597 echo "checking for XIM" 1>&6 | 7610 echo "checking for XIM" 1>&6 |
7598 echo "configure:7599: checking for XIM" >&5 | 7611 echo "configure:7612: checking for XIM" >&5 |
7599 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7612 if test "$have_lesstif" = "yes"; then with_xim=xlib |
7600 else | 7613 else |
7601 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7614 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7602 echo "configure:7603: checking for XmImMbLookupString in -lXm" >&5 | 7615 echo "configure:7616: checking for XmImMbLookupString in -lXm" >&5 |
7603 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7616 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7604 | 7617 |
7605 xe_check_libs=" -lXm " | 7618 xe_check_libs=" -lXm " |
7606 cat > conftest.$ac_ext <<EOF | 7619 cat > conftest.$ac_ext <<EOF |
7607 #line 7608 "configure" | 7620 #line 7621 "configure" |
7608 #include "confdefs.h" | 7621 #include "confdefs.h" |
7609 /* Override any gcc2 internal prototype to avoid an error. */ | 7622 /* Override any gcc2 internal prototype to avoid an error. */ |
7610 /* We use char because int might match the return type of a gcc2 | 7623 /* We use char because int might match the return type of a gcc2 |
7611 builtin and then its argument prototype would still apply. */ | 7624 builtin and then its argument prototype would still apply. */ |
7612 char XmImMbLookupString(); | 7625 char XmImMbLookupString(); |
7613 | 7626 |
7614 int main() { | 7627 int main() { |
7615 XmImMbLookupString() | 7628 XmImMbLookupString() |
7616 ; return 0; } | 7629 ; return 0; } |
7617 EOF | 7630 EOF |
7618 if { (eval echo configure:7619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7631 if { (eval echo configure:7632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7619 rm -rf conftest* | 7632 rm -rf conftest* |
7620 eval "ac_cv_lib_$ac_lib_var=yes" | 7633 eval "ac_cv_lib_$ac_lib_var=yes" |
7621 else | 7634 else |
7622 echo "configure: failed program was:" >&5 | 7635 echo "configure: failed program was:" >&5 |
7623 cat conftest.$ac_ext >&5 | 7636 cat conftest.$ac_ext >&5 |
7679 fi | 7692 fi |
7680 fi | 7693 fi |
7681 | 7694 |
7682 if test "$with_xfs" = "yes" ; then | 7695 if test "$with_xfs" = "yes" ; then |
7683 echo "checking for XFontSet" 1>&6 | 7696 echo "checking for XFontSet" 1>&6 |
7684 echo "configure:7685: checking for XFontSet" >&5 | 7697 echo "configure:7698: checking for XFontSet" >&5 |
7685 | 7698 |
7686 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7699 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7687 echo "configure:7688: checking for XmbDrawString in -lX11" >&5 | 7700 echo "configure:7701: checking for XmbDrawString in -lX11" >&5 |
7688 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7701 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7689 | 7702 |
7690 xe_check_libs=" -lX11 " | 7703 xe_check_libs=" -lX11 " |
7691 cat > conftest.$ac_ext <<EOF | 7704 cat > conftest.$ac_ext <<EOF |
7692 #line 7693 "configure" | 7705 #line 7706 "configure" |
7693 #include "confdefs.h" | 7706 #include "confdefs.h" |
7694 /* Override any gcc2 internal prototype to avoid an error. */ | 7707 /* Override any gcc2 internal prototype to avoid an error. */ |
7695 /* We use char because int might match the return type of a gcc2 | 7708 /* We use char because int might match the return type of a gcc2 |
7696 builtin and then its argument prototype would still apply. */ | 7709 builtin and then its argument prototype would still apply. */ |
7697 char XmbDrawString(); | 7710 char XmbDrawString(); |
7698 | 7711 |
7699 int main() { | 7712 int main() { |
7700 XmbDrawString() | 7713 XmbDrawString() |
7701 ; return 0; } | 7714 ; return 0; } |
7702 EOF | 7715 EOF |
7703 if { (eval echo configure:7704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7716 if { (eval echo configure:7717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7704 rm -rf conftest* | 7717 rm -rf conftest* |
7705 eval "ac_cv_lib_$ac_lib_var=yes" | 7718 eval "ac_cv_lib_$ac_lib_var=yes" |
7706 else | 7719 else |
7707 echo "configure: failed program was:" >&5 | 7720 echo "configure: failed program was:" >&5 |
7708 cat conftest.$ac_ext >&5 | 7721 cat conftest.$ac_ext >&5 |
7738 fi | 7751 fi |
7739 fi | 7752 fi |
7740 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7753 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7741 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7754 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7742 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7755 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7743 echo "configure:7744: checking for wnn/jllib.h" >&5 | 7756 echo "configure:7757: checking for wnn/jllib.h" >&5 |
7744 | 7757 |
7745 cat > conftest.$ac_ext <<EOF | 7758 cat > conftest.$ac_ext <<EOF |
7746 #line 7747 "configure" | 7759 #line 7760 "configure" |
7747 #include "confdefs.h" | 7760 #include "confdefs.h" |
7748 #include <wnn/jllib.h> | 7761 #include <wnn/jllib.h> |
7749 EOF | 7762 EOF |
7750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7751 { (eval echo configure:7752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7764 { (eval echo configure:7765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7752 ac_err=`grep -v '^ *+' conftest.out` | 7765 ac_err=`grep -v '^ *+' conftest.out` |
7753 if test -z "$ac_err"; then | 7766 if test -z "$ac_err"; then |
7754 rm -rf conftest* | 7767 rm -rf conftest* |
7755 eval "ac_cv_header_$ac_safe=yes" | 7768 eval "ac_cv_header_$ac_safe=yes" |
7756 else | 7769 else |
7771 } | 7784 } |
7772 if test "$with_wnn" != "no"; then | 7785 if test "$with_wnn" != "no"; then |
7773 for ac_func in crypt | 7786 for ac_func in crypt |
7774 do | 7787 do |
7775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7776 echo "configure:7777: checking for $ac_func" >&5 | 7789 echo "configure:7790: checking for $ac_func" >&5 |
7777 | 7790 |
7778 cat > conftest.$ac_ext <<EOF | 7791 cat > conftest.$ac_ext <<EOF |
7779 #line 7780 "configure" | 7792 #line 7793 "configure" |
7780 #include "confdefs.h" | 7793 #include "confdefs.h" |
7781 /* System header to define __stub macros and hopefully few prototypes, | 7794 /* System header to define __stub macros and hopefully few prototypes, |
7782 which can conflict with char $ac_func(); below. */ | 7795 which can conflict with char $ac_func(); below. */ |
7783 #include <assert.h> | 7796 #include <assert.h> |
7784 /* Override any gcc2 internal prototype to avoid an error. */ | 7797 /* Override any gcc2 internal prototype to avoid an error. */ |
7797 $ac_func(); | 7810 $ac_func(); |
7798 #endif | 7811 #endif |
7799 | 7812 |
7800 ; return 0; } | 7813 ; return 0; } |
7801 EOF | 7814 EOF |
7802 if { (eval echo configure:7803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7815 if { (eval echo configure:7816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7803 rm -rf conftest* | 7816 rm -rf conftest* |
7804 eval "ac_cv_func_$ac_func=yes" | 7817 eval "ac_cv_func_$ac_func=yes" |
7805 else | 7818 else |
7806 echo "configure: failed program was:" >&5 | 7819 echo "configure: failed program was:" >&5 |
7807 cat conftest.$ac_ext >&5 | 7820 cat conftest.$ac_ext >&5 |
7826 fi | 7839 fi |
7827 done | 7840 done |
7828 | 7841 |
7829 test "$ac_cv_func_crypt" != "yes" && { | 7842 test "$ac_cv_func_crypt" != "yes" && { |
7830 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7843 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7831 echo "configure:7832: checking for crypt in -lcrypt" >&5 | 7844 echo "configure:7845: checking for crypt in -lcrypt" >&5 |
7832 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7845 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7833 | 7846 |
7834 xe_check_libs=" -lcrypt " | 7847 xe_check_libs=" -lcrypt " |
7835 cat > conftest.$ac_ext <<EOF | 7848 cat > conftest.$ac_ext <<EOF |
7836 #line 7837 "configure" | 7849 #line 7850 "configure" |
7837 #include "confdefs.h" | 7850 #include "confdefs.h" |
7838 /* Override any gcc2 internal prototype to avoid an error. */ | 7851 /* Override any gcc2 internal prototype to avoid an error. */ |
7839 /* We use char because int might match the return type of a gcc2 | 7852 /* We use char because int might match the return type of a gcc2 |
7840 builtin and then its argument prototype would still apply. */ | 7853 builtin and then its argument prototype would still apply. */ |
7841 char crypt(); | 7854 char crypt(); |
7842 | 7855 |
7843 int main() { | 7856 int main() { |
7844 crypt() | 7857 crypt() |
7845 ; return 0; } | 7858 ; return 0; } |
7846 EOF | 7859 EOF |
7847 if { (eval echo configure:7848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7860 if { (eval echo configure:7861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7848 rm -rf conftest* | 7861 rm -rf conftest* |
7849 eval "ac_cv_lib_$ac_lib_var=yes" | 7862 eval "ac_cv_lib_$ac_lib_var=yes" |
7850 else | 7863 else |
7851 echo "configure: failed program was:" >&5 | 7864 echo "configure: failed program was:" >&5 |
7852 cat conftest.$ac_ext >&5 | 7865 cat conftest.$ac_ext >&5 |
7876 | 7889 |
7877 } | 7890 } |
7878 fi | 7891 fi |
7879 test -z "$with_wnn" && { | 7892 test -z "$with_wnn" && { |
7880 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7893 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7881 echo "configure:7882: checking for jl_dic_list_e in -lwnn" >&5 | 7894 echo "configure:7895: checking for jl_dic_list_e in -lwnn" >&5 |
7882 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7895 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7883 | 7896 |
7884 xe_check_libs=" -lwnn " | 7897 xe_check_libs=" -lwnn " |
7885 cat > conftest.$ac_ext <<EOF | 7898 cat > conftest.$ac_ext <<EOF |
7886 #line 7887 "configure" | 7899 #line 7900 "configure" |
7887 #include "confdefs.h" | 7900 #include "confdefs.h" |
7888 /* Override any gcc2 internal prototype to avoid an error. */ | 7901 /* Override any gcc2 internal prototype to avoid an error. */ |
7889 /* We use char because int might match the return type of a gcc2 | 7902 /* We use char because int might match the return type of a gcc2 |
7890 builtin and then its argument prototype would still apply. */ | 7903 builtin and then its argument prototype would still apply. */ |
7891 char jl_dic_list_e(); | 7904 char jl_dic_list_e(); |
7892 | 7905 |
7893 int main() { | 7906 int main() { |
7894 jl_dic_list_e() | 7907 jl_dic_list_e() |
7895 ; return 0; } | 7908 ; return 0; } |
7896 EOF | 7909 EOF |
7897 if { (eval echo configure:7898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7910 if { (eval echo configure:7911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7898 rm -rf conftest* | 7911 rm -rf conftest* |
7899 eval "ac_cv_lib_$ac_lib_var=yes" | 7912 eval "ac_cv_lib_$ac_lib_var=yes" |
7900 else | 7913 else |
7901 echo "configure: failed program was:" >&5 | 7914 echo "configure: failed program was:" >&5 |
7902 cat conftest.$ac_ext >&5 | 7915 cat conftest.$ac_ext >&5 |
7930 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7943 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
7931 fi | 7944 fi |
7932 if test "$with_wnn6" != "no"; then | 7945 if test "$with_wnn6" != "no"; then |
7933 | 7946 |
7934 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7947 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
7935 echo "configure:7936: checking for jl_fi_dic_list in -lwnn" >&5 | 7948 echo "configure:7949: checking for jl_fi_dic_list in -lwnn" >&5 |
7936 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7949 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
7937 | 7950 |
7938 xe_check_libs=" -lwnn " | 7951 xe_check_libs=" -lwnn " |
7939 cat > conftest.$ac_ext <<EOF | 7952 cat > conftest.$ac_ext <<EOF |
7940 #line 7941 "configure" | 7953 #line 7954 "configure" |
7941 #include "confdefs.h" | 7954 #include "confdefs.h" |
7942 /* Override any gcc2 internal prototype to avoid an error. */ | 7955 /* Override any gcc2 internal prototype to avoid an error. */ |
7943 /* We use char because int might match the return type of a gcc2 | 7956 /* We use char because int might match the return type of a gcc2 |
7944 builtin and then its argument prototype would still apply. */ | 7957 builtin and then its argument prototype would still apply. */ |
7945 char jl_fi_dic_list(); | 7958 char jl_fi_dic_list(); |
7946 | 7959 |
7947 int main() { | 7960 int main() { |
7948 jl_fi_dic_list() | 7961 jl_fi_dic_list() |
7949 ; return 0; } | 7962 ; return 0; } |
7950 EOF | 7963 EOF |
7951 if { (eval echo configure:7952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7964 if { (eval echo configure:7965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7952 rm -rf conftest* | 7965 rm -rf conftest* |
7953 eval "ac_cv_lib_$ac_lib_var=yes" | 7966 eval "ac_cv_lib_$ac_lib_var=yes" |
7954 else | 7967 else |
7955 echo "configure: failed program was:" >&5 | 7968 echo "configure: failed program was:" >&5 |
7956 cat conftest.$ac_ext >&5 | 7969 cat conftest.$ac_ext >&5 |
7981 | 7994 |
7982 canna_includes_found=no | 7995 canna_includes_found=no |
7983 if test "$with_canna" != "no"; then | 7996 if test "$with_canna" != "no"; then |
7984 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 7997 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
7985 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 7998 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
7986 echo "configure:7987: checking for canna/jrkanji.h" >&5 | 7999 echo "configure:8000: checking for canna/jrkanji.h" >&5 |
7987 | 8000 |
7988 cat > conftest.$ac_ext <<EOF | 8001 cat > conftest.$ac_ext <<EOF |
7989 #line 7990 "configure" | 8002 #line 8003 "configure" |
7990 #include "confdefs.h" | 8003 #include "confdefs.h" |
7991 #include <canna/jrkanji.h> | 8004 #include <canna/jrkanji.h> |
7992 EOF | 8005 EOF |
7993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8006 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7994 { (eval echo configure:7995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8007 { (eval echo configure:8008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7995 ac_err=`grep -v '^ *+' conftest.out` | 8008 ac_err=`grep -v '^ *+' conftest.out` |
7996 if test -z "$ac_err"; then | 8009 if test -z "$ac_err"; then |
7997 rm -rf conftest* | 8010 rm -rf conftest* |
7998 eval "ac_cv_header_$ac_safe=yes" | 8011 eval "ac_cv_header_$ac_safe=yes" |
7999 else | 8012 else |
8016 -d "/usr/local/canna/include"; then | 8029 -d "/usr/local/canna/include"; then |
8017 save_c_switch_site="$c_switch_site" | 8030 save_c_switch_site="$c_switch_site" |
8018 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8031 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8019 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8032 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8020 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8033 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8021 echo "configure:8022: checking for canna/jrkanji.h" >&5 | 8034 echo "configure:8035: checking for canna/jrkanji.h" >&5 |
8022 | 8035 |
8023 cat > conftest.$ac_ext <<EOF | 8036 cat > conftest.$ac_ext <<EOF |
8024 #line 8025 "configure" | 8037 #line 8038 "configure" |
8025 #include "confdefs.h" | 8038 #include "confdefs.h" |
8026 #include <canna/jrkanji.h> | 8039 #include <canna/jrkanji.h> |
8027 EOF | 8040 EOF |
8028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8041 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8029 { (eval echo configure:8030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8042 { (eval echo configure:8043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8030 ac_err=`grep -v '^ *+' conftest.out` | 8043 ac_err=`grep -v '^ *+' conftest.out` |
8031 if test -z "$ac_err"; then | 8044 if test -z "$ac_err"; then |
8032 rm -rf conftest* | 8045 rm -rf conftest* |
8033 eval "ac_cv_header_$ac_safe=yes" | 8046 eval "ac_cv_header_$ac_safe=yes" |
8034 else | 8047 else |
8052 fi | 8065 fi |
8053 fi | 8066 fi |
8054 | 8067 |
8055 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8068 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8056 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8069 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8057 echo "configure:8058: checking for canna/RK.h" >&5 | 8070 echo "configure:8071: checking for canna/RK.h" >&5 |
8058 | 8071 |
8059 cat > conftest.$ac_ext <<EOF | 8072 cat > conftest.$ac_ext <<EOF |
8060 #line 8061 "configure" | 8073 #line 8074 "configure" |
8061 #include "confdefs.h" | 8074 #include "confdefs.h" |
8062 #include <canna/RK.h> | 8075 #include <canna/RK.h> |
8063 EOF | 8076 EOF |
8064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8065 { (eval echo configure:8066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8078 { (eval echo configure:8079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8066 ac_err=`grep -v '^ *+' conftest.out` | 8079 ac_err=`grep -v '^ *+' conftest.out` |
8067 if test -z "$ac_err"; then | 8080 if test -z "$ac_err"; then |
8068 rm -rf conftest* | 8081 rm -rf conftest* |
8069 eval "ac_cv_header_$ac_safe=yes" | 8082 eval "ac_cv_header_$ac_safe=yes" |
8070 else | 8083 else |
8083 with_canna=no | 8096 with_canna=no |
8084 fi | 8097 fi |
8085 } | 8098 } |
8086 test -z "$with_canna" && { | 8099 test -z "$with_canna" && { |
8087 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8100 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8088 echo "configure:8089: checking for RkBgnBun in -lRKC" >&5 | 8101 echo "configure:8102: checking for RkBgnBun in -lRKC" >&5 |
8089 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8102 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8090 | 8103 |
8091 xe_check_libs=" -lRKC " | 8104 xe_check_libs=" -lRKC " |
8092 cat > conftest.$ac_ext <<EOF | 8105 cat > conftest.$ac_ext <<EOF |
8093 #line 8094 "configure" | 8106 #line 8107 "configure" |
8094 #include "confdefs.h" | 8107 #include "confdefs.h" |
8095 /* Override any gcc2 internal prototype to avoid an error. */ | 8108 /* Override any gcc2 internal prototype to avoid an error. */ |
8096 /* We use char because int might match the return type of a gcc2 | 8109 /* We use char because int might match the return type of a gcc2 |
8097 builtin and then its argument prototype would still apply. */ | 8110 builtin and then its argument prototype would still apply. */ |
8098 char RkBgnBun(); | 8111 char RkBgnBun(); |
8099 | 8112 |
8100 int main() { | 8113 int main() { |
8101 RkBgnBun() | 8114 RkBgnBun() |
8102 ; return 0; } | 8115 ; return 0; } |
8103 EOF | 8116 EOF |
8104 if { (eval echo configure:8105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8117 if { (eval echo configure:8118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8105 rm -rf conftest* | 8118 rm -rf conftest* |
8106 eval "ac_cv_lib_$ac_lib_var=yes" | 8119 eval "ac_cv_lib_$ac_lib_var=yes" |
8107 else | 8120 else |
8108 echo "configure: failed program was:" >&5 | 8121 echo "configure: failed program was:" >&5 |
8109 cat conftest.$ac_ext >&5 | 8122 cat conftest.$ac_ext >&5 |
8122 fi | 8135 fi |
8123 | 8136 |
8124 } | 8137 } |
8125 test -z "$with_canna" && { | 8138 test -z "$with_canna" && { |
8126 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8139 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8127 echo "configure:8128: checking for jrKanjiControl in -lcanna" >&5 | 8140 echo "configure:8141: checking for jrKanjiControl in -lcanna" >&5 |
8128 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8141 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8129 | 8142 |
8130 xe_check_libs=" -lcanna " | 8143 xe_check_libs=" -lcanna " |
8131 cat > conftest.$ac_ext <<EOF | 8144 cat > conftest.$ac_ext <<EOF |
8132 #line 8133 "configure" | 8145 #line 8146 "configure" |
8133 #include "confdefs.h" | 8146 #include "confdefs.h" |
8134 /* Override any gcc2 internal prototype to avoid an error. */ | 8147 /* Override any gcc2 internal prototype to avoid an error. */ |
8135 /* We use char because int might match the return type of a gcc2 | 8148 /* We use char because int might match the return type of a gcc2 |
8136 builtin and then its argument prototype would still apply. */ | 8149 builtin and then its argument prototype would still apply. */ |
8137 char jrKanjiControl(); | 8150 char jrKanjiControl(); |
8138 | 8151 |
8139 int main() { | 8152 int main() { |
8140 jrKanjiControl() | 8153 jrKanjiControl() |
8141 ; return 0; } | 8154 ; return 0; } |
8142 EOF | 8155 EOF |
8143 if { (eval echo configure:8144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8156 if { (eval echo configure:8157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8144 rm -rf conftest* | 8157 rm -rf conftest* |
8145 eval "ac_cv_lib_$ac_lib_var=yes" | 8158 eval "ac_cv_lib_$ac_lib_var=yes" |
8146 else | 8159 else |
8147 echo "configure: failed program was:" >&5 | 8160 echo "configure: failed program was:" >&5 |
8148 cat conftest.$ac_ext >&5 | 8161 cat conftest.$ac_ext >&5 |
8187 | 8200 |
8188 if test "$need_motif" = "yes" ; then | 8201 if test "$need_motif" = "yes" ; then |
8189 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8202 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8190 | 8203 |
8191 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8204 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8192 echo "configure:8193: checking for layout_object_getvalue in -li18n" >&5 | 8205 echo "configure:8206: checking for layout_object_getvalue in -li18n" >&5 |
8193 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8206 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8194 | 8207 |
8195 xe_check_libs=" -li18n " | 8208 xe_check_libs=" -li18n " |
8196 cat > conftest.$ac_ext <<EOF | 8209 cat > conftest.$ac_ext <<EOF |
8197 #line 8198 "configure" | 8210 #line 8211 "configure" |
8198 #include "confdefs.h" | 8211 #include "confdefs.h" |
8199 /* Override any gcc2 internal prototype to avoid an error. */ | 8212 /* Override any gcc2 internal prototype to avoid an error. */ |
8200 /* We use char because int might match the return type of a gcc2 | 8213 /* We use char because int might match the return type of a gcc2 |
8201 builtin and then its argument prototype would still apply. */ | 8214 builtin and then its argument prototype would still apply. */ |
8202 char layout_object_getvalue(); | 8215 char layout_object_getvalue(); |
8203 | 8216 |
8204 int main() { | 8217 int main() { |
8205 layout_object_getvalue() | 8218 layout_object_getvalue() |
8206 ; return 0; } | 8219 ; return 0; } |
8207 EOF | 8220 EOF |
8208 if { (eval echo configure:8209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8221 if { (eval echo configure:8222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8209 rm -rf conftest* | 8222 rm -rf conftest* |
8210 eval "ac_cv_lib_$ac_lib_var=yes" | 8223 eval "ac_cv_lib_$ac_lib_var=yes" |
8211 else | 8224 else |
8212 echo "configure: failed program was:" >&5 | 8225 echo "configure: failed program was:" >&5 |
8213 cat conftest.$ac_ext >&5 | 8226 cat conftest.$ac_ext >&5 |
8289 fi | 8302 fi |
8290 | 8303 |
8291 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 | 8304 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 |
8292 do | 8305 do |
8293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8306 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8294 echo "configure:8295: checking for $ac_func" >&5 | 8307 echo "configure:8308: checking for $ac_func" >&5 |
8295 | 8308 |
8296 cat > conftest.$ac_ext <<EOF | 8309 cat > conftest.$ac_ext <<EOF |
8297 #line 8298 "configure" | 8310 #line 8311 "configure" |
8298 #include "confdefs.h" | 8311 #include "confdefs.h" |
8299 /* System header to define __stub macros and hopefully few prototypes, | 8312 /* System header to define __stub macros and hopefully few prototypes, |
8300 which can conflict with char $ac_func(); below. */ | 8313 which can conflict with char $ac_func(); below. */ |
8301 #include <assert.h> | 8314 #include <assert.h> |
8302 /* Override any gcc2 internal prototype to avoid an error. */ | 8315 /* Override any gcc2 internal prototype to avoid an error. */ |
8315 $ac_func(); | 8328 $ac_func(); |
8316 #endif | 8329 #endif |
8317 | 8330 |
8318 ; return 0; } | 8331 ; return 0; } |
8319 EOF | 8332 EOF |
8320 if { (eval echo configure:8321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8333 if { (eval echo configure:8334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8321 rm -rf conftest* | 8334 rm -rf conftest* |
8322 eval "ac_cv_func_$ac_func=yes" | 8335 eval "ac_cv_func_$ac_func=yes" |
8323 else | 8336 else |
8324 echo "configure: failed program was:" >&5 | 8337 echo "configure: failed program was:" >&5 |
8325 cat conftest.$ac_ext >&5 | 8338 cat conftest.$ac_ext >&5 |
8352 fi ;; | 8365 fi ;; |
8353 * ) | 8366 * ) |
8354 for ac_func in realpath | 8367 for ac_func in realpath |
8355 do | 8368 do |
8356 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8357 echo "configure:8358: checking for $ac_func" >&5 | 8370 echo "configure:8371: checking for $ac_func" >&5 |
8358 | 8371 |
8359 cat > conftest.$ac_ext <<EOF | 8372 cat > conftest.$ac_ext <<EOF |
8360 #line 8361 "configure" | 8373 #line 8374 "configure" |
8361 #include "confdefs.h" | 8374 #include "confdefs.h" |
8362 /* System header to define __stub macros and hopefully few prototypes, | 8375 /* System header to define __stub macros and hopefully few prototypes, |
8363 which can conflict with char $ac_func(); below. */ | 8376 which can conflict with char $ac_func(); below. */ |
8364 #include <assert.h> | 8377 #include <assert.h> |
8365 /* Override any gcc2 internal prototype to avoid an error. */ | 8378 /* Override any gcc2 internal prototype to avoid an error. */ |
8378 $ac_func(); | 8391 $ac_func(); |
8379 #endif | 8392 #endif |
8380 | 8393 |
8381 ; return 0; } | 8394 ; return 0; } |
8382 EOF | 8395 EOF |
8383 if { (eval echo configure:8384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8396 if { (eval echo configure:8397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8384 rm -rf conftest* | 8397 rm -rf conftest* |
8385 eval "ac_cv_func_$ac_func=yes" | 8398 eval "ac_cv_func_$ac_func=yes" |
8386 else | 8399 else |
8387 echo "configure: failed program was:" >&5 | 8400 echo "configure: failed program was:" >&5 |
8388 cat conftest.$ac_ext >&5 | 8401 cat conftest.$ac_ext >&5 |
8411 echo " xemacs will be linked with \"realpath.o\"" | 8424 echo " xemacs will be linked with \"realpath.o\"" |
8412 fi ;; | 8425 fi ;; |
8413 esac | 8426 esac |
8414 | 8427 |
8415 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8428 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8416 echo "configure:8417: checking whether netdb declares h_errno" >&5 | 8429 echo "configure:8430: checking whether netdb declares h_errno" >&5 |
8417 cat > conftest.$ac_ext <<EOF | 8430 cat > conftest.$ac_ext <<EOF |
8418 #line 8419 "configure" | 8431 #line 8432 "configure" |
8419 #include "confdefs.h" | 8432 #include "confdefs.h" |
8420 #include <netdb.h> | 8433 #include <netdb.h> |
8421 int main() { | 8434 int main() { |
8422 return h_errno; | 8435 return h_errno; |
8423 ; return 0; } | 8436 ; return 0; } |
8424 EOF | 8437 EOF |
8425 if { (eval echo configure:8426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8438 if { (eval echo configure:8439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8426 rm -rf conftest* | 8439 rm -rf conftest* |
8427 echo "$ac_t""yes" 1>&6 | 8440 echo "$ac_t""yes" 1>&6 |
8428 { test "$extra_verbose" = "yes" && cat << \EOF | 8441 { test "$extra_verbose" = "yes" && cat << \EOF |
8429 Defining HAVE_H_ERRNO | 8442 Defining HAVE_H_ERRNO |
8430 EOF | 8443 EOF |
8440 echo "$ac_t""no" 1>&6 | 8453 echo "$ac_t""no" 1>&6 |
8441 fi | 8454 fi |
8442 rm -f conftest* | 8455 rm -f conftest* |
8443 | 8456 |
8444 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8457 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8445 echo "configure:8446: checking for sigsetjmp" >&5 | 8458 echo "configure:8459: checking for sigsetjmp" >&5 |
8446 cat > conftest.$ac_ext <<EOF | 8459 cat > conftest.$ac_ext <<EOF |
8447 #line 8448 "configure" | 8460 #line 8461 "configure" |
8448 #include "confdefs.h" | 8461 #include "confdefs.h" |
8449 #include <setjmp.h> | 8462 #include <setjmp.h> |
8450 int main() { | 8463 int main() { |
8451 sigjmp_buf bar; sigsetjmp (bar, 0); | 8464 sigjmp_buf bar; sigsetjmp (bar, 0); |
8452 ; return 0; } | 8465 ; return 0; } |
8453 EOF | 8466 EOF |
8454 if { (eval echo configure:8455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8467 if { (eval echo configure:8468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8455 rm -rf conftest* | 8468 rm -rf conftest* |
8456 echo "$ac_t""yes" 1>&6 | 8469 echo "$ac_t""yes" 1>&6 |
8457 { test "$extra_verbose" = "yes" && cat << \EOF | 8470 { test "$extra_verbose" = "yes" && cat << \EOF |
8458 Defining HAVE_SIGSETJMP | 8471 Defining HAVE_SIGSETJMP |
8459 EOF | 8472 EOF |
8469 echo "$ac_t""no" 1>&6 | 8482 echo "$ac_t""no" 1>&6 |
8470 fi | 8483 fi |
8471 rm -f conftest* | 8484 rm -f conftest* |
8472 | 8485 |
8473 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8486 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
8474 echo "configure:8475: checking whether localtime caches TZ" >&5 | 8487 echo "configure:8488: checking whether localtime caches TZ" >&5 |
8475 | 8488 |
8476 if test "$ac_cv_func_tzset" = "yes"; then | 8489 if test "$ac_cv_func_tzset" = "yes"; then |
8477 cat > conftest.$ac_ext <<EOF | 8490 cat > conftest.$ac_ext <<EOF |
8478 #line 8479 "configure" | 8491 #line 8492 "configure" |
8479 #include "confdefs.h" | 8492 #include "confdefs.h" |
8480 #include <time.h> | 8493 #include <time.h> |
8481 #if STDC_HEADERS | 8494 #if STDC_HEADERS |
8482 # include <stdlib.h> | 8495 # include <stdlib.h> |
8483 #endif | 8496 #endif |
8508 if (localtime (&now)->tm_hour != hour_unset) | 8521 if (localtime (&now)->tm_hour != hour_unset) |
8509 exit (1); | 8522 exit (1); |
8510 exit (0); | 8523 exit (0); |
8511 } | 8524 } |
8512 EOF | 8525 EOF |
8513 if { (eval echo configure:8514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8526 if { (eval echo configure:8527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8514 then | 8527 then |
8515 emacs_cv_localtime_cache=no | 8528 emacs_cv_localtime_cache=no |
8516 else | 8529 else |
8517 echo "configure: failed program was:" >&5 | 8530 echo "configure: failed program was:" >&5 |
8518 cat conftest.$ac_ext >&5 | 8531 cat conftest.$ac_ext >&5 |
8537 | 8550 |
8538 fi | 8551 fi |
8539 | 8552 |
8540 if test "$HAVE_TIMEVAL" = "yes"; then | 8553 if test "$HAVE_TIMEVAL" = "yes"; then |
8541 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8554 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
8542 echo "configure:8543: checking whether gettimeofday accepts one or two arguments" >&5 | 8555 echo "configure:8556: checking whether gettimeofday accepts one or two arguments" >&5 |
8543 cat > conftest.$ac_ext <<EOF | 8556 cat > conftest.$ac_ext <<EOF |
8544 #line 8545 "configure" | 8557 #line 8558 "configure" |
8545 #include "confdefs.h" | 8558 #include "confdefs.h" |
8546 | 8559 |
8547 #ifdef TIME_WITH_SYS_TIME | 8560 #ifdef TIME_WITH_SYS_TIME |
8548 #include <sys/time.h> | 8561 #include <sys/time.h> |
8549 #include <time.h> | 8562 #include <time.h> |
8561 struct timezone dummy; | 8574 struct timezone dummy; |
8562 gettimeofday (&time, &dummy); | 8575 gettimeofday (&time, &dummy); |
8563 | 8576 |
8564 ; return 0; } | 8577 ; return 0; } |
8565 EOF | 8578 EOF |
8566 if { (eval echo configure:8567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8579 if { (eval echo configure:8580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8567 rm -rf conftest* | 8580 rm -rf conftest* |
8568 echo "$ac_t""two" 1>&6 | 8581 echo "$ac_t""two" 1>&6 |
8569 else | 8582 else |
8570 echo "configure: failed program was:" >&5 | 8583 echo "configure: failed program was:" >&5 |
8571 cat conftest.$ac_ext >&5 | 8584 cat conftest.$ac_ext >&5 |
8583 rm -f conftest* | 8596 rm -f conftest* |
8584 fi | 8597 fi |
8585 | 8598 |
8586 | 8599 |
8587 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8600 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
8588 echo "configure:8589: checking for inline" >&5 | 8601 echo "configure:8602: checking for inline" >&5 |
8589 | 8602 |
8590 ac_cv_c_inline=no | 8603 ac_cv_c_inline=no |
8591 for ac_kw in inline __inline__ __inline; do | 8604 for ac_kw in inline __inline__ __inline; do |
8592 cat > conftest.$ac_ext <<EOF | 8605 cat > conftest.$ac_ext <<EOF |
8593 #line 8594 "configure" | 8606 #line 8607 "configure" |
8594 #include "confdefs.h" | 8607 #include "confdefs.h" |
8595 | 8608 |
8596 int main() { | 8609 int main() { |
8597 } $ac_kw foo() { | 8610 } $ac_kw foo() { |
8598 ; return 0; } | 8611 ; return 0; } |
8599 EOF | 8612 EOF |
8600 if { (eval echo configure:8601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8613 if { (eval echo configure:8614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8601 rm -rf conftest* | 8614 rm -rf conftest* |
8602 ac_cv_c_inline=$ac_kw; break | 8615 ac_cv_c_inline=$ac_kw; break |
8603 else | 8616 else |
8604 echo "configure: failed program was:" >&5 | 8617 echo "configure: failed program was:" >&5 |
8605 cat conftest.$ac_ext >&5 | 8618 cat conftest.$ac_ext >&5 |
8645 | 8658 |
8646 | 8659 |
8647 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8660 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
8648 # for constant arguments. Useless! | 8661 # for constant arguments. Useless! |
8649 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8662 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
8650 echo "configure:8651: checking for working alloca.h" >&5 | 8663 echo "configure:8664: checking for working alloca.h" >&5 |
8651 | 8664 |
8652 cat > conftest.$ac_ext <<EOF | 8665 cat > conftest.$ac_ext <<EOF |
8653 #line 8654 "configure" | 8666 #line 8667 "configure" |
8654 #include "confdefs.h" | 8667 #include "confdefs.h" |
8655 #include <alloca.h> | 8668 #include <alloca.h> |
8656 int main() { | 8669 int main() { |
8657 char *p = alloca(2 * sizeof(int)); | 8670 char *p = alloca(2 * sizeof(int)); |
8658 ; return 0; } | 8671 ; return 0; } |
8659 EOF | 8672 EOF |
8660 if { (eval echo configure:8661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8673 if { (eval echo configure:8674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8661 rm -rf conftest* | 8674 rm -rf conftest* |
8662 ac_cv_header_alloca_h=yes | 8675 ac_cv_header_alloca_h=yes |
8663 else | 8676 else |
8664 echo "configure: failed program was:" >&5 | 8677 echo "configure: failed program was:" >&5 |
8665 cat conftest.$ac_ext >&5 | 8678 cat conftest.$ac_ext >&5 |
8679 } | 8692 } |
8680 | 8693 |
8681 fi | 8694 fi |
8682 | 8695 |
8683 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8696 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
8684 echo "configure:8685: checking for alloca" >&5 | 8697 echo "configure:8698: checking for alloca" >&5 |
8685 | 8698 |
8686 cat > conftest.$ac_ext <<EOF | 8699 cat > conftest.$ac_ext <<EOF |
8687 #line 8688 "configure" | 8700 #line 8701 "configure" |
8688 #include "confdefs.h" | 8701 #include "confdefs.h" |
8689 | 8702 |
8690 #ifdef __GNUC__ | 8703 #ifdef __GNUC__ |
8691 # define alloca __builtin_alloca | 8704 # define alloca __builtin_alloca |
8692 #else | 8705 #else |
8705 | 8718 |
8706 int main() { | 8719 int main() { |
8707 char *p = (char *) alloca(1); | 8720 char *p = (char *) alloca(1); |
8708 ; return 0; } | 8721 ; return 0; } |
8709 EOF | 8722 EOF |
8710 if { (eval echo configure:8711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8723 if { (eval echo configure:8724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8711 rm -rf conftest* | 8724 rm -rf conftest* |
8712 ac_cv_func_alloca_works=yes | 8725 ac_cv_func_alloca_works=yes |
8713 else | 8726 else |
8714 echo "configure: failed program was:" >&5 | 8727 echo "configure: failed program was:" >&5 |
8715 cat conftest.$ac_ext >&5 | 8728 cat conftest.$ac_ext >&5 |
8744 EOF | 8757 EOF |
8745 } | 8758 } |
8746 | 8759 |
8747 | 8760 |
8748 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8761 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
8749 echo "configure:8750: checking whether alloca needs Cray hooks" >&5 | 8762 echo "configure:8763: checking whether alloca needs Cray hooks" >&5 |
8750 | 8763 |
8751 cat > conftest.$ac_ext <<EOF | 8764 cat > conftest.$ac_ext <<EOF |
8752 #line 8753 "configure" | 8765 #line 8766 "configure" |
8753 #include "confdefs.h" | 8766 #include "confdefs.h" |
8754 #if defined(CRAY) && ! defined(CRAY2) | 8767 #if defined(CRAY) && ! defined(CRAY2) |
8755 webecray | 8768 webecray |
8756 #else | 8769 #else |
8757 wenotbecray | 8770 wenotbecray |
8771 | 8784 |
8772 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8785 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
8773 if test $ac_cv_os_cray = yes; then | 8786 if test $ac_cv_os_cray = yes; then |
8774 for ac_func in _getb67 GETB67 getb67; do | 8787 for ac_func in _getb67 GETB67 getb67; do |
8775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8776 echo "configure:8777: checking for $ac_func" >&5 | 8789 echo "configure:8790: checking for $ac_func" >&5 |
8777 | 8790 |
8778 cat > conftest.$ac_ext <<EOF | 8791 cat > conftest.$ac_ext <<EOF |
8779 #line 8780 "configure" | 8792 #line 8793 "configure" |
8780 #include "confdefs.h" | 8793 #include "confdefs.h" |
8781 /* System header to define __stub macros and hopefully few prototypes, | 8794 /* System header to define __stub macros and hopefully few prototypes, |
8782 which can conflict with char $ac_func(); below. */ | 8795 which can conflict with char $ac_func(); below. */ |
8783 #include <assert.h> | 8796 #include <assert.h> |
8784 /* Override any gcc2 internal prototype to avoid an error. */ | 8797 /* Override any gcc2 internal prototype to avoid an error. */ |
8797 $ac_func(); | 8810 $ac_func(); |
8798 #endif | 8811 #endif |
8799 | 8812 |
8800 ; return 0; } | 8813 ; return 0; } |
8801 EOF | 8814 EOF |
8802 if { (eval echo configure:8803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8815 if { (eval echo configure:8816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8803 rm -rf conftest* | 8816 rm -rf conftest* |
8804 eval "ac_cv_func_$ac_func=yes" | 8817 eval "ac_cv_func_$ac_func=yes" |
8805 else | 8818 else |
8806 echo "configure: failed program was:" >&5 | 8819 echo "configure: failed program was:" >&5 |
8807 cat conftest.$ac_ext >&5 | 8820 cat conftest.$ac_ext >&5 |
8827 | 8840 |
8828 done | 8841 done |
8829 fi | 8842 fi |
8830 | 8843 |
8831 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8844 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
8832 echo "configure:8833: checking stack direction for C alloca" >&5 | 8845 echo "configure:8846: checking stack direction for C alloca" >&5 |
8833 | 8846 |
8834 cat > conftest.$ac_ext <<EOF | 8847 cat > conftest.$ac_ext <<EOF |
8835 #line 8836 "configure" | 8848 #line 8849 "configure" |
8836 #include "confdefs.h" | 8849 #include "confdefs.h" |
8837 find_stack_direction () | 8850 find_stack_direction () |
8838 { | 8851 { |
8839 static char *addr = 0; | 8852 static char *addr = 0; |
8840 auto char dummy; | 8853 auto char dummy; |
8849 main () | 8862 main () |
8850 { | 8863 { |
8851 exit (find_stack_direction() < 0); | 8864 exit (find_stack_direction() < 0); |
8852 } | 8865 } |
8853 EOF | 8866 EOF |
8854 if { (eval echo configure:8855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8867 if { (eval echo configure:8868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8855 then | 8868 then |
8856 ac_cv_c_stack_direction=1 | 8869 ac_cv_c_stack_direction=1 |
8857 else | 8870 else |
8858 echo "configure: failed program was:" >&5 | 8871 echo "configure: failed program was:" >&5 |
8859 cat conftest.$ac_ext >&5 | 8872 cat conftest.$ac_ext >&5 |
8877 echo " xemacs will be linked with \"$ALLOCA\"" | 8890 echo " xemacs will be linked with \"$ALLOCA\"" |
8878 fi | 8891 fi |
8879 | 8892 |
8880 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8893 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8881 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8894 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8882 echo "configure:8883: checking for vfork.h" >&5 | 8895 echo "configure:8896: checking for vfork.h" >&5 |
8883 | 8896 |
8884 cat > conftest.$ac_ext <<EOF | 8897 cat > conftest.$ac_ext <<EOF |
8885 #line 8886 "configure" | 8898 #line 8899 "configure" |
8886 #include "confdefs.h" | 8899 #include "confdefs.h" |
8887 #include <vfork.h> | 8900 #include <vfork.h> |
8888 EOF | 8901 EOF |
8889 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8902 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8890 { (eval echo configure:8891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8903 { (eval echo configure:8904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8891 ac_err=`grep -v '^ *+' conftest.out` | 8904 ac_err=`grep -v '^ *+' conftest.out` |
8892 if test -z "$ac_err"; then | 8905 if test -z "$ac_err"; then |
8893 rm -rf conftest* | 8906 rm -rf conftest* |
8894 eval "ac_cv_header_$ac_safe=yes" | 8907 eval "ac_cv_header_$ac_safe=yes" |
8895 else | 8908 else |
8913 else | 8926 else |
8914 echo "$ac_t""no" 1>&6 | 8927 echo "$ac_t""no" 1>&6 |
8915 fi | 8928 fi |
8916 | 8929 |
8917 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8930 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8918 echo "configure:8919: checking for working vfork" >&5 | 8931 echo "configure:8932: checking for working vfork" >&5 |
8919 | 8932 |
8920 cat > conftest.$ac_ext <<EOF | 8933 cat > conftest.$ac_ext <<EOF |
8921 #line 8922 "configure" | 8934 #line 8935 "configure" |
8922 #include "confdefs.h" | 8935 #include "confdefs.h" |
8923 /* Thanks to Paul Eggert for this test. */ | 8936 /* Thanks to Paul Eggert for this test. */ |
8924 #include <stdio.h> | 8937 #include <stdio.h> |
8925 #include <sys/types.h> | 8938 #include <sys/types.h> |
8926 #include <sys/stat.h> | 8939 #include <sys/stat.h> |
9011 || fstat(fileno(stdout), &st) != 0 | 9024 || fstat(fileno(stdout), &st) != 0 |
9012 ); | 9025 ); |
9013 } | 9026 } |
9014 } | 9027 } |
9015 EOF | 9028 EOF |
9016 if { (eval echo configure:9017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9029 if { (eval echo configure:9030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
9017 then | 9030 then |
9018 ac_cv_func_vfork_works=yes | 9031 ac_cv_func_vfork_works=yes |
9019 else | 9032 else |
9020 echo "configure: failed program was:" >&5 | 9033 echo "configure: failed program was:" >&5 |
9021 cat conftest.$ac_ext >&5 | 9034 cat conftest.$ac_ext >&5 |
9036 | 9049 |
9037 fi | 9050 fi |
9038 | 9051 |
9039 | 9052 |
9040 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9053 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9041 echo "configure:9042: checking for working strcoll" >&5 | 9054 echo "configure:9055: checking for working strcoll" >&5 |
9042 | 9055 |
9043 cat > conftest.$ac_ext <<EOF | 9056 cat > conftest.$ac_ext <<EOF |
9044 #line 9045 "configure" | 9057 #line 9058 "configure" |
9045 #include "confdefs.h" | 9058 #include "confdefs.h" |
9046 #include <string.h> | 9059 #include <string.h> |
9047 main () | 9060 main () |
9048 { | 9061 { |
9049 exit (strcoll ("abc", "def") >= 0 || | 9062 exit (strcoll ("abc", "def") >= 0 || |
9050 strcoll ("ABC", "DEF") >= 0 || | 9063 strcoll ("ABC", "DEF") >= 0 || |
9051 strcoll ("123", "456") >= 0); | 9064 strcoll ("123", "456") >= 0); |
9052 } | 9065 } |
9053 EOF | 9066 EOF |
9054 if { (eval echo configure:9055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9067 if { (eval echo configure:9068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
9055 then | 9068 then |
9056 ac_cv_func_strcoll_works=yes | 9069 ac_cv_func_strcoll_works=yes |
9057 else | 9070 else |
9058 echo "configure: failed program was:" >&5 | 9071 echo "configure: failed program was:" >&5 |
9059 cat conftest.$ac_ext >&5 | 9072 cat conftest.$ac_ext >&5 |
9076 | 9089 |
9077 | 9090 |
9078 for ac_func in getpgrp | 9091 for ac_func in getpgrp |
9079 do | 9092 do |
9080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9093 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9081 echo "configure:9082: checking for $ac_func" >&5 | 9094 echo "configure:9095: checking for $ac_func" >&5 |
9082 | 9095 |
9083 cat > conftest.$ac_ext <<EOF | 9096 cat > conftest.$ac_ext <<EOF |
9084 #line 9085 "configure" | 9097 #line 9098 "configure" |
9085 #include "confdefs.h" | 9098 #include "confdefs.h" |
9086 /* System header to define __stub macros and hopefully few prototypes, | 9099 /* System header to define __stub macros and hopefully few prototypes, |
9087 which can conflict with char $ac_func(); below. */ | 9100 which can conflict with char $ac_func(); below. */ |
9088 #include <assert.h> | 9101 #include <assert.h> |
9089 /* Override any gcc2 internal prototype to avoid an error. */ | 9102 /* Override any gcc2 internal prototype to avoid an error. */ |
9102 $ac_func(); | 9115 $ac_func(); |
9103 #endif | 9116 #endif |
9104 | 9117 |
9105 ; return 0; } | 9118 ; return 0; } |
9106 EOF | 9119 EOF |
9107 if { (eval echo configure:9108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9120 if { (eval echo configure:9121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9108 rm -rf conftest* | 9121 rm -rf conftest* |
9109 eval "ac_cv_func_$ac_func=yes" | 9122 eval "ac_cv_func_$ac_func=yes" |
9110 else | 9123 else |
9111 echo "configure: failed program was:" >&5 | 9124 echo "configure: failed program was:" >&5 |
9112 cat conftest.$ac_ext >&5 | 9125 cat conftest.$ac_ext >&5 |
9130 echo "$ac_t""no" 1>&6 | 9143 echo "$ac_t""no" 1>&6 |
9131 fi | 9144 fi |
9132 done | 9145 done |
9133 | 9146 |
9134 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9147 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9135 echo "configure:9136: checking whether getpgrp takes no argument" >&5 | 9148 echo "configure:9149: checking whether getpgrp takes no argument" >&5 |
9136 | 9149 |
9137 cat > conftest.$ac_ext <<EOF | 9150 cat > conftest.$ac_ext <<EOF |
9138 #line 9139 "configure" | 9151 #line 9152 "configure" |
9139 #include "confdefs.h" | 9152 #include "confdefs.h" |
9140 | 9153 |
9141 /* | 9154 /* |
9142 * If this system has a BSD-style getpgrp(), | 9155 * If this system has a BSD-style getpgrp(), |
9143 * which takes a pid argument, exit unsuccessfully. | 9156 * which takes a pid argument, exit unsuccessfully. |
9188 exit(s>>8); | 9201 exit(s>>8); |
9189 } | 9202 } |
9190 } | 9203 } |
9191 | 9204 |
9192 EOF | 9205 EOF |
9193 if { (eval echo configure:9194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9206 if { (eval echo configure:9207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
9194 then | 9207 then |
9195 ac_cv_func_getpgrp_void=yes | 9208 ac_cv_func_getpgrp_void=yes |
9196 else | 9209 else |
9197 echo "configure: failed program was:" >&5 | 9210 echo "configure: failed program was:" >&5 |
9198 cat conftest.$ac_ext >&5 | 9211 cat conftest.$ac_ext >&5 |
9214 | 9227 |
9215 fi | 9228 fi |
9216 | 9229 |
9217 | 9230 |
9218 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9231 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9219 echo "configure:9220: checking for working mmap" >&5 | 9232 echo "configure:9233: checking for working mmap" >&5 |
9220 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9233 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9221 cat > conftest.$ac_ext <<EOF | 9234 cat > conftest.$ac_ext <<EOF |
9222 #line 9223 "configure" | 9235 #line 9236 "configure" |
9223 #include "confdefs.h" | 9236 #include "confdefs.h" |
9224 #include <stdio.h> | 9237 #include <stdio.h> |
9225 #include <unistd.h> | 9238 #include <unistd.h> |
9226 #include <fcntl.h> | 9239 #include <fcntl.h> |
9227 #include <sys/mman.h> | 9240 #include <sys/mman.h> |
9250 return 0; | 9263 return 0; |
9251 perror ("conftest: mmap failed"); | 9264 perror ("conftest: mmap failed"); |
9252 return 1; | 9265 return 1; |
9253 } | 9266 } |
9254 EOF | 9267 EOF |
9255 if { (eval echo configure:9256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9268 if { (eval echo configure:9269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
9256 then | 9269 then |
9257 have_mmap=yes | 9270 have_mmap=yes |
9258 else | 9271 else |
9259 echo "configure: failed program was:" >&5 | 9272 echo "configure: failed program was:" >&5 |
9260 cat conftest.$ac_ext >&5 | 9273 cat conftest.$ac_ext >&5 |
9284 } | 9297 } |
9285 | 9298 |
9286 | 9299 |
9287 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9300 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9288 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9301 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9289 echo "configure:9290: checking for termios.h" >&5 | 9302 echo "configure:9303: checking for termios.h" >&5 |
9290 | 9303 |
9291 cat > conftest.$ac_ext <<EOF | 9304 cat > conftest.$ac_ext <<EOF |
9292 #line 9293 "configure" | 9305 #line 9306 "configure" |
9293 #include "confdefs.h" | 9306 #include "confdefs.h" |
9294 #include <termios.h> | 9307 #include <termios.h> |
9295 EOF | 9308 EOF |
9296 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9297 { (eval echo configure:9298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9310 { (eval echo configure:9311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9298 ac_err=`grep -v '^ *+' conftest.out` | 9311 ac_err=`grep -v '^ *+' conftest.out` |
9299 if test -z "$ac_err"; then | 9312 if test -z "$ac_err"; then |
9300 rm -rf conftest* | 9313 rm -rf conftest* |
9301 eval "ac_cv_header_$ac_safe=yes" | 9314 eval "ac_cv_header_$ac_safe=yes" |
9302 else | 9315 else |
9335 | 9348 |
9336 else | 9349 else |
9337 echo "$ac_t""no" 1>&6 | 9350 echo "$ac_t""no" 1>&6 |
9338 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9351 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
9339 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9352 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
9340 echo "configure:9341: checking for termio.h" >&5 | 9353 echo "configure:9354: checking for termio.h" >&5 |
9341 | 9354 |
9342 cat > conftest.$ac_ext <<EOF | 9355 cat > conftest.$ac_ext <<EOF |
9343 #line 9344 "configure" | 9356 #line 9357 "configure" |
9344 #include "confdefs.h" | 9357 #include "confdefs.h" |
9345 #include <termio.h> | 9358 #include <termio.h> |
9346 EOF | 9359 EOF |
9347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9348 { (eval echo configure:9349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9361 { (eval echo configure:9362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9349 ac_err=`grep -v '^ *+' conftest.out` | 9362 ac_err=`grep -v '^ *+' conftest.out` |
9350 if test -z "$ac_err"; then | 9363 if test -z "$ac_err"; then |
9351 rm -rf conftest* | 9364 rm -rf conftest* |
9352 eval "ac_cv_header_$ac_safe=yes" | 9365 eval "ac_cv_header_$ac_safe=yes" |
9353 else | 9366 else |
9375 fi | 9388 fi |
9376 | 9389 |
9377 | 9390 |
9378 | 9391 |
9379 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9392 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
9380 echo "configure:9381: checking for socket" >&5 | 9393 echo "configure:9394: checking for socket" >&5 |
9381 | 9394 |
9382 cat > conftest.$ac_ext <<EOF | 9395 cat > conftest.$ac_ext <<EOF |
9383 #line 9384 "configure" | 9396 #line 9397 "configure" |
9384 #include "confdefs.h" | 9397 #include "confdefs.h" |
9385 /* System header to define __stub macros and hopefully few prototypes, | 9398 /* System header to define __stub macros and hopefully few prototypes, |
9386 which can conflict with char socket(); below. */ | 9399 which can conflict with char socket(); below. */ |
9387 #include <assert.h> | 9400 #include <assert.h> |
9388 /* Override any gcc2 internal prototype to avoid an error. */ | 9401 /* Override any gcc2 internal prototype to avoid an error. */ |
9401 socket(); | 9414 socket(); |
9402 #endif | 9415 #endif |
9403 | 9416 |
9404 ; return 0; } | 9417 ; return 0; } |
9405 EOF | 9418 EOF |
9406 if { (eval echo configure:9407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9419 if { (eval echo configure:9420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9407 rm -rf conftest* | 9420 rm -rf conftest* |
9408 eval "ac_cv_func_socket=yes" | 9421 eval "ac_cv_func_socket=yes" |
9409 else | 9422 else |
9410 echo "configure: failed program was:" >&5 | 9423 echo "configure: failed program was:" >&5 |
9411 cat conftest.$ac_ext >&5 | 9424 cat conftest.$ac_ext >&5 |
9416 | 9429 |
9417 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 9430 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
9418 echo "$ac_t""yes" 1>&6 | 9431 echo "$ac_t""yes" 1>&6 |
9419 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 9432 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
9420 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 9433 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
9421 echo "configure:9422: checking for netinet/in.h" >&5 | 9434 echo "configure:9435: checking for netinet/in.h" >&5 |
9422 | 9435 |
9423 cat > conftest.$ac_ext <<EOF | 9436 cat > conftest.$ac_ext <<EOF |
9424 #line 9425 "configure" | 9437 #line 9438 "configure" |
9425 #include "confdefs.h" | 9438 #include "confdefs.h" |
9426 #include <netinet/in.h> | 9439 #include <netinet/in.h> |
9427 EOF | 9440 EOF |
9428 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9429 { (eval echo configure:9430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9442 { (eval echo configure:9443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9430 ac_err=`grep -v '^ *+' conftest.out` | 9443 ac_err=`grep -v '^ *+' conftest.out` |
9431 if test -z "$ac_err"; then | 9444 if test -z "$ac_err"; then |
9432 rm -rf conftest* | 9445 rm -rf conftest* |
9433 eval "ac_cv_header_$ac_safe=yes" | 9446 eval "ac_cv_header_$ac_safe=yes" |
9434 else | 9447 else |
9441 rm -f conftest* | 9454 rm -f conftest* |
9442 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9455 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9443 echo "$ac_t""yes" 1>&6 | 9456 echo "$ac_t""yes" 1>&6 |
9444 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 9457 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
9445 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 9458 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
9446 echo "configure:9447: checking for arpa/inet.h" >&5 | 9459 echo "configure:9460: checking for arpa/inet.h" >&5 |
9447 | 9460 |
9448 cat > conftest.$ac_ext <<EOF | 9461 cat > conftest.$ac_ext <<EOF |
9449 #line 9450 "configure" | 9462 #line 9463 "configure" |
9450 #include "confdefs.h" | 9463 #include "confdefs.h" |
9451 #include <arpa/inet.h> | 9464 #include <arpa/inet.h> |
9452 EOF | 9465 EOF |
9453 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9454 { (eval echo configure:9455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9467 { (eval echo configure:9468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9455 ac_err=`grep -v '^ *+' conftest.out` | 9468 ac_err=`grep -v '^ *+' conftest.out` |
9456 if test -z "$ac_err"; then | 9469 if test -z "$ac_err"; then |
9457 rm -rf conftest* | 9470 rm -rf conftest* |
9458 eval "ac_cv_header_$ac_safe=yes" | 9471 eval "ac_cv_header_$ac_safe=yes" |
9459 else | 9472 else |
9474 #define HAVE_SOCKETS 1 | 9487 #define HAVE_SOCKETS 1 |
9475 EOF | 9488 EOF |
9476 } | 9489 } |
9477 | 9490 |
9478 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 9491 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
9479 echo "configure:9480: checking "for sun_len member in struct sockaddr_un"" >&5 | 9492 echo "configure:9493: checking "for sun_len member in struct sockaddr_un"" >&5 |
9480 cat > conftest.$ac_ext <<EOF | 9493 cat > conftest.$ac_ext <<EOF |
9481 #line 9482 "configure" | 9494 #line 9495 "configure" |
9482 #include "confdefs.h" | 9495 #include "confdefs.h" |
9483 | 9496 |
9484 #include <sys/types.h> | 9497 #include <sys/types.h> |
9485 #include <sys/socket.h> | 9498 #include <sys/socket.h> |
9486 #include <sys/un.h> | 9499 #include <sys/un.h> |
9487 | 9500 |
9488 int main() { | 9501 int main() { |
9489 static struct sockaddr_un x; x.sun_len = 1; | 9502 static struct sockaddr_un x; x.sun_len = 1; |
9490 ; return 0; } | 9503 ; return 0; } |
9491 EOF | 9504 EOF |
9492 if { (eval echo configure:9493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9505 if { (eval echo configure:9506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9493 rm -rf conftest* | 9506 rm -rf conftest* |
9494 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9507 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9495 Defining HAVE_SOCKADDR_SUN_LEN | 9508 Defining HAVE_SOCKADDR_SUN_LEN |
9496 EOF | 9509 EOF |
9497 cat >> confdefs.h <<\EOF | 9510 cat >> confdefs.h <<\EOF |
9505 rm -rf conftest* | 9518 rm -rf conftest* |
9506 echo "$ac_t""no" 1>&6 | 9519 echo "$ac_t""no" 1>&6 |
9507 fi | 9520 fi |
9508 rm -f conftest* | 9521 rm -f conftest* |
9509 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 9522 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
9510 echo "configure:9511: checking "for ip_mreq struct in netinet/in.h"" >&5 | 9523 echo "configure:9524: checking "for ip_mreq struct in netinet/in.h"" >&5 |
9511 cat > conftest.$ac_ext <<EOF | 9524 cat > conftest.$ac_ext <<EOF |
9512 #line 9513 "configure" | 9525 #line 9526 "configure" |
9513 #include "confdefs.h" | 9526 #include "confdefs.h" |
9514 | 9527 |
9515 #include <sys/types.h> | 9528 #include <sys/types.h> |
9516 #include <netinet/in.h> | 9529 #include <netinet/in.h> |
9517 | 9530 |
9518 int main() { | 9531 int main() { |
9519 static struct ip_mreq x; | 9532 static struct ip_mreq x; |
9520 ; return 0; } | 9533 ; return 0; } |
9521 EOF | 9534 EOF |
9522 if { (eval echo configure:9523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9535 if { (eval echo configure:9536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9523 rm -rf conftest* | 9536 rm -rf conftest* |
9524 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9537 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9525 Defining HAVE_MULTICAST | 9538 Defining HAVE_MULTICAST |
9526 EOF | 9539 EOF |
9527 cat >> confdefs.h <<\EOF | 9540 cat >> confdefs.h <<\EOF |
9548 echo "$ac_t""no" 1>&6 | 9561 echo "$ac_t""no" 1>&6 |
9549 fi | 9562 fi |
9550 | 9563 |
9551 | 9564 |
9552 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 9565 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
9553 echo "configure:9554: checking for msgget" >&5 | 9566 echo "configure:9567: checking for msgget" >&5 |
9554 | 9567 |
9555 cat > conftest.$ac_ext <<EOF | 9568 cat > conftest.$ac_ext <<EOF |
9556 #line 9557 "configure" | 9569 #line 9570 "configure" |
9557 #include "confdefs.h" | 9570 #include "confdefs.h" |
9558 /* System header to define __stub macros and hopefully few prototypes, | 9571 /* System header to define __stub macros and hopefully few prototypes, |
9559 which can conflict with char msgget(); below. */ | 9572 which can conflict with char msgget(); below. */ |
9560 #include <assert.h> | 9573 #include <assert.h> |
9561 /* Override any gcc2 internal prototype to avoid an error. */ | 9574 /* Override any gcc2 internal prototype to avoid an error. */ |
9574 msgget(); | 9587 msgget(); |
9575 #endif | 9588 #endif |
9576 | 9589 |
9577 ; return 0; } | 9590 ; return 0; } |
9578 EOF | 9591 EOF |
9579 if { (eval echo configure:9580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9592 if { (eval echo configure:9593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9580 rm -rf conftest* | 9593 rm -rf conftest* |
9581 eval "ac_cv_func_msgget=yes" | 9594 eval "ac_cv_func_msgget=yes" |
9582 else | 9595 else |
9583 echo "configure: failed program was:" >&5 | 9596 echo "configure: failed program was:" >&5 |
9584 cat conftest.$ac_ext >&5 | 9597 cat conftest.$ac_ext >&5 |
9589 | 9602 |
9590 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 9603 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
9591 echo "$ac_t""yes" 1>&6 | 9604 echo "$ac_t""yes" 1>&6 |
9592 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 9605 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
9593 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 9606 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
9594 echo "configure:9595: checking for sys/ipc.h" >&5 | 9607 echo "configure:9608: checking for sys/ipc.h" >&5 |
9595 | 9608 |
9596 cat > conftest.$ac_ext <<EOF | 9609 cat > conftest.$ac_ext <<EOF |
9597 #line 9598 "configure" | 9610 #line 9611 "configure" |
9598 #include "confdefs.h" | 9611 #include "confdefs.h" |
9599 #include <sys/ipc.h> | 9612 #include <sys/ipc.h> |
9600 EOF | 9613 EOF |
9601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9602 { (eval echo configure:9603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9615 { (eval echo configure:9616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9603 ac_err=`grep -v '^ *+' conftest.out` | 9616 ac_err=`grep -v '^ *+' conftest.out` |
9604 if test -z "$ac_err"; then | 9617 if test -z "$ac_err"; then |
9605 rm -rf conftest* | 9618 rm -rf conftest* |
9606 eval "ac_cv_header_$ac_safe=yes" | 9619 eval "ac_cv_header_$ac_safe=yes" |
9607 else | 9620 else |
9614 rm -f conftest* | 9627 rm -f conftest* |
9615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9628 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9616 echo "$ac_t""yes" 1>&6 | 9629 echo "$ac_t""yes" 1>&6 |
9617 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 9630 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
9618 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 9631 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
9619 echo "configure:9620: checking for sys/msg.h" >&5 | 9632 echo "configure:9633: checking for sys/msg.h" >&5 |
9620 | 9633 |
9621 cat > conftest.$ac_ext <<EOF | 9634 cat > conftest.$ac_ext <<EOF |
9622 #line 9623 "configure" | 9635 #line 9636 "configure" |
9623 #include "confdefs.h" | 9636 #include "confdefs.h" |
9624 #include <sys/msg.h> | 9637 #include <sys/msg.h> |
9625 EOF | 9638 EOF |
9626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9627 { (eval echo configure:9628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9640 { (eval echo configure:9641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9628 ac_err=`grep -v '^ *+' conftest.out` | 9641 ac_err=`grep -v '^ *+' conftest.out` |
9629 if test -z "$ac_err"; then | 9642 if test -z "$ac_err"; then |
9630 rm -rf conftest* | 9643 rm -rf conftest* |
9631 eval "ac_cv_header_$ac_safe=yes" | 9644 eval "ac_cv_header_$ac_safe=yes" |
9632 else | 9645 else |
9660 fi | 9673 fi |
9661 | 9674 |
9662 | 9675 |
9663 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 9676 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
9664 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 9677 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
9665 echo "configure:9666: checking for dirent.h" >&5 | 9678 echo "configure:9679: checking for dirent.h" >&5 |
9666 | 9679 |
9667 cat > conftest.$ac_ext <<EOF | 9680 cat > conftest.$ac_ext <<EOF |
9668 #line 9669 "configure" | 9681 #line 9682 "configure" |
9669 #include "confdefs.h" | 9682 #include "confdefs.h" |
9670 #include <dirent.h> | 9683 #include <dirent.h> |
9671 EOF | 9684 EOF |
9672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9685 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9673 { (eval echo configure:9674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9686 { (eval echo configure:9687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9674 ac_err=`grep -v '^ *+' conftest.out` | 9687 ac_err=`grep -v '^ *+' conftest.out` |
9675 if test -z "$ac_err"; then | 9688 if test -z "$ac_err"; then |
9676 rm -rf conftest* | 9689 rm -rf conftest* |
9677 eval "ac_cv_header_$ac_safe=yes" | 9690 eval "ac_cv_header_$ac_safe=yes" |
9678 else | 9691 else |
9695 | 9708 |
9696 else | 9709 else |
9697 echo "$ac_t""no" 1>&6 | 9710 echo "$ac_t""no" 1>&6 |
9698 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 9711 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
9699 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 9712 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
9700 echo "configure:9701: checking for sys/dir.h" >&5 | 9713 echo "configure:9714: checking for sys/dir.h" >&5 |
9701 | 9714 |
9702 cat > conftest.$ac_ext <<EOF | 9715 cat > conftest.$ac_ext <<EOF |
9703 #line 9704 "configure" | 9716 #line 9717 "configure" |
9704 #include "confdefs.h" | 9717 #include "confdefs.h" |
9705 #include <sys/dir.h> | 9718 #include <sys/dir.h> |
9706 EOF | 9719 EOF |
9707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9720 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9708 { (eval echo configure:9709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9721 { (eval echo configure:9722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9709 ac_err=`grep -v '^ *+' conftest.out` | 9722 ac_err=`grep -v '^ *+' conftest.out` |
9710 if test -z "$ac_err"; then | 9723 if test -z "$ac_err"; then |
9711 rm -rf conftest* | 9724 rm -rf conftest* |
9712 eval "ac_cv_header_$ac_safe=yes" | 9725 eval "ac_cv_header_$ac_safe=yes" |
9713 else | 9726 else |
9736 fi | 9749 fi |
9737 | 9750 |
9738 | 9751 |
9739 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 9752 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
9740 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 9753 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
9741 echo "configure:9742: checking for nlist.h" >&5 | 9754 echo "configure:9755: checking for nlist.h" >&5 |
9742 | 9755 |
9743 cat > conftest.$ac_ext <<EOF | 9756 cat > conftest.$ac_ext <<EOF |
9744 #line 9745 "configure" | 9757 #line 9758 "configure" |
9745 #include "confdefs.h" | 9758 #include "confdefs.h" |
9746 #include <nlist.h> | 9759 #include <nlist.h> |
9747 EOF | 9760 EOF |
9748 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9749 { (eval echo configure:9750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9762 { (eval echo configure:9763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9750 ac_err=`grep -v '^ *+' conftest.out` | 9763 ac_err=`grep -v '^ *+' conftest.out` |
9751 if test -z "$ac_err"; then | 9764 if test -z "$ac_err"; then |
9752 rm -rf conftest* | 9765 rm -rf conftest* |
9753 eval "ac_cv_header_$ac_safe=yes" | 9766 eval "ac_cv_header_$ac_safe=yes" |
9754 else | 9767 else |
9774 fi | 9787 fi |
9775 | 9788 |
9776 | 9789 |
9777 | 9790 |
9778 echo "checking "for sound support"" 1>&6 | 9791 echo "checking "for sound support"" 1>&6 |
9779 echo "configure:9780: checking "for sound support"" >&5 | 9792 echo "configure:9793: checking "for sound support"" >&5 |
9780 case "$with_sound" in | 9793 case "$with_sound" in |
9781 native | both ) with_native_sound=yes;; | 9794 native | both ) with_native_sound=yes;; |
9782 nas | no ) with_native_sound=no;; | 9795 nas | no ) with_native_sound=no;; |
9783 esac | 9796 esac |
9784 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 9797 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
9785 | 9798 |
9786 if test "$with_native_sound" != "no"; then | 9799 if test "$with_native_sound" != "no"; then |
9787 if test -n "$native_sound_lib"; then | 9800 if test -n "$native_sound_lib"; then |
9788 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 9801 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
9789 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 9802 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
9790 echo "configure:9791: checking for multimedia/audio_device.h" >&5 | 9803 echo "configure:9804: checking for multimedia/audio_device.h" >&5 |
9791 | 9804 |
9792 cat > conftest.$ac_ext <<EOF | 9805 cat > conftest.$ac_ext <<EOF |
9793 #line 9794 "configure" | 9806 #line 9807 "configure" |
9794 #include "confdefs.h" | 9807 #include "confdefs.h" |
9795 #include <multimedia/audio_device.h> | 9808 #include <multimedia/audio_device.h> |
9796 EOF | 9809 EOF |
9797 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9798 { (eval echo configure:9799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9811 { (eval echo configure:9812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9799 ac_err=`grep -v '^ *+' conftest.out` | 9812 ac_err=`grep -v '^ *+' conftest.out` |
9800 if test -z "$ac_err"; then | 9813 if test -z "$ac_err"; then |
9801 rm -rf conftest* | 9814 rm -rf conftest* |
9802 eval "ac_cv_header_$ac_safe=yes" | 9815 eval "ac_cv_header_$ac_safe=yes" |
9803 else | 9816 else |
9841 case "$canonical" in | 9854 case "$canonical" in |
9842 *-sgi-* ) | 9855 *-sgi-* ) |
9843 if test -z "$native_sound_lib"; then | 9856 if test -z "$native_sound_lib"; then |
9844 | 9857 |
9845 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 9858 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
9846 echo "configure:9847: checking for ALopenport in -laudio" >&5 | 9859 echo "configure:9860: checking for ALopenport in -laudio" >&5 |
9847 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 9860 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
9848 | 9861 |
9849 xe_check_libs=" -laudio " | 9862 xe_check_libs=" -laudio " |
9850 cat > conftest.$ac_ext <<EOF | 9863 cat > conftest.$ac_ext <<EOF |
9851 #line 9852 "configure" | 9864 #line 9865 "configure" |
9852 #include "confdefs.h" | 9865 #include "confdefs.h" |
9853 /* Override any gcc2 internal prototype to avoid an error. */ | 9866 /* Override any gcc2 internal prototype to avoid an error. */ |
9854 /* We use char because int might match the return type of a gcc2 | 9867 /* We use char because int might match the return type of a gcc2 |
9855 builtin and then its argument prototype would still apply. */ | 9868 builtin and then its argument prototype would still apply. */ |
9856 char ALopenport(); | 9869 char ALopenport(); |
9857 | 9870 |
9858 int main() { | 9871 int main() { |
9859 ALopenport() | 9872 ALopenport() |
9860 ; return 0; } | 9873 ; return 0; } |
9861 EOF | 9874 EOF |
9862 if { (eval echo configure:9863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9875 if { (eval echo configure:9876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9863 rm -rf conftest* | 9876 rm -rf conftest* |
9864 eval "ac_cv_lib_$ac_lib_var=yes" | 9877 eval "ac_cv_lib_$ac_lib_var=yes" |
9865 else | 9878 else |
9866 echo "configure: failed program was:" >&5 | 9879 echo "configure: failed program was:" >&5 |
9867 cat conftest.$ac_ext >&5 | 9880 cat conftest.$ac_ext >&5 |
9888 fi ;; | 9901 fi ;; |
9889 hppa*-hp-hpux* ) | 9902 hppa*-hp-hpux* ) |
9890 if test -z "$native_sound_lib"; then | 9903 if test -z "$native_sound_lib"; then |
9891 | 9904 |
9892 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 9905 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
9893 echo "configure:9894: checking for AOpenAudio in -lAlib" >&5 | 9906 echo "configure:9907: checking for AOpenAudio in -lAlib" >&5 |
9894 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 9907 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
9895 | 9908 |
9896 xe_check_libs=" -lAlib " | 9909 xe_check_libs=" -lAlib " |
9897 cat > conftest.$ac_ext <<EOF | 9910 cat > conftest.$ac_ext <<EOF |
9898 #line 9899 "configure" | 9911 #line 9912 "configure" |
9899 #include "confdefs.h" | 9912 #include "confdefs.h" |
9900 /* Override any gcc2 internal prototype to avoid an error. */ | 9913 /* Override any gcc2 internal prototype to avoid an error. */ |
9901 /* We use char because int might match the return type of a gcc2 | 9914 /* We use char because int might match the return type of a gcc2 |
9902 builtin and then its argument prototype would still apply. */ | 9915 builtin and then its argument prototype would still apply. */ |
9903 char AOpenAudio(); | 9916 char AOpenAudio(); |
9904 | 9917 |
9905 int main() { | 9918 int main() { |
9906 AOpenAudio() | 9919 AOpenAudio() |
9907 ; return 0; } | 9920 ; return 0; } |
9908 EOF | 9921 EOF |
9909 if { (eval echo configure:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9922 if { (eval echo configure:9923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9910 rm -rf conftest* | 9923 rm -rf conftest* |
9911 eval "ac_cv_lib_$ac_lib_var=yes" | 9924 eval "ac_cv_lib_$ac_lib_var=yes" |
9912 else | 9925 else |
9913 echo "configure: failed program was:" >&5 | 9926 echo "configure: failed program was:" >&5 |
9914 cat conftest.$ac_ext >&5 | 9927 cat conftest.$ac_ext >&5 |
9942 | 9955 |
9943 if test -z "$sound_found"; then | 9956 if test -z "$sound_found"; then |
9944 for dir in "machine" "sys" "linux"; do | 9957 for dir in "machine" "sys" "linux"; do |
9945 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9958 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
9946 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9959 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
9947 echo "configure:9948: checking for ${dir}/soundcard.h" >&5 | 9960 echo "configure:9961: checking for ${dir}/soundcard.h" >&5 |
9948 | 9961 |
9949 cat > conftest.$ac_ext <<EOF | 9962 cat > conftest.$ac_ext <<EOF |
9950 #line 9951 "configure" | 9963 #line 9964 "configure" |
9951 #include "confdefs.h" | 9964 #include "confdefs.h" |
9952 #include <${dir}/soundcard.h> | 9965 #include <${dir}/soundcard.h> |
9953 EOF | 9966 EOF |
9954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9955 { (eval echo configure:9956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9968 { (eval echo configure:9969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9956 ac_err=`grep -v '^ *+' conftest.out` | 9969 ac_err=`grep -v '^ *+' conftest.out` |
9957 if test -z "$ac_err"; then | 9970 if test -z "$ac_err"; then |
9958 rm -rf conftest* | 9971 rm -rf conftest* |
9959 eval "ac_cv_header_$ac_safe=yes" | 9972 eval "ac_cv_header_$ac_safe=yes" |
9960 else | 9973 else |
10020 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10033 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10021 echo " xemacs will be linked with \"nas.o\"" | 10034 echo " xemacs will be linked with \"nas.o\"" |
10022 fi | 10035 fi |
10023 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10036 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10024 cat > conftest.$ac_ext <<EOF | 10037 cat > conftest.$ac_ext <<EOF |
10025 #line 10026 "configure" | 10038 #line 10039 "configure" |
10026 #include "confdefs.h" | 10039 #include "confdefs.h" |
10027 #include <audio/Xtutil.h> | 10040 #include <audio/Xtutil.h> |
10028 EOF | 10041 EOF |
10029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10030 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10043 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10047 | 10060 |
10048 test -z "$with_tty" && with_tty=yes | 10061 test -z "$with_tty" && with_tty=yes |
10049 | 10062 |
10050 if test "$with_tty" = "yes" ; then | 10063 if test "$with_tty" = "yes" ; then |
10051 echo "checking for TTY-related features" 1>&6 | 10064 echo "checking for TTY-related features" 1>&6 |
10052 echo "configure:10053: checking for TTY-related features" >&5 | 10065 echo "configure:10066: checking for TTY-related features" >&5 |
10053 { test "$extra_verbose" = "yes" && cat << \EOF | 10066 { test "$extra_verbose" = "yes" && cat << \EOF |
10054 Defining HAVE_TTY | 10067 Defining HAVE_TTY |
10055 EOF | 10068 EOF |
10056 cat >> confdefs.h <<\EOF | 10069 cat >> confdefs.h <<\EOF |
10057 #define HAVE_TTY 1 | 10070 #define HAVE_TTY 1 |
10063 fi | 10076 fi |
10064 | 10077 |
10065 if test -z "$with_ncurses"; then | 10078 if test -z "$with_ncurses"; then |
10066 | 10079 |
10067 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10080 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10068 echo "configure:10069: checking for tgetent in -lncurses" >&5 | 10081 echo "configure:10082: checking for tgetent in -lncurses" >&5 |
10069 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10082 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10070 | 10083 |
10071 xe_check_libs=" -lncurses " | 10084 xe_check_libs=" -lncurses " |
10072 cat > conftest.$ac_ext <<EOF | 10085 cat > conftest.$ac_ext <<EOF |
10073 #line 10074 "configure" | 10086 #line 10087 "configure" |
10074 #include "confdefs.h" | 10087 #include "confdefs.h" |
10075 /* Override any gcc2 internal prototype to avoid an error. */ | 10088 /* Override any gcc2 internal prototype to avoid an error. */ |
10076 /* We use char because int might match the return type of a gcc2 | 10089 /* We use char because int might match the return type of a gcc2 |
10077 builtin and then its argument prototype would still apply. */ | 10090 builtin and then its argument prototype would still apply. */ |
10078 char tgetent(); | 10091 char tgetent(); |
10079 | 10092 |
10080 int main() { | 10093 int main() { |
10081 tgetent() | 10094 tgetent() |
10082 ; return 0; } | 10095 ; return 0; } |
10083 EOF | 10096 EOF |
10084 if { (eval echo configure:10085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10097 if { (eval echo configure:10098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10085 rm -rf conftest* | 10098 rm -rf conftest* |
10086 eval "ac_cv_lib_$ac_lib_var=yes" | 10099 eval "ac_cv_lib_$ac_lib_var=yes" |
10087 else | 10100 else |
10088 echo "configure: failed program was:" >&5 | 10101 echo "configure: failed program was:" >&5 |
10089 cat conftest.$ac_ext >&5 | 10102 cat conftest.$ac_ext >&5 |
10112 EOF | 10125 EOF |
10113 } | 10126 } |
10114 | 10127 |
10115 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10128 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10116 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10129 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10117 echo "configure:10118: checking for ncurses/curses.h" >&5 | 10130 echo "configure:10131: checking for ncurses/curses.h" >&5 |
10118 | 10131 |
10119 cat > conftest.$ac_ext <<EOF | 10132 cat > conftest.$ac_ext <<EOF |
10120 #line 10121 "configure" | 10133 #line 10134 "configure" |
10121 #include "confdefs.h" | 10134 #include "confdefs.h" |
10122 #include <ncurses/curses.h> | 10135 #include <ncurses/curses.h> |
10123 EOF | 10136 EOF |
10124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10125 { (eval echo configure:10126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10138 { (eval echo configure:10139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10126 ac_err=`grep -v '^ *+' conftest.out` | 10139 ac_err=`grep -v '^ *+' conftest.out` |
10127 if test -z "$ac_err"; then | 10140 if test -z "$ac_err"; then |
10128 rm -rf conftest* | 10141 rm -rf conftest* |
10129 eval "ac_cv_header_$ac_safe=yes" | 10142 eval "ac_cv_header_$ac_safe=yes" |
10130 else | 10143 else |
10142 echo "$ac_t""no" 1>&6 | 10155 echo "$ac_t""no" 1>&6 |
10143 fi | 10156 fi |
10144 | 10157 |
10145 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10158 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10146 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10159 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10147 echo "configure:10148: checking for ncurses/term.h" >&5 | 10160 echo "configure:10161: checking for ncurses/term.h" >&5 |
10148 | 10161 |
10149 cat > conftest.$ac_ext <<EOF | 10162 cat > conftest.$ac_ext <<EOF |
10150 #line 10151 "configure" | 10163 #line 10164 "configure" |
10151 #include "confdefs.h" | 10164 #include "confdefs.h" |
10152 #include <ncurses/term.h> | 10165 #include <ncurses/term.h> |
10153 EOF | 10166 EOF |
10154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10155 { (eval echo configure:10156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10168 { (eval echo configure:10169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10156 ac_err=`grep -v '^ *+' conftest.out` | 10169 ac_err=`grep -v '^ *+' conftest.out` |
10157 if test -z "$ac_err"; then | 10170 if test -z "$ac_err"; then |
10158 rm -rf conftest* | 10171 rm -rf conftest* |
10159 eval "ac_cv_header_$ac_safe=yes" | 10172 eval "ac_cv_header_$ac_safe=yes" |
10160 else | 10173 else |
10180 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10193 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10181 save_c_switch_site="$c_switch_site" | 10194 save_c_switch_site="$c_switch_site" |
10182 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10195 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10183 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10196 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10184 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10197 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10185 echo "configure:10186: checking for ncurses/curses.h" >&5 | 10198 echo "configure:10199: checking for ncurses/curses.h" >&5 |
10186 | 10199 |
10187 cat > conftest.$ac_ext <<EOF | 10200 cat > conftest.$ac_ext <<EOF |
10188 #line 10189 "configure" | 10201 #line 10202 "configure" |
10189 #include "confdefs.h" | 10202 #include "confdefs.h" |
10190 #include <ncurses/curses.h> | 10203 #include <ncurses/curses.h> |
10191 EOF | 10204 EOF |
10192 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10193 { (eval echo configure:10194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10206 { (eval echo configure:10207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10194 ac_err=`grep -v '^ *+' conftest.out` | 10207 ac_err=`grep -v '^ *+' conftest.out` |
10195 if test -z "$ac_err"; then | 10208 if test -z "$ac_err"; then |
10196 rm -rf conftest* | 10209 rm -rf conftest* |
10197 eval "ac_cv_header_$ac_safe=yes" | 10210 eval "ac_cv_header_$ac_safe=yes" |
10198 else | 10211 else |
10223 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10236 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10224 else | 10237 else |
10225 for lib in curses termlib termcap; do | 10238 for lib in curses termlib termcap; do |
10226 | 10239 |
10227 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10240 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10228 echo "configure:10229: checking for tgetent in -l$lib" >&5 | 10241 echo "configure:10242: checking for tgetent in -l$lib" >&5 |
10229 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10242 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10230 | 10243 |
10231 xe_check_libs=" -l$lib " | 10244 xe_check_libs=" -l$lib " |
10232 cat > conftest.$ac_ext <<EOF | 10245 cat > conftest.$ac_ext <<EOF |
10233 #line 10234 "configure" | 10246 #line 10247 "configure" |
10234 #include "confdefs.h" | 10247 #include "confdefs.h" |
10235 /* Override any gcc2 internal prototype to avoid an error. */ | 10248 /* Override any gcc2 internal prototype to avoid an error. */ |
10236 /* We use char because int might match the return type of a gcc2 | 10249 /* We use char because int might match the return type of a gcc2 |
10237 builtin and then its argument prototype would still apply. */ | 10250 builtin and then its argument prototype would still apply. */ |
10238 char tgetent(); | 10251 char tgetent(); |
10239 | 10252 |
10240 int main() { | 10253 int main() { |
10241 tgetent() | 10254 tgetent() |
10242 ; return 0; } | 10255 ; return 0; } |
10243 EOF | 10256 EOF |
10244 if { (eval echo configure:10245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10257 if { (eval echo configure:10258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10245 rm -rf conftest* | 10258 rm -rf conftest* |
10246 eval "ac_cv_lib_$ac_lib_var=yes" | 10259 eval "ac_cv_lib_$ac_lib_var=yes" |
10247 else | 10260 else |
10248 echo "configure: failed program was:" >&5 | 10261 echo "configure: failed program was:" >&5 |
10249 cat conftest.$ac_ext >&5 | 10262 cat conftest.$ac_ext >&5 |
10270 if test -n "$libs_termcap"; then | 10283 if test -n "$libs_termcap"; then |
10271 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10284 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10272 else | 10285 else |
10273 | 10286 |
10274 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10287 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10275 echo "configure:10276: checking for tgetent in -lcurses" >&5 | 10288 echo "configure:10289: checking for tgetent in -lcurses" >&5 |
10276 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10289 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10277 | 10290 |
10278 xe_check_libs=" -lcurses " | 10291 xe_check_libs=" -lcurses " |
10279 cat > conftest.$ac_ext <<EOF | 10292 cat > conftest.$ac_ext <<EOF |
10280 #line 10281 "configure" | 10293 #line 10294 "configure" |
10281 #include "confdefs.h" | 10294 #include "confdefs.h" |
10282 /* Override any gcc2 internal prototype to avoid an error. */ | 10295 /* Override any gcc2 internal prototype to avoid an error. */ |
10283 /* We use char because int might match the return type of a gcc2 | 10296 /* We use char because int might match the return type of a gcc2 |
10284 builtin and then its argument prototype would still apply. */ | 10297 builtin and then its argument prototype would still apply. */ |
10285 char tgetent(); | 10298 char tgetent(); |
10286 | 10299 |
10287 int main() { | 10300 int main() { |
10288 tgetent() | 10301 tgetent() |
10289 ; return 0; } | 10302 ; return 0; } |
10290 EOF | 10303 EOF |
10291 if { (eval echo configure:10292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10304 if { (eval echo configure:10305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10292 rm -rf conftest* | 10305 rm -rf conftest* |
10293 eval "ac_cv_lib_$ac_lib_var=yes" | 10306 eval "ac_cv_lib_$ac_lib_var=yes" |
10294 else | 10307 else |
10295 echo "configure: failed program was:" >&5 | 10308 echo "configure: failed program was:" >&5 |
10296 cat conftest.$ac_ext >&5 | 10309 cat conftest.$ac_ext >&5 |
10304 echo "$ac_t""yes" 1>&6 | 10317 echo "$ac_t""yes" 1>&6 |
10305 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10318 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
10306 else | 10319 else |
10307 echo "$ac_t""no" 1>&6 | 10320 echo "$ac_t""no" 1>&6 |
10308 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10321 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
10309 echo "configure:10310: checking for tgetent in -ltermcap" >&5 | 10322 echo "configure:10323: checking for tgetent in -ltermcap" >&5 |
10310 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10323 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
10311 | 10324 |
10312 xe_check_libs=" -ltermcap " | 10325 xe_check_libs=" -ltermcap " |
10313 cat > conftest.$ac_ext <<EOF | 10326 cat > conftest.$ac_ext <<EOF |
10314 #line 10315 "configure" | 10327 #line 10328 "configure" |
10315 #include "confdefs.h" | 10328 #include "confdefs.h" |
10316 /* Override any gcc2 internal prototype to avoid an error. */ | 10329 /* Override any gcc2 internal prototype to avoid an error. */ |
10317 /* We use char because int might match the return type of a gcc2 | 10330 /* We use char because int might match the return type of a gcc2 |
10318 builtin and then its argument prototype would still apply. */ | 10331 builtin and then its argument prototype would still apply. */ |
10319 char tgetent(); | 10332 char tgetent(); |
10320 | 10333 |
10321 int main() { | 10334 int main() { |
10322 tgetent() | 10335 tgetent() |
10323 ; return 0; } | 10336 ; return 0; } |
10324 EOF | 10337 EOF |
10325 if { (eval echo configure:10326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10338 if { (eval echo configure:10339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10326 rm -rf conftest* | 10339 rm -rf conftest* |
10327 eval "ac_cv_lib_$ac_lib_var=yes" | 10340 eval "ac_cv_lib_$ac_lib_var=yes" |
10328 else | 10341 else |
10329 echo "configure: failed program was:" >&5 | 10342 echo "configure: failed program was:" >&5 |
10330 cat conftest.$ac_ext >&5 | 10343 cat conftest.$ac_ext >&5 |
10368 } | 10381 } |
10369 | 10382 |
10370 | 10383 |
10371 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 10384 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
10372 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 10385 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
10373 echo "configure:10374: checking for gpm.h" >&5 | 10386 echo "configure:10387: checking for gpm.h" >&5 |
10374 | 10387 |
10375 cat > conftest.$ac_ext <<EOF | 10388 cat > conftest.$ac_ext <<EOF |
10376 #line 10377 "configure" | 10389 #line 10390 "configure" |
10377 #include "confdefs.h" | 10390 #include "confdefs.h" |
10378 #include <gpm.h> | 10391 #include <gpm.h> |
10379 EOF | 10392 EOF |
10380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10381 { (eval echo configure:10382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10394 { (eval echo configure:10395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10382 ac_err=`grep -v '^ *+' conftest.out` | 10395 ac_err=`grep -v '^ *+' conftest.out` |
10383 if test -z "$ac_err"; then | 10396 if test -z "$ac_err"; then |
10384 rm -rf conftest* | 10397 rm -rf conftest* |
10385 eval "ac_cv_header_$ac_safe=yes" | 10398 eval "ac_cv_header_$ac_safe=yes" |
10386 else | 10399 else |
10399 with_gpm=no | 10412 with_gpm=no |
10400 fi | 10413 fi |
10401 } | 10414 } |
10402 test -z "$with_gpm" && { | 10415 test -z "$with_gpm" && { |
10403 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 10416 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
10404 echo "configure:10405: checking for Gpm_Open in -lgpm" >&5 | 10417 echo "configure:10418: checking for Gpm_Open in -lgpm" >&5 |
10405 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 10418 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
10406 | 10419 |
10407 xe_check_libs=" -lgpm " | 10420 xe_check_libs=" -lgpm " |
10408 cat > conftest.$ac_ext <<EOF | 10421 cat > conftest.$ac_ext <<EOF |
10409 #line 10410 "configure" | 10422 #line 10423 "configure" |
10410 #include "confdefs.h" | 10423 #include "confdefs.h" |
10411 /* Override any gcc2 internal prototype to avoid an error. */ | 10424 /* Override any gcc2 internal prototype to avoid an error. */ |
10412 /* We use char because int might match the return type of a gcc2 | 10425 /* We use char because int might match the return type of a gcc2 |
10413 builtin and then its argument prototype would still apply. */ | 10426 builtin and then its argument prototype would still apply. */ |
10414 char Gpm_Open(); | 10427 char Gpm_Open(); |
10415 | 10428 |
10416 int main() { | 10429 int main() { |
10417 Gpm_Open() | 10430 Gpm_Open() |
10418 ; return 0; } | 10431 ; return 0; } |
10419 EOF | 10432 EOF |
10420 if { (eval echo configure:10421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10433 if { (eval echo configure:10434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10421 rm -rf conftest* | 10434 rm -rf conftest* |
10422 eval "ac_cv_lib_$ac_lib_var=yes" | 10435 eval "ac_cv_lib_$ac_lib_var=yes" |
10423 else | 10436 else |
10424 echo "configure: failed program was:" >&5 | 10437 echo "configure: failed program was:" >&5 |
10425 cat conftest.$ac_ext >&5 | 10438 cat conftest.$ac_ext >&5 |
10464 echo " xemacs will be linked with \"event-unixoid.o\"" | 10477 echo " xemacs will be linked with \"event-unixoid.o\"" |
10465 fi | 10478 fi |
10466 | 10479 |
10467 | 10480 |
10468 echo "checking for database support" 1>&6 | 10481 echo "checking for database support" 1>&6 |
10469 echo "configure:10470: checking for database support" >&5 | 10482 echo "configure:10483: checking for database support" >&5 |
10470 | 10483 |
10471 if test "$with_database_gnudbm" != "no"; then | 10484 if test "$with_database_gnudbm" != "no"; then |
10472 for ac_hdr in ndbm.h | 10485 for ac_hdr in ndbm.h |
10473 do | 10486 do |
10474 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10487 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10475 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10488 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10476 echo "configure:10477: checking for $ac_hdr" >&5 | 10489 echo "configure:10490: checking for $ac_hdr" >&5 |
10477 | 10490 |
10478 cat > conftest.$ac_ext <<EOF | 10491 cat > conftest.$ac_ext <<EOF |
10479 #line 10480 "configure" | 10492 #line 10493 "configure" |
10480 #include "confdefs.h" | 10493 #include "confdefs.h" |
10481 #include <$ac_hdr> | 10494 #include <$ac_hdr> |
10482 EOF | 10495 EOF |
10483 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10484 { (eval echo configure:10485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10497 { (eval echo configure:10498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10485 ac_err=`grep -v '^ *+' conftest.out` | 10498 ac_err=`grep -v '^ *+' conftest.out` |
10486 if test -z "$ac_err"; then | 10499 if test -z "$ac_err"; then |
10487 rm -rf conftest* | 10500 rm -rf conftest* |
10488 eval "ac_cv_header_$ac_safe=yes" | 10501 eval "ac_cv_header_$ac_safe=yes" |
10489 else | 10502 else |
10511 done | 10524 done |
10512 | 10525 |
10513 if test "$have_ndbm_h" = "yes"; then | 10526 if test "$have_ndbm_h" = "yes"; then |
10514 | 10527 |
10515 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 10528 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
10516 echo "configure:10517: checking for dbm_open in -lgdbm" >&5 | 10529 echo "configure:10530: checking for dbm_open in -lgdbm" >&5 |
10517 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10530 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10518 | 10531 |
10519 xe_check_libs=" -lgdbm " | 10532 xe_check_libs=" -lgdbm " |
10520 cat > conftest.$ac_ext <<EOF | 10533 cat > conftest.$ac_ext <<EOF |
10521 #line 10522 "configure" | 10534 #line 10535 "configure" |
10522 #include "confdefs.h" | 10535 #include "confdefs.h" |
10523 /* Override any gcc2 internal prototype to avoid an error. */ | 10536 /* Override any gcc2 internal prototype to avoid an error. */ |
10524 /* We use char because int might match the return type of a gcc2 | 10537 /* We use char because int might match the return type of a gcc2 |
10525 builtin and then its argument prototype would still apply. */ | 10538 builtin and then its argument prototype would still apply. */ |
10526 char dbm_open(); | 10539 char dbm_open(); |
10527 | 10540 |
10528 int main() { | 10541 int main() { |
10529 dbm_open() | 10542 dbm_open() |
10530 ; return 0; } | 10543 ; return 0; } |
10531 EOF | 10544 EOF |
10532 if { (eval echo configure:10533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10545 if { (eval echo configure:10546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10533 rm -rf conftest* | 10546 rm -rf conftest* |
10534 eval "ac_cv_lib_$ac_lib_var=yes" | 10547 eval "ac_cv_lib_$ac_lib_var=yes" |
10535 else | 10548 else |
10536 echo "configure: failed program was:" >&5 | 10549 echo "configure: failed program was:" >&5 |
10537 cat conftest.$ac_ext >&5 | 10550 cat conftest.$ac_ext >&5 |
10550 | 10563 |
10551 | 10564 |
10552 fi | 10565 fi |
10553 if test "$with_database_gnudbm" != "yes"; then | 10566 if test "$with_database_gnudbm" != "yes"; then |
10554 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10567 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10555 echo "configure:10556: checking for dbm_open" >&5 | 10568 echo "configure:10569: checking for dbm_open" >&5 |
10556 | 10569 |
10557 cat > conftest.$ac_ext <<EOF | 10570 cat > conftest.$ac_ext <<EOF |
10558 #line 10559 "configure" | 10571 #line 10572 "configure" |
10559 #include "confdefs.h" | 10572 #include "confdefs.h" |
10560 /* System header to define __stub macros and hopefully few prototypes, | 10573 /* System header to define __stub macros and hopefully few prototypes, |
10561 which can conflict with char dbm_open(); below. */ | 10574 which can conflict with char dbm_open(); below. */ |
10562 #include <assert.h> | 10575 #include <assert.h> |
10563 /* Override any gcc2 internal prototype to avoid an error. */ | 10576 /* Override any gcc2 internal prototype to avoid an error. */ |
10576 dbm_open(); | 10589 dbm_open(); |
10577 #endif | 10590 #endif |
10578 | 10591 |
10579 ; return 0; } | 10592 ; return 0; } |
10580 EOF | 10593 EOF |
10581 if { (eval echo configure:10582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10594 if { (eval echo configure:10595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10582 rm -rf conftest* | 10595 rm -rf conftest* |
10583 eval "ac_cv_func_dbm_open=yes" | 10596 eval "ac_cv_func_dbm_open=yes" |
10584 else | 10597 else |
10585 echo "configure: failed program was:" >&5 | 10598 echo "configure: failed program was:" >&5 |
10586 cat conftest.$ac_ext >&5 | 10599 cat conftest.$ac_ext >&5 |
10612 fi | 10625 fi |
10613 fi | 10626 fi |
10614 | 10627 |
10615 if test "$with_database_dbm" != "no"; then | 10628 if test "$with_database_dbm" != "no"; then |
10616 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10629 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10617 echo "configure:10618: checking for dbm_open" >&5 | 10630 echo "configure:10631: checking for dbm_open" >&5 |
10618 | 10631 |
10619 cat > conftest.$ac_ext <<EOF | 10632 cat > conftest.$ac_ext <<EOF |
10620 #line 10621 "configure" | 10633 #line 10634 "configure" |
10621 #include "confdefs.h" | 10634 #include "confdefs.h" |
10622 /* System header to define __stub macros and hopefully few prototypes, | 10635 /* System header to define __stub macros and hopefully few prototypes, |
10623 which can conflict with char dbm_open(); below. */ | 10636 which can conflict with char dbm_open(); below. */ |
10624 #include <assert.h> | 10637 #include <assert.h> |
10625 /* Override any gcc2 internal prototype to avoid an error. */ | 10638 /* Override any gcc2 internal prototype to avoid an error. */ |
10638 dbm_open(); | 10651 dbm_open(); |
10639 #endif | 10652 #endif |
10640 | 10653 |
10641 ; return 0; } | 10654 ; return 0; } |
10642 EOF | 10655 EOF |
10643 if { (eval echo configure:10644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10656 if { (eval echo configure:10657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10644 rm -rf conftest* | 10657 rm -rf conftest* |
10645 eval "ac_cv_func_dbm_open=yes" | 10658 eval "ac_cv_func_dbm_open=yes" |
10646 else | 10659 else |
10647 echo "configure: failed program was:" >&5 | 10660 echo "configure: failed program was:" >&5 |
10648 cat conftest.$ac_ext >&5 | 10661 cat conftest.$ac_ext >&5 |
10659 fi | 10672 fi |
10660 | 10673 |
10661 if test "$need_libdbm" != "no"; then | 10674 if test "$need_libdbm" != "no"; then |
10662 | 10675 |
10663 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 10676 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
10664 echo "configure:10665: checking for dbm_open in -ldbm" >&5 | 10677 echo "configure:10678: checking for dbm_open in -ldbm" >&5 |
10665 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10678 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10666 | 10679 |
10667 xe_check_libs=" -ldbm " | 10680 xe_check_libs=" -ldbm " |
10668 cat > conftest.$ac_ext <<EOF | 10681 cat > conftest.$ac_ext <<EOF |
10669 #line 10670 "configure" | 10682 #line 10683 "configure" |
10670 #include "confdefs.h" | 10683 #include "confdefs.h" |
10671 /* Override any gcc2 internal prototype to avoid an error. */ | 10684 /* Override any gcc2 internal prototype to avoid an error. */ |
10672 /* We use char because int might match the return type of a gcc2 | 10685 /* We use char because int might match the return type of a gcc2 |
10673 builtin and then its argument prototype would still apply. */ | 10686 builtin and then its argument prototype would still apply. */ |
10674 char dbm_open(); | 10687 char dbm_open(); |
10675 | 10688 |
10676 int main() { | 10689 int main() { |
10677 dbm_open() | 10690 dbm_open() |
10678 ; return 0; } | 10691 ; return 0; } |
10679 EOF | 10692 EOF |
10680 if { (eval echo configure:10681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10693 if { (eval echo configure:10694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10681 rm -rf conftest* | 10694 rm -rf conftest* |
10682 eval "ac_cv_lib_$ac_lib_var=yes" | 10695 eval "ac_cv_lib_$ac_lib_var=yes" |
10683 else | 10696 else |
10684 echo "configure: failed program was:" >&5 | 10697 echo "configure: failed program was:" >&5 |
10685 cat conftest.$ac_ext >&5 | 10698 cat conftest.$ac_ext >&5 |
10712 fi | 10725 fi |
10713 fi | 10726 fi |
10714 | 10727 |
10715 if test "$with_database_berkdb" != "no"; then | 10728 if test "$with_database_berkdb" != "no"; then |
10716 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 10729 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
10717 echo "configure:10718: checking for dbopen" >&5 | 10730 echo "configure:10731: checking for dbopen" >&5 |
10718 | 10731 |
10719 cat > conftest.$ac_ext <<EOF | 10732 cat > conftest.$ac_ext <<EOF |
10720 #line 10721 "configure" | 10733 #line 10734 "configure" |
10721 #include "confdefs.h" | 10734 #include "confdefs.h" |
10722 /* System header to define __stub macros and hopefully few prototypes, | 10735 /* System header to define __stub macros and hopefully few prototypes, |
10723 which can conflict with char dbopen(); below. */ | 10736 which can conflict with char dbopen(); below. */ |
10724 #include <assert.h> | 10737 #include <assert.h> |
10725 /* Override any gcc2 internal prototype to avoid an error. */ | 10738 /* Override any gcc2 internal prototype to avoid an error. */ |
10738 dbopen(); | 10751 dbopen(); |
10739 #endif | 10752 #endif |
10740 | 10753 |
10741 ; return 0; } | 10754 ; return 0; } |
10742 EOF | 10755 EOF |
10743 if { (eval echo configure:10744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10756 if { (eval echo configure:10757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10744 rm -rf conftest* | 10757 rm -rf conftest* |
10745 eval "ac_cv_func_dbopen=yes" | 10758 eval "ac_cv_func_dbopen=yes" |
10746 else | 10759 else |
10747 echo "configure: failed program was:" >&5 | 10760 echo "configure: failed program was:" >&5 |
10748 cat conftest.$ac_ext >&5 | 10761 cat conftest.$ac_ext >&5 |
10759 fi | 10772 fi |
10760 | 10773 |
10761 if test "$need_libdb" != "no"; then | 10774 if test "$need_libdb" != "no"; then |
10762 | 10775 |
10763 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 10776 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
10764 echo "configure:10765: checking for dbopen in -ldb" >&5 | 10777 echo "configure:10778: checking for dbopen in -ldb" >&5 |
10765 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 10778 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
10766 | 10779 |
10767 xe_check_libs=" -ldb " | 10780 xe_check_libs=" -ldb " |
10768 cat > conftest.$ac_ext <<EOF | 10781 cat > conftest.$ac_ext <<EOF |
10769 #line 10770 "configure" | 10782 #line 10783 "configure" |
10770 #include "confdefs.h" | 10783 #include "confdefs.h" |
10771 /* Override any gcc2 internal prototype to avoid an error. */ | 10784 /* Override any gcc2 internal prototype to avoid an error. */ |
10772 /* We use char because int might match the return type of a gcc2 | 10785 /* We use char because int might match the return type of a gcc2 |
10773 builtin and then its argument prototype would still apply. */ | 10786 builtin and then its argument prototype would still apply. */ |
10774 char dbopen(); | 10787 char dbopen(); |
10775 | 10788 |
10776 int main() { | 10789 int main() { |
10777 dbopen() | 10790 dbopen() |
10778 ; return 0; } | 10791 ; return 0; } |
10779 EOF | 10792 EOF |
10780 if { (eval echo configure:10781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10793 if { (eval echo configure:10794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10781 rm -rf conftest* | 10794 rm -rf conftest* |
10782 eval "ac_cv_lib_$ac_lib_var=yes" | 10795 eval "ac_cv_lib_$ac_lib_var=yes" |
10783 else | 10796 else |
10784 echo "configure: failed program was:" >&5 | 10797 echo "configure: failed program was:" >&5 |
10785 cat conftest.$ac_ext >&5 | 10798 cat conftest.$ac_ext >&5 |
10799 | 10812 |
10800 fi | 10813 fi |
10801 if test "$with_database_berkdb" = "yes"; then | 10814 if test "$with_database_berkdb" = "yes"; then |
10802 for path in "db/db.h" "db.h"; do | 10815 for path in "db/db.h" "db.h"; do |
10803 cat > conftest.$ac_ext <<EOF | 10816 cat > conftest.$ac_ext <<EOF |
10804 #line 10805 "configure" | 10817 #line 10818 "configure" |
10805 #include "confdefs.h" | 10818 #include "confdefs.h" |
10806 #ifdef HAVE_INTTYPES_H | 10819 #ifdef HAVE_INTTYPES_H |
10807 #define __BIT_TYPES_DEFINED__ | 10820 #define __BIT_TYPES_DEFINED__ |
10808 #include <inttypes.h> | 10821 #include <inttypes.h> |
10809 typedef uint8_t u_int8_t; | 10822 typedef uint8_t u_int8_t; |
10817 | 10830 |
10818 int main() { | 10831 int main() { |
10819 | 10832 |
10820 ; return 0; } | 10833 ; return 0; } |
10821 EOF | 10834 EOF |
10822 if { (eval echo configure:10823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10835 if { (eval echo configure:10836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10823 rm -rf conftest* | 10836 rm -rf conftest* |
10824 db_h_path="$path"; break | 10837 db_h_path="$path"; break |
10825 else | 10838 else |
10826 echo "configure: failed program was:" >&5 | 10839 echo "configure: failed program was:" >&5 |
10827 cat conftest.$ac_ext >&5 | 10840 cat conftest.$ac_ext >&5 |
10868 fi | 10881 fi |
10869 | 10882 |
10870 if test "$with_socks" = "yes"; then | 10883 if test "$with_socks" = "yes"; then |
10871 | 10884 |
10872 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 10885 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
10873 echo "configure:10874: checking for SOCKSinit in -lsocks" >&5 | 10886 echo "configure:10887: checking for SOCKSinit in -lsocks" >&5 |
10874 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 10887 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
10875 | 10888 |
10876 xe_check_libs=" -lsocks " | 10889 xe_check_libs=" -lsocks " |
10877 cat > conftest.$ac_ext <<EOF | 10890 cat > conftest.$ac_ext <<EOF |
10878 #line 10879 "configure" | 10891 #line 10892 "configure" |
10879 #include "confdefs.h" | 10892 #include "confdefs.h" |
10880 /* Override any gcc2 internal prototype to avoid an error. */ | 10893 /* Override any gcc2 internal prototype to avoid an error. */ |
10881 /* We use char because int might match the return type of a gcc2 | 10894 /* We use char because int might match the return type of a gcc2 |
10882 builtin and then its argument prototype would still apply. */ | 10895 builtin and then its argument prototype would still apply. */ |
10883 char SOCKSinit(); | 10896 char SOCKSinit(); |
10884 | 10897 |
10885 int main() { | 10898 int main() { |
10886 SOCKSinit() | 10899 SOCKSinit() |
10887 ; return 0; } | 10900 ; return 0; } |
10888 EOF | 10901 EOF |
10889 if { (eval echo configure:10890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10902 if { (eval echo configure:10903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10890 rm -rf conftest* | 10903 rm -rf conftest* |
10891 eval "ac_cv_lib_$ac_lib_var=yes" | 10904 eval "ac_cv_lib_$ac_lib_var=yes" |
10892 else | 10905 else |
10893 echo "configure: failed program was:" >&5 | 10906 echo "configure: failed program was:" >&5 |
10894 cat conftest.$ac_ext >&5 | 10907 cat conftest.$ac_ext >&5 |
10941 | 10954 |
10942 for ac_hdr in dlfcn.h | 10955 for ac_hdr in dlfcn.h |
10943 do | 10956 do |
10944 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10957 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10945 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10958 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10946 echo "configure:10947: checking for $ac_hdr" >&5 | 10959 echo "configure:10960: checking for $ac_hdr" >&5 |
10947 | 10960 |
10948 cat > conftest.$ac_ext <<EOF | 10961 cat > conftest.$ac_ext <<EOF |
10949 #line 10950 "configure" | 10962 #line 10963 "configure" |
10950 #include "confdefs.h" | 10963 #include "confdefs.h" |
10951 #include <$ac_hdr> | 10964 #include <$ac_hdr> |
10952 EOF | 10965 EOF |
10953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10954 { (eval echo configure:10955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10967 { (eval echo configure:10968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10955 ac_err=`grep -v '^ *+' conftest.out` | 10968 ac_err=`grep -v '^ *+' conftest.out` |
10956 if test -z "$ac_err"; then | 10969 if test -z "$ac_err"; then |
10957 rm -rf conftest* | 10970 rm -rf conftest* |
10958 eval "ac_cv_header_$ac_safe=yes" | 10971 eval "ac_cv_header_$ac_safe=yes" |
10959 else | 10972 else |
10980 fi | 10993 fi |
10981 done | 10994 done |
10982 | 10995 |
10983 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10996 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
10984 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 10997 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
10985 echo "configure:10986: checking for dlopen in -ldl" >&5 | 10998 echo "configure:10999: checking for dlopen in -ldl" >&5 |
10986 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 10999 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
10987 | 11000 |
10988 xe_check_libs=" -ldl " | 11001 xe_check_libs=" -ldl " |
10989 cat > conftest.$ac_ext <<EOF | 11002 cat > conftest.$ac_ext <<EOF |
10990 #line 10991 "configure" | 11003 #line 11004 "configure" |
10991 #include "confdefs.h" | 11004 #include "confdefs.h" |
10992 /* Override any gcc2 internal prototype to avoid an error. */ | 11005 /* Override any gcc2 internal prototype to avoid an error. */ |
10993 /* We use char because int might match the return type of a gcc2 | 11006 /* We use char because int might match the return type of a gcc2 |
10994 builtin and then its argument prototype would still apply. */ | 11007 builtin and then its argument prototype would still apply. */ |
10995 char dlopen(); | 11008 char dlopen(); |
10996 | 11009 |
10997 int main() { | 11010 int main() { |
10998 dlopen() | 11011 dlopen() |
10999 ; return 0; } | 11012 ; return 0; } |
11000 EOF | 11013 EOF |
11001 if { (eval echo configure:11002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11014 if { (eval echo configure:11015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11002 rm -rf conftest* | 11015 rm -rf conftest* |
11003 eval "ac_cv_lib_$ac_lib_var=yes" | 11016 eval "ac_cv_lib_$ac_lib_var=yes" |
11004 else | 11017 else |
11005 echo "configure: failed program was:" >&5 | 11018 echo "configure: failed program was:" >&5 |
11006 cat conftest.$ac_ext >&5 | 11019 cat conftest.$ac_ext >&5 |
11025 fi | 11038 fi |
11026 | 11039 |
11027 } | 11040 } |
11028 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11041 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11029 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11042 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11030 echo "configure:11031: checking for _dlopen in -lc" >&5 | 11043 echo "configure:11044: checking for _dlopen in -lc" >&5 |
11031 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11044 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11032 | 11045 |
11033 xe_check_libs=" -lc " | 11046 xe_check_libs=" -lc " |
11034 cat > conftest.$ac_ext <<EOF | 11047 cat > conftest.$ac_ext <<EOF |
11035 #line 11036 "configure" | 11048 #line 11049 "configure" |
11036 #include "confdefs.h" | 11049 #include "confdefs.h" |
11037 /* Override any gcc2 internal prototype to avoid an error. */ | 11050 /* Override any gcc2 internal prototype to avoid an error. */ |
11038 /* We use char because int might match the return type of a gcc2 | 11051 /* We use char because int might match the return type of a gcc2 |
11039 builtin and then its argument prototype would still apply. */ | 11052 builtin and then its argument prototype would still apply. */ |
11040 char _dlopen(); | 11053 char _dlopen(); |
11041 | 11054 |
11042 int main() { | 11055 int main() { |
11043 _dlopen() | 11056 _dlopen() |
11044 ; return 0; } | 11057 ; return 0; } |
11045 EOF | 11058 EOF |
11046 if { (eval echo configure:11047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11059 if { (eval echo configure:11060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11047 rm -rf conftest* | 11060 rm -rf conftest* |
11048 eval "ac_cv_lib_$ac_lib_var=yes" | 11061 eval "ac_cv_lib_$ac_lib_var=yes" |
11049 else | 11062 else |
11050 echo "configure: failed program was:" >&5 | 11063 echo "configure: failed program was:" >&5 |
11051 cat conftest.$ac_ext >&5 | 11064 cat conftest.$ac_ext >&5 |
11070 fi | 11083 fi |
11071 | 11084 |
11072 } | 11085 } |
11073 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11086 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11074 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11087 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11075 echo "configure:11076: checking for dlopen in -lc" >&5 | 11088 echo "configure:11089: checking for dlopen in -lc" >&5 |
11076 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11089 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11077 | 11090 |
11078 xe_check_libs=" -lc " | 11091 xe_check_libs=" -lc " |
11079 cat > conftest.$ac_ext <<EOF | 11092 cat > conftest.$ac_ext <<EOF |
11080 #line 11081 "configure" | 11093 #line 11094 "configure" |
11081 #include "confdefs.h" | 11094 #include "confdefs.h" |
11082 /* Override any gcc2 internal prototype to avoid an error. */ | 11095 /* Override any gcc2 internal prototype to avoid an error. */ |
11083 /* We use char because int might match the return type of a gcc2 | 11096 /* We use char because int might match the return type of a gcc2 |
11084 builtin and then its argument prototype would still apply. */ | 11097 builtin and then its argument prototype would still apply. */ |
11085 char dlopen(); | 11098 char dlopen(); |
11086 | 11099 |
11087 int main() { | 11100 int main() { |
11088 dlopen() | 11101 dlopen() |
11089 ; return 0; } | 11102 ; return 0; } |
11090 EOF | 11103 EOF |
11091 if { (eval echo configure:11092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11104 if { (eval echo configure:11105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11092 rm -rf conftest* | 11105 rm -rf conftest* |
11093 eval "ac_cv_lib_$ac_lib_var=yes" | 11106 eval "ac_cv_lib_$ac_lib_var=yes" |
11094 else | 11107 else |
11095 echo "configure: failed program was:" >&5 | 11108 echo "configure: failed program was:" >&5 |
11096 cat conftest.$ac_ext >&5 | 11109 cat conftest.$ac_ext >&5 |
11115 fi | 11128 fi |
11116 | 11129 |
11117 } | 11130 } |
11118 test -z "$with_shlib" && { | 11131 test -z "$with_shlib" && { |
11119 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11132 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11120 echo "configure:11121: checking for shl_load in -ldld" >&5 | 11133 echo "configure:11134: checking for shl_load in -ldld" >&5 |
11121 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11134 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11122 | 11135 |
11123 xe_check_libs=" -ldld " | 11136 xe_check_libs=" -ldld " |
11124 cat > conftest.$ac_ext <<EOF | 11137 cat > conftest.$ac_ext <<EOF |
11125 #line 11126 "configure" | 11138 #line 11139 "configure" |
11126 #include "confdefs.h" | 11139 #include "confdefs.h" |
11127 /* Override any gcc2 internal prototype to avoid an error. */ | 11140 /* Override any gcc2 internal prototype to avoid an error. */ |
11128 /* We use char because int might match the return type of a gcc2 | 11141 /* We use char because int might match the return type of a gcc2 |
11129 builtin and then its argument prototype would still apply. */ | 11142 builtin and then its argument prototype would still apply. */ |
11130 char shl_load(); | 11143 char shl_load(); |
11131 | 11144 |
11132 int main() { | 11145 int main() { |
11133 shl_load() | 11146 shl_load() |
11134 ; return 0; } | 11147 ; return 0; } |
11135 EOF | 11148 EOF |
11136 if { (eval echo configure:11137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11149 if { (eval echo configure:11150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11137 rm -rf conftest* | 11150 rm -rf conftest* |
11138 eval "ac_cv_lib_$ac_lib_var=yes" | 11151 eval "ac_cv_lib_$ac_lib_var=yes" |
11139 else | 11152 else |
11140 echo "configure: failed program was:" >&5 | 11153 echo "configure: failed program was:" >&5 |
11141 cat conftest.$ac_ext >&5 | 11154 cat conftest.$ac_ext >&5 |
11160 fi | 11173 fi |
11161 | 11174 |
11162 } | 11175 } |
11163 test -z "$with_shlib" && { | 11176 test -z "$with_shlib" && { |
11164 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11177 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11165 echo "configure:11166: checking for dld_init in -ldld" >&5 | 11178 echo "configure:11179: checking for dld_init in -ldld" >&5 |
11166 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11179 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11167 | 11180 |
11168 xe_check_libs=" -ldld " | 11181 xe_check_libs=" -ldld " |
11169 cat > conftest.$ac_ext <<EOF | 11182 cat > conftest.$ac_ext <<EOF |
11170 #line 11171 "configure" | 11183 #line 11184 "configure" |
11171 #include "confdefs.h" | 11184 #include "confdefs.h" |
11172 /* Override any gcc2 internal prototype to avoid an error. */ | 11185 /* Override any gcc2 internal prototype to avoid an error. */ |
11173 /* We use char because int might match the return type of a gcc2 | 11186 /* We use char because int might match the return type of a gcc2 |
11174 builtin and then its argument prototype would still apply. */ | 11187 builtin and then its argument prototype would still apply. */ |
11175 char dld_init(); | 11188 char dld_init(); |
11176 | 11189 |
11177 int main() { | 11190 int main() { |
11178 dld_init() | 11191 dld_init() |
11179 ; return 0; } | 11192 ; return 0; } |
11180 EOF | 11193 EOF |
11181 if { (eval echo configure:11182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11194 if { (eval echo configure:11195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11182 rm -rf conftest* | 11195 rm -rf conftest* |
11183 eval "ac_cv_lib_$ac_lib_var=yes" | 11196 eval "ac_cv_lib_$ac_lib_var=yes" |
11184 else | 11197 else |
11185 echo "configure: failed program was:" >&5 | 11198 echo "configure: failed program was:" >&5 |
11186 cat conftest.$ac_ext >&5 | 11199 cat conftest.$ac_ext >&5 |
11226 dll_lflags="-shared" | 11239 dll_lflags="-shared" |
11227 dll_cflags="-r" | 11240 dll_cflags="-r" |
11228 dll_oflags="-o " | 11241 dll_oflags="-o " |
11229 | 11242 |
11230 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11243 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
11231 echo "configure:11232: checking how to build a shared library" >&5 | 11244 echo "configure:11245: checking how to build a shared library" >&5 |
11232 case `uname -rs` in | 11245 case `uname -rs` in |
11233 UNIX_SV*|UNIX_System_V*) | 11246 UNIX_SV*|UNIX_System_V*) |
11234 dll_lflags="-G" | 11247 dll_lflags="-G" |
11235 dll_cflags=-Kpic | 11248 dll_cflags=-Kpic |
11236 dll_ld="ld" | 11249 dll_ld="ld" |
11317 | 11330 |
11318 | 11331 |
11319 for ac_func in dlerror | 11332 for ac_func in dlerror |
11320 do | 11333 do |
11321 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11322 echo "configure:11323: checking for $ac_func" >&5 | 11335 echo "configure:11336: checking for $ac_func" >&5 |
11323 | 11336 |
11324 cat > conftest.$ac_ext <<EOF | 11337 cat > conftest.$ac_ext <<EOF |
11325 #line 11326 "configure" | 11338 #line 11339 "configure" |
11326 #include "confdefs.h" | 11339 #include "confdefs.h" |
11327 /* System header to define __stub macros and hopefully few prototypes, | 11340 /* System header to define __stub macros and hopefully few prototypes, |
11328 which can conflict with char $ac_func(); below. */ | 11341 which can conflict with char $ac_func(); below. */ |
11329 #include <assert.h> | 11342 #include <assert.h> |
11330 /* Override any gcc2 internal prototype to avoid an error. */ | 11343 /* Override any gcc2 internal prototype to avoid an error. */ |
11343 $ac_func(); | 11356 $ac_func(); |
11344 #endif | 11357 #endif |
11345 | 11358 |
11346 ; return 0; } | 11359 ; return 0; } |
11347 EOF | 11360 EOF |
11348 if { (eval echo configure:11349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11361 if { (eval echo configure:11362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11349 rm -rf conftest* | 11362 rm -rf conftest* |
11350 eval "ac_cv_func_$ac_func=yes" | 11363 eval "ac_cv_func_$ac_func=yes" |
11351 else | 11364 else |
11352 echo "configure: failed program was:" >&5 | 11365 echo "configure: failed program was:" >&5 |
11353 cat conftest.$ac_ext >&5 | 11366 cat conftest.$ac_ext >&5 |
11379 *) ;; | 11392 *) ;; |
11380 esac | 11393 esac |
11381 fi | 11394 fi |
11382 | 11395 |
11383 cat > conftest.$ac_ext <<EOF | 11396 cat > conftest.$ac_ext <<EOF |
11384 #line 11385 "configure" | 11397 #line 11398 "configure" |
11385 #include "confdefs.h" | 11398 #include "confdefs.h" |
11386 int main(int c,char *v[]){return 0;} | 11399 int main(int c,char *v[]){return 0;} |
11387 EOF | 11400 EOF |
11388 if { (eval echo configure:11389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 11401 if { (eval echo configure:11402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
11389 then | 11402 then |
11390 : | 11403 : |
11391 else | 11404 else |
11392 echo "configure: failed program was:" >&5 | 11405 echo "configure: failed program was:" >&5 |
11393 cat conftest.$ac_ext >&5 | 11406 cat conftest.$ac_ext >&5 |