Mercurial > hg > xemacs-beta
comparison configure @ 361:7347b34c275b r21-1-10
Import from CVS: tag r21-1-10
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:58:40 +0200 |
parents | 8e84bee8ddd0 |
children | 972bbb6d6ca2 |
comparison
equal
deleted
inserted
replaced
360:0f00b38cfccb | 361:7347b34c275b |
---|---|
89 infodir='${prefix}/info' | 89 infodir='${prefix}/info' |
90 mandir='${prefix}/man' | 90 mandir='${prefix}/man' |
91 | 91 |
92 subdirs= | 92 subdirs= |
93 MFLAGS= MAKEFLAGS= | 93 MFLAGS= MAKEFLAGS= |
94 SHELL=${CONFIG_SHELL-/bin/sh} | |
94 ac_max_here_lines=12 | 95 ac_max_here_lines=12 |
95 | 96 |
96 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | 97 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
97 | 98 |
98 # File descriptor usage: | 99 # File descriptor usage: |
754 ;; | 755 ;; |
755 esac | 756 esac |
756 | 757 |
757 if test -z "$configuration"; then | 758 if test -z "$configuration"; then |
758 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 759 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
759 echo "configure:760: checking "host system type"" >&5 | 760 echo "configure:761: checking "host system type"" >&5 |
760 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | 761 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ |
761 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | 762 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then |
762 echo "$ac_t""$configuration" 1>&6 | 763 echo "$ac_t""$configuration" 1>&6 |
763 else | 764 else |
764 echo "$ac_t""unknown" 1>&6 | 765 echo "$ac_t""unknown" 1>&6 |
768 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 769 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
769 fi | 770 fi |
770 fi | 771 fi |
771 | 772 |
772 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 773 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
773 echo "configure:774: checking whether ln -s works" >&5 | 774 echo "configure:775: checking whether ln -s works" >&5 |
774 | 775 |
775 rm -f conftestdata | 776 rm -f conftestdata |
776 if ln -s X conftestdata 2>/dev/null | 777 if ln -s X conftestdata 2>/dev/null |
777 then | 778 then |
778 rm -f conftestdata | 779 rm -f conftestdata |
1005 } | 1006 } |
1006 | 1007 |
1007 | 1008 |
1008 | 1009 |
1009 echo "checking "the configuration name"" 1>&6 | 1010 echo "checking "the configuration name"" 1>&6 |
1010 echo "configure:1011: checking "the configuration name"" >&5 | 1011 echo "configure:1012: checking "the configuration name"" >&5 |
1011 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1012 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1012 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 1013 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
1013 exit $? | 1014 exit $? |
1014 fi | 1015 fi |
1015 | 1016 |
1501 xe_save_CFLAGS="$CFLAGS" | 1502 xe_save_CFLAGS="$CFLAGS" |
1502 | 1503 |
1503 # Extract the first word of "gcc", so it can be a program name with args. | 1504 # Extract the first word of "gcc", so it can be a program name with args. |
1504 set dummy gcc; ac_word=$2 | 1505 set dummy gcc; ac_word=$2 |
1505 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1506 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1506 echo "configure:1507: checking for $ac_word" >&5 | 1507 echo "configure:1508: checking for $ac_word" >&5 |
1507 | 1508 |
1508 if test -n "$CC"; then | 1509 if test -n "$CC"; then |
1509 ac_cv_prog_CC="$CC" # Let the user override the test. | 1510 ac_cv_prog_CC="$CC" # Let the user override the test. |
1510 else | 1511 else |
1511 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1512 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1528 | 1529 |
1529 if test -z "$CC"; then | 1530 if test -z "$CC"; then |
1530 # Extract the first word of "cc", so it can be a program name with args. | 1531 # Extract the first word of "cc", so it can be a program name with args. |
1531 set dummy cc; ac_word=$2 | 1532 set dummy cc; ac_word=$2 |
1532 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1533 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1533 echo "configure:1534: checking for $ac_word" >&5 | 1534 echo "configure:1535: checking for $ac_word" >&5 |
1534 | 1535 |
1535 if test -n "$CC"; then | 1536 if test -n "$CC"; then |
1536 ac_cv_prog_CC="$CC" # Let the user override the test. | 1537 ac_cv_prog_CC="$CC" # Let the user override the test. |
1537 else | 1538 else |
1538 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1539 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1576 case "`uname -s`" in | 1577 case "`uname -s`" in |
1577 *win32* | *WIN32*) | 1578 *win32* | *WIN32*) |
1578 # Extract the first word of "cl", so it can be a program name with args. | 1579 # Extract the first word of "cl", so it can be a program name with args. |
1579 set dummy cl; ac_word=$2 | 1580 set dummy cl; ac_word=$2 |
1580 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1581 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1581 echo "configure:1582: checking for $ac_word" >&5 | 1582 echo "configure:1583: checking for $ac_word" >&5 |
1582 | 1583 |
1583 if test -n "$CC"; then | 1584 if test -n "$CC"; then |
1584 ac_cv_prog_CC="$CC" # Let the user override the test. | 1585 ac_cv_prog_CC="$CC" # Let the user override the test. |
1585 else | 1586 else |
1586 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1587 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1605 fi | 1606 fi |
1606 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1607 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1607 fi | 1608 fi |
1608 | 1609 |
1609 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1610 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1610 echo "configure:1611: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1611 echo "configure:1612: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1611 | 1612 |
1612 ac_ext=c | 1613 ac_ext=c |
1613 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1614 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1614 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1615 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1615 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1616 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1618 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1619 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1619 cross_compiling=no | 1620 cross_compiling=no |
1620 | 1621 |
1621 cat > conftest.$ac_ext << EOF | 1622 cat > conftest.$ac_ext << EOF |
1622 | 1623 |
1623 #line 1624 "configure" | 1624 #line 1625 "configure" |
1624 #include "confdefs.h" | 1625 #include "confdefs.h" |
1625 | 1626 |
1626 main(){return(0);} | 1627 main(){return(0);} |
1627 EOF | 1628 EOF |
1628 if { (eval echo configure:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1629 if { (eval echo configure:1630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1629 ac_cv_prog_cc_works=yes | 1630 ac_cv_prog_cc_works=yes |
1630 # If we can't run a trivial program, we are probably using a cross compiler. | 1631 # If we can't run a trivial program, we are probably using a cross compiler. |
1631 if (./conftest; exit) 2>/dev/null; then | 1632 if (./conftest; exit) 2>/dev/null; then |
1632 ac_cv_prog_cc_cross=no | 1633 ac_cv_prog_cc_cross=no |
1633 else | 1634 else |
1651 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1652 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1652 if test $ac_cv_prog_cc_works = no; then | 1653 if test $ac_cv_prog_cc_works = no; then |
1653 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1654 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1654 fi | 1655 fi |
1655 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1656 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1656 echo "configure:1657: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1657 echo "configure:1658: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1657 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1658 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1658 cross_compiling=$ac_cv_prog_cc_cross | 1659 cross_compiling=$ac_cv_prog_cc_cross |
1659 | 1660 |
1660 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1661 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1661 echo "configure:1662: checking whether we are using GNU C" >&5 | 1662 echo "configure:1663: checking whether we are using GNU C" >&5 |
1662 | 1663 |
1663 cat > conftest.c <<EOF | 1664 cat > conftest.c <<EOF |
1664 #ifdef __GNUC__ | 1665 #ifdef __GNUC__ |
1665 yes; | 1666 yes; |
1666 #endif | 1667 #endif |
1667 EOF | 1668 EOF |
1668 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1669 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1669 ac_cv_prog_gcc=yes | 1670 ac_cv_prog_gcc=yes |
1670 else | 1671 else |
1671 ac_cv_prog_gcc=no | 1672 ac_cv_prog_gcc=no |
1672 fi | 1673 fi |
1673 | 1674 |
1681 | 1682 |
1682 ac_test_CFLAGS="${CFLAGS+set}" | 1683 ac_test_CFLAGS="${CFLAGS+set}" |
1683 ac_save_CFLAGS="$CFLAGS" | 1684 ac_save_CFLAGS="$CFLAGS" |
1684 CFLAGS= | 1685 CFLAGS= |
1685 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1686 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1686 echo "configure:1687: checking whether ${CC-cc} accepts -g" >&5 | 1687 echo "configure:1688: checking whether ${CC-cc} accepts -g" >&5 |
1687 | 1688 |
1688 echo 'void f(){}' > conftest.c | 1689 echo 'void f(){}' > conftest.c |
1689 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1690 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1690 ac_cv_prog_cc_g=yes | 1691 ac_cv_prog_cc_g=yes |
1691 else | 1692 else |
1714 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1715 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1715 CC=${NON_GNU_CC-cc} | 1716 CC=${NON_GNU_CC-cc} |
1716 # Extract the first word of "gcc", so it can be a program name with args. | 1717 # Extract the first word of "gcc", so it can be a program name with args. |
1717 set dummy gcc; ac_word=$2 | 1718 set dummy gcc; ac_word=$2 |
1718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1719 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1719 echo "configure:1720: checking for $ac_word" >&5 | 1720 echo "configure:1721: checking for $ac_word" >&5 |
1720 | 1721 |
1721 if test -n "$CC"; then | 1722 if test -n "$CC"; then |
1722 ac_cv_prog_CC="$CC" # Let the user override the test. | 1723 ac_cv_prog_CC="$CC" # Let the user override the test. |
1723 else | 1724 else |
1724 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1725 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1741 | 1742 |
1742 if test -z "$CC"; then | 1743 if test -z "$CC"; then |
1743 # Extract the first word of "cc", so it can be a program name with args. | 1744 # Extract the first word of "cc", so it can be a program name with args. |
1744 set dummy cc; ac_word=$2 | 1745 set dummy cc; ac_word=$2 |
1745 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1746 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1746 echo "configure:1747: checking for $ac_word" >&5 | 1747 echo "configure:1748: checking for $ac_word" >&5 |
1747 | 1748 |
1748 if test -n "$CC"; then | 1749 if test -n "$CC"; then |
1749 ac_cv_prog_CC="$CC" # Let the user override the test. | 1750 ac_cv_prog_CC="$CC" # Let the user override the test. |
1750 else | 1751 else |
1751 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1752 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1789 case "`uname -s`" in | 1790 case "`uname -s`" in |
1790 *win32* | *WIN32*) | 1791 *win32* | *WIN32*) |
1791 # Extract the first word of "cl", so it can be a program name with args. | 1792 # Extract the first word of "cl", so it can be a program name with args. |
1792 set dummy cl; ac_word=$2 | 1793 set dummy cl; ac_word=$2 |
1793 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1794 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1794 echo "configure:1795: checking for $ac_word" >&5 | 1795 echo "configure:1796: checking for $ac_word" >&5 |
1795 | 1796 |
1796 if test -n "$CC"; then | 1797 if test -n "$CC"; then |
1797 ac_cv_prog_CC="$CC" # Let the user override the test. | 1798 ac_cv_prog_CC="$CC" # Let the user override the test. |
1798 else | 1799 else |
1799 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1800 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1818 fi | 1819 fi |
1819 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1820 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1820 fi | 1821 fi |
1821 | 1822 |
1822 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1823 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1823 echo "configure:1824: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1824 echo "configure:1825: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1824 | 1825 |
1825 ac_ext=c | 1826 ac_ext=c |
1826 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1827 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1827 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1828 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1828 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1829 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1831 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1832 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1832 cross_compiling=no | 1833 cross_compiling=no |
1833 | 1834 |
1834 cat > conftest.$ac_ext << EOF | 1835 cat > conftest.$ac_ext << EOF |
1835 | 1836 |
1836 #line 1837 "configure" | 1837 #line 1838 "configure" |
1837 #include "confdefs.h" | 1838 #include "confdefs.h" |
1838 | 1839 |
1839 main(){return(0);} | 1840 main(){return(0);} |
1840 EOF | 1841 EOF |
1841 if { (eval echo configure:1842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1842 if { (eval echo configure:1843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1842 ac_cv_prog_cc_works=yes | 1843 ac_cv_prog_cc_works=yes |
1843 # If we can't run a trivial program, we are probably using a cross compiler. | 1844 # If we can't run a trivial program, we are probably using a cross compiler. |
1844 if (./conftest; exit) 2>/dev/null; then | 1845 if (./conftest; exit) 2>/dev/null; then |
1845 ac_cv_prog_cc_cross=no | 1846 ac_cv_prog_cc_cross=no |
1846 else | 1847 else |
1864 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1865 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1865 if test $ac_cv_prog_cc_works = no; then | 1866 if test $ac_cv_prog_cc_works = no; then |
1866 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1867 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1867 fi | 1868 fi |
1868 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1869 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1869 echo "configure:1870: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1870 echo "configure:1871: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1870 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1871 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1871 cross_compiling=$ac_cv_prog_cc_cross | 1872 cross_compiling=$ac_cv_prog_cc_cross |
1872 | 1873 |
1873 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1874 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1874 echo "configure:1875: checking whether we are using GNU C" >&5 | 1875 echo "configure:1876: checking whether we are using GNU C" >&5 |
1875 | 1876 |
1876 cat > conftest.c <<EOF | 1877 cat > conftest.c <<EOF |
1877 #ifdef __GNUC__ | 1878 #ifdef __GNUC__ |
1878 yes; | 1879 yes; |
1879 #endif | 1880 #endif |
1880 EOF | 1881 EOF |
1881 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1882 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1882 ac_cv_prog_gcc=yes | 1883 ac_cv_prog_gcc=yes |
1883 else | 1884 else |
1884 ac_cv_prog_gcc=no | 1885 ac_cv_prog_gcc=no |
1885 fi | 1886 fi |
1886 | 1887 |
1894 | 1895 |
1895 ac_test_CFLAGS="${CFLAGS+set}" | 1896 ac_test_CFLAGS="${CFLAGS+set}" |
1896 ac_save_CFLAGS="$CFLAGS" | 1897 ac_save_CFLAGS="$CFLAGS" |
1897 CFLAGS= | 1898 CFLAGS= |
1898 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1899 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1899 echo "configure:1900: checking whether ${CC-cc} accepts -g" >&5 | 1900 echo "configure:1901: checking whether ${CC-cc} accepts -g" >&5 |
1900 | 1901 |
1901 echo 'void f(){}' > conftest.c | 1902 echo 'void f(){}' > conftest.c |
1902 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1903 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1903 ac_cv_prog_cc_g=yes | 1904 ac_cv_prog_cc_g=yes |
1904 else | 1905 else |
1927 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1928 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1928 CC=gcc | 1929 CC=gcc |
1929 # Extract the first word of "gcc", so it can be a program name with args. | 1930 # Extract the first word of "gcc", so it can be a program name with args. |
1930 set dummy gcc; ac_word=$2 | 1931 set dummy gcc; ac_word=$2 |
1931 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1932 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1932 echo "configure:1933: checking for $ac_word" >&5 | 1933 echo "configure:1934: checking for $ac_word" >&5 |
1933 | 1934 |
1934 if test -n "$CC"; then | 1935 if test -n "$CC"; then |
1935 ac_cv_prog_CC="$CC" # Let the user override the test. | 1936 ac_cv_prog_CC="$CC" # Let the user override the test. |
1936 else | 1937 else |
1937 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1938 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1954 | 1955 |
1955 if test -z "$CC"; then | 1956 if test -z "$CC"; then |
1956 # Extract the first word of "cc", so it can be a program name with args. | 1957 # Extract the first word of "cc", so it can be a program name with args. |
1957 set dummy cc; ac_word=$2 | 1958 set dummy cc; ac_word=$2 |
1958 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1959 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1959 echo "configure:1960: checking for $ac_word" >&5 | 1960 echo "configure:1961: checking for $ac_word" >&5 |
1960 | 1961 |
1961 if test -n "$CC"; then | 1962 if test -n "$CC"; then |
1962 ac_cv_prog_CC="$CC" # Let the user override the test. | 1963 ac_cv_prog_CC="$CC" # Let the user override the test. |
1963 else | 1964 else |
1964 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1965 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2002 case "`uname -s`" in | 2003 case "`uname -s`" in |
2003 *win32* | *WIN32*) | 2004 *win32* | *WIN32*) |
2004 # Extract the first word of "cl", so it can be a program name with args. | 2005 # Extract the first word of "cl", so it can be a program name with args. |
2005 set dummy cl; ac_word=$2 | 2006 set dummy cl; ac_word=$2 |
2006 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2007 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2007 echo "configure:2008: checking for $ac_word" >&5 | 2008 echo "configure:2009: checking for $ac_word" >&5 |
2008 | 2009 |
2009 if test -n "$CC"; then | 2010 if test -n "$CC"; then |
2010 ac_cv_prog_CC="$CC" # Let the user override the test. | 2011 ac_cv_prog_CC="$CC" # Let the user override the test. |
2011 else | 2012 else |
2012 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2013 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2031 fi | 2032 fi |
2032 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2033 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2033 fi | 2034 fi |
2034 | 2035 |
2035 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2036 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2036 echo "configure:2037: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2037 echo "configure:2038: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2037 | 2038 |
2038 ac_ext=c | 2039 ac_ext=c |
2039 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2040 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2040 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2041 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2041 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2042 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2044 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2045 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2045 cross_compiling=no | 2046 cross_compiling=no |
2046 | 2047 |
2047 cat > conftest.$ac_ext << EOF | 2048 cat > conftest.$ac_ext << EOF |
2048 | 2049 |
2049 #line 2050 "configure" | 2050 #line 2051 "configure" |
2050 #include "confdefs.h" | 2051 #include "confdefs.h" |
2051 | 2052 |
2052 main(){return(0);} | 2053 main(){return(0);} |
2053 EOF | 2054 EOF |
2054 if { (eval echo configure:2055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2055 if { (eval echo configure:2056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2055 ac_cv_prog_cc_works=yes | 2056 ac_cv_prog_cc_works=yes |
2056 # If we can't run a trivial program, we are probably using a cross compiler. | 2057 # If we can't run a trivial program, we are probably using a cross compiler. |
2057 if (./conftest; exit) 2>/dev/null; then | 2058 if (./conftest; exit) 2>/dev/null; then |
2058 ac_cv_prog_cc_cross=no | 2059 ac_cv_prog_cc_cross=no |
2059 else | 2060 else |
2077 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2078 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2078 if test $ac_cv_prog_cc_works = no; then | 2079 if test $ac_cv_prog_cc_works = no; then |
2079 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2080 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2080 fi | 2081 fi |
2081 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2082 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2082 echo "configure:2083: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2083 echo "configure:2084: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2083 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2084 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2084 cross_compiling=$ac_cv_prog_cc_cross | 2085 cross_compiling=$ac_cv_prog_cc_cross |
2085 | 2086 |
2086 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2087 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2087 echo "configure:2088: checking whether we are using GNU C" >&5 | 2088 echo "configure:2089: checking whether we are using GNU C" >&5 |
2088 | 2089 |
2089 cat > conftest.c <<EOF | 2090 cat > conftest.c <<EOF |
2090 #ifdef __GNUC__ | 2091 #ifdef __GNUC__ |
2091 yes; | 2092 yes; |
2092 #endif | 2093 #endif |
2093 EOF | 2094 EOF |
2094 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2095 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2095 ac_cv_prog_gcc=yes | 2096 ac_cv_prog_gcc=yes |
2096 else | 2097 else |
2097 ac_cv_prog_gcc=no | 2098 ac_cv_prog_gcc=no |
2098 fi | 2099 fi |
2099 | 2100 |
2107 | 2108 |
2108 ac_test_CFLAGS="${CFLAGS+set}" | 2109 ac_test_CFLAGS="${CFLAGS+set}" |
2109 ac_save_CFLAGS="$CFLAGS" | 2110 ac_save_CFLAGS="$CFLAGS" |
2110 CFLAGS= | 2111 CFLAGS= |
2111 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2112 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2112 echo "configure:2113: checking whether ${CC-cc} accepts -g" >&5 | 2113 echo "configure:2114: checking whether ${CC-cc} accepts -g" >&5 |
2113 | 2114 |
2114 echo 'void f(){}' > conftest.c | 2115 echo 'void f(){}' > conftest.c |
2115 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2116 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2116 ac_cv_prog_cc_g=yes | 2117 ac_cv_prog_cc_g=yes |
2117 else | 2118 else |
2144 test -n "$CPP" -a -d "$CPP" && CPP= | 2145 test -n "$CPP" -a -d "$CPP" && CPP= |
2145 | 2146 |
2146 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2147 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2147 | 2148 |
2148 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2149 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2149 echo "configure:2150: checking how to run the C preprocessor" >&5 | 2150 echo "configure:2151: checking how to run the C preprocessor" >&5 |
2150 # On Suns, sometimes $CPP names a directory. | 2151 # On Suns, sometimes $CPP names a directory. |
2151 if test -n "$CPP" && test -d "$CPP"; then | 2152 if test -n "$CPP" && test -d "$CPP"; then |
2152 CPP= | 2153 CPP= |
2153 fi | 2154 fi |
2154 if test -z "$CPP"; then | 2155 if test -z "$CPP"; then |
2157 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2158 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2158 CPP="${CC-cc} -E" | 2159 CPP="${CC-cc} -E" |
2159 # On the NeXT, cc -E runs the code through the compiler's parser, | 2160 # On the NeXT, cc -E runs the code through the compiler's parser, |
2160 # not just through cpp. | 2161 # not just through cpp. |
2161 cat > conftest.$ac_ext <<EOF | 2162 cat > conftest.$ac_ext <<EOF |
2162 #line 2163 "configure" | 2163 #line 2164 "configure" |
2163 #include "confdefs.h" | 2164 #include "confdefs.h" |
2164 #include <assert.h> | 2165 #include <assert.h> |
2165 Syntax Error | 2166 Syntax Error |
2166 EOF | 2167 EOF |
2167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2168 { (eval echo configure:2169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2169 { (eval echo configure:2170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2170 if test -z "$ac_err"; then | 2171 if test -z "$ac_err"; then |
2171 : | 2172 : |
2172 else | 2173 else |
2173 echo "$ac_err" >&5 | 2174 echo "$ac_err" >&5 |
2174 echo "configure: failed program was:" >&5 | 2175 echo "configure: failed program was:" >&5 |
2175 cat conftest.$ac_ext >&5 | 2176 cat conftest.$ac_ext >&5 |
2176 rm -rf conftest* | 2177 rm -rf conftest* |
2177 CPP="${CC-cc} -E -traditional-cpp" | 2178 CPP="${CC-cc} -E -traditional-cpp" |
2178 cat > conftest.$ac_ext <<EOF | 2179 cat > conftest.$ac_ext <<EOF |
2179 #line 2180 "configure" | 2180 #line 2181 "configure" |
2180 #include "confdefs.h" | 2181 #include "confdefs.h" |
2181 #include <assert.h> | 2182 #include <assert.h> |
2182 Syntax Error | 2183 Syntax Error |
2183 EOF | 2184 EOF |
2184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2185 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2185 { (eval echo configure:2186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2186 { (eval echo configure:2187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2187 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2187 if test -z "$ac_err"; then | 2188 if test -z "$ac_err"; then |
2188 : | 2189 : |
2189 else | 2190 else |
2190 echo "$ac_err" >&5 | 2191 echo "$ac_err" >&5 |
2191 echo "configure: failed program was:" >&5 | 2192 echo "configure: failed program was:" >&5 |
2192 cat conftest.$ac_ext >&5 | 2193 cat conftest.$ac_ext >&5 |
2193 rm -rf conftest* | 2194 rm -rf conftest* |
2194 CPP="${CC-cc} -nologo -E" | 2195 CPP="${CC-cc} -nologo -E" |
2195 cat > conftest.$ac_ext <<EOF | 2196 cat > conftest.$ac_ext <<EOF |
2196 #line 2197 "configure" | 2197 #line 2198 "configure" |
2197 #include "confdefs.h" | 2198 #include "confdefs.h" |
2198 #include <assert.h> | 2199 #include <assert.h> |
2199 Syntax Error | 2200 Syntax Error |
2200 EOF | 2201 EOF |
2201 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2202 { (eval echo configure:2203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2203 { (eval echo configure:2204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2203 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2204 if test -z "$ac_err"; then | 2205 if test -z "$ac_err"; then |
2205 : | 2206 : |
2206 else | 2207 else |
2207 echo "$ac_err" >&5 | 2208 echo "$ac_err" >&5 |
2222 fi | 2223 fi |
2223 echo "$ac_t""$CPP" 1>&6 | 2224 echo "$ac_t""$CPP" 1>&6 |
2224 | 2225 |
2225 | 2226 |
2226 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2227 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2227 echo "configure:2228: checking for AIX" >&5 | 2228 echo "configure:2229: checking for AIX" >&5 |
2228 cat > conftest.$ac_ext <<EOF | 2229 cat > conftest.$ac_ext <<EOF |
2229 #line 2230 "configure" | 2230 #line 2231 "configure" |
2230 #include "confdefs.h" | 2231 #include "confdefs.h" |
2231 #ifdef _AIX | 2232 #ifdef _AIX |
2232 yes | 2233 yes |
2233 #endif | 2234 #endif |
2234 | 2235 |
2251 rm -f conftest* | 2252 rm -f conftest* |
2252 | 2253 |
2253 | 2254 |
2254 | 2255 |
2255 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2256 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2256 echo "configure:2257: checking for GNU libc" >&5 | 2257 echo "configure:2258: checking for GNU libc" >&5 |
2257 cat > conftest.$ac_ext <<EOF | 2258 cat > conftest.$ac_ext <<EOF |
2258 #line 2259 "configure" | 2259 #line 2260 "configure" |
2259 #include "confdefs.h" | 2260 #include "confdefs.h" |
2260 #include <features.h> | 2261 #include <features.h> |
2261 int main() { | 2262 int main() { |
2262 | 2263 |
2263 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2264 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2265 ******* ======= ******** &&&&&&&& | 2266 ******* ======= ******** &&&&&&&& |
2266 #endif | 2267 #endif |
2267 | 2268 |
2268 ; return 0; } | 2269 ; return 0; } |
2269 EOF | 2270 EOF |
2270 if { (eval echo configure:2271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2271 if { (eval echo configure:2272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2271 rm -rf conftest* | 2272 rm -rf conftest* |
2272 have_glibc=yes | 2273 have_glibc=yes |
2273 else | 2274 else |
2274 echo "configure: failed program was:" >&5 | 2275 echo "configure: failed program was:" >&5 |
2275 cat conftest.$ac_ext >&5 | 2276 cat conftest.$ac_ext >&5 |
2287 } | 2288 } |
2288 | 2289 |
2289 | 2290 |
2290 | 2291 |
2291 cat > conftest.$ac_ext <<EOF | 2292 cat > conftest.$ac_ext <<EOF |
2292 #line 2293 "configure" | 2293 #line 2294 "configure" |
2293 #include "confdefs.h" | 2294 #include "confdefs.h" |
2294 int main () { | 2295 int main () { |
2295 #if defined __SUNPRO_C | 2296 #if defined __SUNPRO_C |
2296 return 11; | 2297 return 11; |
2297 #elif defined __DECC | 2298 #elif defined __DECC |
2299 #else | 2300 #else |
2300 return 0; | 2301 return 0; |
2301 #endif | 2302 #endif |
2302 } | 2303 } |
2303 EOF | 2304 EOF |
2304 if { (eval echo configure:2305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2305 if { (eval echo configure:2306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2305 then | 2306 then |
2306 : | 2307 : |
2307 else | 2308 else |
2308 conftest_rc="$?" | 2309 conftest_rc="$?" |
2309 echo "configure: failed program was:" >&5 | 2310 echo "configure: failed program was:" >&5 |
2569 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2570 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2570 echo " xemacs will be linked with \"$unexec\"" | 2571 echo " xemacs will be linked with \"$unexec\"" |
2571 fi | 2572 fi |
2572 | 2573 |
2573 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2574 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2574 echo "configure:2575: checking for dynodump" >&5 | 2575 echo "configure:2576: checking for dynodump" >&5 |
2575 if test "$unexec" != "unexsol2.o"; then | 2576 if test "$unexec" != "unexsol2.o"; then |
2576 echo "$ac_t""no" 1>&6 | 2577 echo "$ac_t""no" 1>&6 |
2577 else | 2578 else |
2578 echo "$ac_t""yes" 1>&6 | 2579 echo "$ac_t""yes" 1>&6 |
2579 { test "$extra_verbose" = "yes" && cat << \EOF | 2580 { test "$extra_verbose" = "yes" && cat << \EOF |
2607 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2608 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2608 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2609 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2609 done | 2610 done |
2610 | 2611 |
2611 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2612 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2612 echo "configure:2613: checking for terminateAndUnload in -lC" >&5 | 2613 echo "configure:2614: checking for terminateAndUnload in -lC" >&5 |
2613 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2614 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2614 | 2615 |
2615 xe_check_libs=" -lC " | 2616 xe_check_libs=" -lC " |
2616 cat > conftest.$ac_ext <<EOF | 2617 cat > conftest.$ac_ext <<EOF |
2617 #line 2618 "configure" | 2618 #line 2619 "configure" |
2618 #include "confdefs.h" | 2619 #include "confdefs.h" |
2619 /* Override any gcc2 internal prototype to avoid an error. */ | 2620 /* Override any gcc2 internal prototype to avoid an error. */ |
2620 /* We use char because int might match the return type of a gcc2 | 2621 /* We use char because int might match the return type of a gcc2 |
2621 builtin and then its argument prototype would still apply. */ | 2622 builtin and then its argument prototype would still apply. */ |
2622 char terminateAndUnload(); | 2623 char terminateAndUnload(); |
2623 | 2624 |
2624 int main() { | 2625 int main() { |
2625 terminateAndUnload() | 2626 terminateAndUnload() |
2626 ; return 0; } | 2627 ; return 0; } |
2627 EOF | 2628 EOF |
2628 if { (eval echo configure:2629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2629 if { (eval echo configure:2630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2629 rm -rf conftest* | 2630 rm -rf conftest* |
2630 eval "ac_cv_lib_$ac_lib_var=yes" | 2631 eval "ac_cv_lib_$ac_lib_var=yes" |
2631 else | 2632 else |
2632 echo "configure: failed program was:" >&5 | 2633 echo "configure: failed program was:" >&5 |
2633 cat conftest.$ac_ext >&5 | 2634 cat conftest.$ac_ext >&5 |
2707 esac | 2708 esac |
2708 fi | 2709 fi |
2709 | 2710 |
2710 if test "$add_runtime_path" = "yes"; then | 2711 if test "$add_runtime_path" = "yes"; then |
2711 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2712 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2712 echo "configure:2713: checking "for runtime libraries flag"" >&5 | 2713 echo "configure:2714: checking "for runtime libraries flag"" >&5 |
2713 case "$opsys" in | 2714 case "$opsys" in |
2714 sol2 ) dash_r="-R" ;; | 2715 sol2 ) dash_r="-R" ;; |
2715 decosf* | linux* | irix*) dash_r="-rpath " ;; | 2716 decosf* | linux* | irix*) dash_r="-rpath " ;; |
2716 *) | 2717 *) |
2717 dash_r="" | 2718 dash_r="" |
2729 esac | 2730 esac |
2730 shift | 2731 shift |
2731 done | 2732 done |
2732 fi | 2733 fi |
2733 cat > conftest.$ac_ext <<EOF | 2734 cat > conftest.$ac_ext <<EOF |
2734 #line 2735 "configure" | 2735 #line 2736 "configure" |
2735 #include "confdefs.h" | 2736 #include "confdefs.h" |
2736 | 2737 |
2737 int main() { | 2738 int main() { |
2738 | 2739 |
2739 ; return 0; } | 2740 ; return 0; } |
2740 EOF | 2741 EOF |
2741 if { (eval echo configure:2742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2742 if { (eval echo configure:2743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2742 rm -rf conftest* | 2743 rm -rf conftest* |
2743 dash_r="$try_dash_r" | 2744 dash_r="$try_dash_r" |
2744 else | 2745 else |
2745 echo "configure: failed program was:" >&5 | 2746 echo "configure: failed program was:" >&5 |
2746 cat conftest.$ac_ext >&5 | 2747 cat conftest.$ac_ext >&5 |
2837 else | 2838 else |
2838 doug_lea_malloc=no | 2839 doug_lea_malloc=no |
2839 fi | 2840 fi |
2840 after_morecore_hook_exists=yes | 2841 after_morecore_hook_exists=yes |
2841 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2842 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2842 echo "configure:2843: checking for malloc_get_state" >&5 | 2843 echo "configure:2844: checking for malloc_get_state" >&5 |
2843 | 2844 |
2844 cat > conftest.$ac_ext <<EOF | 2845 cat > conftest.$ac_ext <<EOF |
2845 #line 2846 "configure" | 2846 #line 2847 "configure" |
2846 #include "confdefs.h" | 2847 #include "confdefs.h" |
2847 /* System header to define __stub macros and hopefully few prototypes, | 2848 /* System header to define __stub macros and hopefully few prototypes, |
2848 which can conflict with char malloc_get_state(); below. */ | 2849 which can conflict with char malloc_get_state(); below. */ |
2849 #include <assert.h> | 2850 #include <assert.h> |
2850 /* Override any gcc2 internal prototype to avoid an error. */ | 2851 /* Override any gcc2 internal prototype to avoid an error. */ |
2863 malloc_get_state(); | 2864 malloc_get_state(); |
2864 #endif | 2865 #endif |
2865 | 2866 |
2866 ; return 0; } | 2867 ; return 0; } |
2867 EOF | 2868 EOF |
2868 if { (eval echo configure:2869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2869 if { (eval echo configure:2870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2869 rm -rf conftest* | 2870 rm -rf conftest* |
2870 eval "ac_cv_func_malloc_get_state=yes" | 2871 eval "ac_cv_func_malloc_get_state=yes" |
2871 else | 2872 else |
2872 echo "configure: failed program was:" >&5 | 2873 echo "configure: failed program was:" >&5 |
2873 cat conftest.$ac_ext >&5 | 2874 cat conftest.$ac_ext >&5 |
2883 echo "$ac_t""no" 1>&6 | 2884 echo "$ac_t""no" 1>&6 |
2884 doug_lea_malloc=no | 2885 doug_lea_malloc=no |
2885 fi | 2886 fi |
2886 | 2887 |
2887 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2888 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2888 echo "configure:2889: checking for malloc_set_state" >&5 | 2889 echo "configure:2890: checking for malloc_set_state" >&5 |
2889 | 2890 |
2890 cat > conftest.$ac_ext <<EOF | 2891 cat > conftest.$ac_ext <<EOF |
2891 #line 2892 "configure" | 2892 #line 2893 "configure" |
2892 #include "confdefs.h" | 2893 #include "confdefs.h" |
2893 /* System header to define __stub macros and hopefully few prototypes, | 2894 /* System header to define __stub macros and hopefully few prototypes, |
2894 which can conflict with char malloc_set_state(); below. */ | 2895 which can conflict with char malloc_set_state(); below. */ |
2895 #include <assert.h> | 2896 #include <assert.h> |
2896 /* Override any gcc2 internal prototype to avoid an error. */ | 2897 /* Override any gcc2 internal prototype to avoid an error. */ |
2909 malloc_set_state(); | 2910 malloc_set_state(); |
2910 #endif | 2911 #endif |
2911 | 2912 |
2912 ; return 0; } | 2913 ; return 0; } |
2913 EOF | 2914 EOF |
2914 if { (eval echo configure:2915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2915 if { (eval echo configure:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2915 rm -rf conftest* | 2916 rm -rf conftest* |
2916 eval "ac_cv_func_malloc_set_state=yes" | 2917 eval "ac_cv_func_malloc_set_state=yes" |
2917 else | 2918 else |
2918 echo "configure: failed program was:" >&5 | 2919 echo "configure: failed program was:" >&5 |
2919 cat conftest.$ac_ext >&5 | 2920 cat conftest.$ac_ext >&5 |
2929 echo "$ac_t""no" 1>&6 | 2930 echo "$ac_t""no" 1>&6 |
2930 doug_lea_malloc=no | 2931 doug_lea_malloc=no |
2931 fi | 2932 fi |
2932 | 2933 |
2933 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2934 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
2934 echo "configure:2935: checking whether __after_morecore_hook exists" >&5 | 2935 echo "configure:2936: checking whether __after_morecore_hook exists" >&5 |
2935 cat > conftest.$ac_ext <<EOF | 2936 cat > conftest.$ac_ext <<EOF |
2936 #line 2937 "configure" | 2937 #line 2938 "configure" |
2937 #include "confdefs.h" | 2938 #include "confdefs.h" |
2938 extern void (* __after_morecore_hook)(); | 2939 extern void (* __after_morecore_hook)(); |
2939 int main() { | 2940 int main() { |
2940 __after_morecore_hook = 0 | 2941 __after_morecore_hook = 0 |
2941 ; return 0; } | 2942 ; return 0; } |
2942 EOF | 2943 EOF |
2943 if { (eval echo configure:2944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2944 if { (eval echo configure:2945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2944 rm -rf conftest* | 2945 rm -rf conftest* |
2945 echo "$ac_t""yes" 1>&6 | 2946 echo "$ac_t""yes" 1>&6 |
2946 else | 2947 else |
2947 echo "configure: failed program was:" >&5 | 2948 echo "configure: failed program was:" >&5 |
2948 cat conftest.$ac_ext >&5 | 2949 cat conftest.$ac_ext >&5 |
2997 | 2998 |
2998 | 2999 |
2999 # Extract the first word of "ranlib", so it can be a program name with args. | 3000 # Extract the first word of "ranlib", so it can be a program name with args. |
3000 set dummy ranlib; ac_word=$2 | 3001 set dummy ranlib; ac_word=$2 |
3001 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3002 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3002 echo "configure:3003: checking for $ac_word" >&5 | 3003 echo "configure:3004: checking for $ac_word" >&5 |
3003 | 3004 |
3004 if test -n "$RANLIB"; then | 3005 if test -n "$RANLIB"; then |
3005 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3006 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3006 else | 3007 else |
3007 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3008 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3052 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3053 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3053 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3054 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3054 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3055 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3055 # ./install, which can be erroneously created by make from ./install.sh. | 3056 # ./install, which can be erroneously created by make from ./install.sh. |
3056 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3057 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3057 echo "configure:3058: checking for a BSD compatible install" >&5 | 3058 echo "configure:3059: checking for a BSD compatible install" >&5 |
3058 if test -z "$INSTALL"; then | 3059 if test -z "$INSTALL"; then |
3059 | 3060 |
3060 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3061 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3061 for ac_dir in $PATH; do | 3062 for ac_dir in $PATH; do |
3062 # Account for people who put trailing slashes in PATH elements. | 3063 # Account for people who put trailing slashes in PATH elements. |
3106 for ac_prog in 'bison -y' byacc | 3107 for ac_prog in 'bison -y' byacc |
3107 do | 3108 do |
3108 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3109 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3109 set dummy $ac_prog; ac_word=$2 | 3110 set dummy $ac_prog; ac_word=$2 |
3110 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3111 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3111 echo "configure:3112: checking for $ac_word" >&5 | 3112 echo "configure:3113: checking for $ac_word" >&5 |
3112 | 3113 |
3113 if test -n "$YACC"; then | 3114 if test -n "$YACC"; then |
3114 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3115 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3115 else | 3116 else |
3116 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3117 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3138 | 3139 |
3139 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 3140 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
3140 do | 3141 do |
3141 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3142 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3142 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3143 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3143 echo "configure:3144: checking for $ac_hdr" >&5 | 3144 echo "configure:3145: checking for $ac_hdr" >&5 |
3144 | 3145 |
3145 cat > conftest.$ac_ext <<EOF | 3146 cat > conftest.$ac_ext <<EOF |
3146 #line 3147 "configure" | 3147 #line 3148 "configure" |
3147 #include "confdefs.h" | 3148 #include "confdefs.h" |
3148 #include <$ac_hdr> | 3149 #include <$ac_hdr> |
3149 EOF | 3150 EOF |
3150 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3151 { (eval echo configure:3152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3152 { (eval echo configure:3153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3152 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3153 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3153 if test -z "$ac_err"; then | 3154 if test -z "$ac_err"; then |
3154 rm -rf conftest* | 3155 rm -rf conftest* |
3155 eval "ac_cv_header_$ac_safe=yes" | 3156 eval "ac_cv_header_$ac_safe=yes" |
3156 else | 3157 else |
3179 | 3180 |
3180 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h | 3181 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h |
3181 do | 3182 do |
3182 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3183 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3183 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3184 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3184 echo "configure:3185: checking for $ac_hdr" >&5 | 3185 echo "configure:3186: checking for $ac_hdr" >&5 |
3185 | 3186 |
3186 cat > conftest.$ac_ext <<EOF | 3187 cat > conftest.$ac_ext <<EOF |
3187 #line 3188 "configure" | 3188 #line 3189 "configure" |
3188 #include "confdefs.h" | 3189 #include "confdefs.h" |
3189 #include <$ac_hdr> | 3190 #include <$ac_hdr> |
3190 EOF | 3191 EOF |
3191 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3192 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3192 { (eval echo configure:3193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3193 { (eval echo configure:3194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3193 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3194 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3194 if test -z "$ac_err"; then | 3195 if test -z "$ac_err"; then |
3195 rm -rf conftest* | 3196 rm -rf conftest* |
3196 eval "ac_cv_header_$ac_safe=yes" | 3197 eval "ac_cv_header_$ac_safe=yes" |
3197 else | 3198 else |
3220 | 3221 |
3221 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 3222 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
3222 do | 3223 do |
3223 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3224 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3224 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3225 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3225 echo "configure:3226: checking for $ac_hdr" >&5 | 3226 echo "configure:3227: checking for $ac_hdr" >&5 |
3226 | 3227 |
3227 cat > conftest.$ac_ext <<EOF | 3228 cat > conftest.$ac_ext <<EOF |
3228 #line 3229 "configure" | 3229 #line 3230 "configure" |
3229 #include "confdefs.h" | 3230 #include "confdefs.h" |
3230 #include <$ac_hdr> | 3231 #include <$ac_hdr> |
3231 EOF | 3232 EOF |
3232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3233 { (eval echo configure:3234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3234 { (eval echo configure:3235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3235 if test -z "$ac_err"; then | 3236 if test -z "$ac_err"; then |
3236 rm -rf conftest* | 3237 rm -rf conftest* |
3237 eval "ac_cv_header_$ac_safe=yes" | 3238 eval "ac_cv_header_$ac_safe=yes" |
3238 else | 3239 else |
3258 echo "$ac_t""no" 1>&6 | 3259 echo "$ac_t""no" 1>&6 |
3259 fi | 3260 fi |
3260 done | 3261 done |
3261 | 3262 |
3262 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3263 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3263 echo "configure:3264: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3264 echo "configure:3265: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3264 | 3265 |
3265 cat > conftest.$ac_ext <<EOF | 3266 cat > conftest.$ac_ext <<EOF |
3266 #line 3267 "configure" | 3267 #line 3268 "configure" |
3267 #include "confdefs.h" | 3268 #include "confdefs.h" |
3268 #include <sys/types.h> | 3269 #include <sys/types.h> |
3269 #include <sys/wait.h> | 3270 #include <sys/wait.h> |
3270 #ifndef WEXITSTATUS | 3271 #ifndef WEXITSTATUS |
3271 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3272 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3277 int s; | 3278 int s; |
3278 wait (&s); | 3279 wait (&s); |
3279 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3280 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3280 ; return 0; } | 3281 ; return 0; } |
3281 EOF | 3282 EOF |
3282 if { (eval echo configure:3283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3283 if { (eval echo configure:3284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3283 rm -rf conftest* | 3284 rm -rf conftest* |
3284 ac_cv_header_sys_wait_h=yes | 3285 ac_cv_header_sys_wait_h=yes |
3285 else | 3286 else |
3286 echo "configure: failed program was:" >&5 | 3287 echo "configure: failed program was:" >&5 |
3287 cat conftest.$ac_ext >&5 | 3288 cat conftest.$ac_ext >&5 |
3301 } | 3302 } |
3302 | 3303 |
3303 fi | 3304 fi |
3304 | 3305 |
3305 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3306 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3306 echo "configure:3307: checking for ANSI C header files" >&5 | 3307 echo "configure:3308: checking for ANSI C header files" >&5 |
3307 | 3308 |
3308 cat > conftest.$ac_ext <<EOF | 3309 cat > conftest.$ac_ext <<EOF |
3309 #line 3310 "configure" | 3310 #line 3311 "configure" |
3310 #include "confdefs.h" | 3311 #include "confdefs.h" |
3311 #include <stdlib.h> | 3312 #include <stdlib.h> |
3312 #include <stdarg.h> | 3313 #include <stdarg.h> |
3313 #include <string.h> | 3314 #include <string.h> |
3314 #include <float.h> | 3315 #include <float.h> |
3315 EOF | 3316 EOF |
3316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3317 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3317 { (eval echo configure:3318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3318 { (eval echo configure:3319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3319 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3319 if test -z "$ac_err"; then | 3320 if test -z "$ac_err"; then |
3320 rm -rf conftest* | 3321 rm -rf conftest* |
3321 ac_cv_header_stdc=yes | 3322 ac_cv_header_stdc=yes |
3322 else | 3323 else |
3329 rm -f conftest* | 3330 rm -f conftest* |
3330 | 3331 |
3331 if test $ac_cv_header_stdc = yes; then | 3332 if test $ac_cv_header_stdc = yes; then |
3332 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3333 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3333 cat > conftest.$ac_ext <<EOF | 3334 cat > conftest.$ac_ext <<EOF |
3334 #line 3335 "configure" | 3335 #line 3336 "configure" |
3335 #include "confdefs.h" | 3336 #include "confdefs.h" |
3336 #include <string.h> | 3337 #include <string.h> |
3337 EOF | 3338 EOF |
3338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3339 egrep "memchr" >/dev/null 2>&1; then | 3340 egrep "memchr" >/dev/null 2>&1; then |
3347 fi | 3348 fi |
3348 | 3349 |
3349 if test $ac_cv_header_stdc = yes; then | 3350 if test $ac_cv_header_stdc = yes; then |
3350 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3351 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3351 cat > conftest.$ac_ext <<EOF | 3352 cat > conftest.$ac_ext <<EOF |
3352 #line 3353 "configure" | 3353 #line 3354 "configure" |
3353 #include "confdefs.h" | 3354 #include "confdefs.h" |
3354 #include <stdlib.h> | 3355 #include <stdlib.h> |
3355 EOF | 3356 EOF |
3356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3357 egrep "free" >/dev/null 2>&1; then | 3358 egrep "free" >/dev/null 2>&1; then |
3365 fi | 3366 fi |
3366 | 3367 |
3367 if test $ac_cv_header_stdc = yes; then | 3368 if test $ac_cv_header_stdc = yes; then |
3368 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3369 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3369 cat > conftest.$ac_ext <<EOF | 3370 cat > conftest.$ac_ext <<EOF |
3370 #line 3371 "configure" | 3371 #line 3372 "configure" |
3371 #include "confdefs.h" | 3372 #include "confdefs.h" |
3372 #include <ctype.h> | 3373 #include <ctype.h> |
3373 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3374 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3374 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3375 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3375 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3376 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3376 int main () { int i; for (i = 0; i < 256; i++) | 3377 int main () { int i; for (i = 0; i < 256; i++) |
3377 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3378 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3378 exit (0); } | 3379 exit (0); } |
3379 | 3380 |
3380 EOF | 3381 EOF |
3381 if { (eval echo configure:3382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3382 if { (eval echo configure:3383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3382 then | 3383 then |
3383 : | 3384 : |
3384 else | 3385 else |
3385 conftest_rc="$?" | 3386 conftest_rc="$?" |
3386 echo "configure: failed program was:" >&5 | 3387 echo "configure: failed program was:" >&5 |
3402 } | 3403 } |
3403 | 3404 |
3404 fi | 3405 fi |
3405 | 3406 |
3406 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3407 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3407 echo "configure:3408: checking whether time.h and sys/time.h may both be included" >&5 | 3408 echo "configure:3409: checking whether time.h and sys/time.h may both be included" >&5 |
3408 | 3409 |
3409 cat > conftest.$ac_ext <<EOF | 3410 cat > conftest.$ac_ext <<EOF |
3410 #line 3411 "configure" | 3411 #line 3412 "configure" |
3411 #include "confdefs.h" | 3412 #include "confdefs.h" |
3412 #include <sys/types.h> | 3413 #include <sys/types.h> |
3413 #include <sys/time.h> | 3414 #include <sys/time.h> |
3414 #include <time.h> | 3415 #include <time.h> |
3415 int main() { | 3416 int main() { |
3416 struct tm *tp; | 3417 struct tm *tp; |
3417 ; return 0; } | 3418 ; return 0; } |
3418 EOF | 3419 EOF |
3419 if { (eval echo configure:3420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3420 if { (eval echo configure:3421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3420 rm -rf conftest* | 3421 rm -rf conftest* |
3421 ac_cv_header_time=yes | 3422 ac_cv_header_time=yes |
3422 else | 3423 else |
3423 echo "configure: failed program was:" >&5 | 3424 echo "configure: failed program was:" >&5 |
3424 cat conftest.$ac_ext >&5 | 3425 cat conftest.$ac_ext >&5 |
3438 } | 3439 } |
3439 | 3440 |
3440 fi | 3441 fi |
3441 | 3442 |
3442 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3443 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3443 echo "configure:3444: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3444 echo "configure:3445: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3444 | 3445 |
3445 cat > conftest.$ac_ext <<EOF | 3446 cat > conftest.$ac_ext <<EOF |
3446 #line 3447 "configure" | 3447 #line 3448 "configure" |
3447 #include "confdefs.h" | 3448 #include "confdefs.h" |
3448 #include <sys/types.h> | 3449 #include <sys/types.h> |
3449 #include <signal.h> | 3450 #include <signal.h> |
3450 /* NetBSD declares sys_siglist in unistd.h. */ | 3451 /* NetBSD declares sys_siglist in unistd.h. */ |
3451 #ifdef HAVE_UNISTD_H | 3452 #ifdef HAVE_UNISTD_H |
3453 #endif | 3454 #endif |
3454 int main() { | 3455 int main() { |
3455 char *msg = *(sys_siglist + 1); | 3456 char *msg = *(sys_siglist + 1); |
3456 ; return 0; } | 3457 ; return 0; } |
3457 EOF | 3458 EOF |
3458 if { (eval echo configure:3459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3459 if { (eval echo configure:3460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3459 rm -rf conftest* | 3460 rm -rf conftest* |
3460 ac_cv_decl_sys_siglist=yes | 3461 ac_cv_decl_sys_siglist=yes |
3461 else | 3462 else |
3462 echo "configure: failed program was:" >&5 | 3463 echo "configure: failed program was:" >&5 |
3463 cat conftest.$ac_ext >&5 | 3464 cat conftest.$ac_ext >&5 |
3478 | 3479 |
3479 fi | 3480 fi |
3480 | 3481 |
3481 | 3482 |
3482 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3483 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3483 echo "configure:3484: checking for struct utimbuf" >&5 | 3484 echo "configure:3485: checking for struct utimbuf" >&5 |
3484 cat > conftest.$ac_ext <<EOF | 3485 cat > conftest.$ac_ext <<EOF |
3485 #line 3486 "configure" | 3486 #line 3487 "configure" |
3486 #include "confdefs.h" | 3487 #include "confdefs.h" |
3487 #ifdef TIME_WITH_SYS_TIME | 3488 #ifdef TIME_WITH_SYS_TIME |
3488 #include <sys/time.h> | 3489 #include <sys/time.h> |
3489 #include <time.h> | 3490 #include <time.h> |
3490 #else | 3491 #else |
3499 #endif | 3500 #endif |
3500 int main() { | 3501 int main() { |
3501 static struct utimbuf x; x.actime = x.modtime; | 3502 static struct utimbuf x; x.actime = x.modtime; |
3502 ; return 0; } | 3503 ; return 0; } |
3503 EOF | 3504 EOF |
3504 if { (eval echo configure:3505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3505 if { (eval echo configure:3506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3505 rm -rf conftest* | 3506 rm -rf conftest* |
3506 echo "$ac_t""yes" 1>&6 | 3507 echo "$ac_t""yes" 1>&6 |
3507 { test "$extra_verbose" = "yes" && cat << \EOF | 3508 { test "$extra_verbose" = "yes" && cat << \EOF |
3508 Defining HAVE_STRUCT_UTIMBUF | 3509 Defining HAVE_STRUCT_UTIMBUF |
3509 EOF | 3510 EOF |
3519 echo "$ac_t""no" 1>&6 | 3520 echo "$ac_t""no" 1>&6 |
3520 fi | 3521 fi |
3521 rm -f conftest* | 3522 rm -f conftest* |
3522 | 3523 |
3523 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3524 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3524 echo "configure:3525: checking return type of signal handlers" >&5 | 3525 echo "configure:3526: checking return type of signal handlers" >&5 |
3525 | 3526 |
3526 cat > conftest.$ac_ext <<EOF | 3527 cat > conftest.$ac_ext <<EOF |
3527 #line 3528 "configure" | 3528 #line 3529 "configure" |
3528 #include "confdefs.h" | 3529 #include "confdefs.h" |
3529 #include <sys/types.h> | 3530 #include <sys/types.h> |
3530 #include <signal.h> | 3531 #include <signal.h> |
3531 #ifdef signal | 3532 #ifdef signal |
3532 #undef signal | 3533 #undef signal |
3539 | 3540 |
3540 int main() { | 3541 int main() { |
3541 int i; | 3542 int i; |
3542 ; return 0; } | 3543 ; return 0; } |
3543 EOF | 3544 EOF |
3544 if { (eval echo configure:3545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3545 if { (eval echo configure:3546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3545 rm -rf conftest* | 3546 rm -rf conftest* |
3546 ac_cv_type_signal=void | 3547 ac_cv_type_signal=void |
3547 else | 3548 else |
3548 echo "configure: failed program was:" >&5 | 3549 echo "configure: failed program was:" >&5 |
3549 cat conftest.$ac_ext >&5 | 3550 cat conftest.$ac_ext >&5 |
3561 EOF | 3562 EOF |
3562 } | 3563 } |
3563 | 3564 |
3564 | 3565 |
3565 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3566 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3566 echo "configure:3567: checking for size_t" >&5 | 3567 echo "configure:3568: checking for size_t" >&5 |
3567 | 3568 |
3568 cat > conftest.$ac_ext <<EOF | 3569 cat > conftest.$ac_ext <<EOF |
3569 #line 3570 "configure" | 3570 #line 3571 "configure" |
3570 #include "confdefs.h" | 3571 #include "confdefs.h" |
3571 #include <sys/types.h> | 3572 #include <sys/types.h> |
3572 #if STDC_HEADERS | 3573 #if STDC_HEADERS |
3573 #include <stdlib.h> | 3574 #include <stdlib.h> |
3574 #include <stddef.h> | 3575 #include <stddef.h> |
3595 } | 3596 } |
3596 | 3597 |
3597 fi | 3598 fi |
3598 | 3599 |
3599 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3600 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3600 echo "configure:3601: checking for pid_t" >&5 | 3601 echo "configure:3602: checking for pid_t" >&5 |
3601 | 3602 |
3602 cat > conftest.$ac_ext <<EOF | 3603 cat > conftest.$ac_ext <<EOF |
3603 #line 3604 "configure" | 3604 #line 3605 "configure" |
3604 #include "confdefs.h" | 3605 #include "confdefs.h" |
3605 #include <sys/types.h> | 3606 #include <sys/types.h> |
3606 #if STDC_HEADERS | 3607 #if STDC_HEADERS |
3607 #include <stdlib.h> | 3608 #include <stdlib.h> |
3608 #include <stddef.h> | 3609 #include <stddef.h> |
3629 } | 3630 } |
3630 | 3631 |
3631 fi | 3632 fi |
3632 | 3633 |
3633 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3634 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3634 echo "configure:3635: checking for uid_t in sys/types.h" >&5 | 3635 echo "configure:3636: checking for uid_t in sys/types.h" >&5 |
3635 | 3636 |
3636 cat > conftest.$ac_ext <<EOF | 3637 cat > conftest.$ac_ext <<EOF |
3637 #line 3638 "configure" | 3638 #line 3639 "configure" |
3638 #include "confdefs.h" | 3639 #include "confdefs.h" |
3639 #include <sys/types.h> | 3640 #include <sys/types.h> |
3640 EOF | 3641 EOF |
3641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3642 egrep "uid_t" >/dev/null 2>&1; then | 3643 egrep "uid_t" >/dev/null 2>&1; then |
3668 } | 3669 } |
3669 | 3670 |
3670 fi | 3671 fi |
3671 | 3672 |
3672 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3673 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3673 echo "configure:3674: checking for mode_t" >&5 | 3674 echo "configure:3675: checking for mode_t" >&5 |
3674 | 3675 |
3675 cat > conftest.$ac_ext <<EOF | 3676 cat > conftest.$ac_ext <<EOF |
3676 #line 3677 "configure" | 3677 #line 3678 "configure" |
3677 #include "confdefs.h" | 3678 #include "confdefs.h" |
3678 #include <sys/types.h> | 3679 #include <sys/types.h> |
3679 #if STDC_HEADERS | 3680 #if STDC_HEADERS |
3680 #include <stdlib.h> | 3681 #include <stdlib.h> |
3681 #include <stddef.h> | 3682 #include <stddef.h> |
3702 } | 3703 } |
3703 | 3704 |
3704 fi | 3705 fi |
3705 | 3706 |
3706 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3707 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3707 echo "configure:3708: checking for off_t" >&5 | 3708 echo "configure:3709: checking for off_t" >&5 |
3708 | 3709 |
3709 cat > conftest.$ac_ext <<EOF | 3710 cat > conftest.$ac_ext <<EOF |
3710 #line 3711 "configure" | 3711 #line 3712 "configure" |
3711 #include "confdefs.h" | 3712 #include "confdefs.h" |
3712 #include <sys/types.h> | 3713 #include <sys/types.h> |
3713 #if STDC_HEADERS | 3714 #if STDC_HEADERS |
3714 #include <stdlib.h> | 3715 #include <stdlib.h> |
3715 #include <stddef.h> | 3716 #include <stddef.h> |
3737 | 3738 |
3738 fi | 3739 fi |
3739 | 3740 |
3740 | 3741 |
3741 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3742 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3742 echo "configure:3743: checking for struct timeval" >&5 | 3743 echo "configure:3744: checking for struct timeval" >&5 |
3743 cat > conftest.$ac_ext <<EOF | 3744 cat > conftest.$ac_ext <<EOF |
3744 #line 3745 "configure" | 3745 #line 3746 "configure" |
3745 #include "confdefs.h" | 3746 #include "confdefs.h" |
3746 #ifdef TIME_WITH_SYS_TIME | 3747 #ifdef TIME_WITH_SYS_TIME |
3747 #include <sys/time.h> | 3748 #include <sys/time.h> |
3748 #include <time.h> | 3749 #include <time.h> |
3749 #else | 3750 #else |
3755 #endif | 3756 #endif |
3756 int main() { | 3757 int main() { |
3757 static struct timeval x; x.tv_sec = x.tv_usec; | 3758 static struct timeval x; x.tv_sec = x.tv_usec; |
3758 ; return 0; } | 3759 ; return 0; } |
3759 EOF | 3760 EOF |
3760 if { (eval echo configure:3761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3761 if { (eval echo configure:3762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3761 rm -rf conftest* | 3762 rm -rf conftest* |
3762 echo "$ac_t""yes" 1>&6 | 3763 echo "$ac_t""yes" 1>&6 |
3763 HAVE_TIMEVAL=yes | 3764 HAVE_TIMEVAL=yes |
3764 { test "$extra_verbose" = "yes" && cat << \EOF | 3765 { test "$extra_verbose" = "yes" && cat << \EOF |
3765 Defining HAVE_TIMEVAL | 3766 Defining HAVE_TIMEVAL |
3777 HAVE_TIMEVAL=no | 3778 HAVE_TIMEVAL=no |
3778 fi | 3779 fi |
3779 rm -f conftest* | 3780 rm -f conftest* |
3780 | 3781 |
3781 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3782 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3782 echo "configure:3783: checking whether struct tm is in sys/time.h or time.h" >&5 | 3783 echo "configure:3784: checking whether struct tm is in sys/time.h or time.h" >&5 |
3783 | 3784 |
3784 cat > conftest.$ac_ext <<EOF | 3785 cat > conftest.$ac_ext <<EOF |
3785 #line 3786 "configure" | 3786 #line 3787 "configure" |
3786 #include "confdefs.h" | 3787 #include "confdefs.h" |
3787 #include <sys/types.h> | 3788 #include <sys/types.h> |
3788 #include <time.h> | 3789 #include <time.h> |
3789 int main() { | 3790 int main() { |
3790 struct tm *tp; tp->tm_sec; | 3791 struct tm *tp; tp->tm_sec; |
3791 ; return 0; } | 3792 ; return 0; } |
3792 EOF | 3793 EOF |
3793 if { (eval echo configure:3794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3794 if { (eval echo configure:3795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3794 rm -rf conftest* | 3795 rm -rf conftest* |
3795 ac_cv_struct_tm=time.h | 3796 ac_cv_struct_tm=time.h |
3796 else | 3797 else |
3797 echo "configure: failed program was:" >&5 | 3798 echo "configure: failed program was:" >&5 |
3798 cat conftest.$ac_ext >&5 | 3799 cat conftest.$ac_ext >&5 |
3812 } | 3813 } |
3813 | 3814 |
3814 fi | 3815 fi |
3815 | 3816 |
3816 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3817 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3817 echo "configure:3818: checking for tm_zone in struct tm" >&5 | 3818 echo "configure:3819: checking for tm_zone in struct tm" >&5 |
3818 | 3819 |
3819 cat > conftest.$ac_ext <<EOF | 3820 cat > conftest.$ac_ext <<EOF |
3820 #line 3821 "configure" | 3821 #line 3822 "configure" |
3821 #include "confdefs.h" | 3822 #include "confdefs.h" |
3822 #include <sys/types.h> | 3823 #include <sys/types.h> |
3823 #include <$ac_cv_struct_tm> | 3824 #include <$ac_cv_struct_tm> |
3824 int main() { | 3825 int main() { |
3825 struct tm tm; tm.tm_zone; | 3826 struct tm tm; tm.tm_zone; |
3826 ; return 0; } | 3827 ; return 0; } |
3827 EOF | 3828 EOF |
3828 if { (eval echo configure:3829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3829 if { (eval echo configure:3830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3829 rm -rf conftest* | 3830 rm -rf conftest* |
3830 ac_cv_struct_tm_zone=yes | 3831 ac_cv_struct_tm_zone=yes |
3831 else | 3832 else |
3832 echo "configure: failed program was:" >&5 | 3833 echo "configure: failed program was:" >&5 |
3833 cat conftest.$ac_ext >&5 | 3834 cat conftest.$ac_ext >&5 |
3846 EOF | 3847 EOF |
3847 } | 3848 } |
3848 | 3849 |
3849 else | 3850 else |
3850 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3851 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3851 echo "configure:3852: checking for tzname" >&5 | 3852 echo "configure:3853: checking for tzname" >&5 |
3852 | 3853 |
3853 cat > conftest.$ac_ext <<EOF | 3854 cat > conftest.$ac_ext <<EOF |
3854 #line 3855 "configure" | 3855 #line 3856 "configure" |
3855 #include "confdefs.h" | 3856 #include "confdefs.h" |
3856 #include <time.h> | 3857 #include <time.h> |
3857 #ifndef tzname /* For SGI. */ | 3858 #ifndef tzname /* For SGI. */ |
3858 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3859 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3859 #endif | 3860 #endif |
3860 int main() { | 3861 int main() { |
3861 atoi(*tzname); | 3862 atoi(*tzname); |
3862 ; return 0; } | 3863 ; return 0; } |
3863 EOF | 3864 EOF |
3864 if { (eval echo configure:3865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3865 if { (eval echo configure:3866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3865 rm -rf conftest* | 3866 rm -rf conftest* |
3866 ac_cv_var_tzname=yes | 3867 ac_cv_var_tzname=yes |
3867 else | 3868 else |
3868 echo "configure: failed program was:" >&5 | 3869 echo "configure: failed program was:" >&5 |
3869 cat conftest.$ac_ext >&5 | 3870 cat conftest.$ac_ext >&5 |
3885 fi | 3886 fi |
3886 fi | 3887 fi |
3887 | 3888 |
3888 | 3889 |
3889 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3890 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3890 echo "configure:3891: checking for working const" >&5 | 3891 echo "configure:3892: checking for working const" >&5 |
3891 | 3892 |
3892 cat > conftest.$ac_ext <<EOF | 3893 cat > conftest.$ac_ext <<EOF |
3893 #line 3894 "configure" | 3894 #line 3895 "configure" |
3894 #include "confdefs.h" | 3895 #include "confdefs.h" |
3895 | 3896 |
3896 int main() { | 3897 int main() { |
3897 | 3898 |
3898 /* Ultrix mips cc rejects this. */ | 3899 /* Ultrix mips cc rejects this. */ |
3937 const int foo = 10; | 3938 const int foo = 10; |
3938 } | 3939 } |
3939 | 3940 |
3940 ; return 0; } | 3941 ; return 0; } |
3941 EOF | 3942 EOF |
3942 if { (eval echo configure:3943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3943 if { (eval echo configure:3944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3943 rm -rf conftest* | 3944 rm -rf conftest* |
3944 ac_cv_c_const=yes | 3945 ac_cv_c_const=yes |
3945 else | 3946 else |
3946 echo "configure: failed program was:" >&5 | 3947 echo "configure: failed program was:" >&5 |
3947 cat conftest.$ac_ext >&5 | 3948 cat conftest.$ac_ext >&5 |
3962 | 3963 |
3963 fi | 3964 fi |
3964 | 3965 |
3965 | 3966 |
3966 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3967 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3967 echo "configure:3968: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3968 echo "configure:3969: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3968 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3969 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3969 | 3970 |
3970 cat > conftestmake <<\EOF | 3971 cat > conftestmake <<\EOF |
3971 all: | 3972 all: |
3972 @echo 'ac_maketemp="${MAKE}"' | 3973 @echo 'ac_maketemp="${MAKE}"' |
3987 SET_MAKE="MAKE=${MAKE-make}" | 3988 SET_MAKE="MAKE=${MAKE-make}" |
3988 fi | 3989 fi |
3989 | 3990 |
3990 | 3991 |
3991 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3992 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3992 echo "configure:3993: checking whether byte ordering is bigendian" >&5 | 3993 echo "configure:3994: checking whether byte ordering is bigendian" >&5 |
3993 | 3994 |
3994 ac_cv_c_bigendian=unknown | 3995 ac_cv_c_bigendian=unknown |
3995 # See if sys/param.h defines the BYTE_ORDER macro. | 3996 # See if sys/param.h defines the BYTE_ORDER macro. |
3996 cat > conftest.$ac_ext <<EOF | 3997 cat > conftest.$ac_ext <<EOF |
3997 #line 3998 "configure" | 3998 #line 3999 "configure" |
3998 #include "confdefs.h" | 3999 #include "confdefs.h" |
3999 #include <sys/types.h> | 4000 #include <sys/types.h> |
4000 #include <sys/param.h> | 4001 #include <sys/param.h> |
4001 int main() { | 4002 int main() { |
4002 | 4003 |
4003 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4004 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4004 bogus endian macros | 4005 bogus endian macros |
4005 #endif | 4006 #endif |
4006 ; return 0; } | 4007 ; return 0; } |
4007 EOF | 4008 EOF |
4008 if { (eval echo configure:4009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4009 if { (eval echo configure:4010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4009 rm -rf conftest* | 4010 rm -rf conftest* |
4010 # It does; now see whether it defined to BIG_ENDIAN or not. | 4011 # It does; now see whether it defined to BIG_ENDIAN or not. |
4011 cat > conftest.$ac_ext <<EOF | 4012 cat > conftest.$ac_ext <<EOF |
4012 #line 4013 "configure" | 4013 #line 4014 "configure" |
4013 #include "confdefs.h" | 4014 #include "confdefs.h" |
4014 #include <sys/types.h> | 4015 #include <sys/types.h> |
4015 #include <sys/param.h> | 4016 #include <sys/param.h> |
4016 int main() { | 4017 int main() { |
4017 | 4018 |
4018 #if BYTE_ORDER != BIG_ENDIAN | 4019 #if BYTE_ORDER != BIG_ENDIAN |
4019 not big endian | 4020 not big endian |
4020 #endif | 4021 #endif |
4021 ; return 0; } | 4022 ; return 0; } |
4022 EOF | 4023 EOF |
4023 if { (eval echo configure:4024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4024 if { (eval echo configure:4025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4024 rm -rf conftest* | 4025 rm -rf conftest* |
4025 ac_cv_c_bigendian=yes | 4026 ac_cv_c_bigendian=yes |
4026 else | 4027 else |
4027 echo "configure: failed program was:" >&5 | 4028 echo "configure: failed program was:" >&5 |
4028 cat conftest.$ac_ext >&5 | 4029 cat conftest.$ac_ext >&5 |
4035 cat conftest.$ac_ext >&5 | 4036 cat conftest.$ac_ext >&5 |
4036 fi | 4037 fi |
4037 rm -f conftest* | 4038 rm -f conftest* |
4038 if test $ac_cv_c_bigendian = unknown; then | 4039 if test $ac_cv_c_bigendian = unknown; then |
4039 cat > conftest.$ac_ext <<EOF | 4040 cat > conftest.$ac_ext <<EOF |
4040 #line 4041 "configure" | 4041 #line 4042 "configure" |
4041 #include "confdefs.h" | 4042 #include "confdefs.h" |
4042 main () { | 4043 main () { |
4043 /* Are we little or big endian? From Harbison&Steele. */ | 4044 /* Are we little or big endian? From Harbison&Steele. */ |
4044 union | 4045 union |
4045 { | 4046 { |
4048 } u; | 4049 } u; |
4049 u.l = 1; | 4050 u.l = 1; |
4050 exit (u.c[sizeof (long) - 1] == 1); | 4051 exit (u.c[sizeof (long) - 1] == 1); |
4051 } | 4052 } |
4052 EOF | 4053 EOF |
4053 if { (eval echo configure:4054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4054 if { (eval echo configure:4055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4054 then | 4055 then |
4055 ac_cv_c_bigendian=no | 4056 ac_cv_c_bigendian=no |
4056 else | 4057 else |
4057 conftest_rc="$?" | 4058 conftest_rc="$?" |
4058 echo "configure: failed program was:" >&5 | 4059 echo "configure: failed program was:" >&5 |
4075 | 4076 |
4076 fi | 4077 fi |
4077 | 4078 |
4078 | 4079 |
4079 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4080 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4080 echo "configure:4081: checking size of short" >&5 | 4081 echo "configure:4082: checking size of short" >&5 |
4081 | 4082 |
4082 cat > conftest.$ac_ext <<EOF | 4083 cat > conftest.$ac_ext <<EOF |
4083 #line 4084 "configure" | 4084 #line 4085 "configure" |
4084 #include "confdefs.h" | 4085 #include "confdefs.h" |
4085 #include <stdio.h> | 4086 #include <stdio.h> |
4086 main() | 4087 main() |
4087 { | 4088 { |
4088 FILE *f=fopen("conftestval", "w"); | 4089 FILE *f=fopen("conftestval", "w"); |
4089 if (!f) exit(1); | 4090 if (!f) exit(1); |
4090 fprintf(f, "%d\n", sizeof(short)); | 4091 fprintf(f, "%d\n", sizeof(short)); |
4091 exit(0); | 4092 exit(0); |
4092 } | 4093 } |
4093 EOF | 4094 EOF |
4094 if { (eval echo configure:4095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4095 if { (eval echo configure:4096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4095 then | 4096 then |
4096 ac_cv_sizeof_short=`cat conftestval` | 4097 ac_cv_sizeof_short=`cat conftestval` |
4097 else | 4098 else |
4098 conftest_rc="$?" | 4099 conftest_rc="$?" |
4099 echo "configure: failed program was:" >&5 | 4100 echo "configure: failed program was:" >&5 |
4117 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4118 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4118 echo "*** PANIC *** Please examine config.log for compilation errors." | 4119 echo "*** PANIC *** Please examine config.log for compilation errors." |
4119 exit 1 | 4120 exit 1 |
4120 fi | 4121 fi |
4121 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4122 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4122 echo "configure:4123: checking size of int" >&5 | 4123 echo "configure:4124: checking size of int" >&5 |
4123 | 4124 |
4124 cat > conftest.$ac_ext <<EOF | 4125 cat > conftest.$ac_ext <<EOF |
4125 #line 4126 "configure" | 4126 #line 4127 "configure" |
4126 #include "confdefs.h" | 4127 #include "confdefs.h" |
4127 #include <stdio.h> | 4128 #include <stdio.h> |
4128 main() | 4129 main() |
4129 { | 4130 { |
4130 FILE *f=fopen("conftestval", "w"); | 4131 FILE *f=fopen("conftestval", "w"); |
4131 if (!f) exit(1); | 4132 if (!f) exit(1); |
4132 fprintf(f, "%d\n", sizeof(int)); | 4133 fprintf(f, "%d\n", sizeof(int)); |
4133 exit(0); | 4134 exit(0); |
4134 } | 4135 } |
4135 EOF | 4136 EOF |
4136 if { (eval echo configure:4137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4137 if { (eval echo configure:4138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4137 then | 4138 then |
4138 ac_cv_sizeof_int=`cat conftestval` | 4139 ac_cv_sizeof_int=`cat conftestval` |
4139 else | 4140 else |
4140 conftest_rc="$?" | 4141 conftest_rc="$?" |
4141 echo "configure: failed program was:" >&5 | 4142 echo "configure: failed program was:" >&5 |
4153 EOF | 4154 EOF |
4154 } | 4155 } |
4155 | 4156 |
4156 | 4157 |
4157 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4158 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4158 echo "configure:4159: checking size of long" >&5 | 4159 echo "configure:4160: checking size of long" >&5 |
4159 | 4160 |
4160 cat > conftest.$ac_ext <<EOF | 4161 cat > conftest.$ac_ext <<EOF |
4161 #line 4162 "configure" | 4162 #line 4163 "configure" |
4162 #include "confdefs.h" | 4163 #include "confdefs.h" |
4163 #include <stdio.h> | 4164 #include <stdio.h> |
4164 main() | 4165 main() |
4165 { | 4166 { |
4166 FILE *f=fopen("conftestval", "w"); | 4167 FILE *f=fopen("conftestval", "w"); |
4167 if (!f) exit(1); | 4168 if (!f) exit(1); |
4168 fprintf(f, "%d\n", sizeof(long)); | 4169 fprintf(f, "%d\n", sizeof(long)); |
4169 exit(0); | 4170 exit(0); |
4170 } | 4171 } |
4171 EOF | 4172 EOF |
4172 if { (eval echo configure:4173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4173 if { (eval echo configure:4174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4173 then | 4174 then |
4174 ac_cv_sizeof_long=`cat conftestval` | 4175 ac_cv_sizeof_long=`cat conftestval` |
4175 else | 4176 else |
4176 conftest_rc="$?" | 4177 conftest_rc="$?" |
4177 echo "configure: failed program was:" >&5 | 4178 echo "configure: failed program was:" >&5 |
4189 EOF | 4190 EOF |
4190 } | 4191 } |
4191 | 4192 |
4192 | 4193 |
4193 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4194 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4194 echo "configure:4195: checking size of long long" >&5 | 4195 echo "configure:4196: checking size of long long" >&5 |
4195 | 4196 |
4196 cat > conftest.$ac_ext <<EOF | 4197 cat > conftest.$ac_ext <<EOF |
4197 #line 4198 "configure" | 4198 #line 4199 "configure" |
4198 #include "confdefs.h" | 4199 #include "confdefs.h" |
4199 #include <stdio.h> | 4200 #include <stdio.h> |
4200 main() | 4201 main() |
4201 { | 4202 { |
4202 FILE *f=fopen("conftestval", "w"); | 4203 FILE *f=fopen("conftestval", "w"); |
4203 if (!f) exit(1); | 4204 if (!f) exit(1); |
4204 fprintf(f, "%d\n", sizeof(long long)); | 4205 fprintf(f, "%d\n", sizeof(long long)); |
4205 exit(0); | 4206 exit(0); |
4206 } | 4207 } |
4207 EOF | 4208 EOF |
4208 if { (eval echo configure:4209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4209 if { (eval echo configure:4210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4209 then | 4210 then |
4210 ac_cv_sizeof_long_long=`cat conftestval` | 4211 ac_cv_sizeof_long_long=`cat conftestval` |
4211 else | 4212 else |
4212 conftest_rc="$?" | 4213 conftest_rc="$?" |
4213 echo "configure: failed program was:" >&5 | 4214 echo "configure: failed program was:" >&5 |
4225 EOF | 4226 EOF |
4226 } | 4227 } |
4227 | 4228 |
4228 | 4229 |
4229 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4230 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4230 echo "configure:4231: checking size of void *" >&5 | 4231 echo "configure:4232: checking size of void *" >&5 |
4231 | 4232 |
4232 cat > conftest.$ac_ext <<EOF | 4233 cat > conftest.$ac_ext <<EOF |
4233 #line 4234 "configure" | 4234 #line 4235 "configure" |
4234 #include "confdefs.h" | 4235 #include "confdefs.h" |
4235 #include <stdio.h> | 4236 #include <stdio.h> |
4236 main() | 4237 main() |
4237 { | 4238 { |
4238 FILE *f=fopen("conftestval", "w"); | 4239 FILE *f=fopen("conftestval", "w"); |
4239 if (!f) exit(1); | 4240 if (!f) exit(1); |
4240 fprintf(f, "%d\n", sizeof(void *)); | 4241 fprintf(f, "%d\n", sizeof(void *)); |
4241 exit(0); | 4242 exit(0); |
4242 } | 4243 } |
4243 EOF | 4244 EOF |
4244 if { (eval echo configure:4245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4245 if { (eval echo configure:4246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4245 then | 4246 then |
4246 ac_cv_sizeof_void_p=`cat conftestval` | 4247 ac_cv_sizeof_void_p=`cat conftestval` |
4247 else | 4248 else |
4248 conftest_rc="$?" | 4249 conftest_rc="$?" |
4249 echo "configure: failed program was:" >&5 | 4250 echo "configure: failed program was:" >&5 |
4262 } | 4263 } |
4263 | 4264 |
4264 | 4265 |
4265 | 4266 |
4266 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4267 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4267 echo "configure:4268: checking for long file names" >&5 | 4268 echo "configure:4269: checking for long file names" >&5 |
4268 | 4269 |
4269 ac_cv_sys_long_file_names=yes | 4270 ac_cv_sys_long_file_names=yes |
4270 # Test for long file names in all the places we know might matter: | 4271 # Test for long file names in all the places we know might matter: |
4271 # . the current directory, where building will happen | 4272 # . the current directory, where building will happen |
4272 # $prefix/lib where we will be installing things | 4273 # $prefix/lib where we will be installing things |
4309 fi | 4310 fi |
4310 | 4311 |
4311 | 4312 |
4312 | 4313 |
4313 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4314 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4314 echo "configure:4315: checking for sin in -lm" >&5 | 4315 echo "configure:4316: checking for sin in -lm" >&5 |
4315 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4316 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4316 | 4317 |
4317 xe_check_libs=" -lm " | 4318 xe_check_libs=" -lm " |
4318 cat > conftest.$ac_ext <<EOF | 4319 cat > conftest.$ac_ext <<EOF |
4319 #line 4320 "configure" | 4320 #line 4321 "configure" |
4320 #include "confdefs.h" | 4321 #include "confdefs.h" |
4321 /* Override any gcc2 internal prototype to avoid an error. */ | 4322 /* Override any gcc2 internal prototype to avoid an error. */ |
4322 /* We use char because int might match the return type of a gcc2 | 4323 /* We use char because int might match the return type of a gcc2 |
4323 builtin and then its argument prototype would still apply. */ | 4324 builtin and then its argument prototype would still apply. */ |
4324 char sin(); | 4325 char sin(); |
4325 | 4326 |
4326 int main() { | 4327 int main() { |
4327 sin() | 4328 sin() |
4328 ; return 0; } | 4329 ; return 0; } |
4329 EOF | 4330 EOF |
4330 if { (eval echo configure:4331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4331 if { (eval echo configure:4332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4331 rm -rf conftest* | 4332 rm -rf conftest* |
4332 eval "ac_cv_lib_$ac_lib_var=yes" | 4333 eval "ac_cv_lib_$ac_lib_var=yes" |
4333 else | 4334 else |
4334 echo "configure: failed program was:" >&5 | 4335 echo "configure: failed program was:" >&5 |
4335 cat conftest.$ac_ext >&5 | 4336 cat conftest.$ac_ext >&5 |
4367 EOF | 4368 EOF |
4368 } | 4369 } |
4369 | 4370 |
4370 | 4371 |
4371 cat > conftest.$ac_ext <<EOF | 4372 cat > conftest.$ac_ext <<EOF |
4372 #line 4373 "configure" | 4373 #line 4374 "configure" |
4373 #include "confdefs.h" | 4374 #include "confdefs.h" |
4374 #include <math.h> | 4375 #include <math.h> |
4375 int main() { | 4376 int main() { |
4376 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4377 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4377 ; return 0; } | 4378 ; return 0; } |
4378 EOF | 4379 EOF |
4379 if { (eval echo configure:4380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4380 if { (eval echo configure:4381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4380 rm -rf conftest* | 4381 rm -rf conftest* |
4381 { test "$extra_verbose" = "yes" && cat << \EOF | 4382 { test "$extra_verbose" = "yes" && cat << \EOF |
4382 Defining HAVE_INVERSE_HYPERBOLIC | 4383 Defining HAVE_INVERSE_HYPERBOLIC |
4383 EOF | 4384 EOF |
4384 cat >> confdefs.h <<\EOF | 4385 cat >> confdefs.h <<\EOF |
4391 cat conftest.$ac_ext >&5 | 4392 cat conftest.$ac_ext >&5 |
4392 fi | 4393 fi |
4393 rm -f conftest* | 4394 rm -f conftest* |
4394 | 4395 |
4395 echo "checking type of mail spool file locking" 1>&6 | 4396 echo "checking type of mail spool file locking" 1>&6 |
4396 echo "configure:4397: checking type of mail spool file locking" >&5 | 4397 echo "configure:4398: checking type of mail spool file locking" >&5 |
4397 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4398 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
4398 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4399 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
4399 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4400 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
4400 Defining REAL_MAIL_USE_LOCKF | 4401 Defining REAL_MAIL_USE_LOCKF |
4401 EOF | 4402 EOF |
4415 else mail_locking="dot-locking" | 4416 else mail_locking="dot-locking" |
4416 fi | 4417 fi |
4417 | 4418 |
4418 | 4419 |
4419 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 4420 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
4420 echo "configure:4421: checking for kstat_open in -lkstat" >&5 | 4421 echo "configure:4422: checking for kstat_open in -lkstat" >&5 |
4421 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 4422 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
4422 | 4423 |
4423 xe_check_libs=" -lkstat " | 4424 xe_check_libs=" -lkstat " |
4424 cat > conftest.$ac_ext <<EOF | 4425 cat > conftest.$ac_ext <<EOF |
4425 #line 4426 "configure" | 4426 #line 4427 "configure" |
4426 #include "confdefs.h" | 4427 #include "confdefs.h" |
4427 /* Override any gcc2 internal prototype to avoid an error. */ | 4428 /* Override any gcc2 internal prototype to avoid an error. */ |
4428 /* We use char because int might match the return type of a gcc2 | 4429 /* We use char because int might match the return type of a gcc2 |
4429 builtin and then its argument prototype would still apply. */ | 4430 builtin and then its argument prototype would still apply. */ |
4430 char kstat_open(); | 4431 char kstat_open(); |
4431 | 4432 |
4432 int main() { | 4433 int main() { |
4433 kstat_open() | 4434 kstat_open() |
4434 ; return 0; } | 4435 ; return 0; } |
4435 EOF | 4436 EOF |
4436 if { (eval echo configure:4437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4437 if { (eval echo configure:4438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4437 rm -rf conftest* | 4438 rm -rf conftest* |
4438 eval "ac_cv_lib_$ac_lib_var=yes" | 4439 eval "ac_cv_lib_$ac_lib_var=yes" |
4439 else | 4440 else |
4440 echo "configure: failed program was:" >&5 | 4441 echo "configure: failed program was:" >&5 |
4441 cat conftest.$ac_ext >&5 | 4442 cat conftest.$ac_ext >&5 |
4465 | 4466 |
4466 | 4467 |
4467 | 4468 |
4468 | 4469 |
4469 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4470 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
4470 echo "configure:4471: checking for kvm_read in -lkvm" >&5 | 4471 echo "configure:4472: checking for kvm_read in -lkvm" >&5 |
4471 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4472 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
4472 | 4473 |
4473 xe_check_libs=" -lkvm " | 4474 xe_check_libs=" -lkvm " |
4474 cat > conftest.$ac_ext <<EOF | 4475 cat > conftest.$ac_ext <<EOF |
4475 #line 4476 "configure" | 4476 #line 4477 "configure" |
4476 #include "confdefs.h" | 4477 #include "confdefs.h" |
4477 /* Override any gcc2 internal prototype to avoid an error. */ | 4478 /* Override any gcc2 internal prototype to avoid an error. */ |
4478 /* We use char because int might match the return type of a gcc2 | 4479 /* We use char because int might match the return type of a gcc2 |
4479 builtin and then its argument prototype would still apply. */ | 4480 builtin and then its argument prototype would still apply. */ |
4480 char kvm_read(); | 4481 char kvm_read(); |
4481 | 4482 |
4482 int main() { | 4483 int main() { |
4483 kvm_read() | 4484 kvm_read() |
4484 ; return 0; } | 4485 ; return 0; } |
4485 EOF | 4486 EOF |
4486 if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4487 if { (eval echo configure:4488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4487 rm -rf conftest* | 4488 rm -rf conftest* |
4488 eval "ac_cv_lib_$ac_lib_var=yes" | 4489 eval "ac_cv_lib_$ac_lib_var=yes" |
4489 else | 4490 else |
4490 echo "configure: failed program was:" >&5 | 4491 echo "configure: failed program was:" >&5 |
4491 cat conftest.$ac_ext >&5 | 4492 cat conftest.$ac_ext >&5 |
4516 | 4517 |
4517 | 4518 |
4518 case "$opsys" in decosf*) | 4519 case "$opsys" in decosf*) |
4519 | 4520 |
4520 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4521 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4521 echo "configure:4522: checking for cma_open in -lpthreads" >&5 | 4522 echo "configure:4523: checking for cma_open in -lpthreads" >&5 |
4522 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4523 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4523 | 4524 |
4524 xe_check_libs=" -lpthreads " | 4525 xe_check_libs=" -lpthreads " |
4525 cat > conftest.$ac_ext <<EOF | 4526 cat > conftest.$ac_ext <<EOF |
4526 #line 4527 "configure" | 4527 #line 4528 "configure" |
4527 #include "confdefs.h" | 4528 #include "confdefs.h" |
4528 /* Override any gcc2 internal prototype to avoid an error. */ | 4529 /* Override any gcc2 internal prototype to avoid an error. */ |
4529 /* We use char because int might match the return type of a gcc2 | 4530 /* We use char because int might match the return type of a gcc2 |
4530 builtin and then its argument prototype would still apply. */ | 4531 builtin and then its argument prototype would still apply. */ |
4531 char cma_open(); | 4532 char cma_open(); |
4532 | 4533 |
4533 int main() { | 4534 int main() { |
4534 cma_open() | 4535 cma_open() |
4535 ; return 0; } | 4536 ; return 0; } |
4536 EOF | 4537 EOF |
4537 if { (eval echo configure:4538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4538 if { (eval echo configure:4539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4538 rm -rf conftest* | 4539 rm -rf conftest* |
4539 eval "ac_cv_lib_$ac_lib_var=yes" | 4540 eval "ac_cv_lib_$ac_lib_var=yes" |
4540 else | 4541 else |
4541 echo "configure: failed program was:" >&5 | 4542 echo "configure: failed program was:" >&5 |
4542 cat conftest.$ac_ext >&5 | 4543 cat conftest.$ac_ext >&5 |
4568 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4569 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4569 c_switch_site="$c_switch_site -threads" ;; | 4570 c_switch_site="$c_switch_site -threads" ;; |
4570 esac | 4571 esac |
4571 | 4572 |
4572 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4573 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4573 echo "configure:4574: checking whether the -xildoff compiler flag is required" >&5 | 4574 echo "configure:4575: checking whether the -xildoff compiler flag is required" >&5 |
4574 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4575 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4575 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4576 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4576 then echo "$ac_t""no" 1>&6; | 4577 then echo "$ac_t""no" 1>&6; |
4577 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 | 4578 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 |
4578 fi | 4579 fi |
4579 else echo "$ac_t""no" 1>&6 | 4580 else echo "$ac_t""no" 1>&6 |
4580 fi | 4581 fi |
4581 | 4582 |
4582 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4583 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4583 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4584 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4584 echo "configure:4585: checking for \"-z ignore\" linker flag" >&5 | 4585 echo "configure:4586: checking for \"-z ignore\" linker flag" >&5 |
4585 case "`ld -h 2>&1`" in | 4586 case "`ld -h 2>&1`" in |
4586 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4587 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4587 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4588 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4588 *) echo "$ac_t""no" 1>&6 ;; | 4589 *) echo "$ac_t""no" 1>&6 ;; |
4589 esac | 4590 esac |
4590 fi | 4591 fi |
4591 | 4592 |
4592 | 4593 |
4593 echo "checking "for specified window system"" 1>&6 | 4594 echo "checking "for specified window system"" 1>&6 |
4594 echo "configure:4595: checking "for specified window system"" >&5 | 4595 echo "configure:4596: checking "for specified window system"" >&5 |
4595 | 4596 |
4596 if test "$with_x11" != "no"; then | 4597 if test "$with_x11" != "no"; then |
4597 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4598 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4598 window_system=x11 with_x11=yes | 4599 window_system=x11 with_x11=yes |
4599 | 4600 |
4622 # If we find X, set shell vars x_includes and x_libraries to the | 4623 # If we find X, set shell vars x_includes and x_libraries to the |
4623 # paths, otherwise set no_x=yes. | 4624 # paths, otherwise set no_x=yes. |
4624 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4625 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4625 # --without-x overrides everything else, but does not touch the cache. | 4626 # --without-x overrides everything else, but does not touch the cache. |
4626 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4627 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4627 echo "configure:4628: checking for X" >&5 | 4628 echo "configure:4629: checking for X" >&5 |
4628 | 4629 |
4629 # Check whether --with-x or --without-x was given. | 4630 # Check whether --with-x or --without-x was given. |
4630 if test "${with_x+set}" = set; then | 4631 if test "${with_x+set}" = set; then |
4631 withval="$with_x" | 4632 withval="$with_x" |
4632 : | 4633 : |
4682 # Guess where to find include files, by looking for this one X11 .h file. | 4683 # Guess where to find include files, by looking for this one X11 .h file. |
4683 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4684 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4684 | 4685 |
4685 # First, try using that file with no special directory specified. | 4686 # First, try using that file with no special directory specified. |
4686 cat > conftest.$ac_ext <<EOF | 4687 cat > conftest.$ac_ext <<EOF |
4687 #line 4688 "configure" | 4688 #line 4689 "configure" |
4688 #include "confdefs.h" | 4689 #include "confdefs.h" |
4689 #include <$x_direct_test_include> | 4690 #include <$x_direct_test_include> |
4690 EOF | 4691 EOF |
4691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4692 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4692 { (eval echo configure:4693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4693 { (eval echo configure:4694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4694 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4694 if test -z "$ac_err"; then | 4695 if test -z "$ac_err"; then |
4695 rm -rf conftest* | 4696 rm -rf conftest* |
4696 # We can compile using X headers with no special include directory. | 4697 # We can compile using X headers with no special include directory. |
4697 ac_x_includes= | 4698 ac_x_includes= |
4756 # See if we find them without any special options. | 4757 # See if we find them without any special options. |
4757 # Don't add to $LIBS permanently. | 4758 # Don't add to $LIBS permanently. |
4758 ac_save_LIBS="$LIBS" | 4759 ac_save_LIBS="$LIBS" |
4759 LIBS="-l$x_direct_test_library $LIBS" | 4760 LIBS="-l$x_direct_test_library $LIBS" |
4760 cat > conftest.$ac_ext <<EOF | 4761 cat > conftest.$ac_ext <<EOF |
4761 #line 4762 "configure" | 4762 #line 4763 "configure" |
4762 #include "confdefs.h" | 4763 #include "confdefs.h" |
4763 | 4764 |
4764 int main() { | 4765 int main() { |
4765 ${x_direct_test_function}() | 4766 ${x_direct_test_function}() |
4766 ; return 0; } | 4767 ; return 0; } |
4767 EOF | 4768 EOF |
4768 if { (eval echo configure:4769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4769 if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4769 rm -rf conftest* | 4770 rm -rf conftest* |
4770 LIBS="$ac_save_LIBS" | 4771 LIBS="$ac_save_LIBS" |
4771 # We can link X programs with no special library path. | 4772 # We can link X programs with no special library path. |
4772 ac_x_libraries= | 4773 ac_x_libraries= |
4773 else | 4774 else |
4872 # For Solaris; some versions of Sun CC require a space after -R and | 4873 # For Solaris; some versions of Sun CC require a space after -R and |
4873 # others require no space. Words are not sufficient . . . . | 4874 # others require no space. Words are not sufficient . . . . |
4874 case "`(uname -sr) 2>/dev/null`" in | 4875 case "`(uname -sr) 2>/dev/null`" in |
4875 "SunOS 5"*) | 4876 "SunOS 5"*) |
4876 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4877 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4877 echo "configure:4878: checking whether -R must be followed by a space" >&5 | 4878 echo "configure:4879: checking whether -R must be followed by a space" >&5 |
4878 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4879 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4879 cat > conftest.$ac_ext <<EOF | 4880 cat > conftest.$ac_ext <<EOF |
4880 #line 4881 "configure" | 4881 #line 4882 "configure" |
4881 #include "confdefs.h" | 4882 #include "confdefs.h" |
4882 | 4883 |
4883 int main() { | 4884 int main() { |
4884 | 4885 |
4885 ; return 0; } | 4886 ; return 0; } |
4886 EOF | 4887 EOF |
4887 if { (eval echo configure:4888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4888 if { (eval echo configure:4889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4888 rm -rf conftest* | 4889 rm -rf conftest* |
4889 ac_R_nospace=yes | 4890 ac_R_nospace=yes |
4890 else | 4891 else |
4891 echo "configure: failed program was:" >&5 | 4892 echo "configure: failed program was:" >&5 |
4892 cat conftest.$ac_ext >&5 | 4893 cat conftest.$ac_ext >&5 |
4898 echo "$ac_t""no" 1>&6 | 4899 echo "$ac_t""no" 1>&6 |
4899 X_LIBS="$X_LIBS -R$x_libraries" | 4900 X_LIBS="$X_LIBS -R$x_libraries" |
4900 else | 4901 else |
4901 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4902 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4902 cat > conftest.$ac_ext <<EOF | 4903 cat > conftest.$ac_ext <<EOF |
4903 #line 4904 "configure" | 4904 #line 4905 "configure" |
4904 #include "confdefs.h" | 4905 #include "confdefs.h" |
4905 | 4906 |
4906 int main() { | 4907 int main() { |
4907 | 4908 |
4908 ; return 0; } | 4909 ; return 0; } |
4909 EOF | 4910 EOF |
4910 if { (eval echo configure:4911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4911 if { (eval echo configure:4912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4911 rm -rf conftest* | 4912 rm -rf conftest* |
4912 ac_R_space=yes | 4913 ac_R_space=yes |
4913 else | 4914 else |
4914 echo "configure: failed program was:" >&5 | 4915 echo "configure: failed program was:" >&5 |
4915 cat conftest.$ac_ext >&5 | 4916 cat conftest.$ac_ext >&5 |
4941 if test "$with_dnet" = "no" ; then | 4942 if test "$with_dnet" = "no" ; then |
4942 ac_cv_lib_dnet_dnet_ntoa=no | 4943 ac_cv_lib_dnet_dnet_ntoa=no |
4943 else | 4944 else |
4944 | 4945 |
4945 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4946 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4946 echo "configure:4947: checking for dnet_ntoa in -ldnet" >&5 | 4947 echo "configure:4948: checking for dnet_ntoa in -ldnet" >&5 |
4947 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4948 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4948 | 4949 |
4949 xe_check_libs=" -ldnet " | 4950 xe_check_libs=" -ldnet " |
4950 cat > conftest.$ac_ext <<EOF | 4951 cat > conftest.$ac_ext <<EOF |
4951 #line 4952 "configure" | 4952 #line 4953 "configure" |
4952 #include "confdefs.h" | 4953 #include "confdefs.h" |
4953 /* Override any gcc2 internal prototype to avoid an error. */ | 4954 /* Override any gcc2 internal prototype to avoid an error. */ |
4954 /* We use char because int might match the return type of a gcc2 | 4955 /* We use char because int might match the return type of a gcc2 |
4955 builtin and then its argument prototype would still apply. */ | 4956 builtin and then its argument prototype would still apply. */ |
4956 char dnet_ntoa(); | 4957 char dnet_ntoa(); |
4957 | 4958 |
4958 int main() { | 4959 int main() { |
4959 dnet_ntoa() | 4960 dnet_ntoa() |
4960 ; return 0; } | 4961 ; return 0; } |
4961 EOF | 4962 EOF |
4962 if { (eval echo configure:4963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4963 if { (eval echo configure:4964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4963 rm -rf conftest* | 4964 rm -rf conftest* |
4964 eval "ac_cv_lib_$ac_lib_var=yes" | 4965 eval "ac_cv_lib_$ac_lib_var=yes" |
4965 else | 4966 else |
4966 echo "configure: failed program was:" >&5 | 4967 echo "configure: failed program was:" >&5 |
4967 cat conftest.$ac_ext >&5 | 4968 cat conftest.$ac_ext >&5 |
4981 fi | 4982 fi |
4982 | 4983 |
4983 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4984 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4984 | 4985 |
4985 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4986 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4986 echo "configure:4987: checking for dnet_ntoa in -ldnet_stub" >&5 | 4987 echo "configure:4988: checking for dnet_ntoa in -ldnet_stub" >&5 |
4987 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4988 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4988 | 4989 |
4989 xe_check_libs=" -ldnet_stub " | 4990 xe_check_libs=" -ldnet_stub " |
4990 cat > conftest.$ac_ext <<EOF | 4991 cat > conftest.$ac_ext <<EOF |
4991 #line 4992 "configure" | 4992 #line 4993 "configure" |
4992 #include "confdefs.h" | 4993 #include "confdefs.h" |
4993 /* Override any gcc2 internal prototype to avoid an error. */ | 4994 /* Override any gcc2 internal prototype to avoid an error. */ |
4994 /* We use char because int might match the return type of a gcc2 | 4995 /* We use char because int might match the return type of a gcc2 |
4995 builtin and then its argument prototype would still apply. */ | 4996 builtin and then its argument prototype would still apply. */ |
4996 char dnet_ntoa(); | 4997 char dnet_ntoa(); |
4997 | 4998 |
4998 int main() { | 4999 int main() { |
4999 dnet_ntoa() | 5000 dnet_ntoa() |
5000 ; return 0; } | 5001 ; return 0; } |
5001 EOF | 5002 EOF |
5002 if { (eval echo configure:5003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5003 if { (eval echo configure:5004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5003 rm -rf conftest* | 5004 rm -rf conftest* |
5004 eval "ac_cv_lib_$ac_lib_var=yes" | 5005 eval "ac_cv_lib_$ac_lib_var=yes" |
5005 else | 5006 else |
5006 echo "configure: failed program was:" >&5 | 5007 echo "configure: failed program was:" >&5 |
5007 cat conftest.$ac_ext >&5 | 5008 cat conftest.$ac_ext >&5 |
5026 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5027 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5027 # needs -lnsl. | 5028 # needs -lnsl. |
5028 # The nsl library prevents programs from opening the X display | 5029 # The nsl library prevents programs from opening the X display |
5029 # on Irix 5.2, according to dickey@clark.net. | 5030 # on Irix 5.2, according to dickey@clark.net. |
5030 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5031 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5031 echo "configure:5032: checking for gethostbyname" >&5 | 5032 echo "configure:5033: checking for gethostbyname" >&5 |
5032 | 5033 |
5033 cat > conftest.$ac_ext <<EOF | 5034 cat > conftest.$ac_ext <<EOF |
5034 #line 5035 "configure" | 5035 #line 5036 "configure" |
5035 #include "confdefs.h" | 5036 #include "confdefs.h" |
5036 /* System header to define __stub macros and hopefully few prototypes, | 5037 /* System header to define __stub macros and hopefully few prototypes, |
5037 which can conflict with char gethostbyname(); below. */ | 5038 which can conflict with char gethostbyname(); below. */ |
5038 #include <assert.h> | 5039 #include <assert.h> |
5039 /* Override any gcc2 internal prototype to avoid an error. */ | 5040 /* Override any gcc2 internal prototype to avoid an error. */ |
5052 gethostbyname(); | 5053 gethostbyname(); |
5053 #endif | 5054 #endif |
5054 | 5055 |
5055 ; return 0; } | 5056 ; return 0; } |
5056 EOF | 5057 EOF |
5057 if { (eval echo configure:5058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5058 if { (eval echo configure:5059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5058 rm -rf conftest* | 5059 rm -rf conftest* |
5059 eval "ac_cv_func_gethostbyname=yes" | 5060 eval "ac_cv_func_gethostbyname=yes" |
5060 else | 5061 else |
5061 echo "configure: failed program was:" >&5 | 5062 echo "configure: failed program was:" >&5 |
5062 cat conftest.$ac_ext >&5 | 5063 cat conftest.$ac_ext >&5 |
5073 fi | 5074 fi |
5074 | 5075 |
5075 if test $ac_cv_func_gethostbyname = no; then | 5076 if test $ac_cv_func_gethostbyname = no; then |
5076 | 5077 |
5077 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5078 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5078 echo "configure:5079: checking for gethostbyname in -lnsl" >&5 | 5079 echo "configure:5080: checking for gethostbyname in -lnsl" >&5 |
5079 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5080 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5080 | 5081 |
5081 xe_check_libs=" -lnsl " | 5082 xe_check_libs=" -lnsl " |
5082 cat > conftest.$ac_ext <<EOF | 5083 cat > conftest.$ac_ext <<EOF |
5083 #line 5084 "configure" | 5084 #line 5085 "configure" |
5084 #include "confdefs.h" | 5085 #include "confdefs.h" |
5085 /* Override any gcc2 internal prototype to avoid an error. */ | 5086 /* Override any gcc2 internal prototype to avoid an error. */ |
5086 /* We use char because int might match the return type of a gcc2 | 5087 /* We use char because int might match the return type of a gcc2 |
5087 builtin and then its argument prototype would still apply. */ | 5088 builtin and then its argument prototype would still apply. */ |
5088 char gethostbyname(); | 5089 char gethostbyname(); |
5089 | 5090 |
5090 int main() { | 5091 int main() { |
5091 gethostbyname() | 5092 gethostbyname() |
5092 ; return 0; } | 5093 ; return 0; } |
5093 EOF | 5094 EOF |
5094 if { (eval echo configure:5095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5095 if { (eval echo configure:5096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5095 rm -rf conftest* | 5096 rm -rf conftest* |
5096 eval "ac_cv_lib_$ac_lib_var=yes" | 5097 eval "ac_cv_lib_$ac_lib_var=yes" |
5097 else | 5098 else |
5098 echo "configure: failed program was:" >&5 | 5099 echo "configure: failed program was:" >&5 |
5099 cat conftest.$ac_ext >&5 | 5100 cat conftest.$ac_ext >&5 |
5119 # on later versions), says simon@lia.di.epfl.ch: it contains | 5120 # on later versions), says simon@lia.di.epfl.ch: it contains |
5120 # gethostby* variants that don't use the nameserver (or something). | 5121 # gethostby* variants that don't use the nameserver (or something). |
5121 # -lsocket must be given before -lnsl if both are needed. | 5122 # -lsocket must be given before -lnsl if both are needed. |
5122 # We assume that if connect needs -lnsl, so does gethostbyname. | 5123 # We assume that if connect needs -lnsl, so does gethostbyname. |
5123 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5124 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5124 echo "configure:5125: checking for connect" >&5 | 5125 echo "configure:5126: checking for connect" >&5 |
5125 | 5126 |
5126 cat > conftest.$ac_ext <<EOF | 5127 cat > conftest.$ac_ext <<EOF |
5127 #line 5128 "configure" | 5128 #line 5129 "configure" |
5128 #include "confdefs.h" | 5129 #include "confdefs.h" |
5129 /* System header to define __stub macros and hopefully few prototypes, | 5130 /* System header to define __stub macros and hopefully few prototypes, |
5130 which can conflict with char connect(); below. */ | 5131 which can conflict with char connect(); below. */ |
5131 #include <assert.h> | 5132 #include <assert.h> |
5132 /* Override any gcc2 internal prototype to avoid an error. */ | 5133 /* Override any gcc2 internal prototype to avoid an error. */ |
5145 connect(); | 5146 connect(); |
5146 #endif | 5147 #endif |
5147 | 5148 |
5148 ; return 0; } | 5149 ; return 0; } |
5149 EOF | 5150 EOF |
5150 if { (eval echo configure:5151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5151 if { (eval echo configure:5152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5151 rm -rf conftest* | 5152 rm -rf conftest* |
5152 eval "ac_cv_func_connect=yes" | 5153 eval "ac_cv_func_connect=yes" |
5153 else | 5154 else |
5154 echo "configure: failed program was:" >&5 | 5155 echo "configure: failed program was:" >&5 |
5155 cat conftest.$ac_ext >&5 | 5156 cat conftest.$ac_ext >&5 |
5168 if test $ac_cv_func_connect = no; then | 5169 if test $ac_cv_func_connect = no; then |
5169 | 5170 |
5170 xe_msg_checking="for connect in -lsocket" | 5171 xe_msg_checking="for connect in -lsocket" |
5171 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5172 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5172 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5173 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5173 echo "configure:5174: checking "$xe_msg_checking"" >&5 | 5174 echo "configure:5175: checking "$xe_msg_checking"" >&5 |
5174 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5175 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
5175 | 5176 |
5176 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5177 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
5177 cat > conftest.$ac_ext <<EOF | 5178 cat > conftest.$ac_ext <<EOF |
5178 #line 5179 "configure" | 5179 #line 5180 "configure" |
5179 #include "confdefs.h" | 5180 #include "confdefs.h" |
5180 /* Override any gcc2 internal prototype to avoid an error. */ | 5181 /* Override any gcc2 internal prototype to avoid an error. */ |
5181 /* We use char because int might match the return type of a gcc2 | 5182 /* We use char because int might match the return type of a gcc2 |
5182 builtin and then its argument prototype would still apply. */ | 5183 builtin and then its argument prototype would still apply. */ |
5183 char connect(); | 5184 char connect(); |
5184 | 5185 |
5185 int main() { | 5186 int main() { |
5186 connect() | 5187 connect() |
5187 ; return 0; } | 5188 ; return 0; } |
5188 EOF | 5189 EOF |
5189 if { (eval echo configure:5190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5190 if { (eval echo configure:5191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5190 rm -rf conftest* | 5191 rm -rf conftest* |
5191 eval "ac_cv_lib_$ac_lib_var=yes" | 5192 eval "ac_cv_lib_$ac_lib_var=yes" |
5192 else | 5193 else |
5193 echo "configure: failed program was:" >&5 | 5194 echo "configure: failed program was:" >&5 |
5194 cat conftest.$ac_ext >&5 | 5195 cat conftest.$ac_ext >&5 |
5208 | 5209 |
5209 fi | 5210 fi |
5210 | 5211 |
5211 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5212 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
5212 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5213 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
5213 echo "configure:5214: checking for remove" >&5 | 5214 echo "configure:5215: checking for remove" >&5 |
5214 | 5215 |
5215 cat > conftest.$ac_ext <<EOF | 5216 cat > conftest.$ac_ext <<EOF |
5216 #line 5217 "configure" | 5217 #line 5218 "configure" |
5217 #include "confdefs.h" | 5218 #include "confdefs.h" |
5218 /* System header to define __stub macros and hopefully few prototypes, | 5219 /* System header to define __stub macros and hopefully few prototypes, |
5219 which can conflict with char remove(); below. */ | 5220 which can conflict with char remove(); below. */ |
5220 #include <assert.h> | 5221 #include <assert.h> |
5221 /* Override any gcc2 internal prototype to avoid an error. */ | 5222 /* Override any gcc2 internal prototype to avoid an error. */ |
5234 remove(); | 5235 remove(); |
5235 #endif | 5236 #endif |
5236 | 5237 |
5237 ; return 0; } | 5238 ; return 0; } |
5238 EOF | 5239 EOF |
5239 if { (eval echo configure:5240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5240 if { (eval echo configure:5241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5240 rm -rf conftest* | 5241 rm -rf conftest* |
5241 eval "ac_cv_func_remove=yes" | 5242 eval "ac_cv_func_remove=yes" |
5242 else | 5243 else |
5243 echo "configure: failed program was:" >&5 | 5244 echo "configure: failed program was:" >&5 |
5244 cat conftest.$ac_ext >&5 | 5245 cat conftest.$ac_ext >&5 |
5255 fi | 5256 fi |
5256 | 5257 |
5257 if test $ac_cv_func_remove = no; then | 5258 if test $ac_cv_func_remove = no; then |
5258 | 5259 |
5259 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5260 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
5260 echo "configure:5261: checking for remove in -lposix" >&5 | 5261 echo "configure:5262: checking for remove in -lposix" >&5 |
5261 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5262 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
5262 | 5263 |
5263 xe_check_libs=" -lposix " | 5264 xe_check_libs=" -lposix " |
5264 cat > conftest.$ac_ext <<EOF | 5265 cat > conftest.$ac_ext <<EOF |
5265 #line 5266 "configure" | 5266 #line 5267 "configure" |
5266 #include "confdefs.h" | 5267 #include "confdefs.h" |
5267 /* Override any gcc2 internal prototype to avoid an error. */ | 5268 /* Override any gcc2 internal prototype to avoid an error. */ |
5268 /* We use char because int might match the return type of a gcc2 | 5269 /* We use char because int might match the return type of a gcc2 |
5269 builtin and then its argument prototype would still apply. */ | 5270 builtin and then its argument prototype would still apply. */ |
5270 char remove(); | 5271 char remove(); |
5271 | 5272 |
5272 int main() { | 5273 int main() { |
5273 remove() | 5274 remove() |
5274 ; return 0; } | 5275 ; return 0; } |
5275 EOF | 5276 EOF |
5276 if { (eval echo configure:5277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5277 if { (eval echo configure:5278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5277 rm -rf conftest* | 5278 rm -rf conftest* |
5278 eval "ac_cv_lib_$ac_lib_var=yes" | 5279 eval "ac_cv_lib_$ac_lib_var=yes" |
5279 else | 5280 else |
5280 echo "configure: failed program was:" >&5 | 5281 echo "configure: failed program was:" >&5 |
5281 cat conftest.$ac_ext >&5 | 5282 cat conftest.$ac_ext >&5 |
5295 | 5296 |
5296 fi | 5297 fi |
5297 | 5298 |
5298 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5299 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5299 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5300 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5300 echo "configure:5301: checking for shmat" >&5 | 5301 echo "configure:5302: checking for shmat" >&5 |
5301 | 5302 |
5302 cat > conftest.$ac_ext <<EOF | 5303 cat > conftest.$ac_ext <<EOF |
5303 #line 5304 "configure" | 5304 #line 5305 "configure" |
5304 #include "confdefs.h" | 5305 #include "confdefs.h" |
5305 /* System header to define __stub macros and hopefully few prototypes, | 5306 /* System header to define __stub macros and hopefully few prototypes, |
5306 which can conflict with char shmat(); below. */ | 5307 which can conflict with char shmat(); below. */ |
5307 #include <assert.h> | 5308 #include <assert.h> |
5308 /* Override any gcc2 internal prototype to avoid an error. */ | 5309 /* Override any gcc2 internal prototype to avoid an error. */ |
5321 shmat(); | 5322 shmat(); |
5322 #endif | 5323 #endif |
5323 | 5324 |
5324 ; return 0; } | 5325 ; return 0; } |
5325 EOF | 5326 EOF |
5326 if { (eval echo configure:5327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5327 if { (eval echo configure:5328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5327 rm -rf conftest* | 5328 rm -rf conftest* |
5328 eval "ac_cv_func_shmat=yes" | 5329 eval "ac_cv_func_shmat=yes" |
5329 else | 5330 else |
5330 echo "configure: failed program was:" >&5 | 5331 echo "configure: failed program was:" >&5 |
5331 cat conftest.$ac_ext >&5 | 5332 cat conftest.$ac_ext >&5 |
5342 fi | 5343 fi |
5343 | 5344 |
5344 if test $ac_cv_func_shmat = no; then | 5345 if test $ac_cv_func_shmat = no; then |
5345 | 5346 |
5346 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5347 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5347 echo "configure:5348: checking for shmat in -lipc" >&5 | 5348 echo "configure:5349: checking for shmat in -lipc" >&5 |
5348 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5349 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5349 | 5350 |
5350 xe_check_libs=" -lipc " | 5351 xe_check_libs=" -lipc " |
5351 cat > conftest.$ac_ext <<EOF | 5352 cat > conftest.$ac_ext <<EOF |
5352 #line 5353 "configure" | 5353 #line 5354 "configure" |
5353 #include "confdefs.h" | 5354 #include "confdefs.h" |
5354 /* Override any gcc2 internal prototype to avoid an error. */ | 5355 /* Override any gcc2 internal prototype to avoid an error. */ |
5355 /* We use char because int might match the return type of a gcc2 | 5356 /* We use char because int might match the return type of a gcc2 |
5356 builtin and then its argument prototype would still apply. */ | 5357 builtin and then its argument prototype would still apply. */ |
5357 char shmat(); | 5358 char shmat(); |
5358 | 5359 |
5359 int main() { | 5360 int main() { |
5360 shmat() | 5361 shmat() |
5361 ; return 0; } | 5362 ; return 0; } |
5362 EOF | 5363 EOF |
5363 if { (eval echo configure:5364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5364 if { (eval echo configure:5365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5364 rm -rf conftest* | 5365 rm -rf conftest* |
5365 eval "ac_cv_lib_$ac_lib_var=yes" | 5366 eval "ac_cv_lib_$ac_lib_var=yes" |
5366 else | 5367 else |
5367 echo "configure: failed program was:" >&5 | 5368 echo "configure: failed program was:" >&5 |
5368 cat conftest.$ac_ext >&5 | 5369 cat conftest.$ac_ext >&5 |
5394 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5395 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5395 | 5396 |
5396 xe_msg_checking="for IceConnectionNumber in -lICE" | 5397 xe_msg_checking="for IceConnectionNumber in -lICE" |
5397 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5398 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5398 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5399 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5399 echo "configure:5400: checking "$xe_msg_checking"" >&5 | 5400 echo "configure:5401: checking "$xe_msg_checking"" >&5 |
5400 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5401 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5401 | 5402 |
5402 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 5403 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
5403 cat > conftest.$ac_ext <<EOF | 5404 cat > conftest.$ac_ext <<EOF |
5404 #line 5405 "configure" | 5405 #line 5406 "configure" |
5405 #include "confdefs.h" | 5406 #include "confdefs.h" |
5406 /* Override any gcc2 internal prototype to avoid an error. */ | 5407 /* Override any gcc2 internal prototype to avoid an error. */ |
5407 /* We use char because int might match the return type of a gcc2 | 5408 /* We use char because int might match the return type of a gcc2 |
5408 builtin and then its argument prototype would still apply. */ | 5409 builtin and then its argument prototype would still apply. */ |
5409 char IceConnectionNumber(); | 5410 char IceConnectionNumber(); |
5410 | 5411 |
5411 int main() { | 5412 int main() { |
5412 IceConnectionNumber() | 5413 IceConnectionNumber() |
5413 ; return 0; } | 5414 ; return 0; } |
5414 EOF | 5415 EOF |
5415 if { (eval echo configure:5416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5416 if { (eval echo configure:5417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5416 rm -rf conftest* | 5417 rm -rf conftest* |
5417 eval "ac_cv_lib_$ac_lib_var=yes" | 5418 eval "ac_cv_lib_$ac_lib_var=yes" |
5418 else | 5419 else |
5419 echo "configure: failed program was:" >&5 | 5420 echo "configure: failed program was:" >&5 |
5420 cat conftest.$ac_ext >&5 | 5421 cat conftest.$ac_ext >&5 |
5579 EOF | 5580 EOF |
5580 } | 5581 } |
5581 | 5582 |
5582 | 5583 |
5583 echo "checking for X defines extracted by xmkmf" 1>&6 | 5584 echo "checking for X defines extracted by xmkmf" 1>&6 |
5584 echo "configure:5585: checking for X defines extracted by xmkmf" >&5 | 5585 echo "configure:5586: checking for X defines extracted by xmkmf" >&5 |
5585 rm -fr conftestdir | 5586 rm -fr conftestdir |
5586 if mkdir conftestdir; then | 5587 if mkdir conftestdir; then |
5587 cd conftestdir | 5588 cd conftestdir |
5588 cat > Imakefile <<'EOF' | 5589 cat > Imakefile <<'EOF' |
5589 xetest: | 5590 xetest: |
5611 done | 5612 done |
5612 fi | 5613 fi |
5613 | 5614 |
5614 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5615 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5615 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5616 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5616 echo "configure:5617: checking for X11/Intrinsic.h" >&5 | 5617 echo "configure:5618: checking for X11/Intrinsic.h" >&5 |
5617 | 5618 |
5618 cat > conftest.$ac_ext <<EOF | 5619 cat > conftest.$ac_ext <<EOF |
5619 #line 5620 "configure" | 5620 #line 5621 "configure" |
5620 #include "confdefs.h" | 5621 #include "confdefs.h" |
5621 #include <X11/Intrinsic.h> | 5622 #include <X11/Intrinsic.h> |
5622 EOF | 5623 EOF |
5623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5624 { (eval echo configure:5625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5625 { (eval echo configure:5626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5625 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5626 if test -z "$ac_err"; then | 5627 if test -z "$ac_err"; then |
5627 rm -rf conftest* | 5628 rm -rf conftest* |
5628 eval "ac_cv_header_$ac_safe=yes" | 5629 eval "ac_cv_header_$ac_safe=yes" |
5629 else | 5630 else |
5643 fi | 5644 fi |
5644 | 5645 |
5645 | 5646 |
5646 | 5647 |
5647 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5648 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5648 echo "configure:5649: checking for XOpenDisplay in -lX11" >&5 | 5649 echo "configure:5650: checking for XOpenDisplay in -lX11" >&5 |
5649 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5650 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5650 | 5651 |
5651 xe_check_libs=" -lX11 " | 5652 xe_check_libs=" -lX11 " |
5652 cat > conftest.$ac_ext <<EOF | 5653 cat > conftest.$ac_ext <<EOF |
5653 #line 5654 "configure" | 5654 #line 5655 "configure" |
5654 #include "confdefs.h" | 5655 #include "confdefs.h" |
5655 /* Override any gcc2 internal prototype to avoid an error. */ | 5656 /* Override any gcc2 internal prototype to avoid an error. */ |
5656 /* We use char because int might match the return type of a gcc2 | 5657 /* We use char because int might match the return type of a gcc2 |
5657 builtin and then its argument prototype would still apply. */ | 5658 builtin and then its argument prototype would still apply. */ |
5658 char XOpenDisplay(); | 5659 char XOpenDisplay(); |
5659 | 5660 |
5660 int main() { | 5661 int main() { |
5661 XOpenDisplay() | 5662 XOpenDisplay() |
5662 ; return 0; } | 5663 ; return 0; } |
5663 EOF | 5664 EOF |
5664 if { (eval echo configure:5665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5665 if { (eval echo configure:5666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5665 rm -rf conftest* | 5666 rm -rf conftest* |
5666 eval "ac_cv_lib_$ac_lib_var=yes" | 5667 eval "ac_cv_lib_$ac_lib_var=yes" |
5667 else | 5668 else |
5668 echo "configure: failed program was:" >&5 | 5669 echo "configure: failed program was:" >&5 |
5669 cat conftest.$ac_ext >&5 | 5670 cat conftest.$ac_ext >&5 |
5684 if test "$have_lib_x11" != "yes"; then | 5685 if test "$have_lib_x11" != "yes"; then |
5685 | 5686 |
5686 xe_msg_checking="for XGetFontProperty in -lX11" | 5687 xe_msg_checking="for XGetFontProperty in -lX11" |
5687 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5688 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5688 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5689 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5689 echo "configure:5690: checking "$xe_msg_checking"" >&5 | 5690 echo "configure:5691: checking "$xe_msg_checking"" >&5 |
5690 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5691 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5691 | 5692 |
5692 xe_check_libs=" -lX11 -b i486-linuxaout" | 5693 xe_check_libs=" -lX11 -b i486-linuxaout" |
5693 cat > conftest.$ac_ext <<EOF | 5694 cat > conftest.$ac_ext <<EOF |
5694 #line 5695 "configure" | 5695 #line 5696 "configure" |
5695 #include "confdefs.h" | 5696 #include "confdefs.h" |
5696 /* Override any gcc2 internal prototype to avoid an error. */ | 5697 /* Override any gcc2 internal prototype to avoid an error. */ |
5697 /* We use char because int might match the return type of a gcc2 | 5698 /* We use char because int might match the return type of a gcc2 |
5698 builtin and then its argument prototype would still apply. */ | 5699 builtin and then its argument prototype would still apply. */ |
5699 char XGetFontProperty(); | 5700 char XGetFontProperty(); |
5700 | 5701 |
5701 int main() { | 5702 int main() { |
5702 XGetFontProperty() | 5703 XGetFontProperty() |
5703 ; return 0; } | 5704 ; return 0; } |
5704 EOF | 5705 EOF |
5705 if { (eval echo configure:5706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5706 if { (eval echo configure:5707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5706 rm -rf conftest* | 5707 rm -rf conftest* |
5707 eval "ac_cv_lib_$ac_lib_var=yes" | 5708 eval "ac_cv_lib_$ac_lib_var=yes" |
5708 else | 5709 else |
5709 echo "configure: failed program was:" >&5 | 5710 echo "configure: failed program was:" >&5 |
5710 cat conftest.$ac_ext >&5 | 5711 cat conftest.$ac_ext >&5 |
5727 libs_x="-lX11" | 5728 libs_x="-lX11" |
5728 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5729 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5729 | 5730 |
5730 | 5731 |
5731 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5732 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5732 echo "configure:5733: checking for XShapeSelectInput in -lXext" >&5 | 5733 echo "configure:5734: checking for XShapeSelectInput in -lXext" >&5 |
5733 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5734 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5734 | 5735 |
5735 xe_check_libs=" -lXext " | 5736 xe_check_libs=" -lXext " |
5736 cat > conftest.$ac_ext <<EOF | 5737 cat > conftest.$ac_ext <<EOF |
5737 #line 5738 "configure" | 5738 #line 5739 "configure" |
5738 #include "confdefs.h" | 5739 #include "confdefs.h" |
5739 /* Override any gcc2 internal prototype to avoid an error. */ | 5740 /* Override any gcc2 internal prototype to avoid an error. */ |
5740 /* We use char because int might match the return type of a gcc2 | 5741 /* We use char because int might match the return type of a gcc2 |
5741 builtin and then its argument prototype would still apply. */ | 5742 builtin and then its argument prototype would still apply. */ |
5742 char XShapeSelectInput(); | 5743 char XShapeSelectInput(); |
5743 | 5744 |
5744 int main() { | 5745 int main() { |
5745 XShapeSelectInput() | 5746 XShapeSelectInput() |
5746 ; return 0; } | 5747 ; return 0; } |
5747 EOF | 5748 EOF |
5748 if { (eval echo configure:5749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5749 if { (eval echo configure:5750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5749 rm -rf conftest* | 5750 rm -rf conftest* |
5750 eval "ac_cv_lib_$ac_lib_var=yes" | 5751 eval "ac_cv_lib_$ac_lib_var=yes" |
5751 else | 5752 else |
5752 echo "configure: failed program was:" >&5 | 5753 echo "configure: failed program was:" >&5 |
5753 cat conftest.$ac_ext >&5 | 5754 cat conftest.$ac_ext >&5 |
5766 | 5767 |
5767 | 5768 |
5768 | 5769 |
5769 | 5770 |
5770 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5771 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5771 echo "configure:5772: checking for XtOpenDisplay in -lXt" >&5 | 5772 echo "configure:5773: checking for XtOpenDisplay in -lXt" >&5 |
5772 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5773 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5773 | 5774 |
5774 xe_check_libs=" -lXt " | 5775 xe_check_libs=" -lXt " |
5775 cat > conftest.$ac_ext <<EOF | 5776 cat > conftest.$ac_ext <<EOF |
5776 #line 5777 "configure" | 5777 #line 5778 "configure" |
5777 #include "confdefs.h" | 5778 #include "confdefs.h" |
5778 /* Override any gcc2 internal prototype to avoid an error. */ | 5779 /* Override any gcc2 internal prototype to avoid an error. */ |
5779 /* We use char because int might match the return type of a gcc2 | 5780 /* We use char because int might match the return type of a gcc2 |
5780 builtin and then its argument prototype would still apply. */ | 5781 builtin and then its argument prototype would still apply. */ |
5781 char XtOpenDisplay(); | 5782 char XtOpenDisplay(); |
5782 | 5783 |
5783 int main() { | 5784 int main() { |
5784 XtOpenDisplay() | 5785 XtOpenDisplay() |
5785 ; return 0; } | 5786 ; return 0; } |
5786 EOF | 5787 EOF |
5787 if { (eval echo configure:5788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5788 if { (eval echo configure:5789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5788 rm -rf conftest* | 5789 rm -rf conftest* |
5789 eval "ac_cv_lib_$ac_lib_var=yes" | 5790 eval "ac_cv_lib_$ac_lib_var=yes" |
5790 else | 5791 else |
5791 echo "configure: failed program was:" >&5 | 5792 echo "configure: failed program was:" >&5 |
5792 cat conftest.$ac_ext >&5 | 5793 cat conftest.$ac_ext >&5 |
5805 fi | 5806 fi |
5806 | 5807 |
5807 | 5808 |
5808 | 5809 |
5809 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5810 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5810 echo "configure:5811: checking the version of X11 being used" >&5 | 5811 echo "configure:5812: checking the version of X11 being used" >&5 |
5811 cat > conftest.$ac_ext <<EOF | 5812 cat > conftest.$ac_ext <<EOF |
5812 #line 5813 "configure" | 5813 #line 5814 "configure" |
5813 #include "confdefs.h" | 5814 #include "confdefs.h" |
5814 #include <X11/Intrinsic.h> | 5815 #include <X11/Intrinsic.h> |
5815 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5816 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5816 EOF | 5817 EOF |
5817 if { (eval echo configure:5818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5818 if { (eval echo configure:5819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5818 then | 5819 then |
5819 ./conftest foobar; x11_release=$? | 5820 ./conftest foobar; x11_release=$? |
5820 else | 5821 else |
5821 conftest_rc="$?" | 5822 conftest_rc="$?" |
5822 echo "configure: failed program was:" >&5 | 5823 echo "configure: failed program was:" >&5 |
5837 | 5838 |
5838 for ac_hdr in X11/Xlocale.h | 5839 for ac_hdr in X11/Xlocale.h |
5839 do | 5840 do |
5840 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5841 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5841 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5842 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5842 echo "configure:5843: checking for $ac_hdr" >&5 | 5843 echo "configure:5844: checking for $ac_hdr" >&5 |
5843 | 5844 |
5844 cat > conftest.$ac_ext <<EOF | 5845 cat > conftest.$ac_ext <<EOF |
5845 #line 5846 "configure" | 5846 #line 5847 "configure" |
5846 #include "confdefs.h" | 5847 #include "confdefs.h" |
5847 #include <$ac_hdr> | 5848 #include <$ac_hdr> |
5848 EOF | 5849 EOF |
5849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5850 { (eval echo configure:5851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5851 { (eval echo configure:5852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5852 if test -z "$ac_err"; then | 5853 if test -z "$ac_err"; then |
5853 rm -rf conftest* | 5854 rm -rf conftest* |
5854 eval "ac_cv_header_$ac_safe=yes" | 5855 eval "ac_cv_header_$ac_safe=yes" |
5855 else | 5856 else |
5876 fi | 5877 fi |
5877 done | 5878 done |
5878 | 5879 |
5879 | 5880 |
5880 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5881 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5881 echo "configure:5882: checking for XFree86" >&5 | 5882 echo "configure:5883: checking for XFree86" >&5 |
5882 if test -d "/usr/X386/include" -o \ | 5883 if test -d "/usr/X386/include" -o \ |
5883 -f "/etc/XF86Config" -o \ | 5884 -f "/etc/XF86Config" -o \ |
5884 -f "/etc/X11/XF86Config" -o \ | 5885 -f "/etc/X11/XF86Config" -o \ |
5885 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5886 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5886 echo "$ac_t""yes" 1>&6 | 5887 echo "$ac_t""yes" 1>&6 |
5896 echo "$ac_t""no" 1>&6 | 5897 echo "$ac_t""no" 1>&6 |
5897 fi | 5898 fi |
5898 | 5899 |
5899 test -z "$with_xmu" && { | 5900 test -z "$with_xmu" && { |
5900 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5901 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5901 echo "configure:5902: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5902 echo "configure:5903: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5902 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5903 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5903 | 5904 |
5904 xe_check_libs=" -lXmu " | 5905 xe_check_libs=" -lXmu " |
5905 cat > conftest.$ac_ext <<EOF | 5906 cat > conftest.$ac_ext <<EOF |
5906 #line 5907 "configure" | 5907 #line 5908 "configure" |
5907 #include "confdefs.h" | 5908 #include "confdefs.h" |
5908 /* Override any gcc2 internal prototype to avoid an error. */ | 5909 /* Override any gcc2 internal prototype to avoid an error. */ |
5909 /* We use char because int might match the return type of a gcc2 | 5910 /* We use char because int might match the return type of a gcc2 |
5910 builtin and then its argument prototype would still apply. */ | 5911 builtin and then its argument prototype would still apply. */ |
5911 char XmuReadBitmapDataFromFile(); | 5912 char XmuReadBitmapDataFromFile(); |
5912 | 5913 |
5913 int main() { | 5914 int main() { |
5914 XmuReadBitmapDataFromFile() | 5915 XmuReadBitmapDataFromFile() |
5915 ; return 0; } | 5916 ; return 0; } |
5916 EOF | 5917 EOF |
5917 if { (eval echo configure:5918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5918 if { (eval echo configure:5919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5918 rm -rf conftest* | 5919 rm -rf conftest* |
5919 eval "ac_cv_lib_$ac_lib_var=yes" | 5920 eval "ac_cv_lib_$ac_lib_var=yes" |
5920 else | 5921 else |
5921 echo "configure: failed program was:" >&5 | 5922 echo "configure: failed program was:" >&5 |
5922 cat conftest.$ac_ext >&5 | 5923 cat conftest.$ac_ext >&5 |
5951 | 5952 |
5952 fi | 5953 fi |
5953 | 5954 |
5954 | 5955 |
5955 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5956 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5956 echo "configure:5957: checking for main in -lXbsd" >&5 | 5957 echo "configure:5958: checking for main in -lXbsd" >&5 |
5957 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5958 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5958 | 5959 |
5959 xe_check_libs=" -lXbsd " | 5960 xe_check_libs=" -lXbsd " |
5960 cat > conftest.$ac_ext <<EOF | 5961 cat > conftest.$ac_ext <<EOF |
5961 #line 5962 "configure" | 5962 #line 5963 "configure" |
5962 #include "confdefs.h" | 5963 #include "confdefs.h" |
5963 | 5964 |
5964 int main() { | 5965 int main() { |
5965 main() | 5966 main() |
5966 ; return 0; } | 5967 ; return 0; } |
5967 EOF | 5968 EOF |
5968 if { (eval echo configure:5969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5969 if { (eval echo configure:5970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5969 rm -rf conftest* | 5970 rm -rf conftest* |
5970 eval "ac_cv_lib_$ac_lib_var=yes" | 5971 eval "ac_cv_lib_$ac_lib_var=yes" |
5971 else | 5972 else |
5972 echo "configure: failed program was:" >&5 | 5973 echo "configure: failed program was:" >&5 |
5973 cat conftest.$ac_ext >&5 | 5974 cat conftest.$ac_ext >&5 |
6000 fi | 6001 fi |
6001 | 6002 |
6002 fi | 6003 fi |
6003 if test "$with_msw" != "no"; then | 6004 if test "$with_msw" != "no"; then |
6004 echo "checking for MS-Windows" 1>&6 | 6005 echo "checking for MS-Windows" 1>&6 |
6005 echo "configure:6006: checking for MS-Windows" >&5 | 6006 echo "configure:6007: checking for MS-Windows" >&5 |
6006 | 6007 |
6007 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6008 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
6008 echo "configure:6009: checking for main in -lgdi32" >&5 | 6009 echo "configure:6010: checking for main in -lgdi32" >&5 |
6009 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6010 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
6010 | 6011 |
6011 xe_check_libs=" -lgdi32 " | 6012 xe_check_libs=" -lgdi32 " |
6012 cat > conftest.$ac_ext <<EOF | 6013 cat > conftest.$ac_ext <<EOF |
6013 #line 6014 "configure" | 6014 #line 6015 "configure" |
6014 #include "confdefs.h" | 6015 #include "confdefs.h" |
6015 | 6016 |
6016 int main() { | 6017 int main() { |
6017 main() | 6018 main() |
6018 ; return 0; } | 6019 ; return 0; } |
6019 EOF | 6020 EOF |
6020 if { (eval echo configure:6021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6021 if { (eval echo configure:6022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6021 rm -rf conftest* | 6022 rm -rf conftest* |
6022 eval "ac_cv_lib_$ac_lib_var=yes" | 6023 eval "ac_cv_lib_$ac_lib_var=yes" |
6023 else | 6024 else |
6024 echo "configure: failed program was:" >&5 | 6025 echo "configure: failed program was:" >&5 |
6025 cat conftest.$ac_ext >&5 | 6026 cat conftest.$ac_ext >&5 |
6081 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6082 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
6082 echo " xemacs will be linked with \"dialog-msw.o\"" | 6083 echo " xemacs will be linked with \"dialog-msw.o\"" |
6083 fi | 6084 fi |
6084 fi | 6085 fi |
6085 cat > conftest.$ac_ext <<EOF | 6086 cat > conftest.$ac_ext <<EOF |
6086 #line 6087 "configure" | 6087 #line 6088 "configure" |
6087 #include "confdefs.h" | 6088 #include "confdefs.h" |
6088 #include <fcntl.h> | 6089 #include <fcntl.h> |
6089 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6090 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
6090 EOF | 6091 EOF |
6091 if { (eval echo configure:6092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6092 if { (eval echo configure:6093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6092 then | 6093 then |
6093 { test "$extra_verbose" = "yes" && cat << \EOF | 6094 { test "$extra_verbose" = "yes" && cat << \EOF |
6094 Defining HAVE_MSG_SELECT | 6095 Defining HAVE_MSG_SELECT |
6095 EOF | 6096 EOF |
6096 cat >> confdefs.h <<\EOF | 6097 cat >> confdefs.h <<\EOF |
6166 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6167 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
6167 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6168 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
6168 esac | 6169 esac |
6169 | 6170 |
6170 echo "checking for session-management option" 1>&6 | 6171 echo "checking for session-management option" 1>&6 |
6171 echo "configure:6172: checking for session-management option" >&5; | 6172 echo "configure:6173: checking for session-management option" >&5; |
6172 if test "$with_session" != "no"; then | 6173 if test "$with_session" != "no"; then |
6173 { test "$extra_verbose" = "yes" && cat << \EOF | 6174 { test "$extra_verbose" = "yes" && cat << \EOF |
6174 Defining HAVE_SESSION | 6175 Defining HAVE_SESSION |
6175 EOF | 6176 EOF |
6176 cat >> confdefs.h <<\EOF | 6177 cat >> confdefs.h <<\EOF |
6181 fi | 6182 fi |
6182 | 6183 |
6183 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6184 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
6184 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6185 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
6185 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6186 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
6186 echo "configure:6187: checking for X11/Xauth.h" >&5 | 6187 echo "configure:6188: checking for X11/Xauth.h" >&5 |
6187 | 6188 |
6188 cat > conftest.$ac_ext <<EOF | 6189 cat > conftest.$ac_ext <<EOF |
6189 #line 6190 "configure" | 6190 #line 6191 "configure" |
6190 #include "confdefs.h" | 6191 #include "confdefs.h" |
6191 #include <X11/Xauth.h> | 6192 #include <X11/Xauth.h> |
6192 EOF | 6193 EOF |
6193 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6194 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6194 { (eval echo configure:6195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6195 { (eval echo configure:6196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6195 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6196 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6196 if test -z "$ac_err"; then | 6197 if test -z "$ac_err"; then |
6197 rm -rf conftest* | 6198 rm -rf conftest* |
6198 eval "ac_cv_header_$ac_safe=yes" | 6199 eval "ac_cv_header_$ac_safe=yes" |
6199 else | 6200 else |
6212 with_xauth=no | 6213 with_xauth=no |
6213 fi | 6214 fi |
6214 } | 6215 } |
6215 test -z "$with_xauth" && { | 6216 test -z "$with_xauth" && { |
6216 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6217 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6217 echo "configure:6218: checking for XauGetAuthByAddr in -lXau" >&5 | 6218 echo "configure:6219: checking for XauGetAuthByAddr in -lXau" >&5 |
6218 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6219 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6219 | 6220 |
6220 xe_check_libs=" -lXau " | 6221 xe_check_libs=" -lXau " |
6221 cat > conftest.$ac_ext <<EOF | 6222 cat > conftest.$ac_ext <<EOF |
6222 #line 6223 "configure" | 6223 #line 6224 "configure" |
6223 #include "confdefs.h" | 6224 #include "confdefs.h" |
6224 /* Override any gcc2 internal prototype to avoid an error. */ | 6225 /* Override any gcc2 internal prototype to avoid an error. */ |
6225 /* We use char because int might match the return type of a gcc2 | 6226 /* We use char because int might match the return type of a gcc2 |
6226 builtin and then its argument prototype would still apply. */ | 6227 builtin and then its argument prototype would still apply. */ |
6227 char XauGetAuthByAddr(); | 6228 char XauGetAuthByAddr(); |
6228 | 6229 |
6229 int main() { | 6230 int main() { |
6230 XauGetAuthByAddr() | 6231 XauGetAuthByAddr() |
6231 ; return 0; } | 6232 ; return 0; } |
6232 EOF | 6233 EOF |
6233 if { (eval echo configure:6234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6234 if { (eval echo configure:6235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6234 rm -rf conftest* | 6235 rm -rf conftest* |
6235 eval "ac_cv_lib_$ac_lib_var=yes" | 6236 eval "ac_cv_lib_$ac_lib_var=yes" |
6236 else | 6237 else |
6237 echo "configure: failed program was:" >&5 | 6238 echo "configure: failed program was:" >&5 |
6238 cat conftest.$ac_ext >&5 | 6239 cat conftest.$ac_ext >&5 |
6273 | 6274 |
6274 if test "$with_tooltalk" != "no" ; then | 6275 if test "$with_tooltalk" != "no" ; then |
6275 for dir in "" "Tt/" "desktop/" ; do | 6276 for dir in "" "Tt/" "desktop/" ; do |
6276 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6277 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6277 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6278 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6278 echo "configure:6279: checking for ${dir}tt_c.h" >&5 | 6279 echo "configure:6280: checking for ${dir}tt_c.h" >&5 |
6279 | 6280 |
6280 cat > conftest.$ac_ext <<EOF | 6281 cat > conftest.$ac_ext <<EOF |
6281 #line 6282 "configure" | 6282 #line 6283 "configure" |
6282 #include "confdefs.h" | 6283 #include "confdefs.h" |
6283 #include <${dir}tt_c.h> | 6284 #include <${dir}tt_c.h> |
6284 EOF | 6285 EOF |
6285 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6286 { (eval echo configure:6287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6287 { (eval echo configure:6288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6287 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6288 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6288 if test -z "$ac_err"; then | 6289 if test -z "$ac_err"; then |
6289 rm -rf conftest* | 6290 rm -rf conftest* |
6290 eval "ac_cv_header_$ac_safe=yes" | 6291 eval "ac_cv_header_$ac_safe=yes" |
6291 else | 6292 else |
6317 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6318 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6318 | 6319 |
6319 xe_msg_checking="for tt_message_create in -ltt" | 6320 xe_msg_checking="for tt_message_create in -ltt" |
6320 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6321 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6321 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6322 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6322 echo "configure:6323: checking "$xe_msg_checking"" >&5 | 6323 echo "configure:6324: checking "$xe_msg_checking"" >&5 |
6323 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6324 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6324 | 6325 |
6325 xe_check_libs=" -ltt $extra_libs" | 6326 xe_check_libs=" -ltt $extra_libs" |
6326 cat > conftest.$ac_ext <<EOF | 6327 cat > conftest.$ac_ext <<EOF |
6327 #line 6328 "configure" | 6328 #line 6329 "configure" |
6328 #include "confdefs.h" | 6329 #include "confdefs.h" |
6329 /* Override any gcc2 internal prototype to avoid an error. */ | 6330 /* Override any gcc2 internal prototype to avoid an error. */ |
6330 /* We use char because int might match the return type of a gcc2 | 6331 /* We use char because int might match the return type of a gcc2 |
6331 builtin and then its argument prototype would still apply. */ | 6332 builtin and then its argument prototype would still apply. */ |
6332 char tt_message_create(); | 6333 char tt_message_create(); |
6333 | 6334 |
6334 int main() { | 6335 int main() { |
6335 tt_message_create() | 6336 tt_message_create() |
6336 ; return 0; } | 6337 ; return 0; } |
6337 EOF | 6338 EOF |
6338 if { (eval echo configure:6339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6339 if { (eval echo configure:6340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6339 rm -rf conftest* | 6340 rm -rf conftest* |
6340 eval "ac_cv_lib_$ac_lib_var=yes" | 6341 eval "ac_cv_lib_$ac_lib_var=yes" |
6341 else | 6342 else |
6342 echo "configure: failed program was:" >&5 | 6343 echo "configure: failed program was:" >&5 |
6343 cat conftest.$ac_ext >&5 | 6344 cat conftest.$ac_ext >&5 |
6390 fi | 6391 fi |
6391 fi | 6392 fi |
6392 | 6393 |
6393 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6394 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6394 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6395 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6395 echo "configure:6396: checking for Dt/Dt.h" >&5 | 6396 echo "configure:6397: checking for Dt/Dt.h" >&5 |
6396 | 6397 |
6397 cat > conftest.$ac_ext <<EOF | 6398 cat > conftest.$ac_ext <<EOF |
6398 #line 6399 "configure" | 6399 #line 6400 "configure" |
6399 #include "confdefs.h" | 6400 #include "confdefs.h" |
6400 #include <Dt/Dt.h> | 6401 #include <Dt/Dt.h> |
6401 EOF | 6402 EOF |
6402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6403 { (eval echo configure:6404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6404 { (eval echo configure:6405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6405 if test -z "$ac_err"; then | 6406 if test -z "$ac_err"; then |
6406 rm -rf conftest* | 6407 rm -rf conftest* |
6407 eval "ac_cv_header_$ac_safe=yes" | 6408 eval "ac_cv_header_$ac_safe=yes" |
6408 else | 6409 else |
6421 with_cde=no | 6422 with_cde=no |
6422 fi | 6423 fi |
6423 } | 6424 } |
6424 test -z "$with_cde" && { | 6425 test -z "$with_cde" && { |
6425 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6426 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6426 echo "configure:6427: checking for DtDndDragStart in -lDtSvc" >&5 | 6427 echo "configure:6428: checking for DtDndDragStart in -lDtSvc" >&5 |
6427 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6428 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6428 | 6429 |
6429 xe_check_libs=" -lDtSvc " | 6430 xe_check_libs=" -lDtSvc " |
6430 cat > conftest.$ac_ext <<EOF | 6431 cat > conftest.$ac_ext <<EOF |
6431 #line 6432 "configure" | 6432 #line 6433 "configure" |
6432 #include "confdefs.h" | 6433 #include "confdefs.h" |
6433 /* Override any gcc2 internal prototype to avoid an error. */ | 6434 /* Override any gcc2 internal prototype to avoid an error. */ |
6434 /* We use char because int might match the return type of a gcc2 | 6435 /* We use char because int might match the return type of a gcc2 |
6435 builtin and then its argument prototype would still apply. */ | 6436 builtin and then its argument prototype would still apply. */ |
6436 char DtDndDragStart(); | 6437 char DtDndDragStart(); |
6437 | 6438 |
6438 int main() { | 6439 int main() { |
6439 DtDndDragStart() | 6440 DtDndDragStart() |
6440 ; return 0; } | 6441 ; return 0; } |
6441 EOF | 6442 EOF |
6442 if { (eval echo configure:6443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6443 if { (eval echo configure:6444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6443 rm -rf conftest* | 6444 rm -rf conftest* |
6444 eval "ac_cv_lib_$ac_lib_var=yes" | 6445 eval "ac_cv_lib_$ac_lib_var=yes" |
6445 else | 6446 else |
6446 echo "configure: failed program was:" >&5 | 6447 echo "configure: failed program was:" >&5 |
6447 cat conftest.$ac_ext >&5 | 6448 cat conftest.$ac_ext >&5 |
6506 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6507 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6507 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6508 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6508 fi | 6509 fi |
6509 | 6510 |
6510 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6511 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6511 echo "configure:6512: checking if drag and drop API is needed" >&5 | 6512 echo "configure:6513: checking if drag and drop API is needed" >&5 |
6512 if test "$with_dragndrop" != "no" ; then | 6513 if test "$with_dragndrop" != "no" ; then |
6513 if test -n "$dragndrop_proto" ; then | 6514 if test -n "$dragndrop_proto" ; then |
6514 with_dragndrop=yes | 6515 with_dragndrop=yes |
6515 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6516 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6516 { test "$extra_verbose" = "yes" && cat << \EOF | 6517 { test "$extra_verbose" = "yes" && cat << \EOF |
6527 echo "$ac_t""no" 1>&6 | 6528 echo "$ac_t""no" 1>&6 |
6528 fi | 6529 fi |
6529 fi | 6530 fi |
6530 | 6531 |
6531 echo "checking for LDAP" 1>&6 | 6532 echo "checking for LDAP" 1>&6 |
6532 echo "configure:6533: checking for LDAP" >&5 | 6533 echo "configure:6534: checking for LDAP" >&5 |
6533 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6534 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6534 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6535 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6535 echo "configure:6536: checking for ldap.h" >&5 | 6536 echo "configure:6537: checking for ldap.h" >&5 |
6536 | 6537 |
6537 cat > conftest.$ac_ext <<EOF | 6538 cat > conftest.$ac_ext <<EOF |
6538 #line 6539 "configure" | 6539 #line 6540 "configure" |
6539 #include "confdefs.h" | 6540 #include "confdefs.h" |
6540 #include <ldap.h> | 6541 #include <ldap.h> |
6541 EOF | 6542 EOF |
6542 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6543 { (eval echo configure:6544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6544 { (eval echo configure:6545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6544 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6545 if test -z "$ac_err"; then | 6546 if test -z "$ac_err"; then |
6546 rm -rf conftest* | 6547 rm -rf conftest* |
6547 eval "ac_cv_header_$ac_safe=yes" | 6548 eval "ac_cv_header_$ac_safe=yes" |
6548 else | 6549 else |
6561 with_ldap=no | 6562 with_ldap=no |
6562 fi | 6563 fi |
6563 } | 6564 } |
6564 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6565 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6565 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6566 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6566 echo "configure:6567: checking for lber.h" >&5 | 6567 echo "configure:6568: checking for lber.h" >&5 |
6567 | 6568 |
6568 cat > conftest.$ac_ext <<EOF | 6569 cat > conftest.$ac_ext <<EOF |
6569 #line 6570 "configure" | 6570 #line 6571 "configure" |
6570 #include "confdefs.h" | 6571 #include "confdefs.h" |
6571 #include <lber.h> | 6572 #include <lber.h> |
6572 EOF | 6573 EOF |
6573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6574 { (eval echo configure:6575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6575 { (eval echo configure:6576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6576 if test -z "$ac_err"; then | 6577 if test -z "$ac_err"; then |
6577 rm -rf conftest* | 6578 rm -rf conftest* |
6578 eval "ac_cv_header_$ac_safe=yes" | 6579 eval "ac_cv_header_$ac_safe=yes" |
6579 else | 6580 else |
6591 echo "$ac_t""no" 1>&6 | 6592 echo "$ac_t""no" 1>&6 |
6592 with_ldap=no | 6593 with_ldap=no |
6593 fi | 6594 fi |
6594 } | 6595 } |
6595 if test "$with_ldap" != "no"; then | 6596 if test "$with_ldap" != "no"; then |
6596 test -z "$with_umich_ldap" && { | 6597 |
6598 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | |
6599 echo "configure:6600: checking for ldap_search in -lldap" >&5 | |
6600 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | |
6601 | |
6602 xe_check_libs=" -lldap " | |
6603 cat > conftest.$ac_ext <<EOF | |
6604 #line 6605 "configure" | |
6605 #include "confdefs.h" | |
6606 /* Override any gcc2 internal prototype to avoid an error. */ | |
6607 /* We use char because int might match the return type of a gcc2 | |
6608 builtin and then its argument prototype would still apply. */ | |
6609 char ldap_search(); | |
6610 | |
6611 int main() { | |
6612 ldap_search() | |
6613 ; return 0; } | |
6614 EOF | |
6615 if { (eval echo configure:6616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
6616 rm -rf conftest* | |
6617 eval "ac_cv_lib_$ac_lib_var=yes" | |
6618 else | |
6619 echo "configure: failed program was:" >&5 | |
6620 cat conftest.$ac_ext >&5 | |
6621 rm -rf conftest* | |
6622 eval "ac_cv_lib_$ac_lib_var=no" | |
6623 fi | |
6624 rm -f conftest* | |
6625 xe_check_libs="" | |
6626 | |
6627 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6628 echo "$ac_t""yes" 1>&6 | |
6629 with_ldap_nolber=yes | |
6630 else | |
6631 echo "$ac_t""no" 1>&6 | |
6632 with_ldap_nolber=no | |
6633 fi | |
6634 | |
6635 | |
6636 test "$with_ldap_nolber" = "no" && { | |
6597 xe_msg_checking="for ldap_open in -lldap" | 6637 xe_msg_checking="for ldap_open in -lldap" |
6598 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6638 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6599 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6639 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6600 echo "configure:6601: checking "$xe_msg_checking"" >&5 | 6640 echo "configure:6641: checking "$xe_msg_checking"" >&5 |
6601 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6641 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6602 | 6642 |
6603 xe_check_libs=" -lldap -llber" | 6643 xe_check_libs=" -lldap -llber" |
6604 cat > conftest.$ac_ext <<EOF | 6644 cat > conftest.$ac_ext <<EOF |
6605 #line 6606 "configure" | 6645 #line 6646 "configure" |
6606 #include "confdefs.h" | 6646 #include "confdefs.h" |
6607 /* Override any gcc2 internal prototype to avoid an error. */ | 6647 /* Override any gcc2 internal prototype to avoid an error. */ |
6608 /* We use char because int might match the return type of a gcc2 | 6648 /* We use char because int might match the return type of a gcc2 |
6609 builtin and then its argument prototype would still apply. */ | 6649 builtin and then its argument prototype would still apply. */ |
6610 char ldap_open(); | 6650 char ldap_open(); |
6611 | 6651 |
6612 int main() { | 6652 int main() { |
6613 ldap_open() | 6653 ldap_open() |
6614 ; return 0; } | 6654 ; return 0; } |
6615 EOF | 6655 EOF |
6616 if { (eval echo configure:6617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6656 if { (eval echo configure:6657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6617 rm -rf conftest* | 6657 rm -rf conftest* |
6618 eval "ac_cv_lib_$ac_lib_var=yes" | 6658 eval "ac_cv_lib_$ac_lib_var=yes" |
6619 else | 6659 else |
6620 echo "configure: failed program was:" >&5 | 6660 echo "configure: failed program was:" >&5 |
6621 cat conftest.$ac_ext >&5 | 6661 cat conftest.$ac_ext >&5 |
6625 rm -f conftest* | 6665 rm -f conftest* |
6626 xe_check_libs="" | 6666 xe_check_libs="" |
6627 | 6667 |
6628 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 6668 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
6629 echo "$ac_t""yes" 1>&6 | 6669 echo "$ac_t""yes" 1>&6 |
6630 with_umich_ldap=yes | 6670 with_ldap_lber=yes |
6631 else | 6671 else |
6632 echo "$ac_t""no" 1>&6 | 6672 echo "$ac_t""no" 1>&6 |
6633 with_umich_ldap=no | 6673 with_ldap_lber=no |
6634 fi | 6674 fi |
6635 | 6675 |
6636 } | 6676 } |
6637 test "$with_umich_ldap" = "no" && { | 6677 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
6638 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6678 xe_msg_checking="for ldap_open in -lldap" |
6639 echo "configure:6640: checking for ldap_set_option in -lldap10" >&5 | 6679 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
6640 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6680 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6641 | 6681 echo "configure:6682: checking "$xe_msg_checking"" >&5 |
6642 xe_check_libs=" -lldap10 " | 6682 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6643 cat > conftest.$ac_ext <<EOF | 6683 |
6644 #line 6645 "configure" | 6684 xe_check_libs=" -lldap -llber -lkrb" |
6685 cat > conftest.$ac_ext <<EOF | |
6686 #line 6687 "configure" | |
6645 #include "confdefs.h" | 6687 #include "confdefs.h" |
6646 /* Override any gcc2 internal prototype to avoid an error. */ | 6688 /* Override any gcc2 internal prototype to avoid an error. */ |
6647 /* We use char because int might match the return type of a gcc2 | 6689 /* We use char because int might match the return type of a gcc2 |
6648 builtin and then its argument prototype would still apply. */ | 6690 builtin and then its argument prototype would still apply. */ |
6649 char ldap_set_option(); | 6691 char ldap_open(); |
6650 | 6692 |
6651 int main() { | 6693 int main() { |
6652 ldap_set_option() | 6694 ldap_open() |
6653 ; return 0; } | 6695 ; return 0; } |
6654 EOF | 6696 EOF |
6655 if { (eval echo configure:6656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6697 if { (eval echo configure:6698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6656 rm -rf conftest* | 6698 rm -rf conftest* |
6657 eval "ac_cv_lib_$ac_lib_var=yes" | 6699 eval "ac_cv_lib_$ac_lib_var=yes" |
6658 else | 6700 else |
6659 echo "configure: failed program was:" >&5 | 6701 echo "configure: failed program was:" >&5 |
6660 cat conftest.$ac_ext >&5 | 6702 cat conftest.$ac_ext >&5 |
6664 rm -f conftest* | 6706 rm -f conftest* |
6665 xe_check_libs="" | 6707 xe_check_libs="" |
6666 | 6708 |
6667 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 6709 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
6668 echo "$ac_t""yes" 1>&6 | 6710 echo "$ac_t""yes" 1>&6 |
6669 with_ns_ldap=yes | 6711 with_ldap_krb=yes |
6670 else | 6712 else |
6671 echo "$ac_t""no" 1>&6 | 6713 echo "$ac_t""no" 1>&6 |
6672 with_ns_ldap=no | 6714 with_ldap_krb=no |
6673 fi | 6715 fi |
6674 | 6716 |
6675 } | 6717 } |
6676 test -z "$with_ldap" -a \( "$with_umich_ldap" = "yes" -o "$with_ns_ldap" = "yes" \) && with_ldap=yes | 6718 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
6719 xe_msg_checking="for ldap_open in -lldap" | |
6720 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | |
6721 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
6722 echo "configure:6723: checking "$xe_msg_checking"" >&5 | |
6723 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | |
6724 | |
6725 xe_check_libs=" -lldap -llber -lkrb -ldes" | |
6726 cat > conftest.$ac_ext <<EOF | |
6727 #line 6728 "configure" | |
6728 #include "confdefs.h" | |
6729 /* Override any gcc2 internal prototype to avoid an error. */ | |
6730 /* We use char because int might match the return type of a gcc2 | |
6731 builtin and then its argument prototype would still apply. */ | |
6732 char ldap_open(); | |
6733 | |
6734 int main() { | |
6735 ldap_open() | |
6736 ; return 0; } | |
6737 EOF | |
6738 if { (eval echo configure:6739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
6739 rm -rf conftest* | |
6740 eval "ac_cv_lib_$ac_lib_var=yes" | |
6741 else | |
6742 echo "configure: failed program was:" >&5 | |
6743 cat conftest.$ac_ext >&5 | |
6744 rm -rf conftest* | |
6745 eval "ac_cv_lib_$ac_lib_var=no" | |
6746 fi | |
6747 rm -f conftest* | |
6748 xe_check_libs="" | |
6749 | |
6750 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6751 echo "$ac_t""yes" 1>&6 | |
6752 with_ldap_krbdes=yes | |
6753 else | |
6754 echo "$ac_t""no" 1>&6 | |
6755 with_ldap_krbdes=no | |
6756 fi | |
6757 | |
6758 } | |
6759 test -z "$with_ldap" -a \( "$with_ldap_lber" = "yes" -o "$with_ldap_nolber" = "yes" -o "$with_ldap_krb" = "yes" -o "$with_ldap_krbdes" = "yes" \) && with_ldap=yes | |
6677 fi | 6760 fi |
6678 if test "$with_ldap" = "yes"; then | 6761 if test "$with_ldap" = "yes"; then |
6679 { test "$extra_verbose" = "yes" && cat << \EOF | 6762 { test "$extra_verbose" = "yes" && cat << \EOF |
6680 Defining HAVE_LDAP | 6763 Defining HAVE_LDAP |
6681 EOF | 6764 EOF |
6685 } | 6768 } |
6686 | 6769 |
6687 extra_objs="$extra_objs eldap.o" && if test "$extra_verbose" = "yes"; then | 6770 extra_objs="$extra_objs eldap.o" && if test "$extra_verbose" = "yes"; then |
6688 echo " xemacs will be linked with \"eldap.o\"" | 6771 echo " xemacs will be linked with \"eldap.o\"" |
6689 fi | 6772 fi |
6690 if test "$with_umich_ldap" = "yes" ; then | 6773 if test "$with_ldap_nolber" = "yes" ; then |
6691 { test "$extra_verbose" = "yes" && cat << \EOF | 6774 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
6692 Defining HAVE_UMICH_LDAP | 6775 else |
6693 EOF | 6776 if test "$with_ldap_krb" = "yes" ; then |
6694 cat >> confdefs.h <<\EOF | 6777 LIBS="-lkrb $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lkrb\" to \$LIBS"; fi |
6695 #define HAVE_UMICH_LDAP 1 | 6778 fi |
6696 EOF | 6779 if test "$with_ldap_krbdes" = "yes" ; then |
6697 } | 6780 LIBS="-ldes $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ldes\" to \$LIBS"; fi |
6698 | 6781 LIBS="-lkrb $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lkrb\" to \$LIBS"; fi |
6782 fi | |
6699 LIBS="-llber $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-llber\" to \$LIBS"; fi | 6783 LIBS="-llber $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-llber\" to \$LIBS"; fi |
6700 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 6784 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
6701 elif test "$with_ldap" = "yes" -a "$with_ns_ldap" = "yes" ; then | |
6702 { test "$extra_verbose" = "yes" && cat << \EOF | |
6703 Defining HAVE_NS_LDAP | |
6704 EOF | |
6705 cat >> confdefs.h <<\EOF | |
6706 #define HAVE_NS_LDAP 1 | |
6707 EOF | |
6708 } | |
6709 | |
6710 LIBS="-lldap10 $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap10\" to \$LIBS"; fi | |
6711 elif test "$with_ldap" = "yes" ; then | |
6712 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | |
6713 fi | 6785 fi |
6786 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | |
6787 do | |
6788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
6789 echo "configure:6790: checking for $ac_func" >&5 | |
6790 | |
6791 cat > conftest.$ac_ext <<EOF | |
6792 #line 6793 "configure" | |
6793 #include "confdefs.h" | |
6794 /* System header to define __stub macros and hopefully few prototypes, | |
6795 which can conflict with char $ac_func(); below. */ | |
6796 #include <assert.h> | |
6797 /* Override any gcc2 internal prototype to avoid an error. */ | |
6798 /* We use char because int might match the return type of a gcc2 | |
6799 builtin and then its argument prototype would still apply. */ | |
6800 char $ac_func(); | |
6801 | |
6802 int main() { | |
6803 | |
6804 /* The GNU C library defines this for functions which it implements | |
6805 to always fail with ENOSYS. Some functions are actually named | |
6806 something starting with __ and the normal name is an alias. */ | |
6807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
6808 choke me | |
6809 #else | |
6810 $ac_func(); | |
6811 #endif | |
6812 | |
6813 ; return 0; } | |
6814 EOF | |
6815 if { (eval echo configure:6816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
6816 rm -rf conftest* | |
6817 eval "ac_cv_func_$ac_func=yes" | |
6818 else | |
6819 echo "configure: failed program was:" >&5 | |
6820 cat conftest.$ac_ext >&5 | |
6821 rm -rf conftest* | |
6822 eval "ac_cv_func_$ac_func=no" | |
6823 fi | |
6824 rm -f conftest* | |
6825 | |
6826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
6827 echo "$ac_t""yes" 1>&6 | |
6828 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
6829 { test "$extra_verbose" = "yes" && cat << EOF | |
6830 Defining $ac_tr_func | |
6831 EOF | |
6832 cat >> confdefs.h <<EOF | |
6833 #define $ac_tr_func 1 | |
6834 EOF | |
6835 } | |
6836 | |
6837 else | |
6838 echo "$ac_t""no" 1>&6 | |
6839 fi | |
6840 done | |
6841 | |
6714 fi | 6842 fi |
6715 | 6843 |
6716 | 6844 |
6717 if test "$window_system" != "none"; then | 6845 if test "$window_system" != "none"; then |
6718 echo "checking for graphics libraries" 1>&6 | 6846 echo "checking for graphics libraries" 1>&6 |
6719 echo "configure:6720: checking for graphics libraries" >&5 | 6847 echo "configure:6848: checking for graphics libraries" >&5 |
6720 | 6848 |
6721 | 6849 |
6722 echo $ac_n "checking for __T_9__nothrow in -lCsup""... $ac_c" 1>&6 | 6850 echo $ac_n "checking for __T_9__nothrow in -lCsup""... $ac_c" 1>&6 |
6723 echo "configure:6724: checking for __T_9__nothrow in -lCsup" >&5 | 6851 echo "configure:6852: checking for __T_9__nothrow in -lCsup" >&5 |
6724 ac_lib_var=`echo Csup'_'__T_9__nothrow | sed 'y%./+-%__p_%'` | 6852 ac_lib_var=`echo Csup'_'__T_9__nothrow | sed 'y%./+-%__p_%'` |
6725 | 6853 |
6726 xe_check_libs=" -lCsup " | 6854 xe_check_libs=" -lCsup " |
6727 cat > conftest.$ac_ext <<EOF | 6855 cat > conftest.$ac_ext <<EOF |
6728 #line 6729 "configure" | 6856 #line 6857 "configure" |
6729 #include "confdefs.h" | 6857 #include "confdefs.h" |
6730 /* Override any gcc2 internal prototype to avoid an error. */ | 6858 /* Override any gcc2 internal prototype to avoid an error. */ |
6731 /* We use char because int might match the return type of a gcc2 | 6859 /* We use char because int might match the return type of a gcc2 |
6732 builtin and then its argument prototype would still apply. */ | 6860 builtin and then its argument prototype would still apply. */ |
6733 char __T_9__nothrow(); | 6861 char __T_9__nothrow(); |
6734 | 6862 |
6735 int main() { | 6863 int main() { |
6736 __T_9__nothrow() | 6864 __T_9__nothrow() |
6737 ; return 0; } | 6865 ; return 0; } |
6738 EOF | 6866 EOF |
6739 if { (eval echo configure:6740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6867 if { (eval echo configure:6868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6740 rm -rf conftest* | 6868 rm -rf conftest* |
6741 eval "ac_cv_lib_$ac_lib_var=yes" | 6869 eval "ac_cv_lib_$ac_lib_var=yes" |
6742 else | 6870 else |
6743 echo "configure: failed program was:" >&5 | 6871 echo "configure: failed program was:" >&5 |
6744 cat conftest.$ac_ext >&5 | 6872 cat conftest.$ac_ext >&5 |
6758 | 6886 |
6759 | 6887 |
6760 xpm_problem="" | 6888 xpm_problem="" |
6761 if test -z "$with_xpm"; then | 6889 if test -z "$with_xpm"; then |
6762 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6890 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6763 echo "configure:6764: checking for Xpm - no older than 3.4f" >&5 | 6891 echo "configure:6892: checking for Xpm - no older than 3.4f" >&5 |
6764 xe_check_libs=-lXpm | 6892 xe_check_libs=-lXpm |
6765 cat > conftest.$ac_ext <<EOF | 6893 cat > conftest.$ac_ext <<EOF |
6766 #line 6767 "configure" | 6894 #line 6895 "configure" |
6767 #include "confdefs.h" | 6895 #include "confdefs.h" |
6768 #include <X11/xpm.h> | 6896 #include <X11/xpm.h> |
6769 int main(int c, char **v) { | 6897 int main(int c, char **v) { |
6770 return c == 1 ? 0 : | 6898 return c == 1 ? 0 : |
6771 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6899 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6772 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6900 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6773 EOF | 6901 EOF |
6774 if { (eval echo configure:6775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6902 if { (eval echo configure:6903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6775 then | 6903 then |
6776 ./conftest dummy_arg; xpm_status=$?; | 6904 ./conftest dummy_arg; xpm_status=$?; |
6777 if test "$xpm_status" = "0"; then | 6905 if test "$xpm_status" = "0"; then |
6778 with_xpm=yes; | 6906 with_xpm=yes; |
6779 else | 6907 else |
6811 EOF | 6939 EOF |
6812 } | 6940 } |
6813 | 6941 |
6814 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6942 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6815 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6943 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
6816 echo "configure:6817: checking for \"FOR_MSW\" xpm" >&5 | 6944 echo "configure:6945: checking for \"FOR_MSW\" xpm" >&5 |
6817 xe_check_libs=-lXpm | 6945 xe_check_libs=-lXpm |
6818 cat > conftest.$ac_ext <<EOF | 6946 cat > conftest.$ac_ext <<EOF |
6819 #line 6820 "configure" | 6947 #line 6948 "configure" |
6820 #include "confdefs.h" | 6948 #include "confdefs.h" |
6821 | 6949 |
6822 int main() { | 6950 int main() { |
6823 XpmCreatePixmapFromData() | 6951 XpmCreatePixmapFromData() |
6824 ; return 0; } | 6952 ; return 0; } |
6825 EOF | 6953 EOF |
6826 if { (eval echo configure:6827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6954 if { (eval echo configure:6955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6827 rm -rf conftest* | 6955 rm -rf conftest* |
6828 xpm_for_msw=no | 6956 xpm_for_msw=no |
6829 else | 6957 else |
6830 echo "configure: failed program was:" >&5 | 6958 echo "configure: failed program was:" >&5 |
6831 cat conftest.$ac_ext >&5 | 6959 cat conftest.$ac_ext >&5 |
6863 fi | 6991 fi |
6864 | 6992 |
6865 if test "$with_png $with_tiff" != "no no"; then | 6993 if test "$with_png $with_tiff" != "no no"; then |
6866 | 6994 |
6867 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6995 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
6868 echo "configure:6869: checking for inflate in -lc" >&5 | 6996 echo "configure:6997: checking for inflate in -lc" >&5 |
6869 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6997 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
6870 | 6998 |
6871 xe_check_libs=" -lc " | 6999 xe_check_libs=" -lc " |
6872 cat > conftest.$ac_ext <<EOF | 7000 cat > conftest.$ac_ext <<EOF |
6873 #line 6874 "configure" | 7001 #line 7002 "configure" |
6874 #include "confdefs.h" | 7002 #include "confdefs.h" |
6875 /* Override any gcc2 internal prototype to avoid an error. */ | 7003 /* Override any gcc2 internal prototype to avoid an error. */ |
6876 /* We use char because int might match the return type of a gcc2 | 7004 /* We use char because int might match the return type of a gcc2 |
6877 builtin and then its argument prototype would still apply. */ | 7005 builtin and then its argument prototype would still apply. */ |
6878 char inflate(); | 7006 char inflate(); |
6879 | 7007 |
6880 int main() { | 7008 int main() { |
6881 inflate() | 7009 inflate() |
6882 ; return 0; } | 7010 ; return 0; } |
6883 EOF | 7011 EOF |
6884 if { (eval echo configure:6885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7012 if { (eval echo configure:7013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6885 rm -rf conftest* | 7013 rm -rf conftest* |
6886 eval "ac_cv_lib_$ac_lib_var=yes" | 7014 eval "ac_cv_lib_$ac_lib_var=yes" |
6887 else | 7015 else |
6888 echo "configure: failed program was:" >&5 | 7016 echo "configure: failed program was:" >&5 |
6889 cat conftest.$ac_ext >&5 | 7017 cat conftest.$ac_ext >&5 |
6898 : | 7026 : |
6899 else | 7027 else |
6900 echo "$ac_t""no" 1>&6 | 7028 echo "$ac_t""no" 1>&6 |
6901 | 7029 |
6902 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 7030 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
6903 echo "configure:6904: checking for inflate in -lz" >&5 | 7031 echo "configure:7032: checking for inflate in -lz" >&5 |
6904 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 7032 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
6905 | 7033 |
6906 xe_check_libs=" -lz " | 7034 xe_check_libs=" -lz " |
6907 cat > conftest.$ac_ext <<EOF | 7035 cat > conftest.$ac_ext <<EOF |
6908 #line 6909 "configure" | 7036 #line 7037 "configure" |
6909 #include "confdefs.h" | 7037 #include "confdefs.h" |
6910 /* Override any gcc2 internal prototype to avoid an error. */ | 7038 /* Override any gcc2 internal prototype to avoid an error. */ |
6911 /* We use char because int might match the return type of a gcc2 | 7039 /* We use char because int might match the return type of a gcc2 |
6912 builtin and then its argument prototype would still apply. */ | 7040 builtin and then its argument prototype would still apply. */ |
6913 char inflate(); | 7041 char inflate(); |
6914 | 7042 |
6915 int main() { | 7043 int main() { |
6916 inflate() | 7044 inflate() |
6917 ; return 0; } | 7045 ; return 0; } |
6918 EOF | 7046 EOF |
6919 if { (eval echo configure:6920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7047 if { (eval echo configure:7048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6920 rm -rf conftest* | 7048 rm -rf conftest* |
6921 eval "ac_cv_lib_$ac_lib_var=yes" | 7049 eval "ac_cv_lib_$ac_lib_var=yes" |
6922 else | 7050 else |
6923 echo "configure: failed program was:" >&5 | 7051 echo "configure: failed program was:" >&5 |
6924 cat conftest.$ac_ext >&5 | 7052 cat conftest.$ac_ext >&5 |
6933 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 7061 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
6934 else | 7062 else |
6935 echo "$ac_t""no" 1>&6 | 7063 echo "$ac_t""no" 1>&6 |
6936 | 7064 |
6937 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 7065 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
6938 echo "configure:6939: checking for inflate in -lgz" >&5 | 7066 echo "configure:7067: checking for inflate in -lgz" >&5 |
6939 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 7067 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
6940 | 7068 |
6941 xe_check_libs=" -lgz " | 7069 xe_check_libs=" -lgz " |
6942 cat > conftest.$ac_ext <<EOF | 7070 cat > conftest.$ac_ext <<EOF |
6943 #line 6944 "configure" | 7071 #line 7072 "configure" |
6944 #include "confdefs.h" | 7072 #include "confdefs.h" |
6945 /* Override any gcc2 internal prototype to avoid an error. */ | 7073 /* Override any gcc2 internal prototype to avoid an error. */ |
6946 /* We use char because int might match the return type of a gcc2 | 7074 /* We use char because int might match the return type of a gcc2 |
6947 builtin and then its argument prototype would still apply. */ | 7075 builtin and then its argument prototype would still apply. */ |
6948 char inflate(); | 7076 char inflate(); |
6949 | 7077 |
6950 int main() { | 7078 int main() { |
6951 inflate() | 7079 inflate() |
6952 ; return 0; } | 7080 ; return 0; } |
6953 EOF | 7081 EOF |
6954 if { (eval echo configure:6955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7082 if { (eval echo configure:7083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6955 rm -rf conftest* | 7083 rm -rf conftest* |
6956 eval "ac_cv_lib_$ac_lib_var=yes" | 7084 eval "ac_cv_lib_$ac_lib_var=yes" |
6957 else | 7085 else |
6958 echo "configure: failed program was:" >&5 | 7086 echo "configure: failed program was:" >&5 |
6959 cat conftest.$ac_ext >&5 | 7087 cat conftest.$ac_ext >&5 |
6979 | 7107 |
6980 fi | 7108 fi |
6981 | 7109 |
6982 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 7110 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6983 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 7111 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6984 echo "configure:6985: checking for jpeglib.h" >&5 | 7112 echo "configure:7113: checking for jpeglib.h" >&5 |
6985 | 7113 |
6986 cat > conftest.$ac_ext <<EOF | 7114 cat > conftest.$ac_ext <<EOF |
6987 #line 6988 "configure" | 7115 #line 7116 "configure" |
6988 #include "confdefs.h" | 7116 #include "confdefs.h" |
6989 #include <jpeglib.h> | 7117 #include <jpeglib.h> |
6990 EOF | 7118 EOF |
6991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6992 { (eval echo configure:6993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7120 { (eval echo configure:7121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7121 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6994 if test -z "$ac_err"; then | 7122 if test -z "$ac_err"; then |
6995 rm -rf conftest* | 7123 rm -rf conftest* |
6996 eval "ac_cv_header_$ac_safe=yes" | 7124 eval "ac_cv_header_$ac_safe=yes" |
6997 else | 7125 else |
7010 with_jpeg=no | 7138 with_jpeg=no |
7011 fi | 7139 fi |
7012 } | 7140 } |
7013 test -z "$with_jpeg" && { | 7141 test -z "$with_jpeg" && { |
7014 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7142 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
7015 echo "configure:7016: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7143 echo "configure:7144: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
7016 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7144 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
7017 | 7145 |
7018 xe_check_libs=" -ljpeg " | 7146 xe_check_libs=" -ljpeg " |
7019 cat > conftest.$ac_ext <<EOF | 7147 cat > conftest.$ac_ext <<EOF |
7020 #line 7021 "configure" | 7148 #line 7149 "configure" |
7021 #include "confdefs.h" | 7149 #include "confdefs.h" |
7022 /* Override any gcc2 internal prototype to avoid an error. */ | 7150 /* Override any gcc2 internal prototype to avoid an error. */ |
7023 /* We use char because int might match the return type of a gcc2 | 7151 /* We use char because int might match the return type of a gcc2 |
7024 builtin and then its argument prototype would still apply. */ | 7152 builtin and then its argument prototype would still apply. */ |
7025 char jpeg_destroy_decompress(); | 7153 char jpeg_destroy_decompress(); |
7026 | 7154 |
7027 int main() { | 7155 int main() { |
7028 jpeg_destroy_decompress() | 7156 jpeg_destroy_decompress() |
7029 ; return 0; } | 7157 ; return 0; } |
7030 EOF | 7158 EOF |
7031 if { (eval echo configure:7032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7159 if { (eval echo configure:7160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7032 rm -rf conftest* | 7160 rm -rf conftest* |
7033 eval "ac_cv_lib_$ac_lib_var=yes" | 7161 eval "ac_cv_lib_$ac_lib_var=yes" |
7034 else | 7162 else |
7035 echo "configure: failed program was:" >&5 | 7163 echo "configure: failed program was:" >&5 |
7036 cat conftest.$ac_ext >&5 | 7164 cat conftest.$ac_ext >&5 |
7062 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7190 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
7063 fi | 7191 fi |
7064 | 7192 |
7065 png_problem="" | 7193 png_problem="" |
7066 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7194 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
7067 echo "configure:7068: checking for pow" >&5 | 7195 echo "configure:7196: checking for pow" >&5 |
7068 | 7196 |
7069 cat > conftest.$ac_ext <<EOF | 7197 cat > conftest.$ac_ext <<EOF |
7070 #line 7071 "configure" | 7198 #line 7199 "configure" |
7071 #include "confdefs.h" | 7199 #include "confdefs.h" |
7072 /* System header to define __stub macros and hopefully few prototypes, | 7200 /* System header to define __stub macros and hopefully few prototypes, |
7073 which can conflict with char pow(); below. */ | 7201 which can conflict with char pow(); below. */ |
7074 #include <assert.h> | 7202 #include <assert.h> |
7075 /* Override any gcc2 internal prototype to avoid an error. */ | 7203 /* Override any gcc2 internal prototype to avoid an error. */ |
7088 pow(); | 7216 pow(); |
7089 #endif | 7217 #endif |
7090 | 7218 |
7091 ; return 0; } | 7219 ; return 0; } |
7092 EOF | 7220 EOF |
7093 if { (eval echo configure:7094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7221 if { (eval echo configure:7222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7094 rm -rf conftest* | 7222 rm -rf conftest* |
7095 eval "ac_cv_func_pow=yes" | 7223 eval "ac_cv_func_pow=yes" |
7096 else | 7224 else |
7097 echo "configure: failed program was:" >&5 | 7225 echo "configure: failed program was:" >&5 |
7098 cat conftest.$ac_ext >&5 | 7226 cat conftest.$ac_ext >&5 |
7109 with_png=no | 7237 with_png=no |
7110 fi | 7238 fi |
7111 } | 7239 } |
7112 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7240 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
7113 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7241 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
7114 echo "configure:7115: checking for png.h" >&5 | 7242 echo "configure:7243: checking for png.h" >&5 |
7115 | 7243 |
7116 cat > conftest.$ac_ext <<EOF | 7244 cat > conftest.$ac_ext <<EOF |
7117 #line 7118 "configure" | 7245 #line 7246 "configure" |
7118 #include "confdefs.h" | 7246 #include "confdefs.h" |
7119 #include <png.h> | 7247 #include <png.h> |
7120 EOF | 7248 EOF |
7121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7249 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7122 { (eval echo configure:7123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7250 { (eval echo configure:7251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7251 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7124 if test -z "$ac_err"; then | 7252 if test -z "$ac_err"; then |
7125 rm -rf conftest* | 7253 rm -rf conftest* |
7126 eval "ac_cv_header_$ac_safe=yes" | 7254 eval "ac_cv_header_$ac_safe=yes" |
7127 else | 7255 else |
7140 with_png=no | 7268 with_png=no |
7141 fi | 7269 fi |
7142 } | 7270 } |
7143 test -z "$with_png" && { | 7271 test -z "$with_png" && { |
7144 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7272 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
7145 echo "configure:7146: checking for png_read_image in -lpng" >&5 | 7273 echo "configure:7274: checking for png_read_image in -lpng" >&5 |
7146 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7274 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
7147 | 7275 |
7148 xe_check_libs=" -lpng " | 7276 xe_check_libs=" -lpng " |
7149 cat > conftest.$ac_ext <<EOF | 7277 cat > conftest.$ac_ext <<EOF |
7150 #line 7151 "configure" | 7278 #line 7279 "configure" |
7151 #include "confdefs.h" | 7279 #include "confdefs.h" |
7152 /* Override any gcc2 internal prototype to avoid an error. */ | 7280 /* Override any gcc2 internal prototype to avoid an error. */ |
7153 /* We use char because int might match the return type of a gcc2 | 7281 /* We use char because int might match the return type of a gcc2 |
7154 builtin and then its argument prototype would still apply. */ | 7282 builtin and then its argument prototype would still apply. */ |
7155 char png_read_image(); | 7283 char png_read_image(); |
7156 | 7284 |
7157 int main() { | 7285 int main() { |
7158 png_read_image() | 7286 png_read_image() |
7159 ; return 0; } | 7287 ; return 0; } |
7160 EOF | 7288 EOF |
7161 if { (eval echo configure:7162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7289 if { (eval echo configure:7290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7162 rm -rf conftest* | 7290 rm -rf conftest* |
7163 eval "ac_cv_lib_$ac_lib_var=yes" | 7291 eval "ac_cv_lib_$ac_lib_var=yes" |
7164 else | 7292 else |
7165 echo "configure: failed program was:" >&5 | 7293 echo "configure: failed program was:" >&5 |
7166 cat conftest.$ac_ext >&5 | 7294 cat conftest.$ac_ext >&5 |
7179 fi | 7307 fi |
7180 | 7308 |
7181 } | 7309 } |
7182 if test -z "$with_png"; then | 7310 if test -z "$with_png"; then |
7183 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 7311 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
7184 echo "configure:7185: checking for workable png version information" >&5 | 7312 echo "configure:7313: checking for workable png version information" >&5 |
7185 xe_check_libs="-lpng -lz" | 7313 xe_check_libs="-lpng -lz" |
7186 cat > conftest.$ac_ext <<EOF | 7314 cat > conftest.$ac_ext <<EOF |
7187 #line 7188 "configure" | 7315 #line 7316 "configure" |
7188 #include "confdefs.h" | 7316 #include "confdefs.h" |
7189 #include <png.h> | 7317 #include <png.h> |
7190 int main(int c, char **v) { | 7318 int main(int c, char **v) { |
7191 if (c == 1) return 0; | 7319 if (c == 1) return 0; |
7192 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 7320 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
7193 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 7321 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
7194 EOF | 7322 EOF |
7195 if { (eval echo configure:7196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7323 if { (eval echo configure:7324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7196 then | 7324 then |
7197 ./conftest dummy_arg; png_status=$?; | 7325 ./conftest dummy_arg; png_status=$?; |
7198 if test "$png_status" = "0"; then | 7326 if test "$png_status" = "0"; then |
7199 with_png=yes; | 7327 with_png=yes; |
7200 else | 7328 else |
7233 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 7361 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
7234 fi | 7362 fi |
7235 | 7363 |
7236 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 7364 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
7237 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 7365 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
7238 echo "configure:7239: checking for tiffio.h" >&5 | 7366 echo "configure:7367: checking for tiffio.h" >&5 |
7239 | 7367 |
7240 cat > conftest.$ac_ext <<EOF | 7368 cat > conftest.$ac_ext <<EOF |
7241 #line 7242 "configure" | 7369 #line 7370 "configure" |
7242 #include "confdefs.h" | 7370 #include "confdefs.h" |
7243 #include <tiffio.h> | 7371 #include <tiffio.h> |
7244 EOF | 7372 EOF |
7245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7373 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7246 { (eval echo configure:7247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7374 { (eval echo configure:7375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7375 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7248 if test -z "$ac_err"; then | 7376 if test -z "$ac_err"; then |
7249 rm -rf conftest* | 7377 rm -rf conftest* |
7250 eval "ac_cv_header_$ac_safe=yes" | 7378 eval "ac_cv_header_$ac_safe=yes" |
7251 else | 7379 else |
7264 with_tiff=no | 7392 with_tiff=no |
7265 fi | 7393 fi |
7266 } | 7394 } |
7267 test -z "$with_tiff" && { | 7395 test -z "$with_tiff" && { |
7268 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7396 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
7269 echo "configure:7270: checking for TIFFClientOpen in -ltiff" >&5 | 7397 echo "configure:7398: checking for TIFFClientOpen in -ltiff" >&5 |
7270 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7398 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
7271 | 7399 |
7272 xe_check_libs=" -ltiff " | 7400 xe_check_libs=" -ltiff " |
7273 cat > conftest.$ac_ext <<EOF | 7401 cat > conftest.$ac_ext <<EOF |
7274 #line 7275 "configure" | 7402 #line 7403 "configure" |
7275 #include "confdefs.h" | 7403 #include "confdefs.h" |
7276 /* Override any gcc2 internal prototype to avoid an error. */ | 7404 /* Override any gcc2 internal prototype to avoid an error. */ |
7277 /* We use char because int might match the return type of a gcc2 | 7405 /* We use char because int might match the return type of a gcc2 |
7278 builtin and then its argument prototype would still apply. */ | 7406 builtin and then its argument prototype would still apply. */ |
7279 char TIFFClientOpen(); | 7407 char TIFFClientOpen(); |
7280 | 7408 |
7281 int main() { | 7409 int main() { |
7282 TIFFClientOpen() | 7410 TIFFClientOpen() |
7283 ; return 0; } | 7411 ; return 0; } |
7284 EOF | 7412 EOF |
7285 if { (eval echo configure:7286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7413 if { (eval echo configure:7414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7286 rm -rf conftest* | 7414 rm -rf conftest* |
7287 eval "ac_cv_lib_$ac_lib_var=yes" | 7415 eval "ac_cv_lib_$ac_lib_var=yes" |
7288 else | 7416 else |
7289 echo "configure: failed program was:" >&5 | 7417 echo "configure: failed program was:" >&5 |
7290 cat conftest.$ac_ext >&5 | 7418 cat conftest.$ac_ext >&5 |
7319 | 7447 |
7320 | 7448 |
7321 if test "$with_x11" = "yes"; then | 7449 if test "$with_x11" = "yes"; then |
7322 | 7450 |
7323 echo "checking for X11 graphics libraries" 1>&6 | 7451 echo "checking for X11 graphics libraries" 1>&6 |
7324 echo "configure:7325: checking for X11 graphics libraries" >&5 | 7452 echo "configure:7453: checking for X11 graphics libraries" >&5 |
7325 | 7453 |
7326 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7454 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
7327 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7455 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
7328 echo "configure:7329: checking for compface.h" >&5 | 7456 echo "configure:7457: checking for compface.h" >&5 |
7329 | 7457 |
7330 cat > conftest.$ac_ext <<EOF | 7458 cat > conftest.$ac_ext <<EOF |
7331 #line 7332 "configure" | 7459 #line 7460 "configure" |
7332 #include "confdefs.h" | 7460 #include "confdefs.h" |
7333 #include <compface.h> | 7461 #include <compface.h> |
7334 EOF | 7462 EOF |
7335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7336 { (eval echo configure:7337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7464 { (eval echo configure:7465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7338 if test -z "$ac_err"; then | 7466 if test -z "$ac_err"; then |
7339 rm -rf conftest* | 7467 rm -rf conftest* |
7340 eval "ac_cv_header_$ac_safe=yes" | 7468 eval "ac_cv_header_$ac_safe=yes" |
7341 else | 7469 else |
7354 with_xface=no | 7482 with_xface=no |
7355 fi | 7483 fi |
7356 } | 7484 } |
7357 test -z "$with_xface" && { | 7485 test -z "$with_xface" && { |
7358 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7486 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7359 echo "configure:7360: checking for UnGenFace in -lcompface" >&5 | 7487 echo "configure:7488: checking for UnGenFace in -lcompface" >&5 |
7360 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7488 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7361 | 7489 |
7362 xe_check_libs=" -lcompface " | 7490 xe_check_libs=" -lcompface " |
7363 cat > conftest.$ac_ext <<EOF | 7491 cat > conftest.$ac_ext <<EOF |
7364 #line 7365 "configure" | 7492 #line 7493 "configure" |
7365 #include "confdefs.h" | 7493 #include "confdefs.h" |
7366 /* Override any gcc2 internal prototype to avoid an error. */ | 7494 /* Override any gcc2 internal prototype to avoid an error. */ |
7367 /* We use char because int might match the return type of a gcc2 | 7495 /* We use char because int might match the return type of a gcc2 |
7368 builtin and then its argument prototype would still apply. */ | 7496 builtin and then its argument prototype would still apply. */ |
7369 char UnGenFace(); | 7497 char UnGenFace(); |
7370 | 7498 |
7371 int main() { | 7499 int main() { |
7372 UnGenFace() | 7500 UnGenFace() |
7373 ; return 0; } | 7501 ; return 0; } |
7374 EOF | 7502 EOF |
7375 if { (eval echo configure:7376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7503 if { (eval echo configure:7504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7376 rm -rf conftest* | 7504 rm -rf conftest* |
7377 eval "ac_cv_lib_$ac_lib_var=yes" | 7505 eval "ac_cv_lib_$ac_lib_var=yes" |
7378 else | 7506 else |
7379 echo "configure: failed program was:" >&5 | 7507 echo "configure: failed program was:" >&5 |
7380 cat conftest.$ac_ext >&5 | 7508 cat conftest.$ac_ext >&5 |
7406 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 7534 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
7407 fi | 7535 fi |
7408 | 7536 |
7409 | 7537 |
7410 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7538 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
7411 echo "configure:7412: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7539 echo "configure:7540: checking for XawScrollbarSetThumb in -lXaw" >&5 |
7412 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7540 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7413 | 7541 |
7414 xe_check_libs=" -lXaw " | 7542 xe_check_libs=" -lXaw " |
7415 cat > conftest.$ac_ext <<EOF | 7543 cat > conftest.$ac_ext <<EOF |
7416 #line 7417 "configure" | 7544 #line 7545 "configure" |
7417 #include "confdefs.h" | 7545 #include "confdefs.h" |
7418 /* Override any gcc2 internal prototype to avoid an error. */ | 7546 /* Override any gcc2 internal prototype to avoid an error. */ |
7419 /* We use char because int might match the return type of a gcc2 | 7547 /* We use char because int might match the return type of a gcc2 |
7420 builtin and then its argument prototype would still apply. */ | 7548 builtin and then its argument prototype would still apply. */ |
7421 char XawScrollbarSetThumb(); | 7549 char XawScrollbarSetThumb(); |
7422 | 7550 |
7423 int main() { | 7551 int main() { |
7424 XawScrollbarSetThumb() | 7552 XawScrollbarSetThumb() |
7425 ; return 0; } | 7553 ; return 0; } |
7426 EOF | 7554 EOF |
7427 if { (eval echo configure:7428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7555 if { (eval echo configure:7556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7428 rm -rf conftest* | 7556 rm -rf conftest* |
7429 eval "ac_cv_lib_$ac_lib_var=yes" | 7557 eval "ac_cv_lib_$ac_lib_var=yes" |
7430 else | 7558 else |
7431 echo "configure: failed program was:" >&5 | 7559 echo "configure: failed program was:" >&5 |
7432 cat conftest.$ac_ext >&5 | 7560 cat conftest.$ac_ext >&5 |
7446 | 7574 |
7447 | 7575 |
7448 | 7576 |
7449 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7577 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7450 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7578 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7451 echo "configure:7452: checking for Xm/Xm.h" >&5 | 7579 echo "configure:7580: checking for Xm/Xm.h" >&5 |
7452 | 7580 |
7453 cat > conftest.$ac_ext <<EOF | 7581 cat > conftest.$ac_ext <<EOF |
7454 #line 7455 "configure" | 7582 #line 7583 "configure" |
7455 #include "confdefs.h" | 7583 #include "confdefs.h" |
7456 #include <Xm/Xm.h> | 7584 #include <Xm/Xm.h> |
7457 EOF | 7585 EOF |
7458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7459 { (eval echo configure:7460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7587 { (eval echo configure:7588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7461 if test -z "$ac_err"; then | 7589 if test -z "$ac_err"; then |
7462 rm -rf conftest* | 7590 rm -rf conftest* |
7463 eval "ac_cv_header_$ac_safe=yes" | 7591 eval "ac_cv_header_$ac_safe=yes" |
7464 else | 7592 else |
7471 rm -f conftest* | 7599 rm -f conftest* |
7472 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7600 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7473 echo "$ac_t""yes" 1>&6 | 7601 echo "$ac_t""yes" 1>&6 |
7474 | 7602 |
7475 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7603 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7476 echo "configure:7477: checking for XmStringFree in -lXm" >&5 | 7604 echo "configure:7605: checking for XmStringFree in -lXm" >&5 |
7477 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7605 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7478 | 7606 |
7479 xe_check_libs=" -lXm " | 7607 xe_check_libs=" -lXm " |
7480 cat > conftest.$ac_ext <<EOF | 7608 cat > conftest.$ac_ext <<EOF |
7481 #line 7482 "configure" | 7609 #line 7610 "configure" |
7482 #include "confdefs.h" | 7610 #include "confdefs.h" |
7483 /* Override any gcc2 internal prototype to avoid an error. */ | 7611 /* Override any gcc2 internal prototype to avoid an error. */ |
7484 /* We use char because int might match the return type of a gcc2 | 7612 /* We use char because int might match the return type of a gcc2 |
7485 builtin and then its argument prototype would still apply. */ | 7613 builtin and then its argument prototype would still apply. */ |
7486 char XmStringFree(); | 7614 char XmStringFree(); |
7487 | 7615 |
7488 int main() { | 7616 int main() { |
7489 XmStringFree() | 7617 XmStringFree() |
7490 ; return 0; } | 7618 ; return 0; } |
7491 EOF | 7619 EOF |
7492 if { (eval echo configure:7493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7620 if { (eval echo configure:7621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7493 rm -rf conftest* | 7621 rm -rf conftest* |
7494 eval "ac_cv_lib_$ac_lib_var=yes" | 7622 eval "ac_cv_lib_$ac_lib_var=yes" |
7495 else | 7623 else |
7496 echo "configure: failed program was:" >&5 | 7624 echo "configure: failed program was:" >&5 |
7497 cat conftest.$ac_ext >&5 | 7625 cat conftest.$ac_ext >&5 |
7516 fi | 7644 fi |
7517 | 7645 |
7518 | 7646 |
7519 if test "$have_motif" = "yes"; then | 7647 if test "$have_motif" = "yes"; then |
7520 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7648 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7521 echo "configure:7522: checking for Lesstif" >&5 | 7649 echo "configure:7650: checking for Lesstif" >&5 |
7522 cat > conftest.$ac_ext <<EOF | 7650 cat > conftest.$ac_ext <<EOF |
7523 #line 7524 "configure" | 7651 #line 7652 "configure" |
7524 #include "confdefs.h" | 7652 #include "confdefs.h" |
7525 #include <Xm/Xm.h> | 7653 #include <Xm/Xm.h> |
7526 #ifdef LESSTIF_VERSION | 7654 #ifdef LESSTIF_VERSION |
7527 yes | 7655 yes |
7528 #endif | 7656 #endif |
7802 fi | 7930 fi |
7803 fi | 7931 fi |
7804 | 7932 |
7805 if test "$with_mule" = "yes" ; then | 7933 if test "$with_mule" = "yes" ; then |
7806 echo "checking for Mule-related features" 1>&6 | 7934 echo "checking for Mule-related features" 1>&6 |
7807 echo "configure:7808: checking for Mule-related features" >&5 | 7935 echo "configure:7936: checking for Mule-related features" >&5 |
7808 { test "$extra_verbose" = "yes" && cat << \EOF | 7936 { test "$extra_verbose" = "yes" && cat << \EOF |
7809 Defining MULE | 7937 Defining MULE |
7810 EOF | 7938 EOF |
7811 cat >> confdefs.h <<\EOF | 7939 cat >> confdefs.h <<\EOF |
7812 #define MULE 1 | 7940 #define MULE 1 |
7827 | 7955 |
7828 for ac_hdr in libintl.h | 7956 for ac_hdr in libintl.h |
7829 do | 7957 do |
7830 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7958 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7831 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7959 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7832 echo "configure:7833: checking for $ac_hdr" >&5 | 7960 echo "configure:7961: checking for $ac_hdr" >&5 |
7833 | 7961 |
7834 cat > conftest.$ac_ext <<EOF | 7962 cat > conftest.$ac_ext <<EOF |
7835 #line 7836 "configure" | 7963 #line 7964 "configure" |
7836 #include "confdefs.h" | 7964 #include "confdefs.h" |
7837 #include <$ac_hdr> | 7965 #include <$ac_hdr> |
7838 EOF | 7966 EOF |
7839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7840 { (eval echo configure:7841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7968 { (eval echo configure:7969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7841 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7842 if test -z "$ac_err"; then | 7970 if test -z "$ac_err"; then |
7843 rm -rf conftest* | 7971 rm -rf conftest* |
7844 eval "ac_cv_header_$ac_safe=yes" | 7972 eval "ac_cv_header_$ac_safe=yes" |
7845 else | 7973 else |
7866 fi | 7994 fi |
7867 done | 7995 done |
7868 | 7996 |
7869 | 7997 |
7870 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7998 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7871 echo "configure:7872: checking for strerror in -lintl" >&5 | 7999 echo "configure:8000: checking for strerror in -lintl" >&5 |
7872 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 8000 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7873 | 8001 |
7874 xe_check_libs=" -lintl " | 8002 xe_check_libs=" -lintl " |
7875 cat > conftest.$ac_ext <<EOF | 8003 cat > conftest.$ac_ext <<EOF |
7876 #line 7877 "configure" | 8004 #line 8005 "configure" |
7877 #include "confdefs.h" | 8005 #include "confdefs.h" |
7878 /* Override any gcc2 internal prototype to avoid an error. */ | 8006 /* Override any gcc2 internal prototype to avoid an error. */ |
7879 /* We use char because int might match the return type of a gcc2 | 8007 /* We use char because int might match the return type of a gcc2 |
7880 builtin and then its argument prototype would still apply. */ | 8008 builtin and then its argument prototype would still apply. */ |
7881 char strerror(); | 8009 char strerror(); |
7882 | 8010 |
7883 int main() { | 8011 int main() { |
7884 strerror() | 8012 strerror() |
7885 ; return 0; } | 8013 ; return 0; } |
7886 EOF | 8014 EOF |
7887 if { (eval echo configure:7888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8015 if { (eval echo configure:8016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7888 rm -rf conftest* | 8016 rm -rf conftest* |
7889 eval "ac_cv_lib_$ac_lib_var=yes" | 8017 eval "ac_cv_lib_$ac_lib_var=yes" |
7890 else | 8018 else |
7891 echo "configure: failed program was:" >&5 | 8019 echo "configure: failed program was:" >&5 |
7892 cat conftest.$ac_ext >&5 | 8020 cat conftest.$ac_ext >&5 |
7915 fi | 8043 fi |
7916 | 8044 |
7917 | 8045 |
7918 | 8046 |
7919 echo "checking for Mule input methods" 1>&6 | 8047 echo "checking for Mule input methods" 1>&6 |
7920 echo "configure:7921: checking for Mule input methods" >&5 | 8048 echo "configure:8049: checking for Mule input methods" >&5 |
7921 case "$with_xim" in "" | "yes" ) | 8049 case "$with_xim" in "" | "yes" ) |
7922 echo "checking for XIM" 1>&6 | 8050 echo "checking for XIM" 1>&6 |
7923 echo "configure:7924: checking for XIM" >&5 | 8051 echo "configure:8052: checking for XIM" >&5 |
7924 | 8052 |
7925 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 8053 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
7926 echo "configure:7927: checking for XOpenIM in -lX11" >&5 | 8054 echo "configure:8055: checking for XOpenIM in -lX11" >&5 |
7927 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 8055 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
7928 | 8056 |
7929 xe_check_libs=" -lX11 " | 8057 xe_check_libs=" -lX11 " |
7930 cat > conftest.$ac_ext <<EOF | 8058 cat > conftest.$ac_ext <<EOF |
7931 #line 7932 "configure" | 8059 #line 8060 "configure" |
7932 #include "confdefs.h" | 8060 #include "confdefs.h" |
7933 /* Override any gcc2 internal prototype to avoid an error. */ | 8061 /* Override any gcc2 internal prototype to avoid an error. */ |
7934 /* We use char because int might match the return type of a gcc2 | 8062 /* We use char because int might match the return type of a gcc2 |
7935 builtin and then its argument prototype would still apply. */ | 8063 builtin and then its argument prototype would still apply. */ |
7936 char XOpenIM(); | 8064 char XOpenIM(); |
7937 | 8065 |
7938 int main() { | 8066 int main() { |
7939 XOpenIM() | 8067 XOpenIM() |
7940 ; return 0; } | 8068 ; return 0; } |
7941 EOF | 8069 EOF |
7942 if { (eval echo configure:7943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8070 if { (eval echo configure:8071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7943 rm -rf conftest* | 8071 rm -rf conftest* |
7944 eval "ac_cv_lib_$ac_lib_var=yes" | 8072 eval "ac_cv_lib_$ac_lib_var=yes" |
7945 else | 8073 else |
7946 echo "configure: failed program was:" >&5 | 8074 echo "configure: failed program was:" >&5 |
7947 cat conftest.$ac_ext >&5 | 8075 cat conftest.$ac_ext >&5 |
7961 | 8089 |
7962 | 8090 |
7963 if test "$have_motif $have_lesstif" = "yes no"; then | 8091 if test "$have_motif $have_lesstif" = "yes no"; then |
7964 | 8092 |
7965 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 8093 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7966 echo "configure:7967: checking for XmImMbLookupString in -lXm" >&5 | 8094 echo "configure:8095: checking for XmImMbLookupString in -lXm" >&5 |
7967 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 8095 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7968 | 8096 |
7969 xe_check_libs=" -lXm " | 8097 xe_check_libs=" -lXm " |
7970 cat > conftest.$ac_ext <<EOF | 8098 cat > conftest.$ac_ext <<EOF |
7971 #line 7972 "configure" | 8099 #line 8100 "configure" |
7972 #include "confdefs.h" | 8100 #include "confdefs.h" |
7973 /* Override any gcc2 internal prototype to avoid an error. */ | 8101 /* Override any gcc2 internal prototype to avoid an error. */ |
7974 /* We use char because int might match the return type of a gcc2 | 8102 /* We use char because int might match the return type of a gcc2 |
7975 builtin and then its argument prototype would still apply. */ | 8103 builtin and then its argument prototype would still apply. */ |
7976 char XmImMbLookupString(); | 8104 char XmImMbLookupString(); |
7977 | 8105 |
7978 int main() { | 8106 int main() { |
7979 XmImMbLookupString() | 8107 XmImMbLookupString() |
7980 ; return 0; } | 8108 ; return 0; } |
7981 EOF | 8109 EOF |
7982 if { (eval echo configure:7983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8110 if { (eval echo configure:8111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7983 rm -rf conftest* | 8111 rm -rf conftest* |
7984 eval "ac_cv_lib_$ac_lib_var=yes" | 8112 eval "ac_cv_lib_$ac_lib_var=yes" |
7985 else | 8113 else |
7986 echo "configure: failed program was:" >&5 | 8114 echo "configure: failed program was:" >&5 |
7987 cat conftest.$ac_ext >&5 | 8115 cat conftest.$ac_ext >&5 |
8042 fi | 8170 fi |
8043 fi | 8171 fi |
8044 | 8172 |
8045 if test "$with_xfs" = "yes" ; then | 8173 if test "$with_xfs" = "yes" ; then |
8046 echo "checking for XFontSet" 1>&6 | 8174 echo "checking for XFontSet" 1>&6 |
8047 echo "configure:8048: checking for XFontSet" >&5 | 8175 echo "configure:8176: checking for XFontSet" >&5 |
8048 | 8176 |
8049 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 8177 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
8050 echo "configure:8051: checking for XmbDrawString in -lX11" >&5 | 8178 echo "configure:8179: checking for XmbDrawString in -lX11" >&5 |
8051 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 8179 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
8052 | 8180 |
8053 xe_check_libs=" -lX11 " | 8181 xe_check_libs=" -lX11 " |
8054 cat > conftest.$ac_ext <<EOF | 8182 cat > conftest.$ac_ext <<EOF |
8055 #line 8056 "configure" | 8183 #line 8184 "configure" |
8056 #include "confdefs.h" | 8184 #include "confdefs.h" |
8057 /* Override any gcc2 internal prototype to avoid an error. */ | 8185 /* Override any gcc2 internal prototype to avoid an error. */ |
8058 /* We use char because int might match the return type of a gcc2 | 8186 /* We use char because int might match the return type of a gcc2 |
8059 builtin and then its argument prototype would still apply. */ | 8187 builtin and then its argument prototype would still apply. */ |
8060 char XmbDrawString(); | 8188 char XmbDrawString(); |
8061 | 8189 |
8062 int main() { | 8190 int main() { |
8063 XmbDrawString() | 8191 XmbDrawString() |
8064 ; return 0; } | 8192 ; return 0; } |
8065 EOF | 8193 EOF |
8066 if { (eval echo configure:8067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8194 if { (eval echo configure:8195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8067 rm -rf conftest* | 8195 rm -rf conftest* |
8068 eval "ac_cv_lib_$ac_lib_var=yes" | 8196 eval "ac_cv_lib_$ac_lib_var=yes" |
8069 else | 8197 else |
8070 echo "configure: failed program was:" >&5 | 8198 echo "configure: failed program was:" >&5 |
8071 cat conftest.$ac_ext >&5 | 8199 cat conftest.$ac_ext >&5 |
8101 fi | 8229 fi |
8102 fi | 8230 fi |
8103 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 8231 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
8104 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 8232 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
8105 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 8233 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
8106 echo "configure:8107: checking for wnn/jllib.h" >&5 | 8234 echo "configure:8235: checking for wnn/jllib.h" >&5 |
8107 | 8235 |
8108 cat > conftest.$ac_ext <<EOF | 8236 cat > conftest.$ac_ext <<EOF |
8109 #line 8110 "configure" | 8237 #line 8238 "configure" |
8110 #include "confdefs.h" | 8238 #include "confdefs.h" |
8111 #include <wnn/jllib.h> | 8239 #include <wnn/jllib.h> |
8112 EOF | 8240 EOF |
8113 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8241 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8114 { (eval echo configure:8115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8242 { (eval echo configure:8243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8115 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8243 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8116 if test -z "$ac_err"; then | 8244 if test -z "$ac_err"; then |
8117 rm -rf conftest* | 8245 rm -rf conftest* |
8118 eval "ac_cv_header_$ac_safe=yes" | 8246 eval "ac_cv_header_$ac_safe=yes" |
8119 else | 8247 else |
8134 } | 8262 } |
8135 if test "$with_wnn" != "no"; then | 8263 if test "$with_wnn" != "no"; then |
8136 for ac_func in crypt | 8264 for ac_func in crypt |
8137 do | 8265 do |
8138 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8139 echo "configure:8140: checking for $ac_func" >&5 | 8267 echo "configure:8268: checking for $ac_func" >&5 |
8140 | 8268 |
8141 cat > conftest.$ac_ext <<EOF | 8269 cat > conftest.$ac_ext <<EOF |
8142 #line 8143 "configure" | 8270 #line 8271 "configure" |
8143 #include "confdefs.h" | 8271 #include "confdefs.h" |
8144 /* System header to define __stub macros and hopefully few prototypes, | 8272 /* System header to define __stub macros and hopefully few prototypes, |
8145 which can conflict with char $ac_func(); below. */ | 8273 which can conflict with char $ac_func(); below. */ |
8146 #include <assert.h> | 8274 #include <assert.h> |
8147 /* Override any gcc2 internal prototype to avoid an error. */ | 8275 /* Override any gcc2 internal prototype to avoid an error. */ |
8160 $ac_func(); | 8288 $ac_func(); |
8161 #endif | 8289 #endif |
8162 | 8290 |
8163 ; return 0; } | 8291 ; return 0; } |
8164 EOF | 8292 EOF |
8165 if { (eval echo configure:8166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8293 if { (eval echo configure:8294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8166 rm -rf conftest* | 8294 rm -rf conftest* |
8167 eval "ac_cv_func_$ac_func=yes" | 8295 eval "ac_cv_func_$ac_func=yes" |
8168 else | 8296 else |
8169 echo "configure: failed program was:" >&5 | 8297 echo "configure: failed program was:" >&5 |
8170 cat conftest.$ac_ext >&5 | 8298 cat conftest.$ac_ext >&5 |
8189 fi | 8317 fi |
8190 done | 8318 done |
8191 | 8319 |
8192 test "$ac_cv_func_crypt" != "yes" && { | 8320 test "$ac_cv_func_crypt" != "yes" && { |
8193 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 8321 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
8194 echo "configure:8195: checking for crypt in -lcrypt" >&5 | 8322 echo "configure:8323: checking for crypt in -lcrypt" >&5 |
8195 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 8323 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
8196 | 8324 |
8197 xe_check_libs=" -lcrypt " | 8325 xe_check_libs=" -lcrypt " |
8198 cat > conftest.$ac_ext <<EOF | 8326 cat > conftest.$ac_ext <<EOF |
8199 #line 8200 "configure" | 8327 #line 8328 "configure" |
8200 #include "confdefs.h" | 8328 #include "confdefs.h" |
8201 /* Override any gcc2 internal prototype to avoid an error. */ | 8329 /* Override any gcc2 internal prototype to avoid an error. */ |
8202 /* We use char because int might match the return type of a gcc2 | 8330 /* We use char because int might match the return type of a gcc2 |
8203 builtin and then its argument prototype would still apply. */ | 8331 builtin and then its argument prototype would still apply. */ |
8204 char crypt(); | 8332 char crypt(); |
8205 | 8333 |
8206 int main() { | 8334 int main() { |
8207 crypt() | 8335 crypt() |
8208 ; return 0; } | 8336 ; return 0; } |
8209 EOF | 8337 EOF |
8210 if { (eval echo configure:8211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8338 if { (eval echo configure:8339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8211 rm -rf conftest* | 8339 rm -rf conftest* |
8212 eval "ac_cv_lib_$ac_lib_var=yes" | 8340 eval "ac_cv_lib_$ac_lib_var=yes" |
8213 else | 8341 else |
8214 echo "configure: failed program was:" >&5 | 8342 echo "configure: failed program was:" >&5 |
8215 cat conftest.$ac_ext >&5 | 8343 cat conftest.$ac_ext >&5 |
8240 } | 8368 } |
8241 fi | 8369 fi |
8242 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 8370 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
8243 | 8371 |
8244 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 8372 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
8245 echo "configure:8246: checking for jl_dic_list_e in -lwnn" >&5 | 8373 echo "configure:8374: checking for jl_dic_list_e in -lwnn" >&5 |
8246 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8374 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8247 | 8375 |
8248 xe_check_libs=" -lwnn " | 8376 xe_check_libs=" -lwnn " |
8249 cat > conftest.$ac_ext <<EOF | 8377 cat > conftest.$ac_ext <<EOF |
8250 #line 8251 "configure" | 8378 #line 8379 "configure" |
8251 #include "confdefs.h" | 8379 #include "confdefs.h" |
8252 /* Override any gcc2 internal prototype to avoid an error. */ | 8380 /* Override any gcc2 internal prototype to avoid an error. */ |
8253 /* We use char because int might match the return type of a gcc2 | 8381 /* We use char because int might match the return type of a gcc2 |
8254 builtin and then its argument prototype would still apply. */ | 8382 builtin and then its argument prototype would still apply. */ |
8255 char jl_dic_list_e(); | 8383 char jl_dic_list_e(); |
8256 | 8384 |
8257 int main() { | 8385 int main() { |
8258 jl_dic_list_e() | 8386 jl_dic_list_e() |
8259 ; return 0; } | 8387 ; return 0; } |
8260 EOF | 8388 EOF |
8261 if { (eval echo configure:8262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8389 if { (eval echo configure:8390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8262 rm -rf conftest* | 8390 rm -rf conftest* |
8263 eval "ac_cv_lib_$ac_lib_var=yes" | 8391 eval "ac_cv_lib_$ac_lib_var=yes" |
8264 else | 8392 else |
8265 echo "configure: failed program was:" >&5 | 8393 echo "configure: failed program was:" >&5 |
8266 cat conftest.$ac_ext >&5 | 8394 cat conftest.$ac_ext >&5 |
8274 echo "$ac_t""yes" 1>&6 | 8402 echo "$ac_t""yes" 1>&6 |
8275 libwnn=wnn | 8403 libwnn=wnn |
8276 else | 8404 else |
8277 echo "$ac_t""no" 1>&6 | 8405 echo "$ac_t""no" 1>&6 |
8278 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 8406 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
8279 echo "configure:8280: checking for jl_dic_list_e in -lwnn4" >&5 | 8407 echo "configure:8408: checking for jl_dic_list_e in -lwnn4" >&5 |
8280 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8408 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8281 | 8409 |
8282 xe_check_libs=" -lwnn4 " | 8410 xe_check_libs=" -lwnn4 " |
8283 cat > conftest.$ac_ext <<EOF | 8411 cat > conftest.$ac_ext <<EOF |
8284 #line 8285 "configure" | 8412 #line 8413 "configure" |
8285 #include "confdefs.h" | 8413 #include "confdefs.h" |
8286 /* Override any gcc2 internal prototype to avoid an error. */ | 8414 /* Override any gcc2 internal prototype to avoid an error. */ |
8287 /* We use char because int might match the return type of a gcc2 | 8415 /* We use char because int might match the return type of a gcc2 |
8288 builtin and then its argument prototype would still apply. */ | 8416 builtin and then its argument prototype would still apply. */ |
8289 char jl_dic_list_e(); | 8417 char jl_dic_list_e(); |
8290 | 8418 |
8291 int main() { | 8419 int main() { |
8292 jl_dic_list_e() | 8420 jl_dic_list_e() |
8293 ; return 0; } | 8421 ; return 0; } |
8294 EOF | 8422 EOF |
8295 if { (eval echo configure:8296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8423 if { (eval echo configure:8424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8296 rm -rf conftest* | 8424 rm -rf conftest* |
8297 eval "ac_cv_lib_$ac_lib_var=yes" | 8425 eval "ac_cv_lib_$ac_lib_var=yes" |
8298 else | 8426 else |
8299 echo "configure: failed program was:" >&5 | 8427 echo "configure: failed program was:" >&5 |
8300 cat conftest.$ac_ext >&5 | 8428 cat conftest.$ac_ext >&5 |
8308 echo "$ac_t""yes" 1>&6 | 8436 echo "$ac_t""yes" 1>&6 |
8309 libwnn=wnn4 | 8437 libwnn=wnn4 |
8310 else | 8438 else |
8311 echo "$ac_t""no" 1>&6 | 8439 echo "$ac_t""no" 1>&6 |
8312 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 8440 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
8313 echo "configure:8314: checking for jl_dic_list_e in -lwnn6" >&5 | 8441 echo "configure:8442: checking for jl_dic_list_e in -lwnn6" >&5 |
8314 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8442 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8315 | 8443 |
8316 xe_check_libs=" -lwnn6 " | 8444 xe_check_libs=" -lwnn6 " |
8317 cat > conftest.$ac_ext <<EOF | 8445 cat > conftest.$ac_ext <<EOF |
8318 #line 8319 "configure" | 8446 #line 8447 "configure" |
8319 #include "confdefs.h" | 8447 #include "confdefs.h" |
8320 /* Override any gcc2 internal prototype to avoid an error. */ | 8448 /* Override any gcc2 internal prototype to avoid an error. */ |
8321 /* We use char because int might match the return type of a gcc2 | 8449 /* We use char because int might match the return type of a gcc2 |
8322 builtin and then its argument prototype would still apply. */ | 8450 builtin and then its argument prototype would still apply. */ |
8323 char jl_dic_list_e(); | 8451 char jl_dic_list_e(); |
8324 | 8452 |
8325 int main() { | 8453 int main() { |
8326 jl_dic_list_e() | 8454 jl_dic_list_e() |
8327 ; return 0; } | 8455 ; return 0; } |
8328 EOF | 8456 EOF |
8329 if { (eval echo configure:8330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8457 if { (eval echo configure:8458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8330 rm -rf conftest* | 8458 rm -rf conftest* |
8331 eval "ac_cv_lib_$ac_lib_var=yes" | 8459 eval "ac_cv_lib_$ac_lib_var=yes" |
8332 else | 8460 else |
8333 echo "configure: failed program was:" >&5 | 8461 echo "configure: failed program was:" >&5 |
8334 cat conftest.$ac_ext >&5 | 8462 cat conftest.$ac_ext >&5 |
8342 echo "$ac_t""yes" 1>&6 | 8470 echo "$ac_t""yes" 1>&6 |
8343 libwnn=wnn6 | 8471 libwnn=wnn6 |
8344 else | 8472 else |
8345 echo "$ac_t""no" 1>&6 | 8473 echo "$ac_t""no" 1>&6 |
8346 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 8474 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
8347 echo "configure:8348: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 8475 echo "configure:8476: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
8348 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 8476 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
8349 | 8477 |
8350 xe_check_libs=" -lwnn6_fromsrc " | 8478 xe_check_libs=" -lwnn6_fromsrc " |
8351 cat > conftest.$ac_ext <<EOF | 8479 cat > conftest.$ac_ext <<EOF |
8352 #line 8353 "configure" | 8480 #line 8481 "configure" |
8353 #include "confdefs.h" | 8481 #include "confdefs.h" |
8354 /* Override any gcc2 internal prototype to avoid an error. */ | 8482 /* Override any gcc2 internal prototype to avoid an error. */ |
8355 /* We use char because int might match the return type of a gcc2 | 8483 /* We use char because int might match the return type of a gcc2 |
8356 builtin and then its argument prototype would still apply. */ | 8484 builtin and then its argument prototype would still apply. */ |
8357 char dic_list_e(); | 8485 char dic_list_e(); |
8358 | 8486 |
8359 int main() { | 8487 int main() { |
8360 dic_list_e() | 8488 dic_list_e() |
8361 ; return 0; } | 8489 ; return 0; } |
8362 EOF | 8490 EOF |
8363 if { (eval echo configure:8364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8491 if { (eval echo configure:8492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8364 rm -rf conftest* | 8492 rm -rf conftest* |
8365 eval "ac_cv_lib_$ac_lib_var=yes" | 8493 eval "ac_cv_lib_$ac_lib_var=yes" |
8366 else | 8494 else |
8367 echo "configure: failed program was:" >&5 | 8495 echo "configure: failed program was:" >&5 |
8368 cat conftest.$ac_ext >&5 | 8496 cat conftest.$ac_ext >&5 |
8406 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8534 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
8407 fi | 8535 fi |
8408 if test "$with_wnn6" != "no"; then | 8536 if test "$with_wnn6" != "no"; then |
8409 | 8537 |
8410 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 8538 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
8411 echo "configure:8412: checking for jl_fi_dic_list in -l$libwnn" >&5 | 8539 echo "configure:8540: checking for jl_fi_dic_list in -l$libwnn" >&5 |
8412 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8540 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
8413 | 8541 |
8414 xe_check_libs=" -l$libwnn " | 8542 xe_check_libs=" -l$libwnn " |
8415 cat > conftest.$ac_ext <<EOF | 8543 cat > conftest.$ac_ext <<EOF |
8416 #line 8417 "configure" | 8544 #line 8545 "configure" |
8417 #include "confdefs.h" | 8545 #include "confdefs.h" |
8418 /* Override any gcc2 internal prototype to avoid an error. */ | 8546 /* Override any gcc2 internal prototype to avoid an error. */ |
8419 /* We use char because int might match the return type of a gcc2 | 8547 /* We use char because int might match the return type of a gcc2 |
8420 builtin and then its argument prototype would still apply. */ | 8548 builtin and then its argument prototype would still apply. */ |
8421 char jl_fi_dic_list(); | 8549 char jl_fi_dic_list(); |
8422 | 8550 |
8423 int main() { | 8551 int main() { |
8424 jl_fi_dic_list() | 8552 jl_fi_dic_list() |
8425 ; return 0; } | 8553 ; return 0; } |
8426 EOF | 8554 EOF |
8427 if { (eval echo configure:8428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8555 if { (eval echo configure:8556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8428 rm -rf conftest* | 8556 rm -rf conftest* |
8429 eval "ac_cv_lib_$ac_lib_var=yes" | 8557 eval "ac_cv_lib_$ac_lib_var=yes" |
8430 else | 8558 else |
8431 echo "configure: failed program was:" >&5 | 8559 echo "configure: failed program was:" >&5 |
8432 cat conftest.$ac_ext >&5 | 8560 cat conftest.$ac_ext >&5 |
8457 | 8585 |
8458 canna_includes_found=no | 8586 canna_includes_found=no |
8459 if test "$with_canna" != "no"; then | 8587 if test "$with_canna" != "no"; then |
8460 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8588 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8461 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8589 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8462 echo "configure:8463: checking for canna/jrkanji.h" >&5 | 8590 echo "configure:8591: checking for canna/jrkanji.h" >&5 |
8463 | 8591 |
8464 cat > conftest.$ac_ext <<EOF | 8592 cat > conftest.$ac_ext <<EOF |
8465 #line 8466 "configure" | 8593 #line 8594 "configure" |
8466 #include "confdefs.h" | 8594 #include "confdefs.h" |
8467 #include <canna/jrkanji.h> | 8595 #include <canna/jrkanji.h> |
8468 EOF | 8596 EOF |
8469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8470 { (eval echo configure:8471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8598 { (eval echo configure:8599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8471 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8599 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8472 if test -z "$ac_err"; then | 8600 if test -z "$ac_err"; then |
8473 rm -rf conftest* | 8601 rm -rf conftest* |
8474 eval "ac_cv_header_$ac_safe=yes" | 8602 eval "ac_cv_header_$ac_safe=yes" |
8475 else | 8603 else |
8492 -d "/usr/local/canna/include"; then | 8620 -d "/usr/local/canna/include"; then |
8493 save_c_switch_site="$c_switch_site" | 8621 save_c_switch_site="$c_switch_site" |
8494 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8622 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8495 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8623 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8496 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8624 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8497 echo "configure:8498: checking for canna/jrkanji.h" >&5 | 8625 echo "configure:8626: checking for canna/jrkanji.h" >&5 |
8498 | 8626 |
8499 cat > conftest.$ac_ext <<EOF | 8627 cat > conftest.$ac_ext <<EOF |
8500 #line 8501 "configure" | 8628 #line 8629 "configure" |
8501 #include "confdefs.h" | 8629 #include "confdefs.h" |
8502 #include <canna/jrkanji.h> | 8630 #include <canna/jrkanji.h> |
8503 EOF | 8631 EOF |
8504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8505 { (eval echo configure:8506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8633 { (eval echo configure:8634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8506 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8507 if test -z "$ac_err"; then | 8635 if test -z "$ac_err"; then |
8508 rm -rf conftest* | 8636 rm -rf conftest* |
8509 eval "ac_cv_header_$ac_safe=yes" | 8637 eval "ac_cv_header_$ac_safe=yes" |
8510 else | 8638 else |
8528 fi | 8656 fi |
8529 fi | 8657 fi |
8530 | 8658 |
8531 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8659 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8532 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8660 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8533 echo "configure:8534: checking for canna/RK.h" >&5 | 8661 echo "configure:8662: checking for canna/RK.h" >&5 |
8534 | 8662 |
8535 cat > conftest.$ac_ext <<EOF | 8663 cat > conftest.$ac_ext <<EOF |
8536 #line 8537 "configure" | 8664 #line 8665 "configure" |
8537 #include "confdefs.h" | 8665 #include "confdefs.h" |
8538 #include <canna/RK.h> | 8666 #include <canna/RK.h> |
8539 EOF | 8667 EOF |
8540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8541 { (eval echo configure:8542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8669 { (eval echo configure:8670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8543 if test -z "$ac_err"; then | 8671 if test -z "$ac_err"; then |
8544 rm -rf conftest* | 8672 rm -rf conftest* |
8545 eval "ac_cv_header_$ac_safe=yes" | 8673 eval "ac_cv_header_$ac_safe=yes" |
8546 else | 8674 else |
8559 with_canna=no | 8687 with_canna=no |
8560 fi | 8688 fi |
8561 } | 8689 } |
8562 test -z "$with_canna" && { | 8690 test -z "$with_canna" && { |
8563 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8691 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8564 echo "configure:8565: checking for RkBgnBun in -lRKC" >&5 | 8692 echo "configure:8693: checking for RkBgnBun in -lRKC" >&5 |
8565 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8693 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8566 | 8694 |
8567 xe_check_libs=" -lRKC " | 8695 xe_check_libs=" -lRKC " |
8568 cat > conftest.$ac_ext <<EOF | 8696 cat > conftest.$ac_ext <<EOF |
8569 #line 8570 "configure" | 8697 #line 8698 "configure" |
8570 #include "confdefs.h" | 8698 #include "confdefs.h" |
8571 /* Override any gcc2 internal prototype to avoid an error. */ | 8699 /* Override any gcc2 internal prototype to avoid an error. */ |
8572 /* We use char because int might match the return type of a gcc2 | 8700 /* We use char because int might match the return type of a gcc2 |
8573 builtin and then its argument prototype would still apply. */ | 8701 builtin and then its argument prototype would still apply. */ |
8574 char RkBgnBun(); | 8702 char RkBgnBun(); |
8575 | 8703 |
8576 int main() { | 8704 int main() { |
8577 RkBgnBun() | 8705 RkBgnBun() |
8578 ; return 0; } | 8706 ; return 0; } |
8579 EOF | 8707 EOF |
8580 if { (eval echo configure:8581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8708 if { (eval echo configure:8709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8581 rm -rf conftest* | 8709 rm -rf conftest* |
8582 eval "ac_cv_lib_$ac_lib_var=yes" | 8710 eval "ac_cv_lib_$ac_lib_var=yes" |
8583 else | 8711 else |
8584 echo "configure: failed program was:" >&5 | 8712 echo "configure: failed program was:" >&5 |
8585 cat conftest.$ac_ext >&5 | 8713 cat conftest.$ac_ext >&5 |
8598 fi | 8726 fi |
8599 | 8727 |
8600 } | 8728 } |
8601 test -z "$with_canna" && { | 8729 test -z "$with_canna" && { |
8602 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8730 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8603 echo "configure:8604: checking for jrKanjiControl in -lcanna" >&5 | 8731 echo "configure:8732: checking for jrKanjiControl in -lcanna" >&5 |
8604 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8732 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8605 | 8733 |
8606 xe_check_libs=" -lcanna " | 8734 xe_check_libs=" -lcanna " |
8607 cat > conftest.$ac_ext <<EOF | 8735 cat > conftest.$ac_ext <<EOF |
8608 #line 8609 "configure" | 8736 #line 8737 "configure" |
8609 #include "confdefs.h" | 8737 #include "confdefs.h" |
8610 /* Override any gcc2 internal prototype to avoid an error. */ | 8738 /* Override any gcc2 internal prototype to avoid an error. */ |
8611 /* We use char because int might match the return type of a gcc2 | 8739 /* We use char because int might match the return type of a gcc2 |
8612 builtin and then its argument prototype would still apply. */ | 8740 builtin and then its argument prototype would still apply. */ |
8613 char jrKanjiControl(); | 8741 char jrKanjiControl(); |
8614 | 8742 |
8615 int main() { | 8743 int main() { |
8616 jrKanjiControl() | 8744 jrKanjiControl() |
8617 ; return 0; } | 8745 ; return 0; } |
8618 EOF | 8746 EOF |
8619 if { (eval echo configure:8620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8747 if { (eval echo configure:8748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8620 rm -rf conftest* | 8748 rm -rf conftest* |
8621 eval "ac_cv_lib_$ac_lib_var=yes" | 8749 eval "ac_cv_lib_$ac_lib_var=yes" |
8622 else | 8750 else |
8623 echo "configure: failed program was:" >&5 | 8751 echo "configure: failed program was:" >&5 |
8624 cat conftest.$ac_ext >&5 | 8752 cat conftest.$ac_ext >&5 |
8663 | 8791 |
8664 if test "$need_motif" = "yes" ; then | 8792 if test "$need_motif" = "yes" ; then |
8665 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8793 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8666 | 8794 |
8667 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8795 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8668 echo "configure:8669: checking for layout_object_getvalue in -li18n" >&5 | 8796 echo "configure:8797: checking for layout_object_getvalue in -li18n" >&5 |
8669 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8797 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8670 | 8798 |
8671 xe_check_libs=" -li18n " | 8799 xe_check_libs=" -li18n " |
8672 cat > conftest.$ac_ext <<EOF | 8800 cat > conftest.$ac_ext <<EOF |
8673 #line 8674 "configure" | 8801 #line 8802 "configure" |
8674 #include "confdefs.h" | 8802 #include "confdefs.h" |
8675 /* Override any gcc2 internal prototype to avoid an error. */ | 8803 /* Override any gcc2 internal prototype to avoid an error. */ |
8676 /* We use char because int might match the return type of a gcc2 | 8804 /* We use char because int might match the return type of a gcc2 |
8677 builtin and then its argument prototype would still apply. */ | 8805 builtin and then its argument prototype would still apply. */ |
8678 char layout_object_getvalue(); | 8806 char layout_object_getvalue(); |
8679 | 8807 |
8680 int main() { | 8808 int main() { |
8681 layout_object_getvalue() | 8809 layout_object_getvalue() |
8682 ; return 0; } | 8810 ; return 0; } |
8683 EOF | 8811 EOF |
8684 if { (eval echo configure:8685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8812 if { (eval echo configure:8813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8685 rm -rf conftest* | 8813 rm -rf conftest* |
8686 eval "ac_cv_lib_$ac_lib_var=yes" | 8814 eval "ac_cv_lib_$ac_lib_var=yes" |
8687 else | 8815 else |
8688 echo "configure: failed program was:" >&5 | 8816 echo "configure: failed program was:" >&5 |
8689 cat conftest.$ac_ext >&5 | 8817 cat conftest.$ac_ext >&5 |
8765 fi | 8893 fi |
8766 | 8894 |
8767 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf | 8895 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf |
8768 do | 8896 do |
8769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8770 echo "configure:8771: checking for $ac_func" >&5 | 8898 echo "configure:8899: checking for $ac_func" >&5 |
8771 | 8899 |
8772 cat > conftest.$ac_ext <<EOF | 8900 cat > conftest.$ac_ext <<EOF |
8773 #line 8774 "configure" | 8901 #line 8902 "configure" |
8774 #include "confdefs.h" | 8902 #include "confdefs.h" |
8775 /* System header to define __stub macros and hopefully few prototypes, | 8903 /* System header to define __stub macros and hopefully few prototypes, |
8776 which can conflict with char $ac_func(); below. */ | 8904 which can conflict with char $ac_func(); below. */ |
8777 #include <assert.h> | 8905 #include <assert.h> |
8778 /* Override any gcc2 internal prototype to avoid an error. */ | 8906 /* Override any gcc2 internal prototype to avoid an error. */ |
8791 $ac_func(); | 8919 $ac_func(); |
8792 #endif | 8920 #endif |
8793 | 8921 |
8794 ; return 0; } | 8922 ; return 0; } |
8795 EOF | 8923 EOF |
8796 if { (eval echo configure:8797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8924 if { (eval echo configure:8925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8797 rm -rf conftest* | 8925 rm -rf conftest* |
8798 eval "ac_cv_func_$ac_func=yes" | 8926 eval "ac_cv_func_$ac_func=yes" |
8799 else | 8927 else |
8800 echo "configure: failed program was:" >&5 | 8928 echo "configure: failed program was:" >&5 |
8801 cat conftest.$ac_ext >&5 | 8929 cat conftest.$ac_ext >&5 |
8832 echo " xemacs will be linked with \"realpath.o\"" | 8960 echo " xemacs will be linked with \"realpath.o\"" |
8833 fi ;; | 8961 fi ;; |
8834 * ) for ac_func in realpath | 8962 * ) for ac_func in realpath |
8835 do | 8963 do |
8836 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8964 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8837 echo "configure:8838: checking for $ac_func" >&5 | 8965 echo "configure:8966: checking for $ac_func" >&5 |
8838 | 8966 |
8839 cat > conftest.$ac_ext <<EOF | 8967 cat > conftest.$ac_ext <<EOF |
8840 #line 8841 "configure" | 8968 #line 8969 "configure" |
8841 #include "confdefs.h" | 8969 #include "confdefs.h" |
8842 /* System header to define __stub macros and hopefully few prototypes, | 8970 /* System header to define __stub macros and hopefully few prototypes, |
8843 which can conflict with char $ac_func(); below. */ | 8971 which can conflict with char $ac_func(); below. */ |
8844 #include <assert.h> | 8972 #include <assert.h> |
8845 /* Override any gcc2 internal prototype to avoid an error. */ | 8973 /* Override any gcc2 internal prototype to avoid an error. */ |
8858 $ac_func(); | 8986 $ac_func(); |
8859 #endif | 8987 #endif |
8860 | 8988 |
8861 ; return 0; } | 8989 ; return 0; } |
8862 EOF | 8990 EOF |
8863 if { (eval echo configure:8864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8991 if { (eval echo configure:8992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8864 rm -rf conftest* | 8992 rm -rf conftest* |
8865 eval "ac_cv_func_$ac_func=yes" | 8993 eval "ac_cv_func_$ac_func=yes" |
8866 else | 8994 else |
8867 echo "configure: failed program was:" >&5 | 8995 echo "configure: failed program was:" >&5 |
8868 cat conftest.$ac_ext >&5 | 8996 cat conftest.$ac_ext >&5 |
8892 fi ;; | 9020 fi ;; |
8893 esac ;; | 9021 esac ;; |
8894 esac | 9022 esac |
8895 | 9023 |
8896 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 9024 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8897 echo "configure:8898: checking whether netdb declares h_errno" >&5 | 9025 echo "configure:9026: checking whether netdb declares h_errno" >&5 |
8898 cat > conftest.$ac_ext <<EOF | 9026 cat > conftest.$ac_ext <<EOF |
8899 #line 8900 "configure" | 9027 #line 9028 "configure" |
8900 #include "confdefs.h" | 9028 #include "confdefs.h" |
8901 #include <netdb.h> | 9029 #include <netdb.h> |
8902 int main() { | 9030 int main() { |
8903 return h_errno; | 9031 return h_errno; |
8904 ; return 0; } | 9032 ; return 0; } |
8905 EOF | 9033 EOF |
8906 if { (eval echo configure:8907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9034 if { (eval echo configure:9035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8907 rm -rf conftest* | 9035 rm -rf conftest* |
8908 echo "$ac_t""yes" 1>&6 | 9036 echo "$ac_t""yes" 1>&6 |
8909 { test "$extra_verbose" = "yes" && cat << \EOF | 9037 { test "$extra_verbose" = "yes" && cat << \EOF |
8910 Defining HAVE_H_ERRNO | 9038 Defining HAVE_H_ERRNO |
8911 EOF | 9039 EOF |
8921 echo "$ac_t""no" 1>&6 | 9049 echo "$ac_t""no" 1>&6 |
8922 fi | 9050 fi |
8923 rm -f conftest* | 9051 rm -f conftest* |
8924 | 9052 |
8925 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 9053 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8926 echo "configure:8927: checking for sigsetjmp" >&5 | 9054 echo "configure:9055: checking for sigsetjmp" >&5 |
8927 cat > conftest.$ac_ext <<EOF | 9055 cat > conftest.$ac_ext <<EOF |
8928 #line 8929 "configure" | 9056 #line 9057 "configure" |
8929 #include "confdefs.h" | 9057 #include "confdefs.h" |
8930 #include <setjmp.h> | 9058 #include <setjmp.h> |
8931 int main() { | 9059 int main() { |
8932 sigjmp_buf bar; sigsetjmp (bar, 0); | 9060 sigjmp_buf bar; sigsetjmp (bar, 0); |
8933 ; return 0; } | 9061 ; return 0; } |
8934 EOF | 9062 EOF |
8935 if { (eval echo configure:8936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9063 if { (eval echo configure:9064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8936 rm -rf conftest* | 9064 rm -rf conftest* |
8937 echo "$ac_t""yes" 1>&6 | 9065 echo "$ac_t""yes" 1>&6 |
8938 { test "$extra_verbose" = "yes" && cat << \EOF | 9066 { test "$extra_verbose" = "yes" && cat << \EOF |
8939 Defining HAVE_SIGSETJMP | 9067 Defining HAVE_SIGSETJMP |
8940 EOF | 9068 EOF |
8950 echo "$ac_t""no" 1>&6 | 9078 echo "$ac_t""no" 1>&6 |
8951 fi | 9079 fi |
8952 rm -f conftest* | 9080 rm -f conftest* |
8953 | 9081 |
8954 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 9082 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
8955 echo "configure:8956: checking whether localtime caches TZ" >&5 | 9083 echo "configure:9084: checking whether localtime caches TZ" >&5 |
8956 | 9084 |
8957 if test "$ac_cv_func_tzset" = "yes"; then | 9085 if test "$ac_cv_func_tzset" = "yes"; then |
8958 cat > conftest.$ac_ext <<EOF | 9086 cat > conftest.$ac_ext <<EOF |
8959 #line 8960 "configure" | 9087 #line 9088 "configure" |
8960 #include "confdefs.h" | 9088 #include "confdefs.h" |
8961 #include <time.h> | 9089 #include <time.h> |
8962 #if STDC_HEADERS | 9090 #if STDC_HEADERS |
8963 # include <stdlib.h> | 9091 # include <stdlib.h> |
8964 #endif | 9092 #endif |
8989 if (localtime (&now)->tm_hour != hour_unset) | 9117 if (localtime (&now)->tm_hour != hour_unset) |
8990 exit (1); | 9118 exit (1); |
8991 exit (0); | 9119 exit (0); |
8992 } | 9120 } |
8993 EOF | 9121 EOF |
8994 if { (eval echo configure:8995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9122 if { (eval echo configure:9123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8995 then | 9123 then |
8996 emacs_cv_localtime_cache=no | 9124 emacs_cv_localtime_cache=no |
8997 else | 9125 else |
8998 conftest_rc="$?" | 9126 conftest_rc="$?" |
8999 echo "configure: failed program was:" >&5 | 9127 echo "configure: failed program was:" >&5 |
9019 | 9147 |
9020 fi | 9148 fi |
9021 | 9149 |
9022 if test "$HAVE_TIMEVAL" = "yes"; then | 9150 if test "$HAVE_TIMEVAL" = "yes"; then |
9023 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 9151 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
9024 echo "configure:9025: checking whether gettimeofday accepts one or two arguments" >&5 | 9152 echo "configure:9153: checking whether gettimeofday accepts one or two arguments" >&5 |
9025 cat > conftest.$ac_ext <<EOF | 9153 cat > conftest.$ac_ext <<EOF |
9026 #line 9027 "configure" | 9154 #line 9155 "configure" |
9027 #include "confdefs.h" | 9155 #include "confdefs.h" |
9028 | 9156 |
9029 #ifdef TIME_WITH_SYS_TIME | 9157 #ifdef TIME_WITH_SYS_TIME |
9030 #include <sys/time.h> | 9158 #include <sys/time.h> |
9031 #include <time.h> | 9159 #include <time.h> |
9043 struct timezone dummy; | 9171 struct timezone dummy; |
9044 gettimeofday (&time, &dummy); | 9172 gettimeofday (&time, &dummy); |
9045 | 9173 |
9046 ; return 0; } | 9174 ; return 0; } |
9047 EOF | 9175 EOF |
9048 if { (eval echo configure:9049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9176 if { (eval echo configure:9177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9049 rm -rf conftest* | 9177 rm -rf conftest* |
9050 echo "$ac_t""two" 1>&6 | 9178 echo "$ac_t""two" 1>&6 |
9051 else | 9179 else |
9052 echo "configure: failed program was:" >&5 | 9180 echo "configure: failed program was:" >&5 |
9053 cat conftest.$ac_ext >&5 | 9181 cat conftest.$ac_ext >&5 |
9065 rm -f conftest* | 9193 rm -f conftest* |
9066 fi | 9194 fi |
9067 | 9195 |
9068 | 9196 |
9069 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 9197 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
9070 echo "configure:9071: checking for inline" >&5 | 9198 echo "configure:9199: checking for inline" >&5 |
9071 | 9199 |
9072 ac_cv_c_inline=no | 9200 ac_cv_c_inline=no |
9073 for ac_kw in inline __inline__ __inline; do | 9201 for ac_kw in inline __inline__ __inline; do |
9074 cat > conftest.$ac_ext <<EOF | 9202 cat > conftest.$ac_ext <<EOF |
9075 #line 9076 "configure" | 9203 #line 9204 "configure" |
9076 #include "confdefs.h" | 9204 #include "confdefs.h" |
9077 | 9205 |
9078 int main() { | 9206 int main() { |
9079 } $ac_kw foo() { | 9207 } $ac_kw foo() { |
9080 ; return 0; } | 9208 ; return 0; } |
9081 EOF | 9209 EOF |
9082 if { (eval echo configure:9083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9210 if { (eval echo configure:9211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9083 rm -rf conftest* | 9211 rm -rf conftest* |
9084 ac_cv_c_inline=$ac_kw; break | 9212 ac_cv_c_inline=$ac_kw; break |
9085 else | 9213 else |
9086 echo "configure: failed program was:" >&5 | 9214 echo "configure: failed program was:" >&5 |
9087 cat conftest.$ac_ext >&5 | 9215 cat conftest.$ac_ext >&5 |
9127 | 9255 |
9128 | 9256 |
9129 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 9257 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
9130 # for constant arguments. Useless! | 9258 # for constant arguments. Useless! |
9131 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 9259 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
9132 echo "configure:9133: checking for working alloca.h" >&5 | 9260 echo "configure:9261: checking for working alloca.h" >&5 |
9133 | 9261 |
9134 cat > conftest.$ac_ext <<EOF | 9262 cat > conftest.$ac_ext <<EOF |
9135 #line 9136 "configure" | 9263 #line 9264 "configure" |
9136 #include "confdefs.h" | 9264 #include "confdefs.h" |
9137 #include <alloca.h> | 9265 #include <alloca.h> |
9138 int main() { | 9266 int main() { |
9139 char *p = alloca(2 * sizeof(int)); | 9267 char *p = alloca(2 * sizeof(int)); |
9140 ; return 0; } | 9268 ; return 0; } |
9141 EOF | 9269 EOF |
9142 if { (eval echo configure:9143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9270 if { (eval echo configure:9271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9143 rm -rf conftest* | 9271 rm -rf conftest* |
9144 ac_cv_header_alloca_h=yes | 9272 ac_cv_header_alloca_h=yes |
9145 else | 9273 else |
9146 echo "configure: failed program was:" >&5 | 9274 echo "configure: failed program was:" >&5 |
9147 cat conftest.$ac_ext >&5 | 9275 cat conftest.$ac_ext >&5 |
9161 } | 9289 } |
9162 | 9290 |
9163 fi | 9291 fi |
9164 | 9292 |
9165 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 9293 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
9166 echo "configure:9167: checking for alloca" >&5 | 9294 echo "configure:9295: checking for alloca" >&5 |
9167 | 9295 |
9168 cat > conftest.$ac_ext <<EOF | 9296 cat > conftest.$ac_ext <<EOF |
9169 #line 9170 "configure" | 9297 #line 9298 "configure" |
9170 #include "confdefs.h" | 9298 #include "confdefs.h" |
9171 | 9299 |
9172 #ifdef __GNUC__ | 9300 #ifdef __GNUC__ |
9173 # define alloca __builtin_alloca | 9301 # define alloca __builtin_alloca |
9174 #else | 9302 #else |
9192 | 9320 |
9193 int main() { | 9321 int main() { |
9194 char *p = (char *) alloca(1); | 9322 char *p = (char *) alloca(1); |
9195 ; return 0; } | 9323 ; return 0; } |
9196 EOF | 9324 EOF |
9197 if { (eval echo configure:9198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9325 if { (eval echo configure:9326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9198 rm -rf conftest* | 9326 rm -rf conftest* |
9199 ac_cv_func_alloca_works=yes | 9327 ac_cv_func_alloca_works=yes |
9200 else | 9328 else |
9201 echo "configure: failed program was:" >&5 | 9329 echo "configure: failed program was:" >&5 |
9202 cat conftest.$ac_ext >&5 | 9330 cat conftest.$ac_ext >&5 |
9231 EOF | 9359 EOF |
9232 } | 9360 } |
9233 | 9361 |
9234 | 9362 |
9235 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 9363 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
9236 echo "configure:9237: checking whether alloca needs Cray hooks" >&5 | 9364 echo "configure:9365: checking whether alloca needs Cray hooks" >&5 |
9237 | 9365 |
9238 cat > conftest.$ac_ext <<EOF | 9366 cat > conftest.$ac_ext <<EOF |
9239 #line 9240 "configure" | 9367 #line 9368 "configure" |
9240 #include "confdefs.h" | 9368 #include "confdefs.h" |
9241 #if defined(CRAY) && ! defined(CRAY2) | 9369 #if defined(CRAY) && ! defined(CRAY2) |
9242 webecray | 9370 webecray |
9243 #else | 9371 #else |
9244 wenotbecray | 9372 wenotbecray |
9258 | 9386 |
9259 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9387 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
9260 if test $ac_cv_os_cray = yes; then | 9388 if test $ac_cv_os_cray = yes; then |
9261 for ac_func in _getb67 GETB67 getb67; do | 9389 for ac_func in _getb67 GETB67 getb67; do |
9262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9263 echo "configure:9264: checking for $ac_func" >&5 | 9391 echo "configure:9392: checking for $ac_func" >&5 |
9264 | 9392 |
9265 cat > conftest.$ac_ext <<EOF | 9393 cat > conftest.$ac_ext <<EOF |
9266 #line 9267 "configure" | 9394 #line 9395 "configure" |
9267 #include "confdefs.h" | 9395 #include "confdefs.h" |
9268 /* System header to define __stub macros and hopefully few prototypes, | 9396 /* System header to define __stub macros and hopefully few prototypes, |
9269 which can conflict with char $ac_func(); below. */ | 9397 which can conflict with char $ac_func(); below. */ |
9270 #include <assert.h> | 9398 #include <assert.h> |
9271 /* Override any gcc2 internal prototype to avoid an error. */ | 9399 /* Override any gcc2 internal prototype to avoid an error. */ |
9284 $ac_func(); | 9412 $ac_func(); |
9285 #endif | 9413 #endif |
9286 | 9414 |
9287 ; return 0; } | 9415 ; return 0; } |
9288 EOF | 9416 EOF |
9289 if { (eval echo configure:9290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9417 if { (eval echo configure:9418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9290 rm -rf conftest* | 9418 rm -rf conftest* |
9291 eval "ac_cv_func_$ac_func=yes" | 9419 eval "ac_cv_func_$ac_func=yes" |
9292 else | 9420 else |
9293 echo "configure: failed program was:" >&5 | 9421 echo "configure: failed program was:" >&5 |
9294 cat conftest.$ac_ext >&5 | 9422 cat conftest.$ac_ext >&5 |
9314 | 9442 |
9315 done | 9443 done |
9316 fi | 9444 fi |
9317 | 9445 |
9318 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9446 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
9319 echo "configure:9320: checking stack direction for C alloca" >&5 | 9447 echo "configure:9448: checking stack direction for C alloca" >&5 |
9320 | 9448 |
9321 cat > conftest.$ac_ext <<EOF | 9449 cat > conftest.$ac_ext <<EOF |
9322 #line 9323 "configure" | 9450 #line 9451 "configure" |
9323 #include "confdefs.h" | 9451 #include "confdefs.h" |
9324 find_stack_direction () | 9452 find_stack_direction () |
9325 { | 9453 { |
9326 static char *addr = 0; | 9454 static char *addr = 0; |
9327 auto char dummy; | 9455 auto char dummy; |
9336 main () | 9464 main () |
9337 { | 9465 { |
9338 exit (find_stack_direction() < 0); | 9466 exit (find_stack_direction() < 0); |
9339 } | 9467 } |
9340 EOF | 9468 EOF |
9341 if { (eval echo configure:9342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9469 if { (eval echo configure:9470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9342 then | 9470 then |
9343 ac_cv_c_stack_direction=1 | 9471 ac_cv_c_stack_direction=1 |
9344 else | 9472 else |
9345 conftest_rc="$?" | 9473 conftest_rc="$?" |
9346 echo "configure: failed program was:" >&5 | 9474 echo "configure: failed program was:" >&5 |
9365 echo " xemacs will be linked with \"$ALLOCA\"" | 9493 echo " xemacs will be linked with \"$ALLOCA\"" |
9366 fi | 9494 fi |
9367 | 9495 |
9368 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9496 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
9369 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9497 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
9370 echo "configure:9371: checking for vfork.h" >&5 | 9498 echo "configure:9499: checking for vfork.h" >&5 |
9371 | 9499 |
9372 cat > conftest.$ac_ext <<EOF | 9500 cat > conftest.$ac_ext <<EOF |
9373 #line 9374 "configure" | 9501 #line 9502 "configure" |
9374 #include "confdefs.h" | 9502 #include "confdefs.h" |
9375 #include <vfork.h> | 9503 #include <vfork.h> |
9376 EOF | 9504 EOF |
9377 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9505 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9378 { (eval echo configure:9379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9506 { (eval echo configure:9507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9379 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9507 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9380 if test -z "$ac_err"; then | 9508 if test -z "$ac_err"; then |
9381 rm -rf conftest* | 9509 rm -rf conftest* |
9382 eval "ac_cv_header_$ac_safe=yes" | 9510 eval "ac_cv_header_$ac_safe=yes" |
9383 else | 9511 else |
9401 else | 9529 else |
9402 echo "$ac_t""no" 1>&6 | 9530 echo "$ac_t""no" 1>&6 |
9403 fi | 9531 fi |
9404 | 9532 |
9405 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9533 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
9406 echo "configure:9407: checking for working vfork" >&5 | 9534 echo "configure:9535: checking for working vfork" >&5 |
9407 | 9535 |
9408 cat > conftest.$ac_ext <<EOF | 9536 cat > conftest.$ac_ext <<EOF |
9409 #line 9410 "configure" | 9537 #line 9538 "configure" |
9410 #include "confdefs.h" | 9538 #include "confdefs.h" |
9411 /* Thanks to Paul Eggert for this test. */ | 9539 /* Thanks to Paul Eggert for this test. */ |
9412 #include <stdio.h> | 9540 #include <stdio.h> |
9413 #include <sys/types.h> | 9541 #include <sys/types.h> |
9414 #include <sys/stat.h> | 9542 #include <sys/stat.h> |
9499 || fstat(fileno(stdout), &st) != 0 | 9627 || fstat(fileno(stdout), &st) != 0 |
9500 ); | 9628 ); |
9501 } | 9629 } |
9502 } | 9630 } |
9503 EOF | 9631 EOF |
9504 if { (eval echo configure:9505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9632 if { (eval echo configure:9633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9505 then | 9633 then |
9506 ac_cv_func_vfork_works=yes | 9634 ac_cv_func_vfork_works=yes |
9507 else | 9635 else |
9508 conftest_rc="$?" | 9636 conftest_rc="$?" |
9509 echo "configure: failed program was:" >&5 | 9637 echo "configure: failed program was:" >&5 |
9525 | 9653 |
9526 fi | 9654 fi |
9527 | 9655 |
9528 | 9656 |
9529 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9657 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9530 echo "configure:9531: checking for working strcoll" >&5 | 9658 echo "configure:9659: checking for working strcoll" >&5 |
9531 | 9659 |
9532 cat > conftest.$ac_ext <<EOF | 9660 cat > conftest.$ac_ext <<EOF |
9533 #line 9534 "configure" | 9661 #line 9662 "configure" |
9534 #include "confdefs.h" | 9662 #include "confdefs.h" |
9535 #include <string.h> | 9663 #include <string.h> |
9536 main () | 9664 main () |
9537 { | 9665 { |
9538 exit (strcoll ("abc", "def") >= 0 || | 9666 exit (strcoll ("abc", "def") >= 0 || |
9539 strcoll ("ABC", "DEF") >= 0 || | 9667 strcoll ("ABC", "DEF") >= 0 || |
9540 strcoll ("123", "456") >= 0); | 9668 strcoll ("123", "456") >= 0); |
9541 } | 9669 } |
9542 EOF | 9670 EOF |
9543 if { (eval echo configure:9544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9671 if { (eval echo configure:9672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9544 then | 9672 then |
9545 ac_cv_func_strcoll_works=yes | 9673 ac_cv_func_strcoll_works=yes |
9546 else | 9674 else |
9547 conftest_rc="$?" | 9675 conftest_rc="$?" |
9548 echo "configure: failed program was:" >&5 | 9676 echo "configure: failed program was:" >&5 |
9566 | 9694 |
9567 | 9695 |
9568 for ac_func in getpgrp | 9696 for ac_func in getpgrp |
9569 do | 9697 do |
9570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9571 echo "configure:9572: checking for $ac_func" >&5 | 9699 echo "configure:9700: checking for $ac_func" >&5 |
9572 | 9700 |
9573 cat > conftest.$ac_ext <<EOF | 9701 cat > conftest.$ac_ext <<EOF |
9574 #line 9575 "configure" | 9702 #line 9703 "configure" |
9575 #include "confdefs.h" | 9703 #include "confdefs.h" |
9576 /* System header to define __stub macros and hopefully few prototypes, | 9704 /* System header to define __stub macros and hopefully few prototypes, |
9577 which can conflict with char $ac_func(); below. */ | 9705 which can conflict with char $ac_func(); below. */ |
9578 #include <assert.h> | 9706 #include <assert.h> |
9579 /* Override any gcc2 internal prototype to avoid an error. */ | 9707 /* Override any gcc2 internal prototype to avoid an error. */ |
9592 $ac_func(); | 9720 $ac_func(); |
9593 #endif | 9721 #endif |
9594 | 9722 |
9595 ; return 0; } | 9723 ; return 0; } |
9596 EOF | 9724 EOF |
9597 if { (eval echo configure:9598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9725 if { (eval echo configure:9726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9598 rm -rf conftest* | 9726 rm -rf conftest* |
9599 eval "ac_cv_func_$ac_func=yes" | 9727 eval "ac_cv_func_$ac_func=yes" |
9600 else | 9728 else |
9601 echo "configure: failed program was:" >&5 | 9729 echo "configure: failed program was:" >&5 |
9602 cat conftest.$ac_ext >&5 | 9730 cat conftest.$ac_ext >&5 |
9620 echo "$ac_t""no" 1>&6 | 9748 echo "$ac_t""no" 1>&6 |
9621 fi | 9749 fi |
9622 done | 9750 done |
9623 | 9751 |
9624 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9752 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9625 echo "configure:9626: checking whether getpgrp takes no argument" >&5 | 9753 echo "configure:9754: checking whether getpgrp takes no argument" >&5 |
9626 | 9754 |
9627 cat > conftest.$ac_ext <<EOF | 9755 cat > conftest.$ac_ext <<EOF |
9628 #line 9629 "configure" | 9756 #line 9757 "configure" |
9629 #include "confdefs.h" | 9757 #include "confdefs.h" |
9630 | 9758 |
9631 /* | 9759 /* |
9632 * If this system has a BSD-style getpgrp(), | 9760 * If this system has a BSD-style getpgrp(), |
9633 * which takes a pid argument, exit unsuccessfully. | 9761 * which takes a pid argument, exit unsuccessfully. |
9678 exit(s>>8); | 9806 exit(s>>8); |
9679 } | 9807 } |
9680 } | 9808 } |
9681 | 9809 |
9682 EOF | 9810 EOF |
9683 if { (eval echo configure:9684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9811 if { (eval echo configure:9812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9684 then | 9812 then |
9685 ac_cv_func_getpgrp_void=yes | 9813 ac_cv_func_getpgrp_void=yes |
9686 else | 9814 else |
9687 conftest_rc="$?" | 9815 conftest_rc="$?" |
9688 echo "configure: failed program was:" >&5 | 9816 echo "configure: failed program was:" >&5 |
9705 | 9833 |
9706 fi | 9834 fi |
9707 | 9835 |
9708 | 9836 |
9709 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9837 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9710 echo "configure:9711: checking for working mmap" >&5 | 9838 echo "configure:9839: checking for working mmap" >&5 |
9711 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9839 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9712 cat > conftest.$ac_ext <<EOF | 9840 cat > conftest.$ac_ext <<EOF |
9713 #line 9714 "configure" | 9841 #line 9842 "configure" |
9714 #include "confdefs.h" | 9842 #include "confdefs.h" |
9715 #include <stdio.h> | 9843 #include <stdio.h> |
9716 #include <unistd.h> | 9844 #include <unistd.h> |
9717 #include <fcntl.h> | 9845 #include <fcntl.h> |
9718 #include <sys/mman.h> | 9846 #include <sys/mman.h> |
9741 return 0; | 9869 return 0; |
9742 perror ("conftest: mmap failed"); | 9870 perror ("conftest: mmap failed"); |
9743 return 1; | 9871 return 1; |
9744 } | 9872 } |
9745 EOF | 9873 EOF |
9746 if { (eval echo configure:9747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9874 if { (eval echo configure:9875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9747 then | 9875 then |
9748 have_mmap=yes | 9876 have_mmap=yes |
9749 else | 9877 else |
9750 conftest_rc="$?" | 9878 conftest_rc="$?" |
9751 echo "configure: failed program was:" >&5 | 9879 echo "configure: failed program was:" >&5 |
9776 } | 9904 } |
9777 | 9905 |
9778 | 9906 |
9779 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9907 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9780 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9908 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9781 echo "configure:9782: checking for termios.h" >&5 | 9909 echo "configure:9910: checking for termios.h" >&5 |
9782 | 9910 |
9783 cat > conftest.$ac_ext <<EOF | 9911 cat > conftest.$ac_ext <<EOF |
9784 #line 9785 "configure" | 9912 #line 9913 "configure" |
9785 #include "confdefs.h" | 9913 #include "confdefs.h" |
9786 #include <termios.h> | 9914 #include <termios.h> |
9787 EOF | 9915 EOF |
9788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9916 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9789 { (eval echo configure:9790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9917 { (eval echo configure:9918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9790 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9918 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9791 if test -z "$ac_err"; then | 9919 if test -z "$ac_err"; then |
9792 rm -rf conftest* | 9920 rm -rf conftest* |
9793 eval "ac_cv_header_$ac_safe=yes" | 9921 eval "ac_cv_header_$ac_safe=yes" |
9794 else | 9922 else |
9827 | 9955 |
9828 else | 9956 else |
9829 echo "$ac_t""no" 1>&6 | 9957 echo "$ac_t""no" 1>&6 |
9830 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9958 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
9831 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9959 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
9832 echo "configure:9833: checking for termio.h" >&5 | 9960 echo "configure:9961: checking for termio.h" >&5 |
9833 | 9961 |
9834 cat > conftest.$ac_ext <<EOF | 9962 cat > conftest.$ac_ext <<EOF |
9835 #line 9836 "configure" | 9963 #line 9964 "configure" |
9836 #include "confdefs.h" | 9964 #include "confdefs.h" |
9837 #include <termio.h> | 9965 #include <termio.h> |
9838 EOF | 9966 EOF |
9839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9840 { (eval echo configure:9841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9968 { (eval echo configure:9969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9841 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9842 if test -z "$ac_err"; then | 9970 if test -z "$ac_err"; then |
9843 rm -rf conftest* | 9971 rm -rf conftest* |
9844 eval "ac_cv_header_$ac_safe=yes" | 9972 eval "ac_cv_header_$ac_safe=yes" |
9845 else | 9973 else |
9867 fi | 9995 fi |
9868 | 9996 |
9869 | 9997 |
9870 | 9998 |
9871 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9999 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
9872 echo "configure:9873: checking for socket" >&5 | 10000 echo "configure:10001: checking for socket" >&5 |
9873 | 10001 |
9874 cat > conftest.$ac_ext <<EOF | 10002 cat > conftest.$ac_ext <<EOF |
9875 #line 9876 "configure" | 10003 #line 10004 "configure" |
9876 #include "confdefs.h" | 10004 #include "confdefs.h" |
9877 /* System header to define __stub macros and hopefully few prototypes, | 10005 /* System header to define __stub macros and hopefully few prototypes, |
9878 which can conflict with char socket(); below. */ | 10006 which can conflict with char socket(); below. */ |
9879 #include <assert.h> | 10007 #include <assert.h> |
9880 /* Override any gcc2 internal prototype to avoid an error. */ | 10008 /* Override any gcc2 internal prototype to avoid an error. */ |
9893 socket(); | 10021 socket(); |
9894 #endif | 10022 #endif |
9895 | 10023 |
9896 ; return 0; } | 10024 ; return 0; } |
9897 EOF | 10025 EOF |
9898 if { (eval echo configure:9899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10026 if { (eval echo configure:10027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9899 rm -rf conftest* | 10027 rm -rf conftest* |
9900 eval "ac_cv_func_socket=yes" | 10028 eval "ac_cv_func_socket=yes" |
9901 else | 10029 else |
9902 echo "configure: failed program was:" >&5 | 10030 echo "configure: failed program was:" >&5 |
9903 cat conftest.$ac_ext >&5 | 10031 cat conftest.$ac_ext >&5 |
9908 | 10036 |
9909 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 10037 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
9910 echo "$ac_t""yes" 1>&6 | 10038 echo "$ac_t""yes" 1>&6 |
9911 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 10039 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
9912 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 10040 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
9913 echo "configure:9914: checking for netinet/in.h" >&5 | 10041 echo "configure:10042: checking for netinet/in.h" >&5 |
9914 | 10042 |
9915 cat > conftest.$ac_ext <<EOF | 10043 cat > conftest.$ac_ext <<EOF |
9916 #line 9917 "configure" | 10044 #line 10045 "configure" |
9917 #include "confdefs.h" | 10045 #include "confdefs.h" |
9918 #include <netinet/in.h> | 10046 #include <netinet/in.h> |
9919 EOF | 10047 EOF |
9920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10048 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9921 { (eval echo configure:9922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10049 { (eval echo configure:10050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9922 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10050 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9923 if test -z "$ac_err"; then | 10051 if test -z "$ac_err"; then |
9924 rm -rf conftest* | 10052 rm -rf conftest* |
9925 eval "ac_cv_header_$ac_safe=yes" | 10053 eval "ac_cv_header_$ac_safe=yes" |
9926 else | 10054 else |
9933 rm -f conftest* | 10061 rm -f conftest* |
9934 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10062 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9935 echo "$ac_t""yes" 1>&6 | 10063 echo "$ac_t""yes" 1>&6 |
9936 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 10064 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
9937 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 10065 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
9938 echo "configure:9939: checking for arpa/inet.h" >&5 | 10066 echo "configure:10067: checking for arpa/inet.h" >&5 |
9939 | 10067 |
9940 cat > conftest.$ac_ext <<EOF | 10068 cat > conftest.$ac_ext <<EOF |
9941 #line 9942 "configure" | 10069 #line 10070 "configure" |
9942 #include "confdefs.h" | 10070 #include "confdefs.h" |
9943 #include <arpa/inet.h> | 10071 #include <arpa/inet.h> |
9944 EOF | 10072 EOF |
9945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9946 { (eval echo configure:9947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10074 { (eval echo configure:10075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9947 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9948 if test -z "$ac_err"; then | 10076 if test -z "$ac_err"; then |
9949 rm -rf conftest* | 10077 rm -rf conftest* |
9950 eval "ac_cv_header_$ac_safe=yes" | 10078 eval "ac_cv_header_$ac_safe=yes" |
9951 else | 10079 else |
9966 #define HAVE_SOCKETS 1 | 10094 #define HAVE_SOCKETS 1 |
9967 EOF | 10095 EOF |
9968 } | 10096 } |
9969 | 10097 |
9970 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 10098 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
9971 echo "configure:9972: checking "for sun_len member in struct sockaddr_un"" >&5 | 10099 echo "configure:10100: checking "for sun_len member in struct sockaddr_un"" >&5 |
9972 cat > conftest.$ac_ext <<EOF | 10100 cat > conftest.$ac_ext <<EOF |
9973 #line 9974 "configure" | 10101 #line 10102 "configure" |
9974 #include "confdefs.h" | 10102 #include "confdefs.h" |
9975 | 10103 |
9976 #include <sys/types.h> | 10104 #include <sys/types.h> |
9977 #include <sys/socket.h> | 10105 #include <sys/socket.h> |
9978 #include <sys/un.h> | 10106 #include <sys/un.h> |
9979 | 10107 |
9980 int main() { | 10108 int main() { |
9981 static struct sockaddr_un x; x.sun_len = 1; | 10109 static struct sockaddr_un x; x.sun_len = 1; |
9982 ; return 0; } | 10110 ; return 0; } |
9983 EOF | 10111 EOF |
9984 if { (eval echo configure:9985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10112 if { (eval echo configure:10113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9985 rm -rf conftest* | 10113 rm -rf conftest* |
9986 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10114 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9987 Defining HAVE_SOCKADDR_SUN_LEN | 10115 Defining HAVE_SOCKADDR_SUN_LEN |
9988 EOF | 10116 EOF |
9989 cat >> confdefs.h <<\EOF | 10117 cat >> confdefs.h <<\EOF |
9997 rm -rf conftest* | 10125 rm -rf conftest* |
9998 echo "$ac_t""no" 1>&6 | 10126 echo "$ac_t""no" 1>&6 |
9999 fi | 10127 fi |
10000 rm -f conftest* | 10128 rm -f conftest* |
10001 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 10129 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
10002 echo "configure:10003: checking "for ip_mreq struct in netinet/in.h"" >&5 | 10130 echo "configure:10131: checking "for ip_mreq struct in netinet/in.h"" >&5 |
10003 cat > conftest.$ac_ext <<EOF | 10131 cat > conftest.$ac_ext <<EOF |
10004 #line 10005 "configure" | 10132 #line 10133 "configure" |
10005 #include "confdefs.h" | 10133 #include "confdefs.h" |
10006 | 10134 |
10007 #include <sys/types.h> | 10135 #include <sys/types.h> |
10008 #include <netinet/in.h> | 10136 #include <netinet/in.h> |
10009 | 10137 |
10010 int main() { | 10138 int main() { |
10011 static struct ip_mreq x; | 10139 static struct ip_mreq x; |
10012 ; return 0; } | 10140 ; return 0; } |
10013 EOF | 10141 EOF |
10014 if { (eval echo configure:10015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10142 if { (eval echo configure:10143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10015 rm -rf conftest* | 10143 rm -rf conftest* |
10016 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10144 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10017 Defining HAVE_MULTICAST | 10145 Defining HAVE_MULTICAST |
10018 EOF | 10146 EOF |
10019 cat >> confdefs.h <<\EOF | 10147 cat >> confdefs.h <<\EOF |
10040 echo "$ac_t""no" 1>&6 | 10168 echo "$ac_t""no" 1>&6 |
10041 fi | 10169 fi |
10042 | 10170 |
10043 | 10171 |
10044 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10172 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
10045 echo "configure:10046: checking for msgget" >&5 | 10173 echo "configure:10174: checking for msgget" >&5 |
10046 | 10174 |
10047 cat > conftest.$ac_ext <<EOF | 10175 cat > conftest.$ac_ext <<EOF |
10048 #line 10049 "configure" | 10176 #line 10177 "configure" |
10049 #include "confdefs.h" | 10177 #include "confdefs.h" |
10050 /* System header to define __stub macros and hopefully few prototypes, | 10178 /* System header to define __stub macros and hopefully few prototypes, |
10051 which can conflict with char msgget(); below. */ | 10179 which can conflict with char msgget(); below. */ |
10052 #include <assert.h> | 10180 #include <assert.h> |
10053 /* Override any gcc2 internal prototype to avoid an error. */ | 10181 /* Override any gcc2 internal prototype to avoid an error. */ |
10066 msgget(); | 10194 msgget(); |
10067 #endif | 10195 #endif |
10068 | 10196 |
10069 ; return 0; } | 10197 ; return 0; } |
10070 EOF | 10198 EOF |
10071 if { (eval echo configure:10072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10199 if { (eval echo configure:10200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10072 rm -rf conftest* | 10200 rm -rf conftest* |
10073 eval "ac_cv_func_msgget=yes" | 10201 eval "ac_cv_func_msgget=yes" |
10074 else | 10202 else |
10075 echo "configure: failed program was:" >&5 | 10203 echo "configure: failed program was:" >&5 |
10076 cat conftest.$ac_ext >&5 | 10204 cat conftest.$ac_ext >&5 |
10081 | 10209 |
10082 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10210 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
10083 echo "$ac_t""yes" 1>&6 | 10211 echo "$ac_t""yes" 1>&6 |
10084 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10212 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
10085 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10213 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
10086 echo "configure:10087: checking for sys/ipc.h" >&5 | 10214 echo "configure:10215: checking for sys/ipc.h" >&5 |
10087 | 10215 |
10088 cat > conftest.$ac_ext <<EOF | 10216 cat > conftest.$ac_ext <<EOF |
10089 #line 10090 "configure" | 10217 #line 10218 "configure" |
10090 #include "confdefs.h" | 10218 #include "confdefs.h" |
10091 #include <sys/ipc.h> | 10219 #include <sys/ipc.h> |
10092 EOF | 10220 EOF |
10093 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10094 { (eval echo configure:10095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10222 { (eval echo configure:10223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10095 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10223 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10096 if test -z "$ac_err"; then | 10224 if test -z "$ac_err"; then |
10097 rm -rf conftest* | 10225 rm -rf conftest* |
10098 eval "ac_cv_header_$ac_safe=yes" | 10226 eval "ac_cv_header_$ac_safe=yes" |
10099 else | 10227 else |
10106 rm -f conftest* | 10234 rm -f conftest* |
10107 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10235 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10108 echo "$ac_t""yes" 1>&6 | 10236 echo "$ac_t""yes" 1>&6 |
10109 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10237 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
10110 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10238 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
10111 echo "configure:10112: checking for sys/msg.h" >&5 | 10239 echo "configure:10240: checking for sys/msg.h" >&5 |
10112 | 10240 |
10113 cat > conftest.$ac_ext <<EOF | 10241 cat > conftest.$ac_ext <<EOF |
10114 #line 10115 "configure" | 10242 #line 10243 "configure" |
10115 #include "confdefs.h" | 10243 #include "confdefs.h" |
10116 #include <sys/msg.h> | 10244 #include <sys/msg.h> |
10117 EOF | 10245 EOF |
10118 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10246 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10119 { (eval echo configure:10120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10247 { (eval echo configure:10248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10120 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10248 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10121 if test -z "$ac_err"; then | 10249 if test -z "$ac_err"; then |
10122 rm -rf conftest* | 10250 rm -rf conftest* |
10123 eval "ac_cv_header_$ac_safe=yes" | 10251 eval "ac_cv_header_$ac_safe=yes" |
10124 else | 10252 else |
10152 fi | 10280 fi |
10153 | 10281 |
10154 | 10282 |
10155 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10283 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
10156 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10284 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
10157 echo "configure:10158: checking for dirent.h" >&5 | 10285 echo "configure:10286: checking for dirent.h" >&5 |
10158 | 10286 |
10159 cat > conftest.$ac_ext <<EOF | 10287 cat > conftest.$ac_ext <<EOF |
10160 #line 10161 "configure" | 10288 #line 10289 "configure" |
10161 #include "confdefs.h" | 10289 #include "confdefs.h" |
10162 #include <dirent.h> | 10290 #include <dirent.h> |
10163 EOF | 10291 EOF |
10164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10292 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10165 { (eval echo configure:10166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10293 { (eval echo configure:10294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10166 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10294 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10167 if test -z "$ac_err"; then | 10295 if test -z "$ac_err"; then |
10168 rm -rf conftest* | 10296 rm -rf conftest* |
10169 eval "ac_cv_header_$ac_safe=yes" | 10297 eval "ac_cv_header_$ac_safe=yes" |
10170 else | 10298 else |
10187 | 10315 |
10188 else | 10316 else |
10189 echo "$ac_t""no" 1>&6 | 10317 echo "$ac_t""no" 1>&6 |
10190 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10318 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
10191 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10319 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
10192 echo "configure:10193: checking for sys/dir.h" >&5 | 10320 echo "configure:10321: checking for sys/dir.h" >&5 |
10193 | 10321 |
10194 cat > conftest.$ac_ext <<EOF | 10322 cat > conftest.$ac_ext <<EOF |
10195 #line 10196 "configure" | 10323 #line 10324 "configure" |
10196 #include "confdefs.h" | 10324 #include "confdefs.h" |
10197 #include <sys/dir.h> | 10325 #include <sys/dir.h> |
10198 EOF | 10326 EOF |
10199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10327 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10200 { (eval echo configure:10201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10328 { (eval echo configure:10329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10329 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10202 if test -z "$ac_err"; then | 10330 if test -z "$ac_err"; then |
10203 rm -rf conftest* | 10331 rm -rf conftest* |
10204 eval "ac_cv_header_$ac_safe=yes" | 10332 eval "ac_cv_header_$ac_safe=yes" |
10205 else | 10333 else |
10228 fi | 10356 fi |
10229 | 10357 |
10230 | 10358 |
10231 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10359 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
10232 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10360 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
10233 echo "configure:10234: checking for nlist.h" >&5 | 10361 echo "configure:10362: checking for nlist.h" >&5 |
10234 | 10362 |
10235 cat > conftest.$ac_ext <<EOF | 10363 cat > conftest.$ac_ext <<EOF |
10236 #line 10237 "configure" | 10364 #line 10365 "configure" |
10237 #include "confdefs.h" | 10365 #include "confdefs.h" |
10238 #include <nlist.h> | 10366 #include <nlist.h> |
10239 EOF | 10367 EOF |
10240 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10241 { (eval echo configure:10242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10369 { (eval echo configure:10370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10242 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10243 if test -z "$ac_err"; then | 10371 if test -z "$ac_err"; then |
10244 rm -rf conftest* | 10372 rm -rf conftest* |
10245 eval "ac_cv_header_$ac_safe=yes" | 10373 eval "ac_cv_header_$ac_safe=yes" |
10246 else | 10374 else |
10266 fi | 10394 fi |
10267 | 10395 |
10268 | 10396 |
10269 | 10397 |
10270 echo "checking "for sound support"" 1>&6 | 10398 echo "checking "for sound support"" 1>&6 |
10271 echo "configure:10272: checking "for sound support"" >&5 | 10399 echo "configure:10400: checking "for sound support"" >&5 |
10272 case "$with_sound" in | 10400 case "$with_sound" in |
10273 native | both ) with_native_sound=yes;; | 10401 native | both ) with_native_sound=yes;; |
10274 nas | no ) with_native_sound=no;; | 10402 nas | no ) with_native_sound=no;; |
10275 esac | 10403 esac |
10276 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10404 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
10277 | 10405 |
10278 if test "$with_native_sound" != "no"; then | 10406 if test "$with_native_sound" != "no"; then |
10279 if test -n "$native_sound_lib"; then | 10407 if test -n "$native_sound_lib"; then |
10280 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10408 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
10281 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10409 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
10282 echo "configure:10283: checking for multimedia/audio_device.h" >&5 | 10410 echo "configure:10411: checking for multimedia/audio_device.h" >&5 |
10283 | 10411 |
10284 cat > conftest.$ac_ext <<EOF | 10412 cat > conftest.$ac_ext <<EOF |
10285 #line 10286 "configure" | 10413 #line 10414 "configure" |
10286 #include "confdefs.h" | 10414 #include "confdefs.h" |
10287 #include <multimedia/audio_device.h> | 10415 #include <multimedia/audio_device.h> |
10288 EOF | 10416 EOF |
10289 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10290 { (eval echo configure:10291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10418 { (eval echo configure:10419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10291 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10419 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10292 if test -z "$ac_err"; then | 10420 if test -z "$ac_err"; then |
10293 rm -rf conftest* | 10421 rm -rf conftest* |
10294 eval "ac_cv_header_$ac_safe=yes" | 10422 eval "ac_cv_header_$ac_safe=yes" |
10295 else | 10423 else |
10333 case "$canonical" in | 10461 case "$canonical" in |
10334 *-sgi-* ) | 10462 *-sgi-* ) |
10335 if test -z "$native_sound_lib"; then | 10463 if test -z "$native_sound_lib"; then |
10336 ac_safe=`echo "audio.h" | sed 'y%./+-%__p_%'` | 10464 ac_safe=`echo "audio.h" | sed 'y%./+-%__p_%'` |
10337 echo $ac_n "checking for audio.h""... $ac_c" 1>&6 | 10465 echo $ac_n "checking for audio.h""... $ac_c" 1>&6 |
10338 echo "configure:10339: checking for audio.h" >&5 | 10466 echo "configure:10467: checking for audio.h" >&5 |
10339 | 10467 |
10340 cat > conftest.$ac_ext <<EOF | 10468 cat > conftest.$ac_ext <<EOF |
10341 #line 10342 "configure" | 10469 #line 10470 "configure" |
10342 #include "confdefs.h" | 10470 #include "confdefs.h" |
10343 #include <audio.h> | 10471 #include <audio.h> |
10344 EOF | 10472 EOF |
10345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10473 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10346 { (eval echo configure:10347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10474 { (eval echo configure:10475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10475 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10348 if test -z "$ac_err"; then | 10476 if test -z "$ac_err"; then |
10349 rm -rf conftest* | 10477 rm -rf conftest* |
10350 eval "ac_cv_header_$ac_safe=yes" | 10478 eval "ac_cv_header_$ac_safe=yes" |
10351 else | 10479 else |
10359 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10487 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10360 echo "$ac_t""yes" 1>&6 | 10488 echo "$ac_t""yes" 1>&6 |
10361 | 10489 |
10362 | 10490 |
10363 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10491 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
10364 echo "configure:10365: checking for ALopenport in -laudio" >&5 | 10492 echo "configure:10493: checking for ALopenport in -laudio" >&5 |
10365 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10493 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
10366 | 10494 |
10367 xe_check_libs=" -laudio " | 10495 xe_check_libs=" -laudio " |
10368 cat > conftest.$ac_ext <<EOF | 10496 cat > conftest.$ac_ext <<EOF |
10369 #line 10370 "configure" | 10497 #line 10498 "configure" |
10370 #include "confdefs.h" | 10498 #include "confdefs.h" |
10371 /* Override any gcc2 internal prototype to avoid an error. */ | 10499 /* Override any gcc2 internal prototype to avoid an error. */ |
10372 /* We use char because int might match the return type of a gcc2 | 10500 /* We use char because int might match the return type of a gcc2 |
10373 builtin and then its argument prototype would still apply. */ | 10501 builtin and then its argument prototype would still apply. */ |
10374 char ALopenport(); | 10502 char ALopenport(); |
10375 | 10503 |
10376 int main() { | 10504 int main() { |
10377 ALopenport() | 10505 ALopenport() |
10378 ; return 0; } | 10506 ; return 0; } |
10379 EOF | 10507 EOF |
10380 if { (eval echo configure:10381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10508 if { (eval echo configure:10509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10381 rm -rf conftest* | 10509 rm -rf conftest* |
10382 eval "ac_cv_lib_$ac_lib_var=yes" | 10510 eval "ac_cv_lib_$ac_lib_var=yes" |
10383 else | 10511 else |
10384 echo "configure: failed program was:" >&5 | 10512 echo "configure: failed program was:" >&5 |
10385 cat conftest.$ac_ext >&5 | 10513 cat conftest.$ac_ext >&5 |
10411 fi ;; | 10539 fi ;; |
10412 hppa*-hp-hpux* ) | 10540 hppa*-hp-hpux* ) |
10413 if test -z "$native_sound_lib"; then | 10541 if test -z "$native_sound_lib"; then |
10414 | 10542 |
10415 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10543 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
10416 echo "configure:10417: checking for AOpenAudio in -lAlib" >&5 | 10544 echo "configure:10545: checking for AOpenAudio in -lAlib" >&5 |
10417 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10545 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
10418 | 10546 |
10419 xe_check_libs=" -lAlib " | 10547 xe_check_libs=" -lAlib " |
10420 cat > conftest.$ac_ext <<EOF | 10548 cat > conftest.$ac_ext <<EOF |
10421 #line 10422 "configure" | 10549 #line 10550 "configure" |
10422 #include "confdefs.h" | 10550 #include "confdefs.h" |
10423 /* Override any gcc2 internal prototype to avoid an error. */ | 10551 /* Override any gcc2 internal prototype to avoid an error. */ |
10424 /* We use char because int might match the return type of a gcc2 | 10552 /* We use char because int might match the return type of a gcc2 |
10425 builtin and then its argument prototype would still apply. */ | 10553 builtin and then its argument prototype would still apply. */ |
10426 char AOpenAudio(); | 10554 char AOpenAudio(); |
10427 | 10555 |
10428 int main() { | 10556 int main() { |
10429 AOpenAudio() | 10557 AOpenAudio() |
10430 ; return 0; } | 10558 ; return 0; } |
10431 EOF | 10559 EOF |
10432 if { (eval echo configure:10433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10560 if { (eval echo configure:10561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10433 rm -rf conftest* | 10561 rm -rf conftest* |
10434 eval "ac_cv_lib_$ac_lib_var=yes" | 10562 eval "ac_cv_lib_$ac_lib_var=yes" |
10435 else | 10563 else |
10436 echo "configure: failed program was:" >&5 | 10564 echo "configure: failed program was:" >&5 |
10437 cat conftest.$ac_ext >&5 | 10565 cat conftest.$ac_ext >&5 |
10465 | 10593 |
10466 if test -z "$sound_found"; then | 10594 if test -z "$sound_found"; then |
10467 for dir in "machine" "sys" "linux"; do | 10595 for dir in "machine" "sys" "linux"; do |
10468 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10596 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10469 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10597 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10470 echo "configure:10471: checking for ${dir}/soundcard.h" >&5 | 10598 echo "configure:10599: checking for ${dir}/soundcard.h" >&5 |
10471 | 10599 |
10472 cat > conftest.$ac_ext <<EOF | 10600 cat > conftest.$ac_ext <<EOF |
10473 #line 10474 "configure" | 10601 #line 10602 "configure" |
10474 #include "confdefs.h" | 10602 #include "confdefs.h" |
10475 #include <${dir}/soundcard.h> | 10603 #include <${dir}/soundcard.h> |
10476 EOF | 10604 EOF |
10477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10478 { (eval echo configure:10479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10606 { (eval echo configure:10607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10480 if test -z "$ac_err"; then | 10608 if test -z "$ac_err"; then |
10481 rm -rf conftest* | 10609 rm -rf conftest* |
10482 eval "ac_cv_header_$ac_safe=yes" | 10610 eval "ac_cv_header_$ac_safe=yes" |
10483 else | 10611 else |
10543 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10671 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10544 echo " xemacs will be linked with \"nas.o\"" | 10672 echo " xemacs will be linked with \"nas.o\"" |
10545 fi | 10673 fi |
10546 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10674 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10547 cat > conftest.$ac_ext <<EOF | 10675 cat > conftest.$ac_ext <<EOF |
10548 #line 10549 "configure" | 10676 #line 10677 "configure" |
10549 #include "confdefs.h" | 10677 #include "confdefs.h" |
10550 #include <audio/Xtutil.h> | 10678 #include <audio/Xtutil.h> |
10551 EOF | 10679 EOF |
10552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10553 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10681 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10570 | 10698 |
10571 test -z "$with_tty" && with_tty=yes | 10699 test -z "$with_tty" && with_tty=yes |
10572 | 10700 |
10573 if test "$with_tty" = "yes" ; then | 10701 if test "$with_tty" = "yes" ; then |
10574 echo "checking for TTY-related features" 1>&6 | 10702 echo "checking for TTY-related features" 1>&6 |
10575 echo "configure:10576: checking for TTY-related features" >&5 | 10703 echo "configure:10704: checking for TTY-related features" >&5 |
10576 { test "$extra_verbose" = "yes" && cat << \EOF | 10704 { test "$extra_verbose" = "yes" && cat << \EOF |
10577 Defining HAVE_TTY | 10705 Defining HAVE_TTY |
10578 EOF | 10706 EOF |
10579 cat >> confdefs.h <<\EOF | 10707 cat >> confdefs.h <<\EOF |
10580 #define HAVE_TTY 1 | 10708 #define HAVE_TTY 1 |
10586 fi | 10714 fi |
10587 | 10715 |
10588 if test -z "$with_ncurses"; then | 10716 if test -z "$with_ncurses"; then |
10589 | 10717 |
10590 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10718 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10591 echo "configure:10592: checking for tgetent in -lncurses" >&5 | 10719 echo "configure:10720: checking for tgetent in -lncurses" >&5 |
10592 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10720 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10593 | 10721 |
10594 xe_check_libs=" -lncurses " | 10722 xe_check_libs=" -lncurses " |
10595 cat > conftest.$ac_ext <<EOF | 10723 cat > conftest.$ac_ext <<EOF |
10596 #line 10597 "configure" | 10724 #line 10725 "configure" |
10597 #include "confdefs.h" | 10725 #include "confdefs.h" |
10598 /* Override any gcc2 internal prototype to avoid an error. */ | 10726 /* Override any gcc2 internal prototype to avoid an error. */ |
10599 /* We use char because int might match the return type of a gcc2 | 10727 /* We use char because int might match the return type of a gcc2 |
10600 builtin and then its argument prototype would still apply. */ | 10728 builtin and then its argument prototype would still apply. */ |
10601 char tgetent(); | 10729 char tgetent(); |
10602 | 10730 |
10603 int main() { | 10731 int main() { |
10604 tgetent() | 10732 tgetent() |
10605 ; return 0; } | 10733 ; return 0; } |
10606 EOF | 10734 EOF |
10607 if { (eval echo configure:10608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10735 if { (eval echo configure:10736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10608 rm -rf conftest* | 10736 rm -rf conftest* |
10609 eval "ac_cv_lib_$ac_lib_var=yes" | 10737 eval "ac_cv_lib_$ac_lib_var=yes" |
10610 else | 10738 else |
10611 echo "configure: failed program was:" >&5 | 10739 echo "configure: failed program was:" >&5 |
10612 cat conftest.$ac_ext >&5 | 10740 cat conftest.$ac_ext >&5 |
10635 EOF | 10763 EOF |
10636 } | 10764 } |
10637 | 10765 |
10638 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10766 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10639 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10767 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10640 echo "configure:10641: checking for ncurses/curses.h" >&5 | 10768 echo "configure:10769: checking for ncurses/curses.h" >&5 |
10641 | 10769 |
10642 cat > conftest.$ac_ext <<EOF | 10770 cat > conftest.$ac_ext <<EOF |
10643 #line 10644 "configure" | 10771 #line 10772 "configure" |
10644 #include "confdefs.h" | 10772 #include "confdefs.h" |
10645 #include <ncurses/curses.h> | 10773 #include <ncurses/curses.h> |
10646 EOF | 10774 EOF |
10647 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10775 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10648 { (eval echo configure:10649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10776 { (eval echo configure:10777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10649 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10777 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10650 if test -z "$ac_err"; then | 10778 if test -z "$ac_err"; then |
10651 rm -rf conftest* | 10779 rm -rf conftest* |
10652 eval "ac_cv_header_$ac_safe=yes" | 10780 eval "ac_cv_header_$ac_safe=yes" |
10653 else | 10781 else |
10665 echo "$ac_t""no" 1>&6 | 10793 echo "$ac_t""no" 1>&6 |
10666 fi | 10794 fi |
10667 | 10795 |
10668 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10796 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10669 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10797 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10670 echo "configure:10671: checking for ncurses/term.h" >&5 | 10798 echo "configure:10799: checking for ncurses/term.h" >&5 |
10671 | 10799 |
10672 cat > conftest.$ac_ext <<EOF | 10800 cat > conftest.$ac_ext <<EOF |
10673 #line 10674 "configure" | 10801 #line 10802 "configure" |
10674 #include "confdefs.h" | 10802 #include "confdefs.h" |
10675 #include <ncurses/term.h> | 10803 #include <ncurses/term.h> |
10676 EOF | 10804 EOF |
10677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10678 { (eval echo configure:10679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10806 { (eval echo configure:10807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10680 if test -z "$ac_err"; then | 10808 if test -z "$ac_err"; then |
10681 rm -rf conftest* | 10809 rm -rf conftest* |
10682 eval "ac_cv_header_$ac_safe=yes" | 10810 eval "ac_cv_header_$ac_safe=yes" |
10683 else | 10811 else |
10703 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10831 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10704 save_c_switch_site="$c_switch_site" | 10832 save_c_switch_site="$c_switch_site" |
10705 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10833 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10706 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10834 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10707 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10835 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10708 echo "configure:10709: checking for ncurses/curses.h" >&5 | 10836 echo "configure:10837: checking for ncurses/curses.h" >&5 |
10709 | 10837 |
10710 cat > conftest.$ac_ext <<EOF | 10838 cat > conftest.$ac_ext <<EOF |
10711 #line 10712 "configure" | 10839 #line 10840 "configure" |
10712 #include "confdefs.h" | 10840 #include "confdefs.h" |
10713 #include <ncurses/curses.h> | 10841 #include <ncurses/curses.h> |
10714 EOF | 10842 EOF |
10715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10716 { (eval echo configure:10717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10844 { (eval echo configure:10845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10717 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10718 if test -z "$ac_err"; then | 10846 if test -z "$ac_err"; then |
10719 rm -rf conftest* | 10847 rm -rf conftest* |
10720 eval "ac_cv_header_$ac_safe=yes" | 10848 eval "ac_cv_header_$ac_safe=yes" |
10721 else | 10849 else |
10746 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10874 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10747 else | 10875 else |
10748 for lib in curses termlib termcap; do | 10876 for lib in curses termlib termcap; do |
10749 | 10877 |
10750 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10878 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10751 echo "configure:10752: checking for tgetent in -l$lib" >&5 | 10879 echo "configure:10880: checking for tgetent in -l$lib" >&5 |
10752 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10880 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10753 | 10881 |
10754 xe_check_libs=" -l$lib " | 10882 xe_check_libs=" -l$lib " |
10755 cat > conftest.$ac_ext <<EOF | 10883 cat > conftest.$ac_ext <<EOF |
10756 #line 10757 "configure" | 10884 #line 10885 "configure" |
10757 #include "confdefs.h" | 10885 #include "confdefs.h" |
10758 /* Override any gcc2 internal prototype to avoid an error. */ | 10886 /* Override any gcc2 internal prototype to avoid an error. */ |
10759 /* We use char because int might match the return type of a gcc2 | 10887 /* We use char because int might match the return type of a gcc2 |
10760 builtin and then its argument prototype would still apply. */ | 10888 builtin and then its argument prototype would still apply. */ |
10761 char tgetent(); | 10889 char tgetent(); |
10762 | 10890 |
10763 int main() { | 10891 int main() { |
10764 tgetent() | 10892 tgetent() |
10765 ; return 0; } | 10893 ; return 0; } |
10766 EOF | 10894 EOF |
10767 if { (eval echo configure:10768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10895 if { (eval echo configure:10896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10768 rm -rf conftest* | 10896 rm -rf conftest* |
10769 eval "ac_cv_lib_$ac_lib_var=yes" | 10897 eval "ac_cv_lib_$ac_lib_var=yes" |
10770 else | 10898 else |
10771 echo "configure: failed program was:" >&5 | 10899 echo "configure: failed program was:" >&5 |
10772 cat conftest.$ac_ext >&5 | 10900 cat conftest.$ac_ext >&5 |
10793 if test -n "$libs_termcap"; then | 10921 if test -n "$libs_termcap"; then |
10794 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10922 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10795 else | 10923 else |
10796 | 10924 |
10797 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10925 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10798 echo "configure:10799: checking for tgetent in -lcurses" >&5 | 10926 echo "configure:10927: checking for tgetent in -lcurses" >&5 |
10799 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10927 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10800 | 10928 |
10801 xe_check_libs=" -lcurses " | 10929 xe_check_libs=" -lcurses " |
10802 cat > conftest.$ac_ext <<EOF | 10930 cat > conftest.$ac_ext <<EOF |
10803 #line 10804 "configure" | 10931 #line 10932 "configure" |
10804 #include "confdefs.h" | 10932 #include "confdefs.h" |
10805 /* Override any gcc2 internal prototype to avoid an error. */ | 10933 /* Override any gcc2 internal prototype to avoid an error. */ |
10806 /* We use char because int might match the return type of a gcc2 | 10934 /* We use char because int might match the return type of a gcc2 |
10807 builtin and then its argument prototype would still apply. */ | 10935 builtin and then its argument prototype would still apply. */ |
10808 char tgetent(); | 10936 char tgetent(); |
10809 | 10937 |
10810 int main() { | 10938 int main() { |
10811 tgetent() | 10939 tgetent() |
10812 ; return 0; } | 10940 ; return 0; } |
10813 EOF | 10941 EOF |
10814 if { (eval echo configure:10815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10942 if { (eval echo configure:10943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10815 rm -rf conftest* | 10943 rm -rf conftest* |
10816 eval "ac_cv_lib_$ac_lib_var=yes" | 10944 eval "ac_cv_lib_$ac_lib_var=yes" |
10817 else | 10945 else |
10818 echo "configure: failed program was:" >&5 | 10946 echo "configure: failed program was:" >&5 |
10819 cat conftest.$ac_ext >&5 | 10947 cat conftest.$ac_ext >&5 |
10827 echo "$ac_t""yes" 1>&6 | 10955 echo "$ac_t""yes" 1>&6 |
10828 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10956 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
10829 else | 10957 else |
10830 echo "$ac_t""no" 1>&6 | 10958 echo "$ac_t""no" 1>&6 |
10831 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10959 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
10832 echo "configure:10833: checking for tgetent in -ltermcap" >&5 | 10960 echo "configure:10961: checking for tgetent in -ltermcap" >&5 |
10833 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10961 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
10834 | 10962 |
10835 xe_check_libs=" -ltermcap " | 10963 xe_check_libs=" -ltermcap " |
10836 cat > conftest.$ac_ext <<EOF | 10964 cat > conftest.$ac_ext <<EOF |
10837 #line 10838 "configure" | 10965 #line 10966 "configure" |
10838 #include "confdefs.h" | 10966 #include "confdefs.h" |
10839 /* Override any gcc2 internal prototype to avoid an error. */ | 10967 /* Override any gcc2 internal prototype to avoid an error. */ |
10840 /* We use char because int might match the return type of a gcc2 | 10968 /* We use char because int might match the return type of a gcc2 |
10841 builtin and then its argument prototype would still apply. */ | 10969 builtin and then its argument prototype would still apply. */ |
10842 char tgetent(); | 10970 char tgetent(); |
10843 | 10971 |
10844 int main() { | 10972 int main() { |
10845 tgetent() | 10973 tgetent() |
10846 ; return 0; } | 10974 ; return 0; } |
10847 EOF | 10975 EOF |
10848 if { (eval echo configure:10849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10976 if { (eval echo configure:10977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10849 rm -rf conftest* | 10977 rm -rf conftest* |
10850 eval "ac_cv_lib_$ac_lib_var=yes" | 10978 eval "ac_cv_lib_$ac_lib_var=yes" |
10851 else | 10979 else |
10852 echo "configure: failed program was:" >&5 | 10980 echo "configure: failed program was:" >&5 |
10853 cat conftest.$ac_ext >&5 | 10981 cat conftest.$ac_ext >&5 |
10891 } | 11019 } |
10892 | 11020 |
10893 | 11021 |
10894 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 11022 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
10895 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 11023 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
10896 echo "configure:10897: checking for gpm.h" >&5 | 11024 echo "configure:11025: checking for gpm.h" >&5 |
10897 | 11025 |
10898 cat > conftest.$ac_ext <<EOF | 11026 cat > conftest.$ac_ext <<EOF |
10899 #line 10900 "configure" | 11027 #line 11028 "configure" |
10900 #include "confdefs.h" | 11028 #include "confdefs.h" |
10901 #include <gpm.h> | 11029 #include <gpm.h> |
10902 EOF | 11030 EOF |
10903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10904 { (eval echo configure:10905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11032 { (eval echo configure:11033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11033 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10906 if test -z "$ac_err"; then | 11034 if test -z "$ac_err"; then |
10907 rm -rf conftest* | 11035 rm -rf conftest* |
10908 eval "ac_cv_header_$ac_safe=yes" | 11036 eval "ac_cv_header_$ac_safe=yes" |
10909 else | 11037 else |
10922 with_gpm=no | 11050 with_gpm=no |
10923 fi | 11051 fi |
10924 } | 11052 } |
10925 test -z "$with_gpm" && { | 11053 test -z "$with_gpm" && { |
10926 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 11054 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
10927 echo "configure:10928: checking for Gpm_Open in -lgpm" >&5 | 11055 echo "configure:11056: checking for Gpm_Open in -lgpm" >&5 |
10928 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 11056 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
10929 | 11057 |
10930 xe_check_libs=" -lgpm " | 11058 xe_check_libs=" -lgpm " |
10931 cat > conftest.$ac_ext <<EOF | 11059 cat > conftest.$ac_ext <<EOF |
10932 #line 10933 "configure" | 11060 #line 11061 "configure" |
10933 #include "confdefs.h" | 11061 #include "confdefs.h" |
10934 /* Override any gcc2 internal prototype to avoid an error. */ | 11062 /* Override any gcc2 internal prototype to avoid an error. */ |
10935 /* We use char because int might match the return type of a gcc2 | 11063 /* We use char because int might match the return type of a gcc2 |
10936 builtin and then its argument prototype would still apply. */ | 11064 builtin and then its argument prototype would still apply. */ |
10937 char Gpm_Open(); | 11065 char Gpm_Open(); |
10938 | 11066 |
10939 int main() { | 11067 int main() { |
10940 Gpm_Open() | 11068 Gpm_Open() |
10941 ; return 0; } | 11069 ; return 0; } |
10942 EOF | 11070 EOF |
10943 if { (eval echo configure:10944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11071 if { (eval echo configure:11072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10944 rm -rf conftest* | 11072 rm -rf conftest* |
10945 eval "ac_cv_lib_$ac_lib_var=yes" | 11073 eval "ac_cv_lib_$ac_lib_var=yes" |
10946 else | 11074 else |
10947 echo "configure: failed program was:" >&5 | 11075 echo "configure: failed program was:" >&5 |
10948 cat conftest.$ac_ext >&5 | 11076 cat conftest.$ac_ext >&5 |
10987 echo " xemacs will be linked with \"event-unixoid.o\"" | 11115 echo " xemacs will be linked with \"event-unixoid.o\"" |
10988 fi | 11116 fi |
10989 | 11117 |
10990 | 11118 |
10991 echo "checking for database support" 1>&6 | 11119 echo "checking for database support" 1>&6 |
10992 echo "configure:10993: checking for database support" >&5 | 11120 echo "configure:11121: checking for database support" >&5 |
10993 | 11121 |
10994 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then | 11122 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then |
10995 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 11123 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
10996 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 11124 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
10997 echo "configure:10998: checking for ndbm.h" >&5 | 11125 echo "configure:11126: checking for ndbm.h" >&5 |
10998 | 11126 |
10999 cat > conftest.$ac_ext <<EOF | 11127 cat > conftest.$ac_ext <<EOF |
11000 #line 11001 "configure" | 11128 #line 11129 "configure" |
11001 #include "confdefs.h" | 11129 #include "confdefs.h" |
11002 #include <ndbm.h> | 11130 #include <ndbm.h> |
11003 EOF | 11131 EOF |
11004 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11005 { (eval echo configure:11006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11133 { (eval echo configure:11134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11006 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11007 if test -z "$ac_err"; then | 11135 if test -z "$ac_err"; then |
11008 rm -rf conftest* | 11136 rm -rf conftest* |
11009 eval "ac_cv_header_$ac_safe=yes" | 11137 eval "ac_cv_header_$ac_safe=yes" |
11010 else | 11138 else |
11030 fi | 11158 fi |
11031 | 11159 |
11032 if test "$with_database_gnudbm" != "no"; then | 11160 if test "$with_database_gnudbm" != "no"; then |
11033 | 11161 |
11034 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 11162 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
11035 echo "configure:11036: checking for dbm_open in -lgdbm" >&5 | 11163 echo "configure:11164: checking for dbm_open in -lgdbm" >&5 |
11036 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11164 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11037 | 11165 |
11038 xe_check_libs=" -lgdbm " | 11166 xe_check_libs=" -lgdbm " |
11039 cat > conftest.$ac_ext <<EOF | 11167 cat > conftest.$ac_ext <<EOF |
11040 #line 11041 "configure" | 11168 #line 11169 "configure" |
11041 #include "confdefs.h" | 11169 #include "confdefs.h" |
11042 /* Override any gcc2 internal prototype to avoid an error. */ | 11170 /* Override any gcc2 internal prototype to avoid an error. */ |
11043 /* We use char because int might match the return type of a gcc2 | 11171 /* We use char because int might match the return type of a gcc2 |
11044 builtin and then its argument prototype would still apply. */ | 11172 builtin and then its argument prototype would still apply. */ |
11045 char dbm_open(); | 11173 char dbm_open(); |
11046 | 11174 |
11047 int main() { | 11175 int main() { |
11048 dbm_open() | 11176 dbm_open() |
11049 ; return 0; } | 11177 ; return 0; } |
11050 EOF | 11178 EOF |
11051 if { (eval echo configure:11052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11179 if { (eval echo configure:11180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11052 rm -rf conftest* | 11180 rm -rf conftest* |
11053 eval "ac_cv_lib_$ac_lib_var=yes" | 11181 eval "ac_cv_lib_$ac_lib_var=yes" |
11054 else | 11182 else |
11055 echo "configure: failed program was:" >&5 | 11183 echo "configure: failed program was:" >&5 |
11056 cat conftest.$ac_ext >&5 | 11184 cat conftest.$ac_ext >&5 |
11074 | 11202 |
11075 fi | 11203 fi |
11076 | 11204 |
11077 if test "$with_database_dbm" != "no"; then | 11205 if test "$with_database_dbm" != "no"; then |
11078 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11206 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
11079 echo "configure:11080: checking for dbm_open" >&5 | 11207 echo "configure:11208: checking for dbm_open" >&5 |
11080 | 11208 |
11081 cat > conftest.$ac_ext <<EOF | 11209 cat > conftest.$ac_ext <<EOF |
11082 #line 11083 "configure" | 11210 #line 11211 "configure" |
11083 #include "confdefs.h" | 11211 #include "confdefs.h" |
11084 /* System header to define __stub macros and hopefully few prototypes, | 11212 /* System header to define __stub macros and hopefully few prototypes, |
11085 which can conflict with char dbm_open(); below. */ | 11213 which can conflict with char dbm_open(); below. */ |
11086 #include <assert.h> | 11214 #include <assert.h> |
11087 /* Override any gcc2 internal prototype to avoid an error. */ | 11215 /* Override any gcc2 internal prototype to avoid an error. */ |
11100 dbm_open(); | 11228 dbm_open(); |
11101 #endif | 11229 #endif |
11102 | 11230 |
11103 ; return 0; } | 11231 ; return 0; } |
11104 EOF | 11232 EOF |
11105 if { (eval echo configure:11106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11233 if { (eval echo configure:11234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11106 rm -rf conftest* | 11234 rm -rf conftest* |
11107 eval "ac_cv_func_dbm_open=yes" | 11235 eval "ac_cv_func_dbm_open=yes" |
11108 else | 11236 else |
11109 echo "configure: failed program was:" >&5 | 11237 echo "configure: failed program was:" >&5 |
11110 cat conftest.$ac_ext >&5 | 11238 cat conftest.$ac_ext >&5 |
11119 else | 11247 else |
11120 echo "$ac_t""no" 1>&6 | 11248 echo "$ac_t""no" 1>&6 |
11121 | 11249 |
11122 | 11250 |
11123 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11251 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
11124 echo "configure:11125: checking for dbm_open in -ldbm" >&5 | 11252 echo "configure:11253: checking for dbm_open in -ldbm" >&5 |
11125 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11253 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11126 | 11254 |
11127 xe_check_libs=" -ldbm " | 11255 xe_check_libs=" -ldbm " |
11128 cat > conftest.$ac_ext <<EOF | 11256 cat > conftest.$ac_ext <<EOF |
11129 #line 11130 "configure" | 11257 #line 11258 "configure" |
11130 #include "confdefs.h" | 11258 #include "confdefs.h" |
11131 /* Override any gcc2 internal prototype to avoid an error. */ | 11259 /* Override any gcc2 internal prototype to avoid an error. */ |
11132 /* We use char because int might match the return type of a gcc2 | 11260 /* We use char because int might match the return type of a gcc2 |
11133 builtin and then its argument prototype would still apply. */ | 11261 builtin and then its argument prototype would still apply. */ |
11134 char dbm_open(); | 11262 char dbm_open(); |
11135 | 11263 |
11136 int main() { | 11264 int main() { |
11137 dbm_open() | 11265 dbm_open() |
11138 ; return 0; } | 11266 ; return 0; } |
11139 EOF | 11267 EOF |
11140 if { (eval echo configure:11141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11268 if { (eval echo configure:11269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11141 rm -rf conftest* | 11269 rm -rf conftest* |
11142 eval "ac_cv_lib_$ac_lib_var=yes" | 11270 eval "ac_cv_lib_$ac_lib_var=yes" |
11143 else | 11271 else |
11144 echo "configure: failed program was:" >&5 | 11272 echo "configure: failed program was:" >&5 |
11145 cat conftest.$ac_ext >&5 | 11273 cat conftest.$ac_ext >&5 |
11177 | 11305 |
11178 fi | 11306 fi |
11179 | 11307 |
11180 if test "$with_database_berkdb" != "no"; then | 11308 if test "$with_database_berkdb" != "no"; then |
11181 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11309 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
11182 echo "configure:11183: checking for Berkeley db.h" >&5 | 11310 echo "configure:11311: checking for Berkeley db.h" >&5 |
11183 for path in "db/db.h" "db.h"; do | 11311 for path in "db/db.h" "db.h"; do |
11184 cat > conftest.$ac_ext <<EOF | 11312 cat > conftest.$ac_ext <<EOF |
11185 #line 11186 "configure" | 11313 #line 11314 "configure" |
11186 #include "confdefs.h" | 11314 #include "confdefs.h" |
11187 | 11315 |
11188 #include <stdlib.h> | 11316 #include <stdlib.h> |
11189 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 11317 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
11190 #ifdef HAVE_INTTYPES_H | 11318 #ifdef HAVE_INTTYPES_H |
11202 | 11330 |
11203 int main() { | 11331 int main() { |
11204 | 11332 |
11205 ; return 0; } | 11333 ; return 0; } |
11206 EOF | 11334 EOF |
11207 if { (eval echo configure:11208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11335 if { (eval echo configure:11336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11208 rm -rf conftest* | 11336 rm -rf conftest* |
11209 db_h_path="$path"; break | 11337 db_h_path="$path"; break |
11210 else | 11338 else |
11211 echo "configure: failed program was:" >&5 | 11339 echo "configure: failed program was:" >&5 |
11212 cat conftest.$ac_ext >&5 | 11340 cat conftest.$ac_ext >&5 |
11218 else echo "$ac_t""$db_h_path" 1>&6 | 11346 else echo "$ac_t""$db_h_path" 1>&6 |
11219 fi | 11347 fi |
11220 | 11348 |
11221 if test "$with_database_berkdb" != "no"; then | 11349 if test "$with_database_berkdb" != "no"; then |
11222 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11350 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
11223 echo "configure:11224: checking for Berkeley DB version" >&5 | 11351 echo "configure:11352: checking for Berkeley DB version" >&5 |
11224 cat > conftest.$ac_ext <<EOF | 11352 cat > conftest.$ac_ext <<EOF |
11225 #line 11226 "configure" | 11353 #line 11354 "configure" |
11226 #include "confdefs.h" | 11354 #include "confdefs.h" |
11227 #include <$db_h_path> | 11355 #include <$db_h_path> |
11228 #if DB_VERSION_MAJOR > 1 | 11356 #if DB_VERSION_MAJOR > 1 |
11229 yes | 11357 yes |
11230 #endif | 11358 #endif |
11239 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11367 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
11240 fi | 11368 fi |
11241 rm -f conftest* | 11369 rm -f conftest* |
11242 | 11370 |
11243 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11371 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
11244 echo "configure:11245: checking for $dbfunc" >&5 | 11372 echo "configure:11373: checking for $dbfunc" >&5 |
11245 | 11373 |
11246 cat > conftest.$ac_ext <<EOF | 11374 cat > conftest.$ac_ext <<EOF |
11247 #line 11248 "configure" | 11375 #line 11376 "configure" |
11248 #include "confdefs.h" | 11376 #include "confdefs.h" |
11249 /* System header to define __stub macros and hopefully few prototypes, | 11377 /* System header to define __stub macros and hopefully few prototypes, |
11250 which can conflict with char $dbfunc(); below. */ | 11378 which can conflict with char $dbfunc(); below. */ |
11251 #include <assert.h> | 11379 #include <assert.h> |
11252 /* Override any gcc2 internal prototype to avoid an error. */ | 11380 /* Override any gcc2 internal prototype to avoid an error. */ |
11265 $dbfunc(); | 11393 $dbfunc(); |
11266 #endif | 11394 #endif |
11267 | 11395 |
11268 ; return 0; } | 11396 ; return 0; } |
11269 EOF | 11397 EOF |
11270 if { (eval echo configure:11271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11398 if { (eval echo configure:11399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11271 rm -rf conftest* | 11399 rm -rf conftest* |
11272 eval "ac_cv_func_$dbfunc=yes" | 11400 eval "ac_cv_func_$dbfunc=yes" |
11273 else | 11401 else |
11274 echo "configure: failed program was:" >&5 | 11402 echo "configure: failed program was:" >&5 |
11275 cat conftest.$ac_ext >&5 | 11403 cat conftest.$ac_ext >&5 |
11284 else | 11412 else |
11285 echo "$ac_t""no" 1>&6 | 11413 echo "$ac_t""no" 1>&6 |
11286 | 11414 |
11287 | 11415 |
11288 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11416 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
11289 echo "configure:11290: checking for $dbfunc in -ldb" >&5 | 11417 echo "configure:11418: checking for $dbfunc in -ldb" >&5 |
11290 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11418 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
11291 | 11419 |
11292 xe_check_libs=" -ldb " | 11420 xe_check_libs=" -ldb " |
11293 cat > conftest.$ac_ext <<EOF | 11421 cat > conftest.$ac_ext <<EOF |
11294 #line 11295 "configure" | 11422 #line 11423 "configure" |
11295 #include "confdefs.h" | 11423 #include "confdefs.h" |
11296 /* Override any gcc2 internal prototype to avoid an error. */ | 11424 /* Override any gcc2 internal prototype to avoid an error. */ |
11297 /* We use char because int might match the return type of a gcc2 | 11425 /* We use char because int might match the return type of a gcc2 |
11298 builtin and then its argument prototype would still apply. */ | 11426 builtin and then its argument prototype would still apply. */ |
11299 char $dbfunc(); | 11427 char $dbfunc(); |
11300 | 11428 |
11301 int main() { | 11429 int main() { |
11302 $dbfunc() | 11430 $dbfunc() |
11303 ; return 0; } | 11431 ; return 0; } |
11304 EOF | 11432 EOF |
11305 if { (eval echo configure:11306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11433 if { (eval echo configure:11434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11306 rm -rf conftest* | 11434 rm -rf conftest* |
11307 eval "ac_cv_lib_$ac_lib_var=yes" | 11435 eval "ac_cv_lib_$ac_lib_var=yes" |
11308 else | 11436 else |
11309 echo "configure: failed program was:" >&5 | 11437 echo "configure: failed program was:" >&5 |
11310 cat conftest.$ac_ext >&5 | 11438 cat conftest.$ac_ext >&5 |
11364 fi | 11492 fi |
11365 | 11493 |
11366 if test "$with_socks" = "yes"; then | 11494 if test "$with_socks" = "yes"; then |
11367 | 11495 |
11368 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11496 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
11369 echo "configure:11370: checking for SOCKSinit in -lsocks" >&5 | 11497 echo "configure:11498: checking for SOCKSinit in -lsocks" >&5 |
11370 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11498 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
11371 | 11499 |
11372 xe_check_libs=" -lsocks " | 11500 xe_check_libs=" -lsocks " |
11373 cat > conftest.$ac_ext <<EOF | 11501 cat > conftest.$ac_ext <<EOF |
11374 #line 11375 "configure" | 11502 #line 11503 "configure" |
11375 #include "confdefs.h" | 11503 #include "confdefs.h" |
11376 /* Override any gcc2 internal prototype to avoid an error. */ | 11504 /* Override any gcc2 internal prototype to avoid an error. */ |
11377 /* We use char because int might match the return type of a gcc2 | 11505 /* We use char because int might match the return type of a gcc2 |
11378 builtin and then its argument prototype would still apply. */ | 11506 builtin and then its argument prototype would still apply. */ |
11379 char SOCKSinit(); | 11507 char SOCKSinit(); |
11380 | 11508 |
11381 int main() { | 11509 int main() { |
11382 SOCKSinit() | 11510 SOCKSinit() |
11383 ; return 0; } | 11511 ; return 0; } |
11384 EOF | 11512 EOF |
11385 if { (eval echo configure:11386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11513 if { (eval echo configure:11514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11386 rm -rf conftest* | 11514 rm -rf conftest* |
11387 eval "ac_cv_lib_$ac_lib_var=yes" | 11515 eval "ac_cv_lib_$ac_lib_var=yes" |
11388 else | 11516 else |
11389 echo "configure: failed program was:" >&5 | 11517 echo "configure: failed program was:" >&5 |
11390 cat conftest.$ac_ext >&5 | 11518 cat conftest.$ac_ext >&5 |
11439 | 11567 |
11440 for ac_hdr in dlfcn.h | 11568 for ac_hdr in dlfcn.h |
11441 do | 11569 do |
11442 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11570 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11443 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11571 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11444 echo "configure:11445: checking for $ac_hdr" >&5 | 11572 echo "configure:11573: checking for $ac_hdr" >&5 |
11445 | 11573 |
11446 cat > conftest.$ac_ext <<EOF | 11574 cat > conftest.$ac_ext <<EOF |
11447 #line 11448 "configure" | 11575 #line 11576 "configure" |
11448 #include "confdefs.h" | 11576 #include "confdefs.h" |
11449 #include <$ac_hdr> | 11577 #include <$ac_hdr> |
11450 EOF | 11578 EOF |
11451 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11452 { (eval echo configure:11453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11580 { (eval echo configure:11581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11453 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11581 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11454 if test -z "$ac_err"; then | 11582 if test -z "$ac_err"; then |
11455 rm -rf conftest* | 11583 rm -rf conftest* |
11456 eval "ac_cv_header_$ac_safe=yes" | 11584 eval "ac_cv_header_$ac_safe=yes" |
11457 else | 11585 else |
11478 fi | 11606 fi |
11479 done | 11607 done |
11480 | 11608 |
11481 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11609 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11482 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11610 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11483 echo "configure:11484: checking for dlopen in -ldl" >&5 | 11611 echo "configure:11612: checking for dlopen in -ldl" >&5 |
11484 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11612 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11485 | 11613 |
11486 xe_check_libs=" -ldl " | 11614 xe_check_libs=" -ldl " |
11487 cat > conftest.$ac_ext <<EOF | 11615 cat > conftest.$ac_ext <<EOF |
11488 #line 11489 "configure" | 11616 #line 11617 "configure" |
11489 #include "confdefs.h" | 11617 #include "confdefs.h" |
11490 /* Override any gcc2 internal prototype to avoid an error. */ | 11618 /* Override any gcc2 internal prototype to avoid an error. */ |
11491 /* We use char because int might match the return type of a gcc2 | 11619 /* We use char because int might match the return type of a gcc2 |
11492 builtin and then its argument prototype would still apply. */ | 11620 builtin and then its argument prototype would still apply. */ |
11493 char dlopen(); | 11621 char dlopen(); |
11494 | 11622 |
11495 int main() { | 11623 int main() { |
11496 dlopen() | 11624 dlopen() |
11497 ; return 0; } | 11625 ; return 0; } |
11498 EOF | 11626 EOF |
11499 if { (eval echo configure:11500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11627 if { (eval echo configure:11628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11500 rm -rf conftest* | 11628 rm -rf conftest* |
11501 eval "ac_cv_lib_$ac_lib_var=yes" | 11629 eval "ac_cv_lib_$ac_lib_var=yes" |
11502 else | 11630 else |
11503 echo "configure: failed program was:" >&5 | 11631 echo "configure: failed program was:" >&5 |
11504 cat conftest.$ac_ext >&5 | 11632 cat conftest.$ac_ext >&5 |
11523 fi | 11651 fi |
11524 | 11652 |
11525 } | 11653 } |
11526 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11654 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11527 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11655 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11528 echo "configure:11529: checking for _dlopen in -lc" >&5 | 11656 echo "configure:11657: checking for _dlopen in -lc" >&5 |
11529 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11657 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11530 | 11658 |
11531 xe_check_libs=" -lc " | 11659 xe_check_libs=" -lc " |
11532 cat > conftest.$ac_ext <<EOF | 11660 cat > conftest.$ac_ext <<EOF |
11533 #line 11534 "configure" | 11661 #line 11662 "configure" |
11534 #include "confdefs.h" | 11662 #include "confdefs.h" |
11535 /* Override any gcc2 internal prototype to avoid an error. */ | 11663 /* Override any gcc2 internal prototype to avoid an error. */ |
11536 /* We use char because int might match the return type of a gcc2 | 11664 /* We use char because int might match the return type of a gcc2 |
11537 builtin and then its argument prototype would still apply. */ | 11665 builtin and then its argument prototype would still apply. */ |
11538 char _dlopen(); | 11666 char _dlopen(); |
11539 | 11667 |
11540 int main() { | 11668 int main() { |
11541 _dlopen() | 11669 _dlopen() |
11542 ; return 0; } | 11670 ; return 0; } |
11543 EOF | 11671 EOF |
11544 if { (eval echo configure:11545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11672 if { (eval echo configure:11673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11545 rm -rf conftest* | 11673 rm -rf conftest* |
11546 eval "ac_cv_lib_$ac_lib_var=yes" | 11674 eval "ac_cv_lib_$ac_lib_var=yes" |
11547 else | 11675 else |
11548 echo "configure: failed program was:" >&5 | 11676 echo "configure: failed program was:" >&5 |
11549 cat conftest.$ac_ext >&5 | 11677 cat conftest.$ac_ext >&5 |
11568 fi | 11696 fi |
11569 | 11697 |
11570 } | 11698 } |
11571 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11699 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11572 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11700 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11573 echo "configure:11574: checking for dlopen in -lc" >&5 | 11701 echo "configure:11702: checking for dlopen in -lc" >&5 |
11574 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11702 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11575 | 11703 |
11576 xe_check_libs=" -lc " | 11704 xe_check_libs=" -lc " |
11577 cat > conftest.$ac_ext <<EOF | 11705 cat > conftest.$ac_ext <<EOF |
11578 #line 11579 "configure" | 11706 #line 11707 "configure" |
11579 #include "confdefs.h" | 11707 #include "confdefs.h" |
11580 /* Override any gcc2 internal prototype to avoid an error. */ | 11708 /* Override any gcc2 internal prototype to avoid an error. */ |
11581 /* We use char because int might match the return type of a gcc2 | 11709 /* We use char because int might match the return type of a gcc2 |
11582 builtin and then its argument prototype would still apply. */ | 11710 builtin and then its argument prototype would still apply. */ |
11583 char dlopen(); | 11711 char dlopen(); |
11584 | 11712 |
11585 int main() { | 11713 int main() { |
11586 dlopen() | 11714 dlopen() |
11587 ; return 0; } | 11715 ; return 0; } |
11588 EOF | 11716 EOF |
11589 if { (eval echo configure:11590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11717 if { (eval echo configure:11718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11590 rm -rf conftest* | 11718 rm -rf conftest* |
11591 eval "ac_cv_lib_$ac_lib_var=yes" | 11719 eval "ac_cv_lib_$ac_lib_var=yes" |
11592 else | 11720 else |
11593 echo "configure: failed program was:" >&5 | 11721 echo "configure: failed program was:" >&5 |
11594 cat conftest.$ac_ext >&5 | 11722 cat conftest.$ac_ext >&5 |
11613 fi | 11741 fi |
11614 | 11742 |
11615 } | 11743 } |
11616 test -z "$with_shlib" && { | 11744 test -z "$with_shlib" && { |
11617 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11745 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11618 echo "configure:11619: checking for shl_load in -ldld" >&5 | 11746 echo "configure:11747: checking for shl_load in -ldld" >&5 |
11619 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11747 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11620 | 11748 |
11621 xe_check_libs=" -ldld " | 11749 xe_check_libs=" -ldld " |
11622 cat > conftest.$ac_ext <<EOF | 11750 cat > conftest.$ac_ext <<EOF |
11623 #line 11624 "configure" | 11751 #line 11752 "configure" |
11624 #include "confdefs.h" | 11752 #include "confdefs.h" |
11625 /* Override any gcc2 internal prototype to avoid an error. */ | 11753 /* Override any gcc2 internal prototype to avoid an error. */ |
11626 /* We use char because int might match the return type of a gcc2 | 11754 /* We use char because int might match the return type of a gcc2 |
11627 builtin and then its argument prototype would still apply. */ | 11755 builtin and then its argument prototype would still apply. */ |
11628 char shl_load(); | 11756 char shl_load(); |
11629 | 11757 |
11630 int main() { | 11758 int main() { |
11631 shl_load() | 11759 shl_load() |
11632 ; return 0; } | 11760 ; return 0; } |
11633 EOF | 11761 EOF |
11634 if { (eval echo configure:11635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11762 if { (eval echo configure:11763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11635 rm -rf conftest* | 11763 rm -rf conftest* |
11636 eval "ac_cv_lib_$ac_lib_var=yes" | 11764 eval "ac_cv_lib_$ac_lib_var=yes" |
11637 else | 11765 else |
11638 echo "configure: failed program was:" >&5 | 11766 echo "configure: failed program was:" >&5 |
11639 cat conftest.$ac_ext >&5 | 11767 cat conftest.$ac_ext >&5 |
11658 fi | 11786 fi |
11659 | 11787 |
11660 } | 11788 } |
11661 test -z "$with_shlib" && { | 11789 test -z "$with_shlib" && { |
11662 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11790 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11663 echo "configure:11664: checking for dld_init in -ldld" >&5 | 11791 echo "configure:11792: checking for dld_init in -ldld" >&5 |
11664 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11792 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11665 | 11793 |
11666 xe_check_libs=" -ldld " | 11794 xe_check_libs=" -ldld " |
11667 cat > conftest.$ac_ext <<EOF | 11795 cat > conftest.$ac_ext <<EOF |
11668 #line 11669 "configure" | 11796 #line 11797 "configure" |
11669 #include "confdefs.h" | 11797 #include "confdefs.h" |
11670 /* Override any gcc2 internal prototype to avoid an error. */ | 11798 /* Override any gcc2 internal prototype to avoid an error. */ |
11671 /* We use char because int might match the return type of a gcc2 | 11799 /* We use char because int might match the return type of a gcc2 |
11672 builtin and then its argument prototype would still apply. */ | 11800 builtin and then its argument prototype would still apply. */ |
11673 char dld_init(); | 11801 char dld_init(); |
11674 | 11802 |
11675 int main() { | 11803 int main() { |
11676 dld_init() | 11804 dld_init() |
11677 ; return 0; } | 11805 ; return 0; } |
11678 EOF | 11806 EOF |
11679 if { (eval echo configure:11680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11807 if { (eval echo configure:11808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11680 rm -rf conftest* | 11808 rm -rf conftest* |
11681 eval "ac_cv_lib_$ac_lib_var=yes" | 11809 eval "ac_cv_lib_$ac_lib_var=yes" |
11682 else | 11810 else |
11683 echo "configure: failed program was:" >&5 | 11811 echo "configure: failed program was:" >&5 |
11684 cat conftest.$ac_ext >&5 | 11812 cat conftest.$ac_ext >&5 |
11724 dll_lflags="-shared" | 11852 dll_lflags="-shared" |
11725 dll_cflags="-r" | 11853 dll_cflags="-r" |
11726 dll_oflags="-o " | 11854 dll_oflags="-o " |
11727 | 11855 |
11728 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11856 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
11729 echo "configure:11730: checking how to build a shared library" >&5 | 11857 echo "configure:11858: checking how to build a shared library" >&5 |
11730 case `uname -rs` in | 11858 case `uname -rs` in |
11731 UNIX_SV*|UNIX_System_V*) | 11859 UNIX_SV*|UNIX_System_V*) |
11732 dll_lflags="-G" | 11860 dll_lflags="-G" |
11733 dll_cflags=-Kpic | 11861 dll_cflags=-Kpic |
11734 dll_ld="ld" | 11862 dll_ld="ld" |
11815 | 11943 |
11816 | 11944 |
11817 for ac_func in dlerror | 11945 for ac_func in dlerror |
11818 do | 11946 do |
11819 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11820 echo "configure:11821: checking for $ac_func" >&5 | 11948 echo "configure:11949: checking for $ac_func" >&5 |
11821 | 11949 |
11822 cat > conftest.$ac_ext <<EOF | 11950 cat > conftest.$ac_ext <<EOF |
11823 #line 11824 "configure" | 11951 #line 11952 "configure" |
11824 #include "confdefs.h" | 11952 #include "confdefs.h" |
11825 /* System header to define __stub macros and hopefully few prototypes, | 11953 /* System header to define __stub macros and hopefully few prototypes, |
11826 which can conflict with char $ac_func(); below. */ | 11954 which can conflict with char $ac_func(); below. */ |
11827 #include <assert.h> | 11955 #include <assert.h> |
11828 /* Override any gcc2 internal prototype to avoid an error. */ | 11956 /* Override any gcc2 internal prototype to avoid an error. */ |
11841 $ac_func(); | 11969 $ac_func(); |
11842 #endif | 11970 #endif |
11843 | 11971 |
11844 ; return 0; } | 11972 ; return 0; } |
11845 EOF | 11973 EOF |
11846 if { (eval echo configure:11847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11974 if { (eval echo configure:11975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11847 rm -rf conftest* | 11975 rm -rf conftest* |
11848 eval "ac_cv_func_$ac_func=yes" | 11976 eval "ac_cv_func_$ac_func=yes" |
11849 else | 11977 else |
11850 echo "configure: failed program was:" >&5 | 11978 echo "configure: failed program was:" >&5 |
11851 cat conftest.$ac_ext >&5 | 11979 cat conftest.$ac_ext >&5 |
11877 *) ;; | 12005 *) ;; |
11878 esac | 12006 esac |
11879 fi | 12007 fi |
11880 | 12008 |
11881 cat > conftest.$ac_ext <<EOF | 12009 cat > conftest.$ac_ext <<EOF |
11882 #line 11883 "configure" | 12010 #line 12011 "configure" |
11883 #include "confdefs.h" | 12011 #include "confdefs.h" |
11884 int main(int c,char *v[]){return 0;} | 12012 int main(int c,char *v[]){return 0;} |
11885 EOF | 12013 EOF |
11886 if { (eval echo configure:11887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12014 if { (eval echo configure:12015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11887 then | 12015 then |
11888 : | 12016 : |
11889 else | 12017 else |
11890 conftest_rc="$?" | 12018 conftest_rc="$?" |
11891 echo "configure: failed program was:" >&5 | 12019 echo "configure: failed program was:" >&5 |
12496 | 12624 |
12497 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." | 12625 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." |
12498 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." | 12626 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." |
12499 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." | 12627 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." |
12500 | 12628 |
12501 test "$with_umich_ldap" = yes && echo " Compiling in support for LDAP (UMich libs)." | 12629 test "$with_ldap" = yes && echo " Compiling in support for LDAP." |
12502 test "$with_ns_ldap" = yes && echo " Compiling in support for LDAP (Netscape SDK)." | |
12503 test "$with_ldap" = yes -a "$with_umich_ldap" = no -a "$with_ns_ldap" = no && echo " Compiling in support for LDAP (Generic)." | |
12504 | 12630 |
12505 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." | 12631 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." |
12506 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." | 12632 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." |
12507 | 12633 |
12508 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." | 12634 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." |