Mercurial > hg > xemacs-beta
comparison configure @ 209:41ff10fd062f r20-4b3
Import from CVS: tag r20-4b3
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 10:04:58 +0200 |
| parents | e45d5e7c476e |
| children | 78478c60bfcd |
comparison
equal
deleted
inserted
replaced
| 208:f427b8ec4379 | 209:41ff10fd062f |
|---|---|
| 281 option. This just allows for simultaneous | 281 option. This just allows for simultaneous |
| 282 in-place and --srcdir building.) | 282 in-place and --srcdir building.) |
| 283 --cflags=FLAGS Compiler flags. Overrides environment variable CFLAGS. | 283 --cflags=FLAGS Compiler flags. Overrides environment variable CFLAGS. |
| 284 --site-includes=PATH List of directories to search first for header files. | 284 --site-includes=PATH List of directories to search first for header files. |
| 285 --site-libraries=PATH List of directories to search first for libraries. | 285 --site-libraries=PATH List of directories to search first for libraries. |
| 286 --site-prefixes=PATH List of directories to search for include/ and lib/ | |
| 287 subdirectories, just after 'site-includes' and | |
| 288 'site-libraries'. | |
| 286 --site-runtime-libraries=PATH | 289 --site-runtime-libraries=PATH |
| 287 List of ALL directories to search for dynamically | 290 List of ALL directories to search for dynamically |
| 288 linked libraries at run time. | 291 linked libraries at run time. |
| 289 --dynamic=yes Link dynamically if supported by system. | 292 --dynamic=yes Link dynamically if supported by system. |
| 290 --dynamic=no Force static linking on systems where dynamic | 293 --dynamic=no Force static linking on systems where dynamic |
| 581 package_path | \ | 584 package_path | \ |
| 582 x_includes | \ | 585 x_includes | \ |
| 583 x_libraries | \ | 586 x_libraries | \ |
| 584 site_includes | \ | 587 site_includes | \ |
| 585 site_libraries | \ | 588 site_libraries | \ |
| 589 site_prefixes | \ | |
| 586 site_runtime_libraries ) | 590 site_runtime_libraries ) |
| 587 if test "$valomitted" = "yes" ; then | 591 if test "$valomitted" = "yes" ; then |
| 588 if test "$#" = 0 ; then | 592 if test "$#" = 0 ; then |
| 589 (echo "$progname: Usage error:" | 593 (echo "$progname: Usage error:" |
| 590 echo " " "The \`--$optname' option requires a value." | 594 echo " " "The \`--$optname' option requires a value." |
| 808 | 812 |
| 809 test "$extra_verbose" = "yes" && verbose=yes | 813 test "$extra_verbose" = "yes" && verbose=yes |
| 810 | 814 |
| 811 case "$site_includes" in *:* ) site_includes="`echo '' $site_includes | sed -e 's/^ //' -e 's/:/ /g'`";; esac | 815 case "$site_includes" in *:* ) site_includes="`echo '' $site_includes | sed -e 's/^ //' -e 's/:/ /g'`";; esac |
| 812 case "$site_libraries" in *:* ) site_libraries="`echo '' $site_libraries | sed -e 's/^ //' -e 's/:/ /g'`";; esac | 816 case "$site_libraries" in *:* ) site_libraries="`echo '' $site_libraries | sed -e 's/^ //' -e 's/:/ /g'`";; esac |
| 817 case "$site_prefixes" in *:* ) site_prefixes="`echo '' $site_prefixes | sed -e 's/^ //' -e 's/:/ /g'`";; esac | |
| 813 case "$site_runtime_libraries" in *:* ) site_runtime_libraries="`echo '' $site_runtime_libraries | sed -e 's/^ //' -e 's/:/ /g'`";; esac | 818 case "$site_runtime_libraries" in *:* ) site_runtime_libraries="`echo '' $site_runtime_libraries | sed -e 's/^ //' -e 's/:/ /g'`";; esac |
| 814 | 819 |
| 815 test -n "$with_x" && with_x11="$with_x" | 820 test -n "$with_x" && with_x11="$with_x" |
| 816 | 821 |
| 817 if test "$run_in_place" = "yes"; then | 822 if test "$run_in_place" = "yes"; then |
| 866 fi | 871 fi |
| 867 ;; | 872 ;; |
| 868 esac | 873 esac |
| 869 | 874 |
| 870 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 875 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 871 echo "configure:872: checking whether ln -s works" >&5 | 876 echo "configure:877: checking whether ln -s works" >&5 |
| 872 | 877 |
| 873 rm -f conftestdata | 878 rm -f conftestdata |
| 874 if ln -s X conftestdata 2>/dev/null | 879 if ln -s X conftestdata 2>/dev/null |
| 875 then | 880 then |
| 876 rm -f conftestdata | 881 rm -f conftestdata |
| 1043 } | 1048 } |
| 1044 | 1049 |
| 1045 | 1050 |
| 1046 | 1051 |
| 1047 echo "checking "the configuration name"" 1>&6 | 1052 echo "checking "the configuration name"" 1>&6 |
| 1048 echo "configure:1049: checking "the configuration name"" >&5 | 1053 echo "configure:1054: checking "the configuration name"" >&5 |
| 1049 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` | 1054 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` |
| 1050 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 1055 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
| 1051 exit $? | 1056 exit $? |
| 1052 fi | 1057 fi |
| 1053 | 1058 |
| 1499 xe_save_CFLAGS="$CFLAGS" | 1504 xe_save_CFLAGS="$CFLAGS" |
| 1500 | 1505 |
| 1501 # Extract the first word of "gcc", so it can be a program name with args. | 1506 # Extract the first word of "gcc", so it can be a program name with args. |
| 1502 set dummy gcc; ac_word=$2 | 1507 set dummy gcc; ac_word=$2 |
| 1503 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1508 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1504 echo "configure:1505: checking for $ac_word" >&5 | 1509 echo "configure:1510: checking for $ac_word" >&5 |
| 1505 | 1510 |
| 1506 if test -n "$CC"; then | 1511 if test -n "$CC"; then |
| 1507 ac_cv_prog_CC="$CC" # Let the user override the test. | 1512 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1508 else | 1513 else |
| 1509 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1514 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1525 | 1530 |
| 1526 if test -z "$CC"; then | 1531 if test -z "$CC"; then |
| 1527 # Extract the first word of "cc", so it can be a program name with args. | 1532 # Extract the first word of "cc", so it can be a program name with args. |
| 1528 set dummy cc; ac_word=$2 | 1533 set dummy cc; ac_word=$2 |
| 1529 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1534 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1530 echo "configure:1531: checking for $ac_word" >&5 | 1535 echo "configure:1536: checking for $ac_word" >&5 |
| 1531 | 1536 |
| 1532 if test -n "$CC"; then | 1537 if test -n "$CC"; then |
| 1533 ac_cv_prog_CC="$CC" # Let the user override the test. | 1538 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1534 else | 1539 else |
| 1535 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1540 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1570 | 1575 |
| 1571 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1576 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1572 fi | 1577 fi |
| 1573 | 1578 |
| 1574 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1579 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1575 echo "configure:1576: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1580 echo "configure:1581: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1576 | 1581 |
| 1577 ac_ext=c | 1582 ac_ext=c |
| 1578 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1583 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1579 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1584 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1580 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1585 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1582 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1587 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1583 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1588 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1584 cross_compiling=no | 1589 cross_compiling=no |
| 1585 | 1590 |
| 1586 cat > conftest.$ac_ext <<EOF | 1591 cat > conftest.$ac_ext <<EOF |
| 1587 #line 1588 "configure" | 1592 #line 1593 "configure" |
| 1588 #include "confdefs.h" | 1593 #include "confdefs.h" |
| 1589 main(){return(0);} | 1594 main(){return(0);} |
| 1590 EOF | 1595 EOF |
| 1591 if { (eval echo configure:1592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1596 if { (eval echo configure:1597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1592 ac_cv_prog_cc_works=yes | 1597 ac_cv_prog_cc_works=yes |
| 1593 # If we can't run a trivial program, we are probably using a cross compiler. | 1598 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1594 if (./conftest; exit) 2>/dev/null; then | 1599 if (./conftest; exit) 2>/dev/null; then |
| 1595 ac_cv_prog_cc_cross=no | 1600 ac_cv_prog_cc_cross=no |
| 1596 else | 1601 else |
| 1606 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1611 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1607 if test $ac_cv_prog_cc_works = no; then | 1612 if test $ac_cv_prog_cc_works = no; then |
| 1608 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1613 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1609 fi | 1614 fi |
| 1610 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1615 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1611 echo "configure:1612: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1616 echo "configure:1617: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1612 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1617 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1613 cross_compiling=$ac_cv_prog_cc_cross | 1618 cross_compiling=$ac_cv_prog_cc_cross |
| 1614 | 1619 |
| 1615 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1620 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1616 echo "configure:1617: checking whether we are using GNU C" >&5 | 1621 echo "configure:1622: checking whether we are using GNU C" >&5 |
| 1617 | 1622 |
| 1618 cat > conftest.c <<EOF | 1623 cat > conftest.c <<EOF |
| 1619 #ifdef __GNUC__ | 1624 #ifdef __GNUC__ |
| 1620 yes; | 1625 yes; |
| 1621 #endif | 1626 #endif |
| 1622 EOF | 1627 EOF |
| 1623 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1628 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1624 ac_cv_prog_gcc=yes | 1629 ac_cv_prog_gcc=yes |
| 1625 else | 1630 else |
| 1626 ac_cv_prog_gcc=no | 1631 ac_cv_prog_gcc=no |
| 1627 fi | 1632 fi |
| 1628 | 1633 |
| 1632 GCC=yes | 1637 GCC=yes |
| 1633 ac_test_CFLAGS="${CFLAGS+set}" | 1638 ac_test_CFLAGS="${CFLAGS+set}" |
| 1634 ac_save_CFLAGS="$CFLAGS" | 1639 ac_save_CFLAGS="$CFLAGS" |
| 1635 CFLAGS= | 1640 CFLAGS= |
| 1636 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1641 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1637 echo "configure:1638: checking whether ${CC-cc} accepts -g" >&5 | 1642 echo "configure:1643: checking whether ${CC-cc} accepts -g" >&5 |
| 1638 | 1643 |
| 1639 echo 'void f(){}' > conftest.c | 1644 echo 'void f(){}' > conftest.c |
| 1640 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1645 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1641 ac_cv_prog_cc_g=yes | 1646 ac_cv_prog_cc_g=yes |
| 1642 else | 1647 else |
| 1661 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1666 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1662 CC=${NON_GNU_CC-cc} | 1667 CC=${NON_GNU_CC-cc} |
| 1663 # Extract the first word of "gcc", so it can be a program name with args. | 1668 # Extract the first word of "gcc", so it can be a program name with args. |
| 1664 set dummy gcc; ac_word=$2 | 1669 set dummy gcc; ac_word=$2 |
| 1665 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1670 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1666 echo "configure:1667: checking for $ac_word" >&5 | 1671 echo "configure:1672: checking for $ac_word" >&5 |
| 1667 | 1672 |
| 1668 if test -n "$CC"; then | 1673 if test -n "$CC"; then |
| 1669 ac_cv_prog_CC="$CC" # Let the user override the test. | 1674 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1670 else | 1675 else |
| 1671 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1676 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1687 | 1692 |
| 1688 if test -z "$CC"; then | 1693 if test -z "$CC"; then |
| 1689 # Extract the first word of "cc", so it can be a program name with args. | 1694 # Extract the first word of "cc", so it can be a program name with args. |
| 1690 set dummy cc; ac_word=$2 | 1695 set dummy cc; ac_word=$2 |
| 1691 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1696 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1692 echo "configure:1693: checking for $ac_word" >&5 | 1697 echo "configure:1698: checking for $ac_word" >&5 |
| 1693 | 1698 |
| 1694 if test -n "$CC"; then | 1699 if test -n "$CC"; then |
| 1695 ac_cv_prog_CC="$CC" # Let the user override the test. | 1700 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1696 else | 1701 else |
| 1697 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1702 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1732 | 1737 |
| 1733 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1738 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1734 fi | 1739 fi |
| 1735 | 1740 |
| 1736 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1741 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1737 echo "configure:1738: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1742 echo "configure:1743: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1738 | 1743 |
| 1739 ac_ext=c | 1744 ac_ext=c |
| 1740 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1745 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1741 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1746 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1742 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1747 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1744 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1749 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1745 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1750 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1746 cross_compiling=no | 1751 cross_compiling=no |
| 1747 | 1752 |
| 1748 cat > conftest.$ac_ext <<EOF | 1753 cat > conftest.$ac_ext <<EOF |
| 1749 #line 1750 "configure" | 1754 #line 1755 "configure" |
| 1750 #include "confdefs.h" | 1755 #include "confdefs.h" |
| 1751 main(){return(0);} | 1756 main(){return(0);} |
| 1752 EOF | 1757 EOF |
| 1753 if { (eval echo configure:1754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1758 if { (eval echo configure:1759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1754 ac_cv_prog_cc_works=yes | 1759 ac_cv_prog_cc_works=yes |
| 1755 # If we can't run a trivial program, we are probably using a cross compiler. | 1760 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1756 if (./conftest; exit) 2>/dev/null; then | 1761 if (./conftest; exit) 2>/dev/null; then |
| 1757 ac_cv_prog_cc_cross=no | 1762 ac_cv_prog_cc_cross=no |
| 1758 else | 1763 else |
| 1768 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1773 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1769 if test $ac_cv_prog_cc_works = no; then | 1774 if test $ac_cv_prog_cc_works = no; then |
| 1770 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1775 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1771 fi | 1776 fi |
| 1772 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1777 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1773 echo "configure:1774: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1778 echo "configure:1779: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1774 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1779 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1775 cross_compiling=$ac_cv_prog_cc_cross | 1780 cross_compiling=$ac_cv_prog_cc_cross |
| 1776 | 1781 |
| 1777 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1782 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1778 echo "configure:1779: checking whether we are using GNU C" >&5 | 1783 echo "configure:1784: checking whether we are using GNU C" >&5 |
| 1779 | 1784 |
| 1780 cat > conftest.c <<EOF | 1785 cat > conftest.c <<EOF |
| 1781 #ifdef __GNUC__ | 1786 #ifdef __GNUC__ |
| 1782 yes; | 1787 yes; |
| 1783 #endif | 1788 #endif |
| 1784 EOF | 1789 EOF |
| 1785 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1790 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1786 ac_cv_prog_gcc=yes | 1791 ac_cv_prog_gcc=yes |
| 1787 else | 1792 else |
| 1788 ac_cv_prog_gcc=no | 1793 ac_cv_prog_gcc=no |
| 1789 fi | 1794 fi |
| 1790 | 1795 |
| 1794 GCC=yes | 1799 GCC=yes |
| 1795 ac_test_CFLAGS="${CFLAGS+set}" | 1800 ac_test_CFLAGS="${CFLAGS+set}" |
| 1796 ac_save_CFLAGS="$CFLAGS" | 1801 ac_save_CFLAGS="$CFLAGS" |
| 1797 CFLAGS= | 1802 CFLAGS= |
| 1798 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1803 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1799 echo "configure:1800: checking whether ${CC-cc} accepts -g" >&5 | 1804 echo "configure:1805: checking whether ${CC-cc} accepts -g" >&5 |
| 1800 | 1805 |
| 1801 echo 'void f(){}' > conftest.c | 1806 echo 'void f(){}' > conftest.c |
| 1802 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1807 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1803 ac_cv_prog_cc_g=yes | 1808 ac_cv_prog_cc_g=yes |
| 1804 else | 1809 else |
| 1823 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1828 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 1824 CC=gcc | 1829 CC=gcc |
| 1825 # Extract the first word of "gcc", so it can be a program name with args. | 1830 # Extract the first word of "gcc", so it can be a program name with args. |
| 1826 set dummy gcc; ac_word=$2 | 1831 set dummy gcc; ac_word=$2 |
| 1827 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1832 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1828 echo "configure:1829: checking for $ac_word" >&5 | 1833 echo "configure:1834: checking for $ac_word" >&5 |
| 1829 | 1834 |
| 1830 if test -n "$CC"; then | 1835 if test -n "$CC"; then |
| 1831 ac_cv_prog_CC="$CC" # Let the user override the test. | 1836 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1832 else | 1837 else |
| 1833 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1838 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1849 | 1854 |
| 1850 if test -z "$CC"; then | 1855 if test -z "$CC"; then |
| 1851 # Extract the first word of "cc", so it can be a program name with args. | 1856 # Extract the first word of "cc", so it can be a program name with args. |
| 1852 set dummy cc; ac_word=$2 | 1857 set dummy cc; ac_word=$2 |
| 1853 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1858 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1854 echo "configure:1855: checking for $ac_word" >&5 | 1859 echo "configure:1860: checking for $ac_word" >&5 |
| 1855 | 1860 |
| 1856 if test -n "$CC"; then | 1861 if test -n "$CC"; then |
| 1857 ac_cv_prog_CC="$CC" # Let the user override the test. | 1862 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1858 else | 1863 else |
| 1859 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1864 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1894 | 1899 |
| 1895 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1900 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1896 fi | 1901 fi |
| 1897 | 1902 |
| 1898 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1903 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1899 echo "configure:1900: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1904 echo "configure:1905: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1900 | 1905 |
| 1901 ac_ext=c | 1906 ac_ext=c |
| 1902 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1907 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1903 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1908 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1904 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1909 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1906 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1911 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1907 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1912 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1908 cross_compiling=no | 1913 cross_compiling=no |
| 1909 | 1914 |
| 1910 cat > conftest.$ac_ext <<EOF | 1915 cat > conftest.$ac_ext <<EOF |
| 1911 #line 1912 "configure" | 1916 #line 1917 "configure" |
| 1912 #include "confdefs.h" | 1917 #include "confdefs.h" |
| 1913 main(){return(0);} | 1918 main(){return(0);} |
| 1914 EOF | 1919 EOF |
| 1915 if { (eval echo configure:1916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1920 if { (eval echo configure:1921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1916 ac_cv_prog_cc_works=yes | 1921 ac_cv_prog_cc_works=yes |
| 1917 # If we can't run a trivial program, we are probably using a cross compiler. | 1922 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1918 if (./conftest; exit) 2>/dev/null; then | 1923 if (./conftest; exit) 2>/dev/null; then |
| 1919 ac_cv_prog_cc_cross=no | 1924 ac_cv_prog_cc_cross=no |
| 1920 else | 1925 else |
| 1930 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1935 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1931 if test $ac_cv_prog_cc_works = no; then | 1936 if test $ac_cv_prog_cc_works = no; then |
| 1932 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1937 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1933 fi | 1938 fi |
| 1934 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1939 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1935 echo "configure:1936: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1940 echo "configure:1941: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1936 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1941 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1937 cross_compiling=$ac_cv_prog_cc_cross | 1942 cross_compiling=$ac_cv_prog_cc_cross |
| 1938 | 1943 |
| 1939 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1944 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1940 echo "configure:1941: checking whether we are using GNU C" >&5 | 1945 echo "configure:1946: checking whether we are using GNU C" >&5 |
| 1941 | 1946 |
| 1942 cat > conftest.c <<EOF | 1947 cat > conftest.c <<EOF |
| 1943 #ifdef __GNUC__ | 1948 #ifdef __GNUC__ |
| 1944 yes; | 1949 yes; |
| 1945 #endif | 1950 #endif |
| 1946 EOF | 1951 EOF |
| 1947 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1952 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1948 ac_cv_prog_gcc=yes | 1953 ac_cv_prog_gcc=yes |
| 1949 else | 1954 else |
| 1950 ac_cv_prog_gcc=no | 1955 ac_cv_prog_gcc=no |
| 1951 fi | 1956 fi |
| 1952 | 1957 |
| 1956 GCC=yes | 1961 GCC=yes |
| 1957 ac_test_CFLAGS="${CFLAGS+set}" | 1962 ac_test_CFLAGS="${CFLAGS+set}" |
| 1958 ac_save_CFLAGS="$CFLAGS" | 1963 ac_save_CFLAGS="$CFLAGS" |
| 1959 CFLAGS= | 1964 CFLAGS= |
| 1960 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1965 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1961 echo "configure:1962: checking whether ${CC-cc} accepts -g" >&5 | 1966 echo "configure:1967: checking whether ${CC-cc} accepts -g" >&5 |
| 1962 | 1967 |
| 1963 echo 'void f(){}' > conftest.c | 1968 echo 'void f(){}' > conftest.c |
| 1964 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1969 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1965 ac_cv_prog_cc_g=yes | 1970 ac_cv_prog_cc_g=yes |
| 1966 else | 1971 else |
| 1989 test -n "$CPP" -a -d "$CPP" && CPP= | 1994 test -n "$CPP" -a -d "$CPP" && CPP= |
| 1990 | 1995 |
| 1991 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1996 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 1992 | 1997 |
| 1993 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1998 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1994 echo "configure:1995: checking how to run the C preprocessor" >&5 | 1999 echo "configure:2000: checking how to run the C preprocessor" >&5 |
| 1995 # On Suns, sometimes $CPP names a directory. | 2000 # On Suns, sometimes $CPP names a directory. |
| 1996 if test -n "$CPP" && test -d "$CPP"; then | 2001 if test -n "$CPP" && test -d "$CPP"; then |
| 1997 CPP= | 2002 CPP= |
| 1998 fi | 2003 fi |
| 1999 if test -z "$CPP"; then | 2004 if test -z "$CPP"; then |
| 2002 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2007 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 2003 CPP="${CC-cc} -E" | 2008 CPP="${CC-cc} -E" |
| 2004 # On the NeXT, cc -E runs the code through the compiler's parser, | 2009 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 2005 # not just through cpp. | 2010 # not just through cpp. |
| 2006 cat > conftest.$ac_ext <<EOF | 2011 cat > conftest.$ac_ext <<EOF |
| 2007 #line 2008 "configure" | 2012 #line 2013 "configure" |
| 2008 #include "confdefs.h" | 2013 #include "confdefs.h" |
| 2009 #include <assert.h> | 2014 #include <assert.h> |
| 2010 Syntax Error | 2015 Syntax Error |
| 2011 EOF | 2016 EOF |
| 2012 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2017 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2013 { (eval echo configure:2014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2018 { (eval echo configure:2019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2014 ac_err=`grep -v '^ *+' conftest.out` | 2019 ac_err=`grep -v '^ *+' conftest.out` |
| 2015 if test -z "$ac_err"; then | 2020 if test -z "$ac_err"; then |
| 2016 : | 2021 : |
| 2017 else | 2022 else |
| 2018 echo "$ac_err" >&5 | 2023 echo "$ac_err" >&5 |
| 2019 echo "configure: failed program was:" >&5 | 2024 echo "configure: failed program was:" >&5 |
| 2020 cat conftest.$ac_ext >&5 | 2025 cat conftest.$ac_ext >&5 |
| 2021 rm -rf conftest* | 2026 rm -rf conftest* |
| 2022 CPP="${CC-cc} -E -traditional-cpp" | 2027 CPP="${CC-cc} -E -traditional-cpp" |
| 2023 cat > conftest.$ac_ext <<EOF | 2028 cat > conftest.$ac_ext <<EOF |
| 2024 #line 2025 "configure" | 2029 #line 2030 "configure" |
| 2025 #include "confdefs.h" | 2030 #include "confdefs.h" |
| 2026 #include <assert.h> | 2031 #include <assert.h> |
| 2027 Syntax Error | 2032 Syntax Error |
| 2028 EOF | 2033 EOF |
| 2029 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2034 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2030 { (eval echo configure:2031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2035 { (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2031 ac_err=`grep -v '^ *+' conftest.out` | 2036 ac_err=`grep -v '^ *+' conftest.out` |
| 2032 if test -z "$ac_err"; then | 2037 if test -z "$ac_err"; then |
| 2033 : | 2038 : |
| 2034 else | 2039 else |
| 2035 echo "$ac_err" >&5 | 2040 echo "$ac_err" >&5 |
| 2048 fi | 2053 fi |
| 2049 echo "$ac_t""$CPP" 1>&6 | 2054 echo "$ac_t""$CPP" 1>&6 |
| 2050 | 2055 |
| 2051 | 2056 |
| 2052 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2057 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 2053 echo "configure:2054: checking for AIX" >&5 | 2058 echo "configure:2059: checking for AIX" >&5 |
| 2054 cat > conftest.$ac_ext <<EOF | 2059 cat > conftest.$ac_ext <<EOF |
| 2055 #line 2056 "configure" | 2060 #line 2061 "configure" |
| 2056 #include "confdefs.h" | 2061 #include "confdefs.h" |
| 2057 #ifdef _AIX | 2062 #ifdef _AIX |
| 2058 yes | 2063 yes |
| 2059 #endif | 2064 #endif |
| 2060 | 2065 |
| 2077 rm -f conftest* | 2082 rm -f conftest* |
| 2078 | 2083 |
| 2079 | 2084 |
| 2080 | 2085 |
| 2081 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 2086 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
| 2082 echo "configure:2083: checking whether we are using SunPro C" >&5 | 2087 echo "configure:2088: checking whether we are using SunPro C" >&5 |
| 2083 cat > conftest.$ac_ext <<EOF | 2088 cat > conftest.$ac_ext <<EOF |
| 2084 #line 2085 "configure" | 2089 #line 2090 "configure" |
| 2085 #include "confdefs.h" | 2090 #include "confdefs.h" |
| 2086 | 2091 |
| 2087 int main() { | 2092 int main() { |
| 2088 #ifndef __SUNPRO_C | 2093 #ifndef __SUNPRO_C |
| 2089 #error Not a SunPro compiler :-( | 2094 #error Not a SunPro compiler :-( |
| 2090 ******* ======= ******** &&&&&&&& | 2095 ******* ======= ******** &&&&&&&& |
| 2091 #endif | 2096 #endif |
| 2092 | 2097 |
| 2093 ; return 0; } | 2098 ; return 0; } |
| 2094 EOF | 2099 EOF |
| 2095 if { (eval echo configure:2096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2100 if { (eval echo configure:2101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2096 rm -rf conftest* | 2101 rm -rf conftest* |
| 2097 __sunpro_c=yes | 2102 __sunpro_c=yes |
| 2098 else | 2103 else |
| 2099 echo "configure: failed program was:" >&5 | 2104 echo "configure: failed program was:" >&5 |
| 2100 cat conftest.$ac_ext >&5 | 2105 cat conftest.$ac_ext >&5 |
| 2326 | 2331 |
| 2327 if test "$GCC" = "yes"; then | 2332 if test "$GCC" = "yes"; then |
| 2328 ld_switch_system_tmp="$ld_switch_system"; ld_switch_system="" | 2333 ld_switch_system_tmp="$ld_switch_system"; ld_switch_system="" |
| 2329 for arg in $ld_switch_system_tmp; do | 2334 for arg in $ld_switch_system_tmp; do |
| 2330 case "$arg" in | 2335 case "$arg" in |
| 2331 -L* | -l* | -R* | -u* | -Wl* | -f* | -B*) ld_switch_system="$ld_switch_system $arg" ;; | 2336 -L* | -l* | -R* | -u* | -Wl* | -f*) ld_switch_system="$ld_switch_system $arg" ;; |
| 2332 -Xlinker* ) ;; | 2337 -Xlinker* ) ;; |
| 2333 * ) ld_switch_system="$ld_switch_system -Xlinker $arg" ;; | 2338 * ) ld_switch_system="$ld_switch_system -Xlinker $arg" ;; |
| 2334 esac | 2339 esac |
| 2335 done | 2340 done |
| 2336 ld_switch_machine_tmp="$ld_switch_machine"; ld_switch_machine="" | 2341 ld_switch_machine_tmp="$ld_switch_machine"; ld_switch_machine="" |
| 2337 for arg in $ld_switch_machine_tmp; do | 2342 for arg in $ld_switch_machine_tmp; do |
| 2338 case "$arg" in | 2343 case "$arg" in |
| 2339 -L* | -l* | -R* | -u* | -Wl* | -f* | -B*) ld_switch_machine="$ld_switch_machine $arg" ;; | 2344 -L* | -l* | -R* | -u* | -Wl* | -f*) ld_switch_machine="$ld_switch_machine $arg" ;; |
| 2340 -Xlinker* ) ;; | 2345 -Xlinker* ) ;; |
| 2341 * ) ld_switch_machine="$ld_switch_machine -Xlinker $arg" ;; | 2346 * ) ld_switch_machine="$ld_switch_machine -Xlinker $arg" ;; |
| 2342 esac | 2347 esac |
| 2343 done | 2348 done |
| 2344 LDFLAGS_tmp="$LDFLAGS"; LDFLAGS="" | 2349 LDFLAGS_tmp="$LDFLAGS"; LDFLAGS="" |
| 2345 for arg in $LDFLAGS_tmp; do | 2350 for arg in $LDFLAGS_tmp; do |
| 2346 case "$arg" in | 2351 case "$arg" in |
| 2347 -L* | -l* | -R* | -u* | -Wl* | -f* | -B*) LDFLAGS="$LDFLAGS $arg" ;; | 2352 -L* | -l* | -R* | -u* | -Wl* | -f*) LDFLAGS="$LDFLAGS $arg" ;; |
| 2348 -Xlinker* ) ;; | 2353 -Xlinker* ) ;; |
| 2349 * ) LDFLAGS="$LDFLAGS -Xlinker $arg" ;; | 2354 * ) LDFLAGS="$LDFLAGS -Xlinker $arg" ;; |
| 2350 esac | 2355 esac |
| 2351 done | 2356 done |
| 2352 ld_call_shared_tmp="$ld_call_shared"; ld_call_shared="" | 2357 ld_call_shared_tmp="$ld_call_shared"; ld_call_shared="" |
| 2353 for arg in $ld_call_shared_tmp; do | 2358 for arg in $ld_call_shared_tmp; do |
| 2354 case "$arg" in | 2359 case "$arg" in |
| 2355 -L* | -l* | -R* | -u* | -Wl* | -f* | -B*) ld_call_shared="$ld_call_shared $arg" ;; | 2360 -L* | -l* | -R* | -u* | -Wl* | -f*) ld_call_shared="$ld_call_shared $arg" ;; |
| 2356 -Xlinker* ) ;; | 2361 -Xlinker* ) ;; |
| 2357 * ) ld_call_shared="$ld_call_shared -Xlinker $arg" ;; | 2362 * ) ld_call_shared="$ld_call_shared -Xlinker $arg" ;; |
| 2358 esac | 2363 esac |
| 2359 done | 2364 done |
| 2360 fi | 2365 fi |
| 2368 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2373 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2369 echo " xemacs will be linked with \"$unexec\"" | 2374 echo " xemacs will be linked with \"$unexec\"" |
| 2370 fi | 2375 fi |
| 2371 | 2376 |
| 2372 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2377 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2373 echo "configure:2374: checking for dynodump" >&5 | 2378 echo "configure:2379: checking for dynodump" >&5 |
| 2374 if test "$unexec" != "unexsol2.o"; then | 2379 if test "$unexec" != "unexsol2.o"; then |
| 2375 echo "$ac_t""no" 1>&6 | 2380 echo "$ac_t""no" 1>&6 |
| 2376 else | 2381 else |
| 2377 echo "$ac_t""yes" 1>&6 | 2382 echo "$ac_t""yes" 1>&6 |
| 2378 { test "$extra_verbose" = "yes" && cat << \EOF | 2383 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2394 fi | 2399 fi |
| 2395 | 2400 |
| 2396 | 2401 |
| 2397 if test "$unexec" = "unexaix.o"; then | 2402 if test "$unexec" = "unexaix.o"; then |
| 2398 start_flags="-Wl,-bnso,-bnodelcsect" | 2403 start_flags="-Wl,-bnso,-bnodelcsect" |
| 2399 test "$GCC" = "yes" && start_flags="-B/bin/ ${aixflags}" | 2404 test "$GCC" = "yes" && start_flags="-B/bin/ ${start_flags}" |
| 2400 for f in "/lib/syscalls.exp" "$srcdir/src/m/ibmrs6000.inp"; do | 2405 for f in "/lib/syscalls.exp" "$srcdir/src/m/ibmrs6000.inp"; do |
| 2401 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; fi | 2406 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; fi |
| 2402 done | 2407 done |
| 2403 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2408 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
| 2404 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2409 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
| 2417 test "$GCC" != "yes" && lib_gcc= | 2422 test "$GCC" != "yes" && lib_gcc= |
| 2418 | 2423 |
| 2419 | 2424 |
| 2420 | 2425 |
| 2421 | 2426 |
| 2427 | |
| 2428 if test -n "$site_prefixes"; then | |
| 2429 for arg in $site_prefixes; do | |
| 2430 case "$arg" in | |
| 2431 -* ) ;; | |
| 2432 * ) argi="-I${arg}/include" ; argl="-L${arg}/lib" ;; | |
| 2433 esac | |
| 2434 c_switch_site="$c_switch_site $argi" && if test "$extra_verbose" = "yes"; then echo " Appending \"$argi\" to \$c_switch_site"; fi | |
| 2435 ld_switch_site="$ld_switch_site $argl" && if test "$extra_verbose" = "yes"; then echo " Appending \"$argl\" to \$ld_switch_site"; fi | |
| 2436 done | |
| 2437 fi | |
| 2438 | |
| 2422 if test -n "$site_libraries"; then | 2439 if test -n "$site_libraries"; then |
| 2423 for arg in $site_libraries; do | 2440 for arg in $site_libraries; do |
| 2424 case "$arg" in -* ) ;; * ) arg="-L${arg}" ;; esac | 2441 case "$arg" in -* ) ;; * ) arg="-L${arg}" ;; esac |
| 2425 ld_switch_site="$ld_switch_site $arg" && if test "$extra_verbose" = "yes"; then echo " Appending \"$arg\" to \$ld_switch_site"; fi | 2442 ld_switch_site="$ld_switch_site $arg" && if test "$extra_verbose" = "yes"; then echo " Appending \"$arg\" to \$ld_switch_site"; fi |
| 2426 done | 2443 done |
| 2452 esac | 2469 esac |
| 2453 fi | 2470 fi |
| 2454 | 2471 |
| 2455 if test "$add_runtime_path" = "yes"; then | 2472 if test "$add_runtime_path" = "yes"; then |
| 2456 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2473 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2457 echo "configure:2458: checking "for runtime libraries flag"" >&5 | 2474 echo "configure:2475: checking "for runtime libraries flag"" >&5 |
| 2458 dash_r="" | 2475 dash_r="" |
| 2459 for try_dash_r in "-R" "-R " "-rpath "; do | 2476 for try_dash_r in "-R" "-R " "-rpath "; do |
| 2460 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2477 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
| 2461 cat > conftest.$ac_ext <<EOF | 2478 cat > conftest.$ac_ext <<EOF |
| 2462 #line 2463 "configure" | 2479 #line 2480 "configure" |
| 2463 #include "confdefs.h" | 2480 #include "confdefs.h" |
| 2464 | 2481 |
| 2465 int main() { | 2482 int main() { |
| 2466 | 2483 |
| 2467 ; return 0; } | 2484 ; return 0; } |
| 2468 EOF | 2485 EOF |
| 2469 if { (eval echo configure:2470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2486 if { (eval echo configure:2487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2470 rm -rf conftest* | 2487 rm -rf conftest* |
| 2471 dash_r="$try_dash_r" | 2488 dash_r="$try_dash_r" |
| 2472 else | 2489 else |
| 2473 echo "configure: failed program was:" >&5 | 2490 echo "configure: failed program was:" >&5 |
| 2474 cat conftest.$ac_ext >&5 | 2491 cat conftest.$ac_ext >&5 |
| 2562 | 2579 |
| 2563 | 2580 |
| 2564 # Extract the first word of "ranlib", so it can be a program name with args. | 2581 # Extract the first word of "ranlib", so it can be a program name with args. |
| 2565 set dummy ranlib; ac_word=$2 | 2582 set dummy ranlib; ac_word=$2 |
| 2566 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2583 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2567 echo "configure:2568: checking for $ac_word" >&5 | 2584 echo "configure:2585: checking for $ac_word" >&5 |
| 2568 | 2585 |
| 2569 if test -n "$RANLIB"; then | 2586 if test -n "$RANLIB"; then |
| 2570 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2587 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2571 else | 2588 else |
| 2572 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2589 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2615 # AIX /bin/install | 2632 # AIX /bin/install |
| 2616 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2633 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2617 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2634 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2618 # ./install, which can be erroneously created by make from ./install.sh. | 2635 # ./install, which can be erroneously created by make from ./install.sh. |
| 2619 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2636 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2620 echo "configure:2621: checking for a BSD compatible install" >&5 | 2637 echo "configure:2638: checking for a BSD compatible install" >&5 |
| 2621 if test -z "$INSTALL"; then | 2638 if test -z "$INSTALL"; then |
| 2622 | 2639 |
| 2623 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2640 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
| 2624 for ac_dir in $PATH; do | 2641 for ac_dir in $PATH; do |
| 2625 # Account for people who put trailing slashes in PATH elements. | 2642 # Account for people who put trailing slashes in PATH elements. |
| 2666 for ac_prog in 'bison -y' byacc | 2683 for ac_prog in 'bison -y' byacc |
| 2667 do | 2684 do |
| 2668 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2685 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2669 set dummy $ac_prog; ac_word=$2 | 2686 set dummy $ac_prog; ac_word=$2 |
| 2670 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2687 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2671 echo "configure:2672: checking for $ac_word" >&5 | 2688 echo "configure:2689: checking for $ac_word" >&5 |
| 2672 | 2689 |
| 2673 if test -n "$YACC"; then | 2690 if test -n "$YACC"; then |
| 2674 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2691 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 2675 else | 2692 else |
| 2676 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2693 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2697 | 2714 |
| 2698 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2715 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 2699 do | 2716 do |
| 2700 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2717 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2701 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2718 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2702 echo "configure:2703: checking for $ac_hdr" >&5 | 2719 echo "configure:2720: checking for $ac_hdr" >&5 |
| 2703 | 2720 |
| 2704 cat > conftest.$ac_ext <<EOF | 2721 cat > conftest.$ac_ext <<EOF |
| 2705 #line 2706 "configure" | 2722 #line 2723 "configure" |
| 2706 #include "confdefs.h" | 2723 #include "confdefs.h" |
| 2707 #include <$ac_hdr> | 2724 #include <$ac_hdr> |
| 2708 EOF | 2725 EOF |
| 2709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2710 { (eval echo configure:2711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2727 { (eval echo configure:2728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2711 ac_err=`grep -v '^ *+' conftest.out` | 2728 ac_err=`grep -v '^ *+' conftest.out` |
| 2712 if test -z "$ac_err"; then | 2729 if test -z "$ac_err"; then |
| 2713 rm -rf conftest* | 2730 rm -rf conftest* |
| 2714 eval "ac_cv_header_$ac_safe=yes" | 2731 eval "ac_cv_header_$ac_safe=yes" |
| 2715 else | 2732 else |
| 2738 | 2755 |
| 2739 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2756 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
| 2740 do | 2757 do |
| 2741 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2758 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2742 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2759 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2743 echo "configure:2744: checking for $ac_hdr" >&5 | 2760 echo "configure:2761: checking for $ac_hdr" >&5 |
| 2744 | 2761 |
| 2745 cat > conftest.$ac_ext <<EOF | 2762 cat > conftest.$ac_ext <<EOF |
| 2746 #line 2747 "configure" | 2763 #line 2764 "configure" |
| 2747 #include "confdefs.h" | 2764 #include "confdefs.h" |
| 2748 #include <$ac_hdr> | 2765 #include <$ac_hdr> |
| 2749 EOF | 2766 EOF |
| 2750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2751 { (eval echo configure:2752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2768 { (eval echo configure:2769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2752 ac_err=`grep -v '^ *+' conftest.out` | 2769 ac_err=`grep -v '^ *+' conftest.out` |
| 2753 if test -z "$ac_err"; then | 2770 if test -z "$ac_err"; then |
| 2754 rm -rf conftest* | 2771 rm -rf conftest* |
| 2755 eval "ac_cv_header_$ac_safe=yes" | 2772 eval "ac_cv_header_$ac_safe=yes" |
| 2756 else | 2773 else |
| 2779 | 2796 |
| 2780 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h | 2797 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h |
| 2781 do | 2798 do |
| 2782 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2799 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2783 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2800 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2784 echo "configure:2785: checking for $ac_hdr" >&5 | 2801 echo "configure:2802: checking for $ac_hdr" >&5 |
| 2785 | 2802 |
| 2786 cat > conftest.$ac_ext <<EOF | 2803 cat > conftest.$ac_ext <<EOF |
| 2787 #line 2788 "configure" | 2804 #line 2805 "configure" |
| 2788 #include "confdefs.h" | 2805 #include "confdefs.h" |
| 2789 #include <$ac_hdr> | 2806 #include <$ac_hdr> |
| 2790 EOF | 2807 EOF |
| 2791 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2808 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2792 { (eval echo configure:2793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2809 { (eval echo configure:2810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2793 ac_err=`grep -v '^ *+' conftest.out` | 2810 ac_err=`grep -v '^ *+' conftest.out` |
| 2794 if test -z "$ac_err"; then | 2811 if test -z "$ac_err"; then |
| 2795 rm -rf conftest* | 2812 rm -rf conftest* |
| 2796 eval "ac_cv_header_$ac_safe=yes" | 2813 eval "ac_cv_header_$ac_safe=yes" |
| 2797 else | 2814 else |
| 2817 echo "$ac_t""no" 1>&6 | 2834 echo "$ac_t""no" 1>&6 |
| 2818 fi | 2835 fi |
| 2819 done | 2836 done |
| 2820 | 2837 |
| 2821 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2838 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 2822 echo "configure:2823: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2839 echo "configure:2840: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 2823 | 2840 |
| 2824 cat > conftest.$ac_ext <<EOF | 2841 cat > conftest.$ac_ext <<EOF |
| 2825 #line 2826 "configure" | 2842 #line 2843 "configure" |
| 2826 #include "confdefs.h" | 2843 #include "confdefs.h" |
| 2827 #include <sys/types.h> | 2844 #include <sys/types.h> |
| 2828 #include <sys/wait.h> | 2845 #include <sys/wait.h> |
| 2829 #ifndef WEXITSTATUS | 2846 #ifndef WEXITSTATUS |
| 2830 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2847 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 2836 int s; | 2853 int s; |
| 2837 wait (&s); | 2854 wait (&s); |
| 2838 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2855 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 2839 ; return 0; } | 2856 ; return 0; } |
| 2840 EOF | 2857 EOF |
| 2841 if { (eval echo configure:2842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2858 if { (eval echo configure:2859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2842 rm -rf conftest* | 2859 rm -rf conftest* |
| 2843 ac_cv_header_sys_wait_h=yes | 2860 ac_cv_header_sys_wait_h=yes |
| 2844 else | 2861 else |
| 2845 echo "configure: failed program was:" >&5 | 2862 echo "configure: failed program was:" >&5 |
| 2846 cat conftest.$ac_ext >&5 | 2863 cat conftest.$ac_ext >&5 |
| 2860 } | 2877 } |
| 2861 | 2878 |
| 2862 fi | 2879 fi |
| 2863 | 2880 |
| 2864 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2881 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 2865 echo "configure:2866: checking for ANSI C header files" >&5 | 2882 echo "configure:2883: checking for ANSI C header files" >&5 |
| 2866 | 2883 |
| 2867 cat > conftest.$ac_ext <<EOF | 2884 cat > conftest.$ac_ext <<EOF |
| 2868 #line 2869 "configure" | 2885 #line 2886 "configure" |
| 2869 #include "confdefs.h" | 2886 #include "confdefs.h" |
| 2870 #include <stdlib.h> | 2887 #include <stdlib.h> |
| 2871 #include <stdarg.h> | 2888 #include <stdarg.h> |
| 2872 #include <string.h> | 2889 #include <string.h> |
| 2873 #include <float.h> | 2890 #include <float.h> |
| 2874 EOF | 2891 EOF |
| 2875 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2876 { (eval echo configure:2877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2893 { (eval echo configure:2894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2877 ac_err=`grep -v '^ *+' conftest.out` | 2894 ac_err=`grep -v '^ *+' conftest.out` |
| 2878 if test -z "$ac_err"; then | 2895 if test -z "$ac_err"; then |
| 2879 rm -rf conftest* | 2896 rm -rf conftest* |
| 2880 ac_cv_header_stdc=yes | 2897 ac_cv_header_stdc=yes |
| 2881 else | 2898 else |
| 2888 rm -f conftest* | 2905 rm -f conftest* |
| 2889 | 2906 |
| 2890 if test $ac_cv_header_stdc = yes; then | 2907 if test $ac_cv_header_stdc = yes; then |
| 2891 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2908 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 2892 cat > conftest.$ac_ext <<EOF | 2909 cat > conftest.$ac_ext <<EOF |
| 2893 #line 2894 "configure" | 2910 #line 2911 "configure" |
| 2894 #include "confdefs.h" | 2911 #include "confdefs.h" |
| 2895 #include <string.h> | 2912 #include <string.h> |
| 2896 EOF | 2913 EOF |
| 2897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2898 egrep "memchr" >/dev/null 2>&1; then | 2915 egrep "memchr" >/dev/null 2>&1; then |
| 2906 fi | 2923 fi |
| 2907 | 2924 |
| 2908 if test $ac_cv_header_stdc = yes; then | 2925 if test $ac_cv_header_stdc = yes; then |
| 2909 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2926 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 2910 cat > conftest.$ac_ext <<EOF | 2927 cat > conftest.$ac_ext <<EOF |
| 2911 #line 2912 "configure" | 2928 #line 2929 "configure" |
| 2912 #include "confdefs.h" | 2929 #include "confdefs.h" |
| 2913 #include <stdlib.h> | 2930 #include <stdlib.h> |
| 2914 EOF | 2931 EOF |
| 2915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2916 egrep "free" >/dev/null 2>&1; then | 2933 egrep "free" >/dev/null 2>&1; then |
| 2924 fi | 2941 fi |
| 2925 | 2942 |
| 2926 if test $ac_cv_header_stdc = yes; then | 2943 if test $ac_cv_header_stdc = yes; then |
| 2927 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2944 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 2928 cat > conftest.$ac_ext <<EOF | 2945 cat > conftest.$ac_ext <<EOF |
| 2929 #line 2930 "configure" | 2946 #line 2947 "configure" |
| 2930 #include "confdefs.h" | 2947 #include "confdefs.h" |
| 2931 #include <ctype.h> | 2948 #include <ctype.h> |
| 2932 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2949 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 2933 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2950 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 2934 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2951 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 2935 int main () { int i; for (i = 0; i < 256; i++) | 2952 int main () { int i; for (i = 0; i < 256; i++) |
| 2936 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2953 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 2937 exit (0); } | 2954 exit (0); } |
| 2938 | 2955 |
| 2939 EOF | 2956 EOF |
| 2940 if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2957 if { (eval echo configure:2958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 2941 then | 2958 then |
| 2942 : | 2959 : |
| 2943 else | 2960 else |
| 2944 echo "configure: failed program was:" >&5 | 2961 echo "configure: failed program was:" >&5 |
| 2945 cat conftest.$ac_ext >&5 | 2962 cat conftest.$ac_ext >&5 |
| 2960 } | 2977 } |
| 2961 | 2978 |
| 2962 fi | 2979 fi |
| 2963 | 2980 |
| 2964 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2981 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2965 echo "configure:2966: checking whether time.h and sys/time.h may both be included" >&5 | 2982 echo "configure:2983: checking whether time.h and sys/time.h may both be included" >&5 |
| 2966 | 2983 |
| 2967 cat > conftest.$ac_ext <<EOF | 2984 cat > conftest.$ac_ext <<EOF |
| 2968 #line 2969 "configure" | 2985 #line 2986 "configure" |
| 2969 #include "confdefs.h" | 2986 #include "confdefs.h" |
| 2970 #include <sys/types.h> | 2987 #include <sys/types.h> |
| 2971 #include <sys/time.h> | 2988 #include <sys/time.h> |
| 2972 #include <time.h> | 2989 #include <time.h> |
| 2973 int main() { | 2990 int main() { |
| 2974 struct tm *tp; | 2991 struct tm *tp; |
| 2975 ; return 0; } | 2992 ; return 0; } |
| 2976 EOF | 2993 EOF |
| 2977 if { (eval echo configure:2978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2994 if { (eval echo configure:2995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2978 rm -rf conftest* | 2995 rm -rf conftest* |
| 2979 ac_cv_header_time=yes | 2996 ac_cv_header_time=yes |
| 2980 else | 2997 else |
| 2981 echo "configure: failed program was:" >&5 | 2998 echo "configure: failed program was:" >&5 |
| 2982 cat conftest.$ac_ext >&5 | 2999 cat conftest.$ac_ext >&5 |
| 2996 } | 3013 } |
| 2997 | 3014 |
| 2998 fi | 3015 fi |
| 2999 | 3016 |
| 3000 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3017 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 3001 echo "configure:3002: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3018 echo "configure:3019: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 3002 | 3019 |
| 3003 cat > conftest.$ac_ext <<EOF | 3020 cat > conftest.$ac_ext <<EOF |
| 3004 #line 3005 "configure" | 3021 #line 3022 "configure" |
| 3005 #include "confdefs.h" | 3022 #include "confdefs.h" |
| 3006 #include <sys/types.h> | 3023 #include <sys/types.h> |
| 3007 #include <signal.h> | 3024 #include <signal.h> |
| 3008 /* NetBSD declares sys_siglist in unistd.h. */ | 3025 /* NetBSD declares sys_siglist in unistd.h. */ |
| 3009 #ifdef HAVE_UNISTD_H | 3026 #ifdef HAVE_UNISTD_H |
| 3011 #endif | 3028 #endif |
| 3012 int main() { | 3029 int main() { |
| 3013 char *msg = *(sys_siglist + 1); | 3030 char *msg = *(sys_siglist + 1); |
| 3014 ; return 0; } | 3031 ; return 0; } |
| 3015 EOF | 3032 EOF |
| 3016 if { (eval echo configure:3017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3033 if { (eval echo configure:3034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3017 rm -rf conftest* | 3034 rm -rf conftest* |
| 3018 ac_cv_decl_sys_siglist=yes | 3035 ac_cv_decl_sys_siglist=yes |
| 3019 else | 3036 else |
| 3020 echo "configure: failed program was:" >&5 | 3037 echo "configure: failed program was:" >&5 |
| 3021 cat conftest.$ac_ext >&5 | 3038 cat conftest.$ac_ext >&5 |
| 3036 | 3053 |
| 3037 fi | 3054 fi |
| 3038 | 3055 |
| 3039 | 3056 |
| 3040 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3057 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 3041 echo "configure:3042: checking for struct utimbuf" >&5 | 3058 echo "configure:3059: checking for struct utimbuf" >&5 |
| 3042 cat > conftest.$ac_ext <<EOF | 3059 cat > conftest.$ac_ext <<EOF |
| 3043 #line 3044 "configure" | 3060 #line 3061 "configure" |
| 3044 #include "confdefs.h" | 3061 #include "confdefs.h" |
| 3045 #ifdef TIME_WITH_SYS_TIME | 3062 #ifdef TIME_WITH_SYS_TIME |
| 3046 #include <sys/time.h> | 3063 #include <sys/time.h> |
| 3047 #include <time.h> | 3064 #include <time.h> |
| 3048 #else | 3065 #else |
| 3057 #endif | 3074 #endif |
| 3058 int main() { | 3075 int main() { |
| 3059 static struct utimbuf x; x.actime = x.modtime; | 3076 static struct utimbuf x; x.actime = x.modtime; |
| 3060 ; return 0; } | 3077 ; return 0; } |
| 3061 EOF | 3078 EOF |
| 3062 if { (eval echo configure:3063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3079 if { (eval echo configure:3080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3063 rm -rf conftest* | 3080 rm -rf conftest* |
| 3064 echo "$ac_t""yes" 1>&6 | 3081 echo "$ac_t""yes" 1>&6 |
| 3065 { test "$extra_verbose" = "yes" && cat << \EOF | 3082 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3066 Defining HAVE_STRUCT_UTIMBUF | 3083 Defining HAVE_STRUCT_UTIMBUF |
| 3067 EOF | 3084 EOF |
| 3077 echo "$ac_t""no" 1>&6 | 3094 echo "$ac_t""no" 1>&6 |
| 3078 fi | 3095 fi |
| 3079 rm -f conftest* | 3096 rm -f conftest* |
| 3080 | 3097 |
| 3081 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3098 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3082 echo "configure:3083: checking return type of signal handlers" >&5 | 3099 echo "configure:3100: checking return type of signal handlers" >&5 |
| 3083 | 3100 |
| 3084 cat > conftest.$ac_ext <<EOF | 3101 cat > conftest.$ac_ext <<EOF |
| 3085 #line 3086 "configure" | 3102 #line 3103 "configure" |
| 3086 #include "confdefs.h" | 3103 #include "confdefs.h" |
| 3087 #include <sys/types.h> | 3104 #include <sys/types.h> |
| 3088 #include <signal.h> | 3105 #include <signal.h> |
| 3089 #ifdef signal | 3106 #ifdef signal |
| 3090 #undef signal | 3107 #undef signal |
| 3097 | 3114 |
| 3098 int main() { | 3115 int main() { |
| 3099 int i; | 3116 int i; |
| 3100 ; return 0; } | 3117 ; return 0; } |
| 3101 EOF | 3118 EOF |
| 3102 if { (eval echo configure:3103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3119 if { (eval echo configure:3120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3103 rm -rf conftest* | 3120 rm -rf conftest* |
| 3104 ac_cv_type_signal=void | 3121 ac_cv_type_signal=void |
| 3105 else | 3122 else |
| 3106 echo "configure: failed program was:" >&5 | 3123 echo "configure: failed program was:" >&5 |
| 3107 cat conftest.$ac_ext >&5 | 3124 cat conftest.$ac_ext >&5 |
| 3119 EOF | 3136 EOF |
| 3120 } | 3137 } |
| 3121 | 3138 |
| 3122 | 3139 |
| 3123 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3140 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3124 echo "configure:3125: checking for size_t" >&5 | 3141 echo "configure:3142: checking for size_t" >&5 |
| 3125 | 3142 |
| 3126 cat > conftest.$ac_ext <<EOF | 3143 cat > conftest.$ac_ext <<EOF |
| 3127 #line 3128 "configure" | 3144 #line 3145 "configure" |
| 3128 #include "confdefs.h" | 3145 #include "confdefs.h" |
| 3129 #include <sys/types.h> | 3146 #include <sys/types.h> |
| 3130 #if STDC_HEADERS | 3147 #if STDC_HEADERS |
| 3131 #include <stdlib.h> | 3148 #include <stdlib.h> |
| 3132 #include <stddef.h> | 3149 #include <stddef.h> |
| 3153 } | 3170 } |
| 3154 | 3171 |
| 3155 fi | 3172 fi |
| 3156 | 3173 |
| 3157 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3174 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 3158 echo "configure:3159: checking for pid_t" >&5 | 3175 echo "configure:3176: checking for pid_t" >&5 |
| 3159 | 3176 |
| 3160 cat > conftest.$ac_ext <<EOF | 3177 cat > conftest.$ac_ext <<EOF |
| 3161 #line 3162 "configure" | 3178 #line 3179 "configure" |
| 3162 #include "confdefs.h" | 3179 #include "confdefs.h" |
| 3163 #include <sys/types.h> | 3180 #include <sys/types.h> |
| 3164 #if STDC_HEADERS | 3181 #if STDC_HEADERS |
| 3165 #include <stdlib.h> | 3182 #include <stdlib.h> |
| 3166 #include <stddef.h> | 3183 #include <stddef.h> |
| 3187 } | 3204 } |
| 3188 | 3205 |
| 3189 fi | 3206 fi |
| 3190 | 3207 |
| 3191 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3208 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3192 echo "configure:3193: checking for uid_t in sys/types.h" >&5 | 3209 echo "configure:3210: checking for uid_t in sys/types.h" >&5 |
| 3193 | 3210 |
| 3194 cat > conftest.$ac_ext <<EOF | 3211 cat > conftest.$ac_ext <<EOF |
| 3195 #line 3196 "configure" | 3212 #line 3213 "configure" |
| 3196 #include "confdefs.h" | 3213 #include "confdefs.h" |
| 3197 #include <sys/types.h> | 3214 #include <sys/types.h> |
| 3198 EOF | 3215 EOF |
| 3199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3200 egrep "uid_t" >/dev/null 2>&1; then | 3217 egrep "uid_t" >/dev/null 2>&1; then |
| 3226 } | 3243 } |
| 3227 | 3244 |
| 3228 fi | 3245 fi |
| 3229 | 3246 |
| 3230 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3247 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3231 echo "configure:3232: checking for mode_t" >&5 | 3248 echo "configure:3249: checking for mode_t" >&5 |
| 3232 | 3249 |
| 3233 cat > conftest.$ac_ext <<EOF | 3250 cat > conftest.$ac_ext <<EOF |
| 3234 #line 3235 "configure" | 3251 #line 3252 "configure" |
| 3235 #include "confdefs.h" | 3252 #include "confdefs.h" |
| 3236 #include <sys/types.h> | 3253 #include <sys/types.h> |
| 3237 #if STDC_HEADERS | 3254 #if STDC_HEADERS |
| 3238 #include <stdlib.h> | 3255 #include <stdlib.h> |
| 3239 #include <stddef.h> | 3256 #include <stddef.h> |
| 3260 } | 3277 } |
| 3261 | 3278 |
| 3262 fi | 3279 fi |
| 3263 | 3280 |
| 3264 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3281 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3265 echo "configure:3266: checking for off_t" >&5 | 3282 echo "configure:3283: checking for off_t" >&5 |
| 3266 | 3283 |
| 3267 cat > conftest.$ac_ext <<EOF | 3284 cat > conftest.$ac_ext <<EOF |
| 3268 #line 3269 "configure" | 3285 #line 3286 "configure" |
| 3269 #include "confdefs.h" | 3286 #include "confdefs.h" |
| 3270 #include <sys/types.h> | 3287 #include <sys/types.h> |
| 3271 #if STDC_HEADERS | 3288 #if STDC_HEADERS |
| 3272 #include <stdlib.h> | 3289 #include <stdlib.h> |
| 3273 #include <stddef.h> | 3290 #include <stddef.h> |
| 3295 | 3312 |
| 3296 fi | 3313 fi |
| 3297 | 3314 |
| 3298 | 3315 |
| 3299 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3316 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3300 echo "configure:3301: checking for struct timeval" >&5 | 3317 echo "configure:3318: checking for struct timeval" >&5 |
| 3301 cat > conftest.$ac_ext <<EOF | 3318 cat > conftest.$ac_ext <<EOF |
| 3302 #line 3303 "configure" | 3319 #line 3320 "configure" |
| 3303 #include "confdefs.h" | 3320 #include "confdefs.h" |
| 3304 #ifdef TIME_WITH_SYS_TIME | 3321 #ifdef TIME_WITH_SYS_TIME |
| 3305 #include <sys/time.h> | 3322 #include <sys/time.h> |
| 3306 #include <time.h> | 3323 #include <time.h> |
| 3307 #else | 3324 #else |
| 3313 #endif | 3330 #endif |
| 3314 int main() { | 3331 int main() { |
| 3315 static struct timeval x; x.tv_sec = x.tv_usec; | 3332 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3316 ; return 0; } | 3333 ; return 0; } |
| 3317 EOF | 3334 EOF |
| 3318 if { (eval echo configure:3319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3335 if { (eval echo configure:3336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3319 rm -rf conftest* | 3336 rm -rf conftest* |
| 3320 echo "$ac_t""yes" 1>&6 | 3337 echo "$ac_t""yes" 1>&6 |
| 3321 HAVE_TIMEVAL=yes | 3338 HAVE_TIMEVAL=yes |
| 3322 { test "$extra_verbose" = "yes" && cat << \EOF | 3339 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3323 Defining HAVE_TIMEVAL | 3340 Defining HAVE_TIMEVAL |
| 3335 HAVE_TIMEVAL=no | 3352 HAVE_TIMEVAL=no |
| 3336 fi | 3353 fi |
| 3337 rm -f conftest* | 3354 rm -f conftest* |
| 3338 | 3355 |
| 3339 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3356 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3340 echo "configure:3341: checking whether struct tm is in sys/time.h or time.h" >&5 | 3357 echo "configure:3358: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3341 | 3358 |
| 3342 cat > conftest.$ac_ext <<EOF | 3359 cat > conftest.$ac_ext <<EOF |
| 3343 #line 3344 "configure" | 3360 #line 3361 "configure" |
| 3344 #include "confdefs.h" | 3361 #include "confdefs.h" |
| 3345 #include <sys/types.h> | 3362 #include <sys/types.h> |
| 3346 #include <time.h> | 3363 #include <time.h> |
| 3347 int main() { | 3364 int main() { |
| 3348 struct tm *tp; tp->tm_sec; | 3365 struct tm *tp; tp->tm_sec; |
| 3349 ; return 0; } | 3366 ; return 0; } |
| 3350 EOF | 3367 EOF |
| 3351 if { (eval echo configure:3352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3368 if { (eval echo configure:3369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3352 rm -rf conftest* | 3369 rm -rf conftest* |
| 3353 ac_cv_struct_tm=time.h | 3370 ac_cv_struct_tm=time.h |
| 3354 else | 3371 else |
| 3355 echo "configure: failed program was:" >&5 | 3372 echo "configure: failed program was:" >&5 |
| 3356 cat conftest.$ac_ext >&5 | 3373 cat conftest.$ac_ext >&5 |
| 3370 } | 3387 } |
| 3371 | 3388 |
| 3372 fi | 3389 fi |
| 3373 | 3390 |
| 3374 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3391 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3375 echo "configure:3376: checking for tm_zone in struct tm" >&5 | 3392 echo "configure:3393: checking for tm_zone in struct tm" >&5 |
| 3376 | 3393 |
| 3377 cat > conftest.$ac_ext <<EOF | 3394 cat > conftest.$ac_ext <<EOF |
| 3378 #line 3379 "configure" | 3395 #line 3396 "configure" |
| 3379 #include "confdefs.h" | 3396 #include "confdefs.h" |
| 3380 #include <sys/types.h> | 3397 #include <sys/types.h> |
| 3381 #include <$ac_cv_struct_tm> | 3398 #include <$ac_cv_struct_tm> |
| 3382 int main() { | 3399 int main() { |
| 3383 struct tm tm; tm.tm_zone; | 3400 struct tm tm; tm.tm_zone; |
| 3384 ; return 0; } | 3401 ; return 0; } |
| 3385 EOF | 3402 EOF |
| 3386 if { (eval echo configure:3387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3403 if { (eval echo configure:3404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3387 rm -rf conftest* | 3404 rm -rf conftest* |
| 3388 ac_cv_struct_tm_zone=yes | 3405 ac_cv_struct_tm_zone=yes |
| 3389 else | 3406 else |
| 3390 echo "configure: failed program was:" >&5 | 3407 echo "configure: failed program was:" >&5 |
| 3391 cat conftest.$ac_ext >&5 | 3408 cat conftest.$ac_ext >&5 |
| 3404 EOF | 3421 EOF |
| 3405 } | 3422 } |
| 3406 | 3423 |
| 3407 else | 3424 else |
| 3408 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3425 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3409 echo "configure:3410: checking for tzname" >&5 | 3426 echo "configure:3427: checking for tzname" >&5 |
| 3410 | 3427 |
| 3411 cat > conftest.$ac_ext <<EOF | 3428 cat > conftest.$ac_ext <<EOF |
| 3412 #line 3413 "configure" | 3429 #line 3430 "configure" |
| 3413 #include "confdefs.h" | 3430 #include "confdefs.h" |
| 3414 #include <time.h> | 3431 #include <time.h> |
| 3415 #ifndef tzname /* For SGI. */ | 3432 #ifndef tzname /* For SGI. */ |
| 3416 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3433 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3417 #endif | 3434 #endif |
| 3418 int main() { | 3435 int main() { |
| 3419 atoi(*tzname); | 3436 atoi(*tzname); |
| 3420 ; return 0; } | 3437 ; return 0; } |
| 3421 EOF | 3438 EOF |
| 3422 if { (eval echo configure:3423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3439 if { (eval echo configure:3440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3423 rm -rf conftest* | 3440 rm -rf conftest* |
| 3424 ac_cv_var_tzname=yes | 3441 ac_cv_var_tzname=yes |
| 3425 else | 3442 else |
| 3426 echo "configure: failed program was:" >&5 | 3443 echo "configure: failed program was:" >&5 |
| 3427 cat conftest.$ac_ext >&5 | 3444 cat conftest.$ac_ext >&5 |
| 3443 fi | 3460 fi |
| 3444 fi | 3461 fi |
| 3445 | 3462 |
| 3446 | 3463 |
| 3447 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3464 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3448 echo "configure:3449: checking for working const" >&5 | 3465 echo "configure:3466: checking for working const" >&5 |
| 3449 | 3466 |
| 3450 cat > conftest.$ac_ext <<EOF | 3467 cat > conftest.$ac_ext <<EOF |
| 3451 #line 3452 "configure" | 3468 #line 3469 "configure" |
| 3452 #include "confdefs.h" | 3469 #include "confdefs.h" |
| 3453 | 3470 |
| 3454 int main() { | 3471 int main() { |
| 3455 | 3472 |
| 3456 /* Ultrix mips cc rejects this. */ | 3473 /* Ultrix mips cc rejects this. */ |
| 3495 const int foo = 10; | 3512 const int foo = 10; |
| 3496 } | 3513 } |
| 3497 | 3514 |
| 3498 ; return 0; } | 3515 ; return 0; } |
| 3499 EOF | 3516 EOF |
| 3500 if { (eval echo configure:3501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3517 if { (eval echo configure:3518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3501 rm -rf conftest* | 3518 rm -rf conftest* |
| 3502 ac_cv_c_const=yes | 3519 ac_cv_c_const=yes |
| 3503 else | 3520 else |
| 3504 echo "configure: failed program was:" >&5 | 3521 echo "configure: failed program was:" >&5 |
| 3505 cat conftest.$ac_ext >&5 | 3522 cat conftest.$ac_ext >&5 |
| 3520 | 3537 |
| 3521 fi | 3538 fi |
| 3522 | 3539 |
| 3523 | 3540 |
| 3524 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3541 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3525 echo "configure:3526: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3542 echo "configure:3543: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3526 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3543 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3527 | 3544 |
| 3528 cat > conftestmake <<\EOF | 3545 cat > conftestmake <<\EOF |
| 3529 all: | 3546 all: |
| 3530 @echo 'ac_maketemp="${MAKE}"' | 3547 @echo 'ac_maketemp="${MAKE}"' |
| 3545 SET_MAKE="MAKE=${MAKE-make}" | 3562 SET_MAKE="MAKE=${MAKE-make}" |
| 3546 fi | 3563 fi |
| 3547 | 3564 |
| 3548 | 3565 |
| 3549 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3566 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3550 echo "configure:3551: checking whether byte ordering is bigendian" >&5 | 3567 echo "configure:3568: checking whether byte ordering is bigendian" >&5 |
| 3551 | 3568 |
| 3552 ac_cv_c_bigendian=unknown | 3569 ac_cv_c_bigendian=unknown |
| 3553 # See if sys/param.h defines the BYTE_ORDER macro. | 3570 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3554 cat > conftest.$ac_ext <<EOF | 3571 cat > conftest.$ac_ext <<EOF |
| 3555 #line 3556 "configure" | 3572 #line 3573 "configure" |
| 3556 #include "confdefs.h" | 3573 #include "confdefs.h" |
| 3557 #include <sys/types.h> | 3574 #include <sys/types.h> |
| 3558 #include <sys/param.h> | 3575 #include <sys/param.h> |
| 3559 int main() { | 3576 int main() { |
| 3560 | 3577 |
| 3561 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3578 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 3562 bogus endian macros | 3579 bogus endian macros |
| 3563 #endif | 3580 #endif |
| 3564 ; return 0; } | 3581 ; return 0; } |
| 3565 EOF | 3582 EOF |
| 3566 if { (eval echo configure:3567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3583 if { (eval echo configure:3584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3567 rm -rf conftest* | 3584 rm -rf conftest* |
| 3568 # It does; now see whether it defined to BIG_ENDIAN or not. | 3585 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 3569 cat > conftest.$ac_ext <<EOF | 3586 cat > conftest.$ac_ext <<EOF |
| 3570 #line 3571 "configure" | 3587 #line 3588 "configure" |
| 3571 #include "confdefs.h" | 3588 #include "confdefs.h" |
| 3572 #include <sys/types.h> | 3589 #include <sys/types.h> |
| 3573 #include <sys/param.h> | 3590 #include <sys/param.h> |
| 3574 int main() { | 3591 int main() { |
| 3575 | 3592 |
| 3576 #if BYTE_ORDER != BIG_ENDIAN | 3593 #if BYTE_ORDER != BIG_ENDIAN |
| 3577 not big endian | 3594 not big endian |
| 3578 #endif | 3595 #endif |
| 3579 ; return 0; } | 3596 ; return 0; } |
| 3580 EOF | 3597 EOF |
| 3581 if { (eval echo configure:3582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3598 if { (eval echo configure:3599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3582 rm -rf conftest* | 3599 rm -rf conftest* |
| 3583 ac_cv_c_bigendian=yes | 3600 ac_cv_c_bigendian=yes |
| 3584 else | 3601 else |
| 3585 echo "configure: failed program was:" >&5 | 3602 echo "configure: failed program was:" >&5 |
| 3586 cat conftest.$ac_ext >&5 | 3603 cat conftest.$ac_ext >&5 |
| 3593 cat conftest.$ac_ext >&5 | 3610 cat conftest.$ac_ext >&5 |
| 3594 fi | 3611 fi |
| 3595 rm -f conftest* | 3612 rm -f conftest* |
| 3596 if test $ac_cv_c_bigendian = unknown; then | 3613 if test $ac_cv_c_bigendian = unknown; then |
| 3597 cat > conftest.$ac_ext <<EOF | 3614 cat > conftest.$ac_ext <<EOF |
| 3598 #line 3599 "configure" | 3615 #line 3616 "configure" |
| 3599 #include "confdefs.h" | 3616 #include "confdefs.h" |
| 3600 main () { | 3617 main () { |
| 3601 /* Are we little or big endian? From Harbison&Steele. */ | 3618 /* Are we little or big endian? From Harbison&Steele. */ |
| 3602 union | 3619 union |
| 3603 { | 3620 { |
| 3606 } u; | 3623 } u; |
| 3607 u.l = 1; | 3624 u.l = 1; |
| 3608 exit (u.c[sizeof (long) - 1] == 1); | 3625 exit (u.c[sizeof (long) - 1] == 1); |
| 3609 } | 3626 } |
| 3610 EOF | 3627 EOF |
| 3611 if { (eval echo configure:3612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3628 if { (eval echo configure:3629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3612 then | 3629 then |
| 3613 ac_cv_c_bigendian=no | 3630 ac_cv_c_bigendian=no |
| 3614 else | 3631 else |
| 3615 echo "configure: failed program was:" >&5 | 3632 echo "configure: failed program was:" >&5 |
| 3616 cat conftest.$ac_ext >&5 | 3633 cat conftest.$ac_ext >&5 |
| 3632 | 3649 |
| 3633 fi | 3650 fi |
| 3634 | 3651 |
| 3635 | 3652 |
| 3636 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3653 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 3637 echo "configure:3638: checking size of short" >&5 | 3654 echo "configure:3655: checking size of short" >&5 |
| 3638 | 3655 |
| 3639 cat > conftest.$ac_ext <<EOF | 3656 cat > conftest.$ac_ext <<EOF |
| 3640 #line 3641 "configure" | 3657 #line 3658 "configure" |
| 3641 #include "confdefs.h" | 3658 #include "confdefs.h" |
| 3642 #include <stdio.h> | 3659 #include <stdio.h> |
| 3643 main() | 3660 main() |
| 3644 { | 3661 { |
| 3645 FILE *f=fopen("conftestval", "w"); | 3662 FILE *f=fopen("conftestval", "w"); |
| 3646 if (!f) exit(1); | 3663 if (!f) exit(1); |
| 3647 fprintf(f, "%d\n", sizeof(short)); | 3664 fprintf(f, "%d\n", sizeof(short)); |
| 3648 exit(0); | 3665 exit(0); |
| 3649 } | 3666 } |
| 3650 EOF | 3667 EOF |
| 3651 if { (eval echo configure:3652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3668 if { (eval echo configure:3669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3652 then | 3669 then |
| 3653 ac_cv_sizeof_short=`cat conftestval` | 3670 ac_cv_sizeof_short=`cat conftestval` |
| 3654 else | 3671 else |
| 3655 echo "configure: failed program was:" >&5 | 3672 echo "configure: failed program was:" >&5 |
| 3656 cat conftest.$ac_ext >&5 | 3673 cat conftest.$ac_ext >&5 |
| 3673 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3690 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 3674 echo "*** PANIC *** Please examine config.log for compilation errors." | 3691 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 3675 exit 1 | 3692 exit 1 |
| 3676 fi | 3693 fi |
| 3677 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3694 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 3678 echo "configure:3679: checking size of int" >&5 | 3695 echo "configure:3696: checking size of int" >&5 |
| 3679 | 3696 |
| 3680 cat > conftest.$ac_ext <<EOF | 3697 cat > conftest.$ac_ext <<EOF |
| 3681 #line 3682 "configure" | 3698 #line 3699 "configure" |
| 3682 #include "confdefs.h" | 3699 #include "confdefs.h" |
| 3683 #include <stdio.h> | 3700 #include <stdio.h> |
| 3684 main() | 3701 main() |
| 3685 { | 3702 { |
| 3686 FILE *f=fopen("conftestval", "w"); | 3703 FILE *f=fopen("conftestval", "w"); |
| 3687 if (!f) exit(1); | 3704 if (!f) exit(1); |
| 3688 fprintf(f, "%d\n", sizeof(int)); | 3705 fprintf(f, "%d\n", sizeof(int)); |
| 3689 exit(0); | 3706 exit(0); |
| 3690 } | 3707 } |
| 3691 EOF | 3708 EOF |
| 3692 if { (eval echo configure:3693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3709 if { (eval echo configure:3710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3693 then | 3710 then |
| 3694 ac_cv_sizeof_int=`cat conftestval` | 3711 ac_cv_sizeof_int=`cat conftestval` |
| 3695 else | 3712 else |
| 3696 echo "configure: failed program was:" >&5 | 3713 echo "configure: failed program was:" >&5 |
| 3697 cat conftest.$ac_ext >&5 | 3714 cat conftest.$ac_ext >&5 |
| 3708 EOF | 3725 EOF |
| 3709 } | 3726 } |
| 3710 | 3727 |
| 3711 | 3728 |
| 3712 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3729 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 3713 echo "configure:3714: checking size of long" >&5 | 3730 echo "configure:3731: checking size of long" >&5 |
| 3714 | 3731 |
| 3715 cat > conftest.$ac_ext <<EOF | 3732 cat > conftest.$ac_ext <<EOF |
| 3716 #line 3717 "configure" | 3733 #line 3734 "configure" |
| 3717 #include "confdefs.h" | 3734 #include "confdefs.h" |
| 3718 #include <stdio.h> | 3735 #include <stdio.h> |
| 3719 main() | 3736 main() |
| 3720 { | 3737 { |
| 3721 FILE *f=fopen("conftestval", "w"); | 3738 FILE *f=fopen("conftestval", "w"); |
| 3722 if (!f) exit(1); | 3739 if (!f) exit(1); |
| 3723 fprintf(f, "%d\n", sizeof(long)); | 3740 fprintf(f, "%d\n", sizeof(long)); |
| 3724 exit(0); | 3741 exit(0); |
| 3725 } | 3742 } |
| 3726 EOF | 3743 EOF |
| 3727 if { (eval echo configure:3728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3744 if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3728 then | 3745 then |
| 3729 ac_cv_sizeof_long=`cat conftestval` | 3746 ac_cv_sizeof_long=`cat conftestval` |
| 3730 else | 3747 else |
| 3731 echo "configure: failed program was:" >&5 | 3748 echo "configure: failed program was:" >&5 |
| 3732 cat conftest.$ac_ext >&5 | 3749 cat conftest.$ac_ext >&5 |
| 3743 EOF | 3760 EOF |
| 3744 } | 3761 } |
| 3745 | 3762 |
| 3746 | 3763 |
| 3747 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3764 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 3748 echo "configure:3749: checking size of long long" >&5 | 3765 echo "configure:3766: checking size of long long" >&5 |
| 3749 | 3766 |
| 3750 cat > conftest.$ac_ext <<EOF | 3767 cat > conftest.$ac_ext <<EOF |
| 3751 #line 3752 "configure" | 3768 #line 3769 "configure" |
| 3752 #include "confdefs.h" | 3769 #include "confdefs.h" |
| 3753 #include <stdio.h> | 3770 #include <stdio.h> |
| 3754 main() | 3771 main() |
| 3755 { | 3772 { |
| 3756 FILE *f=fopen("conftestval", "w"); | 3773 FILE *f=fopen("conftestval", "w"); |
| 3757 if (!f) exit(1); | 3774 if (!f) exit(1); |
| 3758 fprintf(f, "%d\n", sizeof(long long)); | 3775 fprintf(f, "%d\n", sizeof(long long)); |
| 3759 exit(0); | 3776 exit(0); |
| 3760 } | 3777 } |
| 3761 EOF | 3778 EOF |
| 3762 if { (eval echo configure:3763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3779 if { (eval echo configure:3780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3763 then | 3780 then |
| 3764 ac_cv_sizeof_long_long=`cat conftestval` | 3781 ac_cv_sizeof_long_long=`cat conftestval` |
| 3765 else | 3782 else |
| 3766 echo "configure: failed program was:" >&5 | 3783 echo "configure: failed program was:" >&5 |
| 3767 cat conftest.$ac_ext >&5 | 3784 cat conftest.$ac_ext >&5 |
| 3778 EOF | 3795 EOF |
| 3779 } | 3796 } |
| 3780 | 3797 |
| 3781 | 3798 |
| 3782 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3799 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 3783 echo "configure:3784: checking size of void *" >&5 | 3800 echo "configure:3801: checking size of void *" >&5 |
| 3784 | 3801 |
| 3785 cat > conftest.$ac_ext <<EOF | 3802 cat > conftest.$ac_ext <<EOF |
| 3786 #line 3787 "configure" | 3803 #line 3804 "configure" |
| 3787 #include "confdefs.h" | 3804 #include "confdefs.h" |
| 3788 #include <stdio.h> | 3805 #include <stdio.h> |
| 3789 main() | 3806 main() |
| 3790 { | 3807 { |
| 3791 FILE *f=fopen("conftestval", "w"); | 3808 FILE *f=fopen("conftestval", "w"); |
| 3792 if (!f) exit(1); | 3809 if (!f) exit(1); |
| 3793 fprintf(f, "%d\n", sizeof(void *)); | 3810 fprintf(f, "%d\n", sizeof(void *)); |
| 3794 exit(0); | 3811 exit(0); |
| 3795 } | 3812 } |
| 3796 EOF | 3813 EOF |
| 3797 if { (eval echo configure:3798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3814 if { (eval echo configure:3815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3798 then | 3815 then |
| 3799 ac_cv_sizeof_void_p=`cat conftestval` | 3816 ac_cv_sizeof_void_p=`cat conftestval` |
| 3800 else | 3817 else |
| 3801 echo "configure: failed program was:" >&5 | 3818 echo "configure: failed program was:" >&5 |
| 3802 cat conftest.$ac_ext >&5 | 3819 cat conftest.$ac_ext >&5 |
| 3814 } | 3831 } |
| 3815 | 3832 |
| 3816 | 3833 |
| 3817 | 3834 |
| 3818 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3835 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 3819 echo "configure:3820: checking for long file names" >&5 | 3836 echo "configure:3837: checking for long file names" >&5 |
| 3820 | 3837 |
| 3821 ac_cv_sys_long_file_names=yes | 3838 ac_cv_sys_long_file_names=yes |
| 3822 # Test for long file names in all the places we know might matter: | 3839 # Test for long file names in all the places we know might matter: |
| 3823 # . the current directory, where building will happen | 3840 # . the current directory, where building will happen |
| 3824 # $prefix/lib where we will be installing things | 3841 # $prefix/lib where we will be installing things |
| 3861 fi | 3878 fi |
| 3862 | 3879 |
| 3863 | 3880 |
| 3864 | 3881 |
| 3865 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 3882 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 3866 echo "configure:3867: checking for sin in -lm" >&5 | 3883 echo "configure:3884: checking for sin in -lm" >&5 |
| 3867 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 3884 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 3868 | 3885 |
| 3869 xe_check_libs=" -lm " | 3886 xe_check_libs=" -lm " |
| 3870 cat > conftest.$ac_ext <<EOF | 3887 cat > conftest.$ac_ext <<EOF |
| 3871 #line 3872 "configure" | 3888 #line 3889 "configure" |
| 3872 #include "confdefs.h" | 3889 #include "confdefs.h" |
| 3873 /* Override any gcc2 internal prototype to avoid an error. */ | 3890 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3874 /* We use char because int might match the return type of a gcc2 | 3891 /* We use char because int might match the return type of a gcc2 |
| 3875 builtin and then its argument prototype would still apply. */ | 3892 builtin and then its argument prototype would still apply. */ |
| 3876 char sin(); | 3893 char sin(); |
| 3877 | 3894 |
| 3878 int main() { | 3895 int main() { |
| 3879 sin() | 3896 sin() |
| 3880 ; return 0; } | 3897 ; return 0; } |
| 3881 EOF | 3898 EOF |
| 3882 if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3899 if { (eval echo configure:3900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3883 rm -rf conftest* | 3900 rm -rf conftest* |
| 3884 eval "ac_cv_lib_$ac_lib_var=yes" | 3901 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3885 else | 3902 else |
| 3886 echo "configure: failed program was:" >&5 | 3903 echo "configure: failed program was:" >&5 |
| 3887 cat conftest.$ac_ext >&5 | 3904 cat conftest.$ac_ext >&5 |
| 3919 EOF | 3936 EOF |
| 3920 } | 3937 } |
| 3921 | 3938 |
| 3922 | 3939 |
| 3923 echo "checking type of mail spool file locking" 1>&6 | 3940 echo "checking type of mail spool file locking" 1>&6 |
| 3924 echo "configure:3925: checking type of mail spool file locking" >&5 | 3941 echo "configure:3942: checking type of mail spool file locking" >&5 |
| 3925 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3942 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 3926 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3943 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 3927 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3944 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 3928 Defining REAL_MAIL_USE_LOCKF | 3945 Defining REAL_MAIL_USE_LOCKF |
| 3929 EOF | 3946 EOF |
| 3943 else mail_locking="dot-locking" | 3960 else mail_locking="dot-locking" |
| 3944 fi | 3961 fi |
| 3945 | 3962 |
| 3946 | 3963 |
| 3947 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3964 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 3948 echo "configure:3949: checking for kstat_open in -lkstat" >&5 | 3965 echo "configure:3966: checking for kstat_open in -lkstat" >&5 |
| 3949 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3966 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 3950 | 3967 |
| 3951 xe_check_libs=" -lkstat " | 3968 xe_check_libs=" -lkstat " |
| 3952 cat > conftest.$ac_ext <<EOF | 3969 cat > conftest.$ac_ext <<EOF |
| 3953 #line 3954 "configure" | 3970 #line 3971 "configure" |
| 3954 #include "confdefs.h" | 3971 #include "confdefs.h" |
| 3955 /* Override any gcc2 internal prototype to avoid an error. */ | 3972 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3956 /* We use char because int might match the return type of a gcc2 | 3973 /* We use char because int might match the return type of a gcc2 |
| 3957 builtin and then its argument prototype would still apply. */ | 3974 builtin and then its argument prototype would still apply. */ |
| 3958 char kstat_open(); | 3975 char kstat_open(); |
| 3959 | 3976 |
| 3960 int main() { | 3977 int main() { |
| 3961 kstat_open() | 3978 kstat_open() |
| 3962 ; return 0; } | 3979 ; return 0; } |
| 3963 EOF | 3980 EOF |
| 3964 if { (eval echo configure:3965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3981 if { (eval echo configure:3982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3965 rm -rf conftest* | 3982 rm -rf conftest* |
| 3966 eval "ac_cv_lib_$ac_lib_var=yes" | 3983 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3967 else | 3984 else |
| 3968 echo "configure: failed program was:" >&5 | 3985 echo "configure: failed program was:" >&5 |
| 3969 cat conftest.$ac_ext >&5 | 3986 cat conftest.$ac_ext >&5 |
| 3993 | 4010 |
| 3994 | 4011 |
| 3995 | 4012 |
| 3996 | 4013 |
| 3997 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4014 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 3998 echo "configure:3999: checking for kvm_read in -lkvm" >&5 | 4015 echo "configure:4016: checking for kvm_read in -lkvm" >&5 |
| 3999 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4016 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 4000 | 4017 |
| 4001 xe_check_libs=" -lkvm " | 4018 xe_check_libs=" -lkvm " |
| 4002 cat > conftest.$ac_ext <<EOF | 4019 cat > conftest.$ac_ext <<EOF |
| 4003 #line 4004 "configure" | 4020 #line 4021 "configure" |
| 4004 #include "confdefs.h" | 4021 #include "confdefs.h" |
| 4005 /* Override any gcc2 internal prototype to avoid an error. */ | 4022 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4006 /* We use char because int might match the return type of a gcc2 | 4023 /* We use char because int might match the return type of a gcc2 |
| 4007 builtin and then its argument prototype would still apply. */ | 4024 builtin and then its argument prototype would still apply. */ |
| 4008 char kvm_read(); | 4025 char kvm_read(); |
| 4009 | 4026 |
| 4010 int main() { | 4027 int main() { |
| 4011 kvm_read() | 4028 kvm_read() |
| 4012 ; return 0; } | 4029 ; return 0; } |
| 4013 EOF | 4030 EOF |
| 4014 if { (eval echo configure:4015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4031 if { (eval echo configure:4032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4015 rm -rf conftest* | 4032 rm -rf conftest* |
| 4016 eval "ac_cv_lib_$ac_lib_var=yes" | 4033 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4017 else | 4034 else |
| 4018 echo "configure: failed program was:" >&5 | 4035 echo "configure: failed program was:" >&5 |
| 4019 cat conftest.$ac_ext >&5 | 4036 cat conftest.$ac_ext >&5 |
| 4043 | 4060 |
| 4044 | 4061 |
| 4045 | 4062 |
| 4046 | 4063 |
| 4047 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4064 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 4048 echo "configure:4049: checking for cma_open in -lpthreads" >&5 | 4065 echo "configure:4066: checking for cma_open in -lpthreads" >&5 |
| 4049 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4066 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 4050 | 4067 |
| 4051 xe_check_libs=" -lpthreads " | 4068 xe_check_libs=" -lpthreads " |
| 4052 cat > conftest.$ac_ext <<EOF | 4069 cat > conftest.$ac_ext <<EOF |
| 4053 #line 4054 "configure" | 4070 #line 4071 "configure" |
| 4054 #include "confdefs.h" | 4071 #include "confdefs.h" |
| 4055 /* Override any gcc2 internal prototype to avoid an error. */ | 4072 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4056 /* We use char because int might match the return type of a gcc2 | 4073 /* We use char because int might match the return type of a gcc2 |
| 4057 builtin and then its argument prototype would still apply. */ | 4074 builtin and then its argument prototype would still apply. */ |
| 4058 char cma_open(); | 4075 char cma_open(); |
| 4059 | 4076 |
| 4060 int main() { | 4077 int main() { |
| 4061 cma_open() | 4078 cma_open() |
| 4062 ; return 0; } | 4079 ; return 0; } |
| 4063 EOF | 4080 EOF |
| 4064 if { (eval echo configure:4065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4081 if { (eval echo configure:4082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4065 rm -rf conftest* | 4082 rm -rf conftest* |
| 4066 eval "ac_cv_lib_$ac_lib_var=yes" | 4083 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4067 else | 4084 else |
| 4068 echo "configure: failed program was:" >&5 | 4085 echo "configure: failed program was:" >&5 |
| 4069 cat conftest.$ac_ext >&5 | 4086 cat conftest.$ac_ext >&5 |
| 4095 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 4112 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
| 4096 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 4113 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
| 4097 fi | 4114 fi |
| 4098 | 4115 |
| 4099 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4116 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 4100 echo "configure:4101: checking whether the -xildoff compiler flag is required" >&5 | 4117 echo "configure:4118: checking whether the -xildoff compiler flag is required" >&5 |
| 4101 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4118 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 4102 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4119 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 4103 then echo "$ac_t""no" 1>&6; | 4120 then echo "$ac_t""no" 1>&6; |
| 4104 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 | 4121 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 |
| 4105 fi | 4122 fi |
| 4106 else echo "$ac_t""no" 1>&6 | 4123 else echo "$ac_t""no" 1>&6 |
| 4107 fi | 4124 fi |
| 4108 | 4125 |
| 4109 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4126 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 4110 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4127 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 4111 echo "configure:4112: checking for \"-z ignore\" linker flag" >&5 | 4128 echo "configure:4129: checking for \"-z ignore\" linker flag" >&5 |
| 4112 case "`ld -h 2>&1`" in | 4129 case "`ld -h 2>&1`" in |
| 4113 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4130 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 4114 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4131 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 4115 *) echo "$ac_t""no" 1>&6 ;; | 4132 *) echo "$ac_t""no" 1>&6 ;; |
| 4116 esac | 4133 esac |
| 4117 fi | 4134 fi |
| 4118 | 4135 |
| 4119 | 4136 |
| 4120 echo "checking "for specified window system"" 1>&6 | 4137 echo "checking "for specified window system"" 1>&6 |
| 4121 echo "configure:4122: checking "for specified window system"" >&5 | 4138 echo "configure:4139: checking "for specified window system"" >&5 |
| 4122 | 4139 |
| 4123 if test "$with_x11" != "no"; then | 4140 if test "$with_x11" != "no"; then |
| 4124 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4141 test "$x_includes $x_libraries" != "NONE NONE" && \ |
| 4125 window_system=x11 with_x11=yes | 4142 window_system=x11 with_x11=yes |
| 4126 | 4143 |
| 4146 # If we find X, set shell vars x_includes and x_libraries to the | 4163 # If we find X, set shell vars x_includes and x_libraries to the |
| 4147 # paths, otherwise set no_x=yes. | 4164 # paths, otherwise set no_x=yes. |
| 4148 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4165 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 4149 # --without-x overrides everything else, but does not touch the cache. | 4166 # --without-x overrides everything else, but does not touch the cache. |
| 4150 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4167 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 4151 echo "configure:4152: checking for X" >&5 | 4168 echo "configure:4169: checking for X" >&5 |
| 4152 | 4169 |
| 4153 # Check whether --with-x or --without-x was given. | 4170 # Check whether --with-x or --without-x was given. |
| 4154 if test "${with_x+set}" = set; then | 4171 if test "${with_x+set}" = set; then |
| 4155 withval="$with_x" | 4172 withval="$with_x" |
| 4156 : | 4173 : |
| 4206 # Guess where to find include files, by looking for this one X11 .h file. | 4223 # Guess where to find include files, by looking for this one X11 .h file. |
| 4207 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4224 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4208 | 4225 |
| 4209 # First, try using that file with no special directory specified. | 4226 # First, try using that file with no special directory specified. |
| 4210 cat > conftest.$ac_ext <<EOF | 4227 cat > conftest.$ac_ext <<EOF |
| 4211 #line 4212 "configure" | 4228 #line 4229 "configure" |
| 4212 #include "confdefs.h" | 4229 #include "confdefs.h" |
| 4213 #include <$x_direct_test_include> | 4230 #include <$x_direct_test_include> |
| 4214 EOF | 4231 EOF |
| 4215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4216 { (eval echo configure:4217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4233 { (eval echo configure:4234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4217 ac_err=`grep -v '^ *+' conftest.out` | 4234 ac_err=`grep -v '^ *+' conftest.out` |
| 4218 if test -z "$ac_err"; then | 4235 if test -z "$ac_err"; then |
| 4219 rm -rf conftest* | 4236 rm -rf conftest* |
| 4220 # We can compile using X headers with no special include directory. | 4237 # We can compile using X headers with no special include directory. |
| 4221 ac_x_includes= | 4238 ac_x_includes= |
| 4280 # See if we find them without any special options. | 4297 # See if we find them without any special options. |
| 4281 # Don't add to $LIBS permanently. | 4298 # Don't add to $LIBS permanently. |
| 4282 ac_save_LIBS="$LIBS" | 4299 ac_save_LIBS="$LIBS" |
| 4283 LIBS="-l$x_direct_test_library $LIBS" | 4300 LIBS="-l$x_direct_test_library $LIBS" |
| 4284 cat > conftest.$ac_ext <<EOF | 4301 cat > conftest.$ac_ext <<EOF |
| 4285 #line 4286 "configure" | 4302 #line 4303 "configure" |
| 4286 #include "confdefs.h" | 4303 #include "confdefs.h" |
| 4287 | 4304 |
| 4288 int main() { | 4305 int main() { |
| 4289 ${x_direct_test_function}() | 4306 ${x_direct_test_function}() |
| 4290 ; return 0; } | 4307 ; return 0; } |
| 4291 EOF | 4308 EOF |
| 4292 if { (eval echo configure:4293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4309 if { (eval echo configure:4310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4293 rm -rf conftest* | 4310 rm -rf conftest* |
| 4294 LIBS="$ac_save_LIBS" | 4311 LIBS="$ac_save_LIBS" |
| 4295 # We can link X programs with no special library path. | 4312 # We can link X programs with no special library path. |
| 4296 ac_x_libraries= | 4313 ac_x_libraries= |
| 4297 else | 4314 else |
| 4396 # For Solaris; some versions of Sun CC require a space after -R and | 4413 # For Solaris; some versions of Sun CC require a space after -R and |
| 4397 # others require no space. Words are not sufficient . . . . | 4414 # others require no space. Words are not sufficient . . . . |
| 4398 case "`(uname -sr) 2>/dev/null`" in | 4415 case "`(uname -sr) 2>/dev/null`" in |
| 4399 "SunOS 5"*) | 4416 "SunOS 5"*) |
| 4400 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4417 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4401 echo "configure:4402: checking whether -R must be followed by a space" >&5 | 4418 echo "configure:4419: checking whether -R must be followed by a space" >&5 |
| 4402 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4419 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4403 cat > conftest.$ac_ext <<EOF | 4420 cat > conftest.$ac_ext <<EOF |
| 4404 #line 4405 "configure" | 4421 #line 4422 "configure" |
| 4405 #include "confdefs.h" | 4422 #include "confdefs.h" |
| 4406 | 4423 |
| 4407 int main() { | 4424 int main() { |
| 4408 | 4425 |
| 4409 ; return 0; } | 4426 ; return 0; } |
| 4410 EOF | 4427 EOF |
| 4411 if { (eval echo configure:4412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4428 if { (eval echo configure:4429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4412 rm -rf conftest* | 4429 rm -rf conftest* |
| 4413 ac_R_nospace=yes | 4430 ac_R_nospace=yes |
| 4414 else | 4431 else |
| 4415 echo "configure: failed program was:" >&5 | 4432 echo "configure: failed program was:" >&5 |
| 4416 cat conftest.$ac_ext >&5 | 4433 cat conftest.$ac_ext >&5 |
| 4422 echo "$ac_t""no" 1>&6 | 4439 echo "$ac_t""no" 1>&6 |
| 4423 X_LIBS="$X_LIBS -R$x_libraries" | 4440 X_LIBS="$X_LIBS -R$x_libraries" |
| 4424 else | 4441 else |
| 4425 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4442 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4426 cat > conftest.$ac_ext <<EOF | 4443 cat > conftest.$ac_ext <<EOF |
| 4427 #line 4428 "configure" | 4444 #line 4445 "configure" |
| 4428 #include "confdefs.h" | 4445 #include "confdefs.h" |
| 4429 | 4446 |
| 4430 int main() { | 4447 int main() { |
| 4431 | 4448 |
| 4432 ; return 0; } | 4449 ; return 0; } |
| 4433 EOF | 4450 EOF |
| 4434 if { (eval echo configure:4435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4451 if { (eval echo configure:4452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4435 rm -rf conftest* | 4452 rm -rf conftest* |
| 4436 ac_R_space=yes | 4453 ac_R_space=yes |
| 4437 else | 4454 else |
| 4438 echo "configure: failed program was:" >&5 | 4455 echo "configure: failed program was:" >&5 |
| 4439 cat conftest.$ac_ext >&5 | 4456 cat conftest.$ac_ext >&5 |
| 4465 if test "$with_dnet" = "no" ; then | 4482 if test "$with_dnet" = "no" ; then |
| 4466 ac_cv_lib_dnet_dnet_ntoa=no | 4483 ac_cv_lib_dnet_dnet_ntoa=no |
| 4467 else | 4484 else |
| 4468 | 4485 |
| 4469 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4486 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4470 echo "configure:4471: checking for dnet_ntoa in -ldnet" >&5 | 4487 echo "configure:4488: checking for dnet_ntoa in -ldnet" >&5 |
| 4471 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4488 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4472 | 4489 |
| 4473 xe_check_libs=" -ldnet " | 4490 xe_check_libs=" -ldnet " |
| 4474 cat > conftest.$ac_ext <<EOF | 4491 cat > conftest.$ac_ext <<EOF |
| 4475 #line 4476 "configure" | 4492 #line 4493 "configure" |
| 4476 #include "confdefs.h" | 4493 #include "confdefs.h" |
| 4477 /* Override any gcc2 internal prototype to avoid an error. */ | 4494 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4478 /* We use char because int might match the return type of a gcc2 | 4495 /* We use char because int might match the return type of a gcc2 |
| 4479 builtin and then its argument prototype would still apply. */ | 4496 builtin and then its argument prototype would still apply. */ |
| 4480 char dnet_ntoa(); | 4497 char dnet_ntoa(); |
| 4481 | 4498 |
| 4482 int main() { | 4499 int main() { |
| 4483 dnet_ntoa() | 4500 dnet_ntoa() |
| 4484 ; return 0; } | 4501 ; return 0; } |
| 4485 EOF | 4502 EOF |
| 4486 if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4503 if { (eval echo configure:4504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4487 rm -rf conftest* | 4504 rm -rf conftest* |
| 4488 eval "ac_cv_lib_$ac_lib_var=yes" | 4505 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4489 else | 4506 else |
| 4490 echo "configure: failed program was:" >&5 | 4507 echo "configure: failed program was:" >&5 |
| 4491 cat conftest.$ac_ext >&5 | 4508 cat conftest.$ac_ext >&5 |
| 4505 fi | 4522 fi |
| 4506 | 4523 |
| 4507 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4524 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4508 | 4525 |
| 4509 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4526 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4510 echo "configure:4511: checking for dnet_ntoa in -ldnet_stub" >&5 | 4527 echo "configure:4528: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4511 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4528 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4512 | 4529 |
| 4513 xe_check_libs=" -ldnet_stub " | 4530 xe_check_libs=" -ldnet_stub " |
| 4514 cat > conftest.$ac_ext <<EOF | 4531 cat > conftest.$ac_ext <<EOF |
| 4515 #line 4516 "configure" | 4532 #line 4533 "configure" |
| 4516 #include "confdefs.h" | 4533 #include "confdefs.h" |
| 4517 /* Override any gcc2 internal prototype to avoid an error. */ | 4534 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4518 /* We use char because int might match the return type of a gcc2 | 4535 /* We use char because int might match the return type of a gcc2 |
| 4519 builtin and then its argument prototype would still apply. */ | 4536 builtin and then its argument prototype would still apply. */ |
| 4520 char dnet_ntoa(); | 4537 char dnet_ntoa(); |
| 4521 | 4538 |
| 4522 int main() { | 4539 int main() { |
| 4523 dnet_ntoa() | 4540 dnet_ntoa() |
| 4524 ; return 0; } | 4541 ; return 0; } |
| 4525 EOF | 4542 EOF |
| 4526 if { (eval echo configure:4527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4543 if { (eval echo configure:4544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4527 rm -rf conftest* | 4544 rm -rf conftest* |
| 4528 eval "ac_cv_lib_$ac_lib_var=yes" | 4545 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4529 else | 4546 else |
| 4530 echo "configure: failed program was:" >&5 | 4547 echo "configure: failed program was:" >&5 |
| 4531 cat conftest.$ac_ext >&5 | 4548 cat conftest.$ac_ext >&5 |
| 4550 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4567 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 4551 # needs -lnsl. | 4568 # needs -lnsl. |
| 4552 # The nsl library prevents programs from opening the X display | 4569 # The nsl library prevents programs from opening the X display |
| 4553 # on Irix 5.2, according to dickey@clark.net. | 4570 # on Irix 5.2, according to dickey@clark.net. |
| 4554 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4571 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 4555 echo "configure:4556: checking for gethostbyname" >&5 | 4572 echo "configure:4573: checking for gethostbyname" >&5 |
| 4556 | 4573 |
| 4557 cat > conftest.$ac_ext <<EOF | 4574 cat > conftest.$ac_ext <<EOF |
| 4558 #line 4559 "configure" | 4575 #line 4576 "configure" |
| 4559 #include "confdefs.h" | 4576 #include "confdefs.h" |
| 4560 /* System header to define __stub macros and hopefully few prototypes, | 4577 /* System header to define __stub macros and hopefully few prototypes, |
| 4561 which can conflict with char gethostbyname(); below. */ | 4578 which can conflict with char gethostbyname(); below. */ |
| 4562 #include <assert.h> | 4579 #include <assert.h> |
| 4563 /* Override any gcc2 internal prototype to avoid an error. */ | 4580 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4576 gethostbyname(); | 4593 gethostbyname(); |
| 4577 #endif | 4594 #endif |
| 4578 | 4595 |
| 4579 ; return 0; } | 4596 ; return 0; } |
| 4580 EOF | 4597 EOF |
| 4581 if { (eval echo configure:4582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4598 if { (eval echo configure:4599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4582 rm -rf conftest* | 4599 rm -rf conftest* |
| 4583 eval "ac_cv_func_gethostbyname=yes" | 4600 eval "ac_cv_func_gethostbyname=yes" |
| 4584 else | 4601 else |
| 4585 echo "configure: failed program was:" >&5 | 4602 echo "configure: failed program was:" >&5 |
| 4586 cat conftest.$ac_ext >&5 | 4603 cat conftest.$ac_ext >&5 |
| 4597 fi | 4614 fi |
| 4598 | 4615 |
| 4599 if test $ac_cv_func_gethostbyname = no; then | 4616 if test $ac_cv_func_gethostbyname = no; then |
| 4600 | 4617 |
| 4601 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4618 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 4602 echo "configure:4603: checking for gethostbyname in -lnsl" >&5 | 4619 echo "configure:4620: checking for gethostbyname in -lnsl" >&5 |
| 4603 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4620 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 4604 | 4621 |
| 4605 xe_check_libs=" -lnsl " | 4622 xe_check_libs=" -lnsl " |
| 4606 cat > conftest.$ac_ext <<EOF | 4623 cat > conftest.$ac_ext <<EOF |
| 4607 #line 4608 "configure" | 4624 #line 4625 "configure" |
| 4608 #include "confdefs.h" | 4625 #include "confdefs.h" |
| 4609 /* Override any gcc2 internal prototype to avoid an error. */ | 4626 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4610 /* We use char because int might match the return type of a gcc2 | 4627 /* We use char because int might match the return type of a gcc2 |
| 4611 builtin and then its argument prototype would still apply. */ | 4628 builtin and then its argument prototype would still apply. */ |
| 4612 char gethostbyname(); | 4629 char gethostbyname(); |
| 4613 | 4630 |
| 4614 int main() { | 4631 int main() { |
| 4615 gethostbyname() | 4632 gethostbyname() |
| 4616 ; return 0; } | 4633 ; return 0; } |
| 4617 EOF | 4634 EOF |
| 4618 if { (eval echo configure:4619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4635 if { (eval echo configure:4636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4619 rm -rf conftest* | 4636 rm -rf conftest* |
| 4620 eval "ac_cv_lib_$ac_lib_var=yes" | 4637 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4621 else | 4638 else |
| 4622 echo "configure: failed program was:" >&5 | 4639 echo "configure: failed program was:" >&5 |
| 4623 cat conftest.$ac_ext >&5 | 4640 cat conftest.$ac_ext >&5 |
| 4643 # on later versions), says simon@lia.di.epfl.ch: it contains | 4660 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 4644 # gethostby* variants that don't use the nameserver (or something). | 4661 # gethostby* variants that don't use the nameserver (or something). |
| 4645 # -lsocket must be given before -lnsl if both are needed. | 4662 # -lsocket must be given before -lnsl if both are needed. |
| 4646 # We assume that if connect needs -lnsl, so does gethostbyname. | 4663 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 4647 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4664 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 4648 echo "configure:4649: checking for connect" >&5 | 4665 echo "configure:4666: checking for connect" >&5 |
| 4649 | 4666 |
| 4650 cat > conftest.$ac_ext <<EOF | 4667 cat > conftest.$ac_ext <<EOF |
| 4651 #line 4652 "configure" | 4668 #line 4669 "configure" |
| 4652 #include "confdefs.h" | 4669 #include "confdefs.h" |
| 4653 /* System header to define __stub macros and hopefully few prototypes, | 4670 /* System header to define __stub macros and hopefully few prototypes, |
| 4654 which can conflict with char connect(); below. */ | 4671 which can conflict with char connect(); below. */ |
| 4655 #include <assert.h> | 4672 #include <assert.h> |
| 4656 /* Override any gcc2 internal prototype to avoid an error. */ | 4673 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4669 connect(); | 4686 connect(); |
| 4670 #endif | 4687 #endif |
| 4671 | 4688 |
| 4672 ; return 0; } | 4689 ; return 0; } |
| 4673 EOF | 4690 EOF |
| 4674 if { (eval echo configure:4675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4691 if { (eval echo configure:4692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4675 rm -rf conftest* | 4692 rm -rf conftest* |
| 4676 eval "ac_cv_func_connect=yes" | 4693 eval "ac_cv_func_connect=yes" |
| 4677 else | 4694 else |
| 4678 echo "configure: failed program was:" >&5 | 4695 echo "configure: failed program was:" >&5 |
| 4679 cat conftest.$ac_ext >&5 | 4696 cat conftest.$ac_ext >&5 |
| 4692 if test $ac_cv_func_connect = no; then | 4709 if test $ac_cv_func_connect = no; then |
| 4693 | 4710 |
| 4694 xe_msg_checking="for connect in -lsocket" | 4711 xe_msg_checking="for connect in -lsocket" |
| 4695 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4712 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 4696 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4713 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 4697 echo "configure:4698: checking "$xe_msg_checking"" >&5 | 4714 echo "configure:4715: checking "$xe_msg_checking"" >&5 |
| 4698 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4715 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 4699 | 4716 |
| 4700 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4717 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 4701 cat > conftest.$ac_ext <<EOF | 4718 cat > conftest.$ac_ext <<EOF |
| 4702 #line 4703 "configure" | 4719 #line 4720 "configure" |
| 4703 #include "confdefs.h" | 4720 #include "confdefs.h" |
| 4704 /* Override any gcc2 internal prototype to avoid an error. */ | 4721 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4705 /* We use char because int might match the return type of a gcc2 | 4722 /* We use char because int might match the return type of a gcc2 |
| 4706 builtin and then its argument prototype would still apply. */ | 4723 builtin and then its argument prototype would still apply. */ |
| 4707 char connect(); | 4724 char connect(); |
| 4708 | 4725 |
| 4709 int main() { | 4726 int main() { |
| 4710 connect() | 4727 connect() |
| 4711 ; return 0; } | 4728 ; return 0; } |
| 4712 EOF | 4729 EOF |
| 4713 if { (eval echo configure:4714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4730 if { (eval echo configure:4731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4714 rm -rf conftest* | 4731 rm -rf conftest* |
| 4715 eval "ac_cv_lib_$ac_lib_var=yes" | 4732 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4716 else | 4733 else |
| 4717 echo "configure: failed program was:" >&5 | 4734 echo "configure: failed program was:" >&5 |
| 4718 cat conftest.$ac_ext >&5 | 4735 cat conftest.$ac_ext >&5 |
| 4732 | 4749 |
| 4733 fi | 4750 fi |
| 4734 | 4751 |
| 4735 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4752 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 4736 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4753 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 4737 echo "configure:4738: checking for remove" >&5 | 4754 echo "configure:4755: checking for remove" >&5 |
| 4738 | 4755 |
| 4739 cat > conftest.$ac_ext <<EOF | 4756 cat > conftest.$ac_ext <<EOF |
| 4740 #line 4741 "configure" | 4757 #line 4758 "configure" |
| 4741 #include "confdefs.h" | 4758 #include "confdefs.h" |
| 4742 /* System header to define __stub macros and hopefully few prototypes, | 4759 /* System header to define __stub macros and hopefully few prototypes, |
| 4743 which can conflict with char remove(); below. */ | 4760 which can conflict with char remove(); below. */ |
| 4744 #include <assert.h> | 4761 #include <assert.h> |
| 4745 /* Override any gcc2 internal prototype to avoid an error. */ | 4762 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4758 remove(); | 4775 remove(); |
| 4759 #endif | 4776 #endif |
| 4760 | 4777 |
| 4761 ; return 0; } | 4778 ; return 0; } |
| 4762 EOF | 4779 EOF |
| 4763 if { (eval echo configure:4764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4780 if { (eval echo configure:4781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4764 rm -rf conftest* | 4781 rm -rf conftest* |
| 4765 eval "ac_cv_func_remove=yes" | 4782 eval "ac_cv_func_remove=yes" |
| 4766 else | 4783 else |
| 4767 echo "configure: failed program was:" >&5 | 4784 echo "configure: failed program was:" >&5 |
| 4768 cat conftest.$ac_ext >&5 | 4785 cat conftest.$ac_ext >&5 |
| 4779 fi | 4796 fi |
| 4780 | 4797 |
| 4781 if test $ac_cv_func_remove = no; then | 4798 if test $ac_cv_func_remove = no; then |
| 4782 | 4799 |
| 4783 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4800 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 4784 echo "configure:4785: checking for remove in -lposix" >&5 | 4801 echo "configure:4802: checking for remove in -lposix" >&5 |
| 4785 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4802 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 4786 | 4803 |
| 4787 xe_check_libs=" -lposix " | 4804 xe_check_libs=" -lposix " |
| 4788 cat > conftest.$ac_ext <<EOF | 4805 cat > conftest.$ac_ext <<EOF |
| 4789 #line 4790 "configure" | 4806 #line 4807 "configure" |
| 4790 #include "confdefs.h" | 4807 #include "confdefs.h" |
| 4791 /* Override any gcc2 internal prototype to avoid an error. */ | 4808 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4792 /* We use char because int might match the return type of a gcc2 | 4809 /* We use char because int might match the return type of a gcc2 |
| 4793 builtin and then its argument prototype would still apply. */ | 4810 builtin and then its argument prototype would still apply. */ |
| 4794 char remove(); | 4811 char remove(); |
| 4795 | 4812 |
| 4796 int main() { | 4813 int main() { |
| 4797 remove() | 4814 remove() |
| 4798 ; return 0; } | 4815 ; return 0; } |
| 4799 EOF | 4816 EOF |
| 4800 if { (eval echo configure:4801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4817 if { (eval echo configure:4818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4801 rm -rf conftest* | 4818 rm -rf conftest* |
| 4802 eval "ac_cv_lib_$ac_lib_var=yes" | 4819 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4803 else | 4820 else |
| 4804 echo "configure: failed program was:" >&5 | 4821 echo "configure: failed program was:" >&5 |
| 4805 cat conftest.$ac_ext >&5 | 4822 cat conftest.$ac_ext >&5 |
| 4819 | 4836 |
| 4820 fi | 4837 fi |
| 4821 | 4838 |
| 4822 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4839 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 4823 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4840 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 4824 echo "configure:4825: checking for shmat" >&5 | 4841 echo "configure:4842: checking for shmat" >&5 |
| 4825 | 4842 |
| 4826 cat > conftest.$ac_ext <<EOF | 4843 cat > conftest.$ac_ext <<EOF |
| 4827 #line 4828 "configure" | 4844 #line 4845 "configure" |
| 4828 #include "confdefs.h" | 4845 #include "confdefs.h" |
| 4829 /* System header to define __stub macros and hopefully few prototypes, | 4846 /* System header to define __stub macros and hopefully few prototypes, |
| 4830 which can conflict with char shmat(); below. */ | 4847 which can conflict with char shmat(); below. */ |
| 4831 #include <assert.h> | 4848 #include <assert.h> |
| 4832 /* Override any gcc2 internal prototype to avoid an error. */ | 4849 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4845 shmat(); | 4862 shmat(); |
| 4846 #endif | 4863 #endif |
| 4847 | 4864 |
| 4848 ; return 0; } | 4865 ; return 0; } |
| 4849 EOF | 4866 EOF |
| 4850 if { (eval echo configure:4851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4867 if { (eval echo configure:4868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4851 rm -rf conftest* | 4868 rm -rf conftest* |
| 4852 eval "ac_cv_func_shmat=yes" | 4869 eval "ac_cv_func_shmat=yes" |
| 4853 else | 4870 else |
| 4854 echo "configure: failed program was:" >&5 | 4871 echo "configure: failed program was:" >&5 |
| 4855 cat conftest.$ac_ext >&5 | 4872 cat conftest.$ac_ext >&5 |
| 4866 fi | 4883 fi |
| 4867 | 4884 |
| 4868 if test $ac_cv_func_shmat = no; then | 4885 if test $ac_cv_func_shmat = no; then |
| 4869 | 4886 |
| 4870 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4887 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 4871 echo "configure:4872: checking for shmat in -lipc" >&5 | 4888 echo "configure:4889: checking for shmat in -lipc" >&5 |
| 4872 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4889 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 4873 | 4890 |
| 4874 xe_check_libs=" -lipc " | 4891 xe_check_libs=" -lipc " |
| 4875 cat > conftest.$ac_ext <<EOF | 4892 cat > conftest.$ac_ext <<EOF |
| 4876 #line 4877 "configure" | 4893 #line 4894 "configure" |
| 4877 #include "confdefs.h" | 4894 #include "confdefs.h" |
| 4878 /* Override any gcc2 internal prototype to avoid an error. */ | 4895 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4879 /* We use char because int might match the return type of a gcc2 | 4896 /* We use char because int might match the return type of a gcc2 |
| 4880 builtin and then its argument prototype would still apply. */ | 4897 builtin and then its argument prototype would still apply. */ |
| 4881 char shmat(); | 4898 char shmat(); |
| 4882 | 4899 |
| 4883 int main() { | 4900 int main() { |
| 4884 shmat() | 4901 shmat() |
| 4885 ; return 0; } | 4902 ; return 0; } |
| 4886 EOF | 4903 EOF |
| 4887 if { (eval echo configure:4888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4904 if { (eval echo configure:4905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4888 rm -rf conftest* | 4905 rm -rf conftest* |
| 4889 eval "ac_cv_lib_$ac_lib_var=yes" | 4906 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4890 else | 4907 else |
| 4891 echo "configure: failed program was:" >&5 | 4908 echo "configure: failed program was:" >&5 |
| 4892 cat conftest.$ac_ext >&5 | 4909 cat conftest.$ac_ext >&5 |
| 4916 # These have to be linked with before -lX11, unlike the other | 4933 # These have to be linked with before -lX11, unlike the other |
| 4917 # libraries we check for below, so use a different variable. | 4934 # libraries we check for below, so use a different variable. |
| 4918 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4935 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 4919 | 4936 |
| 4920 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4937 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
| 4921 echo "configure:4922: checking for IceConnectionNumber in -lICE" >&5 | 4938 echo "configure:4939: checking for IceConnectionNumber in -lICE" >&5 |
| 4922 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4939 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 4923 | 4940 |
| 4924 xe_check_libs=" -lICE " | 4941 xe_check_libs=" -lICE " |
| 4925 cat > conftest.$ac_ext <<EOF | 4942 cat > conftest.$ac_ext <<EOF |
| 4926 #line 4927 "configure" | 4943 #line 4944 "configure" |
| 4927 #include "confdefs.h" | 4944 #include "confdefs.h" |
| 4928 /* Override any gcc2 internal prototype to avoid an error. */ | 4945 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4929 /* We use char because int might match the return type of a gcc2 | 4946 /* We use char because int might match the return type of a gcc2 |
| 4930 builtin and then its argument prototype would still apply. */ | 4947 builtin and then its argument prototype would still apply. */ |
| 4931 char IceConnectionNumber(); | 4948 char IceConnectionNumber(); |
| 4932 | 4949 |
| 4933 int main() { | 4950 int main() { |
| 4934 IceConnectionNumber() | 4951 IceConnectionNumber() |
| 4935 ; return 0; } | 4952 ; return 0; } |
| 4936 EOF | 4953 EOF |
| 4937 if { (eval echo configure:4938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4954 if { (eval echo configure:4955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4938 rm -rf conftest* | 4955 rm -rf conftest* |
| 4939 eval "ac_cv_lib_$ac_lib_var=yes" | 4956 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4940 else | 4957 else |
| 4941 echo "configure: failed program was:" >&5 | 4958 echo "configure: failed program was:" >&5 |
| 4942 cat conftest.$ac_ext >&5 | 4959 cat conftest.$ac_ext >&5 |
| 5065 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 5082 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
| 5066 echo | 5083 echo |
| 5067 fi | 5084 fi |
| 5068 | 5085 |
| 5069 echo "checking for X defines extracted by xmkmf" 1>&6 | 5086 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 5070 echo "configure:5071: checking for X defines extracted by xmkmf" >&5 | 5087 echo "configure:5088: checking for X defines extracted by xmkmf" >&5 |
| 5071 rm -fr conftestdir | 5088 rm -fr conftestdir |
| 5072 if mkdir conftestdir; then | 5089 if mkdir conftestdir; then |
| 5073 cd conftestdir | 5090 cd conftestdir |
| 5074 cat > Imakefile <<'EOF' | 5091 cat > Imakefile <<'EOF' |
| 5075 xetest: | 5092 xetest: |
| 5097 done | 5114 done |
| 5098 fi | 5115 fi |
| 5099 | 5116 |
| 5100 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5117 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5101 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5118 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5102 echo "configure:5103: checking for X11/Intrinsic.h" >&5 | 5119 echo "configure:5120: checking for X11/Intrinsic.h" >&5 |
| 5103 | 5120 |
| 5104 cat > conftest.$ac_ext <<EOF | 5121 cat > conftest.$ac_ext <<EOF |
| 5105 #line 5106 "configure" | 5122 #line 5123 "configure" |
| 5106 #include "confdefs.h" | 5123 #include "confdefs.h" |
| 5107 #include <X11/Intrinsic.h> | 5124 #include <X11/Intrinsic.h> |
| 5108 EOF | 5125 EOF |
| 5109 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5110 { (eval echo configure:5111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5127 { (eval echo configure:5128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5111 ac_err=`grep -v '^ *+' conftest.out` | 5128 ac_err=`grep -v '^ *+' conftest.out` |
| 5112 if test -z "$ac_err"; then | 5129 if test -z "$ac_err"; then |
| 5113 rm -rf conftest* | 5130 rm -rf conftest* |
| 5114 eval "ac_cv_header_$ac_safe=yes" | 5131 eval "ac_cv_header_$ac_safe=yes" |
| 5115 else | 5132 else |
| 5129 fi | 5146 fi |
| 5130 | 5147 |
| 5131 | 5148 |
| 5132 | 5149 |
| 5133 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5150 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 5134 echo "configure:5135: checking for XOpenDisplay in -lX11" >&5 | 5151 echo "configure:5152: checking for XOpenDisplay in -lX11" >&5 |
| 5135 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5152 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 5136 | 5153 |
| 5137 xe_check_libs=" -lX11 " | 5154 xe_check_libs=" -lX11 " |
| 5138 cat > conftest.$ac_ext <<EOF | 5155 cat > conftest.$ac_ext <<EOF |
| 5139 #line 5140 "configure" | 5156 #line 5157 "configure" |
| 5140 #include "confdefs.h" | 5157 #include "confdefs.h" |
| 5141 /* Override any gcc2 internal prototype to avoid an error. */ | 5158 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5142 /* We use char because int might match the return type of a gcc2 | 5159 /* We use char because int might match the return type of a gcc2 |
| 5143 builtin and then its argument prototype would still apply. */ | 5160 builtin and then its argument prototype would still apply. */ |
| 5144 char XOpenDisplay(); | 5161 char XOpenDisplay(); |
| 5145 | 5162 |
| 5146 int main() { | 5163 int main() { |
| 5147 XOpenDisplay() | 5164 XOpenDisplay() |
| 5148 ; return 0; } | 5165 ; return 0; } |
| 5149 EOF | 5166 EOF |
| 5150 if { (eval echo configure:5151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5167 if { (eval echo configure:5168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5151 rm -rf conftest* | 5168 rm -rf conftest* |
| 5152 eval "ac_cv_lib_$ac_lib_var=yes" | 5169 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5153 else | 5170 else |
| 5154 echo "configure: failed program was:" >&5 | 5171 echo "configure: failed program was:" >&5 |
| 5155 cat conftest.$ac_ext >&5 | 5172 cat conftest.$ac_ext >&5 |
| 5170 if test "$have_lib_x11" != "yes"; then | 5187 if test "$have_lib_x11" != "yes"; then |
| 5171 | 5188 |
| 5172 xe_msg_checking="for XGetFontProperty in -lX11" | 5189 xe_msg_checking="for XGetFontProperty in -lX11" |
| 5173 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5190 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 5174 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5191 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5175 echo "configure:5176: checking "$xe_msg_checking"" >&5 | 5192 echo "configure:5193: checking "$xe_msg_checking"" >&5 |
| 5176 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5193 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 5177 | 5194 |
| 5178 xe_check_libs=" -lX11 -b i486-linuxaout" | 5195 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 5179 cat > conftest.$ac_ext <<EOF | 5196 cat > conftest.$ac_ext <<EOF |
| 5180 #line 5181 "configure" | 5197 #line 5198 "configure" |
| 5181 #include "confdefs.h" | 5198 #include "confdefs.h" |
| 5182 /* Override any gcc2 internal prototype to avoid an error. */ | 5199 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5183 /* We use char because int might match the return type of a gcc2 | 5200 /* We use char because int might match the return type of a gcc2 |
| 5184 builtin and then its argument prototype would still apply. */ | 5201 builtin and then its argument prototype would still apply. */ |
| 5185 char XGetFontProperty(); | 5202 char XGetFontProperty(); |
| 5186 | 5203 |
| 5187 int main() { | 5204 int main() { |
| 5188 XGetFontProperty() | 5205 XGetFontProperty() |
| 5189 ; return 0; } | 5206 ; return 0; } |
| 5190 EOF | 5207 EOF |
| 5191 if { (eval echo configure:5192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5208 if { (eval echo configure:5209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5192 rm -rf conftest* | 5209 rm -rf conftest* |
| 5193 eval "ac_cv_lib_$ac_lib_var=yes" | 5210 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5194 else | 5211 else |
| 5195 echo "configure: failed program was:" >&5 | 5212 echo "configure: failed program was:" >&5 |
| 5196 cat conftest.$ac_ext >&5 | 5213 cat conftest.$ac_ext >&5 |
| 5213 libs_x="-lX11" | 5230 libs_x="-lX11" |
| 5214 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5231 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5215 | 5232 |
| 5216 | 5233 |
| 5217 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5234 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5218 echo "configure:5219: checking for XShapeSelectInput in -lXext" >&5 | 5235 echo "configure:5236: checking for XShapeSelectInput in -lXext" >&5 |
| 5219 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5236 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5220 | 5237 |
| 5221 xe_check_libs=" -lXext " | 5238 xe_check_libs=" -lXext " |
| 5222 cat > conftest.$ac_ext <<EOF | 5239 cat > conftest.$ac_ext <<EOF |
| 5223 #line 5224 "configure" | 5240 #line 5241 "configure" |
| 5224 #include "confdefs.h" | 5241 #include "confdefs.h" |
| 5225 /* Override any gcc2 internal prototype to avoid an error. */ | 5242 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5226 /* We use char because int might match the return type of a gcc2 | 5243 /* We use char because int might match the return type of a gcc2 |
| 5227 builtin and then its argument prototype would still apply. */ | 5244 builtin and then its argument prototype would still apply. */ |
| 5228 char XShapeSelectInput(); | 5245 char XShapeSelectInput(); |
| 5229 | 5246 |
| 5230 int main() { | 5247 int main() { |
| 5231 XShapeSelectInput() | 5248 XShapeSelectInput() |
| 5232 ; return 0; } | 5249 ; return 0; } |
| 5233 EOF | 5250 EOF |
| 5234 if { (eval echo configure:5235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5251 if { (eval echo configure:5252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5235 rm -rf conftest* | 5252 rm -rf conftest* |
| 5236 eval "ac_cv_lib_$ac_lib_var=yes" | 5253 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5237 else | 5254 else |
| 5238 echo "configure: failed program was:" >&5 | 5255 echo "configure: failed program was:" >&5 |
| 5239 cat conftest.$ac_ext >&5 | 5256 cat conftest.$ac_ext >&5 |
| 5252 | 5269 |
| 5253 | 5270 |
| 5254 | 5271 |
| 5255 | 5272 |
| 5256 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5273 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5257 echo "configure:5258: checking for XtOpenDisplay in -lXt" >&5 | 5274 echo "configure:5275: checking for XtOpenDisplay in -lXt" >&5 |
| 5258 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5275 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5259 | 5276 |
| 5260 xe_check_libs=" -lXt " | 5277 xe_check_libs=" -lXt " |
| 5261 cat > conftest.$ac_ext <<EOF | 5278 cat > conftest.$ac_ext <<EOF |
| 5262 #line 5263 "configure" | 5279 #line 5280 "configure" |
| 5263 #include "confdefs.h" | 5280 #include "confdefs.h" |
| 5264 /* Override any gcc2 internal prototype to avoid an error. */ | 5281 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5265 /* We use char because int might match the return type of a gcc2 | 5282 /* We use char because int might match the return type of a gcc2 |
| 5266 builtin and then its argument prototype would still apply. */ | 5283 builtin and then its argument prototype would still apply. */ |
| 5267 char XtOpenDisplay(); | 5284 char XtOpenDisplay(); |
| 5268 | 5285 |
| 5269 int main() { | 5286 int main() { |
| 5270 XtOpenDisplay() | 5287 XtOpenDisplay() |
| 5271 ; return 0; } | 5288 ; return 0; } |
| 5272 EOF | 5289 EOF |
| 5273 if { (eval echo configure:5274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5290 if { (eval echo configure:5291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5274 rm -rf conftest* | 5291 rm -rf conftest* |
| 5275 eval "ac_cv_lib_$ac_lib_var=yes" | 5292 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5276 else | 5293 else |
| 5277 echo "configure: failed program was:" >&5 | 5294 echo "configure: failed program was:" >&5 |
| 5278 cat conftest.$ac_ext >&5 | 5295 cat conftest.$ac_ext >&5 |
| 5291 fi | 5308 fi |
| 5292 | 5309 |
| 5293 | 5310 |
| 5294 | 5311 |
| 5295 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5312 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5296 echo "configure:5297: checking the version of X11 being used" >&5 | 5313 echo "configure:5314: checking the version of X11 being used" >&5 |
| 5297 cat > conftest.$ac_ext <<EOF | 5314 cat > conftest.$ac_ext <<EOF |
| 5298 #line 5299 "configure" | 5315 #line 5316 "configure" |
| 5299 #include "confdefs.h" | 5316 #include "confdefs.h" |
| 5300 #include <X11/Intrinsic.h> | 5317 #include <X11/Intrinsic.h> |
| 5301 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5318 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5302 EOF | 5319 EOF |
| 5303 if { (eval echo configure:5304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5320 if { (eval echo configure:5321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5304 then | 5321 then |
| 5305 ./conftest foobar; x11_release=$? | 5322 ./conftest foobar; x11_release=$? |
| 5306 else | 5323 else |
| 5307 echo "configure: failed program was:" >&5 | 5324 echo "configure: failed program was:" >&5 |
| 5308 cat conftest.$ac_ext >&5 | 5325 cat conftest.$ac_ext >&5 |
| 5322 | 5339 |
| 5323 for ac_hdr in X11/Xlocale.h | 5340 for ac_hdr in X11/Xlocale.h |
| 5324 do | 5341 do |
| 5325 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5342 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5326 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5343 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5327 echo "configure:5328: checking for $ac_hdr" >&5 | 5344 echo "configure:5345: checking for $ac_hdr" >&5 |
| 5328 | 5345 |
| 5329 cat > conftest.$ac_ext <<EOF | 5346 cat > conftest.$ac_ext <<EOF |
| 5330 #line 5331 "configure" | 5347 #line 5348 "configure" |
| 5331 #include "confdefs.h" | 5348 #include "confdefs.h" |
| 5332 #include <$ac_hdr> | 5349 #include <$ac_hdr> |
| 5333 EOF | 5350 EOF |
| 5334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5335 { (eval echo configure:5336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5352 { (eval echo configure:5353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5336 ac_err=`grep -v '^ *+' conftest.out` | 5353 ac_err=`grep -v '^ *+' conftest.out` |
| 5337 if test -z "$ac_err"; then | 5354 if test -z "$ac_err"; then |
| 5338 rm -rf conftest* | 5355 rm -rf conftest* |
| 5339 eval "ac_cv_header_$ac_safe=yes" | 5356 eval "ac_cv_header_$ac_safe=yes" |
| 5340 else | 5357 else |
| 5361 fi | 5378 fi |
| 5362 done | 5379 done |
| 5363 | 5380 |
| 5364 | 5381 |
| 5365 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5382 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5366 echo "configure:5367: checking for XFree86" >&5 | 5383 echo "configure:5384: checking for XFree86" >&5 |
| 5367 if test -d "/usr/X386/include" -o \ | 5384 if test -d "/usr/X386/include" -o \ |
| 5368 -f "/etc/XF86Config" -o \ | 5385 -f "/etc/XF86Config" -o \ |
| 5369 -f "/etc/X11/XF86Config" -o \ | 5386 -f "/etc/X11/XF86Config" -o \ |
| 5370 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5387 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5371 echo "$ac_t""yes" 1>&6 | 5388 echo "$ac_t""yes" 1>&6 |
| 5381 echo "$ac_t""no" 1>&6 | 5398 echo "$ac_t""no" 1>&6 |
| 5382 fi | 5399 fi |
| 5383 | 5400 |
| 5384 test -z "$with_xmu" && { | 5401 test -z "$with_xmu" && { |
| 5385 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5402 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 5386 echo "configure:5387: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5403 echo "configure:5404: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 5387 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5404 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 5388 | 5405 |
| 5389 xe_check_libs=" -lXmu " | 5406 xe_check_libs=" -lXmu " |
| 5390 cat > conftest.$ac_ext <<EOF | 5407 cat > conftest.$ac_ext <<EOF |
| 5391 #line 5392 "configure" | 5408 #line 5409 "configure" |
| 5392 #include "confdefs.h" | 5409 #include "confdefs.h" |
| 5393 /* Override any gcc2 internal prototype to avoid an error. */ | 5410 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5394 /* We use char because int might match the return type of a gcc2 | 5411 /* We use char because int might match the return type of a gcc2 |
| 5395 builtin and then its argument prototype would still apply. */ | 5412 builtin and then its argument prototype would still apply. */ |
| 5396 char XmuReadBitmapDataFromFile(); | 5413 char XmuReadBitmapDataFromFile(); |
| 5397 | 5414 |
| 5398 int main() { | 5415 int main() { |
| 5399 XmuReadBitmapDataFromFile() | 5416 XmuReadBitmapDataFromFile() |
| 5400 ; return 0; } | 5417 ; return 0; } |
| 5401 EOF | 5418 EOF |
| 5402 if { (eval echo configure:5403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5419 if { (eval echo configure:5420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5403 rm -rf conftest* | 5420 rm -rf conftest* |
| 5404 eval "ac_cv_lib_$ac_lib_var=yes" | 5421 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5405 else | 5422 else |
| 5406 echo "configure: failed program was:" >&5 | 5423 echo "configure: failed program was:" >&5 |
| 5407 cat conftest.$ac_ext >&5 | 5424 cat conftest.$ac_ext >&5 |
| 5436 | 5453 |
| 5437 fi | 5454 fi |
| 5438 | 5455 |
| 5439 | 5456 |
| 5440 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5457 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5441 echo "configure:5442: checking for main in -lXbsd" >&5 | 5458 echo "configure:5459: checking for main in -lXbsd" >&5 |
| 5442 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5459 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5443 | 5460 |
| 5444 xe_check_libs=" -lXbsd " | 5461 xe_check_libs=" -lXbsd " |
| 5445 cat > conftest.$ac_ext <<EOF | 5462 cat > conftest.$ac_ext <<EOF |
| 5446 #line 5447 "configure" | 5463 #line 5464 "configure" |
| 5447 #include "confdefs.h" | 5464 #include "confdefs.h" |
| 5448 | 5465 |
| 5449 int main() { | 5466 int main() { |
| 5450 main() | 5467 main() |
| 5451 ; return 0; } | 5468 ; return 0; } |
| 5452 EOF | 5469 EOF |
| 5453 if { (eval echo configure:5454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5470 if { (eval echo configure:5471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5454 rm -rf conftest* | 5471 rm -rf conftest* |
| 5455 eval "ac_cv_lib_$ac_lib_var=yes" | 5472 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5456 else | 5473 else |
| 5457 echo "configure: failed program was:" >&5 | 5474 echo "configure: failed program was:" >&5 |
| 5458 cat conftest.$ac_ext >&5 | 5475 cat conftest.$ac_ext >&5 |
| 5502 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5519 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 5503 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5520 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 5504 esac | 5521 esac |
| 5505 | 5522 |
| 5506 echo "checking for session-management option" 1>&6 | 5523 echo "checking for session-management option" 1>&6 |
| 5507 echo "configure:5508: checking for session-management option" >&5; | 5524 echo "configure:5525: checking for session-management option" >&5; |
| 5508 if test "$with_session" != "no"; then | 5525 if test "$with_session" != "no"; then |
| 5509 { test "$extra_verbose" = "yes" && cat << \EOF | 5526 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5510 Defining HAVE_SESSION | 5527 Defining HAVE_SESSION |
| 5511 EOF | 5528 EOF |
| 5512 cat >> confdefs.h <<\EOF | 5529 cat >> confdefs.h <<\EOF |
| 5517 fi | 5534 fi |
| 5518 | 5535 |
| 5519 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5536 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 5520 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5537 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 5521 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5538 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 5522 echo "configure:5523: checking for X11/Xauth.h" >&5 | 5539 echo "configure:5540: checking for X11/Xauth.h" >&5 |
| 5523 | 5540 |
| 5524 cat > conftest.$ac_ext <<EOF | 5541 cat > conftest.$ac_ext <<EOF |
| 5525 #line 5526 "configure" | 5542 #line 5543 "configure" |
| 5526 #include "confdefs.h" | 5543 #include "confdefs.h" |
| 5527 #include <X11/Xauth.h> | 5544 #include <X11/Xauth.h> |
| 5528 EOF | 5545 EOF |
| 5529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5530 { (eval echo configure:5531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5547 { (eval echo configure:5548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5531 ac_err=`grep -v '^ *+' conftest.out` | 5548 ac_err=`grep -v '^ *+' conftest.out` |
| 5532 if test -z "$ac_err"; then | 5549 if test -z "$ac_err"; then |
| 5533 rm -rf conftest* | 5550 rm -rf conftest* |
| 5534 eval "ac_cv_header_$ac_safe=yes" | 5551 eval "ac_cv_header_$ac_safe=yes" |
| 5535 else | 5552 else |
| 5548 with_xauth=no | 5565 with_xauth=no |
| 5549 fi | 5566 fi |
| 5550 } | 5567 } |
| 5551 test -z "$with_xauth" && { | 5568 test -z "$with_xauth" && { |
| 5552 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5569 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 5553 echo "configure:5554: checking for XauGetAuthByAddr in -lXau" >&5 | 5570 echo "configure:5571: checking for XauGetAuthByAddr in -lXau" >&5 |
| 5554 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5571 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 5555 | 5572 |
| 5556 xe_check_libs=" -lXau " | 5573 xe_check_libs=" -lXau " |
| 5557 cat > conftest.$ac_ext <<EOF | 5574 cat > conftest.$ac_ext <<EOF |
| 5558 #line 5559 "configure" | 5575 #line 5576 "configure" |
| 5559 #include "confdefs.h" | 5576 #include "confdefs.h" |
| 5560 /* Override any gcc2 internal prototype to avoid an error. */ | 5577 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5561 /* We use char because int might match the return type of a gcc2 | 5578 /* We use char because int might match the return type of a gcc2 |
| 5562 builtin and then its argument prototype would still apply. */ | 5579 builtin and then its argument prototype would still apply. */ |
| 5563 char XauGetAuthByAddr(); | 5580 char XauGetAuthByAddr(); |
| 5564 | 5581 |
| 5565 int main() { | 5582 int main() { |
| 5566 XauGetAuthByAddr() | 5583 XauGetAuthByAddr() |
| 5567 ; return 0; } | 5584 ; return 0; } |
| 5568 EOF | 5585 EOF |
| 5569 if { (eval echo configure:5570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5586 if { (eval echo configure:5587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5570 rm -rf conftest* | 5587 rm -rf conftest* |
| 5571 eval "ac_cv_lib_$ac_lib_var=yes" | 5588 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5572 else | 5589 else |
| 5573 echo "configure: failed program was:" >&5 | 5590 echo "configure: failed program was:" >&5 |
| 5574 cat conftest.$ac_ext >&5 | 5591 cat conftest.$ac_ext >&5 |
| 5624 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5641 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
| 5625 if test "$with_tooltalk" != "no" ; then | 5642 if test "$with_tooltalk" != "no" ; then |
| 5626 for dir in "" "Tt/" "desktop/" ; do | 5643 for dir in "" "Tt/" "desktop/" ; do |
| 5627 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5644 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 5628 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5645 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 5629 echo "configure:5630: checking for ${dir}tt_c.h" >&5 | 5646 echo "configure:5647: checking for ${dir}tt_c.h" >&5 |
| 5630 | 5647 |
| 5631 cat > conftest.$ac_ext <<EOF | 5648 cat > conftest.$ac_ext <<EOF |
| 5632 #line 5633 "configure" | 5649 #line 5650 "configure" |
| 5633 #include "confdefs.h" | 5650 #include "confdefs.h" |
| 5634 #include <${dir}tt_c.h> | 5651 #include <${dir}tt_c.h> |
| 5635 EOF | 5652 EOF |
| 5636 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5637 { (eval echo configure:5638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5654 { (eval echo configure:5655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5638 ac_err=`grep -v '^ *+' conftest.out` | 5655 ac_err=`grep -v '^ *+' conftest.out` |
| 5639 if test -z "$ac_err"; then | 5656 if test -z "$ac_err"; then |
| 5640 rm -rf conftest* | 5657 rm -rf conftest* |
| 5641 eval "ac_cv_header_$ac_safe=yes" | 5658 eval "ac_cv_header_$ac_safe=yes" |
| 5642 else | 5659 else |
| 5661 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5678 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 5662 | 5679 |
| 5663 xe_msg_checking="for tt_message_create in -ltt" | 5680 xe_msg_checking="for tt_message_create in -ltt" |
| 5664 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5681 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 5665 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5682 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5666 echo "configure:5667: checking "$xe_msg_checking"" >&5 | 5683 echo "configure:5684: checking "$xe_msg_checking"" >&5 |
| 5667 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5684 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 5668 | 5685 |
| 5669 xe_check_libs=" -ltt $extra_libs" | 5686 xe_check_libs=" -ltt $extra_libs" |
| 5670 cat > conftest.$ac_ext <<EOF | 5687 cat > conftest.$ac_ext <<EOF |
| 5671 #line 5672 "configure" | 5688 #line 5689 "configure" |
| 5672 #include "confdefs.h" | 5689 #include "confdefs.h" |
| 5673 /* Override any gcc2 internal prototype to avoid an error. */ | 5690 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5674 /* We use char because int might match the return type of a gcc2 | 5691 /* We use char because int might match the return type of a gcc2 |
| 5675 builtin and then its argument prototype would still apply. */ | 5692 builtin and then its argument prototype would still apply. */ |
| 5676 char tt_message_create(); | 5693 char tt_message_create(); |
| 5677 | 5694 |
| 5678 int main() { | 5695 int main() { |
| 5679 tt_message_create() | 5696 tt_message_create() |
| 5680 ; return 0; } | 5697 ; return 0; } |
| 5681 EOF | 5698 EOF |
| 5682 if { (eval echo configure:5683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5699 if { (eval echo configure:5700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5683 rm -rf conftest* | 5700 rm -rf conftest* |
| 5684 eval "ac_cv_lib_$ac_lib_var=yes" | 5701 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5685 else | 5702 else |
| 5686 echo "configure: failed program was:" >&5 | 5703 echo "configure: failed program was:" >&5 |
| 5687 cat conftest.$ac_ext >&5 | 5704 cat conftest.$ac_ext >&5 |
| 5726 fi | 5743 fi |
| 5727 fi | 5744 fi |
| 5728 | 5745 |
| 5729 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5746 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 5730 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5747 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 5731 echo "configure:5732: checking for Dt/Dt.h" >&5 | 5748 echo "configure:5749: checking for Dt/Dt.h" >&5 |
| 5732 | 5749 |
| 5733 cat > conftest.$ac_ext <<EOF | 5750 cat > conftest.$ac_ext <<EOF |
| 5734 #line 5735 "configure" | 5751 #line 5752 "configure" |
| 5735 #include "confdefs.h" | 5752 #include "confdefs.h" |
| 5736 #include <Dt/Dt.h> | 5753 #include <Dt/Dt.h> |
| 5737 EOF | 5754 EOF |
| 5738 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5739 { (eval echo configure:5740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5756 { (eval echo configure:5757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5740 ac_err=`grep -v '^ *+' conftest.out` | 5757 ac_err=`grep -v '^ *+' conftest.out` |
| 5741 if test -z "$ac_err"; then | 5758 if test -z "$ac_err"; then |
| 5742 rm -rf conftest* | 5759 rm -rf conftest* |
| 5743 eval "ac_cv_header_$ac_safe=yes" | 5760 eval "ac_cv_header_$ac_safe=yes" |
| 5744 else | 5761 else |
| 5757 with_cde=no | 5774 with_cde=no |
| 5758 fi | 5775 fi |
| 5759 } | 5776 } |
| 5760 test -z "$with_cde" && { | 5777 test -z "$with_cde" && { |
| 5761 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5778 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 5762 echo "configure:5763: checking for DtDndDragStart in -lDtSvc" >&5 | 5779 echo "configure:5780: checking for DtDndDragStart in -lDtSvc" >&5 |
| 5763 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5780 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 5764 | 5781 |
| 5765 xe_check_libs=" -lDtSvc " | 5782 xe_check_libs=" -lDtSvc " |
| 5766 cat > conftest.$ac_ext <<EOF | 5783 cat > conftest.$ac_ext <<EOF |
| 5767 #line 5768 "configure" | 5784 #line 5785 "configure" |
| 5768 #include "confdefs.h" | 5785 #include "confdefs.h" |
| 5769 /* Override any gcc2 internal prototype to avoid an error. */ | 5786 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5770 /* We use char because int might match the return type of a gcc2 | 5787 /* We use char because int might match the return type of a gcc2 |
| 5771 builtin and then its argument prototype would still apply. */ | 5788 builtin and then its argument prototype would still apply. */ |
| 5772 char DtDndDragStart(); | 5789 char DtDndDragStart(); |
| 5773 | 5790 |
| 5774 int main() { | 5791 int main() { |
| 5775 DtDndDragStart() | 5792 DtDndDragStart() |
| 5776 ; return 0; } | 5793 ; return 0; } |
| 5777 EOF | 5794 EOF |
| 5778 if { (eval echo configure:5779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5795 if { (eval echo configure:5796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5779 rm -rf conftest* | 5796 rm -rf conftest* |
| 5780 eval "ac_cv_lib_$ac_lib_var=yes" | 5797 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5781 else | 5798 else |
| 5782 echo "configure: failed program was:" >&5 | 5799 echo "configure: failed program was:" >&5 |
| 5783 cat conftest.$ac_ext >&5 | 5800 cat conftest.$ac_ext >&5 |
| 5820 EOF | 5837 EOF |
| 5821 } | 5838 } |
| 5822 | 5839 |
| 5823 | 5840 |
| 5824 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 | 5841 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 |
| 5825 echo "configure:5826: checking for main in -lenergize" >&5 | 5842 echo "configure:5843: checking for main in -lenergize" >&5 |
| 5826 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` | 5843 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` |
| 5827 | 5844 |
| 5828 xe_check_libs=" -lenergize " | 5845 xe_check_libs=" -lenergize " |
| 5829 cat > conftest.$ac_ext <<EOF | 5846 cat > conftest.$ac_ext <<EOF |
| 5830 #line 5831 "configure" | 5847 #line 5848 "configure" |
| 5831 #include "confdefs.h" | 5848 #include "confdefs.h" |
| 5832 | 5849 |
| 5833 int main() { | 5850 int main() { |
| 5834 main() | 5851 main() |
| 5835 ; return 0; } | 5852 ; return 0; } |
| 5836 EOF | 5853 EOF |
| 5837 if { (eval echo configure:5838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5854 if { (eval echo configure:5855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5838 rm -rf conftest* | 5855 rm -rf conftest* |
| 5839 eval "ac_cv_lib_$ac_lib_var=yes" | 5856 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5840 else | 5857 else |
| 5841 echo "configure: failed program was:" >&5 | 5858 echo "configure: failed program was:" >&5 |
| 5842 cat conftest.$ac_ext >&5 | 5859 cat conftest.$ac_ext >&5 |
| 5864 | 5881 |
| 5865 | 5882 |
| 5866 if test -z "$energize_version"; then | 5883 if test -z "$energize_version"; then |
| 5867 | 5884 |
| 5868 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 | 5885 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 |
| 5869 echo "configure:5870: checking for main in -lconn" >&5 | 5886 echo "configure:5887: checking for main in -lconn" >&5 |
| 5870 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` | 5887 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` |
| 5871 | 5888 |
| 5872 xe_check_libs=" -lconn " | 5889 xe_check_libs=" -lconn " |
| 5873 cat > conftest.$ac_ext <<EOF | 5890 cat > conftest.$ac_ext <<EOF |
| 5874 #line 5875 "configure" | 5891 #line 5892 "configure" |
| 5875 #include "confdefs.h" | 5892 #include "confdefs.h" |
| 5876 | 5893 |
| 5877 int main() { | 5894 int main() { |
| 5878 main() | 5895 main() |
| 5879 ; return 0; } | 5896 ; return 0; } |
| 5880 EOF | 5897 EOF |
| 5881 if { (eval echo configure:5882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5898 if { (eval echo configure:5899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5882 rm -rf conftest* | 5899 rm -rf conftest* |
| 5883 eval "ac_cv_lib_$ac_lib_var=yes" | 5900 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5884 else | 5901 else |
| 5885 echo "configure: failed program was:" >&5 | 5902 echo "configure: failed program was:" >&5 |
| 5886 cat conftest.$ac_ext >&5 | 5903 cat conftest.$ac_ext >&5 |
| 5909 | 5926 |
| 5910 | 5927 |
| 5911 fi | 5928 fi |
| 5912 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` | 5929 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` |
| 5913 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 | 5930 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 |
| 5914 echo "configure:5915: checking for editorconn.h" >&5 | 5931 echo "configure:5932: checking for editorconn.h" >&5 |
| 5915 | 5932 |
| 5916 cat > conftest.$ac_ext <<EOF | 5933 cat > conftest.$ac_ext <<EOF |
| 5917 #line 5918 "configure" | 5934 #line 5935 "configure" |
| 5918 #include "confdefs.h" | 5935 #include "confdefs.h" |
| 5919 #include <editorconn.h> | 5936 #include <editorconn.h> |
| 5920 EOF | 5937 EOF |
| 5921 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5938 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5922 { (eval echo configure:5923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5939 { (eval echo configure:5940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5923 ac_err=`grep -v '^ *+' conftest.out` | 5940 ac_err=`grep -v '^ *+' conftest.out` |
| 5924 if test -z "$ac_err"; then | 5941 if test -z "$ac_err"; then |
| 5925 rm -rf conftest* | 5942 rm -rf conftest* |
| 5926 eval "ac_cv_header_$ac_safe=yes" | 5943 eval "ac_cv_header_$ac_safe=yes" |
| 5927 else | 5944 else |
| 5961 | 5978 |
| 5962 | 5979 |
| 5963 if test "$with_x11" = "yes"; then | 5980 if test "$with_x11" = "yes"; then |
| 5964 | 5981 |
| 5965 echo "checking for X11 graphics libraries" 1>&6 | 5982 echo "checking for X11 graphics libraries" 1>&6 |
| 5966 echo "configure:5967: checking for X11 graphics libraries" >&5 | 5983 echo "configure:5984: checking for X11 graphics libraries" >&5 |
| 5967 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 5984 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 5968 echo "configure:5969: checking for Xpm - no older than 3.4f" >&5 | 5985 echo "configure:5986: checking for Xpm - no older than 3.4f" >&5 |
| 5969 xe_check_libs=-lXpm | 5986 xe_check_libs=-lXpm |
| 5970 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 5987 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
| 5971 #line 5972 "configure" | 5988 #line 5989 "configure" |
| 5972 #include "confdefs.h" | 5989 #include "confdefs.h" |
| 5973 #include <X11/xpm.h> | 5990 #include <X11/xpm.h> |
| 5974 int main(int c, char **v) { | 5991 int main(int c, char **v) { |
| 5975 return c == 1 ? 0 : | 5992 return c == 1 ? 0 : |
| 5976 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 5993 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 5977 XpmIncludeVersion < 30406 ? 2 : | 5994 XpmIncludeVersion < 30406 ? 2 : |
| 5978 0 ; | 5995 0 ; |
| 5979 } | 5996 } |
| 5980 EOF | 5997 EOF |
| 5981 if { (eval echo configure:5982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5998 if { (eval echo configure:5999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5982 then | 5999 then |
| 5983 ./conftest foobar; xpm_status=$?; | 6000 ./conftest foobar; xpm_status=$?; |
| 5984 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 6001 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
| 5985 else | 6002 else |
| 5986 echo "configure: failed program was:" >&5 | 6003 echo "configure: failed program was:" >&5 |
| 6014 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6031 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 6015 fi | 6032 fi |
| 6016 | 6033 |
| 6017 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6034 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 6018 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6035 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 6019 echo "configure:6020: checking for compface.h" >&5 | 6036 echo "configure:6037: checking for compface.h" >&5 |
| 6020 | 6037 |
| 6021 cat > conftest.$ac_ext <<EOF | 6038 cat > conftest.$ac_ext <<EOF |
| 6022 #line 6023 "configure" | 6039 #line 6040 "configure" |
| 6023 #include "confdefs.h" | 6040 #include "confdefs.h" |
| 6024 #include <compface.h> | 6041 #include <compface.h> |
| 6025 EOF | 6042 EOF |
| 6026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6043 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6027 { (eval echo configure:6028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6044 { (eval echo configure:6045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6028 ac_err=`grep -v '^ *+' conftest.out` | 6045 ac_err=`grep -v '^ *+' conftest.out` |
| 6029 if test -z "$ac_err"; then | 6046 if test -z "$ac_err"; then |
| 6030 rm -rf conftest* | 6047 rm -rf conftest* |
| 6031 eval "ac_cv_header_$ac_safe=yes" | 6048 eval "ac_cv_header_$ac_safe=yes" |
| 6032 else | 6049 else |
| 6045 with_xface=no | 6062 with_xface=no |
| 6046 fi | 6063 fi |
| 6047 } | 6064 } |
| 6048 test -z "$with_xface" && { | 6065 test -z "$with_xface" && { |
| 6049 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6066 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 6050 echo "configure:6051: checking for UnGenFace in -lcompface" >&5 | 6067 echo "configure:6068: checking for UnGenFace in -lcompface" >&5 |
| 6051 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6068 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 6052 | 6069 |
| 6053 xe_check_libs=" -lcompface " | 6070 xe_check_libs=" -lcompface " |
| 6054 cat > conftest.$ac_ext <<EOF | 6071 cat > conftest.$ac_ext <<EOF |
| 6055 #line 6056 "configure" | 6072 #line 6073 "configure" |
| 6056 #include "confdefs.h" | 6073 #include "confdefs.h" |
| 6057 /* Override any gcc2 internal prototype to avoid an error. */ | 6074 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6058 /* We use char because int might match the return type of a gcc2 | 6075 /* We use char because int might match the return type of a gcc2 |
| 6059 builtin and then its argument prototype would still apply. */ | 6076 builtin and then its argument prototype would still apply. */ |
| 6060 char UnGenFace(); | 6077 char UnGenFace(); |
| 6061 | 6078 |
| 6062 int main() { | 6079 int main() { |
| 6063 UnGenFace() | 6080 UnGenFace() |
| 6064 ; return 0; } | 6081 ; return 0; } |
| 6065 EOF | 6082 EOF |
| 6066 if { (eval echo configure:6067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6083 if { (eval echo configure:6084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6067 rm -rf conftest* | 6084 rm -rf conftest* |
| 6068 eval "ac_cv_lib_$ac_lib_var=yes" | 6085 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6069 else | 6086 else |
| 6070 echo "configure: failed program was:" >&5 | 6087 echo "configure: failed program was:" >&5 |
| 6071 cat conftest.$ac_ext >&5 | 6088 cat conftest.$ac_ext >&5 |
| 6095 } | 6112 } |
| 6096 | 6113 |
| 6097 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 6114 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
| 6098 fi | 6115 fi |
| 6099 | 6116 |
| 6100 test -z "$with_imagick" && { ac_safe=`echo "magick.h" | sed 'y%./+-%__p_%'` | 6117 test -z "$with_imagick" && { ac_safe=`echo "magick/magick.h" | sed 'y%./+-%__p_%'` |
| 6101 echo $ac_n "checking for magick.h""... $ac_c" 1>&6 | 6118 echo $ac_n "checking for magick/magick.h""... $ac_c" 1>&6 |
| 6102 echo "configure:6103: checking for magick.h" >&5 | 6119 echo "configure:6120: checking for magick/magick.h" >&5 |
| 6103 | 6120 |
| 6104 cat > conftest.$ac_ext <<EOF | 6121 cat > conftest.$ac_ext <<EOF |
| 6105 #line 6106 "configure" | 6122 #line 6123 "configure" |
| 6106 #include "confdefs.h" | 6123 #include "confdefs.h" |
| 6107 #include <magick.h> | 6124 #include <magick/magick.h> |
| 6108 EOF | 6125 EOF |
| 6109 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6110 { (eval echo configure:6111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6127 { (eval echo configure:6128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6111 ac_err=`grep -v '^ *+' conftest.out` | 6128 ac_err=`grep -v '^ *+' conftest.out` |
| 6112 if test -z "$ac_err"; then | 6129 if test -z "$ac_err"; then |
| 6113 rm -rf conftest* | 6130 rm -rf conftest* |
| 6114 eval "ac_cv_header_$ac_safe=yes" | 6131 eval "ac_cv_header_$ac_safe=yes" |
| 6115 else | 6132 else |
| 6128 with_imagick=no | 6145 with_imagick=no |
| 6129 fi | 6146 fi |
| 6130 } | 6147 } |
| 6131 test -z "$with_imagick" && { | 6148 test -z "$with_imagick" && { |
| 6132 echo $ac_n "checking for MogrifyImage in -lMagick""... $ac_c" 1>&6 | 6149 echo $ac_n "checking for MogrifyImage in -lMagick""... $ac_c" 1>&6 |
| 6133 echo "configure:6134: checking for MogrifyImage in -lMagick" >&5 | 6150 echo "configure:6151: checking for MogrifyImage in -lMagick" >&5 |
| 6134 ac_lib_var=`echo Magick'_'MogrifyImage | sed 'y%./+-%__p_%'` | 6151 ac_lib_var=`echo Magick'_'MogrifyImage | sed 'y%./+-%__p_%'` |
| 6135 | 6152 |
| 6136 xe_check_libs=" -lMagick " | 6153 xe_check_libs=" -lMagick " |
| 6137 cat > conftest.$ac_ext <<EOF | 6154 cat > conftest.$ac_ext <<EOF |
| 6138 #line 6139 "configure" | 6155 #line 6156 "configure" |
| 6139 #include "confdefs.h" | 6156 #include "confdefs.h" |
| 6140 /* Override any gcc2 internal prototype to avoid an error. */ | 6157 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6141 /* We use char because int might match the return type of a gcc2 | 6158 /* We use char because int might match the return type of a gcc2 |
| 6142 builtin and then its argument prototype would still apply. */ | 6159 builtin and then its argument prototype would still apply. */ |
| 6143 char MogrifyImage(); | 6160 char MogrifyImage(); |
| 6144 | 6161 |
| 6145 int main() { | 6162 int main() { |
| 6146 MogrifyImage() | 6163 MogrifyImage() |
| 6147 ; return 0; } | 6164 ; return 0; } |
| 6148 EOF | 6165 EOF |
| 6149 if { (eval echo configure:6150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6166 if { (eval echo configure:6167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6150 rm -rf conftest* | 6167 rm -rf conftest* |
| 6151 eval "ac_cv_lib_$ac_lib_var=yes" | 6168 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6152 else | 6169 else |
| 6153 echo "configure: failed program was:" >&5 | 6170 echo "configure: failed program was:" >&5 |
| 6154 cat conftest.$ac_ext >&5 | 6171 cat conftest.$ac_ext >&5 |
| 6180 libs_x="-lMagick $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lMagick\" to \$libs_x"; fi | 6197 libs_x="-lMagick $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lMagick\" to \$libs_x"; fi |
| 6181 fi | 6198 fi |
| 6182 | 6199 |
| 6183 | 6200 |
| 6184 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 6201 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 6185 echo "configure:6186: checking for XawScrollbarSetThumb in -lXaw" >&5 | 6202 echo "configure:6203: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 6186 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 6203 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 6187 | 6204 |
| 6188 xe_check_libs=" -lXaw " | 6205 xe_check_libs=" -lXaw " |
| 6189 cat > conftest.$ac_ext <<EOF | 6206 cat > conftest.$ac_ext <<EOF |
| 6190 #line 6191 "configure" | 6207 #line 6208 "configure" |
| 6191 #include "confdefs.h" | 6208 #include "confdefs.h" |
| 6192 /* Override any gcc2 internal prototype to avoid an error. */ | 6209 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6193 /* We use char because int might match the return type of a gcc2 | 6210 /* We use char because int might match the return type of a gcc2 |
| 6194 builtin and then its argument prototype would still apply. */ | 6211 builtin and then its argument prototype would still apply. */ |
| 6195 char XawScrollbarSetThumb(); | 6212 char XawScrollbarSetThumb(); |
| 6196 | 6213 |
| 6197 int main() { | 6214 int main() { |
| 6198 XawScrollbarSetThumb() | 6215 XawScrollbarSetThumb() |
| 6199 ; return 0; } | 6216 ; return 0; } |
| 6200 EOF | 6217 EOF |
| 6201 if { (eval echo configure:6202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6218 if { (eval echo configure:6219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6202 rm -rf conftest* | 6219 rm -rf conftest* |
| 6203 eval "ac_cv_lib_$ac_lib_var=yes" | 6220 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6204 else | 6221 else |
| 6205 echo "configure: failed program was:" >&5 | 6222 echo "configure: failed program was:" >&5 |
| 6206 cat conftest.$ac_ext >&5 | 6223 cat conftest.$ac_ext >&5 |
| 6220 | 6237 |
| 6221 | 6238 |
| 6222 if test "$have_xaw" = "yes"; then | 6239 if test "$have_xaw" = "yes"; then |
| 6223 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` | 6240 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` |
| 6224 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 | 6241 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 |
| 6225 echo "configure:6226: checking for X11/Xaw/Reports.h" >&5 | 6242 echo "configure:6243: checking for X11/Xaw/Reports.h" >&5 |
| 6226 | 6243 |
| 6227 cat > conftest.$ac_ext <<EOF | 6244 cat > conftest.$ac_ext <<EOF |
| 6228 #line 6229 "configure" | 6245 #line 6246 "configure" |
| 6229 #include "confdefs.h" | 6246 #include "confdefs.h" |
| 6230 #include <X11/Xaw/Reports.h> | 6247 #include <X11/Xaw/Reports.h> |
| 6231 EOF | 6248 EOF |
| 6232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6249 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6233 { (eval echo configure:6234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6250 { (eval echo configure:6251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6234 ac_err=`grep -v '^ *+' conftest.out` | 6251 ac_err=`grep -v '^ *+' conftest.out` |
| 6235 if test -z "$ac_err"; then | 6252 if test -z "$ac_err"; then |
| 6236 rm -rf conftest* | 6253 rm -rf conftest* |
| 6237 eval "ac_cv_header_$ac_safe=yes" | 6254 eval "ac_cv_header_$ac_safe=yes" |
| 6238 else | 6255 else |
| 6254 | 6271 |
| 6255 fi | 6272 fi |
| 6256 | 6273 |
| 6257 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6274 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 6258 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6275 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 6259 echo "configure:6260: checking for Xm/Xm.h" >&5 | 6276 echo "configure:6277: checking for Xm/Xm.h" >&5 |
| 6260 | 6277 |
| 6261 cat > conftest.$ac_ext <<EOF | 6278 cat > conftest.$ac_ext <<EOF |
| 6262 #line 6263 "configure" | 6279 #line 6280 "configure" |
| 6263 #include "confdefs.h" | 6280 #include "confdefs.h" |
| 6264 #include <Xm/Xm.h> | 6281 #include <Xm/Xm.h> |
| 6265 EOF | 6282 EOF |
| 6266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6283 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6267 { (eval echo configure:6268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6284 { (eval echo configure:6285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6268 ac_err=`grep -v '^ *+' conftest.out` | 6285 ac_err=`grep -v '^ *+' conftest.out` |
| 6269 if test -z "$ac_err"; then | 6286 if test -z "$ac_err"; then |
| 6270 rm -rf conftest* | 6287 rm -rf conftest* |
| 6271 eval "ac_cv_header_$ac_safe=yes" | 6288 eval "ac_cv_header_$ac_safe=yes" |
| 6272 else | 6289 else |
| 6279 rm -f conftest* | 6296 rm -f conftest* |
| 6280 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6297 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 6281 echo "$ac_t""yes" 1>&6 | 6298 echo "$ac_t""yes" 1>&6 |
| 6282 | 6299 |
| 6283 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6300 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 6284 echo "configure:6285: checking for XmStringFree in -lXm" >&5 | 6301 echo "configure:6302: checking for XmStringFree in -lXm" >&5 |
| 6285 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6302 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 6286 | 6303 |
| 6287 xe_check_libs=" -lXm " | 6304 xe_check_libs=" -lXm " |
| 6288 cat > conftest.$ac_ext <<EOF | 6305 cat > conftest.$ac_ext <<EOF |
| 6289 #line 6290 "configure" | 6306 #line 6307 "configure" |
| 6290 #include "confdefs.h" | 6307 #include "confdefs.h" |
| 6291 /* Override any gcc2 internal prototype to avoid an error. */ | 6308 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6292 /* We use char because int might match the return type of a gcc2 | 6309 /* We use char because int might match the return type of a gcc2 |
| 6293 builtin and then its argument prototype would still apply. */ | 6310 builtin and then its argument prototype would still apply. */ |
| 6294 char XmStringFree(); | 6311 char XmStringFree(); |
| 6295 | 6312 |
| 6296 int main() { | 6313 int main() { |
| 6297 XmStringFree() | 6314 XmStringFree() |
| 6298 ; return 0; } | 6315 ; return 0; } |
| 6299 EOF | 6316 EOF |
| 6300 if { (eval echo configure:6301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6317 if { (eval echo configure:6318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6301 rm -rf conftest* | 6318 rm -rf conftest* |
| 6302 eval "ac_cv_lib_$ac_lib_var=yes" | 6319 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6303 else | 6320 else |
| 6304 echo "configure: failed program was:" >&5 | 6321 echo "configure: failed program was:" >&5 |
| 6305 cat conftest.$ac_ext >&5 | 6322 cat conftest.$ac_ext >&5 |
| 6551 exit 1 | 6568 exit 1 |
| 6552 fi | 6569 fi |
| 6553 | 6570 |
| 6554 if test "$with_mule" = "yes" ; then | 6571 if test "$with_mule" = "yes" ; then |
| 6555 echo "checking for Mule-related features" 1>&6 | 6572 echo "checking for Mule-related features" 1>&6 |
| 6556 echo "configure:6557: checking for Mule-related features" >&5 | 6573 echo "configure:6574: checking for Mule-related features" >&5 |
| 6557 { test "$extra_verbose" = "yes" && cat << \EOF | 6574 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6558 Defining MULE | 6575 Defining MULE |
| 6559 EOF | 6576 EOF |
| 6560 cat >> confdefs.h <<\EOF | 6577 cat >> confdefs.h <<\EOF |
| 6561 #define MULE 1 | 6578 #define MULE 1 |
| 6568 | 6585 |
| 6569 for ac_hdr in libintl.h | 6586 for ac_hdr in libintl.h |
| 6570 do | 6587 do |
| 6571 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6588 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6572 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6589 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6573 echo "configure:6574: checking for $ac_hdr" >&5 | 6590 echo "configure:6591: checking for $ac_hdr" >&5 |
| 6574 | 6591 |
| 6575 cat > conftest.$ac_ext <<EOF | 6592 cat > conftest.$ac_ext <<EOF |
| 6576 #line 6577 "configure" | 6593 #line 6594 "configure" |
| 6577 #include "confdefs.h" | 6594 #include "confdefs.h" |
| 6578 #include <$ac_hdr> | 6595 #include <$ac_hdr> |
| 6579 EOF | 6596 EOF |
| 6580 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6581 { (eval echo configure:6582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6598 { (eval echo configure:6599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6582 ac_err=`grep -v '^ *+' conftest.out` | 6599 ac_err=`grep -v '^ *+' conftest.out` |
| 6583 if test -z "$ac_err"; then | 6600 if test -z "$ac_err"; then |
| 6584 rm -rf conftest* | 6601 rm -rf conftest* |
| 6585 eval "ac_cv_header_$ac_safe=yes" | 6602 eval "ac_cv_header_$ac_safe=yes" |
| 6586 else | 6603 else |
| 6607 fi | 6624 fi |
| 6608 done | 6625 done |
| 6609 | 6626 |
| 6610 | 6627 |
| 6611 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6628 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 6612 echo "configure:6613: checking for strerror in -lintl" >&5 | 6629 echo "configure:6630: checking for strerror in -lintl" >&5 |
| 6613 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6630 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 6614 | 6631 |
| 6615 xe_check_libs=" -lintl " | 6632 xe_check_libs=" -lintl " |
| 6616 cat > conftest.$ac_ext <<EOF | 6633 cat > conftest.$ac_ext <<EOF |
| 6617 #line 6618 "configure" | 6634 #line 6635 "configure" |
| 6618 #include "confdefs.h" | 6635 #include "confdefs.h" |
| 6619 /* Override any gcc2 internal prototype to avoid an error. */ | 6636 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6620 /* We use char because int might match the return type of a gcc2 | 6637 /* We use char because int might match the return type of a gcc2 |
| 6621 builtin and then its argument prototype would still apply. */ | 6638 builtin and then its argument prototype would still apply. */ |
| 6622 char strerror(); | 6639 char strerror(); |
| 6623 | 6640 |
| 6624 int main() { | 6641 int main() { |
| 6625 strerror() | 6642 strerror() |
| 6626 ; return 0; } | 6643 ; return 0; } |
| 6627 EOF | 6644 EOF |
| 6628 if { (eval echo configure:6629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6645 if { (eval echo configure:6646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6629 rm -rf conftest* | 6646 rm -rf conftest* |
| 6630 eval "ac_cv_lib_$ac_lib_var=yes" | 6647 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6631 else | 6648 else |
| 6632 echo "configure: failed program was:" >&5 | 6649 echo "configure: failed program was:" >&5 |
| 6633 cat conftest.$ac_ext >&5 | 6650 cat conftest.$ac_ext >&5 |
| 6656 fi | 6673 fi |
| 6657 | 6674 |
| 6658 | 6675 |
| 6659 | 6676 |
| 6660 echo "checking for Mule input methods" 1>&6 | 6677 echo "checking for Mule input methods" 1>&6 |
| 6661 echo "configure:6662: checking for Mule input methods" >&5 | 6678 echo "configure:6679: checking for Mule input methods" >&5 |
| 6662 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6679 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
| 6663 case "$with_xim" in "" | "yes" ) | 6680 case "$with_xim" in "" | "yes" ) |
| 6664 echo "checking for XIM" 1>&6 | 6681 echo "checking for XIM" 1>&6 |
| 6665 echo "configure:6666: checking for XIM" >&5 | 6682 echo "configure:6683: checking for XIM" >&5 |
| 6666 | 6683 |
| 6667 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6684 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 6668 echo "configure:6669: checking for XmImMbLookupString in -lXm" >&5 | 6685 echo "configure:6686: checking for XmImMbLookupString in -lXm" >&5 |
| 6669 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6686 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 6670 | 6687 |
| 6671 xe_check_libs=" -lXm " | 6688 xe_check_libs=" -lXm " |
| 6672 cat > conftest.$ac_ext <<EOF | 6689 cat > conftest.$ac_ext <<EOF |
| 6673 #line 6674 "configure" | 6690 #line 6691 "configure" |
| 6674 #include "confdefs.h" | 6691 #include "confdefs.h" |
| 6675 /* Override any gcc2 internal prototype to avoid an error. */ | 6692 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6676 /* We use char because int might match the return type of a gcc2 | 6693 /* We use char because int might match the return type of a gcc2 |
| 6677 builtin and then its argument prototype would still apply. */ | 6694 builtin and then its argument prototype would still apply. */ |
| 6678 char XmImMbLookupString(); | 6695 char XmImMbLookupString(); |
| 6679 | 6696 |
| 6680 int main() { | 6697 int main() { |
| 6681 XmImMbLookupString() | 6698 XmImMbLookupString() |
| 6682 ; return 0; } | 6699 ; return 0; } |
| 6683 EOF | 6700 EOF |
| 6684 if { (eval echo configure:6685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6701 if { (eval echo configure:6702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6685 rm -rf conftest* | 6702 rm -rf conftest* |
| 6686 eval "ac_cv_lib_$ac_lib_var=yes" | 6703 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6687 else | 6704 else |
| 6688 echo "configure: failed program was:" >&5 | 6705 echo "configure: failed program was:" >&5 |
| 6689 cat conftest.$ac_ext >&5 | 6706 cat conftest.$ac_ext >&5 |
| 6742 if test "$with_xfs" = "yes"; then | 6759 if test "$with_xfs" = "yes"; then |
| 6743 with_xfs=no | 6760 with_xfs=no |
| 6744 fi | 6761 fi |
| 6745 else case "$with_xfs" in "yes" ) | 6762 else case "$with_xfs" in "yes" ) |
| 6746 echo "checking for XFontSet" 1>&6 | 6763 echo "checking for XFontSet" 1>&6 |
| 6747 echo "configure:6748: checking for XFontSet" >&5 | 6764 echo "configure:6765: checking for XFontSet" >&5 |
| 6748 | 6765 |
| 6749 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 6766 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 6750 echo "configure:6751: checking for XmbDrawString in -lX11" >&5 | 6767 echo "configure:6768: checking for XmbDrawString in -lX11" >&5 |
| 6751 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 6768 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 6752 | 6769 |
| 6753 xe_check_libs=" -lX11 " | 6770 xe_check_libs=" -lX11 " |
| 6754 cat > conftest.$ac_ext <<EOF | 6771 cat > conftest.$ac_ext <<EOF |
| 6755 #line 6756 "configure" | 6772 #line 6773 "configure" |
| 6756 #include "confdefs.h" | 6773 #include "confdefs.h" |
| 6757 /* Override any gcc2 internal prototype to avoid an error. */ | 6774 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6758 /* We use char because int might match the return type of a gcc2 | 6775 /* We use char because int might match the return type of a gcc2 |
| 6759 builtin and then its argument prototype would still apply. */ | 6776 builtin and then its argument prototype would still apply. */ |
| 6760 char XmbDrawString(); | 6777 char XmbDrawString(); |
| 6761 | 6778 |
| 6762 int main() { | 6779 int main() { |
| 6763 XmbDrawString() | 6780 XmbDrawString() |
| 6764 ; return 0; } | 6781 ; return 0; } |
| 6765 EOF | 6782 EOF |
| 6766 if { (eval echo configure:6767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6783 if { (eval echo configure:6784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6767 rm -rf conftest* | 6784 rm -rf conftest* |
| 6768 eval "ac_cv_lib_$ac_lib_var=yes" | 6785 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6769 else | 6786 else |
| 6770 echo "configure: failed program was:" >&5 | 6787 echo "configure: failed program was:" >&5 |
| 6771 cat conftest.$ac_ext >&5 | 6788 cat conftest.$ac_ext >&5 |
| 6800 fi | 6817 fi |
| 6801 fi | 6818 fi |
| 6802 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 6819 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 6803 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 6820 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 6804 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 6821 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 6805 echo "configure:6806: checking for wnn/jllib.h" >&5 | 6822 echo "configure:6823: checking for wnn/jllib.h" >&5 |
| 6806 | 6823 |
| 6807 cat > conftest.$ac_ext <<EOF | 6824 cat > conftest.$ac_ext <<EOF |
| 6808 #line 6809 "configure" | 6825 #line 6826 "configure" |
| 6809 #include "confdefs.h" | 6826 #include "confdefs.h" |
| 6810 #include <wnn/jllib.h> | 6827 #include <wnn/jllib.h> |
| 6811 EOF | 6828 EOF |
| 6812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6813 { (eval echo configure:6814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6830 { (eval echo configure:6831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6814 ac_err=`grep -v '^ *+' conftest.out` | 6831 ac_err=`grep -v '^ *+' conftest.out` |
| 6815 if test -z "$ac_err"; then | 6832 if test -z "$ac_err"; then |
| 6816 rm -rf conftest* | 6833 rm -rf conftest* |
| 6817 eval "ac_cv_header_$ac_safe=yes" | 6834 eval "ac_cv_header_$ac_safe=yes" |
| 6818 else | 6835 else |
| 6833 } | 6850 } |
| 6834 if test "$with_wnn" != "no"; then | 6851 if test "$with_wnn" != "no"; then |
| 6835 for ac_func in crypt | 6852 for ac_func in crypt |
| 6836 do | 6853 do |
| 6837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6854 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6838 echo "configure:6839: checking for $ac_func" >&5 | 6855 echo "configure:6856: checking for $ac_func" >&5 |
| 6839 | 6856 |
| 6840 cat > conftest.$ac_ext <<EOF | 6857 cat > conftest.$ac_ext <<EOF |
| 6841 #line 6842 "configure" | 6858 #line 6859 "configure" |
| 6842 #include "confdefs.h" | 6859 #include "confdefs.h" |
| 6843 /* System header to define __stub macros and hopefully few prototypes, | 6860 /* System header to define __stub macros and hopefully few prototypes, |
| 6844 which can conflict with char $ac_func(); below. */ | 6861 which can conflict with char $ac_func(); below. */ |
| 6845 #include <assert.h> | 6862 #include <assert.h> |
| 6846 /* Override any gcc2 internal prototype to avoid an error. */ | 6863 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6859 $ac_func(); | 6876 $ac_func(); |
| 6860 #endif | 6877 #endif |
| 6861 | 6878 |
| 6862 ; return 0; } | 6879 ; return 0; } |
| 6863 EOF | 6880 EOF |
| 6864 if { (eval echo configure:6865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6881 if { (eval echo configure:6882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6865 rm -rf conftest* | 6882 rm -rf conftest* |
| 6866 eval "ac_cv_func_$ac_func=yes" | 6883 eval "ac_cv_func_$ac_func=yes" |
| 6867 else | 6884 else |
| 6868 echo "configure: failed program was:" >&5 | 6885 echo "configure: failed program was:" >&5 |
| 6869 cat conftest.$ac_ext >&5 | 6886 cat conftest.$ac_ext >&5 |
| 6888 fi | 6905 fi |
| 6889 done | 6906 done |
| 6890 | 6907 |
| 6891 test "$ac_cv_func_crypt" != "yes" && { | 6908 test "$ac_cv_func_crypt" != "yes" && { |
| 6892 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 6909 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 6893 echo "configure:6894: checking for crypt in -lcrypt" >&5 | 6910 echo "configure:6911: checking for crypt in -lcrypt" >&5 |
| 6894 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 6911 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 6895 | 6912 |
| 6896 xe_check_libs=" -lcrypt " | 6913 xe_check_libs=" -lcrypt " |
| 6897 cat > conftest.$ac_ext <<EOF | 6914 cat > conftest.$ac_ext <<EOF |
| 6898 #line 6899 "configure" | 6915 #line 6916 "configure" |
| 6899 #include "confdefs.h" | 6916 #include "confdefs.h" |
| 6900 /* Override any gcc2 internal prototype to avoid an error. */ | 6917 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6901 /* We use char because int might match the return type of a gcc2 | 6918 /* We use char because int might match the return type of a gcc2 |
| 6902 builtin and then its argument prototype would still apply. */ | 6919 builtin and then its argument prototype would still apply. */ |
| 6903 char crypt(); | 6920 char crypt(); |
| 6904 | 6921 |
| 6905 int main() { | 6922 int main() { |
| 6906 crypt() | 6923 crypt() |
| 6907 ; return 0; } | 6924 ; return 0; } |
| 6908 EOF | 6925 EOF |
| 6909 if { (eval echo configure:6910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6926 if { (eval echo configure:6927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6910 rm -rf conftest* | 6927 rm -rf conftest* |
| 6911 eval "ac_cv_lib_$ac_lib_var=yes" | 6928 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6912 else | 6929 else |
| 6913 echo "configure: failed program was:" >&5 | 6930 echo "configure: failed program was:" >&5 |
| 6914 cat conftest.$ac_ext >&5 | 6931 cat conftest.$ac_ext >&5 |
| 6938 | 6955 |
| 6939 } | 6956 } |
| 6940 fi | 6957 fi |
| 6941 test -z "$with_wnn" && { | 6958 test -z "$with_wnn" && { |
| 6942 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 6959 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 6943 echo "configure:6944: checking for jl_dic_list_e in -lwnn" >&5 | 6960 echo "configure:6961: checking for jl_dic_list_e in -lwnn" >&5 |
| 6944 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 6961 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 6945 | 6962 |
| 6946 xe_check_libs=" -lwnn " | 6963 xe_check_libs=" -lwnn " |
| 6947 cat > conftest.$ac_ext <<EOF | 6964 cat > conftest.$ac_ext <<EOF |
| 6948 #line 6949 "configure" | 6965 #line 6966 "configure" |
| 6949 #include "confdefs.h" | 6966 #include "confdefs.h" |
| 6950 /* Override any gcc2 internal prototype to avoid an error. */ | 6967 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6951 /* We use char because int might match the return type of a gcc2 | 6968 /* We use char because int might match the return type of a gcc2 |
| 6952 builtin and then its argument prototype would still apply. */ | 6969 builtin and then its argument prototype would still apply. */ |
| 6953 char jl_dic_list_e(); | 6970 char jl_dic_list_e(); |
| 6954 | 6971 |
| 6955 int main() { | 6972 int main() { |
| 6956 jl_dic_list_e() | 6973 jl_dic_list_e() |
| 6957 ; return 0; } | 6974 ; return 0; } |
| 6958 EOF | 6975 EOF |
| 6959 if { (eval echo configure:6960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6976 if { (eval echo configure:6977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6960 rm -rf conftest* | 6977 rm -rf conftest* |
| 6961 eval "ac_cv_lib_$ac_lib_var=yes" | 6978 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6962 else | 6979 else |
| 6963 echo "configure: failed program was:" >&5 | 6980 echo "configure: failed program was:" >&5 |
| 6964 cat conftest.$ac_ext >&5 | 6981 cat conftest.$ac_ext >&5 |
| 6991 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7008 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
| 6992 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7009 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 6993 fi | 7010 fi |
| 6994 | 7011 |
| 6995 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7012 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
| 6996 echo "configure:6997: checking for jl_fi_dic_list in -lwnn" >&5 | 7013 echo "configure:7014: checking for jl_fi_dic_list in -lwnn" >&5 |
| 6997 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7014 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 6998 | 7015 |
| 6999 xe_check_libs=" -lwnn " | 7016 xe_check_libs=" -lwnn " |
| 7000 cat > conftest.$ac_ext <<EOF | 7017 cat > conftest.$ac_ext <<EOF |
| 7001 #line 7002 "configure" | 7018 #line 7019 "configure" |
| 7002 #include "confdefs.h" | 7019 #include "confdefs.h" |
| 7003 /* Override any gcc2 internal prototype to avoid an error. */ | 7020 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7004 /* We use char because int might match the return type of a gcc2 | 7021 /* We use char because int might match the return type of a gcc2 |
| 7005 builtin and then its argument prototype would still apply. */ | 7022 builtin and then its argument prototype would still apply. */ |
| 7006 char jl_fi_dic_list(); | 7023 char jl_fi_dic_list(); |
| 7007 | 7024 |
| 7008 int main() { | 7025 int main() { |
| 7009 jl_fi_dic_list() | 7026 jl_fi_dic_list() |
| 7010 ; return 0; } | 7027 ; return 0; } |
| 7011 EOF | 7028 EOF |
| 7012 if { (eval echo configure:7013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7029 if { (eval echo configure:7030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7013 rm -rf conftest* | 7030 rm -rf conftest* |
| 7014 eval "ac_cv_lib_$ac_lib_var=yes" | 7031 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7015 else | 7032 else |
| 7016 echo "configure: failed program was:" >&5 | 7033 echo "configure: failed program was:" >&5 |
| 7017 cat conftest.$ac_ext >&5 | 7034 cat conftest.$ac_ext >&5 |
| 7039 | 7056 |
| 7040 fi | 7057 fi |
| 7041 | 7058 |
| 7042 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7059 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 7043 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7060 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 7044 echo "configure:7045: checking for canna/RK.h" >&5 | 7061 echo "configure:7062: checking for canna/RK.h" >&5 |
| 7045 | 7062 |
| 7046 cat > conftest.$ac_ext <<EOF | 7063 cat > conftest.$ac_ext <<EOF |
| 7047 #line 7048 "configure" | 7064 #line 7065 "configure" |
| 7048 #include "confdefs.h" | 7065 #include "confdefs.h" |
| 7049 #include <canna/RK.h> | 7066 #include <canna/RK.h> |
| 7050 EOF | 7067 EOF |
| 7051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7052 { (eval echo configure:7053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7069 { (eval echo configure:7070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7053 ac_err=`grep -v '^ *+' conftest.out` | 7070 ac_err=`grep -v '^ *+' conftest.out` |
| 7054 if test -z "$ac_err"; then | 7071 if test -z "$ac_err"; then |
| 7055 rm -rf conftest* | 7072 rm -rf conftest* |
| 7056 eval "ac_cv_header_$ac_safe=yes" | 7073 eval "ac_cv_header_$ac_safe=yes" |
| 7057 else | 7074 else |
| 7070 with_canna=no | 7087 with_canna=no |
| 7071 fi | 7088 fi |
| 7072 } | 7089 } |
| 7073 test -z "$with_canna" && { | 7090 test -z "$with_canna" && { |
| 7074 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7091 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 7075 echo "configure:7076: checking for RkBgnBun in -lRKC" >&5 | 7092 echo "configure:7093: checking for RkBgnBun in -lRKC" >&5 |
| 7076 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7093 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 7077 | 7094 |
| 7078 xe_check_libs=" -lRKC " | 7095 xe_check_libs=" -lRKC " |
| 7079 cat > conftest.$ac_ext <<EOF | 7096 cat > conftest.$ac_ext <<EOF |
| 7080 #line 7081 "configure" | 7097 #line 7098 "configure" |
| 7081 #include "confdefs.h" | 7098 #include "confdefs.h" |
| 7082 /* Override any gcc2 internal prototype to avoid an error. */ | 7099 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7083 /* We use char because int might match the return type of a gcc2 | 7100 /* We use char because int might match the return type of a gcc2 |
| 7084 builtin and then its argument prototype would still apply. */ | 7101 builtin and then its argument prototype would still apply. */ |
| 7085 char RkBgnBun(); | 7102 char RkBgnBun(); |
| 7086 | 7103 |
| 7087 int main() { | 7104 int main() { |
| 7088 RkBgnBun() | 7105 RkBgnBun() |
| 7089 ; return 0; } | 7106 ; return 0; } |
| 7090 EOF | 7107 EOF |
| 7091 if { (eval echo configure:7092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7108 if { (eval echo configure:7109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7092 rm -rf conftest* | 7109 rm -rf conftest* |
| 7093 eval "ac_cv_lib_$ac_lib_var=yes" | 7110 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7094 else | 7111 else |
| 7095 echo "configure: failed program was:" >&5 | 7112 echo "configure: failed program was:" >&5 |
| 7096 cat conftest.$ac_ext >&5 | 7113 cat conftest.$ac_ext >&5 |
| 7109 fi | 7126 fi |
| 7110 | 7127 |
| 7111 } | 7128 } |
| 7112 test -z "$with_canna" && { | 7129 test -z "$with_canna" && { |
| 7113 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7130 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 7114 echo "configure:7115: checking for jrKanjiControl in -lcanna" >&5 | 7131 echo "configure:7132: checking for jrKanjiControl in -lcanna" >&5 |
| 7115 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7132 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 7116 | 7133 |
| 7117 xe_check_libs=" -lcanna " | 7134 xe_check_libs=" -lcanna " |
| 7118 cat > conftest.$ac_ext <<EOF | 7135 cat > conftest.$ac_ext <<EOF |
| 7119 #line 7120 "configure" | 7136 #line 7137 "configure" |
| 7120 #include "confdefs.h" | 7137 #include "confdefs.h" |
| 7121 /* Override any gcc2 internal prototype to avoid an error. */ | 7138 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7122 /* We use char because int might match the return type of a gcc2 | 7139 /* We use char because int might match the return type of a gcc2 |
| 7123 builtin and then its argument prototype would still apply. */ | 7140 builtin and then its argument prototype would still apply. */ |
| 7124 char jrKanjiControl(); | 7141 char jrKanjiControl(); |
| 7125 | 7142 |
| 7126 int main() { | 7143 int main() { |
| 7127 jrKanjiControl() | 7144 jrKanjiControl() |
| 7128 ; return 0; } | 7145 ; return 0; } |
| 7129 EOF | 7146 EOF |
| 7130 if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7147 if { (eval echo configure:7148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7131 rm -rf conftest* | 7148 rm -rf conftest* |
| 7132 eval "ac_cv_lib_$ac_lib_var=yes" | 7149 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7133 else | 7150 else |
| 7134 echo "configure: failed program was:" >&5 | 7151 echo "configure: failed program was:" >&5 |
| 7135 cat conftest.$ac_ext >&5 | 7152 cat conftest.$ac_ext >&5 |
| 7174 | 7191 |
| 7175 if test "$need_motif" = "yes" ; then | 7192 if test "$need_motif" = "yes" ; then |
| 7176 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 7193 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 7177 | 7194 |
| 7178 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 7195 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 7179 echo "configure:7180: checking for layout_object_getvalue in -li18n" >&5 | 7196 echo "configure:7197: checking for layout_object_getvalue in -li18n" >&5 |
| 7180 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 7197 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 7181 | 7198 |
| 7182 xe_check_libs=" -li18n " | 7199 xe_check_libs=" -li18n " |
| 7183 cat > conftest.$ac_ext <<EOF | 7200 cat > conftest.$ac_ext <<EOF |
| 7184 #line 7185 "configure" | 7201 #line 7202 "configure" |
| 7185 #include "confdefs.h" | 7202 #include "confdefs.h" |
| 7186 /* Override any gcc2 internal prototype to avoid an error. */ | 7203 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7187 /* We use char because int might match the return type of a gcc2 | 7204 /* We use char because int might match the return type of a gcc2 |
| 7188 builtin and then its argument prototype would still apply. */ | 7205 builtin and then its argument prototype would still apply. */ |
| 7189 char layout_object_getvalue(); | 7206 char layout_object_getvalue(); |
| 7190 | 7207 |
| 7191 int main() { | 7208 int main() { |
| 7192 layout_object_getvalue() | 7209 layout_object_getvalue() |
| 7193 ; return 0; } | 7210 ; return 0; } |
| 7194 EOF | 7211 EOF |
| 7195 if { (eval echo configure:7196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7212 if { (eval echo configure:7213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7196 rm -rf conftest* | 7213 rm -rf conftest* |
| 7197 eval "ac_cv_lib_$ac_lib_var=yes" | 7214 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7198 else | 7215 else |
| 7199 echo "configure: failed program was:" >&5 | 7216 echo "configure: failed program was:" >&5 |
| 7200 cat conftest.$ac_ext >&5 | 7217 cat conftest.$ac_ext >&5 |
| 7263 fi | 7280 fi |
| 7264 | 7281 |
| 7265 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 | 7282 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 |
| 7266 do | 7283 do |
| 7267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7284 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7268 echo "configure:7269: checking for $ac_func" >&5 | 7285 echo "configure:7286: checking for $ac_func" >&5 |
| 7269 | 7286 |
| 7270 cat > conftest.$ac_ext <<EOF | 7287 cat > conftest.$ac_ext <<EOF |
| 7271 #line 7272 "configure" | 7288 #line 7289 "configure" |
| 7272 #include "confdefs.h" | 7289 #include "confdefs.h" |
| 7273 /* System header to define __stub macros and hopefully few prototypes, | 7290 /* System header to define __stub macros and hopefully few prototypes, |
| 7274 which can conflict with char $ac_func(); below. */ | 7291 which can conflict with char $ac_func(); below. */ |
| 7275 #include <assert.h> | 7292 #include <assert.h> |
| 7276 /* Override any gcc2 internal prototype to avoid an error. */ | 7293 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7289 $ac_func(); | 7306 $ac_func(); |
| 7290 #endif | 7307 #endif |
| 7291 | 7308 |
| 7292 ; return 0; } | 7309 ; return 0; } |
| 7293 EOF | 7310 EOF |
| 7294 if { (eval echo configure:7295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7311 if { (eval echo configure:7312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7295 rm -rf conftest* | 7312 rm -rf conftest* |
| 7296 eval "ac_cv_func_$ac_func=yes" | 7313 eval "ac_cv_func_$ac_func=yes" |
| 7297 else | 7314 else |
| 7298 echo "configure: failed program was:" >&5 | 7315 echo "configure: failed program was:" >&5 |
| 7299 cat conftest.$ac_ext >&5 | 7316 cat conftest.$ac_ext >&5 |
| 7319 done | 7336 done |
| 7320 | 7337 |
| 7321 | 7338 |
| 7322 | 7339 |
| 7323 case "$opsys" in | 7340 case "$opsys" in |
| 7324 linux* | decosf4-0* | aix4* ) extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then | 7341 linuxaout* | bsdos3* | freebsd* | decosf4-0* | aix4* ) extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then |
| 7325 echo " xemacs will be linked with \"realpath.o\"" | 7342 echo " xemacs will be linked with \"realpath.o\"" |
| 7326 fi ;; | 7343 fi ;; |
| 7327 * ) | 7344 * ) |
| 7328 for ac_func in realpath | 7345 for ac_func in realpath |
| 7329 do | 7346 do |
| 7330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7331 echo "configure:7332: checking for $ac_func" >&5 | 7348 echo "configure:7349: checking for $ac_func" >&5 |
| 7332 | 7349 |
| 7333 cat > conftest.$ac_ext <<EOF | 7350 cat > conftest.$ac_ext <<EOF |
| 7334 #line 7335 "configure" | 7351 #line 7352 "configure" |
| 7335 #include "confdefs.h" | 7352 #include "confdefs.h" |
| 7336 /* System header to define __stub macros and hopefully few prototypes, | 7353 /* System header to define __stub macros and hopefully few prototypes, |
| 7337 which can conflict with char $ac_func(); below. */ | 7354 which can conflict with char $ac_func(); below. */ |
| 7338 #include <assert.h> | 7355 #include <assert.h> |
| 7339 /* Override any gcc2 internal prototype to avoid an error. */ | 7356 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7352 $ac_func(); | 7369 $ac_func(); |
| 7353 #endif | 7370 #endif |
| 7354 | 7371 |
| 7355 ; return 0; } | 7372 ; return 0; } |
| 7356 EOF | 7373 EOF |
| 7357 if { (eval echo configure:7358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7374 if { (eval echo configure:7375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7358 rm -rf conftest* | 7375 rm -rf conftest* |
| 7359 eval "ac_cv_func_$ac_func=yes" | 7376 eval "ac_cv_func_$ac_func=yes" |
| 7360 else | 7377 else |
| 7361 echo "configure: failed program was:" >&5 | 7378 echo "configure: failed program was:" >&5 |
| 7362 cat conftest.$ac_ext >&5 | 7379 cat conftest.$ac_ext >&5 |
| 7385 echo " xemacs will be linked with \"realpath.o\"" | 7402 echo " xemacs will be linked with \"realpath.o\"" |
| 7386 fi ;; | 7403 fi ;; |
| 7387 esac | 7404 esac |
| 7388 | 7405 |
| 7389 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7406 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 7390 echo "configure:7391: checking whether netdb declares h_errno" >&5 | 7407 echo "configure:7408: checking whether netdb declares h_errno" >&5 |
| 7391 cat > conftest.$ac_ext <<EOF | 7408 cat > conftest.$ac_ext <<EOF |
| 7392 #line 7393 "configure" | 7409 #line 7410 "configure" |
| 7393 #include "confdefs.h" | 7410 #include "confdefs.h" |
| 7394 #include <netdb.h> | 7411 #include <netdb.h> |
| 7395 int main() { | 7412 int main() { |
| 7396 return h_errno; | 7413 return h_errno; |
| 7397 ; return 0; } | 7414 ; return 0; } |
| 7398 EOF | 7415 EOF |
| 7399 if { (eval echo configure:7400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7416 if { (eval echo configure:7417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7400 rm -rf conftest* | 7417 rm -rf conftest* |
| 7401 echo "$ac_t""yes" 1>&6 | 7418 echo "$ac_t""yes" 1>&6 |
| 7402 { test "$extra_verbose" = "yes" && cat << \EOF | 7419 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7403 Defining HAVE_H_ERRNO | 7420 Defining HAVE_H_ERRNO |
| 7404 EOF | 7421 EOF |
| 7414 echo "$ac_t""no" 1>&6 | 7431 echo "$ac_t""no" 1>&6 |
| 7415 fi | 7432 fi |
| 7416 rm -f conftest* | 7433 rm -f conftest* |
| 7417 | 7434 |
| 7418 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7435 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 7419 echo "configure:7420: checking for sigsetjmp" >&5 | 7436 echo "configure:7437: checking for sigsetjmp" >&5 |
| 7420 cat > conftest.$ac_ext <<EOF | 7437 cat > conftest.$ac_ext <<EOF |
| 7421 #line 7422 "configure" | 7438 #line 7439 "configure" |
| 7422 #include "confdefs.h" | 7439 #include "confdefs.h" |
| 7423 #include <setjmp.h> | 7440 #include <setjmp.h> |
| 7424 int main() { | 7441 int main() { |
| 7425 sigjmp_buf bar; sigsetjmp (bar, 0); | 7442 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 7426 ; return 0; } | 7443 ; return 0; } |
| 7427 EOF | 7444 EOF |
| 7428 if { (eval echo configure:7429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7445 if { (eval echo configure:7446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7429 rm -rf conftest* | 7446 rm -rf conftest* |
| 7430 echo "$ac_t""yes" 1>&6 | 7447 echo "$ac_t""yes" 1>&6 |
| 7431 { test "$extra_verbose" = "yes" && cat << \EOF | 7448 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7432 Defining HAVE_SIGSETJMP | 7449 Defining HAVE_SIGSETJMP |
| 7433 EOF | 7450 EOF |
| 7443 echo "$ac_t""no" 1>&6 | 7460 echo "$ac_t""no" 1>&6 |
| 7444 fi | 7461 fi |
| 7445 rm -f conftest* | 7462 rm -f conftest* |
| 7446 | 7463 |
| 7447 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7464 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 7448 echo "configure:7449: checking whether localtime caches TZ" >&5 | 7465 echo "configure:7466: checking whether localtime caches TZ" >&5 |
| 7449 | 7466 |
| 7450 if test "$ac_cv_func_tzset" = "yes"; then | 7467 if test "$ac_cv_func_tzset" = "yes"; then |
| 7451 cat > conftest.$ac_ext <<EOF | 7468 cat > conftest.$ac_ext <<EOF |
| 7452 #line 7453 "configure" | 7469 #line 7470 "configure" |
| 7453 #include "confdefs.h" | 7470 #include "confdefs.h" |
| 7454 #include <time.h> | 7471 #include <time.h> |
| 7455 #if STDC_HEADERS | 7472 #if STDC_HEADERS |
| 7456 # include <stdlib.h> | 7473 # include <stdlib.h> |
| 7457 #endif | 7474 #endif |
| 7482 if (localtime (&now)->tm_hour != hour_unset) | 7499 if (localtime (&now)->tm_hour != hour_unset) |
| 7483 exit (1); | 7500 exit (1); |
| 7484 exit (0); | 7501 exit (0); |
| 7485 } | 7502 } |
| 7486 EOF | 7503 EOF |
| 7487 if { (eval echo configure:7488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7504 if { (eval echo configure:7505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7488 then | 7505 then |
| 7489 emacs_cv_localtime_cache=no | 7506 emacs_cv_localtime_cache=no |
| 7490 else | 7507 else |
| 7491 echo "configure: failed program was:" >&5 | 7508 echo "configure: failed program was:" >&5 |
| 7492 cat conftest.$ac_ext >&5 | 7509 cat conftest.$ac_ext >&5 |
| 7511 | 7528 |
| 7512 fi | 7529 fi |
| 7513 | 7530 |
| 7514 if test "$HAVE_TIMEVAL" = "yes"; then | 7531 if test "$HAVE_TIMEVAL" = "yes"; then |
| 7515 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7532 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
| 7516 echo "configure:7517: checking whether gettimeofday cannot accept two arguments" >&5 | 7533 echo "configure:7534: checking whether gettimeofday cannot accept two arguments" >&5 |
| 7517 cat > conftest.$ac_ext <<EOF | 7534 cat > conftest.$ac_ext <<EOF |
| 7518 #line 7519 "configure" | 7535 #line 7536 "configure" |
| 7519 #include "confdefs.h" | 7536 #include "confdefs.h" |
| 7520 | 7537 |
| 7521 #ifdef TIME_WITH_SYS_TIME | 7538 #ifdef TIME_WITH_SYS_TIME |
| 7522 #include <sys/time.h> | 7539 #include <sys/time.h> |
| 7523 #include <time.h> | 7540 #include <time.h> |
| 7535 struct timezone dummy; | 7552 struct timezone dummy; |
| 7536 gettimeofday (&time, &dummy); | 7553 gettimeofday (&time, &dummy); |
| 7537 | 7554 |
| 7538 ; return 0; } | 7555 ; return 0; } |
| 7539 EOF | 7556 EOF |
| 7540 if { (eval echo configure:7541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7557 if { (eval echo configure:7558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7541 rm -rf conftest* | 7558 rm -rf conftest* |
| 7542 echo "$ac_t""no" 1>&6 | 7559 echo "$ac_t""no" 1>&6 |
| 7543 else | 7560 else |
| 7544 echo "configure: failed program was:" >&5 | 7561 echo "configure: failed program was:" >&5 |
| 7545 cat conftest.$ac_ext >&5 | 7562 cat conftest.$ac_ext >&5 |
| 7556 fi | 7573 fi |
| 7557 rm -f conftest* | 7574 rm -f conftest* |
| 7558 fi | 7575 fi |
| 7559 | 7576 |
| 7560 echo $ac_n "checking whether the timezone variable is already declared""... $ac_c" 1>&6 | 7577 echo $ac_n "checking whether the timezone variable is already declared""... $ac_c" 1>&6 |
| 7561 echo "configure:7562: checking whether the timezone variable is already declared" >&5 | 7578 echo "configure:7579: checking whether the timezone variable is already declared" >&5 |
| 7562 cat > conftest.$ac_ext <<EOF | 7579 cat > conftest.$ac_ext <<EOF |
| 7563 #line 7564 "configure" | 7580 #line 7581 "configure" |
| 7564 #include "confdefs.h" | 7581 #include "confdefs.h" |
| 7565 | 7582 |
| 7566 #ifdef TIME_WITH_SYS_TIME | 7583 #ifdef TIME_WITH_SYS_TIME |
| 7567 #include <sys/time.h> | 7584 #include <sys/time.h> |
| 7568 #include <time.h> | 7585 #include <time.h> |
| 7578 | 7595 |
| 7579 timezone = 0; | 7596 timezone = 0; |
| 7580 | 7597 |
| 7581 ; return 0; } | 7598 ; return 0; } |
| 7582 EOF | 7599 EOF |
| 7583 if { (eval echo configure:7584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7600 if { (eval echo configure:7601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7584 rm -rf conftest* | 7601 rm -rf conftest* |
| 7585 echo "$ac_t""yes" 1>&6 | 7602 echo "$ac_t""yes" 1>&6 |
| 7586 { test "$extra_verbose" = "yes" && cat << \EOF | 7603 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7587 Defining HAVE_TIMEZONE_DECL | 7604 Defining HAVE_TIMEZONE_DECL |
| 7588 EOF | 7605 EOF |
| 7600 rm -f conftest* | 7617 rm -f conftest* |
| 7601 | 7618 |
| 7602 | 7619 |
| 7603 | 7620 |
| 7604 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7621 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 7605 echo "configure:7606: checking for inline" >&5 | 7622 echo "configure:7623: checking for inline" >&5 |
| 7606 | 7623 |
| 7607 ac_cv_c_inline=no | 7624 ac_cv_c_inline=no |
| 7608 for ac_kw in inline __inline__ __inline; do | 7625 for ac_kw in inline __inline__ __inline; do |
| 7609 cat > conftest.$ac_ext <<EOF | 7626 cat > conftest.$ac_ext <<EOF |
| 7610 #line 7611 "configure" | 7627 #line 7628 "configure" |
| 7611 #include "confdefs.h" | 7628 #include "confdefs.h" |
| 7612 | 7629 |
| 7613 int main() { | 7630 int main() { |
| 7614 } $ac_kw foo() { | 7631 } $ac_kw foo() { |
| 7615 ; return 0; } | 7632 ; return 0; } |
| 7616 EOF | 7633 EOF |
| 7617 if { (eval echo configure:7618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7634 if { (eval echo configure:7635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7618 rm -rf conftest* | 7635 rm -rf conftest* |
| 7619 ac_cv_c_inline=$ac_kw; break | 7636 ac_cv_c_inline=$ac_kw; break |
| 7620 else | 7637 else |
| 7621 echo "configure: failed program was:" >&5 | 7638 echo "configure: failed program was:" >&5 |
| 7622 cat conftest.$ac_ext >&5 | 7639 cat conftest.$ac_ext >&5 |
| 7662 | 7679 |
| 7663 | 7680 |
| 7664 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7681 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 7665 # for constant arguments. Useless! | 7682 # for constant arguments. Useless! |
| 7666 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7683 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 7667 echo "configure:7668: checking for working alloca.h" >&5 | 7684 echo "configure:7685: checking for working alloca.h" >&5 |
| 7668 | 7685 |
| 7669 cat > conftest.$ac_ext <<EOF | 7686 cat > conftest.$ac_ext <<EOF |
| 7670 #line 7671 "configure" | 7687 #line 7688 "configure" |
| 7671 #include "confdefs.h" | 7688 #include "confdefs.h" |
| 7672 #include <alloca.h> | 7689 #include <alloca.h> |
| 7673 int main() { | 7690 int main() { |
| 7674 char *p = alloca(2 * sizeof(int)); | 7691 char *p = alloca(2 * sizeof(int)); |
| 7675 ; return 0; } | 7692 ; return 0; } |
| 7676 EOF | 7693 EOF |
| 7677 if { (eval echo configure:7678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7694 if { (eval echo configure:7695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7678 rm -rf conftest* | 7695 rm -rf conftest* |
| 7679 ac_cv_header_alloca_h=yes | 7696 ac_cv_header_alloca_h=yes |
| 7680 else | 7697 else |
| 7681 echo "configure: failed program was:" >&5 | 7698 echo "configure: failed program was:" >&5 |
| 7682 cat conftest.$ac_ext >&5 | 7699 cat conftest.$ac_ext >&5 |
| 7696 } | 7713 } |
| 7697 | 7714 |
| 7698 fi | 7715 fi |
| 7699 | 7716 |
| 7700 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 7717 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 7701 echo "configure:7702: checking for alloca" >&5 | 7718 echo "configure:7719: checking for alloca" >&5 |
| 7702 | 7719 |
| 7703 cat > conftest.$ac_ext <<EOF | 7720 cat > conftest.$ac_ext <<EOF |
| 7704 #line 7705 "configure" | 7721 #line 7722 "configure" |
| 7705 #include "confdefs.h" | 7722 #include "confdefs.h" |
| 7706 | 7723 |
| 7707 #ifdef __GNUC__ | 7724 #ifdef __GNUC__ |
| 7708 # define alloca __builtin_alloca | 7725 # define alloca __builtin_alloca |
| 7709 #else | 7726 #else |
| 7722 | 7739 |
| 7723 int main() { | 7740 int main() { |
| 7724 char *p = (char *) alloca(1); | 7741 char *p = (char *) alloca(1); |
| 7725 ; return 0; } | 7742 ; return 0; } |
| 7726 EOF | 7743 EOF |
| 7727 if { (eval echo configure:7728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7744 if { (eval echo configure:7745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7728 rm -rf conftest* | 7745 rm -rf conftest* |
| 7729 ac_cv_func_alloca_works=yes | 7746 ac_cv_func_alloca_works=yes |
| 7730 else | 7747 else |
| 7731 echo "configure: failed program was:" >&5 | 7748 echo "configure: failed program was:" >&5 |
| 7732 cat conftest.$ac_ext >&5 | 7749 cat conftest.$ac_ext >&5 |
| 7761 EOF | 7778 EOF |
| 7762 } | 7779 } |
| 7763 | 7780 |
| 7764 | 7781 |
| 7765 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7782 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 7766 echo "configure:7767: checking whether alloca needs Cray hooks" >&5 | 7783 echo "configure:7784: checking whether alloca needs Cray hooks" >&5 |
| 7767 | 7784 |
| 7768 cat > conftest.$ac_ext <<EOF | 7785 cat > conftest.$ac_ext <<EOF |
| 7769 #line 7770 "configure" | 7786 #line 7787 "configure" |
| 7770 #include "confdefs.h" | 7787 #include "confdefs.h" |
| 7771 #if defined(CRAY) && ! defined(CRAY2) | 7788 #if defined(CRAY) && ! defined(CRAY2) |
| 7772 webecray | 7789 webecray |
| 7773 #else | 7790 #else |
| 7774 wenotbecray | 7791 wenotbecray |
| 7788 | 7805 |
| 7789 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7806 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 7790 if test $ac_cv_os_cray = yes; then | 7807 if test $ac_cv_os_cray = yes; then |
| 7791 for ac_func in _getb67 GETB67 getb67; do | 7808 for ac_func in _getb67 GETB67 getb67; do |
| 7792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7793 echo "configure:7794: checking for $ac_func" >&5 | 7810 echo "configure:7811: checking for $ac_func" >&5 |
| 7794 | 7811 |
| 7795 cat > conftest.$ac_ext <<EOF | 7812 cat > conftest.$ac_ext <<EOF |
| 7796 #line 7797 "configure" | 7813 #line 7814 "configure" |
| 7797 #include "confdefs.h" | 7814 #include "confdefs.h" |
| 7798 /* System header to define __stub macros and hopefully few prototypes, | 7815 /* System header to define __stub macros and hopefully few prototypes, |
| 7799 which can conflict with char $ac_func(); below. */ | 7816 which can conflict with char $ac_func(); below. */ |
| 7800 #include <assert.h> | 7817 #include <assert.h> |
| 7801 /* Override any gcc2 internal prototype to avoid an error. */ | 7818 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7814 $ac_func(); | 7831 $ac_func(); |
| 7815 #endif | 7832 #endif |
| 7816 | 7833 |
| 7817 ; return 0; } | 7834 ; return 0; } |
| 7818 EOF | 7835 EOF |
| 7819 if { (eval echo configure:7820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7836 if { (eval echo configure:7837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7820 rm -rf conftest* | 7837 rm -rf conftest* |
| 7821 eval "ac_cv_func_$ac_func=yes" | 7838 eval "ac_cv_func_$ac_func=yes" |
| 7822 else | 7839 else |
| 7823 echo "configure: failed program was:" >&5 | 7840 echo "configure: failed program was:" >&5 |
| 7824 cat conftest.$ac_ext >&5 | 7841 cat conftest.$ac_ext >&5 |
| 7844 | 7861 |
| 7845 done | 7862 done |
| 7846 fi | 7863 fi |
| 7847 | 7864 |
| 7848 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 7865 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 7849 echo "configure:7850: checking stack direction for C alloca" >&5 | 7866 echo "configure:7867: checking stack direction for C alloca" >&5 |
| 7850 | 7867 |
| 7851 cat > conftest.$ac_ext <<EOF | 7868 cat > conftest.$ac_ext <<EOF |
| 7852 #line 7853 "configure" | 7869 #line 7870 "configure" |
| 7853 #include "confdefs.h" | 7870 #include "confdefs.h" |
| 7854 find_stack_direction () | 7871 find_stack_direction () |
| 7855 { | 7872 { |
| 7856 static char *addr = 0; | 7873 static char *addr = 0; |
| 7857 auto char dummy; | 7874 auto char dummy; |
| 7866 main () | 7883 main () |
| 7867 { | 7884 { |
| 7868 exit (find_stack_direction() < 0); | 7885 exit (find_stack_direction() < 0); |
| 7869 } | 7886 } |
| 7870 EOF | 7887 EOF |
| 7871 if { (eval echo configure:7872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7888 if { (eval echo configure:7889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7872 then | 7889 then |
| 7873 ac_cv_c_stack_direction=1 | 7890 ac_cv_c_stack_direction=1 |
| 7874 else | 7891 else |
| 7875 echo "configure: failed program was:" >&5 | 7892 echo "configure: failed program was:" >&5 |
| 7876 cat conftest.$ac_ext >&5 | 7893 cat conftest.$ac_ext >&5 |
| 7894 echo " xemacs will be linked with \"$ALLOCA\"" | 7911 echo " xemacs will be linked with \"$ALLOCA\"" |
| 7895 fi | 7912 fi |
| 7896 | 7913 |
| 7897 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 7914 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 7898 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 7915 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 7899 echo "configure:7900: checking for vfork.h" >&5 | 7916 echo "configure:7917: checking for vfork.h" >&5 |
| 7900 | 7917 |
| 7901 cat > conftest.$ac_ext <<EOF | 7918 cat > conftest.$ac_ext <<EOF |
| 7902 #line 7903 "configure" | 7919 #line 7920 "configure" |
| 7903 #include "confdefs.h" | 7920 #include "confdefs.h" |
| 7904 #include <vfork.h> | 7921 #include <vfork.h> |
| 7905 EOF | 7922 EOF |
| 7906 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7923 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7907 { (eval echo configure:7908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7924 { (eval echo configure:7925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7908 ac_err=`grep -v '^ *+' conftest.out` | 7925 ac_err=`grep -v '^ *+' conftest.out` |
| 7909 if test -z "$ac_err"; then | 7926 if test -z "$ac_err"; then |
| 7910 rm -rf conftest* | 7927 rm -rf conftest* |
| 7911 eval "ac_cv_header_$ac_safe=yes" | 7928 eval "ac_cv_header_$ac_safe=yes" |
| 7912 else | 7929 else |
| 7930 else | 7947 else |
| 7931 echo "$ac_t""no" 1>&6 | 7948 echo "$ac_t""no" 1>&6 |
| 7932 fi | 7949 fi |
| 7933 | 7950 |
| 7934 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 7951 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 7935 echo "configure:7936: checking for working vfork" >&5 | 7952 echo "configure:7953: checking for working vfork" >&5 |
| 7936 | 7953 |
| 7937 cat > conftest.$ac_ext <<EOF | 7954 cat > conftest.$ac_ext <<EOF |
| 7938 #line 7939 "configure" | 7955 #line 7956 "configure" |
| 7939 #include "confdefs.h" | 7956 #include "confdefs.h" |
| 7940 /* Thanks to Paul Eggert for this test. */ | 7957 /* Thanks to Paul Eggert for this test. */ |
| 7941 #include <stdio.h> | 7958 #include <stdio.h> |
| 7942 #include <sys/types.h> | 7959 #include <sys/types.h> |
| 7943 #include <sys/stat.h> | 7960 #include <sys/stat.h> |
| 8028 || fstat(fileno(stdout), &st) != 0 | 8045 || fstat(fileno(stdout), &st) != 0 |
| 8029 ); | 8046 ); |
| 8030 } | 8047 } |
| 8031 } | 8048 } |
| 8032 EOF | 8049 EOF |
| 8033 if { (eval echo configure:8034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8050 if { (eval echo configure:8051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8034 then | 8051 then |
| 8035 ac_cv_func_vfork_works=yes | 8052 ac_cv_func_vfork_works=yes |
| 8036 else | 8053 else |
| 8037 echo "configure: failed program was:" >&5 | 8054 echo "configure: failed program was:" >&5 |
| 8038 cat conftest.$ac_ext >&5 | 8055 cat conftest.$ac_ext >&5 |
| 8053 | 8070 |
| 8054 fi | 8071 fi |
| 8055 | 8072 |
| 8056 | 8073 |
| 8057 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8074 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 8058 echo "configure:8059: checking for working strcoll" >&5 | 8075 echo "configure:8076: checking for working strcoll" >&5 |
| 8059 | 8076 |
| 8060 cat > conftest.$ac_ext <<EOF | 8077 cat > conftest.$ac_ext <<EOF |
| 8061 #line 8062 "configure" | 8078 #line 8079 "configure" |
| 8062 #include "confdefs.h" | 8079 #include "confdefs.h" |
| 8063 #include <string.h> | 8080 #include <string.h> |
| 8064 main () | 8081 main () |
| 8065 { | 8082 { |
| 8066 exit (strcoll ("abc", "def") >= 0 || | 8083 exit (strcoll ("abc", "def") >= 0 || |
| 8067 strcoll ("ABC", "DEF") >= 0 || | 8084 strcoll ("ABC", "DEF") >= 0 || |
| 8068 strcoll ("123", "456") >= 0); | 8085 strcoll ("123", "456") >= 0); |
| 8069 } | 8086 } |
| 8070 EOF | 8087 EOF |
| 8071 if { (eval echo configure:8072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8088 if { (eval echo configure:8089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8072 then | 8089 then |
| 8073 ac_cv_func_strcoll_works=yes | 8090 ac_cv_func_strcoll_works=yes |
| 8074 else | 8091 else |
| 8075 echo "configure: failed program was:" >&5 | 8092 echo "configure: failed program was:" >&5 |
| 8076 cat conftest.$ac_ext >&5 | 8093 cat conftest.$ac_ext >&5 |
| 8093 | 8110 |
| 8094 | 8111 |
| 8095 for ac_func in getpgrp | 8112 for ac_func in getpgrp |
| 8096 do | 8113 do |
| 8097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8114 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8098 echo "configure:8099: checking for $ac_func" >&5 | 8115 echo "configure:8116: checking for $ac_func" >&5 |
| 8099 | 8116 |
| 8100 cat > conftest.$ac_ext <<EOF | 8117 cat > conftest.$ac_ext <<EOF |
| 8101 #line 8102 "configure" | 8118 #line 8119 "configure" |
| 8102 #include "confdefs.h" | 8119 #include "confdefs.h" |
| 8103 /* System header to define __stub macros and hopefully few prototypes, | 8120 /* System header to define __stub macros and hopefully few prototypes, |
| 8104 which can conflict with char $ac_func(); below. */ | 8121 which can conflict with char $ac_func(); below. */ |
| 8105 #include <assert.h> | 8122 #include <assert.h> |
| 8106 /* Override any gcc2 internal prototype to avoid an error. */ | 8123 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8119 $ac_func(); | 8136 $ac_func(); |
| 8120 #endif | 8137 #endif |
| 8121 | 8138 |
| 8122 ; return 0; } | 8139 ; return 0; } |
| 8123 EOF | 8140 EOF |
| 8124 if { (eval echo configure:8125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8141 if { (eval echo configure:8142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8125 rm -rf conftest* | 8142 rm -rf conftest* |
| 8126 eval "ac_cv_func_$ac_func=yes" | 8143 eval "ac_cv_func_$ac_func=yes" |
| 8127 else | 8144 else |
| 8128 echo "configure: failed program was:" >&5 | 8145 echo "configure: failed program was:" >&5 |
| 8129 cat conftest.$ac_ext >&5 | 8146 cat conftest.$ac_ext >&5 |
| 8147 echo "$ac_t""no" 1>&6 | 8164 echo "$ac_t""no" 1>&6 |
| 8148 fi | 8165 fi |
| 8149 done | 8166 done |
| 8150 | 8167 |
| 8151 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8168 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 8152 echo "configure:8153: checking whether getpgrp takes no argument" >&5 | 8169 echo "configure:8170: checking whether getpgrp takes no argument" >&5 |
| 8153 | 8170 |
| 8154 cat > conftest.$ac_ext <<EOF | 8171 cat > conftest.$ac_ext <<EOF |
| 8155 #line 8156 "configure" | 8172 #line 8173 "configure" |
| 8156 #include "confdefs.h" | 8173 #include "confdefs.h" |
| 8157 | 8174 |
| 8158 /* | 8175 /* |
| 8159 * If this system has a BSD-style getpgrp(), | 8176 * If this system has a BSD-style getpgrp(), |
| 8160 * which takes a pid argument, exit unsuccessfully. | 8177 * which takes a pid argument, exit unsuccessfully. |
| 8205 exit(s>>8); | 8222 exit(s>>8); |
| 8206 } | 8223 } |
| 8207 } | 8224 } |
| 8208 | 8225 |
| 8209 EOF | 8226 EOF |
| 8210 if { (eval echo configure:8211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8227 if { (eval echo configure:8228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8211 then | 8228 then |
| 8212 ac_cv_func_getpgrp_void=yes | 8229 ac_cv_func_getpgrp_void=yes |
| 8213 else | 8230 else |
| 8214 echo "configure: failed program was:" >&5 | 8231 echo "configure: failed program was:" >&5 |
| 8215 cat conftest.$ac_ext >&5 | 8232 cat conftest.$ac_ext >&5 |
| 8231 | 8248 |
| 8232 fi | 8249 fi |
| 8233 | 8250 |
| 8234 | 8251 |
| 8235 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8252 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 8236 echo "configure:8237: checking for working mmap" >&5 | 8253 echo "configure:8254: checking for working mmap" >&5 |
| 8237 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8254 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 8238 cat > conftest.$ac_ext <<EOF | 8255 cat > conftest.$ac_ext <<EOF |
| 8239 #line 8240 "configure" | 8256 #line 8257 "configure" |
| 8240 #include "confdefs.h" | 8257 #include "confdefs.h" |
| 8241 #include <stdio.h> | 8258 #include <stdio.h> |
| 8242 #include <unistd.h> | 8259 #include <unistd.h> |
| 8243 #include <fcntl.h> | 8260 #include <fcntl.h> |
| 8244 #include <sys/mman.h> | 8261 #include <sys/mman.h> |
| 8267 return 0; | 8284 return 0; |
| 8268 perror ("conftest: mmap failed"); | 8285 perror ("conftest: mmap failed"); |
| 8269 return 1; | 8286 return 1; |
| 8270 } | 8287 } |
| 8271 EOF | 8288 EOF |
| 8272 if { (eval echo configure:8273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8289 if { (eval echo configure:8290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8273 then | 8290 then |
| 8274 have_mmap=yes | 8291 have_mmap=yes |
| 8275 else | 8292 else |
| 8276 echo "configure: failed program was:" >&5 | 8293 echo "configure: failed program was:" >&5 |
| 8277 cat conftest.$ac_ext >&5 | 8294 cat conftest.$ac_ext >&5 |
| 8301 } | 8318 } |
| 8302 | 8319 |
| 8303 | 8320 |
| 8304 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8321 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 8305 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8322 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 8306 echo "configure:8307: checking for termios.h" >&5 | 8323 echo "configure:8324: checking for termios.h" >&5 |
| 8307 | 8324 |
| 8308 cat > conftest.$ac_ext <<EOF | 8325 cat > conftest.$ac_ext <<EOF |
| 8309 #line 8310 "configure" | 8326 #line 8327 "configure" |
| 8310 #include "confdefs.h" | 8327 #include "confdefs.h" |
| 8311 #include <termios.h> | 8328 #include <termios.h> |
| 8312 EOF | 8329 EOF |
| 8313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8330 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8314 { (eval echo configure:8315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8331 { (eval echo configure:8332: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8315 ac_err=`grep -v '^ *+' conftest.out` | 8332 ac_err=`grep -v '^ *+' conftest.out` |
| 8316 if test -z "$ac_err"; then | 8333 if test -z "$ac_err"; then |
| 8317 rm -rf conftest* | 8334 rm -rf conftest* |
| 8318 eval "ac_cv_header_$ac_safe=yes" | 8335 eval "ac_cv_header_$ac_safe=yes" |
| 8319 else | 8336 else |
| 8352 | 8369 |
| 8353 else | 8370 else |
| 8354 echo "$ac_t""no" 1>&6 | 8371 echo "$ac_t""no" 1>&6 |
| 8355 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8372 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 8356 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8373 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 8357 echo "configure:8358: checking for termio.h" >&5 | 8374 echo "configure:8375: checking for termio.h" >&5 |
| 8358 | 8375 |
| 8359 cat > conftest.$ac_ext <<EOF | 8376 cat > conftest.$ac_ext <<EOF |
| 8360 #line 8361 "configure" | 8377 #line 8378 "configure" |
| 8361 #include "confdefs.h" | 8378 #include "confdefs.h" |
| 8362 #include <termio.h> | 8379 #include <termio.h> |
| 8363 EOF | 8380 EOF |
| 8364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8381 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8365 { (eval echo configure:8366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8382 { (eval echo configure:8383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8366 ac_err=`grep -v '^ *+' conftest.out` | 8383 ac_err=`grep -v '^ *+' conftest.out` |
| 8367 if test -z "$ac_err"; then | 8384 if test -z "$ac_err"; then |
| 8368 rm -rf conftest* | 8385 rm -rf conftest* |
| 8369 eval "ac_cv_header_$ac_safe=yes" | 8386 eval "ac_cv_header_$ac_safe=yes" |
| 8370 else | 8387 else |
| 8392 fi | 8409 fi |
| 8393 | 8410 |
| 8394 | 8411 |
| 8395 | 8412 |
| 8396 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8413 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 8397 echo "configure:8398: checking for socket" >&5 | 8414 echo "configure:8415: checking for socket" >&5 |
| 8398 | 8415 |
| 8399 cat > conftest.$ac_ext <<EOF | 8416 cat > conftest.$ac_ext <<EOF |
| 8400 #line 8401 "configure" | 8417 #line 8418 "configure" |
| 8401 #include "confdefs.h" | 8418 #include "confdefs.h" |
| 8402 /* System header to define __stub macros and hopefully few prototypes, | 8419 /* System header to define __stub macros and hopefully few prototypes, |
| 8403 which can conflict with char socket(); below. */ | 8420 which can conflict with char socket(); below. */ |
| 8404 #include <assert.h> | 8421 #include <assert.h> |
| 8405 /* Override any gcc2 internal prototype to avoid an error. */ | 8422 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8418 socket(); | 8435 socket(); |
| 8419 #endif | 8436 #endif |
| 8420 | 8437 |
| 8421 ; return 0; } | 8438 ; return 0; } |
| 8422 EOF | 8439 EOF |
| 8423 if { (eval echo configure:8424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8440 if { (eval echo configure:8441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8424 rm -rf conftest* | 8441 rm -rf conftest* |
| 8425 eval "ac_cv_func_socket=yes" | 8442 eval "ac_cv_func_socket=yes" |
| 8426 else | 8443 else |
| 8427 echo "configure: failed program was:" >&5 | 8444 echo "configure: failed program was:" >&5 |
| 8428 cat conftest.$ac_ext >&5 | 8445 cat conftest.$ac_ext >&5 |
| 8433 | 8450 |
| 8434 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8451 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 8435 echo "$ac_t""yes" 1>&6 | 8452 echo "$ac_t""yes" 1>&6 |
| 8436 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8453 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 8437 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8454 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 8438 echo "configure:8439: checking for netinet/in.h" >&5 | 8455 echo "configure:8456: checking for netinet/in.h" >&5 |
| 8439 | 8456 |
| 8440 cat > conftest.$ac_ext <<EOF | 8457 cat > conftest.$ac_ext <<EOF |
| 8441 #line 8442 "configure" | 8458 #line 8459 "configure" |
| 8442 #include "confdefs.h" | 8459 #include "confdefs.h" |
| 8443 #include <netinet/in.h> | 8460 #include <netinet/in.h> |
| 8444 EOF | 8461 EOF |
| 8445 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8446 { (eval echo configure:8447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8463 { (eval echo configure:8464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8447 ac_err=`grep -v '^ *+' conftest.out` | 8464 ac_err=`grep -v '^ *+' conftest.out` |
| 8448 if test -z "$ac_err"; then | 8465 if test -z "$ac_err"; then |
| 8449 rm -rf conftest* | 8466 rm -rf conftest* |
| 8450 eval "ac_cv_header_$ac_safe=yes" | 8467 eval "ac_cv_header_$ac_safe=yes" |
| 8451 else | 8468 else |
| 8458 rm -f conftest* | 8475 rm -f conftest* |
| 8459 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8476 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8460 echo "$ac_t""yes" 1>&6 | 8477 echo "$ac_t""yes" 1>&6 |
| 8461 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8478 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 8462 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8479 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 8463 echo "configure:8464: checking for arpa/inet.h" >&5 | 8480 echo "configure:8481: checking for arpa/inet.h" >&5 |
| 8464 | 8481 |
| 8465 cat > conftest.$ac_ext <<EOF | 8482 cat > conftest.$ac_ext <<EOF |
| 8466 #line 8467 "configure" | 8483 #line 8484 "configure" |
| 8467 #include "confdefs.h" | 8484 #include "confdefs.h" |
| 8468 #include <arpa/inet.h> | 8485 #include <arpa/inet.h> |
| 8469 EOF | 8486 EOF |
| 8470 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8471 { (eval echo configure:8472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8488 { (eval echo configure:8489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8472 ac_err=`grep -v '^ *+' conftest.out` | 8489 ac_err=`grep -v '^ *+' conftest.out` |
| 8473 if test -z "$ac_err"; then | 8490 if test -z "$ac_err"; then |
| 8474 rm -rf conftest* | 8491 rm -rf conftest* |
| 8475 eval "ac_cv_header_$ac_safe=yes" | 8492 eval "ac_cv_header_$ac_safe=yes" |
| 8476 else | 8493 else |
| 8491 #define HAVE_SOCKETS 1 | 8508 #define HAVE_SOCKETS 1 |
| 8492 EOF | 8509 EOF |
| 8493 } | 8510 } |
| 8494 | 8511 |
| 8495 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8512 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 8496 echo "configure:8497: checking "for sun_len member in struct sockaddr_un"" >&5 | 8513 echo "configure:8514: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 8497 cat > conftest.$ac_ext <<EOF | 8514 cat > conftest.$ac_ext <<EOF |
| 8498 #line 8499 "configure" | 8515 #line 8516 "configure" |
| 8499 #include "confdefs.h" | 8516 #include "confdefs.h" |
| 8500 | 8517 |
| 8501 #include <sys/types.h> | 8518 #include <sys/types.h> |
| 8502 #include <sys/socket.h> | 8519 #include <sys/socket.h> |
| 8503 #include <sys/un.h> | 8520 #include <sys/un.h> |
| 8504 | 8521 |
| 8505 int main() { | 8522 int main() { |
| 8506 static struct sockaddr_un x; x.sun_len = 1; | 8523 static struct sockaddr_un x; x.sun_len = 1; |
| 8507 ; return 0; } | 8524 ; return 0; } |
| 8508 EOF | 8525 EOF |
| 8509 if { (eval echo configure:8510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8526 if { (eval echo configure:8527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8510 rm -rf conftest* | 8527 rm -rf conftest* |
| 8511 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8528 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 8512 Defining HAVE_SOCKADDR_SUN_LEN | 8529 Defining HAVE_SOCKADDR_SUN_LEN |
| 8513 EOF | 8530 EOF |
| 8514 cat >> confdefs.h <<\EOF | 8531 cat >> confdefs.h <<\EOF |
| 8535 echo "$ac_t""no" 1>&6 | 8552 echo "$ac_t""no" 1>&6 |
| 8536 fi | 8553 fi |
| 8537 | 8554 |
| 8538 | 8555 |
| 8539 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8556 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 8540 echo "configure:8541: checking for msgget" >&5 | 8557 echo "configure:8558: checking for msgget" >&5 |
| 8541 | 8558 |
| 8542 cat > conftest.$ac_ext <<EOF | 8559 cat > conftest.$ac_ext <<EOF |
| 8543 #line 8544 "configure" | 8560 #line 8561 "configure" |
| 8544 #include "confdefs.h" | 8561 #include "confdefs.h" |
| 8545 /* System header to define __stub macros and hopefully few prototypes, | 8562 /* System header to define __stub macros and hopefully few prototypes, |
| 8546 which can conflict with char msgget(); below. */ | 8563 which can conflict with char msgget(); below. */ |
| 8547 #include <assert.h> | 8564 #include <assert.h> |
| 8548 /* Override any gcc2 internal prototype to avoid an error. */ | 8565 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8561 msgget(); | 8578 msgget(); |
| 8562 #endif | 8579 #endif |
| 8563 | 8580 |
| 8564 ; return 0; } | 8581 ; return 0; } |
| 8565 EOF | 8582 EOF |
| 8566 if { (eval echo configure:8567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8583 if { (eval echo configure:8584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8567 rm -rf conftest* | 8584 rm -rf conftest* |
| 8568 eval "ac_cv_func_msgget=yes" | 8585 eval "ac_cv_func_msgget=yes" |
| 8569 else | 8586 else |
| 8570 echo "configure: failed program was:" >&5 | 8587 echo "configure: failed program was:" >&5 |
| 8571 cat conftest.$ac_ext >&5 | 8588 cat conftest.$ac_ext >&5 |
| 8576 | 8593 |
| 8577 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8594 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 8578 echo "$ac_t""yes" 1>&6 | 8595 echo "$ac_t""yes" 1>&6 |
| 8579 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8596 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 8580 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8597 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 8581 echo "configure:8582: checking for sys/ipc.h" >&5 | 8598 echo "configure:8599: checking for sys/ipc.h" >&5 |
| 8582 | 8599 |
| 8583 cat > conftest.$ac_ext <<EOF | 8600 cat > conftest.$ac_ext <<EOF |
| 8584 #line 8585 "configure" | 8601 #line 8602 "configure" |
| 8585 #include "confdefs.h" | 8602 #include "confdefs.h" |
| 8586 #include <sys/ipc.h> | 8603 #include <sys/ipc.h> |
| 8587 EOF | 8604 EOF |
| 8588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8589 { (eval echo configure:8590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8606 { (eval echo configure:8607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8590 ac_err=`grep -v '^ *+' conftest.out` | 8607 ac_err=`grep -v '^ *+' conftest.out` |
| 8591 if test -z "$ac_err"; then | 8608 if test -z "$ac_err"; then |
| 8592 rm -rf conftest* | 8609 rm -rf conftest* |
| 8593 eval "ac_cv_header_$ac_safe=yes" | 8610 eval "ac_cv_header_$ac_safe=yes" |
| 8594 else | 8611 else |
| 8601 rm -f conftest* | 8618 rm -f conftest* |
| 8602 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8619 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8603 echo "$ac_t""yes" 1>&6 | 8620 echo "$ac_t""yes" 1>&6 |
| 8604 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8621 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 8605 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8622 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 8606 echo "configure:8607: checking for sys/msg.h" >&5 | 8623 echo "configure:8624: checking for sys/msg.h" >&5 |
| 8607 | 8624 |
| 8608 cat > conftest.$ac_ext <<EOF | 8625 cat > conftest.$ac_ext <<EOF |
| 8609 #line 8610 "configure" | 8626 #line 8627 "configure" |
| 8610 #include "confdefs.h" | 8627 #include "confdefs.h" |
| 8611 #include <sys/msg.h> | 8628 #include <sys/msg.h> |
| 8612 EOF | 8629 EOF |
| 8613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8630 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8614 { (eval echo configure:8615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8631 { (eval echo configure:8632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8615 ac_err=`grep -v '^ *+' conftest.out` | 8632 ac_err=`grep -v '^ *+' conftest.out` |
| 8616 if test -z "$ac_err"; then | 8633 if test -z "$ac_err"; then |
| 8617 rm -rf conftest* | 8634 rm -rf conftest* |
| 8618 eval "ac_cv_header_$ac_safe=yes" | 8635 eval "ac_cv_header_$ac_safe=yes" |
| 8619 else | 8636 else |
| 8647 fi | 8664 fi |
| 8648 | 8665 |
| 8649 | 8666 |
| 8650 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 8667 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 8651 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 8668 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 8652 echo "configure:8653: checking for dirent.h" >&5 | 8669 echo "configure:8670: checking for dirent.h" >&5 |
| 8653 | 8670 |
| 8654 cat > conftest.$ac_ext <<EOF | 8671 cat > conftest.$ac_ext <<EOF |
| 8655 #line 8656 "configure" | 8672 #line 8673 "configure" |
| 8656 #include "confdefs.h" | 8673 #include "confdefs.h" |
| 8657 #include <dirent.h> | 8674 #include <dirent.h> |
| 8658 EOF | 8675 EOF |
| 8659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8660 { (eval echo configure:8661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8677 { (eval echo configure:8678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8661 ac_err=`grep -v '^ *+' conftest.out` | 8678 ac_err=`grep -v '^ *+' conftest.out` |
| 8662 if test -z "$ac_err"; then | 8679 if test -z "$ac_err"; then |
| 8663 rm -rf conftest* | 8680 rm -rf conftest* |
| 8664 eval "ac_cv_header_$ac_safe=yes" | 8681 eval "ac_cv_header_$ac_safe=yes" |
| 8665 else | 8682 else |
| 8682 | 8699 |
| 8683 else | 8700 else |
| 8684 echo "$ac_t""no" 1>&6 | 8701 echo "$ac_t""no" 1>&6 |
| 8685 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 8702 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 8686 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 8703 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 8687 echo "configure:8688: checking for sys/dir.h" >&5 | 8704 echo "configure:8705: checking for sys/dir.h" >&5 |
| 8688 | 8705 |
| 8689 cat > conftest.$ac_ext <<EOF | 8706 cat > conftest.$ac_ext <<EOF |
| 8690 #line 8691 "configure" | 8707 #line 8708 "configure" |
| 8691 #include "confdefs.h" | 8708 #include "confdefs.h" |
| 8692 #include <sys/dir.h> | 8709 #include <sys/dir.h> |
| 8693 EOF | 8710 EOF |
| 8694 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8711 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8695 { (eval echo configure:8696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8712 { (eval echo configure:8713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8696 ac_err=`grep -v '^ *+' conftest.out` | 8713 ac_err=`grep -v '^ *+' conftest.out` |
| 8697 if test -z "$ac_err"; then | 8714 if test -z "$ac_err"; then |
| 8698 rm -rf conftest* | 8715 rm -rf conftest* |
| 8699 eval "ac_cv_header_$ac_safe=yes" | 8716 eval "ac_cv_header_$ac_safe=yes" |
| 8700 else | 8717 else |
| 8723 fi | 8740 fi |
| 8724 | 8741 |
| 8725 | 8742 |
| 8726 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 8743 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 8727 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 8744 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 8728 echo "configure:8729: checking for nlist.h" >&5 | 8745 echo "configure:8746: checking for nlist.h" >&5 |
| 8729 | 8746 |
| 8730 cat > conftest.$ac_ext <<EOF | 8747 cat > conftest.$ac_ext <<EOF |
| 8731 #line 8732 "configure" | 8748 #line 8749 "configure" |
| 8732 #include "confdefs.h" | 8749 #include "confdefs.h" |
| 8733 #include <nlist.h> | 8750 #include <nlist.h> |
| 8734 EOF | 8751 EOF |
| 8735 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8752 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8736 { (eval echo configure:8737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8753 { (eval echo configure:8754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8737 ac_err=`grep -v '^ *+' conftest.out` | 8754 ac_err=`grep -v '^ *+' conftest.out` |
| 8738 if test -z "$ac_err"; then | 8755 if test -z "$ac_err"; then |
| 8739 rm -rf conftest* | 8756 rm -rf conftest* |
| 8740 eval "ac_cv_header_$ac_safe=yes" | 8757 eval "ac_cv_header_$ac_safe=yes" |
| 8741 else | 8758 else |
| 8761 fi | 8778 fi |
| 8762 | 8779 |
| 8763 | 8780 |
| 8764 | 8781 |
| 8765 echo "checking "for sound support"" 1>&6 | 8782 echo "checking "for sound support"" 1>&6 |
| 8766 echo "configure:8767: checking "for sound support"" >&5 | 8783 echo "configure:8784: checking "for sound support"" >&5 |
| 8767 case "$with_sound" in | 8784 case "$with_sound" in |
| 8768 native | both ) with_native_sound=yes;; | 8785 native | both ) with_native_sound=yes;; |
| 8769 nas | no ) with_native_sound=no;; | 8786 nas | no ) with_native_sound=no;; |
| 8770 esac | 8787 esac |
| 8771 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 8788 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 8772 | 8789 |
| 8773 if test "$with_native_sound" != "no"; then | 8790 if test "$with_native_sound" != "no"; then |
| 8774 if test -n "$native_sound_lib"; then | 8791 if test -n "$native_sound_lib"; then |
| 8775 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 8792 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 8776 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 8793 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 8777 echo "configure:8778: checking for multimedia/audio_device.h" >&5 | 8794 echo "configure:8795: checking for multimedia/audio_device.h" >&5 |
| 8778 | 8795 |
| 8779 cat > conftest.$ac_ext <<EOF | 8796 cat > conftest.$ac_ext <<EOF |
| 8780 #line 8781 "configure" | 8797 #line 8798 "configure" |
| 8781 #include "confdefs.h" | 8798 #include "confdefs.h" |
| 8782 #include <multimedia/audio_device.h> | 8799 #include <multimedia/audio_device.h> |
| 8783 EOF | 8800 EOF |
| 8784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8785 { (eval echo configure:8786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8802 { (eval echo configure:8803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8786 ac_err=`grep -v '^ *+' conftest.out` | 8803 ac_err=`grep -v '^ *+' conftest.out` |
| 8787 if test -z "$ac_err"; then | 8804 if test -z "$ac_err"; then |
| 8788 rm -rf conftest* | 8805 rm -rf conftest* |
| 8789 eval "ac_cv_header_$ac_safe=yes" | 8806 eval "ac_cv_header_$ac_safe=yes" |
| 8790 else | 8807 else |
| 8828 case "$canonical" in | 8845 case "$canonical" in |
| 8829 *-sgi-* ) | 8846 *-sgi-* ) |
| 8830 if test -z "$native_sound_lib"; then | 8847 if test -z "$native_sound_lib"; then |
| 8831 | 8848 |
| 8832 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 8849 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 8833 echo "configure:8834: checking for ALopenport in -laudio" >&5 | 8850 echo "configure:8851: checking for ALopenport in -laudio" >&5 |
| 8834 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 8851 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 8835 | 8852 |
| 8836 xe_check_libs=" -laudio " | 8853 xe_check_libs=" -laudio " |
| 8837 cat > conftest.$ac_ext <<EOF | 8854 cat > conftest.$ac_ext <<EOF |
| 8838 #line 8839 "configure" | 8855 #line 8856 "configure" |
| 8839 #include "confdefs.h" | 8856 #include "confdefs.h" |
| 8840 /* Override any gcc2 internal prototype to avoid an error. */ | 8857 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8841 /* We use char because int might match the return type of a gcc2 | 8858 /* We use char because int might match the return type of a gcc2 |
| 8842 builtin and then its argument prototype would still apply. */ | 8859 builtin and then its argument prototype would still apply. */ |
| 8843 char ALopenport(); | 8860 char ALopenport(); |
| 8844 | 8861 |
| 8845 int main() { | 8862 int main() { |
| 8846 ALopenport() | 8863 ALopenport() |
| 8847 ; return 0; } | 8864 ; return 0; } |
| 8848 EOF | 8865 EOF |
| 8849 if { (eval echo configure:8850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8866 if { (eval echo configure:8867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8850 rm -rf conftest* | 8867 rm -rf conftest* |
| 8851 eval "ac_cv_lib_$ac_lib_var=yes" | 8868 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8852 else | 8869 else |
| 8853 echo "configure: failed program was:" >&5 | 8870 echo "configure: failed program was:" >&5 |
| 8854 cat conftest.$ac_ext >&5 | 8871 cat conftest.$ac_ext >&5 |
| 8875 fi ;; | 8892 fi ;; |
| 8876 hppa*-hp-hpux* ) | 8893 hppa*-hp-hpux* ) |
| 8877 if test -z "$native_sound_lib"; then | 8894 if test -z "$native_sound_lib"; then |
| 8878 | 8895 |
| 8879 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 8896 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 8880 echo "configure:8881: checking for AOpenAudio in -lAlib" >&5 | 8897 echo "configure:8898: checking for AOpenAudio in -lAlib" >&5 |
| 8881 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 8898 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 8882 | 8899 |
| 8883 xe_check_libs=" -lAlib " | 8900 xe_check_libs=" -lAlib " |
| 8884 cat > conftest.$ac_ext <<EOF | 8901 cat > conftest.$ac_ext <<EOF |
| 8885 #line 8886 "configure" | 8902 #line 8903 "configure" |
| 8886 #include "confdefs.h" | 8903 #include "confdefs.h" |
| 8887 /* Override any gcc2 internal prototype to avoid an error. */ | 8904 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8888 /* We use char because int might match the return type of a gcc2 | 8905 /* We use char because int might match the return type of a gcc2 |
| 8889 builtin and then its argument prototype would still apply. */ | 8906 builtin and then its argument prototype would still apply. */ |
| 8890 char AOpenAudio(); | 8907 char AOpenAudio(); |
| 8891 | 8908 |
| 8892 int main() { | 8909 int main() { |
| 8893 AOpenAudio() | 8910 AOpenAudio() |
| 8894 ; return 0; } | 8911 ; return 0; } |
| 8895 EOF | 8912 EOF |
| 8896 if { (eval echo configure:8897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8913 if { (eval echo configure:8914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8897 rm -rf conftest* | 8914 rm -rf conftest* |
| 8898 eval "ac_cv_lib_$ac_lib_var=yes" | 8915 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8899 else | 8916 else |
| 8900 echo "configure: failed program was:" >&5 | 8917 echo "configure: failed program was:" >&5 |
| 8901 cat conftest.$ac_ext >&5 | 8918 cat conftest.$ac_ext >&5 |
| 8929 | 8946 |
| 8930 if test -z "$sound_found"; then | 8947 if test -z "$sound_found"; then |
| 8931 for dir in "machine" "sys" "linux"; do | 8948 for dir in "machine" "sys" "linux"; do |
| 8932 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 8949 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 8933 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 8950 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 8934 echo "configure:8935: checking for ${dir}/soundcard.h" >&5 | 8951 echo "configure:8952: checking for ${dir}/soundcard.h" >&5 |
| 8935 | 8952 |
| 8936 cat > conftest.$ac_ext <<EOF | 8953 cat > conftest.$ac_ext <<EOF |
| 8937 #line 8938 "configure" | 8954 #line 8955 "configure" |
| 8938 #include "confdefs.h" | 8955 #include "confdefs.h" |
| 8939 #include <${dir}/soundcard.h> | 8956 #include <${dir}/soundcard.h> |
| 8940 EOF | 8957 EOF |
| 8941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8942 { (eval echo configure:8943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8959 { (eval echo configure:8960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8943 ac_err=`grep -v '^ *+' conftest.out` | 8960 ac_err=`grep -v '^ *+' conftest.out` |
| 8944 if test -z "$ac_err"; then | 8961 if test -z "$ac_err"; then |
| 8945 rm -rf conftest* | 8962 rm -rf conftest* |
| 8946 eval "ac_cv_header_$ac_safe=yes" | 8963 eval "ac_cv_header_$ac_safe=yes" |
| 8947 else | 8964 else |
| 9007 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9024 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 9008 echo " xemacs will be linked with \"nas.o\"" | 9025 echo " xemacs will be linked with \"nas.o\"" |
| 9009 fi | 9026 fi |
| 9010 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 9027 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 9011 cat > conftest.$ac_ext <<EOF | 9028 cat > conftest.$ac_ext <<EOF |
| 9012 #line 9013 "configure" | 9029 #line 9030 "configure" |
| 9013 #include "confdefs.h" | 9030 #include "confdefs.h" |
| 9014 #include <audio/Xtutil.h> | 9031 #include <audio/Xtutil.h> |
| 9015 EOF | 9032 EOF |
| 9016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 9017 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9034 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 9034 | 9051 |
| 9035 test -z "$with_tty" && with_tty=yes | 9052 test -z "$with_tty" && with_tty=yes |
| 9036 | 9053 |
| 9037 if test "$with_tty" = "yes" ; then | 9054 if test "$with_tty" = "yes" ; then |
| 9038 echo "checking for TTY-related features" 1>&6 | 9055 echo "checking for TTY-related features" 1>&6 |
| 9039 echo "configure:9040: checking for TTY-related features" >&5 | 9056 echo "configure:9057: checking for TTY-related features" >&5 |
| 9040 { test "$extra_verbose" = "yes" && cat << \EOF | 9057 { test "$extra_verbose" = "yes" && cat << \EOF |
| 9041 Defining HAVE_TTY | 9058 Defining HAVE_TTY |
| 9042 EOF | 9059 EOF |
| 9043 cat >> confdefs.h <<\EOF | 9060 cat >> confdefs.h <<\EOF |
| 9044 #define HAVE_TTY 1 | 9061 #define HAVE_TTY 1 |
| 9050 fi | 9067 fi |
| 9051 | 9068 |
| 9052 if test -z "$with_ncurses"; then | 9069 if test -z "$with_ncurses"; then |
| 9053 | 9070 |
| 9054 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9071 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 9055 echo "configure:9056: checking for tgetent in -lncurses" >&5 | 9072 echo "configure:9073: checking for tgetent in -lncurses" >&5 |
| 9056 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9073 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9057 | 9074 |
| 9058 xe_check_libs=" -lncurses " | 9075 xe_check_libs=" -lncurses " |
| 9059 cat > conftest.$ac_ext <<EOF | 9076 cat > conftest.$ac_ext <<EOF |
| 9060 #line 9061 "configure" | 9077 #line 9078 "configure" |
| 9061 #include "confdefs.h" | 9078 #include "confdefs.h" |
| 9062 /* Override any gcc2 internal prototype to avoid an error. */ | 9079 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9063 /* We use char because int might match the return type of a gcc2 | 9080 /* We use char because int might match the return type of a gcc2 |
| 9064 builtin and then its argument prototype would still apply. */ | 9081 builtin and then its argument prototype would still apply. */ |
| 9065 char tgetent(); | 9082 char tgetent(); |
| 9066 | 9083 |
| 9067 int main() { | 9084 int main() { |
| 9068 tgetent() | 9085 tgetent() |
| 9069 ; return 0; } | 9086 ; return 0; } |
| 9070 EOF | 9087 EOF |
| 9071 if { (eval echo configure:9072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9088 if { (eval echo configure:9089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9072 rm -rf conftest* | 9089 rm -rf conftest* |
| 9073 eval "ac_cv_lib_$ac_lib_var=yes" | 9090 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9074 else | 9091 else |
| 9075 echo "configure: failed program was:" >&5 | 9092 echo "configure: failed program was:" >&5 |
| 9076 cat conftest.$ac_ext >&5 | 9093 cat conftest.$ac_ext >&5 |
| 9099 EOF | 9116 EOF |
| 9100 } | 9117 } |
| 9101 | 9118 |
| 9102 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9119 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9103 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9120 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9104 echo "configure:9105: checking for ncurses/curses.h" >&5 | 9121 echo "configure:9122: checking for ncurses/curses.h" >&5 |
| 9105 | 9122 |
| 9106 cat > conftest.$ac_ext <<EOF | 9123 cat > conftest.$ac_ext <<EOF |
| 9107 #line 9108 "configure" | 9124 #line 9125 "configure" |
| 9108 #include "confdefs.h" | 9125 #include "confdefs.h" |
| 9109 #include <ncurses/curses.h> | 9126 #include <ncurses/curses.h> |
| 9110 EOF | 9127 EOF |
| 9111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9112 { (eval echo configure:9113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9129 { (eval echo configure:9130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9113 ac_err=`grep -v '^ *+' conftest.out` | 9130 ac_err=`grep -v '^ *+' conftest.out` |
| 9114 if test -z "$ac_err"; then | 9131 if test -z "$ac_err"; then |
| 9115 rm -rf conftest* | 9132 rm -rf conftest* |
| 9116 eval "ac_cv_header_$ac_safe=yes" | 9133 eval "ac_cv_header_$ac_safe=yes" |
| 9117 else | 9134 else |
| 9129 echo "$ac_t""no" 1>&6 | 9146 echo "$ac_t""no" 1>&6 |
| 9130 fi | 9147 fi |
| 9131 | 9148 |
| 9132 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9149 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 9133 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9150 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 9134 echo "configure:9135: checking for ncurses/term.h" >&5 | 9151 echo "configure:9152: checking for ncurses/term.h" >&5 |
| 9135 | 9152 |
| 9136 cat > conftest.$ac_ext <<EOF | 9153 cat > conftest.$ac_ext <<EOF |
| 9137 #line 9138 "configure" | 9154 #line 9155 "configure" |
| 9138 #include "confdefs.h" | 9155 #include "confdefs.h" |
| 9139 #include <ncurses/term.h> | 9156 #include <ncurses/term.h> |
| 9140 EOF | 9157 EOF |
| 9141 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9142 { (eval echo configure:9143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9159 { (eval echo configure:9160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9143 ac_err=`grep -v '^ *+' conftest.out` | 9160 ac_err=`grep -v '^ *+' conftest.out` |
| 9144 if test -z "$ac_err"; then | 9161 if test -z "$ac_err"; then |
| 9145 rm -rf conftest* | 9162 rm -rf conftest* |
| 9146 eval "ac_cv_header_$ac_safe=yes" | 9163 eval "ac_cv_header_$ac_safe=yes" |
| 9147 else | 9164 else |
| 9167 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9184 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 9168 save_c_switch_site="$c_switch_site" | 9185 save_c_switch_site="$c_switch_site" |
| 9169 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9186 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 9170 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9187 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9171 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9188 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9172 echo "configure:9173: checking for ncurses/curses.h" >&5 | 9189 echo "configure:9190: checking for ncurses/curses.h" >&5 |
| 9173 | 9190 |
| 9174 cat > conftest.$ac_ext <<EOF | 9191 cat > conftest.$ac_ext <<EOF |
| 9175 #line 9176 "configure" | 9192 #line 9193 "configure" |
| 9176 #include "confdefs.h" | 9193 #include "confdefs.h" |
| 9177 #include <ncurses/curses.h> | 9194 #include <ncurses/curses.h> |
| 9178 EOF | 9195 EOF |
| 9179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9180 { (eval echo configure:9181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9197 { (eval echo configure:9198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9181 ac_err=`grep -v '^ *+' conftest.out` | 9198 ac_err=`grep -v '^ *+' conftest.out` |
| 9182 if test -z "$ac_err"; then | 9199 if test -z "$ac_err"; then |
| 9183 rm -rf conftest* | 9200 rm -rf conftest* |
| 9184 eval "ac_cv_header_$ac_safe=yes" | 9201 eval "ac_cv_header_$ac_safe=yes" |
| 9185 else | 9202 else |
| 9210 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9227 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9211 else | 9228 else |
| 9212 for lib in curses termlib termcap; do | 9229 for lib in curses termlib termcap; do |
| 9213 | 9230 |
| 9214 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9231 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 9215 echo "configure:9216: checking for tgetent in -l$lib" >&5 | 9232 echo "configure:9233: checking for tgetent in -l$lib" >&5 |
| 9216 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9233 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 9217 | 9234 |
| 9218 xe_check_libs=" -l$lib " | 9235 xe_check_libs=" -l$lib " |
| 9219 cat > conftest.$ac_ext <<EOF | 9236 cat > conftest.$ac_ext <<EOF |
| 9220 #line 9221 "configure" | 9237 #line 9238 "configure" |
| 9221 #include "confdefs.h" | 9238 #include "confdefs.h" |
| 9222 /* Override any gcc2 internal prototype to avoid an error. */ | 9239 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9223 /* We use char because int might match the return type of a gcc2 | 9240 /* We use char because int might match the return type of a gcc2 |
| 9224 builtin and then its argument prototype would still apply. */ | 9241 builtin and then its argument prototype would still apply. */ |
| 9225 char tgetent(); | 9242 char tgetent(); |
| 9226 | 9243 |
| 9227 int main() { | 9244 int main() { |
| 9228 tgetent() | 9245 tgetent() |
| 9229 ; return 0; } | 9246 ; return 0; } |
| 9230 EOF | 9247 EOF |
| 9231 if { (eval echo configure:9232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9248 if { (eval echo configure:9249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9232 rm -rf conftest* | 9249 rm -rf conftest* |
| 9233 eval "ac_cv_lib_$ac_lib_var=yes" | 9250 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9234 else | 9251 else |
| 9235 echo "configure: failed program was:" >&5 | 9252 echo "configure: failed program was:" >&5 |
| 9236 cat conftest.$ac_ext >&5 | 9253 cat conftest.$ac_ext >&5 |
| 9257 if test -n "$libs_termcap"; then | 9274 if test -n "$libs_termcap"; then |
| 9258 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9275 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9259 else | 9276 else |
| 9260 | 9277 |
| 9261 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9278 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 9262 echo "configure:9263: checking for tgetent in -lcurses" >&5 | 9279 echo "configure:9280: checking for tgetent in -lcurses" >&5 |
| 9263 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9280 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9264 | 9281 |
| 9265 xe_check_libs=" -lcurses " | 9282 xe_check_libs=" -lcurses " |
| 9266 cat > conftest.$ac_ext <<EOF | 9283 cat > conftest.$ac_ext <<EOF |
| 9267 #line 9268 "configure" | 9284 #line 9285 "configure" |
| 9268 #include "confdefs.h" | 9285 #include "confdefs.h" |
| 9269 /* Override any gcc2 internal prototype to avoid an error. */ | 9286 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9270 /* We use char because int might match the return type of a gcc2 | 9287 /* We use char because int might match the return type of a gcc2 |
| 9271 builtin and then its argument prototype would still apply. */ | 9288 builtin and then its argument prototype would still apply. */ |
| 9272 char tgetent(); | 9289 char tgetent(); |
| 9273 | 9290 |
| 9274 int main() { | 9291 int main() { |
| 9275 tgetent() | 9292 tgetent() |
| 9276 ; return 0; } | 9293 ; return 0; } |
| 9277 EOF | 9294 EOF |
| 9278 if { (eval echo configure:9279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9295 if { (eval echo configure:9296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9279 rm -rf conftest* | 9296 rm -rf conftest* |
| 9280 eval "ac_cv_lib_$ac_lib_var=yes" | 9297 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9281 else | 9298 else |
| 9282 echo "configure: failed program was:" >&5 | 9299 echo "configure: failed program was:" >&5 |
| 9283 cat conftest.$ac_ext >&5 | 9300 cat conftest.$ac_ext >&5 |
| 9291 echo "$ac_t""yes" 1>&6 | 9308 echo "$ac_t""yes" 1>&6 |
| 9292 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9309 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 9293 else | 9310 else |
| 9294 echo "$ac_t""no" 1>&6 | 9311 echo "$ac_t""no" 1>&6 |
| 9295 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9312 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 9296 echo "configure:9297: checking for tgetent in -ltermcap" >&5 | 9313 echo "configure:9314: checking for tgetent in -ltermcap" >&5 |
| 9297 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9314 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 9298 | 9315 |
| 9299 xe_check_libs=" -ltermcap " | 9316 xe_check_libs=" -ltermcap " |
| 9300 cat > conftest.$ac_ext <<EOF | 9317 cat > conftest.$ac_ext <<EOF |
| 9301 #line 9302 "configure" | 9318 #line 9319 "configure" |
| 9302 #include "confdefs.h" | 9319 #include "confdefs.h" |
| 9303 /* Override any gcc2 internal prototype to avoid an error. */ | 9320 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9304 /* We use char because int might match the return type of a gcc2 | 9321 /* We use char because int might match the return type of a gcc2 |
| 9305 builtin and then its argument prototype would still apply. */ | 9322 builtin and then its argument prototype would still apply. */ |
| 9306 char tgetent(); | 9323 char tgetent(); |
| 9307 | 9324 |
| 9308 int main() { | 9325 int main() { |
| 9309 tgetent() | 9326 tgetent() |
| 9310 ; return 0; } | 9327 ; return 0; } |
| 9311 EOF | 9328 EOF |
| 9312 if { (eval echo configure:9313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9329 if { (eval echo configure:9330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9313 rm -rf conftest* | 9330 rm -rf conftest* |
| 9314 eval "ac_cv_lib_$ac_lib_var=yes" | 9331 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9315 else | 9332 else |
| 9316 echo "configure: failed program was:" >&5 | 9333 echo "configure: failed program was:" >&5 |
| 9317 cat conftest.$ac_ext >&5 | 9334 cat conftest.$ac_ext >&5 |
| 9355 } | 9372 } |
| 9356 | 9373 |
| 9357 | 9374 |
| 9358 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9375 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 9359 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9376 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 9360 echo "configure:9361: checking for gpm.h" >&5 | 9377 echo "configure:9378: checking for gpm.h" >&5 |
| 9361 | 9378 |
| 9362 cat > conftest.$ac_ext <<EOF | 9379 cat > conftest.$ac_ext <<EOF |
| 9363 #line 9364 "configure" | 9380 #line 9381 "configure" |
| 9364 #include "confdefs.h" | 9381 #include "confdefs.h" |
| 9365 #include <gpm.h> | 9382 #include <gpm.h> |
| 9366 EOF | 9383 EOF |
| 9367 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9384 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9368 { (eval echo configure:9369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9385 { (eval echo configure:9386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9369 ac_err=`grep -v '^ *+' conftest.out` | 9386 ac_err=`grep -v '^ *+' conftest.out` |
| 9370 if test -z "$ac_err"; then | 9387 if test -z "$ac_err"; then |
| 9371 rm -rf conftest* | 9388 rm -rf conftest* |
| 9372 eval "ac_cv_header_$ac_safe=yes" | 9389 eval "ac_cv_header_$ac_safe=yes" |
| 9373 else | 9390 else |
| 9386 with_gpm=no | 9403 with_gpm=no |
| 9387 fi | 9404 fi |
| 9388 } | 9405 } |
| 9389 test -z "$with_gpm" && { | 9406 test -z "$with_gpm" && { |
| 9390 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9407 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 9391 echo "configure:9392: checking for Gpm_Open in -lgpm" >&5 | 9408 echo "configure:9409: checking for Gpm_Open in -lgpm" >&5 |
| 9392 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9409 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 9393 | 9410 |
| 9394 xe_check_libs=" -lgpm " | 9411 xe_check_libs=" -lgpm " |
| 9395 cat > conftest.$ac_ext <<EOF | 9412 cat > conftest.$ac_ext <<EOF |
| 9396 #line 9397 "configure" | 9413 #line 9414 "configure" |
| 9397 #include "confdefs.h" | 9414 #include "confdefs.h" |
| 9398 /* Override any gcc2 internal prototype to avoid an error. */ | 9415 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9399 /* We use char because int might match the return type of a gcc2 | 9416 /* We use char because int might match the return type of a gcc2 |
| 9400 builtin and then its argument prototype would still apply. */ | 9417 builtin and then its argument prototype would still apply. */ |
| 9401 char Gpm_Open(); | 9418 char Gpm_Open(); |
| 9402 | 9419 |
| 9403 int main() { | 9420 int main() { |
| 9404 Gpm_Open() | 9421 Gpm_Open() |
| 9405 ; return 0; } | 9422 ; return 0; } |
| 9406 EOF | 9423 EOF |
| 9407 if { (eval echo configure:9408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9424 if { (eval echo configure:9425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9408 rm -rf conftest* | 9425 rm -rf conftest* |
| 9409 eval "ac_cv_lib_$ac_lib_var=yes" | 9426 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9410 else | 9427 else |
| 9411 echo "configure: failed program was:" >&5 | 9428 echo "configure: failed program was:" >&5 |
| 9412 cat conftest.$ac_ext >&5 | 9429 cat conftest.$ac_ext >&5 |
| 9451 echo " xemacs will be linked with \"event-unixoid.o\"" | 9468 echo " xemacs will be linked with \"event-unixoid.o\"" |
| 9452 fi | 9469 fi |
| 9453 | 9470 |
| 9454 | 9471 |
| 9455 echo "checking for database support" 1>&6 | 9472 echo "checking for database support" 1>&6 |
| 9456 echo "configure:9457: checking for database support" >&5 | 9473 echo "configure:9474: checking for database support" >&5 |
| 9457 | 9474 |
| 9458 if test "$with_database_gnudbm" != "no"; then | 9475 if test "$with_database_gnudbm" != "no"; then |
| 9459 | 9476 |
| 9460 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9477 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 9461 echo "configure:9462: checking for dbm_open in -lgdbm" >&5 | 9478 echo "configure:9479: checking for dbm_open in -lgdbm" >&5 |
| 9462 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9479 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9463 | 9480 |
| 9464 xe_check_libs=" -lgdbm " | 9481 xe_check_libs=" -lgdbm " |
| 9465 cat > conftest.$ac_ext <<EOF | 9482 cat > conftest.$ac_ext <<EOF |
| 9466 #line 9467 "configure" | 9483 #line 9484 "configure" |
| 9467 #include "confdefs.h" | 9484 #include "confdefs.h" |
| 9468 /* Override any gcc2 internal prototype to avoid an error. */ | 9485 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9469 /* We use char because int might match the return type of a gcc2 | 9486 /* We use char because int might match the return type of a gcc2 |
| 9470 builtin and then its argument prototype would still apply. */ | 9487 builtin and then its argument prototype would still apply. */ |
| 9471 char dbm_open(); | 9488 char dbm_open(); |
| 9472 | 9489 |
| 9473 int main() { | 9490 int main() { |
| 9474 dbm_open() | 9491 dbm_open() |
| 9475 ; return 0; } | 9492 ; return 0; } |
| 9476 EOF | 9493 EOF |
| 9477 if { (eval echo configure:9478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9494 if { (eval echo configure:9495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9478 rm -rf conftest* | 9495 rm -rf conftest* |
| 9479 eval "ac_cv_lib_$ac_lib_var=yes" | 9496 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9480 else | 9497 else |
| 9481 echo "configure: failed program was:" >&5 | 9498 echo "configure: failed program was:" >&5 |
| 9482 cat conftest.$ac_ext >&5 | 9499 cat conftest.$ac_ext >&5 |
| 9494 fi | 9511 fi |
| 9495 | 9512 |
| 9496 | 9513 |
| 9497 if test "$with_database_gnudbm" != "yes"; then | 9514 if test "$with_database_gnudbm" != "yes"; then |
| 9498 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9515 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9499 echo "configure:9500: checking for dbm_open" >&5 | 9516 echo "configure:9517: checking for dbm_open" >&5 |
| 9500 | 9517 |
| 9501 cat > conftest.$ac_ext <<EOF | 9518 cat > conftest.$ac_ext <<EOF |
| 9502 #line 9503 "configure" | 9519 #line 9520 "configure" |
| 9503 #include "confdefs.h" | 9520 #include "confdefs.h" |
| 9504 /* System header to define __stub macros and hopefully few prototypes, | 9521 /* System header to define __stub macros and hopefully few prototypes, |
| 9505 which can conflict with char dbm_open(); below. */ | 9522 which can conflict with char dbm_open(); below. */ |
| 9506 #include <assert.h> | 9523 #include <assert.h> |
| 9507 /* Override any gcc2 internal prototype to avoid an error. */ | 9524 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9520 dbm_open(); | 9537 dbm_open(); |
| 9521 #endif | 9538 #endif |
| 9522 | 9539 |
| 9523 ; return 0; } | 9540 ; return 0; } |
| 9524 EOF | 9541 EOF |
| 9525 if { (eval echo configure:9526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9542 if { (eval echo configure:9543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9526 rm -rf conftest* | 9543 rm -rf conftest* |
| 9527 eval "ac_cv_func_dbm_open=yes" | 9544 eval "ac_cv_func_dbm_open=yes" |
| 9528 else | 9545 else |
| 9529 echo "configure: failed program was:" >&5 | 9546 echo "configure: failed program was:" >&5 |
| 9530 cat conftest.$ac_ext >&5 | 9547 cat conftest.$ac_ext >&5 |
| 9556 fi | 9573 fi |
| 9557 fi | 9574 fi |
| 9558 | 9575 |
| 9559 if test "$with_database_dbm" != "no"; then | 9576 if test "$with_database_dbm" != "no"; then |
| 9560 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9577 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9561 echo "configure:9562: checking for dbm_open" >&5 | 9578 echo "configure:9579: checking for dbm_open" >&5 |
| 9562 | 9579 |
| 9563 cat > conftest.$ac_ext <<EOF | 9580 cat > conftest.$ac_ext <<EOF |
| 9564 #line 9565 "configure" | 9581 #line 9582 "configure" |
| 9565 #include "confdefs.h" | 9582 #include "confdefs.h" |
| 9566 /* System header to define __stub macros and hopefully few prototypes, | 9583 /* System header to define __stub macros and hopefully few prototypes, |
| 9567 which can conflict with char dbm_open(); below. */ | 9584 which can conflict with char dbm_open(); below. */ |
| 9568 #include <assert.h> | 9585 #include <assert.h> |
| 9569 /* Override any gcc2 internal prototype to avoid an error. */ | 9586 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9582 dbm_open(); | 9599 dbm_open(); |
| 9583 #endif | 9600 #endif |
| 9584 | 9601 |
| 9585 ; return 0; } | 9602 ; return 0; } |
| 9586 EOF | 9603 EOF |
| 9587 if { (eval echo configure:9588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9604 if { (eval echo configure:9605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9588 rm -rf conftest* | 9605 rm -rf conftest* |
| 9589 eval "ac_cv_func_dbm_open=yes" | 9606 eval "ac_cv_func_dbm_open=yes" |
| 9590 else | 9607 else |
| 9591 echo "configure: failed program was:" >&5 | 9608 echo "configure: failed program was:" >&5 |
| 9592 cat conftest.$ac_ext >&5 | 9609 cat conftest.$ac_ext >&5 |
| 9603 fi | 9620 fi |
| 9604 | 9621 |
| 9605 if test "$need_libdbm" != "no"; then | 9622 if test "$need_libdbm" != "no"; then |
| 9606 | 9623 |
| 9607 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9624 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 9608 echo "configure:9609: checking for dbm_open in -ldbm" >&5 | 9625 echo "configure:9626: checking for dbm_open in -ldbm" >&5 |
| 9609 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9626 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9610 | 9627 |
| 9611 xe_check_libs=" -ldbm " | 9628 xe_check_libs=" -ldbm " |
| 9612 cat > conftest.$ac_ext <<EOF | 9629 cat > conftest.$ac_ext <<EOF |
| 9613 #line 9614 "configure" | 9630 #line 9631 "configure" |
| 9614 #include "confdefs.h" | 9631 #include "confdefs.h" |
| 9615 /* Override any gcc2 internal prototype to avoid an error. */ | 9632 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9616 /* We use char because int might match the return type of a gcc2 | 9633 /* We use char because int might match the return type of a gcc2 |
| 9617 builtin and then its argument prototype would still apply. */ | 9634 builtin and then its argument prototype would still apply. */ |
| 9618 char dbm_open(); | 9635 char dbm_open(); |
| 9619 | 9636 |
| 9620 int main() { | 9637 int main() { |
| 9621 dbm_open() | 9638 dbm_open() |
| 9622 ; return 0; } | 9639 ; return 0; } |
| 9623 EOF | 9640 EOF |
| 9624 if { (eval echo configure:9625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9641 if { (eval echo configure:9642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9625 rm -rf conftest* | 9642 rm -rf conftest* |
| 9626 eval "ac_cv_lib_$ac_lib_var=yes" | 9643 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9627 else | 9644 else |
| 9628 echo "configure: failed program was:" >&5 | 9645 echo "configure: failed program was:" >&5 |
| 9629 cat conftest.$ac_ext >&5 | 9646 cat conftest.$ac_ext >&5 |
| 9656 fi | 9673 fi |
| 9657 fi | 9674 fi |
| 9658 | 9675 |
| 9659 if test "$with_database_berkdb" != "no"; then | 9676 if test "$with_database_berkdb" != "no"; then |
| 9660 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 9677 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
| 9661 echo "configure:9662: checking for dbopen" >&5 | 9678 echo "configure:9679: checking for dbopen" >&5 |
| 9662 | 9679 |
| 9663 cat > conftest.$ac_ext <<EOF | 9680 cat > conftest.$ac_ext <<EOF |
| 9664 #line 9665 "configure" | 9681 #line 9682 "configure" |
| 9665 #include "confdefs.h" | 9682 #include "confdefs.h" |
| 9666 /* System header to define __stub macros and hopefully few prototypes, | 9683 /* System header to define __stub macros and hopefully few prototypes, |
| 9667 which can conflict with char dbopen(); below. */ | 9684 which can conflict with char dbopen(); below. */ |
| 9668 #include <assert.h> | 9685 #include <assert.h> |
| 9669 /* Override any gcc2 internal prototype to avoid an error. */ | 9686 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9682 dbopen(); | 9699 dbopen(); |
| 9683 #endif | 9700 #endif |
| 9684 | 9701 |
| 9685 ; return 0; } | 9702 ; return 0; } |
| 9686 EOF | 9703 EOF |
| 9687 if { (eval echo configure:9688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9704 if { (eval echo configure:9705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9688 rm -rf conftest* | 9705 rm -rf conftest* |
| 9689 eval "ac_cv_func_dbopen=yes" | 9706 eval "ac_cv_func_dbopen=yes" |
| 9690 else | 9707 else |
| 9691 echo "configure: failed program was:" >&5 | 9708 echo "configure: failed program was:" >&5 |
| 9692 cat conftest.$ac_ext >&5 | 9709 cat conftest.$ac_ext >&5 |
| 9703 fi | 9720 fi |
| 9704 | 9721 |
| 9705 if test "$need_libdb" != "no"; then | 9722 if test "$need_libdb" != "no"; then |
| 9706 | 9723 |
| 9707 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 9724 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
| 9708 echo "configure:9709: checking for dbopen in -ldb" >&5 | 9725 echo "configure:9726: checking for dbopen in -ldb" >&5 |
| 9709 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 9726 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
| 9710 | 9727 |
| 9711 xe_check_libs=" -ldb " | 9728 xe_check_libs=" -ldb " |
| 9712 cat > conftest.$ac_ext <<EOF | 9729 cat > conftest.$ac_ext <<EOF |
| 9713 #line 9714 "configure" | 9730 #line 9731 "configure" |
| 9714 #include "confdefs.h" | 9731 #include "confdefs.h" |
| 9715 /* Override any gcc2 internal prototype to avoid an error. */ | 9732 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9716 /* We use char because int might match the return type of a gcc2 | 9733 /* We use char because int might match the return type of a gcc2 |
| 9717 builtin and then its argument prototype would still apply. */ | 9734 builtin and then its argument prototype would still apply. */ |
| 9718 char dbopen(); | 9735 char dbopen(); |
| 9719 | 9736 |
| 9720 int main() { | 9737 int main() { |
| 9721 dbopen() | 9738 dbopen() |
| 9722 ; return 0; } | 9739 ; return 0; } |
| 9723 EOF | 9740 EOF |
| 9724 if { (eval echo configure:9725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9741 if { (eval echo configure:9742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9725 rm -rf conftest* | 9742 rm -rf conftest* |
| 9726 eval "ac_cv_lib_$ac_lib_var=yes" | 9743 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9727 else | 9744 else |
| 9728 echo "configure: failed program was:" >&5 | 9745 echo "configure: failed program was:" >&5 |
| 9729 cat conftest.$ac_ext >&5 | 9746 cat conftest.$ac_ext >&5 |
| 9743 | 9760 |
| 9744 fi | 9761 fi |
| 9745 if test "$with_database_berkdb" = "yes"; then | 9762 if test "$with_database_berkdb" = "yes"; then |
| 9746 for path in "db/db.h" "db.h"; do | 9763 for path in "db/db.h" "db.h"; do |
| 9747 cat > conftest.$ac_ext <<EOF | 9764 cat > conftest.$ac_ext <<EOF |
| 9748 #line 9749 "configure" | 9765 #line 9766 "configure" |
| 9749 #include "confdefs.h" | 9766 #include "confdefs.h" |
| 9750 #ifdef HAVE_INTTYPES_H | 9767 #ifdef HAVE_INTTYPES_H |
| 9751 #define __BIT_TYPES_DEFINED__ | 9768 #define __BIT_TYPES_DEFINED__ |
| 9752 #include <inttypes.h> | 9769 #include <inttypes.h> |
| 9753 typedef uint8_t u_int8_t; | 9770 typedef uint8_t u_int8_t; |
| 9761 | 9778 |
| 9762 int main() { | 9779 int main() { |
| 9763 | 9780 |
| 9764 ; return 0; } | 9781 ; return 0; } |
| 9765 EOF | 9782 EOF |
| 9766 if { (eval echo configure:9767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9783 if { (eval echo configure:9784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 9767 rm -rf conftest* | 9784 rm -rf conftest* |
| 9768 db_h_path="$path"; break | 9785 db_h_path="$path"; break |
| 9769 else | 9786 else |
| 9770 echo "configure: failed program was:" >&5 | 9787 echo "configure: failed program was:" >&5 |
| 9771 cat conftest.$ac_ext >&5 | 9788 cat conftest.$ac_ext >&5 |
| 9813 fi | 9830 fi |
| 9814 | 9831 |
| 9815 if test "$with_socks" = "yes"; then | 9832 if test "$with_socks" = "yes"; then |
| 9816 | 9833 |
| 9817 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 9834 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 9818 echo "configure:9819: checking for SOCKSinit in -lsocks" >&5 | 9835 echo "configure:9836: checking for SOCKSinit in -lsocks" >&5 |
| 9819 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 9836 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 9820 | 9837 |
| 9821 xe_check_libs=" -lsocks " | 9838 xe_check_libs=" -lsocks " |
| 9822 cat > conftest.$ac_ext <<EOF | 9839 cat > conftest.$ac_ext <<EOF |
| 9823 #line 9824 "configure" | 9840 #line 9841 "configure" |
| 9824 #include "confdefs.h" | 9841 #include "confdefs.h" |
| 9825 /* Override any gcc2 internal prototype to avoid an error. */ | 9842 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9826 /* We use char because int might match the return type of a gcc2 | 9843 /* We use char because int might match the return type of a gcc2 |
| 9827 builtin and then its argument prototype would still apply. */ | 9844 builtin and then its argument prototype would still apply. */ |
| 9828 char SOCKSinit(); | 9845 char SOCKSinit(); |
| 9829 | 9846 |
| 9830 int main() { | 9847 int main() { |
| 9831 SOCKSinit() | 9848 SOCKSinit() |
| 9832 ; return 0; } | 9849 ; return 0; } |
| 9833 EOF | 9850 EOF |
| 9834 if { (eval echo configure:9835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9851 if { (eval echo configure:9852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9835 rm -rf conftest* | 9852 rm -rf conftest* |
| 9836 eval "ac_cv_lib_$ac_lib_var=yes" | 9853 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9837 else | 9854 else |
| 9838 echo "configure: failed program was:" >&5 | 9855 echo "configure: failed program was:" >&5 |
| 9839 cat conftest.$ac_ext >&5 | 9856 cat conftest.$ac_ext >&5 |
| 10315 echo " Additional header files: $site_includes" | 10332 echo " Additional header files: $site_includes" |
| 10316 fi | 10333 fi |
| 10317 if test -n "$site_libraries"; then | 10334 if test -n "$site_libraries"; then |
| 10318 echo " Additional libraries: $site_libraries" | 10335 echo " Additional libraries: $site_libraries" |
| 10319 fi | 10336 fi |
| 10337 if test -n "$site_prefixes"; then | |
| 10338 echo " Additional prefixes: $site_prefixes" | |
| 10339 fi | |
| 10320 if test -n "$runpath"; then | 10340 if test -n "$runpath"; then |
| 10321 echo " Runtime library search path: $runpath" | 10341 echo " Runtime library search path: $runpath" |
| 10322 fi | 10342 fi |
| 10323 test "$with_dnet" = yes && echo " Compiling in support for DNET." | 10343 test "$with_dnet" = yes && echo " Compiling in support for DNET." |
| 10324 test "$with_socks" = yes && echo " Compiling in support for SOCKS." | 10344 test "$with_socks" = yes && echo " Compiling in support for SOCKS." |
| 10347 esac | 10367 esac |
| 10348 test "$old_nas" = yes && echo " nas library lacks error trapping, will play synchronously" | 10368 test "$old_nas" = yes && echo " nas library lacks error trapping, will play synchronously" |
| 10349 | 10369 |
| 10350 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." | 10370 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." |
| 10351 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." | 10371 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." |
| 10352 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." | 10372 test "$with_database_gnudbm" = yes && echo " Compiling in support for DBM." |
| 10353 | 10373 |
| 10354 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." | 10374 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." |
| 10355 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." | 10375 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." |
| 10356 | 10376 |
| 10357 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." | 10377 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." |
