Mercurial > hg > xemacs-beta
comparison configure @ 175:2d532a89d707 r20-3b14
Import from CVS: tag r20-3b14
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 09:50:14 +0200 |
| parents | 8eaf7971accc |
| children | 6075d714658b |
comparison
equal
deleted
inserted
replaced
| 174:bb3568571b84 | 175:2d532a89d707 |
|---|---|
| 1429 echo " xemacs will be linked with \"sunpro.o\"" | 1429 echo " xemacs will be linked with \"sunpro.o\"" |
| 1430 fi | 1430 fi |
| 1431 with_tooltalk=yes | 1431 with_tooltalk=yes |
| 1432 fi | 1432 fi |
| 1433 | 1433 |
| 1434 if test "$with_clash_detection" = "yes"; then | |
| 1435 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 1436 Defining CLASH_DETECTION | |
| 1437 EOF | |
| 1438 cat >> confdefs.h <<\EOF | |
| 1439 #define CLASH_DETECTION 1 | |
| 1440 EOF | |
| 1441 } | |
| 1442 | |
| 1443 extra_objs="$extra_objs filelock.o" && if test "$extra_verbose" = "yes"; then | |
| 1444 echo " xemacs will be linked with \"filelock.o\"" | |
| 1445 fi | |
| 1446 fi | |
| 1447 | |
| 1434 test -n "$compiler" && CC="$compiler" | 1448 test -n "$compiler" && CC="$compiler" |
| 1435 if test "$with_gcc" = "no"; then case "$CC" in "" | *gcc* ) CC="${NON_GNU_CC-cc}" ;; esac | 1449 if test "$with_gcc" = "no"; then case "$CC" in "" | *gcc* ) CC="${NON_GNU_CC-cc}" ;; esac |
| 1436 fi | 1450 fi |
| 1437 | 1451 |
| 1438 test "$cflags" != "UNSPECIFIED" && CFLAGS="$cflags" | 1452 test "$cflags" != "UNSPECIFIED" && CFLAGS="$cflags" |
| 1439 xe_save_CFLAGS="$CFLAGS" | 1453 xe_save_CFLAGS="$CFLAGS" |
| 1440 | 1454 |
| 1441 # Extract the first word of "gcc", so it can be a program name with args. | 1455 # Extract the first word of "gcc", so it can be a program name with args. |
| 1442 set dummy gcc; ac_word=$2 | 1456 set dummy gcc; ac_word=$2 |
| 1443 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1457 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1444 echo "configure:1445: checking for $ac_word" >&5 | 1458 echo "configure:1459: checking for $ac_word" >&5 |
| 1445 | 1459 |
| 1446 if test -n "$CC"; then | 1460 if test -n "$CC"; then |
| 1447 ac_cv_prog_CC="$CC" # Let the user override the test. | 1461 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1448 else | 1462 else |
| 1449 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1463 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1465 | 1479 |
| 1466 if test -z "$CC"; then | 1480 if test -z "$CC"; then |
| 1467 # Extract the first word of "cc", so it can be a program name with args. | 1481 # Extract the first word of "cc", so it can be a program name with args. |
| 1468 set dummy cc; ac_word=$2 | 1482 set dummy cc; ac_word=$2 |
| 1469 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1483 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1470 echo "configure:1471: checking for $ac_word" >&5 | 1484 echo "configure:1485: checking for $ac_word" >&5 |
| 1471 | 1485 |
| 1472 if test -n "$CC"; then | 1486 if test -n "$CC"; then |
| 1473 ac_cv_prog_CC="$CC" # Let the user override the test. | 1487 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1474 else | 1488 else |
| 1475 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1489 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1510 | 1524 |
| 1511 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1525 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1512 fi | 1526 fi |
| 1513 | 1527 |
| 1514 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1528 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1515 echo "configure:1516: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1529 echo "configure:1530: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1516 | 1530 |
| 1517 ac_ext=c | 1531 ac_ext=c |
| 1518 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1532 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1519 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1533 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1520 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1534 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1522 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1536 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1523 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1537 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1524 cross_compiling=no | 1538 cross_compiling=no |
| 1525 | 1539 |
| 1526 cat > conftest.$ac_ext <<EOF | 1540 cat > conftest.$ac_ext <<EOF |
| 1527 #line 1528 "configure" | 1541 #line 1542 "configure" |
| 1528 #include "confdefs.h" | 1542 #include "confdefs.h" |
| 1529 main(){return(0);} | 1543 main(){return(0);} |
| 1530 EOF | 1544 EOF |
| 1531 if { (eval echo configure:1532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1545 if { (eval echo configure:1546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1532 ac_cv_prog_cc_works=yes | 1546 ac_cv_prog_cc_works=yes |
| 1533 # If we can't run a trivial program, we are probably using a cross compiler. | 1547 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1534 if (./conftest; exit) 2>/dev/null; then | 1548 if (./conftest; exit) 2>/dev/null; then |
| 1535 ac_cv_prog_cc_cross=no | 1549 ac_cv_prog_cc_cross=no |
| 1536 else | 1550 else |
| 1546 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1560 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1547 if test $ac_cv_prog_cc_works = no; then | 1561 if test $ac_cv_prog_cc_works = no; then |
| 1548 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1562 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1549 fi | 1563 fi |
| 1550 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1564 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1551 echo "configure:1552: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1565 echo "configure:1566: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1552 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1566 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1553 cross_compiling=$ac_cv_prog_cc_cross | 1567 cross_compiling=$ac_cv_prog_cc_cross |
| 1554 | 1568 |
| 1555 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1569 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1556 echo "configure:1557: checking whether we are using GNU C" >&5 | 1570 echo "configure:1571: checking whether we are using GNU C" >&5 |
| 1557 | 1571 |
| 1558 cat > conftest.c <<EOF | 1572 cat > conftest.c <<EOF |
| 1559 #ifdef __GNUC__ | 1573 #ifdef __GNUC__ |
| 1560 yes; | 1574 yes; |
| 1561 #endif | 1575 #endif |
| 1562 EOF | 1576 EOF |
| 1563 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1577 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1564 ac_cv_prog_gcc=yes | 1578 ac_cv_prog_gcc=yes |
| 1565 else | 1579 else |
| 1566 ac_cv_prog_gcc=no | 1580 ac_cv_prog_gcc=no |
| 1567 fi | 1581 fi |
| 1568 | 1582 |
| 1572 GCC=yes | 1586 GCC=yes |
| 1573 ac_test_CFLAGS="${CFLAGS+set}" | 1587 ac_test_CFLAGS="${CFLAGS+set}" |
| 1574 ac_save_CFLAGS="$CFLAGS" | 1588 ac_save_CFLAGS="$CFLAGS" |
| 1575 CFLAGS= | 1589 CFLAGS= |
| 1576 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1590 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1577 echo "configure:1578: checking whether ${CC-cc} accepts -g" >&5 | 1591 echo "configure:1592: checking whether ${CC-cc} accepts -g" >&5 |
| 1578 | 1592 |
| 1579 echo 'void f(){}' > conftest.c | 1593 echo 'void f(){}' > conftest.c |
| 1580 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1594 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1581 ac_cv_prog_cc_g=yes | 1595 ac_cv_prog_cc_g=yes |
| 1582 else | 1596 else |
| 1601 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1615 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1602 CC=${NON_GNU_CC-cc} | 1616 CC=${NON_GNU_CC-cc} |
| 1603 # Extract the first word of "gcc", so it can be a program name with args. | 1617 # Extract the first word of "gcc", so it can be a program name with args. |
| 1604 set dummy gcc; ac_word=$2 | 1618 set dummy gcc; ac_word=$2 |
| 1605 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1619 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1606 echo "configure:1607: checking for $ac_word" >&5 | 1620 echo "configure:1621: checking for $ac_word" >&5 |
| 1607 | 1621 |
| 1608 if test -n "$CC"; then | 1622 if test -n "$CC"; then |
| 1609 ac_cv_prog_CC="$CC" # Let the user override the test. | 1623 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1610 else | 1624 else |
| 1611 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1625 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1627 | 1641 |
| 1628 if test -z "$CC"; then | 1642 if test -z "$CC"; then |
| 1629 # Extract the first word of "cc", so it can be a program name with args. | 1643 # Extract the first word of "cc", so it can be a program name with args. |
| 1630 set dummy cc; ac_word=$2 | 1644 set dummy cc; ac_word=$2 |
| 1631 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1645 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1632 echo "configure:1633: checking for $ac_word" >&5 | 1646 echo "configure:1647: checking for $ac_word" >&5 |
| 1633 | 1647 |
| 1634 if test -n "$CC"; then | 1648 if test -n "$CC"; then |
| 1635 ac_cv_prog_CC="$CC" # Let the user override the test. | 1649 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1636 else | 1650 else |
| 1637 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1651 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1672 | 1686 |
| 1673 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1687 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1674 fi | 1688 fi |
| 1675 | 1689 |
| 1676 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1690 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1677 echo "configure:1678: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1691 echo "configure:1692: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1678 | 1692 |
| 1679 ac_ext=c | 1693 ac_ext=c |
| 1680 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1694 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1681 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1695 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1682 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1696 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1684 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1698 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1685 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1699 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1686 cross_compiling=no | 1700 cross_compiling=no |
| 1687 | 1701 |
| 1688 cat > conftest.$ac_ext <<EOF | 1702 cat > conftest.$ac_ext <<EOF |
| 1689 #line 1690 "configure" | 1703 #line 1704 "configure" |
| 1690 #include "confdefs.h" | 1704 #include "confdefs.h" |
| 1691 main(){return(0);} | 1705 main(){return(0);} |
| 1692 EOF | 1706 EOF |
| 1693 if { (eval echo configure:1694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1707 if { (eval echo configure:1708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1694 ac_cv_prog_cc_works=yes | 1708 ac_cv_prog_cc_works=yes |
| 1695 # If we can't run a trivial program, we are probably using a cross compiler. | 1709 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1696 if (./conftest; exit) 2>/dev/null; then | 1710 if (./conftest; exit) 2>/dev/null; then |
| 1697 ac_cv_prog_cc_cross=no | 1711 ac_cv_prog_cc_cross=no |
| 1698 else | 1712 else |
| 1708 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1722 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1709 if test $ac_cv_prog_cc_works = no; then | 1723 if test $ac_cv_prog_cc_works = no; then |
| 1710 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1724 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1711 fi | 1725 fi |
| 1712 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1726 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1713 echo "configure:1714: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1727 echo "configure:1728: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1714 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1728 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1715 cross_compiling=$ac_cv_prog_cc_cross | 1729 cross_compiling=$ac_cv_prog_cc_cross |
| 1716 | 1730 |
| 1717 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1731 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1718 echo "configure:1719: checking whether we are using GNU C" >&5 | 1732 echo "configure:1733: checking whether we are using GNU C" >&5 |
| 1719 | 1733 |
| 1720 cat > conftest.c <<EOF | 1734 cat > conftest.c <<EOF |
| 1721 #ifdef __GNUC__ | 1735 #ifdef __GNUC__ |
| 1722 yes; | 1736 yes; |
| 1723 #endif | 1737 #endif |
| 1724 EOF | 1738 EOF |
| 1725 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1739 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1726 ac_cv_prog_gcc=yes | 1740 ac_cv_prog_gcc=yes |
| 1727 else | 1741 else |
| 1728 ac_cv_prog_gcc=no | 1742 ac_cv_prog_gcc=no |
| 1729 fi | 1743 fi |
| 1730 | 1744 |
| 1734 GCC=yes | 1748 GCC=yes |
| 1735 ac_test_CFLAGS="${CFLAGS+set}" | 1749 ac_test_CFLAGS="${CFLAGS+set}" |
| 1736 ac_save_CFLAGS="$CFLAGS" | 1750 ac_save_CFLAGS="$CFLAGS" |
| 1737 CFLAGS= | 1751 CFLAGS= |
| 1738 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1752 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1739 echo "configure:1740: checking whether ${CC-cc} accepts -g" >&5 | 1753 echo "configure:1754: checking whether ${CC-cc} accepts -g" >&5 |
| 1740 | 1754 |
| 1741 echo 'void f(){}' > conftest.c | 1755 echo 'void f(){}' > conftest.c |
| 1742 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1756 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1743 ac_cv_prog_cc_g=yes | 1757 ac_cv_prog_cc_g=yes |
| 1744 else | 1758 else |
| 1763 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1777 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 1764 CC=gcc | 1778 CC=gcc |
| 1765 # Extract the first word of "gcc", so it can be a program name with args. | 1779 # Extract the first word of "gcc", so it can be a program name with args. |
| 1766 set dummy gcc; ac_word=$2 | 1780 set dummy gcc; ac_word=$2 |
| 1767 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1781 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1768 echo "configure:1769: checking for $ac_word" >&5 | 1782 echo "configure:1783: checking for $ac_word" >&5 |
| 1769 | 1783 |
| 1770 if test -n "$CC"; then | 1784 if test -n "$CC"; then |
| 1771 ac_cv_prog_CC="$CC" # Let the user override the test. | 1785 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1772 else | 1786 else |
| 1773 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1787 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1789 | 1803 |
| 1790 if test -z "$CC"; then | 1804 if test -z "$CC"; then |
| 1791 # Extract the first word of "cc", so it can be a program name with args. | 1805 # Extract the first word of "cc", so it can be a program name with args. |
| 1792 set dummy cc; ac_word=$2 | 1806 set dummy cc; ac_word=$2 |
| 1793 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1807 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1794 echo "configure:1795: checking for $ac_word" >&5 | 1808 echo "configure:1809: checking for $ac_word" >&5 |
| 1795 | 1809 |
| 1796 if test -n "$CC"; then | 1810 if test -n "$CC"; then |
| 1797 ac_cv_prog_CC="$CC" # Let the user override the test. | 1811 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1798 else | 1812 else |
| 1799 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1813 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1834 | 1848 |
| 1835 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1849 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1836 fi | 1850 fi |
| 1837 | 1851 |
| 1838 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1852 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1839 echo "configure:1840: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1853 echo "configure:1854: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1840 | 1854 |
| 1841 ac_ext=c | 1855 ac_ext=c |
| 1842 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1856 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1843 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1857 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1844 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1858 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1846 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1860 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1847 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1861 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1848 cross_compiling=no | 1862 cross_compiling=no |
| 1849 | 1863 |
| 1850 cat > conftest.$ac_ext <<EOF | 1864 cat > conftest.$ac_ext <<EOF |
| 1851 #line 1852 "configure" | 1865 #line 1866 "configure" |
| 1852 #include "confdefs.h" | 1866 #include "confdefs.h" |
| 1853 main(){return(0);} | 1867 main(){return(0);} |
| 1854 EOF | 1868 EOF |
| 1855 if { (eval echo configure:1856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1869 if { (eval echo configure:1870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1856 ac_cv_prog_cc_works=yes | 1870 ac_cv_prog_cc_works=yes |
| 1857 # If we can't run a trivial program, we are probably using a cross compiler. | 1871 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1858 if (./conftest; exit) 2>/dev/null; then | 1872 if (./conftest; exit) 2>/dev/null; then |
| 1859 ac_cv_prog_cc_cross=no | 1873 ac_cv_prog_cc_cross=no |
| 1860 else | 1874 else |
| 1870 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1884 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1871 if test $ac_cv_prog_cc_works = no; then | 1885 if test $ac_cv_prog_cc_works = no; then |
| 1872 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1886 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1873 fi | 1887 fi |
| 1874 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1888 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1875 echo "configure:1876: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1889 echo "configure:1890: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1876 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1890 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1877 cross_compiling=$ac_cv_prog_cc_cross | 1891 cross_compiling=$ac_cv_prog_cc_cross |
| 1878 | 1892 |
| 1879 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1893 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1880 echo "configure:1881: checking whether we are using GNU C" >&5 | 1894 echo "configure:1895: checking whether we are using GNU C" >&5 |
| 1881 | 1895 |
| 1882 cat > conftest.c <<EOF | 1896 cat > conftest.c <<EOF |
| 1883 #ifdef __GNUC__ | 1897 #ifdef __GNUC__ |
| 1884 yes; | 1898 yes; |
| 1885 #endif | 1899 #endif |
| 1886 EOF | 1900 EOF |
| 1887 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1901 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1888 ac_cv_prog_gcc=yes | 1902 ac_cv_prog_gcc=yes |
| 1889 else | 1903 else |
| 1890 ac_cv_prog_gcc=no | 1904 ac_cv_prog_gcc=no |
| 1891 fi | 1905 fi |
| 1892 | 1906 |
| 1896 GCC=yes | 1910 GCC=yes |
| 1897 ac_test_CFLAGS="${CFLAGS+set}" | 1911 ac_test_CFLAGS="${CFLAGS+set}" |
| 1898 ac_save_CFLAGS="$CFLAGS" | 1912 ac_save_CFLAGS="$CFLAGS" |
| 1899 CFLAGS= | 1913 CFLAGS= |
| 1900 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1914 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1901 echo "configure:1902: checking whether ${CC-cc} accepts -g" >&5 | 1915 echo "configure:1916: checking whether ${CC-cc} accepts -g" >&5 |
| 1902 | 1916 |
| 1903 echo 'void f(){}' > conftest.c | 1917 echo 'void f(){}' > conftest.c |
| 1904 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1918 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1905 ac_cv_prog_cc_g=yes | 1919 ac_cv_prog_cc_g=yes |
| 1906 else | 1920 else |
| 1929 test -n "$CPP" -a -d "$CPP" && CPP= | 1943 test -n "$CPP" -a -d "$CPP" && CPP= |
| 1930 | 1944 |
| 1931 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1945 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 1932 | 1946 |
| 1933 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1947 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1934 echo "configure:1935: checking how to run the C preprocessor" >&5 | 1948 echo "configure:1949: checking how to run the C preprocessor" >&5 |
| 1935 # On Suns, sometimes $CPP names a directory. | 1949 # On Suns, sometimes $CPP names a directory. |
| 1936 if test -n "$CPP" && test -d "$CPP"; then | 1950 if test -n "$CPP" && test -d "$CPP"; then |
| 1937 CPP= | 1951 CPP= |
| 1938 fi | 1952 fi |
| 1939 if test -z "$CPP"; then | 1953 if test -z "$CPP"; then |
| 1942 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1956 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 1943 CPP="${CC-cc} -E" | 1957 CPP="${CC-cc} -E" |
| 1944 # On the NeXT, cc -E runs the code through the compiler's parser, | 1958 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1945 # not just through cpp. | 1959 # not just through cpp. |
| 1946 cat > conftest.$ac_ext <<EOF | 1960 cat > conftest.$ac_ext <<EOF |
| 1947 #line 1948 "configure" | 1961 #line 1962 "configure" |
| 1948 #include "confdefs.h" | 1962 #include "confdefs.h" |
| 1949 #include <assert.h> | 1963 #include <assert.h> |
| 1950 Syntax Error | 1964 Syntax Error |
| 1951 EOF | 1965 EOF |
| 1952 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1953 { (eval echo configure:1954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1967 { (eval echo configure:1968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1954 ac_err=`grep -v '^ *+' conftest.out` | 1968 ac_err=`grep -v '^ *+' conftest.out` |
| 1955 if test -z "$ac_err"; then | 1969 if test -z "$ac_err"; then |
| 1956 : | 1970 : |
| 1957 else | 1971 else |
| 1958 echo "$ac_err" >&5 | 1972 echo "$ac_err" >&5 |
| 1959 echo "configure: failed program was:" >&5 | 1973 echo "configure: failed program was:" >&5 |
| 1960 cat conftest.$ac_ext >&5 | 1974 cat conftest.$ac_ext >&5 |
| 1961 rm -rf conftest* | 1975 rm -rf conftest* |
| 1962 CPP="${CC-cc} -E -traditional-cpp" | 1976 CPP="${CC-cc} -E -traditional-cpp" |
| 1963 cat > conftest.$ac_ext <<EOF | 1977 cat > conftest.$ac_ext <<EOF |
| 1964 #line 1965 "configure" | 1978 #line 1979 "configure" |
| 1965 #include "confdefs.h" | 1979 #include "confdefs.h" |
| 1966 #include <assert.h> | 1980 #include <assert.h> |
| 1967 Syntax Error | 1981 Syntax Error |
| 1968 EOF | 1982 EOF |
| 1969 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1970 { (eval echo configure:1971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1984 { (eval echo configure:1985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1971 ac_err=`grep -v '^ *+' conftest.out` | 1985 ac_err=`grep -v '^ *+' conftest.out` |
| 1972 if test -z "$ac_err"; then | 1986 if test -z "$ac_err"; then |
| 1973 : | 1987 : |
| 1974 else | 1988 else |
| 1975 echo "$ac_err" >&5 | 1989 echo "$ac_err" >&5 |
| 1988 fi | 2002 fi |
| 1989 echo "$ac_t""$CPP" 1>&6 | 2003 echo "$ac_t""$CPP" 1>&6 |
| 1990 | 2004 |
| 1991 | 2005 |
| 1992 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2006 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 1993 echo "configure:1994: checking for AIX" >&5 | 2007 echo "configure:2008: checking for AIX" >&5 |
| 1994 cat > conftest.$ac_ext <<EOF | 2008 cat > conftest.$ac_ext <<EOF |
| 1995 #line 1996 "configure" | 2009 #line 2010 "configure" |
| 1996 #include "confdefs.h" | 2010 #include "confdefs.h" |
| 1997 #ifdef _AIX | 2011 #ifdef _AIX |
| 1998 yes | 2012 yes |
| 1999 #endif | 2013 #endif |
| 2000 | 2014 |
| 2017 rm -f conftest* | 2031 rm -f conftest* |
| 2018 | 2032 |
| 2019 | 2033 |
| 2020 | 2034 |
| 2021 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 2035 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
| 2022 echo "configure:2023: checking whether we are using SunPro C" >&5 | 2036 echo "configure:2037: checking whether we are using SunPro C" >&5 |
| 2023 cat > conftest.$ac_ext <<EOF | 2037 cat > conftest.$ac_ext <<EOF |
| 2024 #line 2025 "configure" | 2038 #line 2039 "configure" |
| 2025 #include "confdefs.h" | 2039 #include "confdefs.h" |
| 2026 | 2040 |
| 2027 int main() { | 2041 int main() { |
| 2028 #ifndef __SUNPRO_C | 2042 #ifndef __SUNPRO_C |
| 2029 #error Not a SunPro compiler :-( | 2043 #error Not a SunPro compiler :-( |
| 2030 ******* ======= ******** &&&&&&&& | 2044 ******* ======= ******** &&&&&&&& |
| 2031 #endif | 2045 #endif |
| 2032 | 2046 |
| 2033 ; return 0; } | 2047 ; return 0; } |
| 2034 EOF | 2048 EOF |
| 2035 if { (eval echo configure:2036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2049 if { (eval echo configure:2050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2036 rm -rf conftest* | 2050 rm -rf conftest* |
| 2037 __sunpro_c=yes | 2051 __sunpro_c=yes |
| 2038 else | 2052 else |
| 2039 echo "configure: failed program was:" >&5 | 2053 echo "configure: failed program was:" >&5 |
| 2040 cat conftest.$ac_ext >&5 | 2054 cat conftest.$ac_ext >&5 |
| 2258 | 2272 |
| 2259 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" | 2273 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" |
| 2260 | 2274 |
| 2261 if test -z "$CFLAGS"; then | 2275 if test -z "$CFLAGS"; then |
| 2262 if test "$GCC" = "yes"; then | 2276 if test "$GCC" = "yes"; then |
| 2263 CFLAGS="-g -O2 -Wall" | 2277 CFLAGS="-g -O2 -Wall -Wno-switch" |
| 2264 test "$opsys" = "linux" -a "$machine" = "intel386" && \ | 2278 test "$opsys" = "linux" -a "$machine" = "intel386" && \ |
| 2265 CFLAGS="$CFLAGS -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2" | 2279 CFLAGS="$CFLAGS -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2" |
| 2266 elif test "$__sunpro_c" = "yes"; then | 2280 elif test "$__sunpro_c" = "yes"; then |
| 2267 case "$opsys" in | 2281 case "$opsys" in |
| 2268 sol2 ) CFLAGS="-v -xO4" ;; | 2282 sol2 ) CFLAGS="-v -xO4" ;; |
| 2317 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2331 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2318 echo " xemacs will be linked with \"$unexec\"" | 2332 echo " xemacs will be linked with \"$unexec\"" |
| 2319 fi | 2333 fi |
| 2320 | 2334 |
| 2321 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2335 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2322 echo "configure:2323: checking for dynodump" >&5 | 2336 echo "configure:2337: checking for dynodump" >&5 |
| 2323 if test "$unexec" != "unexsol2.o"; then | 2337 if test "$unexec" != "unexsol2.o"; then |
| 2324 echo "$ac_t""no" 1>&6 | 2338 echo "$ac_t""no" 1>&6 |
| 2325 else | 2339 else |
| 2326 echo "$ac_t""yes" 1>&6 | 2340 echo "$ac_t""yes" 1>&6 |
| 2327 { test "$extra_verbose" = "yes" && cat << \EOF | 2341 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2331 #define DYNODUMP 1 | 2345 #define DYNODUMP 1 |
| 2332 EOF | 2346 EOF |
| 2333 } | 2347 } |
| 2334 | 2348 |
| 2335 MAKE_SUBDIR="$MAKE_SUBDIR dynodump" && if test "$extra_verbose" = "yes"; then echo " Appending \"dynodump\" to \$MAKE_SUBDIR"; fi | 2349 MAKE_SUBDIR="$MAKE_SUBDIR dynodump" && if test "$extra_verbose" = "yes"; then echo " Appending \"dynodump\" to \$MAKE_SUBDIR"; fi |
| 2350 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS dynodump" && if test "$extra_verbose" = "yes"; then echo " Appending \"dynodump\" to \$SRC_SUBDIR_DEPS"; fi | |
| 2336 case "$machine" in | 2351 case "$machine" in |
| 2337 sparc ) dynodump_arch=sparc ;; | 2352 sparc ) dynodump_arch=sparc ;; |
| 2338 *86* ) dynodump_arch=i386 ;; | 2353 *86* ) dynodump_arch=i386 ;; |
| 2339 powerpc ) dynodump_arch=ppc ;; | 2354 powerpc ) dynodump_arch=ppc ;; |
| 2340 esac | 2355 esac |
| 2345 | 2360 |
| 2346 test -n "$ld_text_start_addr" && start_flags="-T $ld_text_start_addr -e __start" | 2361 test -n "$ld_text_start_addr" && start_flags="-T $ld_text_start_addr -e __start" |
| 2347 | 2362 |
| 2348 if test "$ordinary_link" = "no" -a "$GCC" = "yes"; then | 2363 if test "$ordinary_link" = "no" -a "$GCC" = "yes"; then |
| 2349 test -z "$linker" && linker='$(CC) -nostdlib' | 2364 test -z "$linker" && linker='$(CC) -nostdlib' |
| 2350 test -z "$lib_gcc" && lib_gcc='`$(CC) -print-lib-gccfile-name`' | 2365 test -z "$lib_gcc" && lib_gcc='`$(CC) -print-libgcc-file-name`' |
| 2351 fi | 2366 fi |
| 2352 test "$GCC" != "yes" && lib_gcc= | 2367 test "$GCC" != "yes" && lib_gcc= |
| 2353 | 2368 |
| 2354 | 2369 |
| 2355 | 2370 |
| 2387 esac | 2402 esac |
| 2388 fi | 2403 fi |
| 2389 | 2404 |
| 2390 if test "$add_runtime_path" = "yes"; then | 2405 if test "$add_runtime_path" = "yes"; then |
| 2391 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2406 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2392 echo "configure:2393: checking "for runtime libraries flag"" >&5 | 2407 echo "configure:2408: checking "for runtime libraries flag"" >&5 |
| 2393 dash_r="" | 2408 dash_r="" |
| 2394 for try_dash_r in "-R" "-R " "-rpath "; do | 2409 for try_dash_r in "-R" "-R " "-rpath "; do |
| 2395 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2410 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
| 2396 cat > conftest.$ac_ext <<EOF | 2411 cat > conftest.$ac_ext <<EOF |
| 2397 #line 2398 "configure" | 2412 #line 2413 "configure" |
| 2398 #include "confdefs.h" | 2413 #include "confdefs.h" |
| 2399 | 2414 |
| 2400 int main() { | 2415 int main() { |
| 2401 | 2416 |
| 2402 ; return 0; } | 2417 ; return 0; } |
| 2403 EOF | 2418 EOF |
| 2404 if { (eval echo configure:2405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2419 if { (eval echo configure:2420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2405 rm -rf conftest* | 2420 rm -rf conftest* |
| 2406 dash_r="$try_dash_r" | 2421 dash_r="$try_dash_r" |
| 2407 else | 2422 else |
| 2408 echo "configure: failed program was:" >&5 | 2423 echo "configure: failed program was:" >&5 |
| 2409 cat conftest.$ac_ext >&5 | 2424 cat conftest.$ac_ext >&5 |
| 2493 | 2508 |
| 2494 | 2509 |
| 2495 # Extract the first word of "ranlib", so it can be a program name with args. | 2510 # Extract the first word of "ranlib", so it can be a program name with args. |
| 2496 set dummy ranlib; ac_word=$2 | 2511 set dummy ranlib; ac_word=$2 |
| 2497 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2512 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2498 echo "configure:2499: checking for $ac_word" >&5 | 2513 echo "configure:2514: checking for $ac_word" >&5 |
| 2499 | 2514 |
| 2500 if test -n "$RANLIB"; then | 2515 if test -n "$RANLIB"; then |
| 2501 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2516 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2502 else | 2517 else |
| 2503 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2518 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2546 # AIX /bin/install | 2561 # AIX /bin/install |
| 2547 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2562 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2548 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2563 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2549 # ./install, which can be erroneously created by make from ./install.sh. | 2564 # ./install, which can be erroneously created by make from ./install.sh. |
| 2550 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2565 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2551 echo "configure:2552: checking for a BSD compatible install" >&5 | 2566 echo "configure:2567: checking for a BSD compatible install" >&5 |
| 2552 if test -z "$INSTALL"; then | 2567 if test -z "$INSTALL"; then |
| 2553 | 2568 |
| 2554 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2569 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
| 2555 for ac_dir in $PATH; do | 2570 for ac_dir in $PATH; do |
| 2556 # Account for people who put trailing slashes in PATH elements. | 2571 # Account for people who put trailing slashes in PATH elements. |
| 2597 for ac_prog in 'bison -y' byacc | 2612 for ac_prog in 'bison -y' byacc |
| 2598 do | 2613 do |
| 2599 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2614 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2600 set dummy $ac_prog; ac_word=$2 | 2615 set dummy $ac_prog; ac_word=$2 |
| 2601 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2616 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2602 echo "configure:2603: checking for $ac_word" >&5 | 2617 echo "configure:2618: checking for $ac_word" >&5 |
| 2603 | 2618 |
| 2604 if test -n "$YACC"; then | 2619 if test -n "$YACC"; then |
| 2605 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2620 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 2606 else | 2621 else |
| 2607 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2622 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2628 | 2643 |
| 2629 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2644 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 2630 do | 2645 do |
| 2631 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2646 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2632 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2647 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2633 echo "configure:2634: checking for $ac_hdr" >&5 | 2648 echo "configure:2649: checking for $ac_hdr" >&5 |
| 2634 | 2649 |
| 2635 cat > conftest.$ac_ext <<EOF | 2650 cat > conftest.$ac_ext <<EOF |
| 2636 #line 2637 "configure" | 2651 #line 2652 "configure" |
| 2637 #include "confdefs.h" | 2652 #include "confdefs.h" |
| 2638 #include <$ac_hdr> | 2653 #include <$ac_hdr> |
| 2639 EOF | 2654 EOF |
| 2640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2655 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2641 { (eval echo configure:2642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2656 { (eval echo configure:2657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2642 ac_err=`grep -v '^ *+' conftest.out` | 2657 ac_err=`grep -v '^ *+' conftest.out` |
| 2643 if test -z "$ac_err"; then | 2658 if test -z "$ac_err"; then |
| 2644 rm -rf conftest* | 2659 rm -rf conftest* |
| 2645 eval "ac_cv_header_$ac_safe=yes" | 2660 eval "ac_cv_header_$ac_safe=yes" |
| 2646 else | 2661 else |
| 2669 | 2684 |
| 2670 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2685 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
| 2671 do | 2686 do |
| 2672 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2687 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2673 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2688 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2674 echo "configure:2675: checking for $ac_hdr" >&5 | 2689 echo "configure:2690: checking for $ac_hdr" >&5 |
| 2675 | 2690 |
| 2676 cat > conftest.$ac_ext <<EOF | 2691 cat > conftest.$ac_ext <<EOF |
| 2677 #line 2678 "configure" | 2692 #line 2693 "configure" |
| 2678 #include "confdefs.h" | 2693 #include "confdefs.h" |
| 2679 #include <$ac_hdr> | 2694 #include <$ac_hdr> |
| 2680 EOF | 2695 EOF |
| 2681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2682 { (eval echo configure:2683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2697 { (eval echo configure:2698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2683 ac_err=`grep -v '^ *+' conftest.out` | 2698 ac_err=`grep -v '^ *+' conftest.out` |
| 2684 if test -z "$ac_err"; then | 2699 if test -z "$ac_err"; then |
| 2685 rm -rf conftest* | 2700 rm -rf conftest* |
| 2686 eval "ac_cv_header_$ac_safe=yes" | 2701 eval "ac_cv_header_$ac_safe=yes" |
| 2687 else | 2702 else |
| 2710 | 2725 |
| 2711 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h | 2726 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h |
| 2712 do | 2727 do |
| 2713 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2728 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2714 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2729 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2715 echo "configure:2716: checking for $ac_hdr" >&5 | 2730 echo "configure:2731: checking for $ac_hdr" >&5 |
| 2716 | 2731 |
| 2717 cat > conftest.$ac_ext <<EOF | 2732 cat > conftest.$ac_ext <<EOF |
| 2718 #line 2719 "configure" | 2733 #line 2734 "configure" |
| 2719 #include "confdefs.h" | 2734 #include "confdefs.h" |
| 2720 #include <$ac_hdr> | 2735 #include <$ac_hdr> |
| 2721 EOF | 2736 EOF |
| 2722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2737 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2723 { (eval echo configure:2724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2738 { (eval echo configure:2739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2724 ac_err=`grep -v '^ *+' conftest.out` | 2739 ac_err=`grep -v '^ *+' conftest.out` |
| 2725 if test -z "$ac_err"; then | 2740 if test -z "$ac_err"; then |
| 2726 rm -rf conftest* | 2741 rm -rf conftest* |
| 2727 eval "ac_cv_header_$ac_safe=yes" | 2742 eval "ac_cv_header_$ac_safe=yes" |
| 2728 else | 2743 else |
| 2748 echo "$ac_t""no" 1>&6 | 2763 echo "$ac_t""no" 1>&6 |
| 2749 fi | 2764 fi |
| 2750 done | 2765 done |
| 2751 | 2766 |
| 2752 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2767 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 2753 echo "configure:2754: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2768 echo "configure:2769: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 2754 | 2769 |
| 2755 cat > conftest.$ac_ext <<EOF | 2770 cat > conftest.$ac_ext <<EOF |
| 2756 #line 2757 "configure" | 2771 #line 2772 "configure" |
| 2757 #include "confdefs.h" | 2772 #include "confdefs.h" |
| 2758 #include <sys/types.h> | 2773 #include <sys/types.h> |
| 2759 #include <sys/wait.h> | 2774 #include <sys/wait.h> |
| 2760 #ifndef WEXITSTATUS | 2775 #ifndef WEXITSTATUS |
| 2761 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2776 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 2767 int s; | 2782 int s; |
| 2768 wait (&s); | 2783 wait (&s); |
| 2769 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2784 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 2770 ; return 0; } | 2785 ; return 0; } |
| 2771 EOF | 2786 EOF |
| 2772 if { (eval echo configure:2773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2787 if { (eval echo configure:2788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2773 rm -rf conftest* | 2788 rm -rf conftest* |
| 2774 ac_cv_header_sys_wait_h=yes | 2789 ac_cv_header_sys_wait_h=yes |
| 2775 else | 2790 else |
| 2776 echo "configure: failed program was:" >&5 | 2791 echo "configure: failed program was:" >&5 |
| 2777 cat conftest.$ac_ext >&5 | 2792 cat conftest.$ac_ext >&5 |
| 2791 } | 2806 } |
| 2792 | 2807 |
| 2793 fi | 2808 fi |
| 2794 | 2809 |
| 2795 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2810 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 2796 echo "configure:2797: checking for ANSI C header files" >&5 | 2811 echo "configure:2812: checking for ANSI C header files" >&5 |
| 2797 | 2812 |
| 2798 cat > conftest.$ac_ext <<EOF | 2813 cat > conftest.$ac_ext <<EOF |
| 2799 #line 2800 "configure" | 2814 #line 2815 "configure" |
| 2800 #include "confdefs.h" | 2815 #include "confdefs.h" |
| 2801 #include <stdlib.h> | 2816 #include <stdlib.h> |
| 2802 #include <stdarg.h> | 2817 #include <stdarg.h> |
| 2803 #include <string.h> | 2818 #include <string.h> |
| 2804 #include <float.h> | 2819 #include <float.h> |
| 2805 EOF | 2820 EOF |
| 2806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2807 { (eval echo configure:2808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2822 { (eval echo configure:2823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2808 ac_err=`grep -v '^ *+' conftest.out` | 2823 ac_err=`grep -v '^ *+' conftest.out` |
| 2809 if test -z "$ac_err"; then | 2824 if test -z "$ac_err"; then |
| 2810 rm -rf conftest* | 2825 rm -rf conftest* |
| 2811 ac_cv_header_stdc=yes | 2826 ac_cv_header_stdc=yes |
| 2812 else | 2827 else |
| 2819 rm -f conftest* | 2834 rm -f conftest* |
| 2820 | 2835 |
| 2821 if test $ac_cv_header_stdc = yes; then | 2836 if test $ac_cv_header_stdc = yes; then |
| 2822 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2837 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 2823 cat > conftest.$ac_ext <<EOF | 2838 cat > conftest.$ac_ext <<EOF |
| 2824 #line 2825 "configure" | 2839 #line 2840 "configure" |
| 2825 #include "confdefs.h" | 2840 #include "confdefs.h" |
| 2826 #include <string.h> | 2841 #include <string.h> |
| 2827 EOF | 2842 EOF |
| 2828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2829 egrep "memchr" >/dev/null 2>&1; then | 2844 egrep "memchr" >/dev/null 2>&1; then |
| 2837 fi | 2852 fi |
| 2838 | 2853 |
| 2839 if test $ac_cv_header_stdc = yes; then | 2854 if test $ac_cv_header_stdc = yes; then |
| 2840 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2855 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 2841 cat > conftest.$ac_ext <<EOF | 2856 cat > conftest.$ac_ext <<EOF |
| 2842 #line 2843 "configure" | 2857 #line 2858 "configure" |
| 2843 #include "confdefs.h" | 2858 #include "confdefs.h" |
| 2844 #include <stdlib.h> | 2859 #include <stdlib.h> |
| 2845 EOF | 2860 EOF |
| 2846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2847 egrep "free" >/dev/null 2>&1; then | 2862 egrep "free" >/dev/null 2>&1; then |
| 2855 fi | 2870 fi |
| 2856 | 2871 |
| 2857 if test $ac_cv_header_stdc = yes; then | 2872 if test $ac_cv_header_stdc = yes; then |
| 2858 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2873 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 2859 cat > conftest.$ac_ext <<EOF | 2874 cat > conftest.$ac_ext <<EOF |
| 2860 #line 2861 "configure" | 2875 #line 2876 "configure" |
| 2861 #include "confdefs.h" | 2876 #include "confdefs.h" |
| 2862 #include <ctype.h> | 2877 #include <ctype.h> |
| 2863 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2878 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 2864 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2879 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 2865 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2880 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 2866 int main () { int i; for (i = 0; i < 256; i++) | 2881 int main () { int i; for (i = 0; i < 256; i++) |
| 2867 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2882 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 2868 exit (0); } | 2883 exit (0); } |
| 2869 | 2884 |
| 2870 EOF | 2885 EOF |
| 2871 if { (eval echo configure:2872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2886 if { (eval echo configure:2887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 2872 then | 2887 then |
| 2873 : | 2888 : |
| 2874 else | 2889 else |
| 2875 echo "configure: failed program was:" >&5 | 2890 echo "configure: failed program was:" >&5 |
| 2876 cat conftest.$ac_ext >&5 | 2891 cat conftest.$ac_ext >&5 |
| 2891 } | 2906 } |
| 2892 | 2907 |
| 2893 fi | 2908 fi |
| 2894 | 2909 |
| 2895 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2910 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2896 echo "configure:2897: checking whether time.h and sys/time.h may both be included" >&5 | 2911 echo "configure:2912: checking whether time.h and sys/time.h may both be included" >&5 |
| 2897 | 2912 |
| 2898 cat > conftest.$ac_ext <<EOF | 2913 cat > conftest.$ac_ext <<EOF |
| 2899 #line 2900 "configure" | 2914 #line 2915 "configure" |
| 2900 #include "confdefs.h" | 2915 #include "confdefs.h" |
| 2901 #include <sys/types.h> | 2916 #include <sys/types.h> |
| 2902 #include <sys/time.h> | 2917 #include <sys/time.h> |
| 2903 #include <time.h> | 2918 #include <time.h> |
| 2904 int main() { | 2919 int main() { |
| 2905 struct tm *tp; | 2920 struct tm *tp; |
| 2906 ; return 0; } | 2921 ; return 0; } |
| 2907 EOF | 2922 EOF |
| 2908 if { (eval echo configure:2909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2923 if { (eval echo configure:2924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2909 rm -rf conftest* | 2924 rm -rf conftest* |
| 2910 ac_cv_header_time=yes | 2925 ac_cv_header_time=yes |
| 2911 else | 2926 else |
| 2912 echo "configure: failed program was:" >&5 | 2927 echo "configure: failed program was:" >&5 |
| 2913 cat conftest.$ac_ext >&5 | 2928 cat conftest.$ac_ext >&5 |
| 2927 } | 2942 } |
| 2928 | 2943 |
| 2929 fi | 2944 fi |
| 2930 | 2945 |
| 2931 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2946 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 2932 echo "configure:2933: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2947 echo "configure:2948: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 2933 | 2948 |
| 2934 cat > conftest.$ac_ext <<EOF | 2949 cat > conftest.$ac_ext <<EOF |
| 2935 #line 2936 "configure" | 2950 #line 2951 "configure" |
| 2936 #include "confdefs.h" | 2951 #include "confdefs.h" |
| 2937 #include <sys/types.h> | 2952 #include <sys/types.h> |
| 2938 #include <signal.h> | 2953 #include <signal.h> |
| 2939 /* NetBSD declares sys_siglist in unistd.h. */ | 2954 /* NetBSD declares sys_siglist in unistd.h. */ |
| 2940 #ifdef HAVE_UNISTD_H | 2955 #ifdef HAVE_UNISTD_H |
| 2942 #endif | 2957 #endif |
| 2943 int main() { | 2958 int main() { |
| 2944 char *msg = *(sys_siglist + 1); | 2959 char *msg = *(sys_siglist + 1); |
| 2945 ; return 0; } | 2960 ; return 0; } |
| 2946 EOF | 2961 EOF |
| 2947 if { (eval echo configure:2948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2962 if { (eval echo configure:2963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2948 rm -rf conftest* | 2963 rm -rf conftest* |
| 2949 ac_cv_decl_sys_siglist=yes | 2964 ac_cv_decl_sys_siglist=yes |
| 2950 else | 2965 else |
| 2951 echo "configure: failed program was:" >&5 | 2966 echo "configure: failed program was:" >&5 |
| 2952 cat conftest.$ac_ext >&5 | 2967 cat conftest.$ac_ext >&5 |
| 2967 | 2982 |
| 2968 fi | 2983 fi |
| 2969 | 2984 |
| 2970 | 2985 |
| 2971 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2986 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 2972 echo "configure:2973: checking for struct utimbuf" >&5 | 2987 echo "configure:2988: checking for struct utimbuf" >&5 |
| 2973 cat > conftest.$ac_ext <<EOF | 2988 cat > conftest.$ac_ext <<EOF |
| 2974 #line 2975 "configure" | 2989 #line 2990 "configure" |
| 2975 #include "confdefs.h" | 2990 #include "confdefs.h" |
| 2976 #ifdef TIME_WITH_SYS_TIME | 2991 #ifdef TIME_WITH_SYS_TIME |
| 2977 #include <sys/time.h> | 2992 #include <sys/time.h> |
| 2978 #include <time.h> | 2993 #include <time.h> |
| 2979 #else | 2994 #else |
| 2988 #endif | 3003 #endif |
| 2989 int main() { | 3004 int main() { |
| 2990 static struct utimbuf x; x.actime = x.modtime; | 3005 static struct utimbuf x; x.actime = x.modtime; |
| 2991 ; return 0; } | 3006 ; return 0; } |
| 2992 EOF | 3007 EOF |
| 2993 if { (eval echo configure:2994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3008 if { (eval echo configure:3009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2994 rm -rf conftest* | 3009 rm -rf conftest* |
| 2995 echo "$ac_t""yes" 1>&6 | 3010 echo "$ac_t""yes" 1>&6 |
| 2996 { test "$extra_verbose" = "yes" && cat << \EOF | 3011 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2997 Defining HAVE_STRUCT_UTIMBUF | 3012 Defining HAVE_STRUCT_UTIMBUF |
| 2998 EOF | 3013 EOF |
| 3008 echo "$ac_t""no" 1>&6 | 3023 echo "$ac_t""no" 1>&6 |
| 3009 fi | 3024 fi |
| 3010 rm -f conftest* | 3025 rm -f conftest* |
| 3011 | 3026 |
| 3012 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3027 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3013 echo "configure:3014: checking return type of signal handlers" >&5 | 3028 echo "configure:3029: checking return type of signal handlers" >&5 |
| 3014 | 3029 |
| 3015 cat > conftest.$ac_ext <<EOF | 3030 cat > conftest.$ac_ext <<EOF |
| 3016 #line 3017 "configure" | 3031 #line 3032 "configure" |
| 3017 #include "confdefs.h" | 3032 #include "confdefs.h" |
| 3018 #include <sys/types.h> | 3033 #include <sys/types.h> |
| 3019 #include <signal.h> | 3034 #include <signal.h> |
| 3020 #ifdef signal | 3035 #ifdef signal |
| 3021 #undef signal | 3036 #undef signal |
| 3028 | 3043 |
| 3029 int main() { | 3044 int main() { |
| 3030 int i; | 3045 int i; |
| 3031 ; return 0; } | 3046 ; return 0; } |
| 3032 EOF | 3047 EOF |
| 3033 if { (eval echo configure:3034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3048 if { (eval echo configure:3049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3034 rm -rf conftest* | 3049 rm -rf conftest* |
| 3035 ac_cv_type_signal=void | 3050 ac_cv_type_signal=void |
| 3036 else | 3051 else |
| 3037 echo "configure: failed program was:" >&5 | 3052 echo "configure: failed program was:" >&5 |
| 3038 cat conftest.$ac_ext >&5 | 3053 cat conftest.$ac_ext >&5 |
| 3050 EOF | 3065 EOF |
| 3051 } | 3066 } |
| 3052 | 3067 |
| 3053 | 3068 |
| 3054 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3069 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3055 echo "configure:3056: checking for size_t" >&5 | 3070 echo "configure:3071: checking for size_t" >&5 |
| 3056 | 3071 |
| 3057 cat > conftest.$ac_ext <<EOF | 3072 cat > conftest.$ac_ext <<EOF |
| 3058 #line 3059 "configure" | 3073 #line 3074 "configure" |
| 3059 #include "confdefs.h" | 3074 #include "confdefs.h" |
| 3060 #include <sys/types.h> | 3075 #include <sys/types.h> |
| 3061 #if STDC_HEADERS | 3076 #if STDC_HEADERS |
| 3062 #include <stdlib.h> | 3077 #include <stdlib.h> |
| 3063 #include <stddef.h> | 3078 #include <stddef.h> |
| 3084 } | 3099 } |
| 3085 | 3100 |
| 3086 fi | 3101 fi |
| 3087 | 3102 |
| 3088 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3103 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 3089 echo "configure:3090: checking for pid_t" >&5 | 3104 echo "configure:3105: checking for pid_t" >&5 |
| 3090 | 3105 |
| 3091 cat > conftest.$ac_ext <<EOF | 3106 cat > conftest.$ac_ext <<EOF |
| 3092 #line 3093 "configure" | 3107 #line 3108 "configure" |
| 3093 #include "confdefs.h" | 3108 #include "confdefs.h" |
| 3094 #include <sys/types.h> | 3109 #include <sys/types.h> |
| 3095 #if STDC_HEADERS | 3110 #if STDC_HEADERS |
| 3096 #include <stdlib.h> | 3111 #include <stdlib.h> |
| 3097 #include <stddef.h> | 3112 #include <stddef.h> |
| 3118 } | 3133 } |
| 3119 | 3134 |
| 3120 fi | 3135 fi |
| 3121 | 3136 |
| 3122 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3137 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3123 echo "configure:3124: checking for uid_t in sys/types.h" >&5 | 3138 echo "configure:3139: checking for uid_t in sys/types.h" >&5 |
| 3124 | 3139 |
| 3125 cat > conftest.$ac_ext <<EOF | 3140 cat > conftest.$ac_ext <<EOF |
| 3126 #line 3127 "configure" | 3141 #line 3142 "configure" |
| 3127 #include "confdefs.h" | 3142 #include "confdefs.h" |
| 3128 #include <sys/types.h> | 3143 #include <sys/types.h> |
| 3129 EOF | 3144 EOF |
| 3130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3145 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3131 egrep "uid_t" >/dev/null 2>&1; then | 3146 egrep "uid_t" >/dev/null 2>&1; then |
| 3157 } | 3172 } |
| 3158 | 3173 |
| 3159 fi | 3174 fi |
| 3160 | 3175 |
| 3161 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3176 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3162 echo "configure:3163: checking for mode_t" >&5 | 3177 echo "configure:3178: checking for mode_t" >&5 |
| 3163 | 3178 |
| 3164 cat > conftest.$ac_ext <<EOF | 3179 cat > conftest.$ac_ext <<EOF |
| 3165 #line 3166 "configure" | 3180 #line 3181 "configure" |
| 3166 #include "confdefs.h" | 3181 #include "confdefs.h" |
| 3167 #include <sys/types.h> | 3182 #include <sys/types.h> |
| 3168 #if STDC_HEADERS | 3183 #if STDC_HEADERS |
| 3169 #include <stdlib.h> | 3184 #include <stdlib.h> |
| 3170 #include <stddef.h> | 3185 #include <stddef.h> |
| 3191 } | 3206 } |
| 3192 | 3207 |
| 3193 fi | 3208 fi |
| 3194 | 3209 |
| 3195 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3210 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3196 echo "configure:3197: checking for off_t" >&5 | 3211 echo "configure:3212: checking for off_t" >&5 |
| 3197 | 3212 |
| 3198 cat > conftest.$ac_ext <<EOF | 3213 cat > conftest.$ac_ext <<EOF |
| 3199 #line 3200 "configure" | 3214 #line 3215 "configure" |
| 3200 #include "confdefs.h" | 3215 #include "confdefs.h" |
| 3201 #include <sys/types.h> | 3216 #include <sys/types.h> |
| 3202 #if STDC_HEADERS | 3217 #if STDC_HEADERS |
| 3203 #include <stdlib.h> | 3218 #include <stdlib.h> |
| 3204 #include <stddef.h> | 3219 #include <stddef.h> |
| 3226 | 3241 |
| 3227 fi | 3242 fi |
| 3228 | 3243 |
| 3229 | 3244 |
| 3230 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3245 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3231 echo "configure:3232: checking for struct timeval" >&5 | 3246 echo "configure:3247: checking for struct timeval" >&5 |
| 3232 cat > conftest.$ac_ext <<EOF | 3247 cat > conftest.$ac_ext <<EOF |
| 3233 #line 3234 "configure" | 3248 #line 3249 "configure" |
| 3234 #include "confdefs.h" | 3249 #include "confdefs.h" |
| 3235 #ifdef TIME_WITH_SYS_TIME | 3250 #ifdef TIME_WITH_SYS_TIME |
| 3236 #include <sys/time.h> | 3251 #include <sys/time.h> |
| 3237 #include <time.h> | 3252 #include <time.h> |
| 3238 #else | 3253 #else |
| 3244 #endif | 3259 #endif |
| 3245 int main() { | 3260 int main() { |
| 3246 static struct timeval x; x.tv_sec = x.tv_usec; | 3261 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3247 ; return 0; } | 3262 ; return 0; } |
| 3248 EOF | 3263 EOF |
| 3249 if { (eval echo configure:3250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3264 if { (eval echo configure:3265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3250 rm -rf conftest* | 3265 rm -rf conftest* |
| 3251 echo "$ac_t""yes" 1>&6 | 3266 echo "$ac_t""yes" 1>&6 |
| 3252 HAVE_TIMEVAL=yes | 3267 HAVE_TIMEVAL=yes |
| 3253 { test "$extra_verbose" = "yes" && cat << \EOF | 3268 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3254 Defining HAVE_TIMEVAL | 3269 Defining HAVE_TIMEVAL |
| 3266 HAVE_TIMEVAL=no | 3281 HAVE_TIMEVAL=no |
| 3267 fi | 3282 fi |
| 3268 rm -f conftest* | 3283 rm -f conftest* |
| 3269 | 3284 |
| 3270 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3285 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3271 echo "configure:3272: checking whether struct tm is in sys/time.h or time.h" >&5 | 3286 echo "configure:3287: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3272 | 3287 |
| 3273 cat > conftest.$ac_ext <<EOF | 3288 cat > conftest.$ac_ext <<EOF |
| 3274 #line 3275 "configure" | 3289 #line 3290 "configure" |
| 3275 #include "confdefs.h" | 3290 #include "confdefs.h" |
| 3276 #include <sys/types.h> | 3291 #include <sys/types.h> |
| 3277 #include <time.h> | 3292 #include <time.h> |
| 3278 int main() { | 3293 int main() { |
| 3279 struct tm *tp; tp->tm_sec; | 3294 struct tm *tp; tp->tm_sec; |
| 3280 ; return 0; } | 3295 ; return 0; } |
| 3281 EOF | 3296 EOF |
| 3282 if { (eval echo configure:3283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3297 if { (eval echo configure:3298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3283 rm -rf conftest* | 3298 rm -rf conftest* |
| 3284 ac_cv_struct_tm=time.h | 3299 ac_cv_struct_tm=time.h |
| 3285 else | 3300 else |
| 3286 echo "configure: failed program was:" >&5 | 3301 echo "configure: failed program was:" >&5 |
| 3287 cat conftest.$ac_ext >&5 | 3302 cat conftest.$ac_ext >&5 |
| 3301 } | 3316 } |
| 3302 | 3317 |
| 3303 fi | 3318 fi |
| 3304 | 3319 |
| 3305 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3320 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3306 echo "configure:3307: checking for tm_zone in struct tm" >&5 | 3321 echo "configure:3322: checking for tm_zone in struct tm" >&5 |
| 3307 | 3322 |
| 3308 cat > conftest.$ac_ext <<EOF | 3323 cat > conftest.$ac_ext <<EOF |
| 3309 #line 3310 "configure" | 3324 #line 3325 "configure" |
| 3310 #include "confdefs.h" | 3325 #include "confdefs.h" |
| 3311 #include <sys/types.h> | 3326 #include <sys/types.h> |
| 3312 #include <$ac_cv_struct_tm> | 3327 #include <$ac_cv_struct_tm> |
| 3313 int main() { | 3328 int main() { |
| 3314 struct tm tm; tm.tm_zone; | 3329 struct tm tm; tm.tm_zone; |
| 3315 ; return 0; } | 3330 ; return 0; } |
| 3316 EOF | 3331 EOF |
| 3317 if { (eval echo configure:3318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3332 if { (eval echo configure:3333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3318 rm -rf conftest* | 3333 rm -rf conftest* |
| 3319 ac_cv_struct_tm_zone=yes | 3334 ac_cv_struct_tm_zone=yes |
| 3320 else | 3335 else |
| 3321 echo "configure: failed program was:" >&5 | 3336 echo "configure: failed program was:" >&5 |
| 3322 cat conftest.$ac_ext >&5 | 3337 cat conftest.$ac_ext >&5 |
| 3335 EOF | 3350 EOF |
| 3336 } | 3351 } |
| 3337 | 3352 |
| 3338 else | 3353 else |
| 3339 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3354 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3340 echo "configure:3341: checking for tzname" >&5 | 3355 echo "configure:3356: checking for tzname" >&5 |
| 3341 | 3356 |
| 3342 cat > conftest.$ac_ext <<EOF | 3357 cat > conftest.$ac_ext <<EOF |
| 3343 #line 3344 "configure" | 3358 #line 3359 "configure" |
| 3344 #include "confdefs.h" | 3359 #include "confdefs.h" |
| 3345 #include <time.h> | 3360 #include <time.h> |
| 3346 #ifndef tzname /* For SGI. */ | 3361 #ifndef tzname /* For SGI. */ |
| 3347 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3362 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3348 #endif | 3363 #endif |
| 3349 int main() { | 3364 int main() { |
| 3350 atoi(*tzname); | 3365 atoi(*tzname); |
| 3351 ; return 0; } | 3366 ; return 0; } |
| 3352 EOF | 3367 EOF |
| 3353 if { (eval echo configure:3354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3368 if { (eval echo configure:3369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3354 rm -rf conftest* | 3369 rm -rf conftest* |
| 3355 ac_cv_var_tzname=yes | 3370 ac_cv_var_tzname=yes |
| 3356 else | 3371 else |
| 3357 echo "configure: failed program was:" >&5 | 3372 echo "configure: failed program was:" >&5 |
| 3358 cat conftest.$ac_ext >&5 | 3373 cat conftest.$ac_ext >&5 |
| 3374 fi | 3389 fi |
| 3375 fi | 3390 fi |
| 3376 | 3391 |
| 3377 | 3392 |
| 3378 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3393 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3379 echo "configure:3380: checking for working const" >&5 | 3394 echo "configure:3395: checking for working const" >&5 |
| 3380 | 3395 |
| 3381 cat > conftest.$ac_ext <<EOF | 3396 cat > conftest.$ac_ext <<EOF |
| 3382 #line 3383 "configure" | 3397 #line 3398 "configure" |
| 3383 #include "confdefs.h" | 3398 #include "confdefs.h" |
| 3384 | 3399 |
| 3385 int main() { | 3400 int main() { |
| 3386 | 3401 |
| 3387 /* Ultrix mips cc rejects this. */ | 3402 /* Ultrix mips cc rejects this. */ |
| 3426 const int foo = 10; | 3441 const int foo = 10; |
| 3427 } | 3442 } |
| 3428 | 3443 |
| 3429 ; return 0; } | 3444 ; return 0; } |
| 3430 EOF | 3445 EOF |
| 3431 if { (eval echo configure:3432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3446 if { (eval echo configure:3447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3432 rm -rf conftest* | 3447 rm -rf conftest* |
| 3433 ac_cv_c_const=yes | 3448 ac_cv_c_const=yes |
| 3434 else | 3449 else |
| 3435 echo "configure: failed program was:" >&5 | 3450 echo "configure: failed program was:" >&5 |
| 3436 cat conftest.$ac_ext >&5 | 3451 cat conftest.$ac_ext >&5 |
| 3451 | 3466 |
| 3452 fi | 3467 fi |
| 3453 | 3468 |
| 3454 | 3469 |
| 3455 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3470 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3456 echo "configure:3457: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3471 echo "configure:3472: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3457 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3472 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3458 | 3473 |
| 3459 cat > conftestmake <<\EOF | 3474 cat > conftestmake <<\EOF |
| 3460 all: | 3475 all: |
| 3461 @echo 'ac_maketemp="${MAKE}"' | 3476 @echo 'ac_maketemp="${MAKE}"' |
| 3476 SET_MAKE="MAKE=${MAKE-make}" | 3491 SET_MAKE="MAKE=${MAKE-make}" |
| 3477 fi | 3492 fi |
| 3478 | 3493 |
| 3479 | 3494 |
| 3480 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3495 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3481 echo "configure:3482: checking whether byte ordering is bigendian" >&5 | 3496 echo "configure:3497: checking whether byte ordering is bigendian" >&5 |
| 3482 | 3497 |
| 3483 ac_cv_c_bigendian=unknown | 3498 ac_cv_c_bigendian=unknown |
| 3484 # See if sys/param.h defines the BYTE_ORDER macro. | 3499 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3485 cat > conftest.$ac_ext <<EOF | 3500 cat > conftest.$ac_ext <<EOF |
| 3486 #line 3487 "configure" | 3501 #line 3502 "configure" |
| 3487 #include "confdefs.h" | 3502 #include "confdefs.h" |
| 3488 #include <sys/types.h> | 3503 #include <sys/types.h> |
| 3489 #include <sys/param.h> | 3504 #include <sys/param.h> |
| 3490 int main() { | 3505 int main() { |
| 3491 | 3506 |
| 3492 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3507 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 3493 bogus endian macros | 3508 bogus endian macros |
| 3494 #endif | 3509 #endif |
| 3495 ; return 0; } | 3510 ; return 0; } |
| 3496 EOF | 3511 EOF |
| 3497 if { (eval echo configure:3498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3512 if { (eval echo configure:3513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3498 rm -rf conftest* | 3513 rm -rf conftest* |
| 3499 # It does; now see whether it defined to BIG_ENDIAN or not. | 3514 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 3500 cat > conftest.$ac_ext <<EOF | 3515 cat > conftest.$ac_ext <<EOF |
| 3501 #line 3502 "configure" | 3516 #line 3517 "configure" |
| 3502 #include "confdefs.h" | 3517 #include "confdefs.h" |
| 3503 #include <sys/types.h> | 3518 #include <sys/types.h> |
| 3504 #include <sys/param.h> | 3519 #include <sys/param.h> |
| 3505 int main() { | 3520 int main() { |
| 3506 | 3521 |
| 3507 #if BYTE_ORDER != BIG_ENDIAN | 3522 #if BYTE_ORDER != BIG_ENDIAN |
| 3508 not big endian | 3523 not big endian |
| 3509 #endif | 3524 #endif |
| 3510 ; return 0; } | 3525 ; return 0; } |
| 3511 EOF | 3526 EOF |
| 3512 if { (eval echo configure:3513: \"$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 |
| 3513 rm -rf conftest* | 3528 rm -rf conftest* |
| 3514 ac_cv_c_bigendian=yes | 3529 ac_cv_c_bigendian=yes |
| 3515 else | 3530 else |
| 3516 echo "configure: failed program was:" >&5 | 3531 echo "configure: failed program was:" >&5 |
| 3517 cat conftest.$ac_ext >&5 | 3532 cat conftest.$ac_ext >&5 |
| 3524 cat conftest.$ac_ext >&5 | 3539 cat conftest.$ac_ext >&5 |
| 3525 fi | 3540 fi |
| 3526 rm -f conftest* | 3541 rm -f conftest* |
| 3527 if test $ac_cv_c_bigendian = unknown; then | 3542 if test $ac_cv_c_bigendian = unknown; then |
| 3528 cat > conftest.$ac_ext <<EOF | 3543 cat > conftest.$ac_ext <<EOF |
| 3529 #line 3530 "configure" | 3544 #line 3545 "configure" |
| 3530 #include "confdefs.h" | 3545 #include "confdefs.h" |
| 3531 main () { | 3546 main () { |
| 3532 /* Are we little or big endian? From Harbison&Steele. */ | 3547 /* Are we little or big endian? From Harbison&Steele. */ |
| 3533 union | 3548 union |
| 3534 { | 3549 { |
| 3537 } u; | 3552 } u; |
| 3538 u.l = 1; | 3553 u.l = 1; |
| 3539 exit (u.c[sizeof (long) - 1] == 1); | 3554 exit (u.c[sizeof (long) - 1] == 1); |
| 3540 } | 3555 } |
| 3541 EOF | 3556 EOF |
| 3542 if { (eval echo configure:3543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3557 if { (eval echo configure:3558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3543 then | 3558 then |
| 3544 ac_cv_c_bigendian=no | 3559 ac_cv_c_bigendian=no |
| 3545 else | 3560 else |
| 3546 echo "configure: failed program was:" >&5 | 3561 echo "configure: failed program was:" >&5 |
| 3547 cat conftest.$ac_ext >&5 | 3562 cat conftest.$ac_ext >&5 |
| 3563 | 3578 |
| 3564 fi | 3579 fi |
| 3565 | 3580 |
| 3566 | 3581 |
| 3567 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3582 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 3568 echo "configure:3569: checking size of short" >&5 | 3583 echo "configure:3584: checking size of short" >&5 |
| 3569 | 3584 |
| 3570 cat > conftest.$ac_ext <<EOF | 3585 cat > conftest.$ac_ext <<EOF |
| 3571 #line 3572 "configure" | 3586 #line 3587 "configure" |
| 3572 #include "confdefs.h" | 3587 #include "confdefs.h" |
| 3573 #include <stdio.h> | 3588 #include <stdio.h> |
| 3574 main() | 3589 main() |
| 3575 { | 3590 { |
| 3576 FILE *f=fopen("conftestval", "w"); | 3591 FILE *f=fopen("conftestval", "w"); |
| 3577 if (!f) exit(1); | 3592 if (!f) exit(1); |
| 3578 fprintf(f, "%d\n", sizeof(short)); | 3593 fprintf(f, "%d\n", sizeof(short)); |
| 3579 exit(0); | 3594 exit(0); |
| 3580 } | 3595 } |
| 3581 EOF | 3596 EOF |
| 3582 if { (eval echo configure:3583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3597 if { (eval echo configure:3598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3583 then | 3598 then |
| 3584 ac_cv_sizeof_short=`cat conftestval` | 3599 ac_cv_sizeof_short=`cat conftestval` |
| 3585 else | 3600 else |
| 3586 echo "configure: failed program was:" >&5 | 3601 echo "configure: failed program was:" >&5 |
| 3587 cat conftest.$ac_ext >&5 | 3602 cat conftest.$ac_ext >&5 |
| 3604 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3619 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 3605 echo "*** PANIC *** Please examine config.log for compilation errors." | 3620 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 3606 exit 1 | 3621 exit 1 |
| 3607 fi | 3622 fi |
| 3608 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3623 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 3609 echo "configure:3610: checking size of int" >&5 | 3624 echo "configure:3625: checking size of int" >&5 |
| 3610 | 3625 |
| 3611 cat > conftest.$ac_ext <<EOF | 3626 cat > conftest.$ac_ext <<EOF |
| 3612 #line 3613 "configure" | 3627 #line 3628 "configure" |
| 3613 #include "confdefs.h" | 3628 #include "confdefs.h" |
| 3614 #include <stdio.h> | 3629 #include <stdio.h> |
| 3615 main() | 3630 main() |
| 3616 { | 3631 { |
| 3617 FILE *f=fopen("conftestval", "w"); | 3632 FILE *f=fopen("conftestval", "w"); |
| 3618 if (!f) exit(1); | 3633 if (!f) exit(1); |
| 3619 fprintf(f, "%d\n", sizeof(int)); | 3634 fprintf(f, "%d\n", sizeof(int)); |
| 3620 exit(0); | 3635 exit(0); |
| 3621 } | 3636 } |
| 3622 EOF | 3637 EOF |
| 3623 if { (eval echo configure:3624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3638 if { (eval echo configure:3639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3624 then | 3639 then |
| 3625 ac_cv_sizeof_int=`cat conftestval` | 3640 ac_cv_sizeof_int=`cat conftestval` |
| 3626 else | 3641 else |
| 3627 echo "configure: failed program was:" >&5 | 3642 echo "configure: failed program was:" >&5 |
| 3628 cat conftest.$ac_ext >&5 | 3643 cat conftest.$ac_ext >&5 |
| 3639 EOF | 3654 EOF |
| 3640 } | 3655 } |
| 3641 | 3656 |
| 3642 | 3657 |
| 3643 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3658 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 3644 echo "configure:3645: checking size of long" >&5 | 3659 echo "configure:3660: checking size of long" >&5 |
| 3645 | 3660 |
| 3646 cat > conftest.$ac_ext <<EOF | 3661 cat > conftest.$ac_ext <<EOF |
| 3647 #line 3648 "configure" | 3662 #line 3663 "configure" |
| 3648 #include "confdefs.h" | 3663 #include "confdefs.h" |
| 3649 #include <stdio.h> | 3664 #include <stdio.h> |
| 3650 main() | 3665 main() |
| 3651 { | 3666 { |
| 3652 FILE *f=fopen("conftestval", "w"); | 3667 FILE *f=fopen("conftestval", "w"); |
| 3653 if (!f) exit(1); | 3668 if (!f) exit(1); |
| 3654 fprintf(f, "%d\n", sizeof(long)); | 3669 fprintf(f, "%d\n", sizeof(long)); |
| 3655 exit(0); | 3670 exit(0); |
| 3656 } | 3671 } |
| 3657 EOF | 3672 EOF |
| 3658 if { (eval echo configure:3659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3673 if { (eval echo configure:3674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3659 then | 3674 then |
| 3660 ac_cv_sizeof_long=`cat conftestval` | 3675 ac_cv_sizeof_long=`cat conftestval` |
| 3661 else | 3676 else |
| 3662 echo "configure: failed program was:" >&5 | 3677 echo "configure: failed program was:" >&5 |
| 3663 cat conftest.$ac_ext >&5 | 3678 cat conftest.$ac_ext >&5 |
| 3674 EOF | 3689 EOF |
| 3675 } | 3690 } |
| 3676 | 3691 |
| 3677 | 3692 |
| 3678 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3693 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 3679 echo "configure:3680: checking size of long long" >&5 | 3694 echo "configure:3695: checking size of long long" >&5 |
| 3680 | 3695 |
| 3681 cat > conftest.$ac_ext <<EOF | 3696 cat > conftest.$ac_ext <<EOF |
| 3682 #line 3683 "configure" | 3697 #line 3698 "configure" |
| 3683 #include "confdefs.h" | 3698 #include "confdefs.h" |
| 3684 #include <stdio.h> | 3699 #include <stdio.h> |
| 3685 main() | 3700 main() |
| 3686 { | 3701 { |
| 3687 FILE *f=fopen("conftestval", "w"); | 3702 FILE *f=fopen("conftestval", "w"); |
| 3688 if (!f) exit(1); | 3703 if (!f) exit(1); |
| 3689 fprintf(f, "%d\n", sizeof(long long)); | 3704 fprintf(f, "%d\n", sizeof(long long)); |
| 3690 exit(0); | 3705 exit(0); |
| 3691 } | 3706 } |
| 3692 EOF | 3707 EOF |
| 3693 if { (eval echo configure:3694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3708 if { (eval echo configure:3709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3694 then | 3709 then |
| 3695 ac_cv_sizeof_long_long=`cat conftestval` | 3710 ac_cv_sizeof_long_long=`cat conftestval` |
| 3696 else | 3711 else |
| 3697 echo "configure: failed program was:" >&5 | 3712 echo "configure: failed program was:" >&5 |
| 3698 cat conftest.$ac_ext >&5 | 3713 cat conftest.$ac_ext >&5 |
| 3709 EOF | 3724 EOF |
| 3710 } | 3725 } |
| 3711 | 3726 |
| 3712 | 3727 |
| 3713 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3728 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 3714 echo "configure:3715: checking size of void *" >&5 | 3729 echo "configure:3730: checking size of void *" >&5 |
| 3715 | 3730 |
| 3716 cat > conftest.$ac_ext <<EOF | 3731 cat > conftest.$ac_ext <<EOF |
| 3717 #line 3718 "configure" | 3732 #line 3733 "configure" |
| 3718 #include "confdefs.h" | 3733 #include "confdefs.h" |
| 3719 #include <stdio.h> | 3734 #include <stdio.h> |
| 3720 main() | 3735 main() |
| 3721 { | 3736 { |
| 3722 FILE *f=fopen("conftestval", "w"); | 3737 FILE *f=fopen("conftestval", "w"); |
| 3723 if (!f) exit(1); | 3738 if (!f) exit(1); |
| 3724 fprintf(f, "%d\n", sizeof(void *)); | 3739 fprintf(f, "%d\n", sizeof(void *)); |
| 3725 exit(0); | 3740 exit(0); |
| 3726 } | 3741 } |
| 3727 EOF | 3742 EOF |
| 3728 if { (eval echo configure:3729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3743 if { (eval echo configure:3744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3729 then | 3744 then |
| 3730 ac_cv_sizeof_void_p=`cat conftestval` | 3745 ac_cv_sizeof_void_p=`cat conftestval` |
| 3731 else | 3746 else |
| 3732 echo "configure: failed program was:" >&5 | 3747 echo "configure: failed program was:" >&5 |
| 3733 cat conftest.$ac_ext >&5 | 3748 cat conftest.$ac_ext >&5 |
| 3745 } | 3760 } |
| 3746 | 3761 |
| 3747 | 3762 |
| 3748 | 3763 |
| 3749 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3764 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 3750 echo "configure:3751: checking for long file names" >&5 | 3765 echo "configure:3766: checking for long file names" >&5 |
| 3751 | 3766 |
| 3752 ac_cv_sys_long_file_names=yes | 3767 ac_cv_sys_long_file_names=yes |
| 3753 # Test for long file names in all the places we know might matter: | 3768 # Test for long file names in all the places we know might matter: |
| 3754 # . the current directory, where building will happen | 3769 # . the current directory, where building will happen |
| 3755 # $prefix/lib where we will be installing things | 3770 # $prefix/lib where we will be installing things |
| 3792 fi | 3807 fi |
| 3793 | 3808 |
| 3794 | 3809 |
| 3795 | 3810 |
| 3796 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 3811 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
| 3797 echo "configure:3798: checking for sqrt in -lm" >&5 | 3812 echo "configure:3813: checking for sqrt in -lm" >&5 |
| 3798 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 3813 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
| 3799 | 3814 |
| 3800 xe_check_libs=" -lm " | 3815 xe_check_libs=" -lm " |
| 3801 cat > conftest.$ac_ext <<EOF | 3816 cat > conftest.$ac_ext <<EOF |
| 3802 #line 3803 "configure" | 3817 #line 3818 "configure" |
| 3803 #include "confdefs.h" | 3818 #include "confdefs.h" |
| 3804 /* Override any gcc2 internal prototype to avoid an error. */ | 3819 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3805 /* We use char because int might match the return type of a gcc2 | 3820 /* We use char because int might match the return type of a gcc2 |
| 3806 builtin and then its argument prototype would still apply. */ | 3821 builtin and then its argument prototype would still apply. */ |
| 3807 char sqrt(); | 3822 char sqrt(); |
| 3808 | 3823 |
| 3809 int main() { | 3824 int main() { |
| 3810 sqrt() | 3825 sqrt() |
| 3811 ; return 0; } | 3826 ; return 0; } |
| 3812 EOF | 3827 EOF |
| 3813 if { (eval echo configure:3814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3828 if { (eval echo configure:3829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3814 rm -rf conftest* | 3829 rm -rf conftest* |
| 3815 eval "ac_cv_lib_$ac_lib_var=yes" | 3830 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3816 else | 3831 else |
| 3817 echo "configure: failed program was:" >&5 | 3832 echo "configure: failed program was:" >&5 |
| 3818 cat conftest.$ac_ext >&5 | 3833 cat conftest.$ac_ext >&5 |
| 3851 EOF | 3866 EOF |
| 3852 } | 3867 } |
| 3853 | 3868 |
| 3854 | 3869 |
| 3855 echo "checking type of mail spool file locking" 1>&6 | 3870 echo "checking type of mail spool file locking" 1>&6 |
| 3856 echo "configure:3857: checking type of mail spool file locking" >&5 | 3871 echo "configure:3872: checking type of mail spool file locking" >&5 |
| 3857 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3872 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 3858 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3873 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 3859 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3874 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 3860 Defining REAL_MAIL_USE_LOCKF | 3875 Defining REAL_MAIL_USE_LOCKF |
| 3861 EOF | 3876 EOF |
| 3875 else mail_locking="dot-locking" | 3890 else mail_locking="dot-locking" |
| 3876 fi | 3891 fi |
| 3877 | 3892 |
| 3878 | 3893 |
| 3879 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3894 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 3880 echo "configure:3881: checking for kstat_open in -lkstat" >&5 | 3895 echo "configure:3896: checking for kstat_open in -lkstat" >&5 |
| 3881 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3896 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 3882 | 3897 |
| 3883 xe_check_libs=" -lkstat " | 3898 xe_check_libs=" -lkstat " |
| 3884 cat > conftest.$ac_ext <<EOF | 3899 cat > conftest.$ac_ext <<EOF |
| 3885 #line 3886 "configure" | 3900 #line 3901 "configure" |
| 3886 #include "confdefs.h" | 3901 #include "confdefs.h" |
| 3887 /* Override any gcc2 internal prototype to avoid an error. */ | 3902 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3888 /* We use char because int might match the return type of a gcc2 | 3903 /* We use char because int might match the return type of a gcc2 |
| 3889 builtin and then its argument prototype would still apply. */ | 3904 builtin and then its argument prototype would still apply. */ |
| 3890 char kstat_open(); | 3905 char kstat_open(); |
| 3891 | 3906 |
| 3892 int main() { | 3907 int main() { |
| 3893 kstat_open() | 3908 kstat_open() |
| 3894 ; return 0; } | 3909 ; return 0; } |
| 3895 EOF | 3910 EOF |
| 3896 if { (eval echo configure:3897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3911 if { (eval echo configure:3912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3897 rm -rf conftest* | 3912 rm -rf conftest* |
| 3898 eval "ac_cv_lib_$ac_lib_var=yes" | 3913 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3899 else | 3914 else |
| 3900 echo "configure: failed program was:" >&5 | 3915 echo "configure: failed program was:" >&5 |
| 3901 cat conftest.$ac_ext >&5 | 3916 cat conftest.$ac_ext >&5 |
| 3925 | 3940 |
| 3926 | 3941 |
| 3927 | 3942 |
| 3928 | 3943 |
| 3929 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 3944 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 3930 echo "configure:3931: checking for kvm_read in -lkvm" >&5 | 3945 echo "configure:3946: checking for kvm_read in -lkvm" >&5 |
| 3931 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 3946 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 3932 | 3947 |
| 3933 xe_check_libs=" -lkvm " | 3948 xe_check_libs=" -lkvm " |
| 3934 cat > conftest.$ac_ext <<EOF | 3949 cat > conftest.$ac_ext <<EOF |
| 3935 #line 3936 "configure" | 3950 #line 3951 "configure" |
| 3936 #include "confdefs.h" | 3951 #include "confdefs.h" |
| 3937 /* Override any gcc2 internal prototype to avoid an error. */ | 3952 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3938 /* We use char because int might match the return type of a gcc2 | 3953 /* We use char because int might match the return type of a gcc2 |
| 3939 builtin and then its argument prototype would still apply. */ | 3954 builtin and then its argument prototype would still apply. */ |
| 3940 char kvm_read(); | 3955 char kvm_read(); |
| 3941 | 3956 |
| 3942 int main() { | 3957 int main() { |
| 3943 kvm_read() | 3958 kvm_read() |
| 3944 ; return 0; } | 3959 ; return 0; } |
| 3945 EOF | 3960 EOF |
| 3946 if { (eval echo configure:3947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3961 if { (eval echo configure:3962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3947 rm -rf conftest* | 3962 rm -rf conftest* |
| 3948 eval "ac_cv_lib_$ac_lib_var=yes" | 3963 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3949 else | 3964 else |
| 3950 echo "configure: failed program was:" >&5 | 3965 echo "configure: failed program was:" >&5 |
| 3951 cat conftest.$ac_ext >&5 | 3966 cat conftest.$ac_ext >&5 |
| 3975 | 3990 |
| 3976 | 3991 |
| 3977 | 3992 |
| 3978 | 3993 |
| 3979 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3994 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 3980 echo "configure:3981: checking for cma_open in -lpthreads" >&5 | 3995 echo "configure:3996: checking for cma_open in -lpthreads" >&5 |
| 3981 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3996 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 3982 | 3997 |
| 3983 xe_check_libs=" -lpthreads " | 3998 xe_check_libs=" -lpthreads " |
| 3984 cat > conftest.$ac_ext <<EOF | 3999 cat > conftest.$ac_ext <<EOF |
| 3985 #line 3986 "configure" | 4000 #line 4001 "configure" |
| 3986 #include "confdefs.h" | 4001 #include "confdefs.h" |
| 3987 /* Override any gcc2 internal prototype to avoid an error. */ | 4002 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3988 /* We use char because int might match the return type of a gcc2 | 4003 /* We use char because int might match the return type of a gcc2 |
| 3989 builtin and then its argument prototype would still apply. */ | 4004 builtin and then its argument prototype would still apply. */ |
| 3990 char cma_open(); | 4005 char cma_open(); |
| 3991 | 4006 |
| 3992 int main() { | 4007 int main() { |
| 3993 cma_open() | 4008 cma_open() |
| 3994 ; return 0; } | 4009 ; return 0; } |
| 3995 EOF | 4010 EOF |
| 3996 if { (eval echo configure:3997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4011 if { (eval echo configure:4012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3997 rm -rf conftest* | 4012 rm -rf conftest* |
| 3998 eval "ac_cv_lib_$ac_lib_var=yes" | 4013 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3999 else | 4014 else |
| 4000 echo "configure: failed program was:" >&5 | 4015 echo "configure: failed program was:" >&5 |
| 4001 cat conftest.$ac_ext >&5 | 4016 cat conftest.$ac_ext >&5 |
| 4027 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 4042 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
| 4028 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 4043 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
| 4029 fi | 4044 fi |
| 4030 | 4045 |
| 4031 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4046 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 4032 echo "configure:4033: checking whether the -xildoff compiler flag is required" >&5 | 4047 echo "configure:4048: checking whether the -xildoff compiler flag is required" >&5 |
| 4033 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4048 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 4034 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4049 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 4035 then echo "$ac_t""no" 1>&6; | 4050 then echo "$ac_t""no" 1>&6; |
| 4036 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 | 4051 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 |
| 4037 fi | 4052 fi |
| 4038 else echo "$ac_t""no" 1>&6 | 4053 else echo "$ac_t""no" 1>&6 |
| 4039 fi | 4054 fi |
| 4040 | 4055 |
| 4041 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4056 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 4042 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4057 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 4043 echo "configure:4044: checking for \"-z ignore\" linker flag" >&5 | 4058 echo "configure:4059: checking for \"-z ignore\" linker flag" >&5 |
| 4044 case "`ld -h 2>&1`" in | 4059 case "`ld -h 2>&1`" in |
| 4045 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4060 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 4046 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4061 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 4047 *) echo "$ac_t""no" 1>&6 ;; | 4062 *) echo "$ac_t""no" 1>&6 ;; |
| 4048 esac | 4063 esac |
| 4049 fi | 4064 fi |
| 4050 | 4065 |
| 4051 | 4066 |
| 4052 echo "checking "for specified window system"" 1>&6 | 4067 echo "checking "for specified window system"" 1>&6 |
| 4053 echo "configure:4054: checking "for specified window system"" >&5 | 4068 echo "configure:4069: checking "for specified window system"" >&5 |
| 4054 | 4069 |
| 4055 if test "$x_includes $x_libraries" = "NONE NONE"; then | 4070 if test "$x_includes $x_libraries" = "NONE NONE"; then |
| 4056 if test -n "$OPENWINHOME" \ | 4071 if test -n "$OPENWINHOME" \ |
| 4057 -a "$OPENWINHOME" != "/usr/openwin" \ | 4072 -a "$OPENWINHOME" != "/usr/openwin" \ |
| 4058 -a -d "$OPENWINHOME"; then | 4073 -a -d "$OPENWINHOME"; then |
| 4069 # If we find X, set shell vars x_includes and x_libraries to the | 4084 # If we find X, set shell vars x_includes and x_libraries to the |
| 4070 # paths, otherwise set no_x=yes. | 4085 # paths, otherwise set no_x=yes. |
| 4071 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4086 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 4072 # --without-x overrides everything else, but does not touch the cache. | 4087 # --without-x overrides everything else, but does not touch the cache. |
| 4073 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4088 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 4074 echo "configure:4075: checking for X" >&5 | 4089 echo "configure:4090: checking for X" >&5 |
| 4075 | 4090 |
| 4076 # Check whether --with-x or --without-x was given. | 4091 # Check whether --with-x or --without-x was given. |
| 4077 if test "${with_x+set}" = set; then | 4092 if test "${with_x+set}" = set; then |
| 4078 withval="$with_x" | 4093 withval="$with_x" |
| 4079 : | 4094 : |
| 4129 # Guess where to find include files, by looking for this one X11 .h file. | 4144 # Guess where to find include files, by looking for this one X11 .h file. |
| 4130 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4145 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4131 | 4146 |
| 4132 # First, try using that file with no special directory specified. | 4147 # First, try using that file with no special directory specified. |
| 4133 cat > conftest.$ac_ext <<EOF | 4148 cat > conftest.$ac_ext <<EOF |
| 4134 #line 4135 "configure" | 4149 #line 4150 "configure" |
| 4135 #include "confdefs.h" | 4150 #include "confdefs.h" |
| 4136 #include <$x_direct_test_include> | 4151 #include <$x_direct_test_include> |
| 4137 EOF | 4152 EOF |
| 4138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4139 { (eval echo configure:4140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4154 { (eval echo configure:4155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4140 ac_err=`grep -v '^ *+' conftest.out` | 4155 ac_err=`grep -v '^ *+' conftest.out` |
| 4141 if test -z "$ac_err"; then | 4156 if test -z "$ac_err"; then |
| 4142 rm -rf conftest* | 4157 rm -rf conftest* |
| 4143 # We can compile using X headers with no special include directory. | 4158 # We can compile using X headers with no special include directory. |
| 4144 ac_x_includes= | 4159 ac_x_includes= |
| 4203 # See if we find them without any special options. | 4218 # See if we find them without any special options. |
| 4204 # Don't add to $LIBS permanently. | 4219 # Don't add to $LIBS permanently. |
| 4205 ac_save_LIBS="$LIBS" | 4220 ac_save_LIBS="$LIBS" |
| 4206 LIBS="-l$x_direct_test_library $LIBS" | 4221 LIBS="-l$x_direct_test_library $LIBS" |
| 4207 cat > conftest.$ac_ext <<EOF | 4222 cat > conftest.$ac_ext <<EOF |
| 4208 #line 4209 "configure" | 4223 #line 4224 "configure" |
| 4209 #include "confdefs.h" | 4224 #include "confdefs.h" |
| 4210 | 4225 |
| 4211 int main() { | 4226 int main() { |
| 4212 ${x_direct_test_function}() | 4227 ${x_direct_test_function}() |
| 4213 ; return 0; } | 4228 ; return 0; } |
| 4214 EOF | 4229 EOF |
| 4215 if { (eval echo configure:4216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4230 if { (eval echo configure:4231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4216 rm -rf conftest* | 4231 rm -rf conftest* |
| 4217 LIBS="$ac_save_LIBS" | 4232 LIBS="$ac_save_LIBS" |
| 4218 # We can link X programs with no special library path. | 4233 # We can link X programs with no special library path. |
| 4219 ac_x_libraries= | 4234 ac_x_libraries= |
| 4220 else | 4235 else |
| 4319 # For Solaris; some versions of Sun CC require a space after -R and | 4334 # For Solaris; some versions of Sun CC require a space after -R and |
| 4320 # others require no space. Words are not sufficient . . . . | 4335 # others require no space. Words are not sufficient . . . . |
| 4321 case "`(uname -sr) 2>/dev/null`" in | 4336 case "`(uname -sr) 2>/dev/null`" in |
| 4322 "SunOS 5"*) | 4337 "SunOS 5"*) |
| 4323 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4338 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4324 echo "configure:4325: checking whether -R must be followed by a space" >&5 | 4339 echo "configure:4340: checking whether -R must be followed by a space" >&5 |
| 4325 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4340 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4326 cat > conftest.$ac_ext <<EOF | 4341 cat > conftest.$ac_ext <<EOF |
| 4327 #line 4328 "configure" | 4342 #line 4343 "configure" |
| 4328 #include "confdefs.h" | 4343 #include "confdefs.h" |
| 4329 | 4344 |
| 4330 int main() { | 4345 int main() { |
| 4331 | 4346 |
| 4332 ; return 0; } | 4347 ; return 0; } |
| 4333 EOF | 4348 EOF |
| 4334 if { (eval echo configure:4335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4349 if { (eval echo configure:4350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4335 rm -rf conftest* | 4350 rm -rf conftest* |
| 4336 ac_R_nospace=yes | 4351 ac_R_nospace=yes |
| 4337 else | 4352 else |
| 4338 echo "configure: failed program was:" >&5 | 4353 echo "configure: failed program was:" >&5 |
| 4339 cat conftest.$ac_ext >&5 | 4354 cat conftest.$ac_ext >&5 |
| 4345 echo "$ac_t""no" 1>&6 | 4360 echo "$ac_t""no" 1>&6 |
| 4346 X_LIBS="$X_LIBS -R$x_libraries" | 4361 X_LIBS="$X_LIBS -R$x_libraries" |
| 4347 else | 4362 else |
| 4348 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4363 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4349 cat > conftest.$ac_ext <<EOF | 4364 cat > conftest.$ac_ext <<EOF |
| 4350 #line 4351 "configure" | 4365 #line 4366 "configure" |
| 4351 #include "confdefs.h" | 4366 #include "confdefs.h" |
| 4352 | 4367 |
| 4353 int main() { | 4368 int main() { |
| 4354 | 4369 |
| 4355 ; return 0; } | 4370 ; return 0; } |
| 4356 EOF | 4371 EOF |
| 4357 if { (eval echo configure:4358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4372 if { (eval echo configure:4373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4358 rm -rf conftest* | 4373 rm -rf conftest* |
| 4359 ac_R_space=yes | 4374 ac_R_space=yes |
| 4360 else | 4375 else |
| 4361 echo "configure: failed program was:" >&5 | 4376 echo "configure: failed program was:" >&5 |
| 4362 cat conftest.$ac_ext >&5 | 4377 cat conftest.$ac_ext >&5 |
| 4388 if test "$with_dnet" = "no" ; then | 4403 if test "$with_dnet" = "no" ; then |
| 4389 ac_cv_lib_dnet_dnet_ntoa=no | 4404 ac_cv_lib_dnet_dnet_ntoa=no |
| 4390 else | 4405 else |
| 4391 | 4406 |
| 4392 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4407 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4393 echo "configure:4394: checking for dnet_ntoa in -ldnet" >&5 | 4408 echo "configure:4409: checking for dnet_ntoa in -ldnet" >&5 |
| 4394 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4409 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4395 | 4410 |
| 4396 xe_check_libs=" -ldnet " | 4411 xe_check_libs=" -ldnet " |
| 4397 cat > conftest.$ac_ext <<EOF | 4412 cat > conftest.$ac_ext <<EOF |
| 4398 #line 4399 "configure" | 4413 #line 4414 "configure" |
| 4399 #include "confdefs.h" | 4414 #include "confdefs.h" |
| 4400 /* Override any gcc2 internal prototype to avoid an error. */ | 4415 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4401 /* We use char because int might match the return type of a gcc2 | 4416 /* We use char because int might match the return type of a gcc2 |
| 4402 builtin and then its argument prototype would still apply. */ | 4417 builtin and then its argument prototype would still apply. */ |
| 4403 char dnet_ntoa(); | 4418 char dnet_ntoa(); |
| 4404 | 4419 |
| 4405 int main() { | 4420 int main() { |
| 4406 dnet_ntoa() | 4421 dnet_ntoa() |
| 4407 ; return 0; } | 4422 ; return 0; } |
| 4408 EOF | 4423 EOF |
| 4409 if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4424 if { (eval echo configure:4425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4410 rm -rf conftest* | 4425 rm -rf conftest* |
| 4411 eval "ac_cv_lib_$ac_lib_var=yes" | 4426 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4412 else | 4427 else |
| 4413 echo "configure: failed program was:" >&5 | 4428 echo "configure: failed program was:" >&5 |
| 4414 cat conftest.$ac_ext >&5 | 4429 cat conftest.$ac_ext >&5 |
| 4428 fi | 4443 fi |
| 4429 | 4444 |
| 4430 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4445 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4431 | 4446 |
| 4432 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4447 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4433 echo "configure:4434: checking for dnet_ntoa in -ldnet_stub" >&5 | 4448 echo "configure:4449: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4434 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4449 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4435 | 4450 |
| 4436 xe_check_libs=" -ldnet_stub " | 4451 xe_check_libs=" -ldnet_stub " |
| 4437 cat > conftest.$ac_ext <<EOF | 4452 cat > conftest.$ac_ext <<EOF |
| 4438 #line 4439 "configure" | 4453 #line 4454 "configure" |
| 4439 #include "confdefs.h" | 4454 #include "confdefs.h" |
| 4440 /* Override any gcc2 internal prototype to avoid an error. */ | 4455 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4441 /* We use char because int might match the return type of a gcc2 | 4456 /* We use char because int might match the return type of a gcc2 |
| 4442 builtin and then its argument prototype would still apply. */ | 4457 builtin and then its argument prototype would still apply. */ |
| 4443 char dnet_ntoa(); | 4458 char dnet_ntoa(); |
| 4444 | 4459 |
| 4445 int main() { | 4460 int main() { |
| 4446 dnet_ntoa() | 4461 dnet_ntoa() |
| 4447 ; return 0; } | 4462 ; return 0; } |
| 4448 EOF | 4463 EOF |
| 4449 if { (eval echo configure:4450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4464 if { (eval echo configure:4465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4450 rm -rf conftest* | 4465 rm -rf conftest* |
| 4451 eval "ac_cv_lib_$ac_lib_var=yes" | 4466 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4452 else | 4467 else |
| 4453 echo "configure: failed program was:" >&5 | 4468 echo "configure: failed program was:" >&5 |
| 4454 cat conftest.$ac_ext >&5 | 4469 cat conftest.$ac_ext >&5 |
| 4473 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4488 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 4474 # needs -lnsl. | 4489 # needs -lnsl. |
| 4475 # The nsl library prevents programs from opening the X display | 4490 # The nsl library prevents programs from opening the X display |
| 4476 # on Irix 5.2, according to dickey@clark.net. | 4491 # on Irix 5.2, according to dickey@clark.net. |
| 4477 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4492 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 4478 echo "configure:4479: checking for gethostbyname" >&5 | 4493 echo "configure:4494: checking for gethostbyname" >&5 |
| 4479 | 4494 |
| 4480 cat > conftest.$ac_ext <<EOF | 4495 cat > conftest.$ac_ext <<EOF |
| 4481 #line 4482 "configure" | 4496 #line 4497 "configure" |
| 4482 #include "confdefs.h" | 4497 #include "confdefs.h" |
| 4483 /* System header to define __stub macros and hopefully few prototypes, | 4498 /* System header to define __stub macros and hopefully few prototypes, |
| 4484 which can conflict with char gethostbyname(); below. */ | 4499 which can conflict with char gethostbyname(); below. */ |
| 4485 #include <assert.h> | 4500 #include <assert.h> |
| 4486 /* Override any gcc2 internal prototype to avoid an error. */ | 4501 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4499 gethostbyname(); | 4514 gethostbyname(); |
| 4500 #endif | 4515 #endif |
| 4501 | 4516 |
| 4502 ; return 0; } | 4517 ; return 0; } |
| 4503 EOF | 4518 EOF |
| 4504 if { (eval echo configure:4505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4519 if { (eval echo configure:4520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4505 rm -rf conftest* | 4520 rm -rf conftest* |
| 4506 eval "ac_cv_func_gethostbyname=yes" | 4521 eval "ac_cv_func_gethostbyname=yes" |
| 4507 else | 4522 else |
| 4508 echo "configure: failed program was:" >&5 | 4523 echo "configure: failed program was:" >&5 |
| 4509 cat conftest.$ac_ext >&5 | 4524 cat conftest.$ac_ext >&5 |
| 4520 fi | 4535 fi |
| 4521 | 4536 |
| 4522 if test $ac_cv_func_gethostbyname = no; then | 4537 if test $ac_cv_func_gethostbyname = no; then |
| 4523 | 4538 |
| 4524 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4539 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 4525 echo "configure:4526: checking for gethostbyname in -lnsl" >&5 | 4540 echo "configure:4541: checking for gethostbyname in -lnsl" >&5 |
| 4526 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4541 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 4527 | 4542 |
| 4528 xe_check_libs=" -lnsl " | 4543 xe_check_libs=" -lnsl " |
| 4529 cat > conftest.$ac_ext <<EOF | 4544 cat > conftest.$ac_ext <<EOF |
| 4530 #line 4531 "configure" | 4545 #line 4546 "configure" |
| 4531 #include "confdefs.h" | 4546 #include "confdefs.h" |
| 4532 /* Override any gcc2 internal prototype to avoid an error. */ | 4547 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4533 /* We use char because int might match the return type of a gcc2 | 4548 /* We use char because int might match the return type of a gcc2 |
| 4534 builtin and then its argument prototype would still apply. */ | 4549 builtin and then its argument prototype would still apply. */ |
| 4535 char gethostbyname(); | 4550 char gethostbyname(); |
| 4536 | 4551 |
| 4537 int main() { | 4552 int main() { |
| 4538 gethostbyname() | 4553 gethostbyname() |
| 4539 ; return 0; } | 4554 ; return 0; } |
| 4540 EOF | 4555 EOF |
| 4541 if { (eval echo configure:4542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4556 if { (eval echo configure:4557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4542 rm -rf conftest* | 4557 rm -rf conftest* |
| 4543 eval "ac_cv_lib_$ac_lib_var=yes" | 4558 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4544 else | 4559 else |
| 4545 echo "configure: failed program was:" >&5 | 4560 echo "configure: failed program was:" >&5 |
| 4546 cat conftest.$ac_ext >&5 | 4561 cat conftest.$ac_ext >&5 |
| 4566 # on later versions), says simon@lia.di.epfl.ch: it contains | 4581 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 4567 # gethostby* variants that don't use the nameserver (or something). | 4582 # gethostby* variants that don't use the nameserver (or something). |
| 4568 # -lsocket must be given before -lnsl if both are needed. | 4583 # -lsocket must be given before -lnsl if both are needed. |
| 4569 # We assume that if connect needs -lnsl, so does gethostbyname. | 4584 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 4570 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4585 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 4571 echo "configure:4572: checking for connect" >&5 | 4586 echo "configure:4587: checking for connect" >&5 |
| 4572 | 4587 |
| 4573 cat > conftest.$ac_ext <<EOF | 4588 cat > conftest.$ac_ext <<EOF |
| 4574 #line 4575 "configure" | 4589 #line 4590 "configure" |
| 4575 #include "confdefs.h" | 4590 #include "confdefs.h" |
| 4576 /* System header to define __stub macros and hopefully few prototypes, | 4591 /* System header to define __stub macros and hopefully few prototypes, |
| 4577 which can conflict with char connect(); below. */ | 4592 which can conflict with char connect(); below. */ |
| 4578 #include <assert.h> | 4593 #include <assert.h> |
| 4579 /* Override any gcc2 internal prototype to avoid an error. */ | 4594 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4592 connect(); | 4607 connect(); |
| 4593 #endif | 4608 #endif |
| 4594 | 4609 |
| 4595 ; return 0; } | 4610 ; return 0; } |
| 4596 EOF | 4611 EOF |
| 4597 if { (eval echo configure:4598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4612 if { (eval echo configure:4613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4598 rm -rf conftest* | 4613 rm -rf conftest* |
| 4599 eval "ac_cv_func_connect=yes" | 4614 eval "ac_cv_func_connect=yes" |
| 4600 else | 4615 else |
| 4601 echo "configure: failed program was:" >&5 | 4616 echo "configure: failed program was:" >&5 |
| 4602 cat conftest.$ac_ext >&5 | 4617 cat conftest.$ac_ext >&5 |
| 4615 if test $ac_cv_func_connect = no; then | 4630 if test $ac_cv_func_connect = no; then |
| 4616 | 4631 |
| 4617 xe_msg_checking="for connect in -lsocket" | 4632 xe_msg_checking="for connect in -lsocket" |
| 4618 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4633 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 4619 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4634 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 4620 echo "configure:4621: checking "$xe_msg_checking"" >&5 | 4635 echo "configure:4636: checking "$xe_msg_checking"" >&5 |
| 4621 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4636 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 4622 | 4637 |
| 4623 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4638 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 4624 cat > conftest.$ac_ext <<EOF | 4639 cat > conftest.$ac_ext <<EOF |
| 4625 #line 4626 "configure" | 4640 #line 4641 "configure" |
| 4626 #include "confdefs.h" | 4641 #include "confdefs.h" |
| 4627 /* Override any gcc2 internal prototype to avoid an error. */ | 4642 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4628 /* We use char because int might match the return type of a gcc2 | 4643 /* We use char because int might match the return type of a gcc2 |
| 4629 builtin and then its argument prototype would still apply. */ | 4644 builtin and then its argument prototype would still apply. */ |
| 4630 char connect(); | 4645 char connect(); |
| 4631 | 4646 |
| 4632 int main() { | 4647 int main() { |
| 4633 connect() | 4648 connect() |
| 4634 ; return 0; } | 4649 ; return 0; } |
| 4635 EOF | 4650 EOF |
| 4636 if { (eval echo configure:4637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4651 if { (eval echo configure:4652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4637 rm -rf conftest* | 4652 rm -rf conftest* |
| 4638 eval "ac_cv_lib_$ac_lib_var=yes" | 4653 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4639 else | 4654 else |
| 4640 echo "configure: failed program was:" >&5 | 4655 echo "configure: failed program was:" >&5 |
| 4641 cat conftest.$ac_ext >&5 | 4656 cat conftest.$ac_ext >&5 |
| 4655 | 4670 |
| 4656 fi | 4671 fi |
| 4657 | 4672 |
| 4658 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4673 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 4659 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4674 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 4660 echo "configure:4661: checking for remove" >&5 | 4675 echo "configure:4676: checking for remove" >&5 |
| 4661 | 4676 |
| 4662 cat > conftest.$ac_ext <<EOF | 4677 cat > conftest.$ac_ext <<EOF |
| 4663 #line 4664 "configure" | 4678 #line 4679 "configure" |
| 4664 #include "confdefs.h" | 4679 #include "confdefs.h" |
| 4665 /* System header to define __stub macros and hopefully few prototypes, | 4680 /* System header to define __stub macros and hopefully few prototypes, |
| 4666 which can conflict with char remove(); below. */ | 4681 which can conflict with char remove(); below. */ |
| 4667 #include <assert.h> | 4682 #include <assert.h> |
| 4668 /* Override any gcc2 internal prototype to avoid an error. */ | 4683 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4681 remove(); | 4696 remove(); |
| 4682 #endif | 4697 #endif |
| 4683 | 4698 |
| 4684 ; return 0; } | 4699 ; return 0; } |
| 4685 EOF | 4700 EOF |
| 4686 if { (eval echo configure:4687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4701 if { (eval echo configure:4702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4687 rm -rf conftest* | 4702 rm -rf conftest* |
| 4688 eval "ac_cv_func_remove=yes" | 4703 eval "ac_cv_func_remove=yes" |
| 4689 else | 4704 else |
| 4690 echo "configure: failed program was:" >&5 | 4705 echo "configure: failed program was:" >&5 |
| 4691 cat conftest.$ac_ext >&5 | 4706 cat conftest.$ac_ext >&5 |
| 4702 fi | 4717 fi |
| 4703 | 4718 |
| 4704 if test $ac_cv_func_remove = no; then | 4719 if test $ac_cv_func_remove = no; then |
| 4705 | 4720 |
| 4706 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4721 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 4707 echo "configure:4708: checking for remove in -lposix" >&5 | 4722 echo "configure:4723: checking for remove in -lposix" >&5 |
| 4708 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4723 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 4709 | 4724 |
| 4710 xe_check_libs=" -lposix " | 4725 xe_check_libs=" -lposix " |
| 4711 cat > conftest.$ac_ext <<EOF | 4726 cat > conftest.$ac_ext <<EOF |
| 4712 #line 4713 "configure" | 4727 #line 4728 "configure" |
| 4713 #include "confdefs.h" | 4728 #include "confdefs.h" |
| 4714 /* Override any gcc2 internal prototype to avoid an error. */ | 4729 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4715 /* We use char because int might match the return type of a gcc2 | 4730 /* We use char because int might match the return type of a gcc2 |
| 4716 builtin and then its argument prototype would still apply. */ | 4731 builtin and then its argument prototype would still apply. */ |
| 4717 char remove(); | 4732 char remove(); |
| 4718 | 4733 |
| 4719 int main() { | 4734 int main() { |
| 4720 remove() | 4735 remove() |
| 4721 ; return 0; } | 4736 ; return 0; } |
| 4722 EOF | 4737 EOF |
| 4723 if { (eval echo configure:4724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4738 if { (eval echo configure:4739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4724 rm -rf conftest* | 4739 rm -rf conftest* |
| 4725 eval "ac_cv_lib_$ac_lib_var=yes" | 4740 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4726 else | 4741 else |
| 4727 echo "configure: failed program was:" >&5 | 4742 echo "configure: failed program was:" >&5 |
| 4728 cat conftest.$ac_ext >&5 | 4743 cat conftest.$ac_ext >&5 |
| 4742 | 4757 |
| 4743 fi | 4758 fi |
| 4744 | 4759 |
| 4745 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4760 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 4746 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4761 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 4747 echo "configure:4748: checking for shmat" >&5 | 4762 echo "configure:4763: checking for shmat" >&5 |
| 4748 | 4763 |
| 4749 cat > conftest.$ac_ext <<EOF | 4764 cat > conftest.$ac_ext <<EOF |
| 4750 #line 4751 "configure" | 4765 #line 4766 "configure" |
| 4751 #include "confdefs.h" | 4766 #include "confdefs.h" |
| 4752 /* System header to define __stub macros and hopefully few prototypes, | 4767 /* System header to define __stub macros and hopefully few prototypes, |
| 4753 which can conflict with char shmat(); below. */ | 4768 which can conflict with char shmat(); below. */ |
| 4754 #include <assert.h> | 4769 #include <assert.h> |
| 4755 /* Override any gcc2 internal prototype to avoid an error. */ | 4770 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4768 shmat(); | 4783 shmat(); |
| 4769 #endif | 4784 #endif |
| 4770 | 4785 |
| 4771 ; return 0; } | 4786 ; return 0; } |
| 4772 EOF | 4787 EOF |
| 4773 if { (eval echo configure:4774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4788 if { (eval echo configure:4789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4774 rm -rf conftest* | 4789 rm -rf conftest* |
| 4775 eval "ac_cv_func_shmat=yes" | 4790 eval "ac_cv_func_shmat=yes" |
| 4776 else | 4791 else |
| 4777 echo "configure: failed program was:" >&5 | 4792 echo "configure: failed program was:" >&5 |
| 4778 cat conftest.$ac_ext >&5 | 4793 cat conftest.$ac_ext >&5 |
| 4789 fi | 4804 fi |
| 4790 | 4805 |
| 4791 if test $ac_cv_func_shmat = no; then | 4806 if test $ac_cv_func_shmat = no; then |
| 4792 | 4807 |
| 4793 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4808 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 4794 echo "configure:4795: checking for shmat in -lipc" >&5 | 4809 echo "configure:4810: checking for shmat in -lipc" >&5 |
| 4795 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4810 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 4796 | 4811 |
| 4797 xe_check_libs=" -lipc " | 4812 xe_check_libs=" -lipc " |
| 4798 cat > conftest.$ac_ext <<EOF | 4813 cat > conftest.$ac_ext <<EOF |
| 4799 #line 4800 "configure" | 4814 #line 4815 "configure" |
| 4800 #include "confdefs.h" | 4815 #include "confdefs.h" |
| 4801 /* Override any gcc2 internal prototype to avoid an error. */ | 4816 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4802 /* We use char because int might match the return type of a gcc2 | 4817 /* We use char because int might match the return type of a gcc2 |
| 4803 builtin and then its argument prototype would still apply. */ | 4818 builtin and then its argument prototype would still apply. */ |
| 4804 char shmat(); | 4819 char shmat(); |
| 4805 | 4820 |
| 4806 int main() { | 4821 int main() { |
| 4807 shmat() | 4822 shmat() |
| 4808 ; return 0; } | 4823 ; return 0; } |
| 4809 EOF | 4824 EOF |
| 4810 if { (eval echo configure:4811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4825 if { (eval echo configure:4826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4811 rm -rf conftest* | 4826 rm -rf conftest* |
| 4812 eval "ac_cv_lib_$ac_lib_var=yes" | 4827 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4813 else | 4828 else |
| 4814 echo "configure: failed program was:" >&5 | 4829 echo "configure: failed program was:" >&5 |
| 4815 cat conftest.$ac_ext >&5 | 4830 cat conftest.$ac_ext >&5 |
| 4839 # These have to be linked with before -lX11, unlike the other | 4854 # These have to be linked with before -lX11, unlike the other |
| 4840 # libraries we check for below, so use a different variable. | 4855 # libraries we check for below, so use a different variable. |
| 4841 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4856 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 4842 | 4857 |
| 4843 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4858 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
| 4844 echo "configure:4845: checking for IceConnectionNumber in -lICE" >&5 | 4859 echo "configure:4860: checking for IceConnectionNumber in -lICE" >&5 |
| 4845 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4860 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 4846 | 4861 |
| 4847 xe_check_libs=" -lICE " | 4862 xe_check_libs=" -lICE " |
| 4848 cat > conftest.$ac_ext <<EOF | 4863 cat > conftest.$ac_ext <<EOF |
| 4849 #line 4850 "configure" | 4864 #line 4865 "configure" |
| 4850 #include "confdefs.h" | 4865 #include "confdefs.h" |
| 4851 /* Override any gcc2 internal prototype to avoid an error. */ | 4866 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4852 /* We use char because int might match the return type of a gcc2 | 4867 /* We use char because int might match the return type of a gcc2 |
| 4853 builtin and then its argument prototype would still apply. */ | 4868 builtin and then its argument prototype would still apply. */ |
| 4854 char IceConnectionNumber(); | 4869 char IceConnectionNumber(); |
| 4855 | 4870 |
| 4856 int main() { | 4871 int main() { |
| 4857 IceConnectionNumber() | 4872 IceConnectionNumber() |
| 4858 ; return 0; } | 4873 ; return 0; } |
| 4859 EOF | 4874 EOF |
| 4860 if { (eval echo configure:4861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4875 if { (eval echo configure:4876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4861 rm -rf conftest* | 4876 rm -rf conftest* |
| 4862 eval "ac_cv_lib_$ac_lib_var=yes" | 4877 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4863 else | 4878 else |
| 4864 echo "configure: failed program was:" >&5 | 4879 echo "configure: failed program was:" >&5 |
| 4865 cat conftest.$ac_ext >&5 | 4880 cat conftest.$ac_ext >&5 |
| 4900 #define HAVE_X_WINDOWS 1 | 4915 #define HAVE_X_WINDOWS 1 |
| 4901 EOF | 4916 EOF |
| 4902 } | 4917 } |
| 4903 | 4918 |
| 4904 MAKE_SUBDIR="$MAKE_SUBDIR lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$MAKE_SUBDIR"; fi | 4919 MAKE_SUBDIR="$MAKE_SUBDIR lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$MAKE_SUBDIR"; fi |
| 4920 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | |
| 4905 | 4921 |
| 4906 for lib_dir in "/usr/dt/lib" "/usr/lib/Motif1.2" "/usr/lib/Motif1.1"; do | 4922 for lib_dir in "/usr/dt/lib" "/usr/lib/Motif1.2" "/usr/lib/Motif1.1"; do |
| 4907 inc_dir=`echo $lib_dir | sed -e 's/lib/include/'` | 4923 inc_dir=`echo $lib_dir | sed -e 's/lib/include/'` |
| 4908 if test -d "$lib_dir" -a -d "$inc_dir"; then | 4924 if test -d "$lib_dir" -a -d "$inc_dir"; then |
| 4909 case "$x_libraries" in *"$lib_dir"* ) ;; *) | 4925 case "$x_libraries" in *"$lib_dir"* ) ;; *) |
| 4987 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 5003 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
| 4988 echo | 5004 echo |
| 4989 fi | 5005 fi |
| 4990 | 5006 |
| 4991 echo "checking for X defines extracted by xmkmf" 1>&6 | 5007 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 4992 echo "configure:4993: checking for X defines extracted by xmkmf" >&5 | 5008 echo "configure:5009: checking for X defines extracted by xmkmf" >&5 |
| 4993 rm -fr conftestdir | 5009 rm -fr conftestdir |
| 4994 if mkdir conftestdir; then | 5010 if mkdir conftestdir; then |
| 4995 cd conftestdir | 5011 cd conftestdir |
| 4996 cat > Imakefile <<'EOF' | 5012 cat > Imakefile <<'EOF' |
| 4997 xetest: | 5013 xetest: |
| 5019 done | 5035 done |
| 5020 fi | 5036 fi |
| 5021 | 5037 |
| 5022 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5038 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5023 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5039 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5024 echo "configure:5025: checking for X11/Intrinsic.h" >&5 | 5040 echo "configure:5041: checking for X11/Intrinsic.h" >&5 |
| 5025 | 5041 |
| 5026 cat > conftest.$ac_ext <<EOF | 5042 cat > conftest.$ac_ext <<EOF |
| 5027 #line 5028 "configure" | 5043 #line 5044 "configure" |
| 5028 #include "confdefs.h" | 5044 #include "confdefs.h" |
| 5029 #include <X11/Intrinsic.h> | 5045 #include <X11/Intrinsic.h> |
| 5030 EOF | 5046 EOF |
| 5031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5047 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5032 { (eval echo configure:5033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5048 { (eval echo configure:5049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5033 ac_err=`grep -v '^ *+' conftest.out` | 5049 ac_err=`grep -v '^ *+' conftest.out` |
| 5034 if test -z "$ac_err"; then | 5050 if test -z "$ac_err"; then |
| 5035 rm -rf conftest* | 5051 rm -rf conftest* |
| 5036 eval "ac_cv_header_$ac_safe=yes" | 5052 eval "ac_cv_header_$ac_safe=yes" |
| 5037 else | 5053 else |
| 5051 fi | 5067 fi |
| 5052 | 5068 |
| 5053 | 5069 |
| 5054 | 5070 |
| 5055 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5071 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 5056 echo "configure:5057: checking for XOpenDisplay in -lX11" >&5 | 5072 echo "configure:5073: checking for XOpenDisplay in -lX11" >&5 |
| 5057 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5073 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 5058 | 5074 |
| 5059 xe_check_libs=" -lX11 " | 5075 xe_check_libs=" -lX11 " |
| 5060 cat > conftest.$ac_ext <<EOF | 5076 cat > conftest.$ac_ext <<EOF |
| 5061 #line 5062 "configure" | 5077 #line 5078 "configure" |
| 5062 #include "confdefs.h" | 5078 #include "confdefs.h" |
| 5063 /* Override any gcc2 internal prototype to avoid an error. */ | 5079 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5064 /* We use char because int might match the return type of a gcc2 | 5080 /* We use char because int might match the return type of a gcc2 |
| 5065 builtin and then its argument prototype would still apply. */ | 5081 builtin and then its argument prototype would still apply. */ |
| 5066 char XOpenDisplay(); | 5082 char XOpenDisplay(); |
| 5067 | 5083 |
| 5068 int main() { | 5084 int main() { |
| 5069 XOpenDisplay() | 5085 XOpenDisplay() |
| 5070 ; return 0; } | 5086 ; return 0; } |
| 5071 EOF | 5087 EOF |
| 5072 if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5088 if { (eval echo configure:5089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5073 rm -rf conftest* | 5089 rm -rf conftest* |
| 5074 eval "ac_cv_lib_$ac_lib_var=yes" | 5090 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5075 else | 5091 else |
| 5076 echo "configure: failed program was:" >&5 | 5092 echo "configure: failed program was:" >&5 |
| 5077 cat conftest.$ac_ext >&5 | 5093 cat conftest.$ac_ext >&5 |
| 5092 if test "$have_lib_x11" != "yes"; then | 5108 if test "$have_lib_x11" != "yes"; then |
| 5093 | 5109 |
| 5094 xe_msg_checking="for XGetFontProperty in -lX11" | 5110 xe_msg_checking="for XGetFontProperty in -lX11" |
| 5095 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5111 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 5096 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5112 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5097 echo "configure:5098: checking "$xe_msg_checking"" >&5 | 5113 echo "configure:5114: checking "$xe_msg_checking"" >&5 |
| 5098 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5114 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 5099 | 5115 |
| 5100 xe_check_libs=" -lX11 -b i486-linuxaout" | 5116 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 5101 cat > conftest.$ac_ext <<EOF | 5117 cat > conftest.$ac_ext <<EOF |
| 5102 #line 5103 "configure" | 5118 #line 5119 "configure" |
| 5103 #include "confdefs.h" | 5119 #include "confdefs.h" |
| 5104 /* Override any gcc2 internal prototype to avoid an error. */ | 5120 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5105 /* We use char because int might match the return type of a gcc2 | 5121 /* We use char because int might match the return type of a gcc2 |
| 5106 builtin and then its argument prototype would still apply. */ | 5122 builtin and then its argument prototype would still apply. */ |
| 5107 char XGetFontProperty(); | 5123 char XGetFontProperty(); |
| 5108 | 5124 |
| 5109 int main() { | 5125 int main() { |
| 5110 XGetFontProperty() | 5126 XGetFontProperty() |
| 5111 ; return 0; } | 5127 ; return 0; } |
| 5112 EOF | 5128 EOF |
| 5113 if { (eval echo configure:5114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5129 if { (eval echo configure:5130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5114 rm -rf conftest* | 5130 rm -rf conftest* |
| 5115 eval "ac_cv_lib_$ac_lib_var=yes" | 5131 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5116 else | 5132 else |
| 5117 echo "configure: failed program was:" >&5 | 5133 echo "configure: failed program was:" >&5 |
| 5118 cat conftest.$ac_ext >&5 | 5134 cat conftest.$ac_ext >&5 |
| 5135 libs_x="-lX11" | 5151 libs_x="-lX11" |
| 5136 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5152 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5137 | 5153 |
| 5138 | 5154 |
| 5139 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5155 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5140 echo "configure:5141: checking for XShapeSelectInput in -lXext" >&5 | 5156 echo "configure:5157: checking for XShapeSelectInput in -lXext" >&5 |
| 5141 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5157 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5142 | 5158 |
| 5143 xe_check_libs=" -lXext " | 5159 xe_check_libs=" -lXext " |
| 5144 cat > conftest.$ac_ext <<EOF | 5160 cat > conftest.$ac_ext <<EOF |
| 5145 #line 5146 "configure" | 5161 #line 5162 "configure" |
| 5146 #include "confdefs.h" | 5162 #include "confdefs.h" |
| 5147 /* Override any gcc2 internal prototype to avoid an error. */ | 5163 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5148 /* We use char because int might match the return type of a gcc2 | 5164 /* We use char because int might match the return type of a gcc2 |
| 5149 builtin and then its argument prototype would still apply. */ | 5165 builtin and then its argument prototype would still apply. */ |
| 5150 char XShapeSelectInput(); | 5166 char XShapeSelectInput(); |
| 5151 | 5167 |
| 5152 int main() { | 5168 int main() { |
| 5153 XShapeSelectInput() | 5169 XShapeSelectInput() |
| 5154 ; return 0; } | 5170 ; return 0; } |
| 5155 EOF | 5171 EOF |
| 5156 if { (eval echo configure:5157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5172 if { (eval echo configure:5173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5157 rm -rf conftest* | 5173 rm -rf conftest* |
| 5158 eval "ac_cv_lib_$ac_lib_var=yes" | 5174 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5159 else | 5175 else |
| 5160 echo "configure: failed program was:" >&5 | 5176 echo "configure: failed program was:" >&5 |
| 5161 cat conftest.$ac_ext >&5 | 5177 cat conftest.$ac_ext >&5 |
| 5174 | 5190 |
| 5175 | 5191 |
| 5176 | 5192 |
| 5177 | 5193 |
| 5178 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5194 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5179 echo "configure:5180: checking for XtOpenDisplay in -lXt" >&5 | 5195 echo "configure:5196: checking for XtOpenDisplay in -lXt" >&5 |
| 5180 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5196 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5181 | 5197 |
| 5182 xe_check_libs=" -lXt " | 5198 xe_check_libs=" -lXt " |
| 5183 cat > conftest.$ac_ext <<EOF | 5199 cat > conftest.$ac_ext <<EOF |
| 5184 #line 5185 "configure" | 5200 #line 5201 "configure" |
| 5185 #include "confdefs.h" | 5201 #include "confdefs.h" |
| 5186 /* Override any gcc2 internal prototype to avoid an error. */ | 5202 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5187 /* We use char because int might match the return type of a gcc2 | 5203 /* We use char because int might match the return type of a gcc2 |
| 5188 builtin and then its argument prototype would still apply. */ | 5204 builtin and then its argument prototype would still apply. */ |
| 5189 char XtOpenDisplay(); | 5205 char XtOpenDisplay(); |
| 5190 | 5206 |
| 5191 int main() { | 5207 int main() { |
| 5192 XtOpenDisplay() | 5208 XtOpenDisplay() |
| 5193 ; return 0; } | 5209 ; return 0; } |
| 5194 EOF | 5210 EOF |
| 5195 if { (eval echo configure:5196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5211 if { (eval echo configure:5212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5196 rm -rf conftest* | 5212 rm -rf conftest* |
| 5197 eval "ac_cv_lib_$ac_lib_var=yes" | 5213 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5198 else | 5214 else |
| 5199 echo "configure: failed program was:" >&5 | 5215 echo "configure: failed program was:" >&5 |
| 5200 cat conftest.$ac_ext >&5 | 5216 cat conftest.$ac_ext >&5 |
| 5213 fi | 5229 fi |
| 5214 | 5230 |
| 5215 | 5231 |
| 5216 | 5232 |
| 5217 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5233 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5218 echo "configure:5219: checking the version of X11 being used" >&5 | 5234 echo "configure:5235: checking the version of X11 being used" >&5 |
| 5219 cat > conftest.$ac_ext <<EOF | 5235 cat > conftest.$ac_ext <<EOF |
| 5220 #line 5221 "configure" | 5236 #line 5237 "configure" |
| 5221 #include "confdefs.h" | 5237 #include "confdefs.h" |
| 5222 #include <X11/Intrinsic.h> | 5238 #include <X11/Intrinsic.h> |
| 5223 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5239 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5224 EOF | 5240 EOF |
| 5225 if { (eval echo configure:5226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5241 if { (eval echo configure:5242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5226 then | 5242 then |
| 5227 ./conftest foobar; x11_release=$? | 5243 ./conftest foobar; x11_release=$? |
| 5228 else | 5244 else |
| 5229 echo "configure: failed program was:" >&5 | 5245 echo "configure: failed program was:" >&5 |
| 5230 cat conftest.$ac_ext >&5 | 5246 cat conftest.$ac_ext >&5 |
| 5244 | 5260 |
| 5245 for ac_hdr in X11/Xlocale.h | 5261 for ac_hdr in X11/Xlocale.h |
| 5246 do | 5262 do |
| 5247 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5263 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5248 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5264 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5249 echo "configure:5250: checking for $ac_hdr" >&5 | 5265 echo "configure:5266: checking for $ac_hdr" >&5 |
| 5250 | 5266 |
| 5251 cat > conftest.$ac_ext <<EOF | 5267 cat > conftest.$ac_ext <<EOF |
| 5252 #line 5253 "configure" | 5268 #line 5269 "configure" |
| 5253 #include "confdefs.h" | 5269 #include "confdefs.h" |
| 5254 #include <$ac_hdr> | 5270 #include <$ac_hdr> |
| 5255 EOF | 5271 EOF |
| 5256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5272 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5257 { (eval echo configure:5258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5273 { (eval echo configure:5274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5258 ac_err=`grep -v '^ *+' conftest.out` | 5274 ac_err=`grep -v '^ *+' conftest.out` |
| 5259 if test -z "$ac_err"; then | 5275 if test -z "$ac_err"; then |
| 5260 rm -rf conftest* | 5276 rm -rf conftest* |
| 5261 eval "ac_cv_header_$ac_safe=yes" | 5277 eval "ac_cv_header_$ac_safe=yes" |
| 5262 else | 5278 else |
| 5283 fi | 5299 fi |
| 5284 done | 5300 done |
| 5285 | 5301 |
| 5286 | 5302 |
| 5287 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5303 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5288 echo "configure:5289: checking for XFree86" >&5 | 5304 echo "configure:5305: checking for XFree86" >&5 |
| 5289 if test -d "/usr/X386/include" -o \ | 5305 if test -d "/usr/X386/include" -o \ |
| 5290 -f "/etc/XF86Config" -o \ | 5306 -f "/etc/XF86Config" -o \ |
| 5291 -f "/etc/X11/XF86Config" -o \ | 5307 -f "/etc/X11/XF86Config" -o \ |
| 5292 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5308 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5293 echo "$ac_t""yes" 1>&6 | 5309 echo "$ac_t""yes" 1>&6 |
| 5303 echo "$ac_t""no" 1>&6 | 5319 echo "$ac_t""no" 1>&6 |
| 5304 fi | 5320 fi |
| 5305 | 5321 |
| 5306 test -z "$with_xmu" && { | 5322 test -z "$with_xmu" && { |
| 5307 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5323 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 5308 echo "configure:5309: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5324 echo "configure:5325: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 5309 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5325 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 5310 | 5326 |
| 5311 xe_check_libs=" -lXmu " | 5327 xe_check_libs=" -lXmu " |
| 5312 cat > conftest.$ac_ext <<EOF | 5328 cat > conftest.$ac_ext <<EOF |
| 5313 #line 5314 "configure" | 5329 #line 5330 "configure" |
| 5314 #include "confdefs.h" | 5330 #include "confdefs.h" |
| 5315 /* Override any gcc2 internal prototype to avoid an error. */ | 5331 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5316 /* We use char because int might match the return type of a gcc2 | 5332 /* We use char because int might match the return type of a gcc2 |
| 5317 builtin and then its argument prototype would still apply. */ | 5333 builtin and then its argument prototype would still apply. */ |
| 5318 char XmuReadBitmapDataFromFile(); | 5334 char XmuReadBitmapDataFromFile(); |
| 5319 | 5335 |
| 5320 int main() { | 5336 int main() { |
| 5321 XmuReadBitmapDataFromFile() | 5337 XmuReadBitmapDataFromFile() |
| 5322 ; return 0; } | 5338 ; return 0; } |
| 5323 EOF | 5339 EOF |
| 5324 if { (eval echo configure:5325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5340 if { (eval echo configure:5341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5325 rm -rf conftest* | 5341 rm -rf conftest* |
| 5326 eval "ac_cv_lib_$ac_lib_var=yes" | 5342 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5327 else | 5343 else |
| 5328 echo "configure: failed program was:" >&5 | 5344 echo "configure: failed program was:" >&5 |
| 5329 cat conftest.$ac_ext >&5 | 5345 cat conftest.$ac_ext >&5 |
| 5349 else libs_x="-lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi | 5365 else libs_x="-lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi |
| 5350 fi | 5366 fi |
| 5351 | 5367 |
| 5352 | 5368 |
| 5353 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5369 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5354 echo "configure:5355: checking for main in -lXbsd" >&5 | 5370 echo "configure:5371: checking for main in -lXbsd" >&5 |
| 5355 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5371 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5356 | 5372 |
| 5357 xe_check_libs=" -lXbsd " | 5373 xe_check_libs=" -lXbsd " |
| 5358 cat > conftest.$ac_ext <<EOF | 5374 cat > conftest.$ac_ext <<EOF |
| 5359 #line 5360 "configure" | 5375 #line 5376 "configure" |
| 5360 #include "confdefs.h" | 5376 #include "confdefs.h" |
| 5361 | 5377 |
| 5362 int main() { | 5378 int main() { |
| 5363 main() | 5379 main() |
| 5364 ; return 0; } | 5380 ; return 0; } |
| 5365 EOF | 5381 EOF |
| 5366 if { (eval echo configure:5367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5382 if { (eval echo configure:5383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5367 rm -rf conftest* | 5383 rm -rf conftest* |
| 5368 eval "ac_cv_lib_$ac_lib_var=yes" | 5384 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5369 else | 5385 else |
| 5370 echo "configure: failed program was:" >&5 | 5386 echo "configure: failed program was:" >&5 |
| 5371 cat conftest.$ac_ext >&5 | 5387 cat conftest.$ac_ext >&5 |
| 5384 | 5400 |
| 5385 | 5401 |
| 5386 | 5402 |
| 5387 | 5403 |
| 5388 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 5404 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 5389 echo "configure:5390: checking for XawScrollbarSetThumb in -lXaw" >&5 | 5405 echo "configure:5406: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 5390 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 5406 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 5391 | 5407 |
| 5392 xe_check_libs=" -lXaw " | 5408 xe_check_libs=" -lXaw " |
| 5393 cat > conftest.$ac_ext <<EOF | 5409 cat > conftest.$ac_ext <<EOF |
| 5394 #line 5395 "configure" | 5410 #line 5411 "configure" |
| 5395 #include "confdefs.h" | 5411 #include "confdefs.h" |
| 5396 /* Override any gcc2 internal prototype to avoid an error. */ | 5412 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5397 /* We use char because int might match the return type of a gcc2 | 5413 /* We use char because int might match the return type of a gcc2 |
| 5398 builtin and then its argument prototype would still apply. */ | 5414 builtin and then its argument prototype would still apply. */ |
| 5399 char XawScrollbarSetThumb(); | 5415 char XawScrollbarSetThumb(); |
| 5400 | 5416 |
| 5401 int main() { | 5417 int main() { |
| 5402 XawScrollbarSetThumb() | 5418 XawScrollbarSetThumb() |
| 5403 ; return 0; } | 5419 ; return 0; } |
| 5404 EOF | 5420 EOF |
| 5405 if { (eval echo configure:5406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5421 if { (eval echo configure:5422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5406 rm -rf conftest* | 5422 rm -rf conftest* |
| 5407 eval "ac_cv_lib_$ac_lib_var=yes" | 5423 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5408 else | 5424 else |
| 5409 echo "configure: failed program was:" >&5 | 5425 echo "configure: failed program was:" >&5 |
| 5410 cat conftest.$ac_ext >&5 | 5426 cat conftest.$ac_ext >&5 |
| 5424 | 5440 |
| 5425 | 5441 |
| 5426 if test "$have_xaw" = "yes"; then | 5442 if test "$have_xaw" = "yes"; then |
| 5427 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` | 5443 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` |
| 5428 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 | 5444 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 |
| 5429 echo "configure:5430: checking for X11/Xaw/Reports.h" >&5 | 5445 echo "configure:5446: checking for X11/Xaw/Reports.h" >&5 |
| 5430 | 5446 |
| 5431 cat > conftest.$ac_ext <<EOF | 5447 cat > conftest.$ac_ext <<EOF |
| 5432 #line 5433 "configure" | 5448 #line 5449 "configure" |
| 5433 #include "confdefs.h" | 5449 #include "confdefs.h" |
| 5434 #include <X11/Xaw/Reports.h> | 5450 #include <X11/Xaw/Reports.h> |
| 5435 EOF | 5451 EOF |
| 5436 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5437 { (eval echo configure:5438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5453 { (eval echo configure:5454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5438 ac_err=`grep -v '^ *+' conftest.out` | 5454 ac_err=`grep -v '^ *+' conftest.out` |
| 5439 if test -z "$ac_err"; then | 5455 if test -z "$ac_err"; then |
| 5440 rm -rf conftest* | 5456 rm -rf conftest* |
| 5441 eval "ac_cv_header_$ac_safe=yes" | 5457 eval "ac_cv_header_$ac_safe=yes" |
| 5442 else | 5458 else |
| 5491 esac | 5507 esac |
| 5492 | 5508 |
| 5493 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5509 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 5494 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5510 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 5495 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5511 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 5496 echo "configure:5497: checking for X11/Xauth.h" >&5 | 5512 echo "configure:5513: checking for X11/Xauth.h" >&5 |
| 5497 | 5513 |
| 5498 cat > conftest.$ac_ext <<EOF | 5514 cat > conftest.$ac_ext <<EOF |
| 5499 #line 5500 "configure" | 5515 #line 5516 "configure" |
| 5500 #include "confdefs.h" | 5516 #include "confdefs.h" |
| 5501 #include <X11/Xauth.h> | 5517 #include <X11/Xauth.h> |
| 5502 EOF | 5518 EOF |
| 5503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5504 { (eval echo configure:5505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5520 { (eval echo configure:5521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5505 ac_err=`grep -v '^ *+' conftest.out` | 5521 ac_err=`grep -v '^ *+' conftest.out` |
| 5506 if test -z "$ac_err"; then | 5522 if test -z "$ac_err"; then |
| 5507 rm -rf conftest* | 5523 rm -rf conftest* |
| 5508 eval "ac_cv_header_$ac_safe=yes" | 5524 eval "ac_cv_header_$ac_safe=yes" |
| 5509 else | 5525 else |
| 5522 with_xauth=no | 5538 with_xauth=no |
| 5523 fi | 5539 fi |
| 5524 } | 5540 } |
| 5525 test -z "$with_xauth" && { | 5541 test -z "$with_xauth" && { |
| 5526 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5542 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 5527 echo "configure:5528: checking for XauGetAuthByAddr in -lXau" >&5 | 5543 echo "configure:5544: checking for XauGetAuthByAddr in -lXau" >&5 |
| 5528 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5544 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 5529 | 5545 |
| 5530 xe_check_libs=" -lXau " | 5546 xe_check_libs=" -lXau " |
| 5531 cat > conftest.$ac_ext <<EOF | 5547 cat > conftest.$ac_ext <<EOF |
| 5532 #line 5533 "configure" | 5548 #line 5549 "configure" |
| 5533 #include "confdefs.h" | 5549 #include "confdefs.h" |
| 5534 /* Override any gcc2 internal prototype to avoid an error. */ | 5550 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5535 /* We use char because int might match the return type of a gcc2 | 5551 /* We use char because int might match the return type of a gcc2 |
| 5536 builtin and then its argument prototype would still apply. */ | 5552 builtin and then its argument prototype would still apply. */ |
| 5537 char XauGetAuthByAddr(); | 5553 char XauGetAuthByAddr(); |
| 5538 | 5554 |
| 5539 int main() { | 5555 int main() { |
| 5540 XauGetAuthByAddr() | 5556 XauGetAuthByAddr() |
| 5541 ; return 0; } | 5557 ; return 0; } |
| 5542 EOF | 5558 EOF |
| 5543 if { (eval echo configure:5544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5559 if { (eval echo configure:5560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5544 rm -rf conftest* | 5560 rm -rf conftest* |
| 5545 eval "ac_cv_lib_$ac_lib_var=yes" | 5561 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5546 else | 5562 else |
| 5547 echo "configure: failed program was:" >&5 | 5563 echo "configure: failed program was:" >&5 |
| 5548 cat conftest.$ac_ext >&5 | 5564 cat conftest.$ac_ext >&5 |
| 5579 fi | 5595 fi |
| 5580 | 5596 |
| 5581 | 5597 |
| 5582 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` | 5598 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` |
| 5583 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 | 5599 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 |
| 5584 echo "configure:5585: checking for OffiX/DragAndDrop.h" >&5 | 5600 echo "configure:5601: checking for OffiX/DragAndDrop.h" >&5 |
| 5585 | 5601 |
| 5586 cat > conftest.$ac_ext <<EOF | 5602 cat > conftest.$ac_ext <<EOF |
| 5587 #line 5588 "configure" | 5603 #line 5604 "configure" |
| 5588 #include "confdefs.h" | 5604 #include "confdefs.h" |
| 5589 #include <OffiX/DragAndDrop.h> | 5605 #include <OffiX/DragAndDrop.h> |
| 5590 EOF | 5606 EOF |
| 5591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5592 { (eval echo configure:5593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5608 { (eval echo configure:5609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5593 ac_err=`grep -v '^ *+' conftest.out` | 5609 ac_err=`grep -v '^ *+' conftest.out` |
| 5594 if test -z "$ac_err"; then | 5610 if test -z "$ac_err"; then |
| 5595 rm -rf conftest* | 5611 rm -rf conftest* |
| 5596 eval "ac_cv_header_$ac_safe=yes" | 5612 eval "ac_cv_header_$ac_safe=yes" |
| 5597 else | 5613 else |
| 5610 with_offix=no | 5626 with_offix=no |
| 5611 fi | 5627 fi |
| 5612 } | 5628 } |
| 5613 test -z "$with_offix" && { | 5629 test -z "$with_offix" && { |
| 5614 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 | 5630 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 |
| 5615 echo "configure:5616: checking for DndInitialize in -lDnd" >&5 | 5631 echo "configure:5632: checking for DndInitialize in -lDnd" >&5 |
| 5616 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` | 5632 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` |
| 5617 | 5633 |
| 5618 xe_check_libs=" -lDnd " | 5634 xe_check_libs=" -lDnd " |
| 5619 cat > conftest.$ac_ext <<EOF | 5635 cat > conftest.$ac_ext <<EOF |
| 5620 #line 5621 "configure" | 5636 #line 5637 "configure" |
| 5621 #include "confdefs.h" | 5637 #include "confdefs.h" |
| 5622 /* Override any gcc2 internal prototype to avoid an error. */ | 5638 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5623 /* We use char because int might match the return type of a gcc2 | 5639 /* We use char because int might match the return type of a gcc2 |
| 5624 builtin and then its argument prototype would still apply. */ | 5640 builtin and then its argument prototype would still apply. */ |
| 5625 char DndInitialize(); | 5641 char DndInitialize(); |
| 5626 | 5642 |
| 5627 int main() { | 5643 int main() { |
| 5628 DndInitialize() | 5644 DndInitialize() |
| 5629 ; return 0; } | 5645 ; return 0; } |
| 5630 EOF | 5646 EOF |
| 5631 if { (eval echo configure:5632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5647 if { (eval echo configure:5648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5632 rm -rf conftest* | 5648 rm -rf conftest* |
| 5633 eval "ac_cv_lib_$ac_lib_var=yes" | 5649 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5634 else | 5650 else |
| 5635 echo "configure: failed program was:" >&5 | 5651 echo "configure: failed program was:" >&5 |
| 5636 cat conftest.$ac_ext >&5 | 5652 cat conftest.$ac_ext >&5 |
| 5665 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5681 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
| 5666 if test "$with_tooltalk" != "no" ; then | 5682 if test "$with_tooltalk" != "no" ; then |
| 5667 for dir in "" "Tt/" "desktop/" ; do | 5683 for dir in "" "Tt/" "desktop/" ; do |
| 5668 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5684 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 5669 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5685 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 5670 echo "configure:5671: checking for ${dir}tt_c.h" >&5 | 5686 echo "configure:5687: checking for ${dir}tt_c.h" >&5 |
| 5671 | 5687 |
| 5672 cat > conftest.$ac_ext <<EOF | 5688 cat > conftest.$ac_ext <<EOF |
| 5673 #line 5674 "configure" | 5689 #line 5690 "configure" |
| 5674 #include "confdefs.h" | 5690 #include "confdefs.h" |
| 5675 #include <${dir}tt_c.h> | 5691 #include <${dir}tt_c.h> |
| 5676 EOF | 5692 EOF |
| 5677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5678 { (eval echo configure:5679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5694 { (eval echo configure:5695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5679 ac_err=`grep -v '^ *+' conftest.out` | 5695 ac_err=`grep -v '^ *+' conftest.out` |
| 5680 if test -z "$ac_err"; then | 5696 if test -z "$ac_err"; then |
| 5681 rm -rf conftest* | 5697 rm -rf conftest* |
| 5682 eval "ac_cv_header_$ac_safe=yes" | 5698 eval "ac_cv_header_$ac_safe=yes" |
| 5683 else | 5699 else |
| 5702 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5718 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 5703 | 5719 |
| 5704 xe_msg_checking="for tt_message_create in -ltt" | 5720 xe_msg_checking="for tt_message_create in -ltt" |
| 5705 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5721 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 5706 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5722 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5707 echo "configure:5708: checking "$xe_msg_checking"" >&5 | 5723 echo "configure:5724: checking "$xe_msg_checking"" >&5 |
| 5708 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5724 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 5709 | 5725 |
| 5710 xe_check_libs=" -ltt $extra_libs" | 5726 xe_check_libs=" -ltt $extra_libs" |
| 5711 cat > conftest.$ac_ext <<EOF | 5727 cat > conftest.$ac_ext <<EOF |
| 5712 #line 5713 "configure" | 5728 #line 5729 "configure" |
| 5713 #include "confdefs.h" | 5729 #include "confdefs.h" |
| 5714 /* Override any gcc2 internal prototype to avoid an error. */ | 5730 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5715 /* We use char because int might match the return type of a gcc2 | 5731 /* We use char because int might match the return type of a gcc2 |
| 5716 builtin and then its argument prototype would still apply. */ | 5732 builtin and then its argument prototype would still apply. */ |
| 5717 char tt_message_create(); | 5733 char tt_message_create(); |
| 5718 | 5734 |
| 5719 int main() { | 5735 int main() { |
| 5720 tt_message_create() | 5736 tt_message_create() |
| 5721 ; return 0; } | 5737 ; return 0; } |
| 5722 EOF | 5738 EOF |
| 5723 if { (eval echo configure:5724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5739 if { (eval echo configure:5740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5724 rm -rf conftest* | 5740 rm -rf conftest* |
| 5725 eval "ac_cv_lib_$ac_lib_var=yes" | 5741 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5726 else | 5742 else |
| 5727 echo "configure: failed program was:" >&5 | 5743 echo "configure: failed program was:" >&5 |
| 5728 cat conftest.$ac_ext >&5 | 5744 cat conftest.$ac_ext >&5 |
| 5767 fi | 5783 fi |
| 5768 fi | 5784 fi |
| 5769 | 5785 |
| 5770 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5786 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 5771 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5787 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 5772 echo "configure:5773: checking for Dt/Dt.h" >&5 | 5788 echo "configure:5789: checking for Dt/Dt.h" >&5 |
| 5773 | 5789 |
| 5774 cat > conftest.$ac_ext <<EOF | 5790 cat > conftest.$ac_ext <<EOF |
| 5775 #line 5776 "configure" | 5791 #line 5792 "configure" |
| 5776 #include "confdefs.h" | 5792 #include "confdefs.h" |
| 5777 #include <Dt/Dt.h> | 5793 #include <Dt/Dt.h> |
| 5778 EOF | 5794 EOF |
| 5779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5795 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5780 { (eval echo configure:5781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5796 { (eval echo configure:5797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5781 ac_err=`grep -v '^ *+' conftest.out` | 5797 ac_err=`grep -v '^ *+' conftest.out` |
| 5782 if test -z "$ac_err"; then | 5798 if test -z "$ac_err"; then |
| 5783 rm -rf conftest* | 5799 rm -rf conftest* |
| 5784 eval "ac_cv_header_$ac_safe=yes" | 5800 eval "ac_cv_header_$ac_safe=yes" |
| 5785 else | 5801 else |
| 5798 with_cde=no | 5814 with_cde=no |
| 5799 fi | 5815 fi |
| 5800 } | 5816 } |
| 5801 test -z "$with_cde" && { | 5817 test -z "$with_cde" && { |
| 5802 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5818 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 5803 echo "configure:5804: checking for DtDndDragStart in -lDtSvc" >&5 | 5819 echo "configure:5820: checking for DtDndDragStart in -lDtSvc" >&5 |
| 5804 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5820 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 5805 | 5821 |
| 5806 xe_check_libs=" -lDtSvc " | 5822 xe_check_libs=" -lDtSvc " |
| 5807 cat > conftest.$ac_ext <<EOF | 5823 cat > conftest.$ac_ext <<EOF |
| 5808 #line 5809 "configure" | 5824 #line 5825 "configure" |
| 5809 #include "confdefs.h" | 5825 #include "confdefs.h" |
| 5810 /* Override any gcc2 internal prototype to avoid an error. */ | 5826 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5811 /* We use char because int might match the return type of a gcc2 | 5827 /* We use char because int might match the return type of a gcc2 |
| 5812 builtin and then its argument prototype would still apply. */ | 5828 builtin and then its argument prototype would still apply. */ |
| 5813 char DtDndDragStart(); | 5829 char DtDndDragStart(); |
| 5814 | 5830 |
| 5815 int main() { | 5831 int main() { |
| 5816 DtDndDragStart() | 5832 DtDndDragStart() |
| 5817 ; return 0; } | 5833 ; return 0; } |
| 5818 EOF | 5834 EOF |
| 5819 if { (eval echo configure:5820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5835 if { (eval echo configure:5836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5820 rm -rf conftest* | 5836 rm -rf conftest* |
| 5821 eval "ac_cv_lib_$ac_lib_var=yes" | 5837 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5822 else | 5838 else |
| 5823 echo "configure: failed program was:" >&5 | 5839 echo "configure: failed program was:" >&5 |
| 5824 cat conftest.$ac_ext >&5 | 5840 cat conftest.$ac_ext >&5 |
| 5861 EOF | 5877 EOF |
| 5862 } | 5878 } |
| 5863 | 5879 |
| 5864 | 5880 |
| 5865 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 | 5881 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 |
| 5866 echo "configure:5867: checking for main in -lenergize" >&5 | 5882 echo "configure:5883: checking for main in -lenergize" >&5 |
| 5867 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` | 5883 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` |
| 5868 | 5884 |
| 5869 xe_check_libs=" -lenergize " | 5885 xe_check_libs=" -lenergize " |
| 5870 cat > conftest.$ac_ext <<EOF | 5886 cat > conftest.$ac_ext <<EOF |
| 5871 #line 5872 "configure" | 5887 #line 5888 "configure" |
| 5872 #include "confdefs.h" | 5888 #include "confdefs.h" |
| 5873 | 5889 |
| 5874 int main() { | 5890 int main() { |
| 5875 main() | 5891 main() |
| 5876 ; return 0; } | 5892 ; return 0; } |
| 5877 EOF | 5893 EOF |
| 5878 if { (eval echo configure:5879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5894 if { (eval echo configure:5895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5879 rm -rf conftest* | 5895 rm -rf conftest* |
| 5880 eval "ac_cv_lib_$ac_lib_var=yes" | 5896 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5881 else | 5897 else |
| 5882 echo "configure: failed program was:" >&5 | 5898 echo "configure: failed program was:" >&5 |
| 5883 cat conftest.$ac_ext >&5 | 5899 cat conftest.$ac_ext >&5 |
| 5905 | 5921 |
| 5906 | 5922 |
| 5907 if test -z "$energize_version"; then | 5923 if test -z "$energize_version"; then |
| 5908 | 5924 |
| 5909 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 | 5925 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 |
| 5910 echo "configure:5911: checking for main in -lconn" >&5 | 5926 echo "configure:5927: checking for main in -lconn" >&5 |
| 5911 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` | 5927 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` |
| 5912 | 5928 |
| 5913 xe_check_libs=" -lconn " | 5929 xe_check_libs=" -lconn " |
| 5914 cat > conftest.$ac_ext <<EOF | 5930 cat > conftest.$ac_ext <<EOF |
| 5915 #line 5916 "configure" | 5931 #line 5932 "configure" |
| 5916 #include "confdefs.h" | 5932 #include "confdefs.h" |
| 5917 | 5933 |
| 5918 int main() { | 5934 int main() { |
| 5919 main() | 5935 main() |
| 5920 ; return 0; } | 5936 ; return 0; } |
| 5921 EOF | 5937 EOF |
| 5922 if { (eval echo configure:5923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5938 if { (eval echo configure:5939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5923 rm -rf conftest* | 5939 rm -rf conftest* |
| 5924 eval "ac_cv_lib_$ac_lib_var=yes" | 5940 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5925 else | 5941 else |
| 5926 echo "configure: failed program was:" >&5 | 5942 echo "configure: failed program was:" >&5 |
| 5927 cat conftest.$ac_ext >&5 | 5943 cat conftest.$ac_ext >&5 |
| 5950 | 5966 |
| 5951 | 5967 |
| 5952 fi | 5968 fi |
| 5953 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` | 5969 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` |
| 5954 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 | 5970 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 |
| 5955 echo "configure:5956: checking for editorconn.h" >&5 | 5971 echo "configure:5972: checking for editorconn.h" >&5 |
| 5956 | 5972 |
| 5957 cat > conftest.$ac_ext <<EOF | 5973 cat > conftest.$ac_ext <<EOF |
| 5958 #line 5959 "configure" | 5974 #line 5975 "configure" |
| 5959 #include "confdefs.h" | 5975 #include "confdefs.h" |
| 5960 #include <editorconn.h> | 5976 #include <editorconn.h> |
| 5961 EOF | 5977 EOF |
| 5962 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5963 { (eval echo configure:5964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5979 { (eval echo configure:5980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5964 ac_err=`grep -v '^ *+' conftest.out` | 5980 ac_err=`grep -v '^ *+' conftest.out` |
| 5965 if test -z "$ac_err"; then | 5981 if test -z "$ac_err"; then |
| 5966 rm -rf conftest* | 5982 rm -rf conftest* |
| 5967 eval "ac_cv_header_$ac_safe=yes" | 5983 eval "ac_cv_header_$ac_safe=yes" |
| 5968 else | 5984 else |
| 6000 | 6016 |
| 6001 fi | 6017 fi |
| 6002 | 6018 |
| 6003 | 6019 |
| 6004 echo "checking for graphics libraries" 1>&6 | 6020 echo "checking for graphics libraries" 1>&6 |
| 6005 echo "configure:6006: checking for graphics libraries" >&5 | 6021 echo "configure:6022: checking for graphics libraries" >&5 |
| 6006 test -z "$with_gif" && with_gif=yes; | 6022 test -z "$with_gif" && with_gif=yes; |
| 6007 if test "$with_gif" = "yes"; then | 6023 if test "$with_gif" = "yes"; then |
| 6008 { test "$extra_verbose" = "yes" && cat << \EOF | 6024 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6009 Defining HAVE_GIF | 6025 Defining HAVE_GIF |
| 6010 EOF | 6026 EOF |
| 6017 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" | 6033 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" |
| 6018 fi | 6034 fi |
| 6019 fi | 6035 fi |
| 6020 | 6036 |
| 6021 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6037 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 6022 echo "configure:6023: checking for Xpm - no older than 3.4f" >&5 | 6038 echo "configure:6039: checking for Xpm - no older than 3.4f" >&5 |
| 6023 xe_check_libs=-lXpm | 6039 xe_check_libs=-lXpm |
| 6024 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 6040 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
| 6025 #line 6026 "configure" | 6041 #line 6042 "configure" |
| 6026 #include "confdefs.h" | 6042 #include "confdefs.h" |
| 6027 #include <X11/xpm.h> | 6043 #include <X11/xpm.h> |
| 6028 int main(int c, char **v) { | 6044 int main(int c, char **v) { |
| 6029 return c == 1 ? 0 : | 6045 return c == 1 ? 0 : |
| 6030 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6046 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 6031 XpmIncludeVersion < 30406 ? 2 : | 6047 XpmIncludeVersion < 30406 ? 2 : |
| 6032 0 ; | 6048 0 ; |
| 6033 } | 6049 } |
| 6034 EOF | 6050 EOF |
| 6035 if { (eval echo configure:6036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6051 if { (eval echo configure:6052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 6036 then | 6052 then |
| 6037 ./conftest foobar; xpm_status=$?; | 6053 ./conftest foobar; xpm_status=$?; |
| 6038 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 6054 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
| 6039 else | 6055 else |
| 6040 echo "configure: failed program was:" >&5 | 6056 echo "configure: failed program was:" >&5 |
| 6068 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6084 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 6069 fi | 6085 fi |
| 6070 | 6086 |
| 6071 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6087 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 6072 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6088 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 6073 echo "configure:6074: checking for compface.h" >&5 | 6089 echo "configure:6090: checking for compface.h" >&5 |
| 6074 | 6090 |
| 6075 cat > conftest.$ac_ext <<EOF | 6091 cat > conftest.$ac_ext <<EOF |
| 6076 #line 6077 "configure" | 6092 #line 6093 "configure" |
| 6077 #include "confdefs.h" | 6093 #include "confdefs.h" |
| 6078 #include <compface.h> | 6094 #include <compface.h> |
| 6079 EOF | 6095 EOF |
| 6080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6081 { (eval echo configure:6082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6097 { (eval echo configure:6098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6082 ac_err=`grep -v '^ *+' conftest.out` | 6098 ac_err=`grep -v '^ *+' conftest.out` |
| 6083 if test -z "$ac_err"; then | 6099 if test -z "$ac_err"; then |
| 6084 rm -rf conftest* | 6100 rm -rf conftest* |
| 6085 eval "ac_cv_header_$ac_safe=yes" | 6101 eval "ac_cv_header_$ac_safe=yes" |
| 6086 else | 6102 else |
| 6099 with_xface=no | 6115 with_xface=no |
| 6100 fi | 6116 fi |
| 6101 } | 6117 } |
| 6102 test -z "$with_xface" && { | 6118 test -z "$with_xface" && { |
| 6103 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6119 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 6104 echo "configure:6105: checking for UnGenFace in -lcompface" >&5 | 6120 echo "configure:6121: checking for UnGenFace in -lcompface" >&5 |
| 6105 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6121 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 6106 | 6122 |
| 6107 xe_check_libs=" -lcompface " | 6123 xe_check_libs=" -lcompface " |
| 6108 cat > conftest.$ac_ext <<EOF | 6124 cat > conftest.$ac_ext <<EOF |
| 6109 #line 6110 "configure" | 6125 #line 6126 "configure" |
| 6110 #include "confdefs.h" | 6126 #include "confdefs.h" |
| 6111 /* Override any gcc2 internal prototype to avoid an error. */ | 6127 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6112 /* We use char because int might match the return type of a gcc2 | 6128 /* We use char because int might match the return type of a gcc2 |
| 6113 builtin and then its argument prototype would still apply. */ | 6129 builtin and then its argument prototype would still apply. */ |
| 6114 char UnGenFace(); | 6130 char UnGenFace(); |
| 6115 | 6131 |
| 6116 int main() { | 6132 int main() { |
| 6117 UnGenFace() | 6133 UnGenFace() |
| 6118 ; return 0; } | 6134 ; return 0; } |
| 6119 EOF | 6135 EOF |
| 6120 if { (eval echo configure:6121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6136 if { (eval echo configure:6137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6121 rm -rf conftest* | 6137 rm -rf conftest* |
| 6122 eval "ac_cv_lib_$ac_lib_var=yes" | 6138 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6123 else | 6139 else |
| 6124 echo "configure: failed program was:" >&5 | 6140 echo "configure: failed program was:" >&5 |
| 6125 cat conftest.$ac_ext >&5 | 6141 cat conftest.$ac_ext >&5 |
| 6151 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 6167 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
| 6152 fi | 6168 fi |
| 6153 | 6169 |
| 6154 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6170 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 6155 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6171 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 6156 echo "configure:6157: checking for jpeglib.h" >&5 | 6172 echo "configure:6173: checking for jpeglib.h" >&5 |
| 6157 | 6173 |
| 6158 cat > conftest.$ac_ext <<EOF | 6174 cat > conftest.$ac_ext <<EOF |
| 6159 #line 6160 "configure" | 6175 #line 6176 "configure" |
| 6160 #include "confdefs.h" | 6176 #include "confdefs.h" |
| 6161 #include <jpeglib.h> | 6177 #include <jpeglib.h> |
| 6162 EOF | 6178 EOF |
| 6163 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6164 { (eval echo configure:6165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6180 { (eval echo configure:6181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6165 ac_err=`grep -v '^ *+' conftest.out` | 6181 ac_err=`grep -v '^ *+' conftest.out` |
| 6166 if test -z "$ac_err"; then | 6182 if test -z "$ac_err"; then |
| 6167 rm -rf conftest* | 6183 rm -rf conftest* |
| 6168 eval "ac_cv_header_$ac_safe=yes" | 6184 eval "ac_cv_header_$ac_safe=yes" |
| 6169 else | 6185 else |
| 6182 with_jpeg=no | 6198 with_jpeg=no |
| 6183 fi | 6199 fi |
| 6184 } | 6200 } |
| 6185 test -z "$with_jpeg" && { | 6201 test -z "$with_jpeg" && { |
| 6186 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6202 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 6187 echo "configure:6188: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6203 echo "configure:6204: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 6188 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6204 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 6189 | 6205 |
| 6190 xe_check_libs=" -ljpeg " | 6206 xe_check_libs=" -ljpeg " |
| 6191 cat > conftest.$ac_ext <<EOF | 6207 cat > conftest.$ac_ext <<EOF |
| 6192 #line 6193 "configure" | 6208 #line 6209 "configure" |
| 6193 #include "confdefs.h" | 6209 #include "confdefs.h" |
| 6194 /* Override any gcc2 internal prototype to avoid an error. */ | 6210 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6195 /* We use char because int might match the return type of a gcc2 | 6211 /* We use char because int might match the return type of a gcc2 |
| 6196 builtin and then its argument prototype would still apply. */ | 6212 builtin and then its argument prototype would still apply. */ |
| 6197 char jpeg_destroy_decompress(); | 6213 char jpeg_destroy_decompress(); |
| 6198 | 6214 |
| 6199 int main() { | 6215 int main() { |
| 6200 jpeg_destroy_decompress() | 6216 jpeg_destroy_decompress() |
| 6201 ; return 0; } | 6217 ; return 0; } |
| 6202 EOF | 6218 EOF |
| 6203 if { (eval echo configure:6204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6219 if { (eval echo configure:6220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6204 rm -rf conftest* | 6220 rm -rf conftest* |
| 6205 eval "ac_cv_lib_$ac_lib_var=yes" | 6221 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6206 else | 6222 else |
| 6207 echo "configure: failed program was:" >&5 | 6223 echo "configure: failed program was:" >&5 |
| 6208 cat conftest.$ac_ext >&5 | 6224 cat conftest.$ac_ext >&5 |
| 6234 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6250 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 6235 fi | 6251 fi |
| 6236 | 6252 |
| 6237 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6253 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 6238 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6254 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 6239 echo "configure:6240: checking for png.h" >&5 | 6255 echo "configure:6256: checking for png.h" >&5 |
| 6240 | 6256 |
| 6241 cat > conftest.$ac_ext <<EOF | 6257 cat > conftest.$ac_ext <<EOF |
| 6242 #line 6243 "configure" | 6258 #line 6259 "configure" |
| 6243 #include "confdefs.h" | 6259 #include "confdefs.h" |
| 6244 #include <png.h> | 6260 #include <png.h> |
| 6245 EOF | 6261 EOF |
| 6246 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6247 { (eval echo configure:6248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6263 { (eval echo configure:6264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6248 ac_err=`grep -v '^ *+' conftest.out` | 6264 ac_err=`grep -v '^ *+' conftest.out` |
| 6249 if test -z "$ac_err"; then | 6265 if test -z "$ac_err"; then |
| 6250 rm -rf conftest* | 6266 rm -rf conftest* |
| 6251 eval "ac_cv_header_$ac_safe=yes" | 6267 eval "ac_cv_header_$ac_safe=yes" |
| 6252 else | 6268 else |
| 6264 echo "$ac_t""no" 1>&6 | 6280 echo "$ac_t""no" 1>&6 |
| 6265 with_png=no | 6281 with_png=no |
| 6266 fi | 6282 fi |
| 6267 } | 6283 } |
| 6268 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6284 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 6269 echo "configure:6270: checking for pow" >&5 | 6285 echo "configure:6286: checking for pow" >&5 |
| 6270 | 6286 |
| 6271 cat > conftest.$ac_ext <<EOF | 6287 cat > conftest.$ac_ext <<EOF |
| 6272 #line 6273 "configure" | 6288 #line 6289 "configure" |
| 6273 #include "confdefs.h" | 6289 #include "confdefs.h" |
| 6274 /* System header to define __stub macros and hopefully few prototypes, | 6290 /* System header to define __stub macros and hopefully few prototypes, |
| 6275 which can conflict with char pow(); below. */ | 6291 which can conflict with char pow(); below. */ |
| 6276 #include <assert.h> | 6292 #include <assert.h> |
| 6277 /* Override any gcc2 internal prototype to avoid an error. */ | 6293 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6290 pow(); | 6306 pow(); |
| 6291 #endif | 6307 #endif |
| 6292 | 6308 |
| 6293 ; return 0; } | 6309 ; return 0; } |
| 6294 EOF | 6310 EOF |
| 6295 if { (eval echo configure:6296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6311 if { (eval echo configure:6312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6296 rm -rf conftest* | 6312 rm -rf conftest* |
| 6297 eval "ac_cv_func_pow=yes" | 6313 eval "ac_cv_func_pow=yes" |
| 6298 else | 6314 else |
| 6299 echo "configure: failed program was:" >&5 | 6315 echo "configure: failed program was:" >&5 |
| 6300 cat conftest.$ac_ext >&5 | 6316 cat conftest.$ac_ext >&5 |
| 6315 for extra_libs in "" "-lz" "-lgz"; do | 6331 for extra_libs in "" "-lz" "-lgz"; do |
| 6316 | 6332 |
| 6317 xe_msg_checking="for png_read_image in -lpng" | 6333 xe_msg_checking="for png_read_image in -lpng" |
| 6318 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6334 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 6319 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6335 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6320 echo "configure:6321: checking "$xe_msg_checking"" >&5 | 6336 echo "configure:6337: checking "$xe_msg_checking"" >&5 |
| 6321 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6337 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 6322 | 6338 |
| 6323 xe_check_libs=" -lpng $extra_libs" | 6339 xe_check_libs=" -lpng $extra_libs" |
| 6324 cat > conftest.$ac_ext <<EOF | 6340 cat > conftest.$ac_ext <<EOF |
| 6325 #line 6326 "configure" | 6341 #line 6342 "configure" |
| 6326 #include "confdefs.h" | 6342 #include "confdefs.h" |
| 6327 /* Override any gcc2 internal prototype to avoid an error. */ | 6343 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6328 /* We use char because int might match the return type of a gcc2 | 6344 /* We use char because int might match the return type of a gcc2 |
| 6329 builtin and then its argument prototype would still apply. */ | 6345 builtin and then its argument prototype would still apply. */ |
| 6330 char png_read_image(); | 6346 char png_read_image(); |
| 6331 | 6347 |
| 6332 int main() { | 6348 int main() { |
| 6333 png_read_image() | 6349 png_read_image() |
| 6334 ; return 0; } | 6350 ; return 0; } |
| 6335 EOF | 6351 EOF |
| 6336 if { (eval echo configure:6337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6352 if { (eval echo configure:6353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6337 rm -rf conftest* | 6353 rm -rf conftest* |
| 6338 eval "ac_cv_lib_$ac_lib_var=yes" | 6354 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6339 else | 6355 else |
| 6340 echo "configure: failed program was:" >&5 | 6356 echo "configure: failed program was:" >&5 |
| 6341 cat conftest.$ac_ext >&5 | 6357 cat conftest.$ac_ext >&5 |
| 6381 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi | 6397 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi |
| 6382 fi | 6398 fi |
| 6383 | 6399 |
| 6384 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6400 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 6385 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6401 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 6386 echo "configure:6387: checking for Xm/Xm.h" >&5 | 6402 echo "configure:6403: checking for Xm/Xm.h" >&5 |
| 6387 | 6403 |
| 6388 cat > conftest.$ac_ext <<EOF | 6404 cat > conftest.$ac_ext <<EOF |
| 6389 #line 6390 "configure" | 6405 #line 6406 "configure" |
| 6390 #include "confdefs.h" | 6406 #include "confdefs.h" |
| 6391 #include <Xm/Xm.h> | 6407 #include <Xm/Xm.h> |
| 6392 EOF | 6408 EOF |
| 6393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6394 { (eval echo configure:6395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6410 { (eval echo configure:6411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6395 ac_err=`grep -v '^ *+' conftest.out` | 6411 ac_err=`grep -v '^ *+' conftest.out` |
| 6396 if test -z "$ac_err"; then | 6412 if test -z "$ac_err"; then |
| 6397 rm -rf conftest* | 6413 rm -rf conftest* |
| 6398 eval "ac_cv_header_$ac_safe=yes" | 6414 eval "ac_cv_header_$ac_safe=yes" |
| 6399 else | 6415 else |
| 6406 rm -f conftest* | 6422 rm -f conftest* |
| 6407 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6423 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 6408 echo "$ac_t""yes" 1>&6 | 6424 echo "$ac_t""yes" 1>&6 |
| 6409 | 6425 |
| 6410 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6426 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 6411 echo "configure:6412: checking for XmStringFree in -lXm" >&5 | 6427 echo "configure:6428: checking for XmStringFree in -lXm" >&5 |
| 6412 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6428 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 6413 | 6429 |
| 6414 xe_check_libs=" -lXm " | 6430 xe_check_libs=" -lXm " |
| 6415 cat > conftest.$ac_ext <<EOF | 6431 cat > conftest.$ac_ext <<EOF |
| 6416 #line 6417 "configure" | 6432 #line 6433 "configure" |
| 6417 #include "confdefs.h" | 6433 #include "confdefs.h" |
| 6418 /* Override any gcc2 internal prototype to avoid an error. */ | 6434 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6419 /* We use char because int might match the return type of a gcc2 | 6435 /* We use char because int might match the return type of a gcc2 |
| 6420 builtin and then its argument prototype would still apply. */ | 6436 builtin and then its argument prototype would still apply. */ |
| 6421 char XmStringFree(); | 6437 char XmStringFree(); |
| 6422 | 6438 |
| 6423 int main() { | 6439 int main() { |
| 6424 XmStringFree() | 6440 XmStringFree() |
| 6425 ; return 0; } | 6441 ; return 0; } |
| 6426 EOF | 6442 EOF |
| 6427 if { (eval echo configure:6428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6443 if { (eval echo configure:6444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6428 rm -rf conftest* | 6444 rm -rf conftest* |
| 6429 eval "ac_cv_lib_$ac_lib_var=yes" | 6445 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6430 else | 6446 else |
| 6431 echo "configure: failed program was:" >&5 | 6447 echo "configure: failed program was:" >&5 |
| 6432 cat conftest.$ac_ext >&5 | 6448 cat conftest.$ac_ext >&5 |
| 6670 | 6686 |
| 6671 test -z "$with_mule" && with_mule=no | 6687 test -z "$with_mule" && with_mule=no |
| 6672 | 6688 |
| 6673 if test "$with_mule" = "yes" ; then | 6689 if test "$with_mule" = "yes" ; then |
| 6674 echo "checking for Mule-related features" 1>&6 | 6690 echo "checking for Mule-related features" 1>&6 |
| 6675 echo "configure:6676: checking for Mule-related features" >&5 | 6691 echo "configure:6692: checking for Mule-related features" >&5 |
| 6676 { test "$extra_verbose" = "yes" && cat << \EOF | 6692 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6677 Defining MULE | 6693 Defining MULE |
| 6678 EOF | 6694 EOF |
| 6679 cat >> confdefs.h <<\EOF | 6695 cat >> confdefs.h <<\EOF |
| 6680 #define MULE 1 | 6696 #define MULE 1 |
| 6687 | 6703 |
| 6688 for ac_hdr in libintl.h | 6704 for ac_hdr in libintl.h |
| 6689 do | 6705 do |
| 6690 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6706 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6691 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6707 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6692 echo "configure:6693: checking for $ac_hdr" >&5 | 6708 echo "configure:6709: checking for $ac_hdr" >&5 |
| 6693 | 6709 |
| 6694 cat > conftest.$ac_ext <<EOF | 6710 cat > conftest.$ac_ext <<EOF |
| 6695 #line 6696 "configure" | 6711 #line 6712 "configure" |
| 6696 #include "confdefs.h" | 6712 #include "confdefs.h" |
| 6697 #include <$ac_hdr> | 6713 #include <$ac_hdr> |
| 6698 EOF | 6714 EOF |
| 6699 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6700 { (eval echo configure:6701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6716 { (eval echo configure:6717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6701 ac_err=`grep -v '^ *+' conftest.out` | 6717 ac_err=`grep -v '^ *+' conftest.out` |
| 6702 if test -z "$ac_err"; then | 6718 if test -z "$ac_err"; then |
| 6703 rm -rf conftest* | 6719 rm -rf conftest* |
| 6704 eval "ac_cv_header_$ac_safe=yes" | 6720 eval "ac_cv_header_$ac_safe=yes" |
| 6705 else | 6721 else |
| 6726 fi | 6742 fi |
| 6727 done | 6743 done |
| 6728 | 6744 |
| 6729 | 6745 |
| 6730 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6746 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 6731 echo "configure:6732: checking for strerror in -lintl" >&5 | 6747 echo "configure:6748: checking for strerror in -lintl" >&5 |
| 6732 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6748 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 6733 | 6749 |
| 6734 xe_check_libs=" -lintl " | 6750 xe_check_libs=" -lintl " |
| 6735 cat > conftest.$ac_ext <<EOF | 6751 cat > conftest.$ac_ext <<EOF |
| 6736 #line 6737 "configure" | 6752 #line 6753 "configure" |
| 6737 #include "confdefs.h" | 6753 #include "confdefs.h" |
| 6738 /* Override any gcc2 internal prototype to avoid an error. */ | 6754 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6739 /* We use char because int might match the return type of a gcc2 | 6755 /* We use char because int might match the return type of a gcc2 |
| 6740 builtin and then its argument prototype would still apply. */ | 6756 builtin and then its argument prototype would still apply. */ |
| 6741 char strerror(); | 6757 char strerror(); |
| 6742 | 6758 |
| 6743 int main() { | 6759 int main() { |
| 6744 strerror() | 6760 strerror() |
| 6745 ; return 0; } | 6761 ; return 0; } |
| 6746 EOF | 6762 EOF |
| 6747 if { (eval echo configure:6748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6763 if { (eval echo configure:6764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6748 rm -rf conftest* | 6764 rm -rf conftest* |
| 6749 eval "ac_cv_lib_$ac_lib_var=yes" | 6765 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6750 else | 6766 else |
| 6751 echo "configure: failed program was:" >&5 | 6767 echo "configure: failed program was:" >&5 |
| 6752 cat conftest.$ac_ext >&5 | 6768 cat conftest.$ac_ext >&5 |
| 6775 fi | 6791 fi |
| 6776 | 6792 |
| 6777 | 6793 |
| 6778 | 6794 |
| 6779 echo "checking for Mule input methods" 1>&6 | 6795 echo "checking for Mule input methods" 1>&6 |
| 6780 echo "configure:6781: checking for Mule input methods" >&5 | 6796 echo "configure:6797: checking for Mule input methods" >&5 |
| 6781 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6797 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
| 6782 case "$with_xim" in "" | "yes" ) | 6798 case "$with_xim" in "" | "yes" ) |
| 6783 echo "checking for XIM" 1>&6 | 6799 echo "checking for XIM" 1>&6 |
| 6784 echo "configure:6785: checking for XIM" >&5 | 6800 echo "configure:6801: checking for XIM" >&5 |
| 6785 | 6801 |
| 6786 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6802 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 6787 echo "configure:6788: checking for XmImMbLookupString in -lXm" >&5 | 6803 echo "configure:6804: checking for XmImMbLookupString in -lXm" >&5 |
| 6788 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6804 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 6789 | 6805 |
| 6790 xe_check_libs=" -lXm " | 6806 xe_check_libs=" -lXm " |
| 6791 cat > conftest.$ac_ext <<EOF | 6807 cat > conftest.$ac_ext <<EOF |
| 6792 #line 6793 "configure" | 6808 #line 6809 "configure" |
| 6793 #include "confdefs.h" | 6809 #include "confdefs.h" |
| 6794 /* Override any gcc2 internal prototype to avoid an error. */ | 6810 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6795 /* We use char because int might match the return type of a gcc2 | 6811 /* We use char because int might match the return type of a gcc2 |
| 6796 builtin and then its argument prototype would still apply. */ | 6812 builtin and then its argument prototype would still apply. */ |
| 6797 char XmImMbLookupString(); | 6813 char XmImMbLookupString(); |
| 6798 | 6814 |
| 6799 int main() { | 6815 int main() { |
| 6800 XmImMbLookupString() | 6816 XmImMbLookupString() |
| 6801 ; return 0; } | 6817 ; return 0; } |
| 6802 EOF | 6818 EOF |
| 6803 if { (eval echo configure:6804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6819 if { (eval echo configure:6820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6804 rm -rf conftest* | 6820 rm -rf conftest* |
| 6805 eval "ac_cv_lib_$ac_lib_var=yes" | 6821 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6806 else | 6822 else |
| 6807 echo "configure: failed program was:" >&5 | 6823 echo "configure: failed program was:" >&5 |
| 6808 cat conftest.$ac_ext >&5 | 6824 cat conftest.$ac_ext >&5 |
| 6860 fi | 6876 fi |
| 6861 fi | 6877 fi |
| 6862 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 6878 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 6863 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 6879 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 6864 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 6880 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 6865 echo "configure:6866: checking for wnn/jllib.h" >&5 | 6881 echo "configure:6882: checking for wnn/jllib.h" >&5 |
| 6866 | 6882 |
| 6867 cat > conftest.$ac_ext <<EOF | 6883 cat > conftest.$ac_ext <<EOF |
| 6868 #line 6869 "configure" | 6884 #line 6885 "configure" |
| 6869 #include "confdefs.h" | 6885 #include "confdefs.h" |
| 6870 #include <wnn/jllib.h> | 6886 #include <wnn/jllib.h> |
| 6871 EOF | 6887 EOF |
| 6872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6888 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6873 { (eval echo configure:6874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6889 { (eval echo configure:6890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6874 ac_err=`grep -v '^ *+' conftest.out` | 6890 ac_err=`grep -v '^ *+' conftest.out` |
| 6875 if test -z "$ac_err"; then | 6891 if test -z "$ac_err"; then |
| 6876 rm -rf conftest* | 6892 rm -rf conftest* |
| 6877 eval "ac_cv_header_$ac_safe=yes" | 6893 eval "ac_cv_header_$ac_safe=yes" |
| 6878 else | 6894 else |
| 6893 } | 6909 } |
| 6894 if test "$with_wnn" != "no"; then | 6910 if test "$with_wnn" != "no"; then |
| 6895 for ac_func in crypt | 6911 for ac_func in crypt |
| 6896 do | 6912 do |
| 6897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6913 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6898 echo "configure:6899: checking for $ac_func" >&5 | 6914 echo "configure:6915: checking for $ac_func" >&5 |
| 6899 | 6915 |
| 6900 cat > conftest.$ac_ext <<EOF | 6916 cat > conftest.$ac_ext <<EOF |
| 6901 #line 6902 "configure" | 6917 #line 6918 "configure" |
| 6902 #include "confdefs.h" | 6918 #include "confdefs.h" |
| 6903 /* System header to define __stub macros and hopefully few prototypes, | 6919 /* System header to define __stub macros and hopefully few prototypes, |
| 6904 which can conflict with char $ac_func(); below. */ | 6920 which can conflict with char $ac_func(); below. */ |
| 6905 #include <assert.h> | 6921 #include <assert.h> |
| 6906 /* Override any gcc2 internal prototype to avoid an error. */ | 6922 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6919 $ac_func(); | 6935 $ac_func(); |
| 6920 #endif | 6936 #endif |
| 6921 | 6937 |
| 6922 ; return 0; } | 6938 ; return 0; } |
| 6923 EOF | 6939 EOF |
| 6924 if { (eval echo configure:6925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6940 if { (eval echo configure:6941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6925 rm -rf conftest* | 6941 rm -rf conftest* |
| 6926 eval "ac_cv_func_$ac_func=yes" | 6942 eval "ac_cv_func_$ac_func=yes" |
| 6927 else | 6943 else |
| 6928 echo "configure: failed program was:" >&5 | 6944 echo "configure: failed program was:" >&5 |
| 6929 cat conftest.$ac_ext >&5 | 6945 cat conftest.$ac_ext >&5 |
| 6948 fi | 6964 fi |
| 6949 done | 6965 done |
| 6950 | 6966 |
| 6951 test "$ac_cv_func_crypt" != "yes" && { | 6967 test "$ac_cv_func_crypt" != "yes" && { |
| 6952 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 6968 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 6953 echo "configure:6954: checking for crypt in -lcrypt" >&5 | 6969 echo "configure:6970: checking for crypt in -lcrypt" >&5 |
| 6954 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 6970 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 6955 | 6971 |
| 6956 xe_check_libs=" -lcrypt " | 6972 xe_check_libs=" -lcrypt " |
| 6957 cat > conftest.$ac_ext <<EOF | 6973 cat > conftest.$ac_ext <<EOF |
| 6958 #line 6959 "configure" | 6974 #line 6975 "configure" |
| 6959 #include "confdefs.h" | 6975 #include "confdefs.h" |
| 6960 /* Override any gcc2 internal prototype to avoid an error. */ | 6976 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6961 /* We use char because int might match the return type of a gcc2 | 6977 /* We use char because int might match the return type of a gcc2 |
| 6962 builtin and then its argument prototype would still apply. */ | 6978 builtin and then its argument prototype would still apply. */ |
| 6963 char crypt(); | 6979 char crypt(); |
| 6964 | 6980 |
| 6965 int main() { | 6981 int main() { |
| 6966 crypt() | 6982 crypt() |
| 6967 ; return 0; } | 6983 ; return 0; } |
| 6968 EOF | 6984 EOF |
| 6969 if { (eval echo configure:6970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6985 if { (eval echo configure:6986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6970 rm -rf conftest* | 6986 rm -rf conftest* |
| 6971 eval "ac_cv_lib_$ac_lib_var=yes" | 6987 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6972 else | 6988 else |
| 6973 echo "configure: failed program was:" >&5 | 6989 echo "configure: failed program was:" >&5 |
| 6974 cat conftest.$ac_ext >&5 | 6990 cat conftest.$ac_ext >&5 |
| 6998 | 7014 |
| 6999 } | 7015 } |
| 7000 fi | 7016 fi |
| 7001 test -z "$with_wnn" && { | 7017 test -z "$with_wnn" && { |
| 7002 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7018 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 7003 echo "configure:7004: checking for jl_dic_list_e in -lwnn" >&5 | 7019 echo "configure:7020: checking for jl_dic_list_e in -lwnn" >&5 |
| 7004 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7020 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 7005 | 7021 |
| 7006 xe_check_libs=" -lwnn " | 7022 xe_check_libs=" -lwnn " |
| 7007 cat > conftest.$ac_ext <<EOF | 7023 cat > conftest.$ac_ext <<EOF |
| 7008 #line 7009 "configure" | 7024 #line 7025 "configure" |
| 7009 #include "confdefs.h" | 7025 #include "confdefs.h" |
| 7010 /* Override any gcc2 internal prototype to avoid an error. */ | 7026 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7011 /* We use char because int might match the return type of a gcc2 | 7027 /* We use char because int might match the return type of a gcc2 |
| 7012 builtin and then its argument prototype would still apply. */ | 7028 builtin and then its argument prototype would still apply. */ |
| 7013 char jl_dic_list_e(); | 7029 char jl_dic_list_e(); |
| 7014 | 7030 |
| 7015 int main() { | 7031 int main() { |
| 7016 jl_dic_list_e() | 7032 jl_dic_list_e() |
| 7017 ; return 0; } | 7033 ; return 0; } |
| 7018 EOF | 7034 EOF |
| 7019 if { (eval echo configure:7020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7035 if { (eval echo configure:7036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7020 rm -rf conftest* | 7036 rm -rf conftest* |
| 7021 eval "ac_cv_lib_$ac_lib_var=yes" | 7037 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7022 else | 7038 else |
| 7023 echo "configure: failed program was:" >&5 | 7039 echo "configure: failed program was:" >&5 |
| 7024 cat conftest.$ac_ext >&5 | 7040 cat conftest.$ac_ext >&5 |
| 7051 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7067 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
| 7052 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7068 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 7053 fi | 7069 fi |
| 7054 | 7070 |
| 7055 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7071 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
| 7056 echo "configure:7057: checking for jl_fi_dic_list in -lwnn" >&5 | 7072 echo "configure:7073: checking for jl_fi_dic_list in -lwnn" >&5 |
| 7057 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7073 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 7058 | 7074 |
| 7059 xe_check_libs=" -lwnn " | 7075 xe_check_libs=" -lwnn " |
| 7060 cat > conftest.$ac_ext <<EOF | 7076 cat > conftest.$ac_ext <<EOF |
| 7061 #line 7062 "configure" | 7077 #line 7078 "configure" |
| 7062 #include "confdefs.h" | 7078 #include "confdefs.h" |
| 7063 /* Override any gcc2 internal prototype to avoid an error. */ | 7079 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7064 /* We use char because int might match the return type of a gcc2 | 7080 /* We use char because int might match the return type of a gcc2 |
| 7065 builtin and then its argument prototype would still apply. */ | 7081 builtin and then its argument prototype would still apply. */ |
| 7066 char jl_fi_dic_list(); | 7082 char jl_fi_dic_list(); |
| 7067 | 7083 |
| 7068 int main() { | 7084 int main() { |
| 7069 jl_fi_dic_list() | 7085 jl_fi_dic_list() |
| 7070 ; return 0; } | 7086 ; return 0; } |
| 7071 EOF | 7087 EOF |
| 7072 if { (eval echo configure:7073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7088 if { (eval echo configure:7089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7073 rm -rf conftest* | 7089 rm -rf conftest* |
| 7074 eval "ac_cv_lib_$ac_lib_var=yes" | 7090 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7075 else | 7091 else |
| 7076 echo "configure: failed program was:" >&5 | 7092 echo "configure: failed program was:" >&5 |
| 7077 cat conftest.$ac_ext >&5 | 7093 cat conftest.$ac_ext >&5 |
| 7099 | 7115 |
| 7100 fi | 7116 fi |
| 7101 | 7117 |
| 7102 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7118 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 7103 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7119 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 7104 echo "configure:7105: checking for canna/RK.h" >&5 | 7120 echo "configure:7121: checking for canna/RK.h" >&5 |
| 7105 | 7121 |
| 7106 cat > conftest.$ac_ext <<EOF | 7122 cat > conftest.$ac_ext <<EOF |
| 7107 #line 7108 "configure" | 7123 #line 7124 "configure" |
| 7108 #include "confdefs.h" | 7124 #include "confdefs.h" |
| 7109 #include <canna/RK.h> | 7125 #include <canna/RK.h> |
| 7110 EOF | 7126 EOF |
| 7111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7112 { (eval echo configure:7113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7128 { (eval echo configure:7129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7113 ac_err=`grep -v '^ *+' conftest.out` | 7129 ac_err=`grep -v '^ *+' conftest.out` |
| 7114 if test -z "$ac_err"; then | 7130 if test -z "$ac_err"; then |
| 7115 rm -rf conftest* | 7131 rm -rf conftest* |
| 7116 eval "ac_cv_header_$ac_safe=yes" | 7132 eval "ac_cv_header_$ac_safe=yes" |
| 7117 else | 7133 else |
| 7130 with_canna=no | 7146 with_canna=no |
| 7131 fi | 7147 fi |
| 7132 } | 7148 } |
| 7133 test -z "$with_canna" && { | 7149 test -z "$with_canna" && { |
| 7134 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7150 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 7135 echo "configure:7136: checking for RkBgnBun in -lRKC" >&5 | 7151 echo "configure:7152: checking for RkBgnBun in -lRKC" >&5 |
| 7136 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7152 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 7137 | 7153 |
| 7138 xe_check_libs=" -lRKC " | 7154 xe_check_libs=" -lRKC " |
| 7139 cat > conftest.$ac_ext <<EOF | 7155 cat > conftest.$ac_ext <<EOF |
| 7140 #line 7141 "configure" | 7156 #line 7157 "configure" |
| 7141 #include "confdefs.h" | 7157 #include "confdefs.h" |
| 7142 /* Override any gcc2 internal prototype to avoid an error. */ | 7158 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7143 /* We use char because int might match the return type of a gcc2 | 7159 /* We use char because int might match the return type of a gcc2 |
| 7144 builtin and then its argument prototype would still apply. */ | 7160 builtin and then its argument prototype would still apply. */ |
| 7145 char RkBgnBun(); | 7161 char RkBgnBun(); |
| 7146 | 7162 |
| 7147 int main() { | 7163 int main() { |
| 7148 RkBgnBun() | 7164 RkBgnBun() |
| 7149 ; return 0; } | 7165 ; return 0; } |
| 7150 EOF | 7166 EOF |
| 7151 if { (eval echo configure:7152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7167 if { (eval echo configure:7168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7152 rm -rf conftest* | 7168 rm -rf conftest* |
| 7153 eval "ac_cv_lib_$ac_lib_var=yes" | 7169 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7154 else | 7170 else |
| 7155 echo "configure: failed program was:" >&5 | 7171 echo "configure: failed program was:" >&5 |
| 7156 cat conftest.$ac_ext >&5 | 7172 cat conftest.$ac_ext >&5 |
| 7169 fi | 7185 fi |
| 7170 | 7186 |
| 7171 } | 7187 } |
| 7172 test -z "$with_canna" && { | 7188 test -z "$with_canna" && { |
| 7173 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7189 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 7174 echo "configure:7175: checking for jrKanjiControl in -lcanna" >&5 | 7190 echo "configure:7191: checking for jrKanjiControl in -lcanna" >&5 |
| 7175 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7191 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 7176 | 7192 |
| 7177 xe_check_libs=" -lcanna " | 7193 xe_check_libs=" -lcanna " |
| 7178 cat > conftest.$ac_ext <<EOF | 7194 cat > conftest.$ac_ext <<EOF |
| 7179 #line 7180 "configure" | 7195 #line 7196 "configure" |
| 7180 #include "confdefs.h" | 7196 #include "confdefs.h" |
| 7181 /* Override any gcc2 internal prototype to avoid an error. */ | 7197 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7182 /* We use char because int might match the return type of a gcc2 | 7198 /* We use char because int might match the return type of a gcc2 |
| 7183 builtin and then its argument prototype would still apply. */ | 7199 builtin and then its argument prototype would still apply. */ |
| 7184 char jrKanjiControl(); | 7200 char jrKanjiControl(); |
| 7185 | 7201 |
| 7186 int main() { | 7202 int main() { |
| 7187 jrKanjiControl() | 7203 jrKanjiControl() |
| 7188 ; return 0; } | 7204 ; return 0; } |
| 7189 EOF | 7205 EOF |
| 7190 if { (eval echo configure:7191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7206 if { (eval echo configure:7207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7191 rm -rf conftest* | 7207 rm -rf conftest* |
| 7192 eval "ac_cv_lib_$ac_lib_var=yes" | 7208 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7193 else | 7209 else |
| 7194 echo "configure: failed program was:" >&5 | 7210 echo "configure: failed program was:" >&5 |
| 7195 cat conftest.$ac_ext >&5 | 7211 cat conftest.$ac_ext >&5 |
| 7285 fi | 7301 fi |
| 7286 | 7302 |
| 7287 for ac_func in acosh asinh atanh 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 strcasecmp strerror tzset ulimit usleep utimes waitpid | 7303 for ac_func in acosh asinh atanh 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 strcasecmp strerror tzset ulimit usleep utimes waitpid |
| 7288 do | 7304 do |
| 7289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7305 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7290 echo "configure:7291: checking for $ac_func" >&5 | 7306 echo "configure:7307: checking for $ac_func" >&5 |
| 7291 | 7307 |
| 7292 cat > conftest.$ac_ext <<EOF | 7308 cat > conftest.$ac_ext <<EOF |
| 7293 #line 7294 "configure" | 7309 #line 7310 "configure" |
| 7294 #include "confdefs.h" | 7310 #include "confdefs.h" |
| 7295 /* System header to define __stub macros and hopefully few prototypes, | 7311 /* System header to define __stub macros and hopefully few prototypes, |
| 7296 which can conflict with char $ac_func(); below. */ | 7312 which can conflict with char $ac_func(); below. */ |
| 7297 #include <assert.h> | 7313 #include <assert.h> |
| 7298 /* Override any gcc2 internal prototype to avoid an error. */ | 7314 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7311 $ac_func(); | 7327 $ac_func(); |
| 7312 #endif | 7328 #endif |
| 7313 | 7329 |
| 7314 ; return 0; } | 7330 ; return 0; } |
| 7315 EOF | 7331 EOF |
| 7316 if { (eval echo configure:7317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7332 if { (eval echo configure:7333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7317 rm -rf conftest* | 7333 rm -rf conftest* |
| 7318 eval "ac_cv_func_$ac_func=yes" | 7334 eval "ac_cv_func_$ac_func=yes" |
| 7319 else | 7335 else |
| 7320 echo "configure: failed program was:" >&5 | 7336 echo "configure: failed program was:" >&5 |
| 7321 cat conftest.$ac_ext >&5 | 7337 cat conftest.$ac_ext >&5 |
| 7348 fi ;; | 7364 fi ;; |
| 7349 * ) | 7365 * ) |
| 7350 for ac_func in realpath | 7366 for ac_func in realpath |
| 7351 do | 7367 do |
| 7352 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7353 echo "configure:7354: checking for $ac_func" >&5 | 7369 echo "configure:7370: checking for $ac_func" >&5 |
| 7354 | 7370 |
| 7355 cat > conftest.$ac_ext <<EOF | 7371 cat > conftest.$ac_ext <<EOF |
| 7356 #line 7357 "configure" | 7372 #line 7373 "configure" |
| 7357 #include "confdefs.h" | 7373 #include "confdefs.h" |
| 7358 /* System header to define __stub macros and hopefully few prototypes, | 7374 /* System header to define __stub macros and hopefully few prototypes, |
| 7359 which can conflict with char $ac_func(); below. */ | 7375 which can conflict with char $ac_func(); below. */ |
| 7360 #include <assert.h> | 7376 #include <assert.h> |
| 7361 /* Override any gcc2 internal prototype to avoid an error. */ | 7377 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7374 $ac_func(); | 7390 $ac_func(); |
| 7375 #endif | 7391 #endif |
| 7376 | 7392 |
| 7377 ; return 0; } | 7393 ; return 0; } |
| 7378 EOF | 7394 EOF |
| 7379 if { (eval echo configure:7380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7395 if { (eval echo configure:7396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7380 rm -rf conftest* | 7396 rm -rf conftest* |
| 7381 eval "ac_cv_func_$ac_func=yes" | 7397 eval "ac_cv_func_$ac_func=yes" |
| 7382 else | 7398 else |
| 7383 echo "configure: failed program was:" >&5 | 7399 echo "configure: failed program was:" >&5 |
| 7384 cat conftest.$ac_ext >&5 | 7400 cat conftest.$ac_ext >&5 |
| 7407 echo " xemacs will be linked with \"realpath.o\"" | 7423 echo " xemacs will be linked with \"realpath.o\"" |
| 7408 fi ;; | 7424 fi ;; |
| 7409 esac | 7425 esac |
| 7410 | 7426 |
| 7411 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7427 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 7412 echo "configure:7413: checking whether netdb declares h_errno" >&5 | 7428 echo "configure:7429: checking whether netdb declares h_errno" >&5 |
| 7413 cat > conftest.$ac_ext <<EOF | 7429 cat > conftest.$ac_ext <<EOF |
| 7414 #line 7415 "configure" | 7430 #line 7431 "configure" |
| 7415 #include "confdefs.h" | 7431 #include "confdefs.h" |
| 7416 #include <netdb.h> | 7432 #include <netdb.h> |
| 7417 int main() { | 7433 int main() { |
| 7418 return h_errno; | 7434 return h_errno; |
| 7419 ; return 0; } | 7435 ; return 0; } |
| 7420 EOF | 7436 EOF |
| 7421 if { (eval echo configure:7422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7437 if { (eval echo configure:7438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7422 rm -rf conftest* | 7438 rm -rf conftest* |
| 7423 echo "$ac_t""yes" 1>&6 | 7439 echo "$ac_t""yes" 1>&6 |
| 7424 { test "$extra_verbose" = "yes" && cat << \EOF | 7440 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7425 Defining HAVE_H_ERRNO | 7441 Defining HAVE_H_ERRNO |
| 7426 EOF | 7442 EOF |
| 7436 echo "$ac_t""no" 1>&6 | 7452 echo "$ac_t""no" 1>&6 |
| 7437 fi | 7453 fi |
| 7438 rm -f conftest* | 7454 rm -f conftest* |
| 7439 | 7455 |
| 7440 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7456 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 7441 echo "configure:7442: checking for sigsetjmp" >&5 | 7457 echo "configure:7458: checking for sigsetjmp" >&5 |
| 7442 cat > conftest.$ac_ext <<EOF | 7458 cat > conftest.$ac_ext <<EOF |
| 7443 #line 7444 "configure" | 7459 #line 7460 "configure" |
| 7444 #include "confdefs.h" | 7460 #include "confdefs.h" |
| 7445 #include <setjmp.h> | 7461 #include <setjmp.h> |
| 7446 int main() { | 7462 int main() { |
| 7447 sigjmp_buf bar; sigsetjmp (bar, 0); | 7463 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 7448 ; return 0; } | 7464 ; return 0; } |
| 7449 EOF | 7465 EOF |
| 7450 if { (eval echo configure:7451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7466 if { (eval echo configure:7467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7451 rm -rf conftest* | 7467 rm -rf conftest* |
| 7452 echo "$ac_t""yes" 1>&6 | 7468 echo "$ac_t""yes" 1>&6 |
| 7453 { test "$extra_verbose" = "yes" && cat << \EOF | 7469 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7454 Defining HAVE_SIGSETJMP | 7470 Defining HAVE_SIGSETJMP |
| 7455 EOF | 7471 EOF |
| 7465 echo "$ac_t""no" 1>&6 | 7481 echo "$ac_t""no" 1>&6 |
| 7466 fi | 7482 fi |
| 7467 rm -f conftest* | 7483 rm -f conftest* |
| 7468 | 7484 |
| 7469 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7485 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 7470 echo "configure:7471: checking whether localtime caches TZ" >&5 | 7486 echo "configure:7487: checking whether localtime caches TZ" >&5 |
| 7471 | 7487 |
| 7472 if test "$ac_cv_func_tzset" = "yes"; then | 7488 if test "$ac_cv_func_tzset" = "yes"; then |
| 7473 cat > conftest.$ac_ext <<EOF | 7489 cat > conftest.$ac_ext <<EOF |
| 7474 #line 7475 "configure" | 7490 #line 7491 "configure" |
| 7475 #include "confdefs.h" | 7491 #include "confdefs.h" |
| 7476 #include <time.h> | 7492 #include <time.h> |
| 7477 #if STDC_HEADERS | 7493 #if STDC_HEADERS |
| 7478 # include <stdlib.h> | 7494 # include <stdlib.h> |
| 7479 #endif | 7495 #endif |
| 7504 if (localtime (&now)->tm_hour != hour_unset) | 7520 if (localtime (&now)->tm_hour != hour_unset) |
| 7505 exit (1); | 7521 exit (1); |
| 7506 exit (0); | 7522 exit (0); |
| 7507 } | 7523 } |
| 7508 EOF | 7524 EOF |
| 7509 if { (eval echo configure:7510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7525 if { (eval echo configure:7526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7510 then | 7526 then |
| 7511 emacs_cv_localtime_cache=no | 7527 emacs_cv_localtime_cache=no |
| 7512 else | 7528 else |
| 7513 echo "configure: failed program was:" >&5 | 7529 echo "configure: failed program was:" >&5 |
| 7514 cat conftest.$ac_ext >&5 | 7530 cat conftest.$ac_ext >&5 |
| 7533 | 7549 |
| 7534 fi | 7550 fi |
| 7535 | 7551 |
| 7536 if test "$HAVE_TIMEVAL" = "yes"; then | 7552 if test "$HAVE_TIMEVAL" = "yes"; then |
| 7537 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7553 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
| 7538 echo "configure:7539: checking whether gettimeofday cannot accept two arguments" >&5 | 7554 echo "configure:7555: checking whether gettimeofday cannot accept two arguments" >&5 |
| 7539 cat > conftest.$ac_ext <<EOF | 7555 cat > conftest.$ac_ext <<EOF |
| 7540 #line 7541 "configure" | 7556 #line 7557 "configure" |
| 7541 #include "confdefs.h" | 7557 #include "confdefs.h" |
| 7542 | 7558 |
| 7543 #ifdef TIME_WITH_SYS_TIME | 7559 #ifdef TIME_WITH_SYS_TIME |
| 7544 #include <sys/time.h> | 7560 #include <sys/time.h> |
| 7545 #include <time.h> | 7561 #include <time.h> |
| 7557 struct timezone dummy; | 7573 struct timezone dummy; |
| 7558 gettimeofday (&time, &dummy); | 7574 gettimeofday (&time, &dummy); |
| 7559 | 7575 |
| 7560 ; return 0; } | 7576 ; return 0; } |
| 7561 EOF | 7577 EOF |
| 7562 if { (eval echo configure:7563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7578 if { (eval echo configure:7579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7563 rm -rf conftest* | 7579 rm -rf conftest* |
| 7564 echo "$ac_t""no" 1>&6 | 7580 echo "$ac_t""no" 1>&6 |
| 7565 else | 7581 else |
| 7566 echo "configure: failed program was:" >&5 | 7582 echo "configure: failed program was:" >&5 |
| 7567 cat conftest.$ac_ext >&5 | 7583 cat conftest.$ac_ext >&5 |
| 7579 rm -f conftest* | 7595 rm -f conftest* |
| 7580 fi | 7596 fi |
| 7581 | 7597 |
| 7582 | 7598 |
| 7583 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7599 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 7584 echo "configure:7585: checking for inline" >&5 | 7600 echo "configure:7601: checking for inline" >&5 |
| 7585 | 7601 |
| 7586 ac_cv_c_inline=no | 7602 ac_cv_c_inline=no |
| 7587 for ac_kw in inline __inline__ __inline; do | 7603 for ac_kw in inline __inline__ __inline; do |
| 7588 cat > conftest.$ac_ext <<EOF | 7604 cat > conftest.$ac_ext <<EOF |
| 7589 #line 7590 "configure" | 7605 #line 7606 "configure" |
| 7590 #include "confdefs.h" | 7606 #include "confdefs.h" |
| 7591 | 7607 |
| 7592 int main() { | 7608 int main() { |
| 7593 } $ac_kw foo() { | 7609 } $ac_kw foo() { |
| 7594 ; return 0; } | 7610 ; return 0; } |
| 7595 EOF | 7611 EOF |
| 7596 if { (eval echo configure:7597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7612 if { (eval echo configure:7613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7597 rm -rf conftest* | 7613 rm -rf conftest* |
| 7598 ac_cv_c_inline=$ac_kw; break | 7614 ac_cv_c_inline=$ac_kw; break |
| 7599 else | 7615 else |
| 7600 echo "configure: failed program was:" >&5 | 7616 echo "configure: failed program was:" >&5 |
| 7601 cat conftest.$ac_ext >&5 | 7617 cat conftest.$ac_ext >&5 |
| 7637 test "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | 7653 test "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
| 7638 echo " xemacs will be linked with \"inline.o\"" | 7654 echo " xemacs will be linked with \"inline.o\"" |
| 7639 fi | 7655 fi |
| 7640 fi | 7656 fi |
| 7641 | 7657 |
| 7658 case "$opsys" in hpux* ) | |
| 7659 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | |
| 7660 echo "configure:7661: checking for alloca" >&5 | |
| 7661 | |
| 7662 cat > conftest.$ac_ext <<EOF | |
| 7663 #line 7664 "configure" | |
| 7664 #include "confdefs.h" | |
| 7665 /* System header to define __stub macros and hopefully few prototypes, | |
| 7666 which can conflict with char alloca(); below. */ | |
| 7667 #include <assert.h> | |
| 7668 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 7669 /* We use char because int might match the return type of a gcc2 | |
| 7670 builtin and then its argument prototype would still apply. */ | |
| 7671 char alloca(); | |
| 7672 | |
| 7673 int main() { | |
| 7674 | |
| 7675 /* The GNU C library defines this for functions which it implements | |
| 7676 to always fail with ENOSYS. Some functions are actually named | |
| 7677 something starting with __ and the normal name is an alias. */ | |
| 7678 #if defined (__stub_alloca) || defined (__stub___alloca) | |
| 7679 choke me | |
| 7680 #else | |
| 7681 alloca(); | |
| 7682 #endif | |
| 7683 | |
| 7684 ; return 0; } | |
| 7685 EOF | |
| 7686 if { (eval echo configure:7687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 7687 rm -rf conftest* | |
| 7688 eval "ac_cv_func_alloca=yes" | |
| 7689 else | |
| 7690 echo "configure: failed program was:" >&5 | |
| 7691 cat conftest.$ac_ext >&5 | |
| 7692 rm -rf conftest* | |
| 7693 eval "ac_cv_func_alloca=no" | |
| 7694 fi | |
| 7695 rm -f conftest* | |
| 7696 | |
| 7697 if eval "test \"`echo '$ac_cv_func_'alloca`\" = yes"; then | |
| 7698 echo "$ac_t""yes" 1>&6 | |
| 7699 : | |
| 7700 else | |
| 7701 echo "$ac_t""no" 1>&6 | |
| 7702 | |
| 7703 echo $ac_n "checking for alloca in -lPW""... $ac_c" 1>&6 | |
| 7704 echo "configure:7705: checking for alloca in -lPW" >&5 | |
| 7705 ac_lib_var=`echo PW'_'alloca | sed 'y%./+-%__p_%'` | |
| 7706 | |
| 7707 xe_check_libs=" -lPW " | |
| 7708 cat > conftest.$ac_ext <<EOF | |
| 7709 #line 7710 "configure" | |
| 7710 #include "confdefs.h" | |
| 7711 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 7712 /* We use char because int might match the return type of a gcc2 | |
| 7713 builtin and then its argument prototype would still apply. */ | |
| 7714 char alloca(); | |
| 7715 | |
| 7716 int main() { | |
| 7717 alloca() | |
| 7718 ; return 0; } | |
| 7719 EOF | |
| 7720 if { (eval echo configure:7721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 7721 rm -rf conftest* | |
| 7722 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 7723 else | |
| 7724 echo "configure: failed program was:" >&5 | |
| 7725 cat conftest.$ac_ext >&5 | |
| 7726 rm -rf conftest* | |
| 7727 eval "ac_cv_lib_$ac_lib_var=no" | |
| 7728 fi | |
| 7729 rm -f conftest* | |
| 7730 xe_check_libs="" | |
| 7731 | |
| 7732 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 7733 echo "$ac_t""yes" 1>&6 | |
| 7734 ac_tr_lib=HAVE_LIB`echo PW | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | |
| 7735 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | |
| 7736 { test "$extra_verbose" = "yes" && cat << EOF | |
| 7737 Defining $ac_tr_lib | |
| 7738 EOF | |
| 7739 cat >> confdefs.h <<EOF | |
| 7740 #define $ac_tr_lib 1 | |
| 7741 EOF | |
| 7742 } | |
| 7743 | |
| 7744 LIBS="-lPW $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lPW\" to \$LIBS"; fi | |
| 7745 | |
| 7746 else | |
| 7747 echo "$ac_t""no" 1>&6 | |
| 7748 fi | |
| 7749 | |
| 7750 | |
| 7751 fi | |
| 7752 | |
| 7753 esac | |
| 7642 | 7754 |
| 7643 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7755 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 7644 # for constant arguments. Useless! | 7756 # for constant arguments. Useless! |
| 7645 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7757 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 7646 echo "configure:7647: checking for working alloca.h" >&5 | 7758 echo "configure:7759: checking for working alloca.h" >&5 |
| 7647 | 7759 |
| 7648 cat > conftest.$ac_ext <<EOF | 7760 cat > conftest.$ac_ext <<EOF |
| 7649 #line 7650 "configure" | 7761 #line 7762 "configure" |
| 7650 #include "confdefs.h" | 7762 #include "confdefs.h" |
| 7651 #include <alloca.h> | 7763 #include <alloca.h> |
| 7652 int main() { | 7764 int main() { |
| 7653 char *p = alloca(2 * sizeof(int)); | 7765 char *p = alloca(2 * sizeof(int)); |
| 7654 ; return 0; } | 7766 ; return 0; } |
| 7655 EOF | 7767 EOF |
| 7656 if { (eval echo configure:7657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7768 if { (eval echo configure:7769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7657 rm -rf conftest* | 7769 rm -rf conftest* |
| 7658 ac_cv_header_alloca_h=yes | 7770 ac_cv_header_alloca_h=yes |
| 7659 else | 7771 else |
| 7660 echo "configure: failed program was:" >&5 | 7772 echo "configure: failed program was:" >&5 |
| 7661 cat conftest.$ac_ext >&5 | 7773 cat conftest.$ac_ext >&5 |
| 7675 } | 7787 } |
| 7676 | 7788 |
| 7677 fi | 7789 fi |
| 7678 | 7790 |
| 7679 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 7791 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 7680 echo "configure:7681: checking for alloca" >&5 | 7792 echo "configure:7793: checking for alloca" >&5 |
| 7681 | 7793 |
| 7682 cat > conftest.$ac_ext <<EOF | 7794 cat > conftest.$ac_ext <<EOF |
| 7683 #line 7684 "configure" | 7795 #line 7796 "configure" |
| 7684 #include "confdefs.h" | 7796 #include "confdefs.h" |
| 7685 | 7797 |
| 7686 #ifdef __GNUC__ | 7798 #ifdef __GNUC__ |
| 7687 # define alloca __builtin_alloca | 7799 # define alloca __builtin_alloca |
| 7688 #else | 7800 #else |
| 7701 | 7813 |
| 7702 int main() { | 7814 int main() { |
| 7703 char *p = (char *) alloca(1); | 7815 char *p = (char *) alloca(1); |
| 7704 ; return 0; } | 7816 ; return 0; } |
| 7705 EOF | 7817 EOF |
| 7706 if { (eval echo configure:7707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7818 if { (eval echo configure:7819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7707 rm -rf conftest* | 7819 rm -rf conftest* |
| 7708 ac_cv_func_alloca_works=yes | 7820 ac_cv_func_alloca_works=yes |
| 7709 else | 7821 else |
| 7710 echo "configure: failed program was:" >&5 | 7822 echo "configure: failed program was:" >&5 |
| 7711 cat conftest.$ac_ext >&5 | 7823 cat conftest.$ac_ext >&5 |
| 7740 EOF | 7852 EOF |
| 7741 } | 7853 } |
| 7742 | 7854 |
| 7743 | 7855 |
| 7744 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7856 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 7745 echo "configure:7746: checking whether alloca needs Cray hooks" >&5 | 7857 echo "configure:7858: checking whether alloca needs Cray hooks" >&5 |
| 7746 | 7858 |
| 7747 cat > conftest.$ac_ext <<EOF | 7859 cat > conftest.$ac_ext <<EOF |
| 7748 #line 7749 "configure" | 7860 #line 7861 "configure" |
| 7749 #include "confdefs.h" | 7861 #include "confdefs.h" |
| 7750 #if defined(CRAY) && ! defined(CRAY2) | 7862 #if defined(CRAY) && ! defined(CRAY2) |
| 7751 webecray | 7863 webecray |
| 7752 #else | 7864 #else |
| 7753 wenotbecray | 7865 wenotbecray |
| 7767 | 7879 |
| 7768 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7880 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 7769 if test $ac_cv_os_cray = yes; then | 7881 if test $ac_cv_os_cray = yes; then |
| 7770 for ac_func in _getb67 GETB67 getb67; do | 7882 for ac_func in _getb67 GETB67 getb67; do |
| 7771 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7772 echo "configure:7773: checking for $ac_func" >&5 | 7884 echo "configure:7885: checking for $ac_func" >&5 |
| 7773 | 7885 |
| 7774 cat > conftest.$ac_ext <<EOF | 7886 cat > conftest.$ac_ext <<EOF |
| 7775 #line 7776 "configure" | 7887 #line 7888 "configure" |
| 7776 #include "confdefs.h" | 7888 #include "confdefs.h" |
| 7777 /* System header to define __stub macros and hopefully few prototypes, | 7889 /* System header to define __stub macros and hopefully few prototypes, |
| 7778 which can conflict with char $ac_func(); below. */ | 7890 which can conflict with char $ac_func(); below. */ |
| 7779 #include <assert.h> | 7891 #include <assert.h> |
| 7780 /* Override any gcc2 internal prototype to avoid an error. */ | 7892 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7793 $ac_func(); | 7905 $ac_func(); |
| 7794 #endif | 7906 #endif |
| 7795 | 7907 |
| 7796 ; return 0; } | 7908 ; return 0; } |
| 7797 EOF | 7909 EOF |
| 7798 if { (eval echo configure:7799: \"$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 |
| 7799 rm -rf conftest* | 7911 rm -rf conftest* |
| 7800 eval "ac_cv_func_$ac_func=yes" | 7912 eval "ac_cv_func_$ac_func=yes" |
| 7801 else | 7913 else |
| 7802 echo "configure: failed program was:" >&5 | 7914 echo "configure: failed program was:" >&5 |
| 7803 cat conftest.$ac_ext >&5 | 7915 cat conftest.$ac_ext >&5 |
| 7823 | 7935 |
| 7824 done | 7936 done |
| 7825 fi | 7937 fi |
| 7826 | 7938 |
| 7827 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 7939 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 7828 echo "configure:7829: checking stack direction for C alloca" >&5 | 7940 echo "configure:7941: checking stack direction for C alloca" >&5 |
| 7829 | 7941 |
| 7830 cat > conftest.$ac_ext <<EOF | 7942 cat > conftest.$ac_ext <<EOF |
| 7831 #line 7832 "configure" | 7943 #line 7944 "configure" |
| 7832 #include "confdefs.h" | 7944 #include "confdefs.h" |
| 7833 find_stack_direction () | 7945 find_stack_direction () |
| 7834 { | 7946 { |
| 7835 static char *addr = 0; | 7947 static char *addr = 0; |
| 7836 auto char dummy; | 7948 auto char dummy; |
| 7845 main () | 7957 main () |
| 7846 { | 7958 { |
| 7847 exit (find_stack_direction() < 0); | 7959 exit (find_stack_direction() < 0); |
| 7848 } | 7960 } |
| 7849 EOF | 7961 EOF |
| 7850 if { (eval echo configure:7851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7962 if { (eval echo configure:7963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7851 then | 7963 then |
| 7852 ac_cv_c_stack_direction=1 | 7964 ac_cv_c_stack_direction=1 |
| 7853 else | 7965 else |
| 7854 echo "configure: failed program was:" >&5 | 7966 echo "configure: failed program was:" >&5 |
| 7855 cat conftest.$ac_ext >&5 | 7967 cat conftest.$ac_ext >&5 |
| 7873 echo " xemacs will be linked with \"$ALLOCA\"" | 7985 echo " xemacs will be linked with \"$ALLOCA\"" |
| 7874 fi | 7986 fi |
| 7875 | 7987 |
| 7876 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 7988 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 7877 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 7989 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 7878 echo "configure:7879: checking for vfork.h" >&5 | 7990 echo "configure:7991: checking for vfork.h" >&5 |
| 7879 | 7991 |
| 7880 cat > conftest.$ac_ext <<EOF | 7992 cat > conftest.$ac_ext <<EOF |
| 7881 #line 7882 "configure" | 7993 #line 7994 "configure" |
| 7882 #include "confdefs.h" | 7994 #include "confdefs.h" |
| 7883 #include <vfork.h> | 7995 #include <vfork.h> |
| 7884 EOF | 7996 EOF |
| 7885 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7997 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7886 { (eval echo configure:7887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7998 { (eval echo configure:7999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7887 ac_err=`grep -v '^ *+' conftest.out` | 7999 ac_err=`grep -v '^ *+' conftest.out` |
| 7888 if test -z "$ac_err"; then | 8000 if test -z "$ac_err"; then |
| 7889 rm -rf conftest* | 8001 rm -rf conftest* |
| 7890 eval "ac_cv_header_$ac_safe=yes" | 8002 eval "ac_cv_header_$ac_safe=yes" |
| 7891 else | 8003 else |
| 7909 else | 8021 else |
| 7910 echo "$ac_t""no" 1>&6 | 8022 echo "$ac_t""no" 1>&6 |
| 7911 fi | 8023 fi |
| 7912 | 8024 |
| 7913 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8025 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 7914 echo "configure:7915: checking for working vfork" >&5 | 8026 echo "configure:8027: checking for working vfork" >&5 |
| 7915 | 8027 |
| 7916 cat > conftest.$ac_ext <<EOF | 8028 cat > conftest.$ac_ext <<EOF |
| 7917 #line 7918 "configure" | 8029 #line 8030 "configure" |
| 7918 #include "confdefs.h" | 8030 #include "confdefs.h" |
| 7919 /* Thanks to Paul Eggert for this test. */ | 8031 /* Thanks to Paul Eggert for this test. */ |
| 7920 #include <stdio.h> | 8032 #include <stdio.h> |
| 7921 #include <sys/types.h> | 8033 #include <sys/types.h> |
| 7922 #include <sys/stat.h> | 8034 #include <sys/stat.h> |
| 8007 || fstat(fileno(stdout), &st) != 0 | 8119 || fstat(fileno(stdout), &st) != 0 |
| 8008 ); | 8120 ); |
| 8009 } | 8121 } |
| 8010 } | 8122 } |
| 8011 EOF | 8123 EOF |
| 8012 if { (eval echo configure:8013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8124 if { (eval echo configure:8125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8013 then | 8125 then |
| 8014 ac_cv_func_vfork_works=yes | 8126 ac_cv_func_vfork_works=yes |
| 8015 else | 8127 else |
| 8016 echo "configure: failed program was:" >&5 | 8128 echo "configure: failed program was:" >&5 |
| 8017 cat conftest.$ac_ext >&5 | 8129 cat conftest.$ac_ext >&5 |
| 8032 | 8144 |
| 8033 fi | 8145 fi |
| 8034 | 8146 |
| 8035 | 8147 |
| 8036 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8148 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 8037 echo "configure:8038: checking for working strcoll" >&5 | 8149 echo "configure:8150: checking for working strcoll" >&5 |
| 8038 | 8150 |
| 8039 cat > conftest.$ac_ext <<EOF | 8151 cat > conftest.$ac_ext <<EOF |
| 8040 #line 8041 "configure" | 8152 #line 8153 "configure" |
| 8041 #include "confdefs.h" | 8153 #include "confdefs.h" |
| 8042 #include <string.h> | 8154 #include <string.h> |
| 8043 main () | 8155 main () |
| 8044 { | 8156 { |
| 8045 exit (strcoll ("abc", "def") >= 0 || | 8157 exit (strcoll ("abc", "def") >= 0 || |
| 8046 strcoll ("ABC", "DEF") >= 0 || | 8158 strcoll ("ABC", "DEF") >= 0 || |
| 8047 strcoll ("123", "456") >= 0); | 8159 strcoll ("123", "456") >= 0); |
| 8048 } | 8160 } |
| 8049 EOF | 8161 EOF |
| 8050 if { (eval echo configure:8051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8162 if { (eval echo configure:8163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8051 then | 8163 then |
| 8052 ac_cv_func_strcoll_works=yes | 8164 ac_cv_func_strcoll_works=yes |
| 8053 else | 8165 else |
| 8054 echo "configure: failed program was:" >&5 | 8166 echo "configure: failed program was:" >&5 |
| 8055 cat conftest.$ac_ext >&5 | 8167 cat conftest.$ac_ext >&5 |
| 8072 | 8184 |
| 8073 | 8185 |
| 8074 for ac_func in getpgrp | 8186 for ac_func in getpgrp |
| 8075 do | 8187 do |
| 8076 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8188 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8077 echo "configure:8078: checking for $ac_func" >&5 | 8189 echo "configure:8190: checking for $ac_func" >&5 |
| 8078 | 8190 |
| 8079 cat > conftest.$ac_ext <<EOF | 8191 cat > conftest.$ac_ext <<EOF |
| 8080 #line 8081 "configure" | 8192 #line 8193 "configure" |
| 8081 #include "confdefs.h" | 8193 #include "confdefs.h" |
| 8082 /* System header to define __stub macros and hopefully few prototypes, | 8194 /* System header to define __stub macros and hopefully few prototypes, |
| 8083 which can conflict with char $ac_func(); below. */ | 8195 which can conflict with char $ac_func(); below. */ |
| 8084 #include <assert.h> | 8196 #include <assert.h> |
| 8085 /* Override any gcc2 internal prototype to avoid an error. */ | 8197 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8098 $ac_func(); | 8210 $ac_func(); |
| 8099 #endif | 8211 #endif |
| 8100 | 8212 |
| 8101 ; return 0; } | 8213 ; return 0; } |
| 8102 EOF | 8214 EOF |
| 8103 if { (eval echo configure:8104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8215 if { (eval echo configure:8216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8104 rm -rf conftest* | 8216 rm -rf conftest* |
| 8105 eval "ac_cv_func_$ac_func=yes" | 8217 eval "ac_cv_func_$ac_func=yes" |
| 8106 else | 8218 else |
| 8107 echo "configure: failed program was:" >&5 | 8219 echo "configure: failed program was:" >&5 |
| 8108 cat conftest.$ac_ext >&5 | 8220 cat conftest.$ac_ext >&5 |
| 8126 echo "$ac_t""no" 1>&6 | 8238 echo "$ac_t""no" 1>&6 |
| 8127 fi | 8239 fi |
| 8128 done | 8240 done |
| 8129 | 8241 |
| 8130 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8242 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 8131 echo "configure:8132: checking whether getpgrp takes no argument" >&5 | 8243 echo "configure:8244: checking whether getpgrp takes no argument" >&5 |
| 8132 | 8244 |
| 8133 cat > conftest.$ac_ext <<EOF | 8245 cat > conftest.$ac_ext <<EOF |
| 8134 #line 8135 "configure" | 8246 #line 8247 "configure" |
| 8135 #include "confdefs.h" | 8247 #include "confdefs.h" |
| 8136 | 8248 |
| 8137 /* | 8249 /* |
| 8138 * If this system has a BSD-style getpgrp(), | 8250 * If this system has a BSD-style getpgrp(), |
| 8139 * which takes a pid argument, exit unsuccessfully. | 8251 * which takes a pid argument, exit unsuccessfully. |
| 8184 exit(s>>8); | 8296 exit(s>>8); |
| 8185 } | 8297 } |
| 8186 } | 8298 } |
| 8187 | 8299 |
| 8188 EOF | 8300 EOF |
| 8189 if { (eval echo configure:8190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8301 if { (eval echo configure:8302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8190 then | 8302 then |
| 8191 ac_cv_func_getpgrp_void=yes | 8303 ac_cv_func_getpgrp_void=yes |
| 8192 else | 8304 else |
| 8193 echo "configure: failed program was:" >&5 | 8305 echo "configure: failed program was:" >&5 |
| 8194 cat conftest.$ac_ext >&5 | 8306 cat conftest.$ac_ext >&5 |
| 8210 | 8322 |
| 8211 fi | 8323 fi |
| 8212 | 8324 |
| 8213 | 8325 |
| 8214 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8326 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 8215 echo "configure:8216: checking for working mmap" >&5 | 8327 echo "configure:8328: checking for working mmap" >&5 |
| 8216 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8328 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 8217 cat > conftest.$ac_ext <<EOF | 8329 cat > conftest.$ac_ext <<EOF |
| 8218 #line 8219 "configure" | 8330 #line 8331 "configure" |
| 8219 #include "confdefs.h" | 8331 #include "confdefs.h" |
| 8220 #include <stdio.h> | 8332 #include <stdio.h> |
| 8221 #include <unistd.h> | 8333 #include <unistd.h> |
| 8222 #include <fcntl.h> | 8334 #include <fcntl.h> |
| 8223 #include <sys/mman.h> | 8335 #include <sys/mman.h> |
| 8246 return 0; | 8358 return 0; |
| 8247 perror ("conftest: mmap failed"); | 8359 perror ("conftest: mmap failed"); |
| 8248 return 1; | 8360 return 1; |
| 8249 } | 8361 } |
| 8250 EOF | 8362 EOF |
| 8251 if { (eval echo configure:8252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8363 if { (eval echo configure:8364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8252 then | 8364 then |
| 8253 have_mmap=yes | 8365 have_mmap=yes |
| 8254 else | 8366 else |
| 8255 echo "configure: failed program was:" >&5 | 8367 echo "configure: failed program was:" >&5 |
| 8256 cat conftest.$ac_ext >&5 | 8368 cat conftest.$ac_ext >&5 |
| 8278 #define REL_ALLOC 1 | 8390 #define REL_ALLOC 1 |
| 8279 EOF | 8391 EOF |
| 8280 } | 8392 } |
| 8281 | 8393 |
| 8282 | 8394 |
| 8395 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | |
| 8396 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | |
| 8397 echo "configure:8398: checking for termios.h" >&5 | |
| 8398 | |
| 8399 cat > conftest.$ac_ext <<EOF | |
| 8400 #line 8401 "configure" | |
| 8401 #include "confdefs.h" | |
| 8402 #include <termios.h> | |
| 8403 EOF | |
| 8404 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 8405 { (eval echo configure:8406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 8406 ac_err=`grep -v '^ *+' conftest.out` | |
| 8407 if test -z "$ac_err"; then | |
| 8408 rm -rf conftest* | |
| 8409 eval "ac_cv_header_$ac_safe=yes" | |
| 8410 else | |
| 8411 echo "$ac_err" >&5 | |
| 8412 echo "configure: failed program was:" >&5 | |
| 8413 cat conftest.$ac_ext >&5 | |
| 8414 rm -rf conftest* | |
| 8415 eval "ac_cv_header_$ac_safe=no" | |
| 8416 fi | |
| 8417 rm -f conftest* | |
| 8418 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 8419 echo "$ac_t""yes" 1>&6 | |
| 8420 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 8421 Defining HAVE_TERMIOS | |
| 8422 EOF | |
| 8423 cat >> confdefs.h <<\EOF | |
| 8424 #define HAVE_TERMIOS 1 | |
| 8425 EOF | |
| 8426 } | |
| 8427 | |
| 8428 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 8429 Defining SIGNALS_VIA_CHARACTERS | |
| 8430 EOF | |
| 8431 cat >> confdefs.h <<\EOF | |
| 8432 #define SIGNALS_VIA_CHARACTERS 1 | |
| 8433 EOF | |
| 8434 } | |
| 8435 | |
| 8436 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 8437 Defining NO_TERMIO | |
| 8438 EOF | |
| 8439 cat >> confdefs.h <<\EOF | |
| 8440 #define NO_TERMIO 1 | |
| 8441 EOF | |
| 8442 } | |
| 8443 | |
| 8444 else | |
| 8445 echo "$ac_t""no" 1>&6 | |
| 8446 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | |
| 8447 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | |
| 8448 echo "configure:8449: checking for termio.h" >&5 | |
| 8449 | |
| 8450 cat > conftest.$ac_ext <<EOF | |
| 8451 #line 8452 "configure" | |
| 8452 #include "confdefs.h" | |
| 8453 #include <termio.h> | |
| 8454 EOF | |
| 8455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 8456 { (eval echo configure:8457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 8457 ac_err=`grep -v '^ *+' conftest.out` | |
| 8458 if test -z "$ac_err"; then | |
| 8459 rm -rf conftest* | |
| 8460 eval "ac_cv_header_$ac_safe=yes" | |
| 8461 else | |
| 8462 echo "$ac_err" >&5 | |
| 8463 echo "configure: failed program was:" >&5 | |
| 8464 cat conftest.$ac_ext >&5 | |
| 8465 rm -rf conftest* | |
| 8466 eval "ac_cv_header_$ac_safe=no" | |
| 8467 fi | |
| 8468 rm -f conftest* | |
| 8469 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 8470 echo "$ac_t""yes" 1>&6 | |
| 8471 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 8472 Defining HAVE_TERMIO | |
| 8473 EOF | |
| 8474 cat >> confdefs.h <<\EOF | |
| 8475 #define HAVE_TERMIO 1 | |
| 8476 EOF | |
| 8477 } | |
| 8478 | |
| 8479 else | |
| 8480 echo "$ac_t""no" 1>&6 | |
| 8481 fi | |
| 8482 | |
| 8483 fi | |
| 8484 | |
| 8485 | |
| 8486 | |
| 8283 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8487 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 8284 echo "configure:8285: checking for socket" >&5 | 8488 echo "configure:8489: checking for socket" >&5 |
| 8285 | 8489 |
| 8286 cat > conftest.$ac_ext <<EOF | 8490 cat > conftest.$ac_ext <<EOF |
| 8287 #line 8288 "configure" | 8491 #line 8492 "configure" |
| 8288 #include "confdefs.h" | 8492 #include "confdefs.h" |
| 8289 /* System header to define __stub macros and hopefully few prototypes, | 8493 /* System header to define __stub macros and hopefully few prototypes, |
| 8290 which can conflict with char socket(); below. */ | 8494 which can conflict with char socket(); below. */ |
| 8291 #include <assert.h> | 8495 #include <assert.h> |
| 8292 /* Override any gcc2 internal prototype to avoid an error. */ | 8496 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8305 socket(); | 8509 socket(); |
| 8306 #endif | 8510 #endif |
| 8307 | 8511 |
| 8308 ; return 0; } | 8512 ; return 0; } |
| 8309 EOF | 8513 EOF |
| 8310 if { (eval echo configure:8311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8514 if { (eval echo configure:8515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8311 rm -rf conftest* | 8515 rm -rf conftest* |
| 8312 eval "ac_cv_func_socket=yes" | 8516 eval "ac_cv_func_socket=yes" |
| 8313 else | 8517 else |
| 8314 echo "configure: failed program was:" >&5 | 8518 echo "configure: failed program was:" >&5 |
| 8315 cat conftest.$ac_ext >&5 | 8519 cat conftest.$ac_ext >&5 |
| 8320 | 8524 |
| 8321 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8525 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 8322 echo "$ac_t""yes" 1>&6 | 8526 echo "$ac_t""yes" 1>&6 |
| 8323 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8527 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 8324 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8528 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 8325 echo "configure:8326: checking for netinet/in.h" >&5 | 8529 echo "configure:8530: checking for netinet/in.h" >&5 |
| 8326 | 8530 |
| 8327 cat > conftest.$ac_ext <<EOF | 8531 cat > conftest.$ac_ext <<EOF |
| 8328 #line 8329 "configure" | 8532 #line 8533 "configure" |
| 8329 #include "confdefs.h" | 8533 #include "confdefs.h" |
| 8330 #include <netinet/in.h> | 8534 #include <netinet/in.h> |
| 8331 EOF | 8535 EOF |
| 8332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8333 { (eval echo configure:8334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8537 { (eval echo configure:8538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8334 ac_err=`grep -v '^ *+' conftest.out` | 8538 ac_err=`grep -v '^ *+' conftest.out` |
| 8335 if test -z "$ac_err"; then | 8539 if test -z "$ac_err"; then |
| 8336 rm -rf conftest* | 8540 rm -rf conftest* |
| 8337 eval "ac_cv_header_$ac_safe=yes" | 8541 eval "ac_cv_header_$ac_safe=yes" |
| 8338 else | 8542 else |
| 8345 rm -f conftest* | 8549 rm -f conftest* |
| 8346 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8550 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8347 echo "$ac_t""yes" 1>&6 | 8551 echo "$ac_t""yes" 1>&6 |
| 8348 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8552 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 8349 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8553 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 8350 echo "configure:8351: checking for arpa/inet.h" >&5 | 8554 echo "configure:8555: checking for arpa/inet.h" >&5 |
| 8351 | 8555 |
| 8352 cat > conftest.$ac_ext <<EOF | 8556 cat > conftest.$ac_ext <<EOF |
| 8353 #line 8354 "configure" | 8557 #line 8558 "configure" |
| 8354 #include "confdefs.h" | 8558 #include "confdefs.h" |
| 8355 #include <arpa/inet.h> | 8559 #include <arpa/inet.h> |
| 8356 EOF | 8560 EOF |
| 8357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8358 { (eval echo configure:8359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8562 { (eval echo configure:8563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8359 ac_err=`grep -v '^ *+' conftest.out` | 8563 ac_err=`grep -v '^ *+' conftest.out` |
| 8360 if test -z "$ac_err"; then | 8564 if test -z "$ac_err"; then |
| 8361 rm -rf conftest* | 8565 rm -rf conftest* |
| 8362 eval "ac_cv_header_$ac_safe=yes" | 8566 eval "ac_cv_header_$ac_safe=yes" |
| 8363 else | 8567 else |
| 8378 #define HAVE_SOCKETS 1 | 8582 #define HAVE_SOCKETS 1 |
| 8379 EOF | 8583 EOF |
| 8380 } | 8584 } |
| 8381 | 8585 |
| 8382 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8586 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 8383 echo "configure:8384: checking "for sun_len member in struct sockaddr_un"" >&5 | 8587 echo "configure:8588: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 8384 cat > conftest.$ac_ext <<EOF | 8588 cat > conftest.$ac_ext <<EOF |
| 8385 #line 8386 "configure" | 8589 #line 8590 "configure" |
| 8386 #include "confdefs.h" | 8590 #include "confdefs.h" |
| 8387 | 8591 |
| 8388 #include <sys/types.h> | 8592 #include <sys/types.h> |
| 8389 #include <sys/socket.h> | 8593 #include <sys/socket.h> |
| 8390 #include <sys/un.h> | 8594 #include <sys/un.h> |
| 8391 | 8595 |
| 8392 int main() { | 8596 int main() { |
| 8393 static struct sockaddr_un x; x.sun_len = 1; | 8597 static struct sockaddr_un x; x.sun_len = 1; |
| 8394 ; return 0; } | 8598 ; return 0; } |
| 8395 EOF | 8599 EOF |
| 8396 if { (eval echo configure:8397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8600 if { (eval echo configure:8601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8397 rm -rf conftest* | 8601 rm -rf conftest* |
| 8398 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8602 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 8399 Defining HAVE_SOCKADDR_SUN_LEN | 8603 Defining HAVE_SOCKADDR_SUN_LEN |
| 8400 EOF | 8604 EOF |
| 8401 cat >> confdefs.h <<\EOF | 8605 cat >> confdefs.h <<\EOF |
| 8422 echo "$ac_t""no" 1>&6 | 8626 echo "$ac_t""no" 1>&6 |
| 8423 fi | 8627 fi |
| 8424 | 8628 |
| 8425 | 8629 |
| 8426 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8630 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 8427 echo "configure:8428: checking for msgget" >&5 | 8631 echo "configure:8632: checking for msgget" >&5 |
| 8428 | 8632 |
| 8429 cat > conftest.$ac_ext <<EOF | 8633 cat > conftest.$ac_ext <<EOF |
| 8430 #line 8431 "configure" | 8634 #line 8635 "configure" |
| 8431 #include "confdefs.h" | 8635 #include "confdefs.h" |
| 8432 /* System header to define __stub macros and hopefully few prototypes, | 8636 /* System header to define __stub macros and hopefully few prototypes, |
| 8433 which can conflict with char msgget(); below. */ | 8637 which can conflict with char msgget(); below. */ |
| 8434 #include <assert.h> | 8638 #include <assert.h> |
| 8435 /* Override any gcc2 internal prototype to avoid an error. */ | 8639 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8448 msgget(); | 8652 msgget(); |
| 8449 #endif | 8653 #endif |
| 8450 | 8654 |
| 8451 ; return 0; } | 8655 ; return 0; } |
| 8452 EOF | 8656 EOF |
| 8453 if { (eval echo configure:8454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8657 if { (eval echo configure:8658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8454 rm -rf conftest* | 8658 rm -rf conftest* |
| 8455 eval "ac_cv_func_msgget=yes" | 8659 eval "ac_cv_func_msgget=yes" |
| 8456 else | 8660 else |
| 8457 echo "configure: failed program was:" >&5 | 8661 echo "configure: failed program was:" >&5 |
| 8458 cat conftest.$ac_ext >&5 | 8662 cat conftest.$ac_ext >&5 |
| 8463 | 8667 |
| 8464 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8668 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 8465 echo "$ac_t""yes" 1>&6 | 8669 echo "$ac_t""yes" 1>&6 |
| 8466 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8670 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 8467 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8671 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 8468 echo "configure:8469: checking for sys/ipc.h" >&5 | 8672 echo "configure:8673: checking for sys/ipc.h" >&5 |
| 8469 | 8673 |
| 8470 cat > conftest.$ac_ext <<EOF | 8674 cat > conftest.$ac_ext <<EOF |
| 8471 #line 8472 "configure" | 8675 #line 8676 "configure" |
| 8472 #include "confdefs.h" | 8676 #include "confdefs.h" |
| 8473 #include <sys/ipc.h> | 8677 #include <sys/ipc.h> |
| 8474 EOF | 8678 EOF |
| 8475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8476 { (eval echo configure:8477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8680 { (eval echo configure:8681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8477 ac_err=`grep -v '^ *+' conftest.out` | 8681 ac_err=`grep -v '^ *+' conftest.out` |
| 8478 if test -z "$ac_err"; then | 8682 if test -z "$ac_err"; then |
| 8479 rm -rf conftest* | 8683 rm -rf conftest* |
| 8480 eval "ac_cv_header_$ac_safe=yes" | 8684 eval "ac_cv_header_$ac_safe=yes" |
| 8481 else | 8685 else |
| 8488 rm -f conftest* | 8692 rm -f conftest* |
| 8489 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8693 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8490 echo "$ac_t""yes" 1>&6 | 8694 echo "$ac_t""yes" 1>&6 |
| 8491 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8695 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 8492 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8696 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 8493 echo "configure:8494: checking for sys/msg.h" >&5 | 8697 echo "configure:8698: checking for sys/msg.h" >&5 |
| 8494 | 8698 |
| 8495 cat > conftest.$ac_ext <<EOF | 8699 cat > conftest.$ac_ext <<EOF |
| 8496 #line 8497 "configure" | 8700 #line 8701 "configure" |
| 8497 #include "confdefs.h" | 8701 #include "confdefs.h" |
| 8498 #include <sys/msg.h> | 8702 #include <sys/msg.h> |
| 8499 EOF | 8703 EOF |
| 8500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8501 { (eval echo configure:8502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8705 { (eval echo configure:8706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8502 ac_err=`grep -v '^ *+' conftest.out` | 8706 ac_err=`grep -v '^ *+' conftest.out` |
| 8503 if test -z "$ac_err"; then | 8707 if test -z "$ac_err"; then |
| 8504 rm -rf conftest* | 8708 rm -rf conftest* |
| 8505 eval "ac_cv_header_$ac_safe=yes" | 8709 eval "ac_cv_header_$ac_safe=yes" |
| 8506 else | 8710 else |
| 8534 fi | 8738 fi |
| 8535 | 8739 |
| 8536 | 8740 |
| 8537 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 8741 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 8538 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 8742 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 8539 echo "configure:8540: checking for dirent.h" >&5 | 8743 echo "configure:8744: checking for dirent.h" >&5 |
| 8540 | 8744 |
| 8541 cat > conftest.$ac_ext <<EOF | 8745 cat > conftest.$ac_ext <<EOF |
| 8542 #line 8543 "configure" | 8746 #line 8747 "configure" |
| 8543 #include "confdefs.h" | 8747 #include "confdefs.h" |
| 8544 #include <dirent.h> | 8748 #include <dirent.h> |
| 8545 EOF | 8749 EOF |
| 8546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8547 { (eval echo configure:8548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8751 { (eval echo configure:8752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8548 ac_err=`grep -v '^ *+' conftest.out` | 8752 ac_err=`grep -v '^ *+' conftest.out` |
| 8549 if test -z "$ac_err"; then | 8753 if test -z "$ac_err"; then |
| 8550 rm -rf conftest* | 8754 rm -rf conftest* |
| 8551 eval "ac_cv_header_$ac_safe=yes" | 8755 eval "ac_cv_header_$ac_safe=yes" |
| 8552 else | 8756 else |
| 8569 | 8773 |
| 8570 else | 8774 else |
| 8571 echo "$ac_t""no" 1>&6 | 8775 echo "$ac_t""no" 1>&6 |
| 8572 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 8776 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 8573 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 8777 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 8574 echo "configure:8575: checking for sys/dir.h" >&5 | 8778 echo "configure:8779: checking for sys/dir.h" >&5 |
| 8575 | 8779 |
| 8576 cat > conftest.$ac_ext <<EOF | 8780 cat > conftest.$ac_ext <<EOF |
| 8577 #line 8578 "configure" | 8781 #line 8782 "configure" |
| 8578 #include "confdefs.h" | 8782 #include "confdefs.h" |
| 8579 #include <sys/dir.h> | 8783 #include <sys/dir.h> |
| 8580 EOF | 8784 EOF |
| 8581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8785 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8582 { (eval echo configure:8583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8786 { (eval echo configure:8787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8583 ac_err=`grep -v '^ *+' conftest.out` | 8787 ac_err=`grep -v '^ *+' conftest.out` |
| 8584 if test -z "$ac_err"; then | 8788 if test -z "$ac_err"; then |
| 8585 rm -rf conftest* | 8789 rm -rf conftest* |
| 8586 eval "ac_cv_header_$ac_safe=yes" | 8790 eval "ac_cv_header_$ac_safe=yes" |
| 8587 else | 8791 else |
| 8610 fi | 8814 fi |
| 8611 | 8815 |
| 8612 | 8816 |
| 8613 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 8817 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 8614 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 8818 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 8615 echo "configure:8616: checking for nlist.h" >&5 | 8819 echo "configure:8820: checking for nlist.h" >&5 |
| 8616 | 8820 |
| 8617 cat > conftest.$ac_ext <<EOF | 8821 cat > conftest.$ac_ext <<EOF |
| 8618 #line 8619 "configure" | 8822 #line 8823 "configure" |
| 8619 #include "confdefs.h" | 8823 #include "confdefs.h" |
| 8620 #include <nlist.h> | 8824 #include <nlist.h> |
| 8621 EOF | 8825 EOF |
| 8622 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8623 { (eval echo configure:8624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8827 { (eval echo configure:8828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8624 ac_err=`grep -v '^ *+' conftest.out` | 8828 ac_err=`grep -v '^ *+' conftest.out` |
| 8625 if test -z "$ac_err"; then | 8829 if test -z "$ac_err"; then |
| 8626 rm -rf conftest* | 8830 rm -rf conftest* |
| 8627 eval "ac_cv_header_$ac_safe=yes" | 8831 eval "ac_cv_header_$ac_safe=yes" |
| 8628 else | 8832 else |
| 8648 fi | 8852 fi |
| 8649 | 8853 |
| 8650 | 8854 |
| 8651 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp" ; do | 8855 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp" ; do |
| 8652 if test -r $f; then { test "$extra_verbose" = "yes" && cat << EOF | 8856 if test -r $f; then { test "$extra_verbose" = "yes" && cat << EOF |
| 8653 Defining AIX_SMT_EXP = -bI:$f | 8857 Defining AIX_SMT_EXP = "-bI:$f" |
| 8654 EOF | 8858 EOF |
| 8655 cat >> confdefs.h <<EOF | 8859 cat >> confdefs.h <<EOF |
| 8656 #define AIX_SMT_EXP -bI:$f | 8860 #define AIX_SMT_EXP "-bI:$f" |
| 8657 EOF | 8861 EOF |
| 8658 } | 8862 } |
| 8659 break; fi | 8863 break; fi |
| 8660 done | 8864 done |
| 8661 | 8865 |
| 8662 | 8866 |
| 8663 echo "checking "for sound support"" 1>&6 | 8867 echo "checking "for sound support"" 1>&6 |
| 8664 echo "configure:8665: checking "for sound support"" >&5 | 8868 echo "configure:8869: checking "for sound support"" >&5 |
| 8665 case "$with_sound" in | 8869 case "$with_sound" in |
| 8666 native | both ) with_native_sound=yes;; | 8870 native | both ) with_native_sound=yes;; |
| 8667 nas | no ) with_native_sound=no;; | 8871 nas | no ) with_native_sound=no;; |
| 8668 esac | 8872 esac |
| 8669 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 8873 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 8670 | 8874 |
| 8671 if test "$with_native_sound" != "no"; then | 8875 if test "$with_native_sound" != "no"; then |
| 8672 if test -n "$native_sound_lib"; then | 8876 if test -n "$native_sound_lib"; then |
| 8673 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 8877 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 8674 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 8878 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 8675 echo "configure:8676: checking for multimedia/audio_device.h" >&5 | 8879 echo "configure:8880: checking for multimedia/audio_device.h" >&5 |
| 8676 | 8880 |
| 8677 cat > conftest.$ac_ext <<EOF | 8881 cat > conftest.$ac_ext <<EOF |
| 8678 #line 8679 "configure" | 8882 #line 8883 "configure" |
| 8679 #include "confdefs.h" | 8883 #include "confdefs.h" |
| 8680 #include <multimedia/audio_device.h> | 8884 #include <multimedia/audio_device.h> |
| 8681 EOF | 8885 EOF |
| 8682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8886 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8683 { (eval echo configure:8684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8887 { (eval echo configure:8888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8684 ac_err=`grep -v '^ *+' conftest.out` | 8888 ac_err=`grep -v '^ *+' conftest.out` |
| 8685 if test -z "$ac_err"; then | 8889 if test -z "$ac_err"; then |
| 8686 rm -rf conftest* | 8890 rm -rf conftest* |
| 8687 eval "ac_cv_header_$ac_safe=yes" | 8891 eval "ac_cv_header_$ac_safe=yes" |
| 8688 else | 8892 else |
| 8726 case "$canonical" in | 8930 case "$canonical" in |
| 8727 *-sgi-* ) | 8931 *-sgi-* ) |
| 8728 if test -z "$native_sound_lib"; then | 8932 if test -z "$native_sound_lib"; then |
| 8729 | 8933 |
| 8730 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 8934 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 8731 echo "configure:8732: checking for ALopenport in -laudio" >&5 | 8935 echo "configure:8936: checking for ALopenport in -laudio" >&5 |
| 8732 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 8936 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 8733 | 8937 |
| 8734 xe_check_libs=" -laudio " | 8938 xe_check_libs=" -laudio " |
| 8735 cat > conftest.$ac_ext <<EOF | 8939 cat > conftest.$ac_ext <<EOF |
| 8736 #line 8737 "configure" | 8940 #line 8941 "configure" |
| 8737 #include "confdefs.h" | 8941 #include "confdefs.h" |
| 8738 /* Override any gcc2 internal prototype to avoid an error. */ | 8942 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8739 /* We use char because int might match the return type of a gcc2 | 8943 /* We use char because int might match the return type of a gcc2 |
| 8740 builtin and then its argument prototype would still apply. */ | 8944 builtin and then its argument prototype would still apply. */ |
| 8741 char ALopenport(); | 8945 char ALopenport(); |
| 8742 | 8946 |
| 8743 int main() { | 8947 int main() { |
| 8744 ALopenport() | 8948 ALopenport() |
| 8745 ; return 0; } | 8949 ; return 0; } |
| 8746 EOF | 8950 EOF |
| 8747 if { (eval echo configure:8748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8951 if { (eval echo configure:8952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8748 rm -rf conftest* | 8952 rm -rf conftest* |
| 8749 eval "ac_cv_lib_$ac_lib_var=yes" | 8953 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8750 else | 8954 else |
| 8751 echo "configure: failed program was:" >&5 | 8955 echo "configure: failed program was:" >&5 |
| 8752 cat conftest.$ac_ext >&5 | 8956 cat conftest.$ac_ext >&5 |
| 8773 fi ;; | 8977 fi ;; |
| 8774 hppa*-hp-hpux* ) | 8978 hppa*-hp-hpux* ) |
| 8775 if test -z "$native_sound_lib"; then | 8979 if test -z "$native_sound_lib"; then |
| 8776 | 8980 |
| 8777 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 8981 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 8778 echo "configure:8779: checking for AOpenAudio in -lAlib" >&5 | 8982 echo "configure:8983: checking for AOpenAudio in -lAlib" >&5 |
| 8779 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 8983 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 8780 | 8984 |
| 8781 xe_check_libs=" -lAlib " | 8985 xe_check_libs=" -lAlib " |
| 8782 cat > conftest.$ac_ext <<EOF | 8986 cat > conftest.$ac_ext <<EOF |
| 8783 #line 8784 "configure" | 8987 #line 8988 "configure" |
| 8784 #include "confdefs.h" | 8988 #include "confdefs.h" |
| 8785 /* Override any gcc2 internal prototype to avoid an error. */ | 8989 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8786 /* We use char because int might match the return type of a gcc2 | 8990 /* We use char because int might match the return type of a gcc2 |
| 8787 builtin and then its argument prototype would still apply. */ | 8991 builtin and then its argument prototype would still apply. */ |
| 8788 char AOpenAudio(); | 8992 char AOpenAudio(); |
| 8789 | 8993 |
| 8790 int main() { | 8994 int main() { |
| 8791 AOpenAudio() | 8995 AOpenAudio() |
| 8792 ; return 0; } | 8996 ; return 0; } |
| 8793 EOF | 8997 EOF |
| 8794 if { (eval echo configure:8795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8998 if { (eval echo configure:8999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8795 rm -rf conftest* | 8999 rm -rf conftest* |
| 8796 eval "ac_cv_lib_$ac_lib_var=yes" | 9000 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8797 else | 9001 else |
| 8798 echo "configure: failed program was:" >&5 | 9002 echo "configure: failed program was:" >&5 |
| 8799 cat conftest.$ac_ext >&5 | 9003 cat conftest.$ac_ext >&5 |
| 8827 | 9031 |
| 8828 if test -z "$sound_found"; then | 9032 if test -z "$sound_found"; then |
| 8829 for dir in "machine" "sys" "linux"; do | 9033 for dir in "machine" "sys" "linux"; do |
| 8830 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9034 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 8831 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9035 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 8832 echo "configure:8833: checking for ${dir}/soundcard.h" >&5 | 9036 echo "configure:9037: checking for ${dir}/soundcard.h" >&5 |
| 8833 | 9037 |
| 8834 cat > conftest.$ac_ext <<EOF | 9038 cat > conftest.$ac_ext <<EOF |
| 8835 #line 8836 "configure" | 9039 #line 9040 "configure" |
| 8836 #include "confdefs.h" | 9040 #include "confdefs.h" |
| 8837 #include <${dir}/soundcard.h> | 9041 #include <${dir}/soundcard.h> |
| 8838 EOF | 9042 EOF |
| 8839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9043 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8840 { (eval echo configure:8841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9044 { (eval echo configure:9045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8841 ac_err=`grep -v '^ *+' conftest.out` | 9045 ac_err=`grep -v '^ *+' conftest.out` |
| 8842 if test -z "$ac_err"; then | 9046 if test -z "$ac_err"; then |
| 8843 rm -rf conftest* | 9047 rm -rf conftest* |
| 8844 eval "ac_cv_header_$ac_safe=yes" | 9048 eval "ac_cv_header_$ac_safe=yes" |
| 8845 else | 9049 else |
| 8905 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9109 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 8906 echo " xemacs will be linked with \"nas.o\"" | 9110 echo " xemacs will be linked with \"nas.o\"" |
| 8907 fi | 9111 fi |
| 8908 LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi | 9112 LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi |
| 8909 cat > conftest.$ac_ext <<EOF | 9113 cat > conftest.$ac_ext <<EOF |
| 8910 #line 8911 "configure" | 9114 #line 9115 "configure" |
| 8911 #include "confdefs.h" | 9115 #include "confdefs.h" |
| 8912 #include <audio/Xtutil.h> | 9116 #include <audio/Xtutil.h> |
| 8913 EOF | 9117 EOF |
| 8914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 8915 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9119 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 8932 | 9136 |
| 8933 test -z "$with_tty" && with_tty=yes | 9137 test -z "$with_tty" && with_tty=yes |
| 8934 | 9138 |
| 8935 if test "$with_tty" = "yes" ; then | 9139 if test "$with_tty" = "yes" ; then |
| 8936 echo "checking for TTY-related features" 1>&6 | 9140 echo "checking for TTY-related features" 1>&6 |
| 8937 echo "configure:8938: checking for TTY-related features" >&5 | 9141 echo "configure:9142: checking for TTY-related features" >&5 |
| 8938 { test "$extra_verbose" = "yes" && cat << \EOF | 9142 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8939 Defining HAVE_TTY | 9143 Defining HAVE_TTY |
| 8940 EOF | 9144 EOF |
| 8941 cat >> confdefs.h <<\EOF | 9145 cat >> confdefs.h <<\EOF |
| 8942 #define HAVE_TTY 1 | 9146 #define HAVE_TTY 1 |
| 8945 | 9149 |
| 8946 extra_objs="$extra_objs console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o" && if test "$extra_verbose" = "yes"; then | 9150 extra_objs="$extra_objs console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o" && if test "$extra_verbose" = "yes"; then |
| 8947 echo " xemacs will be linked with \"console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o\"" | 9151 echo " xemacs will be linked with \"console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o\"" |
| 8948 fi | 9152 fi |
| 8949 | 9153 |
| 8950 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | |
| 8951 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | |
| 8952 echo "configure:8953: checking for termios.h" >&5 | |
| 8953 | |
| 8954 cat > conftest.$ac_ext <<EOF | |
| 8955 #line 8956 "configure" | |
| 8956 #include "confdefs.h" | |
| 8957 #include <termios.h> | |
| 8958 EOF | |
| 8959 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 8960 { (eval echo configure:8961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 8961 ac_err=`grep -v '^ *+' conftest.out` | |
| 8962 if test -z "$ac_err"; then | |
| 8963 rm -rf conftest* | |
| 8964 eval "ac_cv_header_$ac_safe=yes" | |
| 8965 else | |
| 8966 echo "$ac_err" >&5 | |
| 8967 echo "configure: failed program was:" >&5 | |
| 8968 cat conftest.$ac_ext >&5 | |
| 8969 rm -rf conftest* | |
| 8970 eval "ac_cv_header_$ac_safe=no" | |
| 8971 fi | |
| 8972 rm -f conftest* | |
| 8973 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 8974 echo "$ac_t""yes" 1>&6 | |
| 8975 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 8976 Defining HAVE_TERMIOS | |
| 8977 EOF | |
| 8978 cat >> confdefs.h <<\EOF | |
| 8979 #define HAVE_TERMIOS 1 | |
| 8980 EOF | |
| 8981 } | |
| 8982 | |
| 8983 else | |
| 8984 echo "$ac_t""no" 1>&6 | |
| 8985 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | |
| 8986 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | |
| 8987 echo "configure:8988: checking for termio.h" >&5 | |
| 8988 | |
| 8989 cat > conftest.$ac_ext <<EOF | |
| 8990 #line 8991 "configure" | |
| 8991 #include "confdefs.h" | |
| 8992 #include <termio.h> | |
| 8993 EOF | |
| 8994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 8995 { (eval echo configure:8996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 8996 ac_err=`grep -v '^ *+' conftest.out` | |
| 8997 if test -z "$ac_err"; then | |
| 8998 rm -rf conftest* | |
| 8999 eval "ac_cv_header_$ac_safe=yes" | |
| 9000 else | |
| 9001 echo "$ac_err" >&5 | |
| 9002 echo "configure: failed program was:" >&5 | |
| 9003 cat conftest.$ac_ext >&5 | |
| 9004 rm -rf conftest* | |
| 9005 eval "ac_cv_header_$ac_safe=no" | |
| 9006 fi | |
| 9007 rm -f conftest* | |
| 9008 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 9009 echo "$ac_t""yes" 1>&6 | |
| 9010 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 9011 Defining HAVE_TERMIO | |
| 9012 EOF | |
| 9013 cat >> confdefs.h <<\EOF | |
| 9014 #define HAVE_TERMIO 1 | |
| 9015 EOF | |
| 9016 } | |
| 9017 | |
| 9018 else | |
| 9019 echo "$ac_t""no" 1>&6 | |
| 9020 fi | |
| 9021 | |
| 9022 fi | |
| 9023 | |
| 9024 | |
| 9025 if test -z "$with_ncurses"; then | 9154 if test -z "$with_ncurses"; then |
| 9026 | 9155 |
| 9027 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9156 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 9028 echo "configure:9029: checking for tgetent in -lncurses" >&5 | 9157 echo "configure:9158: checking for tgetent in -lncurses" >&5 |
| 9029 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9158 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9030 | 9159 |
| 9031 xe_check_libs=" -lncurses " | 9160 xe_check_libs=" -lncurses " |
| 9032 cat > conftest.$ac_ext <<EOF | 9161 cat > conftest.$ac_ext <<EOF |
| 9033 #line 9034 "configure" | 9162 #line 9163 "configure" |
| 9034 #include "confdefs.h" | 9163 #include "confdefs.h" |
| 9035 /* Override any gcc2 internal prototype to avoid an error. */ | 9164 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9036 /* We use char because int might match the return type of a gcc2 | 9165 /* We use char because int might match the return type of a gcc2 |
| 9037 builtin and then its argument prototype would still apply. */ | 9166 builtin and then its argument prototype would still apply. */ |
| 9038 char tgetent(); | 9167 char tgetent(); |
| 9039 | 9168 |
| 9040 int main() { | 9169 int main() { |
| 9041 tgetent() | 9170 tgetent() |
| 9042 ; return 0; } | 9171 ; return 0; } |
| 9043 EOF | 9172 EOF |
| 9044 if { (eval echo configure:9045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9173 if { (eval echo configure:9174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9045 rm -rf conftest* | 9174 rm -rf conftest* |
| 9046 eval "ac_cv_lib_$ac_lib_var=yes" | 9175 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9047 else | 9176 else |
| 9048 echo "configure: failed program was:" >&5 | 9177 echo "configure: failed program was:" >&5 |
| 9049 cat conftest.$ac_ext >&5 | 9178 cat conftest.$ac_ext >&5 |
| 9072 EOF | 9201 EOF |
| 9073 } | 9202 } |
| 9074 | 9203 |
| 9075 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9204 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9076 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9205 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9077 echo "configure:9078: checking for ncurses/curses.h" >&5 | 9206 echo "configure:9207: checking for ncurses/curses.h" >&5 |
| 9078 | 9207 |
| 9079 cat > conftest.$ac_ext <<EOF | 9208 cat > conftest.$ac_ext <<EOF |
| 9080 #line 9081 "configure" | 9209 #line 9210 "configure" |
| 9081 #include "confdefs.h" | 9210 #include "confdefs.h" |
| 9082 #include <ncurses/curses.h> | 9211 #include <ncurses/curses.h> |
| 9083 EOF | 9212 EOF |
| 9084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9085 { (eval echo configure:9086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9214 { (eval echo configure:9215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9086 ac_err=`grep -v '^ *+' conftest.out` | 9215 ac_err=`grep -v '^ *+' conftest.out` |
| 9087 if test -z "$ac_err"; then | 9216 if test -z "$ac_err"; then |
| 9088 rm -rf conftest* | 9217 rm -rf conftest* |
| 9089 eval "ac_cv_header_$ac_safe=yes" | 9218 eval "ac_cv_header_$ac_safe=yes" |
| 9090 else | 9219 else |
| 9102 echo "$ac_t""no" 1>&6 | 9231 echo "$ac_t""no" 1>&6 |
| 9103 fi | 9232 fi |
| 9104 | 9233 |
| 9105 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9234 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 9106 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9235 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 9107 echo "configure:9108: checking for ncurses/term.h" >&5 | 9236 echo "configure:9237: checking for ncurses/term.h" >&5 |
| 9108 | 9237 |
| 9109 cat > conftest.$ac_ext <<EOF | 9238 cat > conftest.$ac_ext <<EOF |
| 9110 #line 9111 "configure" | 9239 #line 9240 "configure" |
| 9111 #include "confdefs.h" | 9240 #include "confdefs.h" |
| 9112 #include <ncurses/term.h> | 9241 #include <ncurses/term.h> |
| 9113 EOF | 9242 EOF |
| 9114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9243 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9115 { (eval echo configure:9116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9244 { (eval echo configure:9245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9116 ac_err=`grep -v '^ *+' conftest.out` | 9245 ac_err=`grep -v '^ *+' conftest.out` |
| 9117 if test -z "$ac_err"; then | 9246 if test -z "$ac_err"; then |
| 9118 rm -rf conftest* | 9247 rm -rf conftest* |
| 9119 eval "ac_cv_header_$ac_safe=yes" | 9248 eval "ac_cv_header_$ac_safe=yes" |
| 9120 else | 9249 else |
| 9140 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9269 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 9141 save_c_switch_site="$c_switch_site" | 9270 save_c_switch_site="$c_switch_site" |
| 9142 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9271 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 9143 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9272 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9144 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9273 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9145 echo "configure:9146: checking for ncurses/curses.h" >&5 | 9274 echo "configure:9275: checking for ncurses/curses.h" >&5 |
| 9146 | 9275 |
| 9147 cat > conftest.$ac_ext <<EOF | 9276 cat > conftest.$ac_ext <<EOF |
| 9148 #line 9149 "configure" | 9277 #line 9278 "configure" |
| 9149 #include "confdefs.h" | 9278 #include "confdefs.h" |
| 9150 #include <ncurses/curses.h> | 9279 #include <ncurses/curses.h> |
| 9151 EOF | 9280 EOF |
| 9152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9153 { (eval echo configure:9154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9282 { (eval echo configure:9283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9154 ac_err=`grep -v '^ *+' conftest.out` | 9283 ac_err=`grep -v '^ *+' conftest.out` |
| 9155 if test -z "$ac_err"; then | 9284 if test -z "$ac_err"; then |
| 9156 rm -rf conftest* | 9285 rm -rf conftest* |
| 9157 eval "ac_cv_header_$ac_safe=yes" | 9286 eval "ac_cv_header_$ac_safe=yes" |
| 9158 else | 9287 else |
| 9183 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9312 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9184 else | 9313 else |
| 9185 for lib in curses termlib termcap; do | 9314 for lib in curses termlib termcap; do |
| 9186 | 9315 |
| 9187 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9316 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 9188 echo "configure:9189: checking for tgetent in -l$lib" >&5 | 9317 echo "configure:9318: checking for tgetent in -l$lib" >&5 |
| 9189 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9318 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 9190 | 9319 |
| 9191 xe_check_libs=" -l$lib " | 9320 xe_check_libs=" -l$lib " |
| 9192 cat > conftest.$ac_ext <<EOF | 9321 cat > conftest.$ac_ext <<EOF |
| 9193 #line 9194 "configure" | 9322 #line 9323 "configure" |
| 9194 #include "confdefs.h" | 9323 #include "confdefs.h" |
| 9195 /* Override any gcc2 internal prototype to avoid an error. */ | 9324 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9196 /* We use char because int might match the return type of a gcc2 | 9325 /* We use char because int might match the return type of a gcc2 |
| 9197 builtin and then its argument prototype would still apply. */ | 9326 builtin and then its argument prototype would still apply. */ |
| 9198 char tgetent(); | 9327 char tgetent(); |
| 9199 | 9328 |
| 9200 int main() { | 9329 int main() { |
| 9201 tgetent() | 9330 tgetent() |
| 9202 ; return 0; } | 9331 ; return 0; } |
| 9203 EOF | 9332 EOF |
| 9204 if { (eval echo configure:9205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9333 if { (eval echo configure:9334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9205 rm -rf conftest* | 9334 rm -rf conftest* |
| 9206 eval "ac_cv_lib_$ac_lib_var=yes" | 9335 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9207 else | 9336 else |
| 9208 echo "configure: failed program was:" >&5 | 9337 echo "configure: failed program was:" >&5 |
| 9209 cat conftest.$ac_ext >&5 | 9338 cat conftest.$ac_ext >&5 |
| 9230 if test -n "$libs_termcap"; then | 9359 if test -n "$libs_termcap"; then |
| 9231 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9360 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9232 else | 9361 else |
| 9233 | 9362 |
| 9234 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9363 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 9235 echo "configure:9236: checking for tgetent in -lcurses" >&5 | 9364 echo "configure:9365: checking for tgetent in -lcurses" >&5 |
| 9236 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9365 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9237 | 9366 |
| 9238 xe_check_libs=" -lcurses " | 9367 xe_check_libs=" -lcurses " |
| 9239 cat > conftest.$ac_ext <<EOF | 9368 cat > conftest.$ac_ext <<EOF |
| 9240 #line 9241 "configure" | 9369 #line 9370 "configure" |
| 9241 #include "confdefs.h" | 9370 #include "confdefs.h" |
| 9242 /* Override any gcc2 internal prototype to avoid an error. */ | 9371 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9243 /* We use char because int might match the return type of a gcc2 | 9372 /* We use char because int might match the return type of a gcc2 |
| 9244 builtin and then its argument prototype would still apply. */ | 9373 builtin and then its argument prototype would still apply. */ |
| 9245 char tgetent(); | 9374 char tgetent(); |
| 9246 | 9375 |
| 9247 int main() { | 9376 int main() { |
| 9248 tgetent() | 9377 tgetent() |
| 9249 ; return 0; } | 9378 ; return 0; } |
| 9250 EOF | 9379 EOF |
| 9251 if { (eval echo configure:9252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9380 if { (eval echo configure:9381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9252 rm -rf conftest* | 9381 rm -rf conftest* |
| 9253 eval "ac_cv_lib_$ac_lib_var=yes" | 9382 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9254 else | 9383 else |
| 9255 echo "configure: failed program was:" >&5 | 9384 echo "configure: failed program was:" >&5 |
| 9256 cat conftest.$ac_ext >&5 | 9385 cat conftest.$ac_ext >&5 |
| 9264 echo "$ac_t""yes" 1>&6 | 9393 echo "$ac_t""yes" 1>&6 |
| 9265 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9394 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 9266 else | 9395 else |
| 9267 echo "$ac_t""no" 1>&6 | 9396 echo "$ac_t""no" 1>&6 |
| 9268 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9397 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 9269 echo "configure:9270: checking for tgetent in -ltermcap" >&5 | 9398 echo "configure:9399: checking for tgetent in -ltermcap" >&5 |
| 9270 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9399 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 9271 | 9400 |
| 9272 xe_check_libs=" -ltermcap " | 9401 xe_check_libs=" -ltermcap " |
| 9273 cat > conftest.$ac_ext <<EOF | 9402 cat > conftest.$ac_ext <<EOF |
| 9274 #line 9275 "configure" | 9403 #line 9404 "configure" |
| 9275 #include "confdefs.h" | 9404 #include "confdefs.h" |
| 9276 /* Override any gcc2 internal prototype to avoid an error. */ | 9405 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9277 /* We use char because int might match the return type of a gcc2 | 9406 /* We use char because int might match the return type of a gcc2 |
| 9278 builtin and then its argument prototype would still apply. */ | 9407 builtin and then its argument prototype would still apply. */ |
| 9279 char tgetent(); | 9408 char tgetent(); |
| 9280 | 9409 |
| 9281 int main() { | 9410 int main() { |
| 9282 tgetent() | 9411 tgetent() |
| 9283 ; return 0; } | 9412 ; return 0; } |
| 9284 EOF | 9413 EOF |
| 9285 if { (eval echo configure:9286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9414 if { (eval echo configure:9415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9286 rm -rf conftest* | 9415 rm -rf conftest* |
| 9287 eval "ac_cv_lib_$ac_lib_var=yes" | 9416 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9288 else | 9417 else |
| 9289 echo "configure: failed program was:" >&5 | 9418 echo "configure: failed program was:" >&5 |
| 9290 cat conftest.$ac_ext >&5 | 9419 cat conftest.$ac_ext >&5 |
| 9328 } | 9457 } |
| 9329 | 9458 |
| 9330 | 9459 |
| 9331 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9460 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 9332 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9461 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 9333 echo "configure:9334: checking for gpm.h" >&5 | 9462 echo "configure:9463: checking for gpm.h" >&5 |
| 9334 | 9463 |
| 9335 cat > conftest.$ac_ext <<EOF | 9464 cat > conftest.$ac_ext <<EOF |
| 9336 #line 9337 "configure" | 9465 #line 9466 "configure" |
| 9337 #include "confdefs.h" | 9466 #include "confdefs.h" |
| 9338 #include <gpm.h> | 9467 #include <gpm.h> |
| 9339 EOF | 9468 EOF |
| 9340 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9341 { (eval echo configure:9342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9470 { (eval echo configure:9471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9342 ac_err=`grep -v '^ *+' conftest.out` | 9471 ac_err=`grep -v '^ *+' conftest.out` |
| 9343 if test -z "$ac_err"; then | 9472 if test -z "$ac_err"; then |
| 9344 rm -rf conftest* | 9473 rm -rf conftest* |
| 9345 eval "ac_cv_header_$ac_safe=yes" | 9474 eval "ac_cv_header_$ac_safe=yes" |
| 9346 else | 9475 else |
| 9359 with_gpm=no | 9488 with_gpm=no |
| 9360 fi | 9489 fi |
| 9361 } | 9490 } |
| 9362 test -z "$with_gpm" && { | 9491 test -z "$with_gpm" && { |
| 9363 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9492 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 9364 echo "configure:9365: checking for Gpm_Open in -lgpm" >&5 | 9493 echo "configure:9494: checking for Gpm_Open in -lgpm" >&5 |
| 9365 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9494 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 9366 | 9495 |
| 9367 xe_check_libs=" -lgpm " | 9496 xe_check_libs=" -lgpm " |
| 9368 cat > conftest.$ac_ext <<EOF | 9497 cat > conftest.$ac_ext <<EOF |
| 9369 #line 9370 "configure" | 9498 #line 9499 "configure" |
| 9370 #include "confdefs.h" | 9499 #include "confdefs.h" |
| 9371 /* Override any gcc2 internal prototype to avoid an error. */ | 9500 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9372 /* We use char because int might match the return type of a gcc2 | 9501 /* We use char because int might match the return type of a gcc2 |
| 9373 builtin and then its argument prototype would still apply. */ | 9502 builtin and then its argument prototype would still apply. */ |
| 9374 char Gpm_Open(); | 9503 char Gpm_Open(); |
| 9375 | 9504 |
| 9376 int main() { | 9505 int main() { |
| 9377 Gpm_Open() | 9506 Gpm_Open() |
| 9378 ; return 0; } | 9507 ; return 0; } |
| 9379 EOF | 9508 EOF |
| 9380 if { (eval echo configure:9381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9509 if { (eval echo configure:9510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9381 rm -rf conftest* | 9510 rm -rf conftest* |
| 9382 eval "ac_cv_lib_$ac_lib_var=yes" | 9511 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9383 else | 9512 else |
| 9384 echo "configure: failed program was:" >&5 | 9513 echo "configure: failed program was:" >&5 |
| 9385 cat conftest.$ac_ext >&5 | 9514 cat conftest.$ac_ext >&5 |
| 9424 echo " xemacs will be linked with \"event-unixoid.o\"" | 9553 echo " xemacs will be linked with \"event-unixoid.o\"" |
| 9425 fi | 9554 fi |
| 9426 | 9555 |
| 9427 | 9556 |
| 9428 echo "checking for database support" 1>&6 | 9557 echo "checking for database support" 1>&6 |
| 9429 echo "configure:9430: checking for database support" >&5 | 9558 echo "configure:9559: checking for database support" >&5 |
| 9430 | 9559 |
| 9431 if test "$with_database_gnudbm" != "no"; then | 9560 if test "$with_database_gnudbm" != "no"; then |
| 9432 | 9561 |
| 9433 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9562 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 9434 echo "configure:9435: checking for dbm_open in -lgdbm" >&5 | 9563 echo "configure:9564: checking for dbm_open in -lgdbm" >&5 |
| 9435 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9564 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9436 | 9565 |
| 9437 xe_check_libs=" -lgdbm " | 9566 xe_check_libs=" -lgdbm " |
| 9438 cat > conftest.$ac_ext <<EOF | 9567 cat > conftest.$ac_ext <<EOF |
| 9439 #line 9440 "configure" | 9568 #line 9569 "configure" |
| 9440 #include "confdefs.h" | 9569 #include "confdefs.h" |
| 9441 /* Override any gcc2 internal prototype to avoid an error. */ | 9570 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9442 /* We use char because int might match the return type of a gcc2 | 9571 /* We use char because int might match the return type of a gcc2 |
| 9443 builtin and then its argument prototype would still apply. */ | 9572 builtin and then its argument prototype would still apply. */ |
| 9444 char dbm_open(); | 9573 char dbm_open(); |
| 9445 | 9574 |
| 9446 int main() { | 9575 int main() { |
| 9447 dbm_open() | 9576 dbm_open() |
| 9448 ; return 0; } | 9577 ; return 0; } |
| 9449 EOF | 9578 EOF |
| 9450 if { (eval echo configure:9451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9579 if { (eval echo configure:9580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9451 rm -rf conftest* | 9580 rm -rf conftest* |
| 9452 eval "ac_cv_lib_$ac_lib_var=yes" | 9581 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9453 else | 9582 else |
| 9454 echo "configure: failed program was:" >&5 | 9583 echo "configure: failed program was:" >&5 |
| 9455 cat conftest.$ac_ext >&5 | 9584 cat conftest.$ac_ext >&5 |
| 9467 fi | 9596 fi |
| 9468 | 9597 |
| 9469 | 9598 |
| 9470 if test "$with_database_gnudbm" != "yes"; then | 9599 if test "$with_database_gnudbm" != "yes"; then |
| 9471 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9600 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9472 echo "configure:9473: checking for dbm_open" >&5 | 9601 echo "configure:9602: checking for dbm_open" >&5 |
| 9473 | 9602 |
| 9474 cat > conftest.$ac_ext <<EOF | 9603 cat > conftest.$ac_ext <<EOF |
| 9475 #line 9476 "configure" | 9604 #line 9605 "configure" |
| 9476 #include "confdefs.h" | 9605 #include "confdefs.h" |
| 9477 /* System header to define __stub macros and hopefully few prototypes, | 9606 /* System header to define __stub macros and hopefully few prototypes, |
| 9478 which can conflict with char dbm_open(); below. */ | 9607 which can conflict with char dbm_open(); below. */ |
| 9479 #include <assert.h> | 9608 #include <assert.h> |
| 9480 /* Override any gcc2 internal prototype to avoid an error. */ | 9609 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9493 dbm_open(); | 9622 dbm_open(); |
| 9494 #endif | 9623 #endif |
| 9495 | 9624 |
| 9496 ; return 0; } | 9625 ; return 0; } |
| 9497 EOF | 9626 EOF |
| 9498 if { (eval echo configure:9499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9627 if { (eval echo configure:9628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9499 rm -rf conftest* | 9628 rm -rf conftest* |
| 9500 eval "ac_cv_func_dbm_open=yes" | 9629 eval "ac_cv_func_dbm_open=yes" |
| 9501 else | 9630 else |
| 9502 echo "configure: failed program was:" >&5 | 9631 echo "configure: failed program was:" >&5 |
| 9503 cat conftest.$ac_ext >&5 | 9632 cat conftest.$ac_ext >&5 |
| 9529 fi | 9658 fi |
| 9530 fi | 9659 fi |
| 9531 | 9660 |
| 9532 if test "$with_database_dbm" != "no"; then | 9661 if test "$with_database_dbm" != "no"; then |
| 9533 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9662 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9534 echo "configure:9535: checking for dbm_open" >&5 | 9663 echo "configure:9664: checking for dbm_open" >&5 |
| 9535 | 9664 |
| 9536 cat > conftest.$ac_ext <<EOF | 9665 cat > conftest.$ac_ext <<EOF |
| 9537 #line 9538 "configure" | 9666 #line 9667 "configure" |
| 9538 #include "confdefs.h" | 9667 #include "confdefs.h" |
| 9539 /* System header to define __stub macros and hopefully few prototypes, | 9668 /* System header to define __stub macros and hopefully few prototypes, |
| 9540 which can conflict with char dbm_open(); below. */ | 9669 which can conflict with char dbm_open(); below. */ |
| 9541 #include <assert.h> | 9670 #include <assert.h> |
| 9542 /* Override any gcc2 internal prototype to avoid an error. */ | 9671 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9555 dbm_open(); | 9684 dbm_open(); |
| 9556 #endif | 9685 #endif |
| 9557 | 9686 |
| 9558 ; return 0; } | 9687 ; return 0; } |
| 9559 EOF | 9688 EOF |
| 9560 if { (eval echo configure:9561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9689 if { (eval echo configure:9690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9561 rm -rf conftest* | 9690 rm -rf conftest* |
| 9562 eval "ac_cv_func_dbm_open=yes" | 9691 eval "ac_cv_func_dbm_open=yes" |
| 9563 else | 9692 else |
| 9564 echo "configure: failed program was:" >&5 | 9693 echo "configure: failed program was:" >&5 |
| 9565 cat conftest.$ac_ext >&5 | 9694 cat conftest.$ac_ext >&5 |
| 9576 fi | 9705 fi |
| 9577 | 9706 |
| 9578 if test "$need_libdbm" != "no"; then | 9707 if test "$need_libdbm" != "no"; then |
| 9579 | 9708 |
| 9580 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9709 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 9581 echo "configure:9582: checking for dbm_open in -ldbm" >&5 | 9710 echo "configure:9711: checking for dbm_open in -ldbm" >&5 |
| 9582 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9711 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9583 | 9712 |
| 9584 xe_check_libs=" -ldbm " | 9713 xe_check_libs=" -ldbm " |
| 9585 cat > conftest.$ac_ext <<EOF | 9714 cat > conftest.$ac_ext <<EOF |
| 9586 #line 9587 "configure" | 9715 #line 9716 "configure" |
| 9587 #include "confdefs.h" | 9716 #include "confdefs.h" |
| 9588 /* Override any gcc2 internal prototype to avoid an error. */ | 9717 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9589 /* We use char because int might match the return type of a gcc2 | 9718 /* We use char because int might match the return type of a gcc2 |
| 9590 builtin and then its argument prototype would still apply. */ | 9719 builtin and then its argument prototype would still apply. */ |
| 9591 char dbm_open(); | 9720 char dbm_open(); |
| 9592 | 9721 |
| 9593 int main() { | 9722 int main() { |
| 9594 dbm_open() | 9723 dbm_open() |
| 9595 ; return 0; } | 9724 ; return 0; } |
| 9596 EOF | 9725 EOF |
| 9597 if { (eval echo configure:9598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9726 if { (eval echo configure:9727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9598 rm -rf conftest* | 9727 rm -rf conftest* |
| 9599 eval "ac_cv_lib_$ac_lib_var=yes" | 9728 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9600 else | 9729 else |
| 9601 echo "configure: failed program was:" >&5 | 9730 echo "configure: failed program was:" >&5 |
| 9602 cat conftest.$ac_ext >&5 | 9731 cat conftest.$ac_ext >&5 |
| 9629 fi | 9758 fi |
| 9630 fi | 9759 fi |
| 9631 | 9760 |
| 9632 if test "$with_database_berkdb" != "no"; then | 9761 if test "$with_database_berkdb" != "no"; then |
| 9633 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 9762 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
| 9634 echo "configure:9635: checking for dbopen" >&5 | 9763 echo "configure:9764: checking for dbopen" >&5 |
| 9635 | 9764 |
| 9636 cat > conftest.$ac_ext <<EOF | 9765 cat > conftest.$ac_ext <<EOF |
| 9637 #line 9638 "configure" | 9766 #line 9767 "configure" |
| 9638 #include "confdefs.h" | 9767 #include "confdefs.h" |
| 9639 /* System header to define __stub macros and hopefully few prototypes, | 9768 /* System header to define __stub macros and hopefully few prototypes, |
| 9640 which can conflict with char dbopen(); below. */ | 9769 which can conflict with char dbopen(); below. */ |
| 9641 #include <assert.h> | 9770 #include <assert.h> |
| 9642 /* Override any gcc2 internal prototype to avoid an error. */ | 9771 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9655 dbopen(); | 9784 dbopen(); |
| 9656 #endif | 9785 #endif |
| 9657 | 9786 |
| 9658 ; return 0; } | 9787 ; return 0; } |
| 9659 EOF | 9788 EOF |
| 9660 if { (eval echo configure:9661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9789 if { (eval echo configure:9790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9661 rm -rf conftest* | 9790 rm -rf conftest* |
| 9662 eval "ac_cv_func_dbopen=yes" | 9791 eval "ac_cv_func_dbopen=yes" |
| 9663 else | 9792 else |
| 9664 echo "configure: failed program was:" >&5 | 9793 echo "configure: failed program was:" >&5 |
| 9665 cat conftest.$ac_ext >&5 | 9794 cat conftest.$ac_ext >&5 |
| 9676 fi | 9805 fi |
| 9677 | 9806 |
| 9678 if test "$need_libdb" != "no"; then | 9807 if test "$need_libdb" != "no"; then |
| 9679 | 9808 |
| 9680 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 9809 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
| 9681 echo "configure:9682: checking for dbopen in -ldb" >&5 | 9810 echo "configure:9811: checking for dbopen in -ldb" >&5 |
| 9682 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 9811 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
| 9683 | 9812 |
| 9684 xe_check_libs=" -ldb " | 9813 xe_check_libs=" -ldb " |
| 9685 cat > conftest.$ac_ext <<EOF | 9814 cat > conftest.$ac_ext <<EOF |
| 9686 #line 9687 "configure" | 9815 #line 9816 "configure" |
| 9687 #include "confdefs.h" | 9816 #include "confdefs.h" |
| 9688 /* Override any gcc2 internal prototype to avoid an error. */ | 9817 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9689 /* We use char because int might match the return type of a gcc2 | 9818 /* We use char because int might match the return type of a gcc2 |
| 9690 builtin and then its argument prototype would still apply. */ | 9819 builtin and then its argument prototype would still apply. */ |
| 9691 char dbopen(); | 9820 char dbopen(); |
| 9692 | 9821 |
| 9693 int main() { | 9822 int main() { |
| 9694 dbopen() | 9823 dbopen() |
| 9695 ; return 0; } | 9824 ; return 0; } |
| 9696 EOF | 9825 EOF |
| 9697 if { (eval echo configure:9698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9826 if { (eval echo configure:9827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9698 rm -rf conftest* | 9827 rm -rf conftest* |
| 9699 eval "ac_cv_lib_$ac_lib_var=yes" | 9828 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9700 else | 9829 else |
| 9701 echo "configure: failed program was:" >&5 | 9830 echo "configure: failed program was:" >&5 |
| 9702 cat conftest.$ac_ext >&5 | 9831 cat conftest.$ac_ext >&5 |
| 9716 | 9845 |
| 9717 fi | 9846 fi |
| 9718 if test "$with_database_berkdb" = "yes"; then | 9847 if test "$with_database_berkdb" = "yes"; then |
| 9719 for path in "db/db.h" "db.h"; do | 9848 for path in "db/db.h" "db.h"; do |
| 9720 cat > conftest.$ac_ext <<EOF | 9849 cat > conftest.$ac_ext <<EOF |
| 9721 #line 9722 "configure" | 9850 #line 9851 "configure" |
| 9722 #include "confdefs.h" | 9851 #include "confdefs.h" |
| 9723 #ifdef HAVE_INTTYPES_H | 9852 #ifdef HAVE_INTTYPES_H |
| 9724 #define __BIT_TYPES_DEFINED__ | 9853 #define __BIT_TYPES_DEFINED__ |
| 9725 #include <inttypes.h> | 9854 #include <inttypes.h> |
| 9726 typedef uint8_t u_int8_t; | 9855 typedef uint8_t u_int8_t; |
| 9734 | 9863 |
| 9735 int main() { | 9864 int main() { |
| 9736 | 9865 |
| 9737 ; return 0; } | 9866 ; return 0; } |
| 9738 EOF | 9867 EOF |
| 9739 if { (eval echo configure:9740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9868 if { (eval echo configure:9869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 9740 rm -rf conftest* | 9869 rm -rf conftest* |
| 9741 db_h_path="$path"; break | 9870 db_h_path="$path"; break |
| 9742 else | 9871 else |
| 9743 echo "configure: failed program was:" >&5 | 9872 echo "configure: failed program was:" >&5 |
| 9744 cat conftest.$ac_ext >&5 | 9873 cat conftest.$ac_ext >&5 |
| 9786 fi | 9915 fi |
| 9787 | 9916 |
| 9788 if test "$with_socks" = "yes"; then | 9917 if test "$with_socks" = "yes"; then |
| 9789 | 9918 |
| 9790 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 9919 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 9791 echo "configure:9792: checking for SOCKSinit in -lsocks" >&5 | 9920 echo "configure:9921: checking for SOCKSinit in -lsocks" >&5 |
| 9792 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 9921 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 9793 | 9922 |
| 9794 xe_check_libs=" -lsocks " | 9923 xe_check_libs=" -lsocks " |
| 9795 cat > conftest.$ac_ext <<EOF | 9924 cat > conftest.$ac_ext <<EOF |
| 9796 #line 9797 "configure" | 9925 #line 9926 "configure" |
| 9797 #include "confdefs.h" | 9926 #include "confdefs.h" |
| 9798 /* Override any gcc2 internal prototype to avoid an error. */ | 9927 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9799 /* We use char because int might match the return type of a gcc2 | 9928 /* We use char because int might match the return type of a gcc2 |
| 9800 builtin and then its argument prototype would still apply. */ | 9929 builtin and then its argument prototype would still apply. */ |
| 9801 char SOCKSinit(); | 9930 char SOCKSinit(); |
| 9802 | 9931 |
| 9803 int main() { | 9932 int main() { |
| 9804 SOCKSinit() | 9933 SOCKSinit() |
| 9805 ; return 0; } | 9934 ; return 0; } |
| 9806 EOF | 9935 EOF |
| 9807 if { (eval echo configure:9808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9936 if { (eval echo configure:9937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9808 rm -rf conftest* | 9937 rm -rf conftest* |
| 9809 eval "ac_cv_lib_$ac_lib_var=yes" | 9938 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9810 else | 9939 else |
| 9811 echo "configure: failed program was:" >&5 | 9940 echo "configure: failed program was:" >&5 |
| 9812 cat conftest.$ac_ext >&5 | 9941 cat conftest.$ac_ext >&5 |
| 9858 fi | 9987 fi |
| 9859 | 9988 |
| 9860 | 9989 |
| 9861 | 9990 |
| 9862 T="" | 9991 T="" |
| 9992 for W in $CFLAGS; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | |
| 9993 CFLAGS="$T" | |
| 9994 | |
| 9995 | |
| 9996 T="" | |
| 9863 for W in $extra_objs; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 9997 for W in $extra_objs; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
| 9864 extra_objs="$T" | 9998 extra_objs="$T" |
| 9865 | 9999 |
| 9866 | 10000 |
| 9867 T="" | 10001 T="" |
| 9907 T="" | 10041 T="" |
| 9908 for W in $ld_libs_window_system $ld_libs_general; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 10042 for W in $ld_libs_window_system $ld_libs_general; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
| 9909 ld_libs_all="$T" | 10043 ld_libs_all="$T" |
| 9910 | 10044 |
| 9911 | 10045 |
| 9912 SRC_SUBDIR_DEPS="$MAKE_SUBDIR" | |
| 9913 | 10046 |
| 9914 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi | 10047 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi |
| 9915 internal_makefile_list="Makefile" | 10048 internal_makefile_list="Makefile" |
| 9916 SUBDIR_MAKEFILES='' | 10049 SUBDIR_MAKEFILES='' |
| 9917 test -d lock || mkdir lock | 10050 test -d lock || mkdir lock |
| 10005 | 10138 |
| 10006 | 10139 |
| 10007 | 10140 |
| 10008 | 10141 |
| 10009 | 10142 |
| 10010 | |
| 10011 RECURSIVE_MAKE="\$(MAKE) \$(MFLAGS) CC='\$(CC)' CFLAGS='\$(CFLAGS)' LDFLAGS='\$(LDFLAGS)' CPPFLAGS='\$(CPPFLAGS)'" | 10143 RECURSIVE_MAKE="\$(MAKE) \$(MFLAGS) CC='\$(CC)' CFLAGS='\$(CFLAGS)' LDFLAGS='\$(LDFLAGS)' CPPFLAGS='\$(CPPFLAGS)'" |
| 10012 | 10144 |
| 10013 | 10145 |
| 10014 | 10146 |
| 10015 | 10147 |
| 10215 test "$with_hesiod" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 10347 test "$with_hesiod" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
| 10216 Defining HESIOD | 10348 Defining HESIOD |
| 10217 EOF | 10349 EOF |
| 10218 cat >> confdefs.h <<\EOF | 10350 cat >> confdefs.h <<\EOF |
| 10219 #define HESIOD 1 | 10351 #define HESIOD 1 |
| 10220 EOF | |
| 10221 } | |
| 10222 | |
| 10223 test "$with_clash_detection" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | |
| 10224 Defining CLASH_DETECTION | |
| 10225 EOF | |
| 10226 cat >> confdefs.h <<\EOF | |
| 10227 #define CLASH_DETECTION 1 | |
| 10228 EOF | 10352 EOF |
| 10229 } | 10353 } |
| 10230 | 10354 |
| 10231 test "$use_union_type" != yes && { test "$extra_verbose" = "yes" && cat << \EOF | 10355 test "$use_union_type" != yes && { test "$extra_verbose" = "yes" && cat << \EOF |
| 10232 Defining NO_UNION_TYPE | 10356 Defining NO_UNION_TYPE |
| 10282 fi | 10406 fi |
| 10283 | 10407 |
| 10284 test "$with_gif" = yes && echo " Compiling in support for GIF image conversion." | 10408 test "$with_gif" = yes && echo " Compiling in support for GIF image conversion." |
| 10285 if test "$with_xpm" = yes; then | 10409 if test "$with_xpm" = yes; then |
| 10286 echo " Compiling in support for XPM images." | 10410 echo " Compiling in support for XPM images." |
| 10287 else | 10411 elif test "$with_x11" = yes; then |
| 10288 echo " --------------------------------------------------------------------" | 10412 echo " --------------------------------------------------------------------" |
| 10289 echo " WARNING: Compiling without XPM support." | 10413 echo " WARNING: Compiling without XPM support." |
| 10290 echo " WARNING: You should strongly considering installing XPM." | 10414 echo " WARNING: You should strongly considering installing XPM." |
| 10291 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." | 10415 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." |
| 10292 echo " --------------------------------------------------------------------" | 10416 echo " --------------------------------------------------------------------" |
| 10512 s%@ld_switch_window_system@%$ld_switch_window_system%g | 10636 s%@ld_switch_window_system@%$ld_switch_window_system%g |
| 10513 s%@ld_switch_all@%$ld_switch_all%g | 10637 s%@ld_switch_all@%$ld_switch_all%g |
| 10514 s%@ld_libs_general@%$ld_libs_general%g | 10638 s%@ld_libs_general@%$ld_libs_general%g |
| 10515 s%@ld_libs_window_system@%$ld_libs_window_system%g | 10639 s%@ld_libs_window_system@%$ld_libs_window_system%g |
| 10516 s%@ld_libs_all@%$ld_libs_all%g | 10640 s%@ld_libs_all@%$ld_libs_all%g |
| 10517 s%@libsrc_libs@%$libsrc_libs%g | |
| 10518 s%@RECURSIVE_MAKE@%$RECURSIVE_MAKE%g | 10641 s%@RECURSIVE_MAKE@%$RECURSIVE_MAKE%g |
| 10519 s%@native_sound_lib@%$native_sound_lib%g | 10642 s%@native_sound_lib@%$native_sound_lib%g |
| 10520 s%@sound_cflags@%$sound_cflags%g | 10643 s%@sound_cflags@%$sound_cflags%g |
| 10521 s%@dynodump_arch@%$dynodump_arch%g | 10644 s%@dynodump_arch@%$dynodump_arch%g |
| 10522 s%@internal_makefile_list@%$internal_makefile_list%g | 10645 s%@internal_makefile_list@%$internal_makefile_list%g |
| 10770 mv -f Makefile.new Makefile | 10893 mv -f Makefile.new Makefile |
| 10771 rm -f junk.c junk.cpp | 10894 rm -f junk.c junk.cpp |
| 10772 ) | 10895 ) |
| 10773 done | 10896 done |
| 10774 | 10897 |
| 10898 sed < config.status > lib-src/config.values \ | |
| 10899 -e 's/^s%@\(.*\)@%\(.*\)%g$/\1 "\2"/p' \ | |
| 10900 -e '/{ac_dA}.*{ac_dB}.*{ac_dC}.*{ac_dD}$/!d' \ | |
| 10901 -e 's/\${ac_dA}\(.*\)\${ac_dB}.*\${ac_dC}\(.*\)\${ac_dD}/\1 \2/' \ | |
| 10902 -e 's/^\([^ ]*\) $/\1 ""/' \ | |
| 10903 -e 's/ 1$/ t/' | |
| 10904 | |
| 10905 | |
| 10775 exit 0 | 10906 exit 0 |
| 10776 EOF | 10907 EOF |
| 10777 chmod +x $CONFIG_STATUS | 10908 chmod +x $CONFIG_STATUS |
| 10778 rm -fr confdefs* $ac_clean_files | 10909 rm -fr confdefs* $ac_clean_files |
| 10779 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 | 10910 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
